/* Professor Obviously — cinematic black / white / red (matches YouTube brand) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --panel: #131316;
  --panel-2: #19191d;
  --line: #262629;
  --red: #e32119;
  --red-bright: #ff2f26;
  --white: #f2f2f2;
  --dim: #9b9ba1;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(227,33,25,.06), transparent 60%),
    radial-gradient(800px 500px at 90% 110%, rgba(255,255,255,.03), transparent 60%),
    var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--white); text-decoration: none; }
a:hover { color: var(--red-bright); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- header ---------- */
header {
  border-bottom: 1px solid var(--line);
  background: rgba(8,8,9,.9);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.brand .obviously { color: var(--red); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  font-family: var(--head);
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.member-btn {
  color: var(--white);
  background: var(--red);
  padding: .5rem 1.15rem;
  border-radius: 2px;
}
.nav-links a.member-btn:hover { background: var(--red-bright); color: var(--white); }

/* ---------- hero ---------- */
.hero {
  padding: 7.5rem 0 6.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
}
.hero-shade {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.35) 45%, var(--bg) 100%),
    radial-gradient(70% 90% at 50% 50%, rgba(10,10,11,.25), rgba(10,10,11,.75));
}
.hero-content { position: relative; z-index: 2; }
.hero .crest {
  font-family: var(--head);
  font-size: 1rem;
  letter-spacing: .6em;
  color: var(--red);
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  letter-spacing: .08em;
  line-height: 1.12;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,.9);
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero .tagline {
  margin: 1.6rem auto 0;
  max-width: 44rem;
  color: var(--dim);
  font-size: 1.15rem;
}
.hero .cta-row { margin-top: 2.8rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .85rem 2.1rem;
  border-radius: 2px;
  border: 1px solid var(--red);
}
.btn.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 6px 30px rgba(227,33,25,.25);
}
.btn.primary:hover { background: var(--red-bright); color: var(--white); }
.btn.ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.05); }

.rule {
  width: 140px; height: 2px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
.section-title {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: .6rem;
}
.section-sub {
  text-align: center;
  color: var(--dim);
  margin-bottom: 3rem;
}

/* ---------- about ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem;
  align-items: stretch;
}
.about-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: 3px;
  padding: 2.2rem;
}
.about-card h3 {
  font-family: var(--head);
  font-weight: 600;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.about-card p { color: var(--dim); }
.about-card p + p { margin-top: .8rem; }
.about-card strong { color: var(--white); }

/* ---------- audio cards ---------- */
.audio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.audio-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card-body {
  padding: 1.15rem 1.3rem 1.4rem;
  display: flex; flex-direction: column; gap: .8rem; flex: 1;
}

/* ---------- cinematic thumbnails ---------- */
.thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 2px, transparent 2px 4px);
  pointer-events: none;
}
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 70px 25px rgba(0,0,0,.75);
  pointer-events: none;
}
.thumb .big {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: .06em;
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0,0,0,.95), 0 1px 3px rgba(0,0,0,.9);
  z-index: 1;
  transform: rotate(-2deg);
}
.thumb .big em { color: var(--red-bright); font-style: normal; }
.thumb.v-storm {
  background:
    radial-gradient(130% 90% at 50% 130%, rgba(227,33,25,.4), transparent 60%),
    radial-gradient(80% 60% at 20% 0%, rgba(255,255,255,.05), transparent 55%),
    linear-gradient(180deg, #17171a, #0a0a0b);
}
.thumb.v-slash {
  background:
    linear-gradient(115deg, #121215 54%, rgba(227,33,25,.55) 54.3%, #1c0c0b 100%),
    #0a0a0b;
}
.thumb.v-ember {
  background:
    radial-gradient(55% 75% at 78% 22%, rgba(255,122,40,.22), transparent 60%),
    radial-gradient(120% 80% at 50% 120%, rgba(227,33,25,.18), transparent 55%),
    linear-gradient(180deg, #121114, #0a0a0b);
}
.thumb-img { background-size: cover; background-position: center; }
.thumb-img::after {
  box-shadow: inset 0 0 70px 25px rgba(0,0,0,.45);
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.72) 100%);
}
.thumb-img .big {
  position: absolute;
  left: .95rem; bottom: .6rem;
  font-size: 1.25rem;
  transform: none;
  letter-spacing: .14em;
}
.thumb.locked .big { opacity: .55; }
.thumb .lock-band {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--red);
  color: var(--white);
  font-family: var(--head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-align: center;
  padding: .32rem 0;
  z-index: 2;
}

/* ---------- after dark banner ---------- */
.banner {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  text-align: center;
}
.banner-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.banner-shade {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10,10,11,.25) 30%, rgba(10,10,11,.25) 70%, var(--bg) 100%),
    radial-gradient(70% 100% at 50% 50%, rgba(10,10,11,.2), rgba(10,10,11,.7));
}
.banner-content { position: relative; z-index: 2; }
.banner h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,.95);
}
.banner h2 em { color: var(--red-bright); font-style: normal; }
.banner p {
  color: var(--white);
  opacity: .85;
  margin: .8rem 0 2rem;
  font-size: 1.1rem;
  font-style: italic;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}

