/* Audio Kotha — story detail glass pass. Scoped to /story/* so other pages are untouched. */
body[data-page^="story/"] .crumbs {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--muted);
    padding: 9px 13px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(37, 99, 235, .10);
    box-shadow: 0 10px 26px -22px rgba(15, 35, 95, .45);
    backdrop-filter: blur(8px);
    margin-top: 10px;
}
body[data-page^="story/"] .crumbs a { color: var(--blue-700); font-weight: 700; }
body[data-page^="story/"] .crumbs svg { color: #9FB3D1; }

body[data-page^="story/"] .story-hero {
    position: relative;
    padding: 22px 0 18px;
    overflow: hidden;
}
body[data-page^="story/"] .story-hero::before {
    content: "";
    position: absolute;
    inset: -30px -10px auto;
    height: 420px;
    pointer-events: none;
    background:
        radial-gradient(520px 260px at 18% 22%, rgba(37, 99, 235, .14), transparent 70%),
        radial-gradient(420px 300px at 88% 8%, rgba(147, 197, 253, .18), transparent 72%);
}
body[data-page^="story/"] .story-hero-grid {
    position: relative;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
}

/* Cover */
body[data-page^="story/"] .story-cover-wrap {
    position: relative;
    overflow: hidden;
    padding: 10px;
    border-radius: 26px;
    background: linear-gradient(155deg, rgba(255, 255, 255, .96), rgba(230, 240, 255, .72));
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 30px 60px -34px rgba(15, 35, 95, .55), inset 0 1px 0 #fff;
    animation: srUp .5s cubic-bezier(.2, .8, .2, 1) both;
}
body[data-page^="story/"] .story-cover-wrap::before {
    content: "";
    position: absolute;
    inset: -40% -70% auto;
    height: 180px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: rotate(-18deg);
    pointer-events: none;
}
body[data-page^="story/"] .story-cover {
    border-radius: 18px;
    box-shadow: 0 18px 40px -26px rgba(15, 35, 95, .5);
    background: var(--blue-50);
}
body[data-page^="story/"] .story-cover img { transition: transform .5s ease; }
body[data-page^="story/"] .story-cover-wrap:hover .story-cover img { transform: scale(1.04); }
body[data-page^="story/"] .cover-badges { margin-top: 11px; }
body[data-page^="story/"] .cover-badges .pill {
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 8px 18px -14px rgba(15, 35, 95, .45);
    backdrop-filter: blur(8px);
}

/* Intro panel */
body[data-page^="story/"] .story-intro {
    padding: 24px 26px 22px;
    border-radius: 22px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .94), rgba(240, 246, 255, .76));
    border: 1px solid rgba(37, 99, 235, .12);
    box-shadow: 0 26px 56px -36px rgba(15, 35, 95, .5), inset 0 1px 0 #fff;
    backdrop-filter: blur(10px);
    animation: srUp .56s .06s cubic-bezier(.2, .8, .2, 1) both;
}
body[data-page^="story/"] .genre-chip {
    background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(219, 234, 254, .6));
    border: 1px solid rgba(37, 99, 235, .13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: transform .18s ease, box-shadow .18s ease;
}
body[data-page^="story/"] .genre-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -14px rgba(37, 99, 235, .55);
}
body[data-page^="story/"] .story-intro h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -.045em;
    background: linear-gradient(105deg, var(--ink) 15%, #1D4ED8 85%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body[data-page^="story/"] .story-alt-title { margin-bottom: 10px; }
body[data-page^="story/"] .story-synopsis {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-2);
    max-width: 64ch;
}
body[data-page^="story/"] .story-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border: 0;
    margin: 20px 0 18px;
}
body[data-page^="story/"] .sm-item {
    min-width: 0;
    gap: 9px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(239, 245, 255, .62));
    border: 1px solid rgba(37, 99, 235, .10);
    box-shadow: 0 12px 28px -24px rgba(15, 35, 95, .5), inset 0 1px 0 #fff;
    transition: transform .18s ease, border-color .18s ease;
}
body[data-page^="story/"] .sm-item:hover { transform: translateY(-2px); border-color: rgba(37, 99, 235, .24); }
body[data-page^="story/"] .sm-ico {
    background: linear-gradient(145deg, #EFF6FF, #DBEAFE);
    border-color: rgba(37, 99, 235, .12);
    color: var(--blue-700);
}
body[data-page^="story/"] .sm-item strong { font-size: 16px; }
body[data-page^="story/"] .story-creators { gap: 12px; margin-bottom: 20px; }
body[data-page^="story/"] .person {
    padding: 8px 12px 8px 8px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(15, 35, 95, .07);
}
body[data-page^="story/"] .avatar {
    box-shadow: 0 8px 20px -14px rgba(15, 35, 95, .55);
}
body[data-page^="story/"] .story-actions .btn-primary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    border-color: transparent;
    box-shadow: 0 18px 34px -18px rgba(37, 99, 235, .65);
}
body[data-page^="story/"] .story-actions .btn-soft {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: inset 0 1px 0 #fff;
}
body[data-page^="story/"] .story-actions .btn:hover { transform: translateY(-2px); }
body[data-page^="story/"] .btn-icon.js-fav.is-active {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    color: #B91C1C;
}
body[data-page^="story/"] .resume-note {
    padding: 8px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(37, 99, 235, .12);
    box-shadow: inset 0 1px 0 #fff;
}

