/* Young Voices Out Loud - core stylesheet
   (c) 2026 Zootaloot Studios. All rights reserved.
   Coral only. Do not add secondary accents without approval. */

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

:root{
  --bg:#0d0d10;
  --bg2:#16161c;
  --card:#1c1c24;
  --line:#2a2a34;
  --text:#f4f4f6;
  --dim:#9a9aa8;
  --coral:#ff5a4d;
  --coral2:#ff7a5c;
  --ink:#111;
  --navh:64px;
}

html{-webkit-text-size-adjust:100%;}

body{
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

.visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

.skip{
  position:absolute;left:-9999px;top:0;
  background:var(--coral);color:var(--ink);
  padding:12px 20px;z-index:200;
  font-weight:600;text-decoration:none;
}
.skip:focus{left:8px;top:8px;}

:focus-visible{
  outline:3px solid var(--coral);
  outline-offset:2px;
  border-radius:4px;
}

@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;}
}

.top{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:14px 24px;
  background:rgba(13,13,16,.88);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.logo{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:700;font-size:1.25rem;letter-spacing:-.5px;
  color:var(--text);text-decoration:none;flex-shrink:0;
}
.logo b{color:var(--coral);}

.topnav{display:flex;gap:8px;align-items:center;}

.topnav a{
  color:var(--dim);text-decoration:none;
  font-size:.92rem;font-weight:500;
  padding:8px 12px;border-radius:8px;
}
.topnav a:hover{color:var(--text);background:var(--card);}
.topnav a[aria-current="page"]{color:var(--coral);}

.btn-search{
  display:inline-flex;gap:8px;align-items:center;
  background:var(--card);border:1px solid var(--line);
  color:var(--dim);
  padding:9px 16px;border-radius:100px;
  font-size:.86rem;font-family:inherit;cursor:pointer;
  min-height:40px;
}
.btn-search:hover{color:var(--text);border-color:var(--coral);}

.hero{padding:72px 24px 52px;max-width:1200px;margin:0 auto;}

.hero .kicker{
  color:var(--coral);
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;letter-spacing:2px;text-transform:uppercase;
  font-size:.78rem;margin-bottom:18px;
}

.hero h1{
  font-family:'Archivo Black',system-ui,sans-serif;
  font-size:clamp(2.6rem,9vw,7rem);
  line-height:.94;letter-spacing:-2px;
  margin-bottom:22px;font-weight:400;
}
.hero h1 .hl{color:var(--coral);}

.hero .lede{
  font-size:1.18rem;color:var(--dim);
  max-width:560px;margin-bottom:30px;
}

.cta{
  display:inline-flex;gap:10px;align-items:center;
  background:var(--coral);color:var(--ink);
  text-decoration:none;
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;font-size:1rem;
  padding:14px 28px;border-radius:100px;
  min-height:48px;margin:0 10px 10px 0;
  border:1px solid var(--coral);
}
.cta:hover{background:var(--coral2);border-color:var(--coral2);}

.cta-ghost{
  background:transparent;color:var(--text);
  border:1px solid var(--line);
}
.cta-ghost:hover{background:var(--card);border-color:var(--coral);}

.section{max-width:1200px;margin:0 auto;padding:26px 24px 56px;}

.sec-head{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:16px;flex-wrap:wrap;margin-bottom:22px;
}
.sec-head h2{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:700;font-size:1.6rem;letter-spacing:-.5px;
}
.sec-head h2 .dot{color:var(--coral);}
.sec-head a{color:var(--dim);text-decoration:none;font-size:.9rem;}
.sec-head a:hover{color:var(--coral);text-decoration:underline;}

.chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:38px;}

.chip{
  background:var(--card);border:1px solid var(--line);
  color:var(--text);
  padding:10px 20px;border-radius:100px;
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:500;font-size:.92rem;
  cursor:pointer;text-decoration:none;
  display:inline-flex;align-items:center;min-height:42px;
}
.chip:hover{background:var(--coral);color:var(--ink);border-color:var(--coral);}
.chip[aria-current="true"]{background:var(--coral);color:var(--ink);border-color:var(--coral);}

