/* Compact, centered story selector, matching the game-mode menu. */
.story-page:not(.story-detail-open) .story-shell {
    width: 100%;
    padding: 120px 0 38px;
}
.story-page:not(.story-detail-open) .story-header {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto 30px;
}
.story-page:not(.story-detail-open) .story-heading h1 {
    font-size: clamp(28px, 3.2vw, 52px);
    line-height: 1.2;
    margin: 14px 0 12px;
}
.story-page:not(.story-detail-open) .story-heading p {
    font-size: clamp(12px, 1vw, 15px);
}
.story-hub {
    --story-card-width: min(62vw, 780px);
    --story-card-gap: clamp(18px, 3vw, 50px);
}
.story-library-header {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto 4px;
}
.story-library-header h2 { font-size: clamp(16px, 1.4vw, 22px); }
.story-library-kicker, .story-library-count { font-size: 11px; }
.story-carousel {
    gap: var(--story-card-gap);
    padding: 26px calc((100% - var(--story-card-width)) / 2) 36px;
    align-items: center;
    border-radius: 0;
}
.story-card {
    flex: 0 0 var(--story-card-width);
    width: var(--story-card-width);
    height: clamp(380px, 52vh, 570px);
    min-height: 0;
    border-radius: 14px;
    scroll-snap-align: center;
    transform: scale(.9);
    opacity: .45;
    filter: saturate(.55);
    transition: transform .6s cubic-bezier(.2,.75,.2,1), opacity .6s, filter .6s, border-color .6s, box-shadow .6s;
}
.story-card.is-active {
    transform: scale(1);
    opacity: 1;
    filter: saturate(1);
    border-color: #d7ad66;
    box-shadow: 0 22px 45px #0007, 0 0 36px #d7ad661a;
}
.story-card::after { inset: 7px; border-radius: 9px; }
.story-card-art { object-position: center 39%; }
.story-card-shade,
.story-card--coming .story-card-shade {
    background: linear-gradient(180deg, #05081077, transparent 27%, #0508101a 40%, #050810e6 75%, #050810 100%);
}
.story-card-topline {
    position: absolute;
    top: 24px;
    left: 28px;
    right: 28px;
    padding: 0;
}
.story-card-volume { font-size: 10px; }
.story-card-status { font-size: 9px; border-radius: 4px; white-space: nowrap; }
.story-card-copy,
.story-card--coming .story-card-copy {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 29px;
    min-height: 0;
    padding: 0;
}
.story-card-kicker { font-size: 10px; }
.story-card-copy h3 {
    max-width: 100%;
    margin: 10px 0 11px;
    font-size: clamp(26px, 2.8vw, 43px);
    line-height: 1.15;
}
.story-card-copy p {
    max-width: 450px;
    font-size: 14px;
    line-height: 1.6;
    color: #c1c8d1;
}
.story-card-tags { font-size: 10px; margin: 15px 0 0; }
.story-card-bottom {
    align-self: stretch;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #d7ad664d;
}
.story-card-cta {
    flex: 1;
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #edcc91;
    font-size: 11px;
}
.story-card-cta::before { display: none; }
.story-card-cta i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d7ad6666;
    border-radius: 50%;
}
.story-card-progress { font-size: 10px; }
.story-release { align-self: stretch; min-width: 0; margin-top: 23px; }
.story-release > span { font-size: 10px; }
.story-release time { font-size: 24px; }
.story-seal-orbit { left: calc(50% - 150px); top: -80px; width: 300px; height: 300px; }
.story-seal { left: 50%; top: 105px; width: 84px; height: 84px; }
.story-seal span { font-size: 56px; }
.story-seal-caption { display: none; }
.story-carousel-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    margin: 0 20px;
}
.story-carousel-hint { order: 3; flex-basis: 100%; justify-content: center; font-size: 10px; }
.story-carousel-arrows { gap: 12px; }
.story-carousel-arrows button { width: 46px; height: 46px; border-radius: 50%; }
.story-carousel-position { font-size: 12px; }
.story-library-note { width: fit-content; max-width: calc(100% - 40px); margin: 30px auto 0; padding-top: 16px; }
.story-library-note p { font-size: 14px; }

@media (min-width: 1900px) {
    .story-hub { --story-card-width: min(58vw, 1000px); }
    .story-card { height: clamp(550px, 54vh, 780px); }
    .story-card-copy p { max-width: 550px; font-size: 16px; }
}
@media (max-width: 800px) {
    .story-page:not(.story-detail-open) .story-shell { padding-top: 110px; }
    .story-hub { --story-card-width: 78vw; --story-card-gap: 14px; }
    .story-card { height: clamp(440px, 58vh, 580px); }
    .story-card-copy { left: 25px; right: 25px; }
    .story-card-topline { left: 23px; right: 23px; }
}
@media (max-width: 480px) {
    .story-page:not(.story-detail-open) .story-shell { padding-top: 94px; }
    .story-page:not(.story-detail-open) .story-header { width: calc(100% - 36px); margin-bottom: 20px; }
    .story-page:not(.story-detail-open) .story-heading h1 { font-size: 27px; }
    .story-hub { --story-card-width: 85vw; --story-card-gap: 8px; }
    .story-card { height: clamp(440px, 62svh, 550px); border-radius: 10px; }
    .story-card-copy { left: 22px; right: 22px; bottom: 23px; }
    .story-card-topline { top: 21px; left: 21px; right: 21px; flex-wrap: wrap; gap: 8px; }
    .story-card-volume, .story-card-status { font-size: 8px; letter-spacing: .06em; }
    .story-card-copy h3 { font-size: 27px; }
    .story-card-copy p { font-size: 13px; line-height: 1.5; }
    .story-card-kicker, .story-card-tags { font-size: 9px; letter-spacing: .06em; }
    .story-card-bottom { flex-wrap: wrap; padding-top: 13px; }
    .story-card-cta { font-size: 9px; letter-spacing: .04em; }
    .story-card-progress { flex-basis: 100%; font-size: 9px; }
    .story-carousel { padding-block: 15px 25px; }
}
@media (max-height: 650px) and (min-width: 801px) {
    .story-page:not(.story-detail-open) .story-shell { padding-top: 92px; }
    .story-page:not(.story-detail-open) .story-header { margin-bottom: 4px; }
    .story-card { height: 350px; }
    .story-card-copy { bottom: 22px; }
    .story-card-copy p { font-size: 12px; }
    .story-card-copy h3 { font-size: 30px; }
    .story-card-bottom { margin-top: 12px; padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .story-card { transition: none; }
}