/* Main panels */
body[data-page^="story/"] .story-body-grid { gap: 24px; }
body[data-page^="story/"] .episode-panel,
body[data-page^="story/"] .comments-panel,
body[data-page^="story/"] .side-card.glass {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, .11);
    background: linear-gradient(155deg, rgba(255, 255, 255, .96), rgba(244, 249, 255, .78));
    box-shadow: 0 22px 48px -36px rgba(15, 35, 95, .48), inset 0 1px 0 #fff;
    backdrop-filter: blur(8px);
    animation: srCardIn .38s .1s cubic-bezier(.2, .8, .2, 1) both;
}
body[data-page^="story/"] .episode-panel::before,
body[data-page^="story/"] .comments-panel::before,
body[data-page^="story/"] .side-card.glass::before {
    content: "";
    position: absolute;
    inset: 0 18px auto;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .5), transparent);
    pointer-events: none;
}
body[data-page^="story/"] .panel-head { margin-bottom: 18px; }
body[data-page^="story/"] .panel-head h2 { font-size: 20px; }
body[data-page^="story/"] .panel-note {
    padding: 6px 10px;
    border-radius: 99px;
    background: rgba(37, 99, 235, .07);
    border: 1px solid rgba(37, 99, 235, .11);
}
body[data-page^="story/"] .episode-list { gap: 6px; }
body[data-page^="story/"] .ep-row {
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 35, 95, .07);
    background: linear-gradient(140deg, rgba(255, 255, 255, .92), rgba(239, 245, 255, .55));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    animation: srCardIn .32s both;
    animation-delay: calc(var(--i, 0) * 35ms);
}
body[data-page^="story/"] .ep-row:nth-child(1) { --i: 0; }
body[data-page^="story/"] .ep-row:nth-child(2) { --i: 1; }
body[data-page^="story/"] .ep-row:nth-child(3) { --i: 2; }
body[data-page^="story/"] .ep-row:nth-child(4) { --i: 3; }
body[data-page^="story/"] .ep-row:nth-child(5) { --i: 4; }
body[data-page^="story/"] .ep-row:nth-child(6) { --i: 5; }
body[data-page^="story/"] .ep-row:nth-child(7) { --i: 6; }
body[data-page^="story/"] .ep-row:nth-child(8) { --i: 7; }
body[data-page^="story/"] .ep-row:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .22);
    box-shadow: 0 16px 32px -24px rgba(15, 35, 95, .48);
}
body[data-page^="story/"] .ep-row.is-current {
    background: linear-gradient(135deg, rgba(37, 99, 235, .13), rgba(219, 234, 254, .5));
    border-color: rgba(37, 99, 235, .24);
}
body[data-page^="story/"] .ep-play {
    width: 38px;
    height: 38px;
    background: linear-gradient(145deg, #3B82F6, #1D4ED8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px -14px rgba(37, 99, 235, .75);
}
body[data-page^="story/"] .ep-row.is-locked .ep-play {
    background: linear-gradient(145deg, #EEF3FA, #DBE5F4);
    color: var(--muted);
    box-shadow: none;
}
body[data-page^="story/"] .ep-num { font-weight: 800; }
body[data-page^="story/"] .ep-title { font-weight: 700; }
body[data-page^="story/"] .ep-lock {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
}
body[data-page^="story/"] .ep-read {
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(15, 35, 95, .08);
}
body[data-page^="story/"] .ep-read:hover {
    background: var(--blue-50);
    color: var(--blue-700);
    border-color: rgba(37, 99, 235, .18);
}

/* Comments */
body[data-page^="story/"] .comments-panel { margin-top: 24px; }
body[data-page^="story/"] .comment-form {
    border-radius: 16px;
    background: rgba(247, 250, 255, .62);
    border: 1px solid rgba(15, 35, 95, .07);
    padding: 14px;
}
body[data-page^="story/"] .field textarea,
body[data-page^="story/"] .cf-field textarea {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(15, 35, 95, .11);
}
body[data-page^="story/"] .comment {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(15, 35, 95, .07);
}
body[data-page^="story/"] .pill-verified {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #047857;
}

/* Side rail */
body[data-page^="story/"] .story-side { gap: 16px; }
body[data-page^="story/"] .side-card.glass { padding: 18px; }
body[data-page^="story/"] .side-card h3 { font-size: 14.5px; }
body[data-page^="story/"] .detail-list > div {
    padding: 7px 9px;
    border-radius: 9px;
}
body[data-page^="story/"] .detail-list > div:nth-child(odd) { background: rgba(239, 245, 255, .6); }
body[data-page^="story/"] .tag-cloud .tag {
    background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(219, 234, 254, .55));
    border: 1px solid rgba(37, 99, 235, .12);
    transition: transform .18s ease, box-shadow .18s ease;
}
body[data-page^="story/"] .tag-cloud .tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -14px rgba(37, 99, 235, .5);
}
body[data-page^="story/"] .side-story {
    padding: 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
body[data-page^="story/"] .side-story:hover {
    transform: translateX(2px);
    background: rgba(239, 245, 255, .72);
    border-color: rgba(37, 99, 235, .14);
}
body[data-page^="story/"] .ss-cover { border-radius: 10px; overflow: hidden; }
body[data-page^="story/"] .side-tip {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 18px;
    color: #EAF2FF;
    background: linear-gradient(155deg, #0B1533, #173A78);
    border: 1px solid rgba(147, 197, 253, .22);
    box-shadow: 0 26px 54px -34px rgba(15, 35, 95, .72);
}
body[data-page^="story/"] .side-tip::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, .28), transparent 68%);
    pointer-events: none;
}
body[data-page^="story/"] .side-tip > * { position: relative; }
body[data-page^="story/"] .side-tip h3 { color: #fff; }
body[data-page^="story/"] .side-tip p { color: #B9CDEB; }
body[data-page^="story/"] .side-tip .btn-primary {
    background: #fff;
    color: var(--blue-dark);
    border-color: transparent;
}

/* Focus, motion and responsive */
body[data-page^="story/"] a:focus-visible,
body[data-page^="story/"] button:focus-visible,
body[data-page^="story/"] textarea:focus-visible,
body[data-page^="story/"] input:focus-visible {
    outline: 2px solid rgba(37, 99, 235, .55);
    outline-offset: 2px;
}
@keyframes srUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes srCardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1180px) {
    body[data-page^="story/"] .story-hero-grid { grid-template-columns: 270px minmax(0, 1fr); gap: 24px; }
    body[data-page^="story/"] .story-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    body[data-page^="story/"] .story-body-grid { grid-template-columns: 1fr; }
    body[data-page^="story/"] .story-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 680px) {
    body[data-page^="story/"] .head-actions .btn-primary { display: none; }
    body[data-page^="story/"] .story-hero-grid { grid-template-columns: 1fr; gap: 16px; }
    body[data-page^="story/"] .story-cover-wrap { display: flex; gap: 14px; align-items: flex-start; padding: 8px; }
    body[data-page^="story/"] .story-cover { width: 128px; flex: none; }
    body[data-page^="story/"] .cover-badges { margin-top: 0; align-self: flex-start; flex-direction: column; }
    body[data-page^="story/"] .story-intro { padding: 18px; }
    body[data-page^="story/"] .story-intro h1 { font-size: 28px; }
    body[data-page^="story/"] .story-side { grid-template-columns: 1fr; }
    body[data-page^="story/"] .ep-row { padding: 9px; }
    body[data-page^="story/"] .ep-summary { white-space: normal; }
    body[data-page^="story/"] .cf-foot { flex-direction: column; align-items: stretch; }
}
@media (max-width: 430px) {
    body[data-page^="story/"] .story-cover { width: 108px; }
    body[data-page^="story/"] .cover-badges .pill { font-size: 9px; }
    body[data-page^="story/"] .story-metrics { gap: 7px; }
    body[data-page^="story/"] .sm-item { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-page^="story/"] * { animation: none !important; transition: none !important; }
}

/* Full-bleed story banner */
body[data-page^="story/"] .story-banner {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    height: clamp(280px, 48vh, 620px);
    overflow: hidden;
    background: #0B1B3A;
    isolation: isolate;
}

body[data-page^="story/"] .story-banner img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 38%;
    animation: sbReveal .65s cubic-bezier(.2, .8, .2, 1) both;
}

body[data-page^="story/"] .story-banner-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 15, 33, .06) 0%, transparent 45%, rgba(245, 248, 254, .18) 78%, #F5F8FE 100%),
        linear-gradient(90deg, rgba(5, 15, 33, .16), transparent 38%, transparent 72%, rgba(5, 15, 33, .1));
}

@keyframes sbReveal {
    from { opacity: 0; transform: scale(1.025); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 680px) {
    body[data-page^="story/"] .story-banner {
        height: clamp(220px, 34vh, 340px);
    }
    body[data-page^="story/"] .story-banner img {
        object-position: center 32%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-page^="story/"] .story-banner img {
        animation: none;
    }
}

/* Episode rail integrated over the story banner */
body[data-page^="story/"] .story-banner {
    height: clamp(380px, 58vh, 680px);
}

body[data-page^="story/"] .story-banner.is-fallback {
    background:
        radial-gradient(520px 300px at 76% 18%, rgba(96, 165, 250, .34), transparent 68%),
        linear-gradient(140deg, #08152F, #12326A);
}

body[data-page^="story/"] .story-banner-shade {
    background:
        linear-gradient(180deg, rgba(4, 13, 31, .04) 0%, transparent 36%, rgba(4, 13, 31, .46) 78%, rgba(4, 13, 31, .68) 100%),
        linear-gradient(90deg, rgba(4, 13, 31, .22), transparent 40%, transparent 76%, rgba(4, 13, 31, .2));
}

body[data-page^="story/"] .story-banner-episodes {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 0 max(15px, env(safe-area-inset-bottom));
}

body[data-page^="story/"] .story-banner-episodes .container {
    position: relative;
}

body[data-page^="story/"] .sbe-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    color: #F8FAFF;
    text-shadow: 0 1px 8px rgba(3, 10, 25, .55);
}

body[data-page^="story/"] .sbe-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    letter-spacing: .15em;
    font-weight: 900;
    text-transform: uppercase;
    color: #DBEAFE;
}

body[data-page^="story/"] .sbe-count {
    font-size: 9px;
    font-weight: 650;
    color: rgba(239, 246, 255, .72);
}

body[data-page^="story/"] .sbe-sync {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 99px;
    font-size: 7.5px;
    font-weight: 700;
    color: rgba(239, 246, 255, .78);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(6, 18, 39, .28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body[data-page^="story/"] .sbe-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
}

body[data-page^="story/"] .sbe-rail::-webkit-scrollbar {
    display: none;
}

body[data-page^="story/"] .sbe-card {
    flex: 0 0 clamp(184px, 21vw, 234px);
    min-width: 0;
    min-height: 92px;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    scroll-snap-align: start;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .46);
    background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(235, 244, 255, .82));
    box-shadow: 0 14px 28px -16px rgba(3, 10, 25, .65), inset 0 1px 0 #fff;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    color: #10264A;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

body[data-page^="story/"] .sbe-card:hover {
    transform: translateY(-3px);
    background: #fff;
    border-color: rgba(191, 219, 254, .9);
}