.feature{
  background:linear-gradient(120deg,#1c1c24,#232330);
  border:1px solid var(--line);border-radius:20px;
  padding:32px;display:flex;gap:28px;align-items:center;
  margin-bottom:46px;position:relative;
}

.feature .flag{
  position:absolute;top:18px;right:24px;
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:700;font-size:.68rem;letter-spacing:2px;
  color:var(--coral);text-transform:uppercase;
}

.feature h3{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:700;font-size:1.9rem;letter-spacing:-.5px;
  margin-bottom:6px;
}
.feature .by{color:var(--coral2);font-size:1rem;margin-bottom:10px;}
.feature p{color:var(--dim);max-width:620px;}
.feature .meta{
  margin-top:14px;display:flex;gap:18px;flex-wrap:wrap;
  color:var(--dim);font-size:.85rem;
  font-family:'Space Grotesk',system-ui,sans-serif;
}

.play-big,.play{
  flex-shrink:0;border-radius:50%;
  background:var(--coral);color:var(--ink);
  border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.play-big{width:84px;height:84px;font-size:1.9rem;}
.play{width:44px;height:44px;font-size:1rem;}
.play-big:hover,.play:hover{background:var(--coral2);}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:18px;
}

.tile{
  background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:20px;
  display:flex;flex-direction:column;
}
.tile:hover{border-color:var(--coral);}
.tile:focus-within{border-color:var(--coral);}

.tile .tag{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;font-size:.64rem;letter-spacing:1.5px;
  text-transform:uppercase;color:var(--coral);margin-bottom:12px;
}
.tile h3,.tile h4{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;font-size:1.15rem;line-height:1.2;
  margin-bottom:6px;
}
.tile h3 a,.tile h4 a{color:var(--text);text-decoration:none;}
.tile h3 a:hover,.tile h4 a:hover{color:var(--coral);text-decoration:underline;}
.tile .by{color:var(--dim);font-size:.88rem;margin-bottom:18px;}
.tile .row{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-top:auto;
}
.tile .dur{
  color:var(--dim);font-size:.8rem;
  font-family:'Space Grotesk',system-ui,sans-serif;
}

.wave{display:flex;gap:2px;align-items:flex-end;height:22px;}
.wave span{width:3px;background:var(--dim);border-radius:2px;}
.tile:hover .wave span{background:var(--coral);}

.empty{
  border:1px dashed var(--line);border-radius:16px;
  padding:40px 24px;text-align:center;color:var(--dim);
}
.empty strong{display:block;color:var(--text);margin-bottom:6px;
  font-family:'Space Grotesk',system-ui,sans-serif;font-size:1.1rem;}

.foot{
  border-top:1px solid var(--line);
  padding:36px 24px 40px;
  max-width:1200px;margin:30px auto 0;
  color:var(--dim);font-size:.86rem;
}
.foot p{max-width:760px;margin-bottom:14px;}
.foot a{color:var(--coral);}
.foot .legal{font-size:.78rem;opacity:.8;}

.bottomnav{display:none;}

@media(max-width:760px){
  .topnav{display:none;}
  .top{padding:12px 18px;}
  .hero{padding:48px 18px 36px;}
  .hero h1{letter-spacing:-1px;}
  .section{padding:20px 18px 40px;}
  .feature{flex-direction:column;text-align:center;padding:26px 20px;}
  .feature .flag{position:static;display:block;margin-bottom:14px;}
  .foot{padding:30px 18px 40px;}

  body{padding-bottom:calc(var(--navh) + env(safe-area-inset-bottom));}

  .bottomnav{
    display:flex;
    position:fixed;left:0;right:0;bottom:0;z-index:80;
    background:rgba(13,13,16,.96);
    backdrop-filter:blur(12px);
    border-top:1px solid var(--line);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .bottomnav a{
    flex:1;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:3px;
    min-height:var(--navh);
    color:var(--dim);text-decoration:none;
    font-family:'Space Grotesk',system-ui,sans-serif;
    font-size:.7rem;font-weight:500;text-align:center;
    padding:6px 4px;
  }
  .bottomnav a[aria-current="page"]{color:var(--coral);}
  .bottomnav a:hover{color:var(--text);}
}

@media(min-width:761px){
  .bottomnav{display:none!important;}
}

.pagehead{max-width:1200px;margin:0 auto;padding:52px 24px 6px;}
.pagehead h1{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:700;font-size:clamp(2rem,5vw,3.2rem);
  letter-spacing:-1px;margin-bottom:8px;
}
.pagehead h1 .dot{color:var(--coral);}
.pagehead p{color:var(--dim);max-width:620px;}

@media(max-width:760px){
  .pagehead{padding:34px 18px 4px;}
}

.topnav{margin-left:auto;}
.top .btn-search{margin-left:auto;text-decoration:none;}

@media(max-width:760px){
  .top .btn-search{padding:8px 14px;font-size:.82rem;}
}

/* --- forms --- */

.form{max-width:680px;}
.form fieldset{border:none;margin:0 0 28px;padding:0;}
.form legend{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:700;font-size:1.2rem;margin-bottom:6px;padding:0;
}
.field{margin-bottom:20px;}
.field label{
  display:block;font-weight:600;margin-bottom:6px;font-size:.95rem;
}
.field .hint{display:block;color:var(--dim);font-size:.85rem;margin-bottom:8px;}
.field .req{color:var(--coral);}

.form input[type=text],
.form input[type=email],
.form input[type=url],
.form select,
.form textarea{
  width:100%;background:var(--bg2);color:var(--text);
  border:1px solid var(--line);border-radius:10px;
  padding:13px 14px;font-family:inherit;font-size:1rem;
  min-height:48px;
}
.form textarea{min-height:130px;resize:vertical;}
.form input:hover,.form select:hover,.form textarea:hover{border-color:var(--dim);}
.form input[aria-invalid=true],.form textarea[aria-invalid=true]{border-color:var(--coral);}

.form input[type=file]{
  width:100%;background:var(--bg2);color:var(--text);
  border:1px dashed var(--line);border-radius:10px;
  padding:16px 14px;font-family:inherit;font-size:.95rem;
}

.check{
  display:flex;gap:12px;align-items:flex-start;
  background:var(--card);border:1px solid var(--line);
  border-radius:12px;padding:16px;margin-bottom:14px;
}
.check input[type=checkbox]{
  width:22px;height:22px;margin-top:2px;flex-shrink:0;
  accent-color:var(--coral);
}
.check label{font-weight:400;margin:0;font-size:.95rem;line-height:1.45;}
.check.optional{border-style:dashed;}

.licence{
  background:var(--card);border:1px solid var(--coral);
  border-radius:14px;padding:22px;margin-bottom:22px;
}
.licence h3{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:1.15rem;margin-bottom:10px;
}
.licence p{color:var(--dim);margin-bottom:8px;font-size:.95rem;}
.licence p:last-child{margin-bottom:0;}

.errsum{
  border:2px solid var(--coral);border-radius:12px;
  padding:18px 20px;margin-bottom:24px;
}
.errsum strong{
  display:block;margin-bottom:8px;
  font-family:'Space Grotesk',system-ui,sans-serif;font-size:1.05rem;
}
.errsum ul{margin:0;padding-left:20px;}
.errsum a{color:var(--coral);}

.okbox{
  border:1px solid var(--line);border-left:4px solid var(--coral);
  border-radius:12px;padding:22px;margin-bottom:22px;
}
.okbox h2{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:1.3rem;margin-bottom:8px;
}
.okbox p{color:var(--dim);}

.btn-submit{
  background:var(--coral);color:var(--ink);border:none;
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;font-size:1rem;
  padding:15px 34px;border-radius:100px;
  min-height:50px;cursor:pointer;
}
.btn-submit:hover{background:var(--coral2);}

.hp{position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}

/* --- moderation --- */

.modcard{
  background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:24px;margin-bottom:22px;
}
.modcard h2{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:1.4rem;letter-spacing:-.5px;margin-bottom:4px;
}
.modcard .tag{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;font-size:.64rem;letter-spacing:1.5px;
  text-transform:uppercase;color:var(--coral);margin-bottom:10px;
}
.modcard .by{color:var(--dim);font-size:.95rem;margin-bottom:16px;}

.modmeta{
  display:grid;grid-template-columns:auto 1fr;gap:6px 16px;
  margin:0 0 16px;font-size:.9rem;
}
.modmeta dt{color:var(--dim);}
.modmeta dd{margin:0;color:var(--text);word-break:break-word;}

.moddesc{
  color:var(--dim);font-size:.95rem;line-height:1.55;
  margin-bottom:16px;
}

.modcard audio{
  width:100%;margin-bottom:18px;
  border-radius:100px;
}

.modform{border-top:1px solid var(--line);padding-top:18px;}
.modform .field{margin-bottom:14px;}
.modform textarea{min-height:80px;}

.btnrow{display:flex;gap:10px;flex-wrap:wrap;}

.btn-ghost{
  background:transparent;color:var(--text);
  border:1px solid var(--line);
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;font-size:.95rem;
  padding:14px 24px;border-radius:100px;
  min-height:48px;cursor:pointer;
}
.btn-ghost:hover{border-color:var(--coral);}
.btn-ghost.danger:hover{border-color:var(--coral);color:var(--coral);}

@media(max-width:760px){
  .modcard{padding:18px;}
  .modmeta{grid-template-columns:1fr;gap:2px;}
  .modmeta dt{margin-top:8px;}
  .btnrow button{flex:1 1 100%;}
}

/* --- story + portfolio --- */

.player{margin-bottom:26px;}
.player audio{width:100%;border-radius:100px;}

.storytext{
  color:var(--dim);max-width:680px;
  margin-bottom:20px;line-height:1.65;
}
.storytext small{font-size:.82rem;opacity:.85;}

.pagehead .kicker{
  color:var(--coral);
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;letter-spacing:2px;text-transform:uppercase;
  font-size:.72rem;margin-bottom:12px;
}
.pagehead .kicker a{color:var(--coral);text-decoration:none;}
.pagehead .kicker a:hover{text-decoration:underline;}

/* play buttons only exist if JS can drive them */
body:not(.yv-js) .play,
body:not(.yv-js) .play-big{display:none;}

/* --- transcript --- */
.transcript{
  border:1px solid var(--line);border-radius:12px;
  padding:16px 20px;margin-bottom:22px;max-width:720px;
}
.transcript summary{
  cursor:pointer;font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;color:var(--coral);min-height:32px;
  display:flex;align-items:center;
}
.transcript div{
  margin-top:14px;padding-top:14px;
  border-top:1px solid var(--line);
  color:var(--dim);line-height:1.7;
}

/* --- live waveform --- */

.wave span{transform-origin:bottom;transition:background .15s;}

@keyframes yvbounce{
  0%,100%{transform:scaleY(.3);}
  50%{transform:scaleY(1);}
}

.wave.live span{
  background:var(--coral);
  animation:yvbounce .8s ease-in-out infinite;
}
.wave.live span:nth-child(1){animation-duration:.62s;animation-delay:0s;}
.wave.live span:nth-child(2){animation-duration:.91s;animation-delay:.12s;}
.wave.live span:nth-child(3){animation-duration:.74s;animation-delay:.05s;}
.wave.live span:nth-child(4){animation-duration:1.05s;animation-delay:.19s;}
.wave.live span:nth-child(5){animation-duration:.68s;animation-delay:.08s;}
.wave.live span:nth-child(6){animation-duration:.87s;animation-delay:.15s;}

.dur.counting{color:var(--coral);font-variant-numeric:tabular-nums;}

/* --- numbered steps --- */
.steps{margin:0 0 22px 22px;color:var(--dim);line-height:1.7;}
.steps li{margin-bottom:10px;padding-left:4px;}
.steps li::marker{color:var(--coral);font-weight:700;}
.steps strong{color:var(--text);}

/* --- links must never fall back to the browser's default purple ---
   On a near-black background the UA :visited colour is unreadable.
   Every content link is coral whether visited or not. */

.terms a,      .terms a:visited,
.storytext a,  .storytext a:visited,
.foot a,       .foot a:visited,
.okbox a,      .okbox a:visited,
.hint a,       .hint a:visited,
.empty a,      .empty a:visited,
.moddesc a,    .moddesc a:visited,
.modmeta a,    .modmeta a:visited,
.errsum a,     .errsum a:visited,
.pagehead a,   .pagehead a:visited{
  color:var(--coral);
}

.terms a:hover,     .storytext a:hover, .foot a:hover,
.okbox a:hover,     .hint a:hover,      .empty a:hover,
.moddesc a:hover,   .modmeta a:hover,   .errsum a:hover,
.pagehead a:hover{
  color:var(--coral2);
}

/* --- creator's own work list --- */
.mywork{
  background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:22px;margin-bottom:26px;max-width:720px;
}
.mywork h2{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:1.2rem;margin-bottom:14px;
}
.workrow{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:16px;padding-top:14px;border-top:1px solid var(--line);
}
.mywork .workrow:first-of-type{border-top:none;padding-top:0;}
.wt{font-weight:600;margin-bottom:2px;}
.wd{color:var(--dim);font-size:.85rem;margin-bottom:4px;}
.wn{color:var(--text);font-size:.9rem;border-left:2px solid var(--coral);
    padding-left:10px;margin:6px 0;}
.wsright{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0;}
.wstat{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:.72rem;letter-spacing:1px;text-transform:uppercase;
  color:var(--coral);white-space:nowrap;
}
.wlink{color:var(--coral);font-size:.85rem;}
@media(max-width:560px){
  .workrow{flex-direction:column;gap:6px;}
  .wsright{align-items:flex-start;}
}

/* --- catch every remaining link, including visited --- */
a, a:visited{color:var(--coral);}
a:hover{color:var(--coral2);}
.mywork a, .mywork a:visited,
.wd a, .wd a:visited,
.wn a, .wn a:visited,
.steps a, .steps a:visited,
.workrow a, .workrow a:visited{color:var(--coral);}
.logo, .logo:visited{color:var(--text);}
.logo b{color:var(--coral);}
.topnav a, .topnav a:visited{color:var(--dim);}
.topnav a:hover{color:var(--text);}
.bottomnav a, .bottomnav a:visited{color:var(--dim);}
.bottomnav a[aria-current="page"]{color:var(--coral);}
.tile h3 a, .tile h3 a:visited,
.tile h4 a, .tile h4 a:visited{color:var(--text);}
.cta, .cta:visited{color:var(--ink);}
.cta-ghost, .cta-ghost:visited{color:var(--text);}

/* --- sign out, unmissable --- */
.signout{
  display:inline-flex;align-items:center;
  background:transparent;border:1px solid var(--coral);
  color:var(--coral);text-decoration:none;
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;font-size:.9rem;
  padding:10px 20px;border-radius:100px;min-height:44px;
}
.signout:hover{background:var(--coral);color:var(--ink);}
.signedin{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;margin-bottom:20px;
}

/* --- session warning --- */
.yv-warn{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:200;
  max-width:520px;margin:0 auto;
  background:var(--card);border:2px solid var(--coral);
  border-radius:14px;padding:18px 20px;
  box-shadow:0 8px 32px rgba(0,0,0,.5);
}
.yv-warn p{margin-bottom:12px;color:var(--text);}
.yv-count{color:var(--coral);font-variant-numeric:tabular-nums;font-weight:700;}
@media(max-width:760px){ .yv-warn{bottom:calc(var(--navh) + 16px);} }

/* --- tile blurb, so people know what a piece is before pressing play --- */
.tdesc{
  color:var(--dim);font-size:.86rem;line-height:1.45;
  margin:-12px 0 16px;
}

/* --- series episodes --- */
.eprow{
  display:flex;gap:18px;align-items:flex-start;
  padding:20px 0;border-bottom:1px solid var(--line);
  max-width:760px;
}
.epnum{
  flex-shrink:0;width:44px;height:44px;border-radius:50%;
  border:1px solid var(--line);color:var(--coral);
  display:flex;align-items:center;justify-content:center;
  font-family:'Space Grotesk',system-ui,sans-serif;font-weight:700;
}
.epbody{flex:1;min-width:0;}
.epbody h2{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:1.15rem;margin-bottom:4px;
}
.epbody h2 a{color:var(--text);text-decoration:none;}
.epbody h2 a:hover{color:var(--coral);text-decoration:underline;}
.epbody .tdesc{margin:6px 0 12px;}


/* series card on a section page */
.tile .epcount{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:.7rem;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--coral);margin-top:auto;
}

/* --- respect line on the hero --- */
.respect{
  color:var(--text);font-size:.95rem;
  border-left:2px solid var(--coral);
  padding-left:14px;margin:0 0 26px;max-width:520px;
}

/* --- respect notice above the submit button --- */
.respectbox{
  background:var(--card);border:1px solid var(--line);
  border-left:3px solid var(--coral);
  border-radius:12px;padding:18px 20px;margin-bottom:22px;max-width:680px;
}
.respectbox p{color:var(--dim);font-size:.92rem;line-height:1.55;margin-bottom:8px;}
.respectbox p:last-child{margin-bottom:0;}

/* --- admin editing boxes sized for real work --- */
.modform textarea{min-height:150px;resize:vertical;}
.modform textarea[name="e_transcript"],
.modform textarea[name="transcript"]{min-height:420px;line-height:1.6;}
.modform textarea[name="e_description"],
.modform textarea[name="e_editor_note"]{min-height:160px;}
.modform textarea[name="note"]{min-height:110px;}
.modform input[type=text],
.modform input[type=number],
.modform select,
.modform textarea{
  width:100%;max-width:100%;font-size:.95rem;
}
.modform input[type=number]{max-width:140px;}
.modcard{max-width:100%;}
.modform .field{max-width:900px;}

/* --- public form boxes sized for real writing --- */
.form textarea{min-height:150px;}
.form textarea#transcript{min-height:340px;line-height:1.6;}
.form textarea#description,
.form textarea#about,
.form textarea#message{min-height:180px;}
.form textarea#music_source,
.form textarea#work_links{min-height:120px;}

/* --- one player row everywhere: play left, wave middle, time right --- */
.row,
.epbody .row{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-top:auto;width:100%;max-width:420px;
}
.row .play{flex-shrink:0;}
.row .wave{flex:0 0 auto;}
.row .dur{
  flex-shrink:0;margin-left:auto;
  color:var(--dim);font-size:.8rem;
  font-family:'Space Grotesk',system-ui,sans-serif;
  white-space:nowrap;
}

/* --- section cards on the Listen page --- */
.seccard{
  display:block;background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:22px 24px;margin-bottom:16px;
  max-width:720px;text-decoration:none;
}
.seccard:hover{border-color:var(--coral);}
.seccard h2{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:1.4rem;color:var(--text);margin-bottom:8px;
}
.seccard:hover h2{color:var(--coral);}
.secblurb{color:var(--dim);line-height:1.55;margin-bottom:10px;}
.seccount{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:.72rem;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--coral);
}

/* --- the reveal: think first, then find out --- */
.reveal{
  border:1px solid var(--coral);border-radius:14px;
  padding:0;margin:0 0 22px;max-width:680px;overflow:hidden;
}
.reveal summary{
  cursor:pointer;padding:16px 20px;
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:600;color:var(--coral);list-style:none;
  min-height:44px;display:flex;align-items:center;
}
.reveal summary::-webkit-details-marker{display:none;}
.reveal summary::after{content:"\25BE";margin-left:8px;}
.reveal[open] summary::after{content:"\25B4";margin-left:8px;}
.reveal summary:hover{background:rgba(255,90,77,.08);}
.reveal > div{
  padding:0 20px 18px;color:var(--text);line-height:1.65;
  border-top:1px solid var(--line);padding-top:16px;
}

/* --- tile link for pieces that hold a reveal --- */
.tdesc + .revlink, .by + .revlink, .revlink{
  display:inline-block;color:var(--coral);
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:.82rem;font-weight:600;
  margin:-6px 0 14px;
}