/* ---------- trust strip ---------- */
.trust-row {
  display: flex; justify-content: center; gap: 2.8rem; flex-wrap: wrap;
  padding: 1.6rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  font-family: var(--head);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
}
.trust-item::before { content: "▪ "; color: var(--red); }
.audio-card:hover {
  border-color: rgba(227,33,25,.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.audio-card .tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag {
  font-family: var(--head);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--line);
  padding: .18rem .6rem; border-radius: 2px;
}
.tag.spicy { color: var(--red-bright); border-color: rgba(227,33,25,.5); }
.audio-card h3 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.audio-card .desc { color: var(--dim); font-size: .95rem; flex: 1; }

.player { display: flex; align-items: center; gap: .8rem; }
.play-btn {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--red);
  background: rgba(227,33,25,.1);
  color: var(--white);
  font-size: .9rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.play-btn:hover { background: rgba(227,33,25,.3); }
.play-btn.playing { background: var(--red); color: var(--white); }
.track {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--line); position: relative; cursor: pointer;
}
.track .fill {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  border-radius: 2px;
}
.pv-band {
  position: absolute; top: -3px; bottom: -3px;
  background: rgba(227,33,25,.22);
  border: 1px solid rgba(227,33,25,.6);
  border-radius: 3px;
}
.time { font-size: .85rem; color: var(--dim); font-variant-numeric: tabular-nums; min-width: 3.2rem; text-align: right; }

.more-free { text-align: center; margin-top: 2.2rem; }
.locked-note {
  text-align: center; margin-top: 2.5rem; color: var(--dim); font-style: italic;
}
.locked-note a { color: var(--red-bright); }
.locked-note em { color: var(--red-bright); font-style: normal; }

/* ---------- tiers ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tier {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  display: flex; flex-direction: column; gap: 1rem;
}
.tier.featured {
  border-color: var(--red);
  box-shadow: 0 0 50px rgba(227,33,25,.15);
}
.tier h3 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.tier .price { font-family: var(--head); font-weight: 700; font-size: 2.5rem; letter-spacing: .04em; }
.tier .price span { font-family: var(--body); font-size: .95rem; font-weight: 400; color: var(--dim); }
.tier ul { list-style: none; color: var(--dim); flex: 1; font-size: .95rem; }
.tier li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.tier li:last-child { border-bottom: none; }
.tier li em { color: var(--red-bright); font-style: normal; }
.tier-single { max-width: 420px; margin: 0 auto; }
.tier-note { font-size: .82rem; color: var(--dim); margin-top: .4rem; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--dim);
  font-size: .9rem;
}
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: var(--dim); }
.footer-links a:hover { color: var(--white); }
.adult-notice {
  margin-top: 1.4rem;
  font-size: .8rem;
  letter-spacing: .03em;
  color: #6f6f75;
}

/* ---------- age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,5,6,.97);
  display: grid; place-items: center;
  padding: 1.5rem;
}
.age-gate.hidden { display: none; }
.age-card {
  max-width: 500px; width: 100%;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 3px;
  padding: 3rem 2.5rem;
  text-align: center;
}
.age-card .crest { font-family: var(--head); color: var(--red); letter-spacing: .5em; font-size: .95rem; margin-bottom: 1.2rem; }
.age-card h2 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.age-card p { color: var(--dim); margin-bottom: 1.8rem; }
.age-card .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.age-card .btn { cursor: pointer; background: none; }
.age-card .btn.primary { background: var(--red); }
.age-card .btn.primary:hover { background: var(--red-bright); }

/* ---------- library page ---------- */
.page-head { padding: 3.5rem 0 1rem; text-align: center; }