body[data-page^="story/"] .sbe-card.is-current {
    border-color: rgba(147, 197, 253, .9);
    box-shadow: 0 14px 30px -14px rgba(3, 10, 25, .7), 0 0 0 2px rgba(96, 165, 250, .2), inset 0 1px 0 #fff;
}

body[data-page^="story/"] .sbe-card.is-locked {
    opacity: .82;
}

body[data-page^="story/"] .sbe-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body[data-page^="story/"] .sbe-num {
    font-size: 7px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .14em;
    color: #2563EB;
}

body[data-page^="story/"] .sbe-play {
    width: 25px;
    height: 25px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1D4ED8;
    background: #EFF6FF;
    border: 1px solid rgba(37, 99, 235, .13);
    box-shadow: 0 5px 10px -7px rgba(15, 35, 95, .5);
}

body[data-page^="story/"] .sbe-card.is-current .sbe-play {
    color: #fff;
    background: #1D4ED8;
    border-color: transparent;
}

body[data-page^="story/"] .sbe-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 11px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.015em;
    color: #10264A;
}

body[data-page^="story/"] .sbe-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 8px;
    line-height: 1.2;
    font-weight: 650;
    color: #647894;
    white-space: nowrap;
}

body[data-page^="story/"] .sbe-meta svg {
    color: #4F8CFF;
}

@media (max-width: 680px) {
    body[data-page^="story/"] .story-banner {
        height: clamp(320px, 47vh, 430px);
    }
    body[data-page^="story/"] .story-banner-episodes {
        padding-bottom: max(11px, env(safe-area-inset-bottom));
    }
    body[data-page^="story/"] .sbe-head {
        margin-bottom: 7px;
        gap: 7px;
    }
    body[data-page^="story/"] .sbe-eyebrow {
        font-size: 7px;
    }
    body[data-page^="story/"] .sbe-count {
        font-size: 7.8px;
    }
    body[data-page^="story/"] .sbe-sync {
        display: none;
    }
    body[data-page^="story/"] .sbe-card {
        flex-basis: min(72vw, 235px);
        min-height: 86px;
        padding: 8px 9px;
        border-radius: 13px;
    }
    body[data-page^="story/"] .sbe-title {
        font-size: 10.5px;
    }
    body[data-page^="story/"] .sbe-meta {
        font-size: 7.5px;
    }
    body[data-page^="story/"] .sbe-play {
        width: 23px;
        height: 23px;
    }
}

@media (max-width: 350px) {
    body[data-page^="story/"] .story-banner {
        height: clamp(300px, 45vh, 390px);
    }
    body[data-page^="story/"] .sbe-card {
        flex-basis: 76vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-page^="story/"] .sbe-card {
        transition: none;
    }
    body[data-page^="story/"] .sbe-card:hover {
        transform: none;
    }
}

/* Two episode cards visible at a time on phones */
@media (max-width: 680px) {
    body[data-page^="story/"] .sbe-card {
        flex-basis: calc(50% - 4px);
        min-width: 0;
    }
}

@media (max-width: 350px) {
    body[data-page^="story/"] .sbe-card {
        flex-basis: calc(50% - 4px);
    }
}

/* Episode list cards inside the story cover card */
body[data-page^="story/"] .cover-side {
    min-width: 0;
}

body[data-page^="story/"] .hero-episodes {
    margin-top: 12px;
    padding-top: 9px;
    border-top: 1px solid rgba(37, 99, 235, .10);
}

body[data-page^="story/"] .hep-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    color: #526783;
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body[data-page^="story/"] .hep-head span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body[data-page^="story/"] .hep-head small {
    min-width: 17px;
    height: 17px;
    display: inline-grid;
    place-items: center;
    border-radius: 99px;
    font-size: 7.5px;
    color: #1D4ED8;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .10);
}

body[data-page^="story/"] .hep-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 205px;
    overflow-y: auto;
    padding-right: 1px;
    scrollbar-width: thin;
}

body[data-page^="story/"] .hep-card {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 38px;
    padding: 5px 6px;
    border-radius: 9px;
    color: #13294B;
    text-decoration: none;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(37, 99, 235, .08);
    box-shadow: inset 0 1px 0 #fff;
    transition: background .18s, border-color .18s, transform .18s;
}

body[data-page^="story/"] .hep-card:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, .24);
    transform: translateX(2px);
}

body[data-page^="story/"] .hep-card.is-current {
    border-color: rgba(37, 99, 235, .28);
    background: rgba(239, 246, 255, .92);
}

body[data-page^="story/"] .hep-card.is-locked {
    opacity: .78;
}

body[data-page^="story/"] .hep-num {
    flex: none;
    width: 30px;
    font-size: 6.5px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: .04em;
    color: #2563EB;
}

body[data-page^="story/"] .hep-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body[data-page^="story/"] .hep-main strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 9.5px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #13294B;
}

body[data-page^="story/"] .hep-main small {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 7px;
    line-height: 1.1;
    font-weight: 600;
    color: #7D8DA5;
}

body[data-page^="story/"] .hep-main small svg {
    color: #4F8CFF;
}

body[data-page^="story/"] .hep-play {
    flex: none;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1D4ED8;
    background: #EFF6FF;
    border: 1px solid rgba(37, 99, 235, .12);
    box-shadow: 0 3px 7px -5px rgba(15, 35, 95, .45);
}

body[data-page^="story/"] .hep-card.is-current .hep-play {
    color: #fff;
    background: #1D4ED8;
    border-color: transparent;
}

/* Keep the banner clean now that episodes live in the cover card */
body[data-page^="story/"] .story-banner {
    height: clamp(280px, 42vh, 520px);
}

@media (max-width: 680px) {
    body[data-page^="story/"] .story-banner {
        height: clamp(240px, 34vh, 330px);
    }
    body[data-page^="story/"] .story-cover-wrap {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }
    body[data-page^="story/"] .story-cover {
        width: 108px;
        flex: none;
    }
    body[data-page^="story/"] .cover-side {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 7px;
    }
    body[data-page^="story/"] .cover-side .cover-badges {
        margin-top: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    body[data-page^="story/"] .cover-side .cover-badges .pill {
        font-size: 8px;
        padding: 5px 8px;
    }
    body[data-page^="story/"] .hero-episodes {
        margin-top: 0;
        padding-top: 6px;
    }
    body[data-page^="story/"] .hep-head {
        margin-bottom: 4px;
        font-size: 7px;
    }
    body[data-page^="story/"] .hep-list {
        max-height: 155px;
        gap: 3px;
    }
    body[data-page^="story/"] .hep-card {
        min-height: 36px;
        padding: 4px 5px;
        gap: 5px;
        border-radius: 8px;
    }
    body[data-page^="story/"] .hep-num {
        width: 27px;
        font-size: 6px;
    }
    body[data-page^="story/"] .hep-main strong {
        font-size: 9px;
    }
    body[data-page^="story/"] .hep-main small {
        font-size: 6.5px;
    }
    body[data-page^="story/"] .hep-play {
        width: 21px;
        height: 21px;
    }
}

@media (max-width: 350px) {
    body[data-page^="story/"] .story-cover {
        width: 96px;
    }
    body[data-page^="story/"] .story-cover-wrap {
        gap: 9px;
    }
    body[data-page^="story/"] .hep-main strong {
        font-size: 8.5px;
    }
}

/* ---- Comprehensive story banner with identity ---- */
body[data-page^="story/"] .story-banner.story-banner-detail {
    height: auto;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    padding: 44px 0 30px;
}

body[data-page^="story/"] .story-banner-detail > img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

body[data-page^="story/"] .story-banner-detail .story-banner-shade {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(4, 13, 31, .22), rgba(4, 13, 31, .62) 65%, rgba(4, 13, 31, .90)),
        linear-gradient(90deg, rgba(4, 13, 31, .58), transparent 72%);
}

body[data-page^="story/"] .sbd-inner {
    position: relative;
    z-index: 2;
}

body[data-page^="story/"] .sbd-grid {
    display: grid;
    grid-template-columns: 174px minmax(0, 1fr);
    align-items: center;
    gap: 27px;
}

body[data-page^="story/"] .sbd-cover-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

body[data-page^="story/"] .sbd-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    background: #12305F;
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow: 0 24px 48px -26px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}

body[data-page^="story/"] .sbd-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[data-page^="story/"] .sbd-cover .cover-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

body[data-page^="story/"] .sbd-cover-by {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 8px;
    font-weight: 650;
    color: rgba(239, 246, 255, .64);
}

