* { box-sizing: border-box; }
:root { color: #292d34; background: #f7f3ec; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
a { color: inherit; }
.story-shell { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 34px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 24px; }
.topbar .home-link { margin-bottom: 0; }
.brand { color: #34499f; font-size: 1.25rem; font-weight: 850; letter-spacing: -.045em; text-decoration: none; }
.back-link { color: #687182; font-size: .92rem; font-weight: 650; text-decoration: none; }
.back-link:hover { color: #34499f; }
.welcome { position: relative; overflow: hidden; padding: clamp(32px, 7vw, 68px); border: 1px solid #e8dfd1; border-radius: 28px; background: radial-gradient(ellipse at 89% 17%, #f9dfbb 0, transparent 37%), linear-gradient(135deg, #fffefa, #fbf2e4); }
.welcome::after { position: absolute; right: 8%; bottom: -125px; width: 260px; height: 260px; border: 1px solid #9c75431c; border-radius: 50%; content: ""; box-shadow: 0 0 0 32px #9c75430a, 0 0 0 70px #9c754307; pointer-events: none; }
.eyebrow { margin: 0 0 10px; color: #9c632c; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.01; letter-spacing: -.065em; }
h1 span { color: #b36d31; }
.welcome-copy { max-width: 625px; margin: 20px 0 22px; color: #61646b; font-size: 1.05rem; line-height: 1.7; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-row span { padding: 7px 11px; border: 1px solid #eadbc6; border-radius: 999px; background: #fffaf2c9; color: #745735; font-size: .83rem; font-weight: 700; }
.episode-section { margin-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.section-heading .eyebrow { margin-bottom: 5px; }
h2 { margin: 0; font-size: 1.8rem; letter-spacing: -.04em; }
.episode-count { padding: 6px 11px; border: 1px solid #e6ded3; border-radius: 999px; background: #fffefa; color: #77766f; font-size: .82rem; font-weight: 700; }
.empty-shelf { display: grid; grid-template-columns: 190px 1fr; overflow: hidden; border: 1px solid #e8dfd1; border-radius: 21px; background: #fffefa; box-shadow: 0 10px 28px #55412108; }
.shelf-art { position: relative; display: grid; min-height: 260px; place-items: center; overflow: hidden; background: linear-gradient(155deg, #f7d9b0, #f8ebd7 70%); }
.shelf-art::before, .shelf-art::after { position: absolute; width: 180px; height: 180px; border: 1px solid #a56e3519; border-radius: 50%; content: ""; }
.shelf-art::after { width: 125px; height: 125px; }
.shelf-art span { z-index: 1; font-size: 4.5rem; filter: drop-shadow(0 7px 3px #68421c20); }
.shelf-art i { position: absolute; right: 20px; bottom: 28px; width: 40px; height: 40px; border-radius: 50%; background: #fff8e3; box-shadow: 0 0 0 12px #fff8e326; }
.shelf-copy { align-self: center; padding: 30px clamp(24px, 4vw, 42px); }
.episode-label { margin: 0 0 7px; color: #a5672e; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h3 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -.035em; }
.shelf-copy > p:not(.episode-label) { max-width: 610px; margin: 12px 0 20px; color: #69707a; line-height: 1.65; }
.episode-parts { display: flex; flex-wrap: wrap; gap: 8px; }
.episode-parts span { padding: 8px 10px; border-radius: 9px; background: #f7f3ec; color: #61646b; font-size: .84rem; font-weight: 700; }
.episode-parts b { margin-right: 5px; color: #b36d31; }
.reading-note { display: flex; gap: 14px; margin-top: 17px; padding: 18px 20px; border: 1px solid #ebe4d9; border-radius: 15px; background: #fffefaad; color: #707079; line-height: 1.55; }
.reading-note p { margin: 0; }
.reading-note strong { color: #373a40; }
.note-icon { color: #b36d31; font-size: 1.3rem; }
footer { margin-top: 38px; padding-top: 17px; border-top: 1px solid #e7dfd3; color: #89867f; font-size: .87rem; }
@media (max-width: 620px) { .story-shell { width: min(100% - 28px, 520px); padding-top: 17px; } .welcome { border-radius: 22px; } .empty-shelf { grid-template-columns: 1fr; } .shelf-art { min-height: 160px; } .shelf-art span { font-size: 3.4rem; } .shelf-copy { padding: 25px 22px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