/* ambient motion behind page titles */
.page-head-ambient {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 3rem;
}
.page-ambience {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: .6;
  z-index: 0;
}
.page-shade {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,11,.25) 0%, rgba(10,10,11,.2) 55%, var(--bg) 100%);
}
.page-head-content { position: relative; z-index: 2; }
.filter-row {
  display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap;
  padding: 1.2rem 0 2.5rem;
}
.filter {
  font-family: var(--head);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  background: none; border: 1px solid var(--line); border-radius: 2px;
  padding: .45rem 1.1rem; cursor: pointer;
}
.filter.active, .filter:hover { color: var(--white); border-color: var(--red); }
.filter.active { background: rgba(227,33,25,.12); }
.filter[data-cat="afterdark"] { color: var(--red-bright); border-color: rgba(227,33,25,.55); }
.filter[data-cat="afterdark"].active, .filter[data-cat="afterdark"]:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.lock-msg {
  display: flex; align-items: center; gap: .6rem;
  color: var(--dim); font-style: italic; font-size: .92rem;
}
.lock-msg .lock-icon { color: var(--red-bright); font-style: normal; }
.lock-msg a { color: var(--red-bright); }

/* ---------- common room (forum) ---------- */
.forum-wrap { padding-bottom: 4rem; }
.forum-toolbar {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.forum-new { cursor: pointer; background: var(--red); border: 1px solid var(--red); }
.forum-note {
  font-family: var(--head);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.thread-list {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.thread-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.thread-row:last-child { border-bottom: none; }
.thread-row:hover { background: var(--panel-2); color: inherit; }
.thread-row.active { border-left: 3px solid var(--red); }
.thread-main { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.thread-title { font-weight: 600; color: var(--white); }
.thread-meta { font-size: .82rem; color: var(--dim); }
.thread-meta strong { color: var(--white); font-weight: 500; }
.thread-replies {
  flex: none;
  font-family: var(--head);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.thread-open {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  padding: 1.8rem;
}
.thread-open-title {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: .04em;
  margin-bottom: 1.4rem;
}
.post {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}
.post p { color: var(--parchment-dim, #c9c9cf); color: #c9c9cf; font-size: .98rem; }
.post-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; }
.post-author { font-weight: 600; color: var(--white); }
.post-time { font-size: .8rem; color: var(--dim); }
.post.staff { background: rgba(227,33,25,.05); margin: 0 -1.8rem; padding: 1.1rem 1.8rem; border-left: 3px solid var(--red); }
.staff-badge {
  font-family: var(--head);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: .12rem .5rem;
  border-radius: 2px;
}
.composer { border-top: 1px solid var(--line); padding-top: 1.4rem; display: flex; flex-direction: column; gap: .9rem; align-items: flex-end; }
.composer textarea {
  width: 100%;
  min-height: 90px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--body);
  font-size: .95rem;
  padding: .8rem 1rem;
  resize: vertical;
}
.composer textarea:focus { outline: none; border-color: var(--red); }
.composer .btn { cursor: pointer; }

/* ---------- series page ---------- */
.series-hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
  background:
    linear-gradient(115deg, #121215 54%, rgba(227,33,25,.45) 54.3%, #1c0c0b 100%),
    var(--bg);
}
.series-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.3), var(--bg) 96%);
}
.series-hero-art {
  background-size: cover !important;
  background-position: center 20%;
}
.series-hero-art .series-shade {
  background: linear-gradient(180deg, rgba(10,10,11,.45), rgba(10,10,11,.55) 55%, var(--bg) 100%);
}
.series-hero-content { position: relative; }
.series-hero .tags { margin-bottom: 1rem; display: flex; gap: .5rem; }
.series-hero h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,.9);
}
.series-hero h1 em { color: var(--red-bright); font-style: normal; }
.series-desc { color: var(--dim); font-size: 1.1rem; margin-top: .6rem; max-width: 34rem; }
.series-lock { margin-top: 1.4rem; color: var(--dim); font-style: italic; }
.series-lock a { color: var(--red-bright); }