body[data-page^="story/"] .sbd-info {
    min-width: 0;
    max-width: 780px;
}

body[data-page^="story/"] .sbd-genres .genre-chip {
    color: #EFF6FF;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

body[data-page^="story/"] .sbd-info h1 {
    margin: 10px 0 3px;
    font-family: var(--serif);
    font-size: clamp(36px, 5.1vw, 64px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 500;
    color: #F8FAFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .24);
    background: none;
    -webkit-text-fill-color: currentColor;
}

body[data-page^="story/"] .sbd-alt {
    margin: 0 0 11px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(219, 234, 254, .72);
}

body[data-page^="story/"] .sbd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

body[data-page^="story/"] .sbd-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 99px;
    color: #EAF2FF;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 8px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body[data-page^="story/"] .sbd-pill-free {
    color: #052E1B;
    background: #A7F3D0;
    border-color: rgba(255, 255, 255, .35);
}

body[data-page^="story/"] .sbd-pill-premium {
    color: #422006;
    background: #FCD34D;
    border-color: rgba(255, 255, 255, .35);
}

body[data-page^="story/"] .sbd-synopsis {
    max-width: 66ch;
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(226, 236, 250, .76);
}

body[data-page^="story/"] .sbd-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 13px;
    margin-bottom: 16px;
    font-size: 9px;
    font-weight: 650;
    color: rgba(226, 236, 250, .72);
    font-variant-numeric: tabular-nums;
}

body[data-page^="story/"] .sbd-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body[data-page^="story/"] .sbd-metrics svg {
    color: #93C5FD;
}

body[data-page^="story/"] .sbd-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

body[data-page^="story/"] .sbd-actions .btn-primary {
    box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .7);
}

body[data-page^="story/"] .sbd-actions .btn-soft {
    color: #EAF2FF;
    background: rgba(255, 255, 255, .11);
    border-color: rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
}

body[data-page^="story/"] .sbd-actions .btn-icon {
    color: #EAF2FF;
    background: rgba(255, 255, 255, .11);
    border-color: rgba(255, 255, 255, .22);
}

body[data-page^="story/"] .sbd-resume {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    font-size: 8px;
    color: rgba(219, 234, 254, .65);
}

body[data-page^="story/"] .sbd-resume .cc-bar {
    width: 70px;
    background: rgba(255, 255, 255, .18);
}

body[data-page^="story/"] .sbd-resume .cc-bar i {
    background: #93C5FD;
}

/* ---- Episode list ---- */
body[data-page^="story/"] .story-episodes-section {
    padding-top: 24px;
}

body[data-page^="story/"] .se-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

body[data-page^="story/"] .se-head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 600;
    color: #0B1B3A;
}

body[data-page^="story/"] .se-count {
    padding-bottom: 3px;
    font-size: 8px;
    font-weight: 700;
    color: #7D8DA5;
    white-space: nowrap;
}

body[data-page^="story/"] .se-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body[data-page^="story/"] .se-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 11px 12px;
    border-radius: 15px;
    color: #13294B;
    text-align: left;
    font: inherit;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(244, 249, 255, .82));
    border: 1px solid rgba(37, 99, 235, .10);
    box-shadow: 0 12px 26px -24px rgba(15, 35, 95, .6), inset 0 1px 0 #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body[data-page^="story/"] .se-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .27);
    box-shadow: 0 18px 32px -24px rgba(15, 35, 95, .7), inset 0 1px 0 #fff;
}

body[data-page^="story/"] .se-card.is-active {
    border-color: rgba(37, 99, 235, .38);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .10), 0 16px 30px -24px rgba(15, 35, 95, .65), inset 0 1px 0 #fff;
}

body[data-page^="story/"] .se-card.is-locked {
    opacity: .82;
}

body[data-page^="story/"] .se-num {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .04em;
    color: #1D4ED8;
    background: linear-gradient(145deg, #EFF6FF, #DBEAFE);
    border: 1px solid rgba(37, 99, 235, .12);
}

body[data-page^="story/"] .se-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body[data-page^="story/"] .se-copy strong {
    overflow: hidden;
    color: #0B1B3A;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.02em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body[data-page^="story/"] .se-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: #8292A9;
    font-size: 8.5px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body[data-page^="story/"] .se-side {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

body[data-page^="story/"] .se-time {
    color: #7C8DA7;
    font-size: 7.5px;
    line-height: 1;
    font-weight: 650;
    white-space: nowrap;
}

body[data-page^="story/"] .se-action {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1D4ED8;
    background: #EFF6FF;
    border: 1px solid rgba(37, 99, 235, .13);
}

body[data-page^="story/"] .se-card.is-active .se-action {
    color: #fff;
    background: #1D4ED8;
    border-color: transparent;
}

body[data-page^="story/"] .se-empty {
    margin: 0;
    padding: 18px;
    border-radius: 14px;
    color: #72829A;
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(37, 99, 235, .08);
    font-size: 11px;
}

/* ---- Inline expanded player ---- */
body[data-page^="story/"] .inline-player {
    margin-top: 15px;
    scroll-margin-top: 90px;
}

body[data-page^="story/"] .inline-player[hidden] {
    display: none !important;
}

body[data-page^="story/"] .ip-card {
    padding: 17px;
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .98), rgba(241, 248, 255, .88));
    border: 1px solid rgba(255, 255, 255, .98);
    box-shadow: 0 24px 48px -34px rgba(15, 35, 95, .7), inset 0 1px 0 #fff;
    animation: ipIn .3s ease both;
}

@keyframes ipIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
}

body[data-page^="story/"] .ip-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body[data-page^="story/"] .ip-top h2 {
    margin: 4px 0 2px;
    font-family: var(--serif);
    color: #0B1B3A;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 600;
}

body[data-page^="story/"] .ip-top p {
    margin: 0;
    color: #8392A8;
    font-size: 8.5px;
    font-weight: 650;
}

body[data-page^="story/"] .ip-close {
    flex: none;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #647894;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(37, 99, 235, .11);
    cursor: pointer;
}

body[data-page^="story/"] .ip-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 72px;
    margin: 1px 0 7px;
    padding: 0 3px;
    overflow: hidden;
}

body[data-page^="story/"] .ip-wave i {
    width: 3px;
    height: var(--h, 22%);
    min-height: 3px;
    border-radius: 99px;
    background: linear-gradient(180deg, #22D3EE, #3B82F6 52%, #8B5CF6);
    opacity: .55;
    transform-origin: center;
}

body[data-page^="story/"] .ip-card.is-playing .ip-wave i {
    animation: ipWave 1.05s ease-in-out infinite alternate;
    animation-delay: var(--d, 0s);
}

@keyframes ipWave {
    from { transform: scaleY(.46); opacity: .48; }
    to { transform: scaleY(1.08); opacity: .95; }
}

body[data-page^="story/"] #ip-audio,
body[data-page^="story/"] #ip-ambient {
    display: none;
}

body[data-page^="story/"] .ip-seek-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7D8DA5;
    font-size: 8px;
    font-variant-numeric: tabular-nums;
}

body[data-page^="story/"] .ip-seek-row input[type="range"] {
    flex: 1;
    min-width: 0;
    height: 4px;
    accent-color: #2563EB;
    cursor: pointer;
}

body[data-page^="story/"] .ip-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 9px;
}

body[data-page^="story/"] .ip-transport {
    display: flex;
    align-items: center;
    gap: 8px;
}

body[data-page^="story/"] .ip-btn,
body[data-page^="story/"] .ip-main-btn {
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(37, 99, 235, .12);
    background: #fff;
    color: #1D4ED8;
    box-shadow: 0 6px 14px -12px rgba(15, 35, 95, .6);
}

body[data-page^="story/"] .ip-btn {
    position: relative;
    width: 30px;
    height: 30px;
}

body[data-page^="story/"] .ip-btn span {
    position: absolute;
    font-size: 5.5px;
    font-weight: 900;
    color: #647894;
}

body[data-page^="story/"] .ip-main-btn {
    width: 45px;
    height: 45px;
    color: #fff;
    background: linear-gradient(145deg, #2563EB, #1D4ED8);
    border-color: transparent;
    box-shadow: 0 10px 20px -12px rgba(29, 78, 216, .8);
}

body[data-page^="story/"] .ip-ic-pause {
    display: none;
}

body[data-page^="story/"] .ip-card.is-playing .ip-ic-play {
    display: none;
}

body[data-page^="story/"] .ip-card.is-playing .ip-ic-pause {
    display: grid;
}

body[data-page^="story/"] .ip-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #7D8DA5;
    font-size: 8px;
    font-weight: 700;
}

