/* GOATCOIN Story Portal - scoped to /story/; homepage style remains intact. */
.story-landing{background:#06162d;color:#f4f6fb;min-height:100vh}
.story-landing .header-links>a.story-active{color:#b5f779}
.story-hero{width:min(100%,1536px);margin:0 auto;padding:26px clamp(14px,3.5vw,50px) 0}
.hero-art-frame{position:relative;overflow:hidden;border:1px solid #42506b;border-radius:16px;background:#101c2a;box-shadow:0 25px 65px #01091498}
.hero-art{display:block;width:100%;height:auto;object-fit:contain}
.story-hero-intro{display:flex;gap:34px;justify-content:space-between;align-items:center;padding:32px clamp(6px,1.3vw,19px) 39px;border-bottom:1px solid #35425a}
.intro-copy{max-width:820px}
.story-kicker{color:#d9b777;font-size:11px;font-weight:850;letter-spacing:.19em;line-height:1.5;margin:0 0 14px}
.story-kicker-line{display:inline-block;width:24px;height:1px;background:#c9a76b;vertical-align:middle;margin-right:8px}
.story-logline{color:#e0e7f1;font-size:clamp(17px,1.8vw,22px);line-height:1.55;font-weight:470;margin:0;max-width:800px}
.story-primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:17px 25px;background:#b5f779;color:#0d2219;border-radius:8px;font-size:13px;font-weight:900;letter-spacing:.09em;white-space:nowrap;min-height:54px;box-shadow:0 9px 25px #0b170a7d;transition:transform .2s,filter .2s}
.story-primary:hover{transform:translateY(-2px);filter:brightness(1.06)}
.story-primary span{font-size:20px;font-weight:600;line-height:1}
.chapter-library{width:min(100%,1320px);margin:0 auto;padding:64px 28px 86px}
.chapter-heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:33px}
.chapter-heading-copy{max-width:770px}
.tiny-separator{margin:0 10px;color:#526172}
.chapter-heading-row h1{font-size:clamp(34px,4.3vw,63px);line-height:1.07;font-weight:920;letter-spacing:-.065em;margin:0 0 17px;text-transform:uppercase}
.chapter-heading-row h1 em{font-style:normal;color:#e1be7a}
.chapter-synopsis{color:#acbcd1;font-size:16px;line-height:1.75;max-width:690px;margin:0}
.chapter-mark{display:flex;flex-direction:column;align-items:end;flex-shrink:0;color:#273a50;line-height:1}
.chapter-mark span{font-size:clamp(70px,10vw,125px);font-weight:950;letter-spacing:-.1em}
.chapter-mark small{font-size:11px;font-weight:800;letter-spacing:.3em;color:#8495a8}
.episode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.episode-card{min-width:0;overflow:hidden;border:1px solid #354761;border-radius:13px;background:linear-gradient(155deg,#152638,#0e1b2b);display:flex;flex-direction:column;box-shadow:0 14px 38px #01091160}
.episode-cover{display:block;position:relative;overflow:hidden;background:#172537;aspect-ratio:16/8.4}
.episode-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.episode-cover:hover img{transform:scale(1.035)}
.cover-label{position:absolute;bottom:14px;left:14px;padding:9px 12px;border-radius:5px;background:#b5f779;color:#102218;font-size:10px;letter-spacing:.12em;font-weight:900}
.episode-coming-art{position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;aspect-ratio:16/8.4;background:radial-gradient(ellipse at 70% 30%,#34405a 0%,transparent 46%),linear-gradient(135deg,#263347,#121e30 65%,#0a1522);border-bottom:1px solid #33445a}
.episode-coming-art:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(140deg,transparent 0,transparent 22px,#ffffff07 23px,#ffffff07 24px);pointer-events:none}
.coming-number{color:#71839a29;font-size:clamp(100px,15vw,190px);line-height:1;font-weight:950;letter-spacing:-.12em;transform:translateX(-12px)}
.coming-crest{position:absolute;bottom:18px;left:21px;color:#d9b777;font-size:11px;letter-spacing:.2em;font-weight:750}
.episode-body{padding:28px 30px 30px;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.episode-overline{font-size:11px;letter-spacing:.2em;font-weight:850;color:#b5f779;margin:0 0 12px;display:flex;align-items:center;gap:10px}
.episode-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#b5f779;box-shadow:0 0 14px #b5f77983}
.episode-overline.muted{color:#d8b675}
.episode-body h2{font-size:clamp(24px,2.7vw,34px);line-height:1.16;letter-spacing:-.04em;margin:0 0 13px;font-weight:870}
.episode-body p:not(.episode-overline){color:#b7c6d8;font-size:14px;line-height:1.7;margin:0 0 25px}
.episode-link{margin-top:auto;color:#b5f779;font-size:12px;letter-spacing:.11em;font-weight:900;border-bottom:1px solid #b5f77955;padding-bottom:7px}
.episode-link:hover{color:#d9ffaf}
.upcoming-status{margin-top:auto;color:#a6afbd;font-size:11px;letter-spacing:.1em;font-weight:850;border:1px solid #556074;border-radius:6px;padding:11px 14px}
.library-note{text-align:center;color:#8e9fb5;font-size:13px;margin:27px 0 0}
.story-footer{border-top:1px solid #2d4057;background:#081320}
.story-footer-inner{max-width:1320px;padding:31px 28px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.story-footer-inner div{display:flex;align-items:baseline;flex-wrap:wrap;gap:18px}
.story-footer-inner strong{font-size:15px;color:#fff;letter-spacing:.14em}
.story-footer-inner span{font-size:11px;color:#8ca1ba;letter-spacing:.08em}
.story-footer-inner>a{font-size:12px;font-weight:800;letter-spacing:.08em;color:#b5f779}
.story-footer-inner>a:hover{text-decoration:underline}
@media(max-width:1000px){.story-hero-intro{flex-direction:column;align-items:flex-start;gap:22px}.episode-grid{gap:14px}.episode-body{padding:22px}}
@media(max-width:780px){.story-hero{padding:13px 10px 0}.hero-art-frame{border-radius:9px}.story-hero-intro{padding:26px 8px 30px}.story-primary{width:100%;min-height:52px}.chapter-library{padding:45px 18px 65px}.chapter-heading-row{margin-bottom:25px}.chapter-mark{display:none}.episode-grid{grid-template-columns:1fr;gap:18px}.episode-body{padding:24px}.episode-coming-art{aspect-ratio:16/7}.story-footer-inner{flex-direction:column;text-align:center}.story-footer-inner div{justify-content:center}}
@media(max-width:440px){.story-kicker{font-size:9px;letter-spacing:.13em}.chapter-heading-row h1{font-size:36px}.episode-cover{aspect-ratio:16/10}.story-hero-intro{gap:20px}.story-primary{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.episode-cover img,.story-primary{transition:none}.episode-cover:hover img,.story-primary:hover{transform:none}}