.series-card { color: inherit; }
.series-card:hover { color: inherit; }
.series-card .big { font-size: 1.55rem; letter-spacing: .1em; }
.series-card .series-open {
  text-align: center;
  margin-top: auto;
  cursor: pointer;
}
.series-card:hover .series-open { border-color: var(--white); background: rgba(255,255,255,.05); }

.series-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 3px;
  background:
    linear-gradient(115deg, #121215 60%, rgba(227,33,25,.35) 60.3%, #1a0c0b 100%),
    var(--panel);
  transition: border-color .2s ease, transform .2s ease;
}
.series-banner:hover { border-color: var(--red); transform: translateY(-2px); color: inherit; }
.series-banner + .series-banner { margin-top: 1rem; }
.board-banner { padding-left: 0; overflow: hidden; }
.board-art {
  flex: none;
  align-self: stretch;
  width: 170px;
  margin: -1.6rem 1.4rem -1.6rem 0;
  background-size: cover;
  background-position: center 25%;
  border-right: 1px solid var(--line);
  box-shadow: inset -30px 0 30px -20px rgba(10,10,11,.9);
}
@media (max-width: 640px) { .board-art { width: 100px; } }
.series-banner .big {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
}
.series-banner .big em { color: var(--red-bright); font-style: normal; }
.series-banner-sub { display: block; color: var(--dim); font-size: .92rem; margin-top: .25rem; }