body[data-page^="story/"] .ip-mini select {
    min-height: 29px;
    padding: 3px 6px;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, .13);
    background: #fff;
    color: #13294B;
    font: inherit;
    font-size: 8px;
    font-weight: 700;
}

body[data-page^="story/"] .ip-amb {
    gap: 4px;
}

body[data-page^="story/"] .ip-amb input[type="range"] {
    width: 66px;
    height: 3px;
    accent-color: #2563EB;
}

body[data-page^="story/"] #ip-ambient-val {
    min-width: 24px;
    color: #647894;
    font-size: 7.5px;
    font-variant-numeric: tabular-nums;
}

body[data-page^="story/"] .ip-transcript-wrap {
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid rgba(37, 99, 235, .09);
}

body[data-page^="story/"] .ip-transcript-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

body[data-page^="story/"] #ip-sync {
    color: #2563EB;
    font-size: 7.5px;
    font-weight: 800;
}

body[data-page^="story/"] .ip-cues {
    max-height: 220px;
    overflow-y: auto;
    padding: 7px 9px;
    border-radius: 11px;
    background: rgba(239, 246, 255, .55);
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

body[data-page^="story/"] .ip-cue {
    margin: 0 0 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #7D8DA5;
    font-size: 10px;
    line-height: 1.65;
    transition: color .2s, background .2s;
}

body[data-page^="story/"] .ip-cue:last-child {
    margin-bottom: 0;
}

body[data-page^="story/"] .ip-cue.is-active {
    color: #0B1B3A;
    background: rgba(255, 255, 255, .88);
    box-shadow: inset 2px 0 0 #2563EB;
}

body[data-page^="story/"] .ip-cue-plain {
    color: #415571;
}

body[data-page^="story/"] .ip-cues.rtl-text {
    text-align: right;
}

/* ---- Responsive story banner + player ---- */
@media (max-width: 900px) {
    body[data-page^="story/"] .sbd-grid {
        grid-template-columns: 128px minmax(0, 1fr);
        gap: 17px;
    }
    body[data-page^="story/"] .sbd-info h1 {
        font-size: clamp(31px, 6.4vw, 48px);
    }
}

@media (max-width: 680px) {
    body[data-page^="story/"] .story-banner.story-banner-detail {
        min-height: 0;
        padding: 24px 0 20px;
    }
    body[data-page^="story/"] .sbd-grid {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }
    body[data-page^="story/"] .sbd-cover {
        border-radius: 11px;
    }
    body[data-page^="story/"] .sbd-cover-by {
        font-size: 7px;
    }
    body[data-page^="story/"] .sbd-genres {
        gap: 4px;
    }
    body[data-page^="story/"] .sbd-genres .genre-chip {
        padding: 4px 7px;
        font-size: 7px;
    }
    body[data-page^="story/"] .sbd-info h1 {
        margin-top: 7px;
        font-size: clamp(29px, 9vw, 40px);
    }
    body[data-page^="story/"] .sbd-alt {
        margin-bottom: 8px;
        font-size: 10px;
    }
    body[data-page^="story/"] .sbd-badges {
        margin-bottom: 9px;
        gap: 4px;
    }
    body[data-page^="story/"] .sbd-pill {
        min-height: 23px;
        padding: 4px 7px;
        font-size: 7px;
    }
    body[data-page^="story/"] .sbd-synopsis {
        margin-bottom: 10px;
        font-size: 10px;
        line-height: 1.6;
    }
    body[data-page^="story/"] .sbd-metrics {
        gap: 6px 10px;
        margin-bottom: 11px;
        font-size: 8px;
    }
    body[data-page^="story/"] .sbd-actions {
        gap: 5px;
    }
    body[data-page^="story/"] .sbd-actions .btn {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 9px;
    }
    body[data-page^="story/"] .sbd-actions .btn-icon {
        width: 36px;
        height: 36px;
        padding: 0;
    }
    body[data-page^="story/"] .sbd-resume {
        margin-top: 9px;
        font-size: 7px;
    }
    body[data-page^="story/"] .story-episodes-section {
        padding-top: 18px;
    }
    body[data-page^="story/"] .se-head {
        align-items: flex-start;
        display: block;
        margin-bottom: 9px;
    }
    body[data-page^="story/"] .se-head h2 {
        font-size: 21px;
    }
    body[data-page^="story/"] .se-count {
        display: block;
        margin-top: 4px;
        padding: 0;
        font-size: 7px;
    }
    body[data-page^="story/"] .se-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    body[data-page^="story/"] .se-card {
        min-height: 64px;
        padding: 8px;
        gap: 8px;
        border-radius: 12px;
    }
    body[data-page^="story/"] .se-num {
        width: 33px;
        height: 33px;
        border-radius: 9px;
        font-size: 6px;
    }
    body[data-page^="story/"] .se-copy strong {
        font-size: 10.5px;
    }
    body[data-page^="story/"] .se-copy small {
        font-size: 7.5px;
        -webkit-line-clamp: 1;
    }
    body[data-page^="story/"] .se-side {
        gap: 4px;
    }
    body[data-page^="story/"] .se-time {
        font-size: 6.5px;
    }
    body[data-page^="story/"] .se-action {
        width: 25px;
        height: 25px;
    }
    body[data-page^="story/"] .ip-card {
        padding: 12px;
        border-radius: 15px;
    }
    body[data-page^="story/"] .ip-top h2 {
        font-size: 19px;
    }
    body[data-page^="story/"] .ip-wave {
        height: 57px;
        gap: 1.5px;
    }
    body[data-page^="story/"] .ip-wave i {
        width: 2.5px;
    }
    body[data-page^="story/"] .ip-controls {
        gap: 8px;
    }
    body[data-page^="story/"] .ip-main-btn {
        width: 39px;
        height: 39px;
    }
    body[data-page^="story/"] .ip-btn {
        width: 27px;
        height: 27px;
    }
    body[data-page^="story/"] .ip-amb input[type="range"] {
        width: 52px;
    }
    body[data-page^="story/"] .ip-cues {
        max-height: 185px;
        padding: 6px 7px;
    }
    body[data-page^="story/"] .ip-cue {
        font-size: 9px;
        line-height: 1.6;
    }
}

@media (max-width: 350px) {
    body[data-page^="story/"] .sbd-grid {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 9px;
    }
    body[data-page^="story/"] .sbd-info h1 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-page^="story/"] .ip-card,
    body[data-page^="story/"] .se-card,
    body[data-page^="story/"] .ip-card.is-playing .ip-wave i {
        animation: none;
        transition: none;
    }
    body[data-page^="story/"] .ip-card.is-playing .ip-wave i {
        opacity: .8;
    }
}

/* Keep the inline episode/player block close to the story details */
body[data-page^="story/"] .story-episodes-section {
    padding-bottom: 16px;
}

body[data-page^="story/"] .sbd-cover {
    position: relative;
}

/* ---- Light glass treatment for the story banner ---- */
body[data-page^="story/"] .story-banner.story-banner-detail {
    background: #F5F8FE;
}

body[data-page^="story/"] .story-banner-detail .story-banner-shade {
    background:
        linear-gradient(180deg, rgba(245, 248, 254, .02) 0%, rgba(245, 248, 254, .54) 45%, #F5F8FE 100%),
        linear-gradient(90deg, rgba(245, 248, 254, .24), transparent 55%);
}

body[data-page^="story/"] .sbd-grid {
    padding: 17px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .93);
    border: 1px solid rgba(255, 255, 255, .98);
    box-shadow:
        0 28px 60px -36px rgba(15, 35, 95, .55),
        0 2px 6px rgba(15, 35, 95, .05),
        inset 0 1px 0 #fff;
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
}

body[data-page^="story/"] .sbd-cover-by {
    color: #7D8DA5;
}

body[data-page^="story/"] .sbd-genres .genre-chip {
    color: #1D4ED8;
    background: rgba(37, 99, 235, .08);
    border-color: rgba(37, 99, 235, .12);
    backdrop-filter: none;
}

body[data-page^="story/"] .sbd-info h1 {
    color: #0B1B3A;
    text-shadow: none;
}

body[data-page^="story/"] .sbd-alt {
    color: #526783;
}

