/* Calming Anxiety episode library: shared by /episodes/, /topics/ and /books-at-bedtime/ pages */
*{box-sizing:border-box;margin:0;padding:0}
html{background:#081318}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#D6E7E0;line-height:1.65;-webkit-font-smoothing:antialiased;
  background:radial-gradient(120% 60% at 50% 0%,#17434D 0%,transparent 50%),linear-gradient(175deg,#0D2129 0%,#081318 60%);min-height:100vh}
a{color:#9FE0C5}
.wrap{max-width:860px;margin:0 auto;padding:0 24px}
.top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:22px 0}
.brand{font-family:'Fraunces',Georgia,serif;font-size:1.25rem;color:#F4FAF7;text-decoration:none}
.top nav a{color:#B9D2CD;text-decoration:none;font-size:.9rem;margin-left:20px}
.top nav a:hover{color:#F4FAF7}
.crumbs{font-size:.8rem;color:#7FA79D;display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 22px}
.crumbs a{color:#9FD3C2;text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.eyebrow{display:flex;align-items:center;justify-content:center;gap:14px;font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;font-weight:600;color:#8FC3B2}
.eyebrow::before,.eyebrow::after{content:'';width:36px;height:1px;background:linear-gradient(90deg,transparent,#8FC3B2)}
.eyebrow::after{background:linear-gradient(90deg,#8FC3B2,transparent)}
.hero{text-align:center;padding:30px 0 34px}
.hero h1{font-family:'Fraunces',Georgia,serif;font-weight:300;letter-spacing:-.02em;font-size:clamp(2rem,4.6vw,3rem);line-height:1.12;color:#F4FAF7;margin:18px auto 0;max-width:720px}
.sub{max-width:600px;margin:16px auto 0;font-size:1.02rem;color:#B9D2CD}
.chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:24px}
.chips.left{justify-content:flex-start;margin-top:18px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:8px 15px;border-radius:13px;text-decoration:none;font-size:.86rem;font-weight:500;color:#D6E7E0;border:1px solid rgba(159,224,197,.22);background:rgba(255,255,255,.04)}
.chip:hover,.chip.on{border-color:rgba(159,224,197,.6)}
.chip.on{background:rgba(94,224,184,.1);color:#F4FAF7}
.chip.sm{padding:5px 11px;font-size:.78rem;border-radius:10px}

/* episode: player card */
.shell{border-radius:24px;overflow:hidden;background:#0B1B20;border:1px solid rgba(159,224,197,.28);box-shadow:0 50px 120px -40px rgba(3,10,14,.9),0 0 90px -20px rgba(46,125,116,.5)}
.now{display:grid;grid-template-columns:200px 1fr;gap:28px;padding:28px;align-items:center}
.now img{width:200px;height:200px;border-radius:16px;object-fit:cover;background:#12313A;display:block}
.kicker{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:#8FC3B2}
.now h1{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:clamp(1.35rem,2.8vw,1.9rem);line-height:1.25;color:#F4FAF7;margin-top:6px}
.now .meta{margin-top:6px;font-size:.88rem;color:#8FB3AA}
.ctl{display:flex;align-items:center;gap:14px;margin-top:18px}
.play{width:58px;height:58px;border-radius:50%;border:0;cursor:pointer;background:linear-gradient(140deg,#9FE0C5,#2E7D74);display:grid;place-items:center;flex:none}
.play svg{width:24px;height:24px;fill:#081318}
.skip{background:none;border:1px solid rgba(159,224,197,.25);color:#B9D2CD;border-radius:10px;padding:6px 10px;font:500 .8rem Inter,sans-serif;cursor:pointer}
.skip:hover{border-color:rgba(159,224,197,.6);color:#F4FAF7}
.seek{display:flex;align-items:center;gap:12px;margin-top:14px;font-size:.8rem;color:#8FB3AA;font-variant-numeric:tabular-nums}
.seek input{flex:1;accent-color:#5EE0B8;min-width:0}

/* episode: about + the full script, always visible */
.about{margin:34px 4px 0}
.about p{font-size:1.02rem;color:#C3D8D2}
.about p+p{margin-top:12px}
.script{margin:38px 0 0;padding:28px 30px 32px;border-radius:22px;background:rgba(255,255,255,.025);border:1px solid rgba(159,224,197,.12)}
.script h2,.list h2{font-family:'Fraunces',Georgia,serif;font-weight:300;font-size:clamp(1.5rem,3vw,1.9rem);color:#F4FAF7}
.script .note{margin-top:6px;font-size:.82rem;color:#7FA79D}
.text{margin-top:18px}
.text p{font-family:'Fraunces',Georgia,serif;font-weight:300;font-size:1.14rem;line-height:1.75;color:#B5CBC6}
.text p+p{margin-top:1em}
.text span[data-s]{cursor:pointer;border-radius:6px;transition:color .3s,background .3s;padding:1px 0}
.text span[data-s]:hover{color:#E4F0EC}
.text span.on{color:#F4FAF7;background:rgba(94,224,184,.12);box-shadow:0 0 0 3px rgba(94,224,184,.12)}

/* previous / next */
.pn{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:34px 0 0}
.pn a{display:block;padding:14px 18px;border-radius:16px;border:1px solid rgba(159,224,197,.14);background:rgba(255,255,255,.035);text-decoration:none;color:#EDF6F2;font-weight:500;line-height:1.35}
.pn a:hover{border-color:rgba(159,224,197,.45)}
.pn a span{display:block;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:#8FC3B2;margin-bottom:4px;font-weight:600}
.pn .next{text-align:right}

/* lists */
.list{margin:40px 0 0}
.list h2{margin-bottom:16px}
.list ol{list-style:none;display:grid;gap:10px}
.list li a{display:block;padding:14px 18px;border-radius:16px;border:1px solid rgba(159,224,197,.12);background:rgba(255,255,255,.035);text-decoration:none;color:inherit}
.list li a:hover{border-color:rgba(159,224,197,.45)}
.list .t{display:block;color:#EDF6F2;font-weight:500;line-height:1.35}
.list .m{display:block;font-size:.8rem;color:#7FA79D;margin-top:3px}
.list .d{display:block;font-size:.88rem;color:#9FB7B4;margin-top:5px;line-height:1.5}
.pager{display:flex;justify-content:space-between;align-items:center;margin:26px 0 0;font-size:.9rem;color:#8FB3AA}
.pager a{text-decoration:none;font-weight:500}

.apps{margin:40px 0 0;padding:20px 24px;border-radius:18px;border:1px solid rgba(159,224,197,.18);background:rgba(94,224,184,.05);font-size:.95rem;color:#C3D8D2}
.apps p+p{margin-top:8px}

/* mini player that follows you down the page once the audio has started */
.dock{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:5;display:flex;align-items:center;gap:12px;padding:8px 16px 8px 8px;border-radius:40px;
  background:rgba(11,27,32,.94);border:1px solid rgba(159,224,197,.35);box-shadow:0 20px 50px -10px rgba(0,0,0,.7);font-size:.82rem;color:#B9D2CD;font-variant-numeric:tabular-nums;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);max-width:calc(100% - 24px)}
.dock[hidden]{display:none}
.dock .play{width:42px;height:42px}
.dock .play svg{width:18px;height:18px}
.dock .tt{max-width:42vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#EDF6F2}

footer{margin:80px 0 0;padding:34px 0 90px;border-top:1px solid rgba(159,224,197,.12);font-size:.88rem;color:#7FA79D;text-align:center}
footer p+p{margin-top:10px}
@media(max-width:700px){
  .now{grid-template-columns:1fr;text-align:center;padding:22px}
  .now img{width:200px;height:200px;margin:0 auto}
  .ctl{justify-content:center}
  .chips.left{justify-content:center}
  .script{padding:22px 18px 24px}
  .top nav a{margin-left:12px;font-size:.84rem}
  .pn{grid-template-columns:1fr}
  .pn .next{text-align:left}
}