.episode-list {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1.4rem;
}
.episode-row {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1rem 1.3rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.episode-row:last-child { border-bottom: none; }
.episode-num {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red-bright);
  min-width: 2.4rem;
}
.episode-title { font-weight: 600; color: var(--white); min-width: 9rem; }
.episode-row .player { flex: 1; }
.episode-row .play-btn { width: 36px; height: 36px; font-size: .8rem; }
.episode-len { font-size: .85rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.episode-lock { color: var(--red-bright); font-size: .85rem; }

/* ---------- preview / full player labels ---------- */
.player-label {
  font-family: var(--head);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: -.35rem;
}
.player-label:first-of-type { color: var(--red-bright); }

/* ---------- likes & comments ---------- */
.social-bar { display: flex; gap: .8rem; align-items: center; }
.episode-row { flex-wrap: wrap; }
.episode-row .social-bar, .episode-row .cmt-panel { width: 100%; }
.like-btn, .cmt-toggle {
  font-family: var(--head);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .3rem .8rem;
  cursor: pointer;
}
.like-btn:hover, .cmt-toggle:hover { color: var(--white); border-color: var(--red); }
.like-btn.liked { color: var(--red-bright); border-color: var(--red); background: rgba(227,33,25,.08); }
.cmt-panel { border-top: 1px dashed var(--line); padding-top: .8rem; display: flex; flex-direction: column; gap: .6rem; }
.cmt-panel.hidden { display: none; }
.cmt-list { display: flex; flex-direction: column; gap: .45rem; }
.cmt-empty { color: var(--dim); font-style: italic; font-size: .88rem; }
.cmt-item { font-size: .92rem; color: #c9c9cf; }
.cmt-who { color: var(--red-bright); font-weight: 600; margin-right: .5rem; }
.cmt-thread { display: flex; flex-direction: column; gap: .35rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.cmt-thread:last-child { border-bottom: none; }
.cmt-actions { display: flex; gap: .9rem; }
.cmt-act {
  background: none; border: none; cursor: pointer;
  font-family: var(--head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); padding: 0;
}
.del-act { font-size: .8rem; }
.del-act:hover { color: var(--red-bright); }
.cmt-act:hover { color: var(--white); }
.cmt-act.active { color: var(--red-bright); }
.cmt-reply {
  margin-left: 1.2rem;
  border-left: 2px solid var(--line);
  padding-left: .8rem;
  font-size: .9rem; color: #c9c9cf;
  display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap;
}
.cmt-replybox { margin-left: 1.2rem; }
.cmt-replybox.hidden { display: none; }
.cmt-input { display: flex; gap: .5rem; }
.cmt-input input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--body);
  font-size: .9rem;
  padding: .45rem .7rem;
}
.cmt-input input:focus { outline: none; border-color: var(--red); }
.cmt-input button {
  font-family: var(--head);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  border: none; border-radius: 2px;
  padding: .45rem 1rem;
  cursor: pointer;
}
.cmt-input button:hover { background: var(--red-bright); }

/* ---------- feed ---------- */
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.feed-item { width: 100%; }

/* ---------- auth ---------- */
.auth-wrap { max-width: 440px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.auth-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 3px;
  padding: 2.2rem 2rem;
}
.auth-tabs { display: flex; gap: .6rem; margin-bottom: 1.6rem; }
.auth-tab {
  flex: 1;
  font-family: var(--head); font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); background: none;
  border: 1px solid var(--line); border-radius: 2px;
  padding: .6rem 0; cursor: pointer;
}
.auth-tab.active { color: var(--white); border-color: var(--red); background: rgba(227,33,25,.1); }
.auth-field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.auth-field label {
  font-family: var(--head); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
}
.auth-field input, .auth-field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 2px;
  color: var(--white); font-family: var(--body); font-size: .95rem;
  padding: .6rem .8rem;
}
.auth-field input:focus, .auth-field textarea:focus { outline: none; border-color: var(--red); }
.auth-field input[type="file"] { padding: .45rem; color: var(--dim); }
.auth-error { color: var(--red-bright); font-size: .9rem; min-height: 1.2em; margin: .3rem 0; }
.auth-submit { width: 100%; cursor: pointer; margin-top: .4rem; }
.auth-note { color: var(--dim); font-size: .88rem; margin-top: 1.1rem; text-align: center; }
.auth-note a { color: var(--red-bright); }