body[data-page^="story/"] .sbd-pill {
    color: #526783;
    background: rgba(255, 255, 255, .86);
    border-color: rgba(37, 99, 235, .10);
    backdrop-filter: none;
}

body[data-page^="story/"] .sbd-pill-free {
    color: #047857;
    background: #ECFDF5;
    border-color: rgba(16, 185, 129, .2);
}

body[data-page^="story/"] .sbd-pill-premium {
    color: #92400E;
    background: #FFFBEB;
    border-color: rgba(245, 158, 11, .24);
}

body[data-page^="story/"] .sbd-synopsis {
    color: #526783;
}

body[data-page^="story/"] .sbd-metrics {
    color: #647894;
}

body[data-page^="story/"] .sbd-metrics svg {
    color: #2563EB;
}

body[data-page^="story/"] .sbd-actions .btn-soft {
    color: #1D4ED8;
    background: #EFF6FF;
    border-color: rgba(37, 99, 235, .14);
    backdrop-filter: none;
}

body[data-page^="story/"] .sbd-actions .btn-icon {
    color: #1D4ED8;
    background: #EFF6FF;
    border-color: rgba(37, 99, 235, .14);
}

body[data-page^="story/"] .sbd-actions .btn-icon.is-active {
    color: #DB2777;
    background: #FDF2F8;
    border-color: rgba(219, 39, 119, .18);
}

body[data-page^="story/"] .sbd-resume {
    color: #647894;
}

body[data-page^="story/"] .sbd-resume .cc-bar {
    background: rgba(37, 99, 235, .11);
}

body[data-page^="story/"] .sbd-resume .cc-bar i {
    background: linear-gradient(90deg, #2563EB, #8B5CF6);
}

/* ---- Light, reactive visualiser surface ---- */
body[data-page^="story/"] .ip-visual-wrap {
    position: relative;
    height: 106px;
    margin: 1px 0 7px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #EFF7FF 0%, #FFFFFF 50%, #F7F4FF 100%);
    border: 1px solid rgba(37, 99, 235, .09);
    box-shadow: inset 0 1px 0 #fff, 0 10px 22px -20px rgba(15, 35, 95, .4);
}

body[data-page^="story/"] .ip-visual {
    display: block;
    width: 100%;
    height: 100%;
}

body[data-page^="story/"] .ip-viz-tag {
    position: absolute;
    top: 8px;
    right: 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 20px;
    padding: 4px 7px;
    border-radius: 99px;
    color: #526783;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(37, 99, 235, .09);
    box-shadow: 0 4px 10px -8px rgba(15, 35, 95, .4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 7px;
    font-weight: 750;
    letter-spacing: .02em;
    pointer-events: none;
}

body[data-page^="story/"] .ip-viz-tag svg {
    color: #2563EB;
}

@media (max-width: 680px) {
    body[data-page^="story/"] .sbd-grid {
        padding: 12px;
        border-radius: 18px;
    }
    body[data-page^="story/"] .ip-visual-wrap {
        height: 82px;
        border-radius: 11px;
    }
    body[data-page^="story/"] .ip-viz-tag {
        top: 6px;
        right: 7px;
        min-height: 18px;
        padding: 3px 6px;
        font-size: 6.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-page^="story/"] .ip-visual {
        opacity: .9;
    }
}

/* Light wash keeps the story hero image airy, never a dark-mode surface */
body[data-page^="story/"] .story-banner-detail .story-banner-shade {
    background:
        linear-gradient(180deg, rgba(245, 248, 254, .34) 0%, rgba(245, 248, 254, .60) 42%, #F5F8FE 100%),
        linear-gradient(90deg, rgba(245, 248, 254, .26), transparent 58%);
}

/* ---- Live transcript: dynamic karaoke treatment ---- */
body[data-page^="story/"] .ip-transcript-head {
    margin-bottom: 9px;
}

body[data-page^="story/"] .ip-sync {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 21px;
    padding: 4px 8px;
    border-radius: 99px;
    color: #2563EB;
    background: rgba(239, 246, 255, .92);
    border: 1px solid rgba(37, 99, 235, .12);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
}

body[data-page^="story/"] .ip-sync::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .11);
}

body[data-page^="story/"] .ip-card.is-playing .ip-sync::before {
    animation: ipLive 1.7s ease-in-out infinite;
}

@keyframes ipLive {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .11); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, .035); }
}

body[data-page^="story/"] .ip-cues {
    position: relative;
    max-height: 225px;
    padding: 9px;
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(239, 246, 255, .66));
    border: 1px solid rgba(37, 99, 235, .08);
    box-shadow: inset 0 1px 0 #fff, inset 0 0 30px rgba(37, 99, 235, .025);
    scroll-behavior: smooth;
}

body[data-page^="story/"] .ip-cue {
    position: relative;
    overflow: hidden;
    margin: 0 0 5px;
    padding: 5px 8px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    color: #8A9AB0;
    font-size: 10px;
    line-height: 1.65;
    transition: color .24s ease, background .24s ease, opacity .24s ease, transform .24s ease, box-shadow .24s ease;
}

body[data-page^="story/"] .ip-cue:last-child {
    margin-bottom: 0;
}

body[data-page^="story/"] .ip-cue.is-past {
    opacity: .64;
}

body[data-page^="story/"] .ip-cue.is-future {
    opacity: .42;
}

body[data-page^="story/"] .ip-cue.is-active {
    padding-bottom: 8px;
    color: #0B1B3A;
    opacity: 1;
    border-left-color: #2563EB;
    background: linear-gradient(90deg, rgba(239, 246, 255, .96), rgba(245, 243, 255, .64));
    box-shadow: 0 7px 18px -16px rgba(37, 99, 235, .6), inset 0 1px 0 #fff;
    transform: translateX(1px);
}

body[data-page^="story/"] .ip-cue.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--cue-progress, 0%);
    height: 2px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(90deg, #22D3EE, #2563EB 52%, #8B5CF6);
    transition: width .16s linear;
}

body[data-page^="story/"] .ip-word {
    transition: color .18s ease, font-weight .18s ease;
}

body[data-page^="story/"] .ip-cue.is-active .ip-word {
    color: #5B6D86;
}

body[data-page^="story/"] .ip-cue.is-active .ip-word.is-spoken {
    color: #1E3555;
}

body[data-page^="story/"] .ip-cue.is-active .ip-word.is-current {
    color: #1D4ED8;
    font-weight: 800;
}

body[data-page^="story/"] .ip-cue.is-past .ip-word {
    color: #7D8DA5;
}

body[data-page^="story/"] .ip-cue.is-future .ip-word {
    color: #9DAABD;
}

body[data-page^="story/"] .ip-cue-plain {
    opacity: .9;
}

@media (max-width: 680px) {
    body[data-page^="story/"] .ip-cues {
        max-height: 190px;
        padding: 7px;
        border-radius: 11px;
    }
    body[data-page^="story/"] .ip-cue {
        padding: 4px 6px;
        font-size: 9px;
        line-height: 1.6;
    }
    body[data-page^="story/"] .ip-cue.is-active {
        padding-bottom: 7px;
    }
    body[data-page^="story/"] .ip-sync {
        min-height: 19px;
        padding: 3px 7px;
        font-size: 6.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-page^="story/"] .ip-cue,
    body[data-page^="story/"] .ip-word,
    body[data-page^="story/"] .ip-cue.is-active::after {
        transition: none;
    }
    body[data-page^="story/"] .ip-card.is-playing .ip-sync::before {
        animation: none;
    }
}

/* Keep the hero artwork airy in the light interface */
body[data-page^="story/"] .story-banner-detail > img {
    filter: brightness(1.14) saturate(.88);
    opacity: .80;
}