/* ---------- profile ---------- */
.profile-wrap { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 4.5rem; }
.profile-head { display: flex; gap: 1.6rem; align-items: center; margin-bottom: 2rem; }
.profile-avatar { flex: none; }
.profile-id h1 {
  font-family: var(--head); font-weight: 700; font-size: 1.8rem; letter-spacing: .06em;
}
.profile-sub { color: var(--dim); margin-top: .2rem; }
.profile-bio { color: #c9c9cf; margin-top: .6rem; max-width: 34rem; }
.profile-actions { margin-top: .9rem; display: flex; gap: .7rem; }
.btn-small { font-size: .75rem; padding: .45rem 1rem; cursor: pointer; background: none; }
.tier-badge {
  font-family: var(--head); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  padding: .15rem .55rem; border-radius: 2px;
  border: 1px solid var(--line); color: var(--dim);
}
.tier-badge.tier-member { color: var(--red-bright); border-color: rgba(227,33,25,.5); }
.tier-badge.tier-staff { color: var(--white); background: var(--red); border-color: var(--red); }
.profile-edit {
  background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  padding: 1.6rem; margin-bottom: 2rem;
}
.profile-edit.hidden { display: none; }
.profile-edit-actions { display: flex; gap: .7rem; }
.profile-edit-actions .btn { cursor: pointer; }

/* ---------- parchment ---------- */
.parchment { border-top: 1px solid var(--line); padding-top: 2rem; }
.parch-composer { border-top: none; padding-top: 0; margin-bottom: 1.6rem; align-items: flex-end; }
.parch-composer.hidden { display: none; }
.parch-composer input[type="file"] { font-size: .8rem; color: var(--dim); border: none; background: none; padding: 0; }
.parch-list { display: flex; flex-direction: column; gap: 1.1rem; }
.parch-post {
  background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  padding: 1.1rem 1.3rem;
}
.parch-post.staff { border-left: 3px solid var(--red); }
.parch-post p { color: #c9c9cf; margin-top: .4rem; font-size: .97rem; }
.parch-post .post-author { color: var(--white); font-weight: 600; }
.parch-post .post-author:hover { color: var(--red-bright); }
.parch-img {
  max-width: 100%; max-height: 480px;
  border-radius: 3px; margin-top: .8rem;
  border: 1px solid var(--line);
}
.parch-actions { margin-top: .8rem; display: flex; gap: 1.2rem; }
.parch-comments {
  margin-top: .9rem;
  border-top: 1px dashed var(--line);
  padding-top: .9rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.parch-comment {
  font-size: .93rem; color: #c9c9cf;
  display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap;
}

/* ---------- single audio page ---------- */
.audio-hero { max-width: 860px; margin: 0 auto; padding: 2.5rem 1.5rem 4.5rem; }
.audio-back { margin-bottom: 1.4rem; }
.audio-back a {
  font-family: var(--head); font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
}
.audio-back a:hover { color: var(--white); }
.audio-hero-thumb .thumb { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 3px; }
.audio-hero-thumb .thumb .big { font-size: 2.2rem; left: 1.4rem; bottom: 1rem; }
.audio-hero h1 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: .06em; text-transform: uppercase;
  margin: 1.4rem 0 .7rem;
}
.audio-hero .tags { margin-bottom: 1.4rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.audio-hero .player { margin-bottom: .6rem; }
.audio-hero .play-btn { width: 58px; height: 58px; font-size: 1.15rem; }
.audio-hero .time { font-size: 1rem; min-width: 4.5rem; }
.audio-hero .cmt-panel { margin-top: .6rem; }

/* ---------- common room forum ---------- */
.forum-select {
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 2px;
  color: var(--white); font-family: var(--body); font-size: .9rem;
  padding: .5rem .7rem;
}
.forum-thread-title {
  font-family: var(--head); font-weight: 600;
  font-size: 1.15rem; letter-spacing: .04em;
  margin-top: .5rem;
}
.forum-cat-tag { margin-left: auto; }
.forum-reply { width: 100%; }
.forum-reply-img { max-height: 320px; width: auto; }
.forum-reply-file { font-size: .75rem; color: var(--dim); max-width: 180px; }

/* ---------- nav dropdowns ---------- */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop-panel {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: .85rem;            /* hover bridge from the nav */
  display: none;
  z-index: 95;
}
.nav-drop:hover .nav-drop-panel { display: block; }
.nav-drop-inner {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  overflow: hidden;
  min-width: 170px;
}
.nav-drop-inner a {
  display: block;
  padding: .6rem 1.2rem;
  font-family: var(--head);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-drop-inner a:last-child { border-bottom: none; }
.nav-drop-inner a:hover { color: var(--white); background: rgba(227,33,25,.08); }
.nav-drop-inner a.drop-hot { color: var(--red-bright); }
.nav-drop-inner a.drop-hot:hover { color: var(--white); background: var(--red); }
.nav-drop-account .nav-drop-panel { left: auto; right: 0; transform: none; }

/* ---------- notifications ---------- */
.notif-btn {
  position: relative;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--dim);
  cursor: pointer;
  padding: .4rem .55rem;
  display: inline-flex; align-items: center;
  transition: color .2s ease, border-color .2s ease;
}
.notif-btn svg { display: block; }
.notif-btn:hover { color: var(--white); border-color: var(--white); }
.notif-btn.has-unread { color: var(--red-bright); border-color: var(--red); }
.notif-badge {
  position: absolute; top: -7px; right: -7px;
  background: var(--red); color: var(--white);
  font-family: var(--head); font-size: .58rem; font-weight: 600;
  letter-spacing: .05em;
  border-radius: 2px; padding: .1rem .3rem;
  line-height: 1;
}
.notif-panel {
  position: fixed; top: 56px; right: 16px; z-index: 90;
  width: 320px; max-height: 60vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-top: 2px solid var(--red);
  border-radius: 3px;
  box-shadow: 0 16px 50px rgba(0,0,0,.6);
}
.notif-panel.hidden { display: none; }
.notif-item {
  display: flex; flex-direction: column; gap: .2rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  color: #c9c9cf; font-size: .92rem;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,.03); color: var(--white); }
.notif-item.unread { border-left: 3px solid var(--red); background: rgba(227,33,25,.05); }
.notif-empty { padding: 1rem; color: var(--dim); font-style: italic; font-size: .9rem; }

.pin-label {
  font-family: var(--head);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .7rem;
}

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.legal h1 {
  font-family: var(--head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.legal h2 {
  font-family: var(--head); font-weight: 500; color: var(--red-bright);
  letter-spacing: .1em; text-transform: uppercase;
  margin: 2rem 0 .6rem; font-size: 1.1rem;
}
.legal p { color: var(--dim); margin-bottom: .8rem; }

@media (max-width: 820px) {
  .audio-grid, .tier-grid, .about-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .75rem; }
  .hero { padding: 4.5rem 0 3.5rem; }
}

/* ---------- mobile navigation (phones get a dropdown menu; desktop unchanged) ---------- */
.nav-burger { display: none; }
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line); border-radius: 2px;
    color: var(--white); width: 42px; height: 38px; cursor: pointer;
    font-size: 1.15rem; line-height: 1;
  }
  header.menu-open .nav-burger { border-color: var(--red); color: var(--red-bright); }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border-bottom: 1px solid var(--line);
    border-top: 2px solid var(--red);
    box-shadow: 0 18px 40px rgba(0,0,0,.6);
    padding: .4rem 0 .9rem;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  header.menu-open .nav-links { display: flex; }
  .nav-links > a, .nav-drop > a { display: block; padding: .85rem 1.5rem; font-size: .82rem; }
  .nav-links a.member-btn { margin: .6rem 1.5rem 0; text-align: center; }
  .nav-drop { display: block; position: static; }
  .nav-drop-panel { display: block; position: static; transform: none; padding-top: 0; }
  .nav-drop-inner {
    border: none; border-top: none; border-radius: 0; box-shadow: none;
    background: rgba(0,0,0,.28); min-width: 0;
  }
  .nav-drop-inner a { padding: .7rem 1.5rem .7rem 2.6rem; }
  .nav-links .notif-btn { margin: .6rem 1.5rem 0; width: calc(100% - 3rem); height: 40px; }
}

/* ---------- join art (the professor guards the paywall) ---------- */
.join-art {
  height: 200px; background-size: cover; background-position: center 22%;
  border-radius: 3px 3px 0 0; margin: -3rem -2.5rem 1.6rem;
  border-bottom: 2px solid var(--red);
}
.membership-art {
  max-width: 460px; margin: 0 auto 1.6rem; height: 230px;
  background-size: cover; background-position: center 25%;
  border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 3px;
}
.preview-cta { margin-top: .9rem; }

/* ---------- bigger, friendlier players on phones ---------- */
@media (max-width: 760px) {
  .track { height: 13px; border-radius: 7px; }
  .track .fill { border-radius: 7px; }
  .pv-band { top: -2px; bottom: -2px; }
  .audio-hero .player { flex-wrap: wrap; }
  .audio-hero .track { flex: 1 1 100%; order: 3; margin-top: 1rem; }
  .join-art { height: 170px; margin: -3rem -2.5rem 1.4rem; }
}