body[data-page^="story/"] .story-banner-detail .story-banner-shade {
    background:
        linear-gradient(180deg, rgba(245, 248, 254, .48) 0%, rgba(245, 248, 254, .72) 42%, #F5F8FE 100%),
        linear-gradient(90deg, rgba(245, 248, 254, .34), transparent 62%);
}

/* ---- Smart story hero card: airy, editorial, light ---- */
body[data-page^="story/"] .story-banner.story-banner-detail {
    min-height: 0;
    padding: 26px 0 30px;
    align-items: center;
    background:
        radial-gradient(760px 340px at 85% 0%, rgba(147, 197, 253, .16), transparent 65%),
        linear-gradient(135deg, #EFF6FF 0%, #FAFCFF 46%, #F5F1FF 100%);
}

body[data-page^="story/"] .story-banner-detail > img {
    opacity: .34;
    filter: blur(1px) brightness(1.28) saturate(.72);
    object-position: center 38%;
}

body[data-page^="story/"] .story-banner-detail .story-banner-shade {
    background:
        linear-gradient(135deg, rgba(245, 248, 254, .72), rgba(255, 255, 255, .78) 60%, rgba(247, 243, 255, .65));
}

body[data-page^="story/"] .sbd-inner {
    width: 100%;
}

body[data-page^="story/"] .sbd-grid {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow:
        0 32px 70px -42px rgba(15, 35, 95, .55),
        0 2px 6px rgba(15, 35, 95, .035),
        inset 0 1px 0 #fff;
}

body[data-page^="story/"] .sbd-cover {
    border-radius: 17px;
    box-shadow: 0 20px 36px -22px rgba(15, 35, 95, .5), inset 0 1px 0 rgba(255, 255, 255, .2);
}

body[data-page^="story/"] .sbd-cover-by {
    margin-top: 2px;
    font-size: 9px;
    color: #647894;
}

body[data-page^="story/"] .sbd-genres {
    margin-bottom: 4px;
}

body[data-page^="story/"] .sbd-genres .genre-chip {
    min-height: 27px;
    padding: 6px 12px;
    border-radius: 99px;
    color: #2563EB;
    background: #fff;
    border: 1px solid #BFDBFE;
    box-shadow: none;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body[data-page^="story/"] .sbd-info h1 {
    margin: 8px 0 7px;
    font-family: var(--serif);
    font-size: clamp(42px, 5.4vw, 70px);
    line-height: .98;
    letter-spacing: -.052em;
    font-weight: 600;
    color: #081733;
}

body[data-page^="story/"] .sbd-alt {
    font-size: 12px;
    color: #647894;
}

body[data-page^="story/"] .sbd-badges {
    margin-bottom: 13px;
    gap: 6px;
}

body[data-page^="story/"] .sbd-pill {
    min-height: 31px;
    padding: 6px 11px;
    font-size: 9px;
    border-color: rgba(37, 99, 235, .15);
    box-shadow: 0 3px 8px -7px rgba(15, 35, 95, .25);
}

body[data-page^="story/"] .sbd-pill-free {
    border-color: rgba(16, 185, 129, .18);
    background: #F0FDF9;
}

body[data-page^="story/"] .sbd-synopsis {
    max-width: 68ch;
    font-size: 13.5px;
    line-height: 1.68;
    color: #526783;
}

body[data-page^="story/"] .sbd-metrics {
    gap: 10px 19px;
    margin-bottom: 17px;
    font-size: 9.5px;
    color: #5D708A;
}

body[data-page^="story/"] .sbd-metrics svg {
    color: #2563EB;
}

body[data-page^="story/"] .sbd-actions {
    gap: 8px;
}

body[data-page^="story/"] .sbd-actions .btn {
    min-height: 43px;
    padding: 9px 16px;
    border-radius: 99px;
    font-size: 10px;
}

body[data-page^="story/"] .sbd-actions .btn-primary {
    padding-left: 19px;
    padding-right: 21px;
}

body[data-page^="story/"] .sbd-actions .btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
}

body[data-page^="story/"] .sbd-resume {
    width: min(390px, 100%);
    margin-top: 14px;
    gap: 9px;
    font-size: 8px;
}

body[data-page^="story/"] .sbd-resume .cc-bar {
    width: min(185px, 48%);
    height: 5px;
    background: rgba(37, 99, 235, .10);
}

body[data-page^="story/"] .sbd-resume .cc-bar i {
    background: linear-gradient(90deg, #2563EB, #8B5CF6);
    box-shadow: 0 1px 4px rgba(37, 99, 235, .2);
}

@media (max-width: 900px) {
    body[data-page^="story/"] .sbd-grid {
        grid-template-columns: 152px minmax(0, 1fr);
        gap: 20px;
        padding: 19px;
        border-radius: 23px;
    }
    body[data-page^="story/"] .sbd-info h1 {
        font-size: clamp(34px, 6vw, 54px);
    }
}

@media (max-width: 680px) {
    body[data-page^="story/"] .story-banner.story-banner-detail {
        padding: 17px 0 20px;
    }
    body[data-page^="story/"] .sbd-grid {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border-radius: 18px;
    }
    body[data-page^="story/"] .sbd-info h1 {
        margin-top: 5px;
        font-size: clamp(30px, 9vw, 40px);
        font-weight: 600;
    }
    body[data-page^="story/"] .sbd-genres .genre-chip {
        min-height: 23px;
        padding: 4px 8px;
        font-size: 6.8px;
    }
    body[data-page^="story/"] .sbd-pill {
        min-height: 24px;
        padding: 4px 8px;
        font-size: 7px;
    }
    body[data-page^="story/"] .sbd-synopsis {
        font-size: 10px;
    }
    body[data-page^="story/"] .sbd-metrics {
        gap: 6px 11px;
        font-size: 7.8px;
        margin-bottom: 11px;
    }
    body[data-page^="story/"] .sbd-actions .btn {
        min-height: 35px;
        padding: 7px 11px;
        font-size: 8.5px;
    }
    body[data-page^="story/"] .sbd-actions .btn-icon {
        width: 35px;
        height: 35px;
    }
    body[data-page^="story/"] .sbd-resume .cc-bar {
        width: 96px;
    }
}

/* Mobile hero actions stay on one clean row */
@media (max-width: 680px) {
    body[data-page^="story/"] .sbd-actions {
        flex-wrap: nowrap;
        gap: 4px;
    }
    body[data-page^="story/"] .sbd-actions .btn {
        min-height: 34px;
        padding: 6px 8px;
        font-size: 8px;
        white-space: nowrap;
    }
    body[data-page^="story/"] .sbd-actions .btn-primary {
        flex: 1 1 auto;
        min-width: 0;
        padding-left: 9px;
        padding-right: 9px;
    }
    body[data-page^="story/"] .sbd-actions .btn-icon {
        width: 34px;
        height: 34px;
        flex: none;
    }
}

@media (max-width: 350px) {
    body[data-page^="story/"] .sbd-actions {
        flex-wrap: wrap;
    }
}

/* ---- Professional transport and mix controls ---- */
body[data-page^="story/"] .ip-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 11px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(37, 99, 235, .07);
    box-shadow: inset 0 1px 0 #fff;
}

body[data-page^="story/"] .ip-transport {
    gap: 11px;
}

body[data-page^="story/"] .ip-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid #BFDBFE;
    background: #fff;
    color: #2563EB;
    box-shadow: 0 7px 14px -11px rgba(15, 35, 95, .5);
    transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}

body[data-page^="story/"] .ip-btn:hover {
    border-color: #60A5FA;
    background: #F8FBFF;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px -12px rgba(37, 99, 235, .55);
}

body[data-page^="story/"] .ip-btn svg {
    width: 18px;
    height: 18px;
}

body[data-page^="story/"] .ip-btn span {
    bottom: 3px;
    right: 5px;
    font-size: 5.5px;
    color: #647894;
}

body[data-page^="story/"] .ip-main-btn {
    width: 58px;
    height: 58px;
    background: radial-gradient(circle at 34% 27%, #60A5FA 0%, #2563EB 46%, #1D4ED8 100%);
    border: 0;
    box-shadow:
        0 15px 25px -13px rgba(37, 99, 235, .85),
        0 0 0 7px rgba(37, 99, 235, .06),
        inset 0 1px 0 rgba(255, 255, 255, .32);
    transition: transform .18s, box-shadow .18s;
}

body[data-page^="story/"] .ip-main-btn:hover {
    transform: scale(1.035);
    box-shadow:
        0 18px 30px -13px rgba(37, 99, 235, .9),
        0 0 0 9px rgba(37, 99, 235, .07),
        inset 0 1px 0 rgba(255, 255, 255, .32);
}

body[data-page^="story/"] .ip-main-btn svg {
    width: 23px;
    height: 23px;
}

body[data-page^="story/"] .ip-mini {
    gap: 7px;
    color: #526783;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: -.01em;
}

body[data-page^="story/"] .ip-mini select {
    min-height: 40px;
    min-width: 91px;
    padding: 0 29px 0 13px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 12px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M2 2l4 4 4-4' fill='none' stroke='%233B82F6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 11px 7px;
    -webkit-appearance: none;
    appearance: none;
    color: #13294B;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 5px 12px -11px rgba(15, 35, 95, .4), inset 0 1px 0 #fff;
    cursor: pointer;
}

body[data-page^="story/"] .ip-mini select:focus {
    outline: 2px solid rgba(37, 99, 235, .2);
    outline-offset: 1px;
}

body[data-page^="story/"] .ip-amb {
    gap: 6px;
}

body[data-page^="story/"] .ip-amb input[type="range"] {
    --amb-progress: 18%;
    width: 112px;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 99px;
    background: linear-gradient(90deg, #2563EB var(--amb-progress), #DCE7F5 var(--amb-progress));
    cursor: pointer;
}

body[data-page^="story/"] .ip-amb input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563EB;
    border: 3px solid #fff;
    box-shadow: 0 3px 7px -3px rgba(37, 99, 235, .65);
}

body[data-page^="story/"] .ip-amb input[type="range"]::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #2563EB;
    border: 3px solid #fff;
    box-shadow: 0 3px 7px -3px rgba(37, 99, 235, .65);
}

body[data-page^="story/"] .ip-amb input[type="range"]::-moz-range-track {
    height: 5px;
    border-radius: 99px;
    background: #DCE7F5;
}

body[data-page^="story/"] .ip-amb input[type="range"]::-moz-range-progress {
    height: 5px;
    border-radius: 99px;
    background: #2563EB;
}

body[data-page^="story/"] #ip-ambient-val {
    min-width: 27px;
    color: #526783;
    font-size: 10px;
    font-weight: 750;
}

body[data-page^="story/"] .ip-seek-row {
    gap: 10px;
    font-size: 9px;
    font-weight: 650;
}

body[data-page^="story/"] .ip-seek-row input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 99px;
    background: linear-gradient(90deg, #2563EB var(--seek-progress, 0%), #DCE7F5 var(--seek-progress, 0%));
}

body[data-page^="story/"] .ip-seek-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #2563EB;
    border: 3px solid #fff;
    box-shadow: 0 3px 7px -3px rgba(37, 99, 235, .65);
}

body[data-page^="story/"] .ip-seek-row input[type="range"]::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2563EB;
    border: 3px solid #fff;
}

@media (max-width: 680px) {
    body[data-page^="story/"] .ip-controls {
        gap: 9px;
        padding: 8px;
        border-radius: 12px;
    }
    body[data-page^="story/"] .ip-transport {
        width: 100%;
        justify-content: center;
        gap: 13px;
        margin-bottom: 1px;
    }
    body[data-page^="story/"] .ip-btn {
        width: 37px;
        height: 37px;
    }
    body[data-page^="story/"] .ip-main-btn {
        width: 54px;
        height: 54px;
    }
    body[data-page^="story/"] .ip-main-btn svg {
        width: 21px;
        height: 21px;
    }
    body[data-page^="story/"] .ip-mini {
        font-size: 9px;
        gap: 4px;
    }
    body[data-page^="story/"] .ip-mini select {
        min-height: 36px;
        min-width: 75px;
        padding-left: 10px;
        padding-right: 24px;
        font-size: 10px;
        background-position: right 8px center;
    }
    body[data-page^="story/"] .ip-amb {
        margin-left: auto;
    }
    body[data-page^="story/"] .ip-amb input[type="range"] {
        width: 78px;
    }
    body[data-page^="story/"] #ip-ambient-val {
        min-width: 24px;
        font-size: 9px;
    }
}

@media (max-width: 350px) {
    body[data-page^="story/"] .ip-amb input[type="range"] {
        width: 58px;
    }
    body[data-page^="story/"] .ip-mini select {
        min-width: 66px;
    }
}

/* ---- Visualizer play orb + dedicated Next control ---- */
body[data-page^="story/"] .ip-main-btn {
    position: relative;
    width: 64px;
    height: 64px;
    flex: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body[data-page^="story/"] .ip-main-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .13), rgba(139, 92, 246, .04) 62%, transparent 72%);
    filter: blur(2px);
    z-index: 0;
}

body[data-page^="story/"] .ip-orb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, .20);
    background: #fff;
    box-shadow: 0 12px 24px -13px rgba(37, 99, 235, .55), 0 0 0 5px rgba(37, 99, 235, .045), inset 0 1px 0 #fff;
    pointer-events: none;
    z-index: 1;
}

body[data-page^="story/"] .ip-main-btn .ip-ic-play,
body[data-page^="story/"] .ip-main-btn .ip-ic-pause {
    position: relative;
    z-index: 2;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1D4ED8;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 9px -6px rgba(15, 35, 95, .55);
}

body[data-page^="story/"] .ip-main-btn .ip-ic-pause {
    display: none;
}

body[data-page^="story/"] .ip-card.is-playing .ip-main-btn .ip-ic-play {
    display: none;
}

body[data-page^="story/"] .ip-card.is-playing .ip-main-btn .ip-ic-pause {
    display: grid;
}

body[data-page^="story/"] .ip-main-btn .ip-ic-play svg,
body[data-page^="story/"] .ip-main-btn .ip-ic-pause svg {
    width: 18px;
    height: 18px;
}

body[data-page^="story/"] .ip-next {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 40px;
    padding: 0 11px 0 13px;
    border-radius: 99px;
    color: #2563EB;
    background: #fff;
    border: 1.5px solid #BFDBFE;
    box-shadow: 0 7px 14px -11px rgba(15, 35, 95, .5);
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: border-color .18s, background .18s, transform .18s, opacity .18s;
}

body[data-page^="story/"] .ip-next svg {
    width: 15px;
    height: 15px;
}

body[data-page^="story/"] .ip-next:hover:not(:disabled) {
    border-color: #60A5FA;
    background: #F8FBFF;
    transform: translateY(-1px);
}

body[data-page^="story/"] .ip-next:disabled {
    opacity: .38;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 680px) {
    body[data-page^="story/"] .ip-main-btn {
        width: 58px;
        height: 58px;
    }
    body[data-page^="story/"] .ip-main-btn .ip-ic-play,
    body[data-page^="story/"] .ip-main-btn .ip-ic-pause {
        width: 25px;
        height: 25px;
    }
    body[data-page^="story/"] .ip-main-btn .ip-ic-play svg,
    body[data-page^="story/"] .ip-main-btn .ip-ic-pause svg {
        width: 16px;
        height: 16px;
    }
    body[data-page^="story/"] .ip-next {
        min-height: 37px;
        padding: 0 9px 0 11px;
        font-size: 8px;
    }
    body[data-page^="story/"] .ip-next svg {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 350px) {
    body[data-page^="story/"] .ip-next {
        padding: 0 8px;
        font-size: 7.5px;
    }
}

/* ============================================================
   Episode list icon pass — headphones, language, duration, waveform
   ============================================================ */
body[data-page^="story/"] .se-eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px 0 2px;
    color: #2563EB;
    vertical-align: -2px;
}

body[data-page^="story/"] .se-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body[data-page^="story/"] .se-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

body[data-page^="story/"] .se-meta-item svg {
    color: #5B7FB5;
    opacity: .9;
}

body[data-page^="story/"] .se-meta-sep {
    color: #B5C5D9;
    font-weight: 500;
}

body[data-page^="story/"] .se-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    line-height: 1;
}

body[data-page^="story/"] .se-num-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 12px;
    color: #2563EB;
}

body[data-page^="story/"] .se-num > span:last-child {
    line-height: 1;
}

body[data-page^="story/"] .se-card.is-current .se-num {
    color: #1D4ED8;
    background: linear-gradient(145deg, #DBEAFE, #BFDBFE);
    border-color: rgba(37, 99, 235, .22);
}

body[data-page^="story/"] .se-card.is-current .se-num-icon {
    color: #1D4ED8;
}

body[data-page^="story/"] .se-time {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

body[data-page^="story/"] .se-time svg {
    color: #5B7FB5;
    opacity: .9;
}

@media (max-width: 680px) {
    body[data-page^="story/"] .se-num-icon { height: 10px; }
    body[data-page^="story/"] .se-num-icon svg { width: 9px; height: 9px; }
    body[data-page^="story/"] .se-meta-item svg { width: 9px; height: 9px; }
    body[data-page^="story/"] .se-time svg { width: 8px; height: 8px; }
    body[data-page^="story/"] .se-count { gap: 4px; }
}
