/* =========================
   RONDLUX THEME (Bootstrap-friendly)
   ========================= */

:root {
    --bg: #030a0c;
    --bg-2: #071014;
    --panel: rgba(12, 20, 23, .72);
    --panel-2: rgba(10, 16, 18, .86);
    --text: #e8eef0;
    --muted: #a6b6bc;
    --muted-2: #7f959e;
    --amber: #d0a971; /* lamp light */
    --amber-2: #af854e;
    --teal: #385057;
    --border: rgba(255,255,255,.10);
    --border-2: rgba(255,255,255,.14);
    --shadow: 0 18px 50px rgba(0,0,0,.55);
    --shadow-soft: 0 10px 30px rgba(0,0,0,.38);
    --glow-amber: 0 0 30px rgba(208,169,113,.18);
    --radius: 18px;
    --radius-sm: 12px;
    --font-oswald: "Oswald", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-mont: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-mono: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --electric: #4bd1ff;
    --electric-2: #2ea8ff;
    --glow-electric: 0 0 28px rgba(75,209,255,.20);
}

/* Base */
html, body {
    height: 100%;
}

    body.rondlux-theme {
        background: radial-gradient(1100px 700px at 72% 12%, rgba(56,80,87,.32) 0%, rgba(3,10,12,0) 55%), radial-gradient(900px 600px at 18% 70%, rgba(208,169,113,.12) 0%, rgba(3,10,12,0) 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
        color: var(--text);
        font-family: var(--font-mont);
        padding-top: 78px; /* fixed navbar offset */
        
        /* Bootstrap theme override */
        --bs-body-color: var(--text);
        --bs-body-bg: var(--bg);
        --bs-secondary-color: var(--muted);
        --bs-tertiary-color: var(--muted-2);
        --bs-emphasis-color: #f6fbff;
        --bs-border-color: rgba(255,255,255,.12);
        --bs-link-color: rgba(232,238,240,.9);
    }

    /* ===== Bootstrap utility farby na tmavom pozadí ===== */
    body.rondlux-theme .text-body {
        color: rgba(232,238,240,.92) !important;
    }

    body.rondlux-theme .text-muted {
        color: rgba(166,182,188,.78) !important;
    }

a {
    color: inherit;
}

.mono {
    font-family: var(--font-mono);
    letter-spacing: .06em;
}

.text-muted-2 {
    color: var(--muted-2) !important;
}

.section-title {
    font-family: var(--font-oswald);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Header / Nav */
.site-header .nav-glass {
    background: rgba(3,10,12,.55) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

    /* ===== Fix: pravá èas navbaru (_LoginPartial) používa text-dark / text-muted ===== */
    .site-header .nav-glass .nav-link,
    .site-header .nav-glass .navbar-text,
    .site-header .nav-glass .btn,
    .site-header .nav-glass .dropdown-toggle {
        color: rgba(232,238,240,.86) !important;
    }

    .site-header .nav-glass .text-dark,
    .site-header .nav-glass .navbar-text.text-dark {
        color: rgba(232,238,240,.86) !important;
    }

    .site-header .nav-glass .nav-link:hover,
    .site-header .nav-glass .nav-link:focus {
        color: #ffffff !important;
        background: rgba(255,255,255,.04);
        border-radius: 12px;
    }


.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.brand__name {
    font-family: var(--font-oswald);
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 1.05rem;
}

.brand__tag {
    font-size: .78rem;
    color: var(--muted-2);
}

.nav-links .nav-link {
    color: rgba(232,238,240,.82) !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .9rem;
    border-radius: 12px;
}

    .nav-links .nav-link:hover {
        background: rgba(255,255,255,.04);
        color: var(--text) !important;
    }

/* Buttons */
.btn-rondlux {
    border-radius: 14px !important;
    padding: .7rem 1rem;
}

.btn-primary.btn-rondlux {
    background: linear-gradient(180deg, rgba(208,169,113,.95), rgba(175,133,78,.95)) !important;
    border: 1px solid rgba(208,169,113,.65) !important;
    color: #0b0f10 !important;
    box-shadow: 0 18px 40px rgba(208,169,113,.18);
}

.btn-rondlux-outline {
    border-radius: 14px !important;
    border-color: rgba(255,255,255,.20) !important;
    color: rgba(232,238,240,.92) !important;
}

    .btn-rondlux-outline:hover {
        border-color: rgba(75,209,255,.55) !important;
        box-shadow: var(--glow-electric);
        background: rgba(255,255,255,.04) !important;
    }

.btn-ghost {
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.03) !important;
    color: rgba(232,238,240,.92) !important;
}

    .btn-ghost:hover {
        border-color: rgba(208,169,113,.45) !important;
        box-shadow: var(--glow-amber);
    }

.btn-rondlux,
.btn-rondlux-outline,
.btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.1 !important;
    min-height: 44px;
}

/* Hero */
.hero {
    --hero-image: url('/img/hero-rain.webp');
    --hero-img-opacity: .85;
    --hero-shade: .55;
    position: relative;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: radial-gradient(800px 500px at 78% 22%, rgba(208,169,113,.10) 0%, rgba(3,10,12,0) 55%), radial-gradient(900px 700px at 30% 20%, rgba(56,80,87,.16) 0%, rgba(3,10,12,0) 60%), linear-gradient(180deg, rgba(12,20,23,.35) 0%, rgba(3,10,12,.75) 100%);
    background-size: cover;
    background-position: center;
    padding: clamp(20px, 3vw, 34px);
}

.hero__shade {
    position: absolute;
    inset: 0;
    background: rgba(3,10,12, var(--hero-shade));
    pointer-events: none;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: var(--hero-img-opacity);
    transform: scale(1.02);
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__shade {
    z-index: 1;
}
.kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(232,238,240,.80);
    font-size: .92rem;
}

.kicker-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: var(--glow-amber);
}

.kicker-sep {
    opacity: .55;
}

.display-title {
    font-family: var(--font-oswald);
    letter-spacing: .10em;
    text-transform: uppercase;
    line-height: 1.0;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    text-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.lead-hero {
    color: rgba(232,238,240,.94);
    max-width: 60ch;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-size: .78rem;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(75,209,255,.22);
    background: rgba(0,0,0,.18);
    color: rgba(232,238,240,.90);
}

/* Panels */
.panel {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(12,20,23,.58);
    box-shadow: var(--shadow-soft);
    padding: 16px;
}

.panel-title {
    font-family: var(--font-oswald);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.panel--cta {
    padding: 20px;
    border-radius: 24px;
    background: radial-gradient(520px 260px at 82% 18%, rgba(208,169,113,.18), rgba(0,0,0,0) 60%), rgba(12,20,23,.58);
}

/* Cover card */
.cover-card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(12,20,23,.58);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cover-card__img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    filter: contrast(1.03) saturate(.98);
}

.cover-card__fallback {
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 26px;
    background: linear-gradient(180deg, rgba(56,80,87,.18), rgba(3,10,12,.75));
}

.cover-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
}

.pill {
    font-size: .78rem;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.20);
    color: rgba(232,238,240,.92);
}

/* Reviews */
.review-card {
    color: var(--text) !important;
    background: rgba(12,20,23,.70) !important;
}

    .review-card .fw-semibold {
        color: #f6fbff !important;
    }

    .review-card .small,
    .review-card .text-muted-2 {
        color: rgba(232,238,240,.78) !important;
    }

.quote-mark {
    font-size: 2.2rem;
    line-height: 1;
    color: rgba(75,209,255,.75);
    text-shadow: var(--glow-electric);
    margin-bottom: 8px;
}

/* Links */
.link-soft {
    color: rgba(232,238,240,.88);
    text-decoration: none;
}

    .link-soft:hover {
        color: var(--text);
        text-decoration: underline;
        text-decoration-color: rgba(208,169,113,.55);
    }

/* Footer */
.site-footer {
    margin-top: 40px;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.15);
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
}

    .footer-link:hover {
        color: var(--text);
        text-decoration: underline;
        text-decoration-color: rgba(208,169,113,.55);
    }

.book-desc{
  color: rgba(232,238,240,.92);
  line-height: 1.75;
}

.book-desc p{
  margin: 0 0 .65rem;
}

/* --- NAV socials --- */
.nav-social .social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.03);
    color: rgba(232,238,240,.88);
}

    .nav-social .social-icon:hover {
        border-color: rgba(75,209,255,.55);
        box-shadow: 0 0 28px rgba(75,209,255,.20);
    }

/* --- Character cards --- */
.character-card .char-avatar {
    width: 84px;
    height: 84px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
    overflow: hidden;
    flex: 0 0 auto;
}

    .character-card .char-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.character-card .char-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232,238,240,.55);
}

/* --- Tag badge (dark theme) --- */
.tag-badge {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: rgba(232,238,240,.88) !important;
    border-radius: 999px;
    padding: .35rem .55rem;
}

/* --- Excerpt --- */
.excerpt-text {
    margin: 0;
    white-space: pre-wrap;
    font-family: var(--font-mono);
    color: rgba(232,238,240,.88);
    line-height: 1.7;
}


.excerpt-illustration {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
}

.excerpt-illustration img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

/* Book landing: rain, sodium streetlights and a signal from 1997. */
.book-landing {
    --book-gold: #e0b873;
    --book-cyan: #8ac8ce;
    display: grid;
    gap: clamp(3.5rem, 7vw, 6rem);
    padding: 1.5rem 0 5rem;
    position: relative;
    isolation: isolate;
}
.book-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 0 38%, #30505c20, transparent 40%), radial-gradient(ellipse at 95% 67%, #9f722717, transparent 35%);
}
.book-landing section[id] { scroll-margin-top: 100px; }
body.rondlux-theme:has(.book-landing) { background-attachment: fixed; }
.book-landing a:focus-visible, .book-landing button:focus-visible, .book-landing input:focus-visible { outline: 3px solid var(--book-gold); outline-offset: 5px; }
.book-sales-hero { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #d0a97140; border-radius: 6px; background: #071015; box-shadow: 0 30px 80px #0006; }
.book-sales-hero__storm { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #03090c22, #03090cb8 48%, #03090ced), url('/img/hero-rain.webp') center / cover; }
.book-sales-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, transparent 0 3px, #00000010 3px 4px), linear-gradient(0deg, #020709a6, transparent 50%); pointer-events: none; }
.book-signal { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.75rem; border-bottom: 1px solid #ffffff18; font: .72rem var(--font-mono); letter-spacing: .1em; color: #b8c3c2; }
.book-signal > span:first-child { color: var(--book-gold); }
.book-signal__light { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: .6rem; background: var(--book-gold); box-shadow: 0 0 10px #e0b873; }
.book-sales-hero__grid { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 4.5vw, 4rem); }
.book-sales-hero__cover { text-align: center; }
.book-sales-hero__cover img { width: min(100%, 355px); height: auto; border-radius: 3px 8px 8px 3px; box-shadow: -9px 9px 0 #ffffff0a, 0 28px 65px #000b; transform: perspective(1000px) rotateY(5deg) rotateZ(-3deg); }
.book-cover-note { display: block; margin-top: 1.7rem; color: #c4c6ba; font: .67rem var(--font-mono); letter-spacing: .18em; }
.book-sales-hero__eyebrow, .book-section__kicker { display: inline-block; color: var(--book-gold); font: .74rem var(--font-mono); letter-spacing: .15em; text-transform: uppercase; }
.book-sales-hero h1 { margin: .85rem 0 1.25rem; font: 700 clamp(2.5rem, 4.3vw, 4.2rem)/1.08 var(--font-oswald); text-transform: uppercase; }
.book-sales-hero h1 em { display: block; margin-top: .15em; color: var(--book-gold); font-style: normal; }
.book-sales-hero__lead { max-width: 57ch; color: #c0ced2; font-size: 1rem; line-height: 1.8; }
.book-sales-hero__actions { display: grid; gap: .7rem; margin-top: 1.6rem; }
.book-cta { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; border-radius: 5px !important; padding: .85rem 1.15rem; font-size: .9rem; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.book-cta--primary { border: 1px solid #ebc98e !important; background: #dfb979 !important; color: #101719 !important; box-shadow: 0 6px 28px #d0a97120; }
.book-cta--primary:hover { background: #f2ce94 !important; transform: translateY(-2px); }
.book-cta--secondary { border: 1px solid #85cbd36b !important; background: #142a3199 !important; color: #eaf2f3 !important; }
.book-cta--secondary:hover { background: #22434ccc !important; }
.book-hero-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.3rem; font-size: .8rem; color: #bdcaca; }
.book-hero-links a { text-underline-offset: 5px; }
.book-hero-nav { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff20; background: #050e12b3; }
.book-hero-nav a { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; font-size: .8rem; text-decoration: none; }
.book-hero-nav a + a { border-left: 1px solid #ffffff20; }
.book-hero-nav a > span { color: var(--book-gold); font-family: var(--font-mono); }
.book-hero-nav a > span:last-child { margin-left: auto; }
.book-hero-nav a:hover { background: #b8892a14; }
.book-section { width: min(1120px, 100%); margin-inline: auto; min-width: 0; }
.book-section__heading { margin-bottom: 1.8rem; }
.book-section__heading--split { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.book-section__heading--split > p { max-width: 36ch; margin: 0; color: #aabec2; font-size: .9rem; line-height: 1.7; }
.book-section h2 { margin: .5rem 0 0; font: 400 clamp(1.9rem, 3.2vw, 2.8rem)/1.17 var(--font-oswald); text-transform: uppercase; text-wrap: balance; }
.book-text-link { display: inline-block; width: fit-content; color: var(--book-gold); font-size: .84rem; text-decoration: none; border-bottom: 1px solid #e0b87359; padding-bottom: .3rem; }
.book-text-link:hover { color: #ffe1aa; border-color: currentColor; }
.book-open-loops__grid, .book-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.book-open-loops article { border-top: 1px solid #b5d1d14d; padding: 1.2rem 0 0; }
.book-open-loops article > span { color: #81b3bc; font: .85rem var(--font-mono); }
.book-open-loops h3 { margin: .9rem 0 .5rem; font: 400 1.35rem var(--font-oswald); text-transform: uppercase; }
.book-open-loops p { margin: 0; color: #a8bcc1; font-size: .9rem; line-height: 1.75; }
.book-characters-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.book-character { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #c2d3d026; background: #0b161bc7; color: var(--text); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.book-character:hover { transform: translateY(-5px); border-color: #e0b87399; color: #fff; }
.book-character__portrait { position: relative; overflow: hidden; background: #172329; }
.book-character__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #081216aa, transparent 45%); pointer-events: none; }
.book-character__portrait img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; filter: saturate(.7); transition: filter .25s ease, transform .4s ease; }
.book-character:hover img { filter: saturate(1); transform: scale(1.04); }
.book-character__number { position: absolute; top: .7rem; left: .7rem; padding: .25rem .5rem; background: #051015c9; color: #c7d6d5; font: .65rem var(--font-mono); letter-spacing: .08em; }
.book-character__arrow { position: absolute; right: 1rem; bottom: .6rem; z-index: 1; color: var(--book-gold); font-size: 1.6rem; }
.book-character__copy { display: flex; flex: 1; flex-direction: column; padding: 1.2rem; }
.book-character h3 { margin: 0 0 .65rem; font: 400 1.65rem var(--font-oswald); text-transform: uppercase; }
.book-character p { margin: 0 0 1.3rem; color: #aabec2; font-size: .82rem; line-height: 1.8; }
.book-character__link { margin-top: auto; color: var(--book-gold); font: .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .03em; }
.book-excerpt { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: #0b171bc2; border-block: 1px solid #a1c4c42e; }
.book-excerpt__scene { margin: 0; }
.book-excerpt__scene img { display: block; width: 100%; height: auto; object-fit: contain; }
.book-excerpt__scene figcaption { padding: 1rem 1.5rem; color: #acc0c3; font: .64rem/1.6 var(--font-mono); letter-spacing: .09em; }
.book-excerpt__copy { padding: clamp(1.5rem, 3vw, 2.5rem); }
.book-excerpt h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.book-excerpt__text { margin: 1.4rem 0; white-space: pre-wrap; font: .92rem/1.9 Georgia, serif; color: #c2cdd0; }
.book-world { position: relative; }
.book-world__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.book-world-card { --card-accent: #a3d6b3; position: relative; display: flex; flex-direction: column; border: 1px solid #c9d9cd33; border-radius: 3px; overflow: hidden; background: #0c181a; color: var(--text); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.book-world-card--archive { --card-accent: #afc8e2; }
.book-world-card--summer { --card-accent: #f0c27c; }
.book-world-card--quiz { --card-accent: #dcb2d5; }
.book-world-card:hover { transform: translateY(-5px); border-color: var(--card-accent); color: #fff; }
.book-world-card__art { height: 210px; position: relative; display: grid; align-items: center; overflow: hidden; background: radial-gradient(ellipse at center, #46614966, #091312 75%); }
.book-world-card__art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.book-world-card--archive img { object-position: center 40%; }
.book-world-card--summer img { object-position: center 38%; }
.book-world-card--quiz .book-world-card__art { background: radial-gradient(ellipse at center, #59425688, #151119); }
.book-world-card__art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, #0002 3px 4px); pointer-events: none; }
.book-world-card__label { position: absolute; top: .65rem; left: .65rem; padding: .3rem .5rem; color: var(--card-accent); background: #091214dd; font: .65rem var(--font-mono); }
.book-world-card__copy { display: flex; flex-direction: column; flex: 1; padding: 1.1rem; border-top: 1px solid #ffffff1a; }
.book-world-card__type { font: .58rem/1.7 var(--font-mono); letter-spacing: .08em; color: var(--card-accent); }
.book-world-card h3 { margin: .5rem 0 .7rem; font: 400 1.65rem/1.2 var(--font-oswald); }
.book-world-card p { margin: 0 0 1.5rem; color: #b2c1c4; font-size: .81rem; line-height: 1.75; }
.book-world-card__action { display: flex; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid #ffffff1a; font: .73rem var(--font-mono); color: var(--card-accent); }
.book-crt { width: 80%; margin: 1.5rem auto 0; padding: .9rem .9rem .45rem; border: 1px solid #869087; border-radius: 14px 14px 8px 8px; background: linear-gradient(140deg, #a4a99b, #555f58); box-shadow: 10px 16px 15px #0008; transform: rotate(-5deg); }
.book-crt__screen { display: flex; flex-direction: column; gap: .7rem; padding: 1rem .6rem; border: 6px solid #303d35; border-radius: 20% / 8%; color: #a4efa3; background: #06130d; font: .55rem var(--font-mono); box-shadow: inset 0 0 22px #76ec7426; text-shadow: 0 0 8px #81e8807a; }
.book-crt__screen strong { font: .9rem var(--font-mono); }
.book-crt__led { display: block; width: 5px; height: 5px; margin: .45rem 0 0 auto; background: #cbffab; box-shadow: 0 0 8px #b9ff80; }
.book-quiz-tape { width: 85%; margin: 1.3rem auto 0; padding: .7rem .7rem .5rem; border: 3px solid #343436; border-radius: 9px; background: #c9bea6; box-shadow: 10px 18px 15px #0008; color: #333235; transform: rotate(7deg); }
.book-quiz-tape > span { display: block; font: .47rem var(--font-mono); letter-spacing: .06em; }
.book-quiz-tape > strong { display: block; margin: .4rem 0; border-block: 2px solid #925269; color: #613748; font: 700 1rem var(--font-mono); }
.book-quiz-tape__reels { display: flex; align-items: center; justify-content: space-between; margin: .5rem 0; border-radius: 14px; padding: .3rem; background: #38383a; color: #c7bda8; }
.book-quiz-tape__reels i { width: 27px; height: 27px; border: 6px dotted #c7bda8; border-radius: 50%; }
.book-vhs { position: absolute; right: 1rem; bottom: 1rem; color: #fff5d4; font: .75rem/1.8 var(--font-mono); text-shadow: 1px 1px #171413; }
.book-world__message { display: flex; justify-content: center; align-items: center; gap: .7rem; margin-top: 1.25rem; padding: 1rem; color: #b2c8c9; text-decoration: none; font-size: .82rem; text-align: center; border-bottom: 1px dashed #a3babb40; }
.book-world__message:hover { color: var(--book-gold); }
.book-review { margin: 0; padding: 1.5rem; background: #111e22; border-left: 2px solid #e0b87370; }
.book-review blockquote { font: 1.05rem/1.7 Georgia, serif; }
.book-review figcaption { color: var(--book-gold); font-size: .8rem; }
.book-review figcaption a { margin-left: .5rem; }
.book-purchase { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #e0b87344; background: radial-gradient(ellipse at top left, #ab813817, transparent 70%), #0b1519; }
.book-buy-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.75rem; }
.book-buy-band p { margin: .8rem 0 0; color: #a9bdc2; font-size: .9rem; }
.book-purchase__actions { display: grid; justify-items: center; gap: .8rem; }
.book-retailers { border-top: 1px solid #e0b87333; padding-top: 1.5rem; }
.book-retailers > span { font: .72rem var(--font-mono); letter-spacing: .07em; color: #b6c5c6; text-transform: uppercase; }
.book-retailers__links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.book-retailers__links a { flex: 1 0 140px; display: flex; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; border: 1px solid #becfcc30; text-decoration: none; font-size: .9rem; }
.book-retailers__links a:hover { background: #e0b87312; border-color: var(--book-gold); }
.book-retailers__links span { color: var(--book-gold); }
.book-catalog-link { display: block; width: fit-content; margin-top: 1.2rem; color: #a9bec1; font-size: .78rem; text-underline-offset: 5px; }
.book-newsletter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; border-left: 2px solid #e0b87380; padding: 1rem 0 1rem 2rem; }
.book-newsletter h2 { font-size: clamp(1.7rem, 2.7vw, 2.3rem); }
.book-newsletter p { margin: 1rem 0 0; color: #a9bec1; font-size: .86rem; line-height: 1.8; }
.book-newsletter__form { display: flex; gap: .6rem; }
.book-newsletter__form .form-control { min-width: 0; min-height: 52px; border: 1px solid #b6c9ca50; border-radius: 4px; background: #091316; color: #fff; }
.book-newsletter__form .form-control::placeholder { color: #a8b6b9; }
.book-newsletter__form .book-cta { white-space: nowrap; }
.book-newsletter__addressing { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: .9rem; color: #a9bec1; font-size: .73rem; }
.book-newsletter__addressing legend { font-size: inherit; margin-bottom: .45rem; }
.book-newsletter__addressing input { accent-color: #e0b873; margin-right: .25rem; }
.book-author { display: grid; grid-template-columns: .55fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.book-author__photo { position: relative; }
.book-author__photo img { display: block; width: 100%; height: auto; filter: saturate(.5); border: 1px solid #c4d7d233; }
.book-author__photo > span { display: block; padding: .75rem 0; font: .65rem var(--font-mono); letter-spacing: .15em; color: #9cb5ba; }
.book-author h2 { max-width: 25ch; }
.book-author p { color: #afc1c5; margin: 1.5rem 0; font: .96rem/1.85 var(--font-mont); }
.book-social { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; padding-top: 2.5rem; border-top: 1px solid #b8cfcc33; }
.book-social h2 { font-size: 2rem; }
.book-social p { color: #a9bec1; font-size: .85rem; margin-top: 1rem; }
.book-social__links { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.book-social__links a { display: flex; align-items: center; gap: .65rem; border: 1px solid #bed3cc30; padding: .9rem 1rem; text-decoration: none; font-size: .83rem; }
.book-social__links a:hover { color: var(--book-gold); border-color: #e0b87380; }
.book-social__links i { width: 1.2rem; color: var(--book-gold); font-size: 1.05rem; }
.book-social__links span { margin-left: auto; }
.book-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; }
.book-faq h2 { font-size: 2rem; }
@media (max-width: 1199.98px) {
    .book-world__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .book-world-card__art { height: 250px; }
    .book-crt { width: 220px; }
    .book-quiz-tape { width: 230px; }
    .book-world-card--summer img { object-position: center 30%; }
    .book-newsletter { gap: 1.5rem; }
    .book-newsletter__form { flex-direction: column; }
}
@media (max-width: 991.98px) {
    .book-characters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .book-character__portrait img { aspect-ratio: 1.2; }
    .book-excerpt { grid-template-columns: 1fr; }
    .book-excerpt__scene { padding: 1.5rem 1.5rem 0; }
    .book-excerpt__scene img { max-height: 520px; }
    .book-excerpt__copy { padding-top: .5rem; }
    .book-hero-nav a { padding-inline: 1rem; gap: .6rem; }
}
@media (max-width: 767.98px) {
    .book-landing { padding-top: .5rem; gap: 3.5rem; }
    .book-signal { padding: .8rem 1rem; font-size: .63rem; }
    .book-signal > span:last-child { display: none; }
    .book-sales-hero__grid { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.5rem; }
    .book-sales-hero__storm { background: linear-gradient(#03090c30, #03090ced 48%), url('/img/hero-rain.webp') center / cover; }
    .book-sales-hero__cover img { width: 200px; }
    .book-cover-note { margin-top: 1.2rem; font-size: .6rem; }
    .book-sales-hero h1 { font-size: clamp(2rem, 7.8vw, 3.4rem); }
    .book-sales-hero__lead { font-size: .9rem; }
    .book-sales-hero__eyebrow { font-size: .63rem; letter-spacing: .1em; }
    .book-hero-nav { grid-template-columns: 1fr; }
    .book-hero-nav a { padding: .9rem 1.25rem; }
    .book-hero-nav a + a { border-left: 0; border-top: 1px solid #ffffff14; }
    .book-cta { font-size: .8rem; padding-inline: .75rem; flex-wrap: wrap; }
    .book-section__heading--split { align-items: start; flex-direction: column; gap: .8rem; }
    .book-open-loops__grid, .book-reviews-grid { grid-template-columns: 1fr; }
    .book-characters-grid { gap: .7rem; }
    .book-character__copy { padding: .9rem; }
    .book-character p { font-size: .77rem; }
    .book-character h3 { font-size: 1.4rem; }
    .book-character__link { font-size: .63rem; }
    .book-character__portrait img { aspect-ratio: .9; }
    .book-excerpt__scene { padding: 0; }
    .book-excerpt__scene figcaption { padding: .8rem 1rem; font-size: .58rem; }
    .book-excerpt__copy { padding: 1rem 1.25rem 1.5rem; }
    .book-world-card__art { height: 210px; }
    .book-world-card h3 { font-size: 1.45rem; }
    .book-world-card__copy { padding: 1rem; }
    .book-buy-band { align-items: start; flex-direction: column; }
    .book-purchase__actions { width: 100%; justify-items: stretch; }
    .book-newsletter, .book-author, .book-social, .book-faq { grid-template-columns: 1fr; gap: 1.5rem; }
    .book-newsletter { padding-left: 1.2rem; }
    .book-author__photo { max-width: 300px; }
    .book-author h2 { max-width: none; }
}
@media (max-width: 479.98px) {
    .book-world__grid { grid-template-columns: 1fr; }
    .book-world-card { display: grid; grid-template-columns: 1fr; }
    .book-world-card__art { height: 230px; }
    .book-world-card--archive img { object-position: center 45%; }
    .book-world-card--summer img { object-position: center 28%; }
    .book-social__links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .book-landing *, .book-landing *::before, .book-landing *::after { transition: none !important; animation: none !important; }
}

/* --- Gallery --- */
.gallery-item .gallery-img {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* --- Video --- */
.video-frame iframe {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

/* --- Accordion dark --- */
.rondlux-accordion .accordion-item {
    background: rgba(12,20,23,.58);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
}

.rondlux-accordion .accordion-button {
    background: rgba(0,0,0,.18);
    color: rgba(232,238,240,.92);
}

    .rondlux-accordion .accordion-button:focus {
        box-shadow: 0 0 0 .2rem rgba(75,209,255,.18);
    }

    .rondlux-accordion .accordion-button:not(.collapsed) {
        background: rgba(255,255,255,.04);
        color: #fff;
    }

.rondlux-accordion .accordion-body {
    background: rgba(0,0,0,.12);
}


.page-books .card {
    background: rgba(12,20,23,.58) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 22px !important;
    overflow: hidden;
    color: rgba(232,238,240,.92);
    box-shadow: var(--shadow-soft);
}

.page-books .card-body {
    background: transparent !important;
}

.page-books .card-footer {
    background: rgba(0,0,0,.18) !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    padding: 14px !important;
}

.page-books .card-title {
    color: #f6fbff;
}

.page-books .badge.text-bg-light {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: rgba(232,238,240,.88) !important;
    border-radius: 999px;
}


.page-books .card {
    position: relative;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.book-catalog-ebook-banner {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 0;
    padding: .45rem 1.25rem .45rem 1rem;
    border: 1px solid rgba(174,239,197,.5);
    border-left: 0;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(135deg, #23864b, #176b3a);
    color: #f2fff6;
    font-family: var(--font-oswald);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(14,82,43,.38);
}

.page-books a:hover .card {
    transform: translateY(-4px);
    border-color: rgba(75,209,255,.22) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.55), var(--glow-electric);
}

.book-restock-panel {
    border: 1px solid rgba(208,169,113,.42);
    border-radius: 18px;
    background:
        radial-gradient(520px 180px at 0 0, rgba(208,169,113,.13), transparent 70%),
        rgba(8,17,20,.92);
    color: #e8eef0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 36px rgba(0,0,0,.28);
}

.book-restock-panel h5 {
    color: #f1d3a2;
    font-weight: 650;
}

.book-restock-panel p {
    color: #d8e2e5;
}

.book-restock-panel .form-control {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: #030a0c;
    color: #f6fbff;
}

.book-restock-panel .form-control::placeholder {
    color: #a9b9bf;
    opacity: 1;
}

.book-restock-panel .form-control:focus {
    border-color: #d0a971;
    background: #030a0c;
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(208,169,113,.16);
}

.book-restock-panel .btn-primary {
    min-height: 46px;
    border-color: #d0a971;
    border-radius: 10px;
    background: linear-gradient(180deg, #dfbf8b, #bd9157);
    color: #071014;
    font-weight: 650;
}

.book-restock-panel .btn-primary:hover,
.book-restock-panel .btn-primary:focus {
    border-color: #edcf9e;
    background: linear-gradient(180deg, #edcf9e, #cda267);
    color: #030a0c;
    box-shadow: 0 0 0 .2rem rgba(208,169,113,.16), var(--glow-amber);
}

.book-restock-panel .alert-success {
    border-color: rgba(117,183,152,.38);
    background: rgba(18,74,48,.42);
    color: #d8f3e4;
}

.book-restock-panel .alert-danger,
.book-restock-panel .text-danger {
    color: #ffadb5 !important;
}

/* Checkout */
.checkout-page {
    --checkout-surface: rgba(10,18,21,.88);
    --checkout-surface-strong: rgba(5,13,16,.94);
    --checkout-border: rgba(255,255,255,.14);
    --checkout-muted: #b5c4c9;
}

.checkout-page__header h1 {
    color: #f6fbff;
    font-family: var(--font-oswald);
    letter-spacing: .04em;
}

.checkout-card {
    border: 1px solid var(--checkout-border) !important;
    border-radius: 20px !important;
    background: radial-gradient(700px 260px at 10% 0%, rgba(75,209,255,.07), transparent 54%), linear-gradient(180deg, var(--checkout-surface), var(--checkout-surface-strong)) !important;
    color: var(--text);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.04) !important;
    overflow: hidden;
}

.checkout-card > .card-body {
    padding: clamp(1.1rem, 2.5vw, 1.6rem);
    background: transparent;
}

.checkout-page .form-label,
.checkout-page .card-title {
    color: #f6fbff;
    font-weight: 600;
}

.checkout-page .form-control,
.checkout-page .form-select {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background-color: rgba(2,9,12,.74);
    color: #f6fbff;
    color-scheme: dark;
}

.checkout-page .form-control::placeholder {
    color: rgba(181,196,201,.66);
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
    border-color: rgba(75,209,255,.72);
    background-color: rgba(2,9,12,.9);
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(75,209,255,.14);
}

.checkout-page .form-control.input-validation-error,
.checkout-page .form-select.input-validation-error {
    border-color: rgba(255,107,120,.78);
}

.checkout-page .text-muted,
.checkout-page .checkout-choice__description {
    color: var(--checkout-muted) !important;
}

.checkout-page .btn {
    min-height: 44px;
    border-radius: 12px;
    font-weight: 600;
}

.checkout-page .btn-primary {
    border-color: rgba(208,169,113,.75);
    background: linear-gradient(180deg, #d9b780, #bd9157);
    color: #071014;
    box-shadow: 0 12px 28px rgba(208,169,113,.16);
}

.checkout-page .btn-primary:hover,
.checkout-page .btn-primary:focus {
    border-color: #e5c691;
    background: linear-gradient(180deg, #e5c691, #cda267);
    color: #030a0c;
    box-shadow: 0 0 0 .2rem rgba(208,169,113,.14), var(--glow-amber);
}

.checkout-page .btn-outline-secondary {
    border-color: rgba(255,255,255,.24);
    color: #e8eef0;
}

.checkout-page .btn-outline-secondary:hover,
.checkout-page .btn-outline-secondary:focus {
    border-color: rgba(75,209,255,.55);
    background: rgba(75,209,255,.08);
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(75,209,255,.12);
}

.checkout-page .form-check-input {
    border-color: rgba(232,238,240,.48);
    background-color: rgba(2,9,12,.82);
}

.checkout-page .form-check-input:checked {
    border-color: var(--electric);
    background-color: var(--electric-2);
}

.checkout-page .form-check-input:focus {
    border-color: var(--electric);
    box-shadow: 0 0 0 .2rem rgba(75,209,255,.16);
}

.checkout-address-heading .fw-semibold,
.checkout-billing-toggle .fw-semibold {
    color: #f6fbff;
}

.checkout-billing-toggle,
.checkout-address-panel {
    border: 1px solid var(--checkout-border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12,20,23,.76), rgba(7,16,20,.84));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.checkout-billing-toggle {
    margin: 0;
    padding: 1rem 1rem 1rem 3rem;
}

.checkout-billing-toggle .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .2rem;
    margin-left: -2rem;
}

.checkout-billing-toggle .form-check-label {
    display: block;
    cursor: pointer;
}

.checkout-address-panel {
    padding: 1rem;
    border-color: rgba(75,209,255,.24);
    background: radial-gradient(600px 180px at 12% 0%, rgba(75,209,255,.07), transparent 55%), linear-gradient(180deg, rgba(12,20,23,.82), rgba(7,16,20,.9));
}

.checkout-payment-panel,
.packeta-pickup-box {
    border: 1px solid var(--checkout-border) !important;
    border-radius: 16px !important;
    background: radial-gradient(700px 220px at 12% 0%, rgba(75,209,255,.08), transparent 52%), linear-gradient(180deg, rgba(12,20,23,.86), rgba(7,16,20,.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.checkout-payment-panel__body {
    padding: .45rem;
}

.checkout-payment-panel .form-check {
    margin: 0;
    padding: .85rem .9rem .85rem 2.75rem;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: border-color .18s ease, background-color .18s ease;
}

.checkout-payment-panel .form-check:hover {
    background: rgba(255,255,255,.035);
}

.checkout-payment-panel .form-check:has(.form-check-input:checked) {
    border-color: rgba(75,209,255,.28);
    background: rgba(75,209,255,.07);
}

.checkout-payment-panel .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: .23rem;
    margin-left: -1.85rem;
}

.checkout-payment-panel .form-check-label {
    display: block;
    color: rgba(232,238,240,.96);
    cursor: pointer;
}

.checkout-choice__title,
.checkout-choice__description {
    display: block;
}

.checkout-choice__title {
    font-weight: 600;
    line-height: 1.4;
}

.checkout-choice__description {
    margin-top: .15rem;
    font-size: .875rem;
    line-height: 1.45;
}

.checkout-payment-panel hr {
    margin: .2rem .8rem !important;
    border-color: rgba(255,255,255,.12);
    opacity: 1;
}

.packeta-pickup-box {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    color: var(--text);
}

.packeta-pickup-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(75,209,255,.48), rgba(208,169,113,.28), transparent);
}

.packeta-pickup-box .fw-semibold {
    color: #f6fbff;
}

.packeta-pickup-box .text-muted {
    color: var(--checkout-muted) !important;
}

.packeta-pickup-box__copy {
    flex: 1 1 22rem;
}

.packeta-action-button,
.packeta-change-button {
    border-radius: 12px !important;
    border-color: rgba(75,209,255,.48) !important;
    background: rgba(75,209,255,.08) !important;
    color: #f6fbff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.packeta-action-button:hover,
.packeta-action-button:focus,
.packeta-change-button:hover,
.packeta-change-button:focus {
    border-color: rgba(75,209,255,.82) !important;
    background: rgba(75,209,255,.15) !important;
    color: #fff !important;
    box-shadow: 0 0 0 .2rem rgba(75,209,255,.12), var(--glow-electric);
}

.packeta-selected-card {
    border: 1px solid rgba(75,209,255,.28) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(6,14,18,.92), rgba(4,12,15,.96)) !important;
    color: rgba(232,238,240,.94);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.packeta-selected-card .card-body {
    padding: .95rem 1rem;
    background: transparent;
    color: inherit;
}

.packeta-selected-card .fw-semibold {
    color: #f6fbff;
}

.packeta-selected-card .text-muted {
    color: var(--checkout-muted) !important;
}

.checkout-summary-card hr {
    border-color: rgba(255,255,255,.12);
    opacity: 1;
}

/* Customer order payment instructions */
.payment-instructions {
    border: 1px solid rgba(208,169,113,.42);
    border-radius: 20px;
    background: radial-gradient(620px 260px at 0 0, rgba(208,169,113,.16), transparent 58%), linear-gradient(180deg, rgba(18,25,26,.96), rgba(5,13,16,.98));
    color: #f6fbff;
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(208,169,113,.05);
    overflow: hidden;
}

.payment-instructions__header {
    padding: 1rem clamp(1rem, 2.5vw, 1.35rem);
    border-bottom: 1px solid rgba(208,169,113,.22);
    background: rgba(208,169,113,.06);
}

.payment-instructions__eyebrow {
    margin-bottom: .25rem;
    color: #e6c58e;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.payment-instructions h2 {
    color: #f6fbff;
    font-weight: 600;
}

.payment-instructions__content {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.35rem);
}

.payment-instructions__details {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(0,0,0,.19);
}

.payment-instructions__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .72rem .85rem;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.payment-instructions__item:last-child {
    border-bottom: 0;
}

.payment-instructions__item > span,
.payment-instructions__qr-label,
.payment-instructions__note {
    color: #c2d3d7;
    font-size: .86rem;
}

.payment-instructions__item > strong {
    overflow-wrap: anywhere;
    text-align: right;
}

.payment-instructions__item--amount {
    background: rgba(208,169,113,.10);
}

.payment-instructions__item--amount strong {
    color: #f1d39f;
    font-size: 1.08rem;
}

.payment-instructions strong {
    color: #fff;
}

.payment-instructions__qr-panel {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .6rem;
    border: 1px solid rgba(75,209,255,.22);
    border-radius: 14px;
    background: rgba(75,209,255,.045);
    padding: .9rem;
}

.payment-instructions__qr-label {
    color: #d6e5e8;
    font-weight: 600;
}

.payment-instructions__qr {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 12px;
    padding: 6px;
    background: #fff;
}

.payment-instructions__note {
    margin: 0 clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 2.5vw, 1.2rem);
    padding: .7rem .85rem;
    border-left: 3px solid rgba(208,169,113,.68);
    border-radius: 0 10px 10px 0;
    background: rgba(255,255,255,.045);
}

@media (min-width: 768px) {
    .payment-instructions__content {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
    }

    .payment-instructions__qr-panel {
        justify-content: center;
        width: 246px;
    }
}

@media (max-width: 575.98px) {
    .payment-instructions__item {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .payment-instructions__item > strong {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .checkout-summary-card {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 575.98px) {
    .checkout-actions {
        flex-direction: column;
    }

    .checkout-actions .btn,
    .packeta-action-button {
        width: 100%;
    }
}

/* Hra - bomberman sekcia */
.game-terminal {
    border: 1px solid rgba(80, 255, 120, .25);
    border-radius: 14px;
    background: #060606;
    box-shadow: inset 0 0 0 1px rgba(70, 210, 255, .09);
    font-family: var(--font-mono);
    color: #b7ffb7;
    padding: .9rem 1rem;
}

.game-terminal__line {
    white-space: pre-wrap;
    line-height: 1.5;
}

.game-terminal__option {
    cursor: pointer;
    transition: color .14s ease, background-color .14s ease;
    padding: .03rem .35rem;
    margin-left: -.35rem;
    border-radius: 6px;
}

.game-terminal__option:hover,
.game-terminal__option.is-active {
    color: #d4ffd4;
    background: rgba(120, 255, 120, .14);
}

.game-terminal__line--clickable {
    cursor: pointer;
}

.game-terminal__line--clickable:hover {
    color: #d4ffd4;
}

.game-terminal__prompt {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .35rem;
}

.game-terminal__input {
    flex: 1;
    min-width: 160px;
    border: 0;
    background: transparent;
    color: #b7ffb7;
    outline: none;
    font-family: inherit;
}

.game-terminal__input::selection {
    background: rgba(120, 255, 120, .35);
    color: #000;
}

.game-shell {
    margin-top: .4rem;
}

.hra-stage-wrap {
    position: relative;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(5, 12, 24, 0.62);
    box-shadow: inset 0 0 0 1px rgba(70, 210, 255, .12);
    max-width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hra-canvas {
    display: block;
    border: 0;
    background: #010101;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    image-rendering: pixelated;
}

.hra-loading .progress {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}

.hra-loading .progress-bar {
    background: linear-gradient(90deg, #2ea8ff, #4bd1ff);
}


.hra-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .45rem;
    background: rgba(3, 10, 12, .78);
    color: #f6fbff;
    z-index: 3;
    padding: 1.2rem;
}

.hra-overlay__title {
    font-family: var(--font-oswald);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    text-shadow: 0 0 12px rgba(80, 255, 140, .35), 0 0 24px rgba(60, 160, 255, .2);
}

.hra-overlay__subtitle {
    color: rgba(232,238,240,.88);
}

.hra-ending-prompt {
    margin-top: .7rem;
    padding: .7rem .8rem;
    border: 1px solid rgba(122, 218, 255, .45);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(8, 17, 32, .95), rgba(6, 12, 24, .94));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .35);
    max-width: 560px;
}

.hra-ending-prompt__title {
    font-family: var(--font-mono);
    font-size: .95rem;
    color: #ebf6ff;
    margin-bottom: .6rem;
}

.hra-ending-prompt__actions {
    display: flex;
    gap: .55rem;
}

.hra-ending-prompt__actions .btn {
    min-width: 84px;
}


.hra-inline-score {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .6rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(4, 10, 22, .78);
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
    font-family: var(--font-mono);
    pointer-events: none;
    transform-origin: top left;
    transform: scale(var(--inline-score-scale, 1));
    max-height: var(--inline-score-max-height, 40px);
    overflow: hidden;
}

.hra-inline-score--top-right {
    top: .55rem;
    right: .55rem;
    transform-origin: top right;
}

.hra-inline-score--top-left {
    top: .55rem;
    left: .55rem;
}

.hra-inline-score__head {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,.22);
    image-rendering: pixelated;
    background: rgba(0,0,0,.2);
}

.hra-inline-score__name {
    font-family: var(--font-oswald);
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.05;
}

.hra-inline-score__stats {
    font-size: .78rem;
    color: rgba(232,238,240,.92);
    white-space: nowrap;
}

.hra-scoreboard {
    display: none;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-mono);
}

.hra-scoreboard__player {
    min-width: 180px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    padding: .65rem .85rem;
}

.hra-scoreboard__player--left {
    text-align: left;
}

.hra-scoreboard__player--right {
    text-align: right;
    margin-left: auto;
}

.hra-scoreboard__name {
    font-family: var(--font-oswald);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

/* Odkazovač: reply card legibility */
.odkaz-reply {
    background: rgba(232, 238, 240, .08);
    border-color: rgba(232, 238, 240, .22) !important;
}

.odkaz-reply__label {
    color: rgba(232, 238, 240, .72) !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.odkaz-reply__text {
    color: rgba(246, 251, 255, .96);
}

/* Identity forms readability fixes */
.identity-auth .card {
    background: rgba(12,20,23,.7);
    border: 1px solid rgba(255,255,255,.1) !important;
    color: rgba(232,238,240,.94);
}

.identity-auth .form-control,
.identity-auth .form-control:focus {
    background-color: rgba(3,10,12,.45);
    color: #f6fbff;
    border-color: rgba(255,255,255,.2);
}

.identity-auth .form-control:focus {
    box-shadow: 0 0 0 .2rem rgba(75,209,255,.18);
}

.identity-auth .form-floating > label {
    color: rgba(166,182,188,.9);
}

.identity-auth .form-floating > label::after {
    background-color: rgba(3,10,12,.85) !important;
}

.identity-auth .form-floating > .form-control:focus ~ label,
.identity-auth .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: rgba(210, 226, 232, .95);
}

.identity-auth .form-control:-webkit-autofill,
.identity-auth .form-control:-webkit-autofill:hover,
.identity-auth .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #f6fbff;
    -webkit-box-shadow: 0 0 0px 1000px rgba(3,10,12,.45) inset;
    transition: background-color 9999s ease-in-out 0s;
}

/* Novinky */
.news-card {
    position: relative;
    overflow: hidden;
    background: rgba(12,20,23,.68) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    color: rgba(232,238,240,.94);
}

.news-card-hero {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .2;
    filter: saturate(.75) blur(1px);
    transform: scale(1.02);
}

.news-card .card-body {
    position: relative;
    z-index: 1;
}

.news-link {
    color: #f6fbff;
    text-decoration: none;
}

.news-link:hover {
    color: #4bd1ff;
}

.news-read-btn {
    backdrop-filter: blur(2px);
}

.news-annotation,
.article-annotation {
    color: rgba(220,230,233,.92);
}

.news-tags {
    font-size: .9rem;
}

.news-tag {
    color: rgba(220,230,233,.56);
    transition: color .2s ease;
}

.news-tag:hover {
    color: rgba(220,230,233,.8);
}

.article-header {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1.5rem;
}

.article-header--with-hero {
    min-height: min(52vh, 560px);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.article-header--with-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 10, 12, .2) 0%, rgba(3, 10, 12, .76) 55%, rgba(3, 10, 12, .98) 100%);
}

.article-header > * {
    position: relative;
    z-index: 1;
}

.typography-article {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(235,241,244,.94);
}

.typography-article h2,
.typography-article h3,
.typography-article h4 {
    font-family: var(--font-oswald);
    margin-top: 2rem;
    margin-bottom: .7rem;
    letter-spacing: .03em;
    color: #fff;
}

.typography-article p {
    margin-bottom: 1rem;
}

.typography-article blockquote {
    border-left: 3px solid #4bd1ff;
    padding-left: 1rem;
    color: rgba(201,222,229,.95);
    font-style: italic;
}

.typography-article a {
    color: #4bd1ff;
    text-underline-offset: 3px;
}

.typography-article img {
    border-radius: 14px;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.admin-reply {
    margin-left: 1rem;
    padding: .75rem 1rem;
    border-left: 3px solid rgba(143, 173, 184, .5);
    border-radius: .6rem;
    background: rgba(255,255,255,.04);
}

.admin-reply__label {
    font-weight: 600;
    color: rgba(232,238,240,.9);
    margin-bottom: .25rem;
}

.admin-reply__content {
    color: rgba(212,223,227,.88);
}

.admin-reply__meta {
    font-size: .85rem;
    color: rgba(182,199,206,.72);
}

.admin-reply-editor > summary {
    width: fit-content;
    cursor: pointer;
    list-style: none;
}

.admin-reply-editor > summary::-webkit-details-marker {
    display: none;
}

.admin-reply-editor[open] > summary {
    margin-bottom: .35rem;
}


/* Identity manage readability */
#profile-form .form-control:disabled,
#profile-form .form-control[readonly] {
    color: #f6fbff;
    -webkit-text-fill-color: #f6fbff;
    background-color: rgba(3,10,12,.45);
    opacity: 1;
}

#profile-form .form-floating > label {
    color: rgba(194, 208, 214, .95);
    opacity: 1;
}

#profile-form .form-floating > label::after {
    background-color: transparent !important;
}

#profile-form .form-floating > .form-control:disabled ~ label,
#profile-form .form-floating > .form-control[readonly] ~ label,
#profile-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
#profile-form .form-floating > .form-control:focus ~ label {
    color: rgba(194, 208, 214, .95);
}

#hra-section {
    --game-available-height: calc(100vh - 9rem);
}

#hra-section .panel:not(.tetris-console) {
    min-height: var(--game-available-height);
    height: var(--game-available-height);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: #050505;
}

#hra-section .panel
.tetris-console__fs-toggle {
    display: block;
    margin: 0 auto 0.75rem;
}

.tetris-console__asset {
    position: relative;
}

#hra-section.game-fullscreen .tetris-console {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    height: 100vh;
    background: rgba(10, 12, 16, 0.97);
    border-radius: 0;
    padding: 1rem;
    display: grid;
    align-content: center;
    justify-items: center;
    overflow: auto;
}

#hra-section.game-fullscreen .tetris-console .tetris-console__asset {
    width: min(96vw, calc(96vh * (var(--asset-width) / var(--asset-height))));
    max-height: 96vh;
}
.tetris-console {
    min-height: 0;
    height: auto;
    display: block;
    overflow: visible;
}

#hra-section .game-shell,
#game-terminal-shell,
#game-boot-screen {
    flex: 1;
    min-height: 0;
}

#hra-section .game-shell {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    overflow: hidden;
}

.game-shell__chrome,
.game-shell__hud {
    flex: 0 0 auto;
}

.game-shell__stage {
    flex: 1;
    min-height: 0;
}

.game-terminal {
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: .2rem;
    overflow: hidden;
    padding-top: .35rem;
}

.game-terminal__ascii {
    color: #a6fda6;
    margin: 0 0 .8rem;
    line-height: 1.1;
    font-size: clamp(.56rem, 1.2vw, .86rem);
    text-shadow: 0 0 12px rgba(120, 255, 120, .24);
    white-space: pre;
}


.game-terminal--burka {
    animation: game-burka-shake .12s steps(2, end) infinite;
}

.game-terminal--burka-flicker {
    opacity: .45;
    filter: contrast(1.3) saturate(.8);
}

.game-terminal--offline {
    background: #000;
    border-color: transparent;
    box-shadow: none;
    color: #fff;
    position: relative;
}

.game-terminal--offline > * {
    opacity: 0;
    pointer-events: none;
}

.game-terminal--offline::after {
    content: attr(data-burka-spinner);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    letter-spacing: .2rem;
}

@keyframes game-burka-shake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(.7px, -1px); }
    50% { transform: translate(-1px, .8px); }
    75% { transform: translate(1px, .5px); }
    100% { transform: translate(0, 0); }
}
.game-boot-screen {
    border: 1px solid rgba(80, 255, 120, .26);
    border-radius: 14px;
    background: #050505;
    color: #9eff9e;
    font-family: var(--font-mono);
    min-height: 100%;
    height: 100%;
    white-space: pre-wrap;
    padding: 1rem;
    margin-bottom: 0;
    overflow: auto;
}

.game-screen-flash {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: #dce9ff;
    opacity: 0;
    z-index: 1200;
    transition: opacity .18s ease;
}

.game-screen-flash.is-active {
    opacity: .9;
}

.game-exit-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
    z-index: 1150;
}

.game-exit-modal__box {
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
    background: rgba(5, 10, 18, .95);
    color: #f6fbff;
    min-width: 280px;
    padding: 1rem;
    text-align: center;
}

.game-exit-modal__title {
    font-family: var(--font-mono);
    margin-bottom: .85rem;
}

.game-exit-modal__actions {
    display: flex;
    gap: .65rem;
    justify-content: center;
}

#game-skatulka-layout {
    flex-wrap: nowrap;
}

#skatulka-hud {
    min-width: 222px;
    flex: 0 0 222px;
    border-color: rgba(119, 214, 255, .28);
    background: linear-gradient(180deg, rgba(7, 15, 27, .9), rgba(4, 9, 16, .95));
    box-shadow: inset 0 0 0 1px rgba(120, 220, 255, .12), 0 10px 24px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

#skatulka-next {
    border: 1px solid rgba(150, 226, 255, .24);
    border-radius: 10px;
    background: #030608;
}

#skatulka-canvas {
    touch-action: none;
}

.skatulka-stat {
    border: 1px solid rgba(140, 220, 255, .2);
    border-radius: 10px;
    background: rgba(3, 10, 19, .72);
    padding: .45rem .6rem;
}

.skatulka-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}

.skatulka-stat__label {
    font-size: .73rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(184, 225, 242, .82);
}

.skatulka-stat__value {
    font-family: var(--font-oswald);
    font-size: 1.2rem;
    line-height: 1;
    color: #f4fbff;
}

.skatulka-stat--score .skatulka-stat__label {
    font-size: .76rem;
    margin-bottom: .2rem;
}

.skatulka-stat--score .skatulka-stat__value {
    font-size: 1.95rem;
    color: #b7f6ff;
    text-shadow: 0 0 14px rgba(116, 232, 255, .35);
}

.skatulka-next-label {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(189, 232, 248, .9);
}

.skatulka-lightning-btn {
    margin-top: .3rem;
    font-weight: 700;
    letter-spacing: .04em;
}


.game-page-toolbar {
    position: relative;
    z-index: 2;
}

#game-terminal-shell,
#game-boot-screen,
#hra-section .game-shell {
    border: 0;
    border-radius: 0;
    background: #050505;
    margin-top: 0;
}

#hra-section .game-shell {
    padding: .55rem;
}

#game-terminal-shell {
    margin-bottom: 0;
}

.game-page-menu {
    flex: 1;
    display: flex;
    min-height: 0;
}

.game-page-menu .game-terminal {
    width: 100%;
    margin-bottom: 0 !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: .75rem;
}

.game-fullscreen .game-page-menu .game-terminal {
    border-radius: 0;
}


#setric-stage-wrap {
    background: #02030a;
}

#setric-canvas {
    width: 100%;
    height: 100%;
    image-rendering: auto;
}


.game-fullscreen .game-page-toolbar {
    display: none !important;
}


.game-fullscreen #game-shell-bomber .game-shell__chrome,
.game-fullscreen #game-shell-bomber .game-shell__hud {
    display: none !important;
}

.game-fullscreen #game-terminal-shell,
.game-fullscreen #game-boot-screen,
.game-fullscreen #hra-section .game-shell {
    display: flex;
}

.game-fullscreen {
    margin: 0 !important;
}

.game-fullscreen .panel {
    min-height: 100vh !important;
    height: 100vh !important;
    border-radius: 0;
    margin: 0;
    padding: .8rem;
}

#hra-section:fullscreen {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0;
}

#hra-section:fullscreen .panel {
    width: 100%;
    max-width: none;
    padding: 1rem;
}

@media (max-height: 860px) {
    #hra-section {
        --game-available-height: calc(100vh - 6.3rem);
    }
}

@media (max-width: 992px) {
    #game-skatulka-layout {
        flex-wrap: wrap;
    }

    #skatulka-hud {
        flex: 1 1 auto;
    }
}

#game-shell-strielacka .hra-stage-wrap {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #1a2f49 0%, #020408 65%);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(130, 196, 255, .25), 0 20px 36px rgba(0, 0, 0, .36);
    overflow: hidden;
}

#game-shell-auta .hra-stage-wrap {
    position: relative;
    background: radial-gradient(circle at 50% 18%, #141f37 0%, #03050a 70%);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(146, 190, 255, .24), 0 20px 36px rgba(0, 0, 0, .4);
    overflow: hidden;
}

#game-shell-auta .hra-canvas {
    image-rendering: auto;
}



.auta-countdown {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    font-family: var(--font-mono);
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 900;
    letter-spacing: .08em;
    color: #fff5b8;
    text-shadow: 0 0 14px rgba(255, 226, 140, .8), 0 10px 28px rgba(0, 0, 0, .72);
    pointer-events: none;
}

.auta-countdown--pop {
    animation: autaCountdownPop .9s ease-out both;
}

@keyframes autaCountdownPop {
    0% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
    15% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(.62); opacity: .96; }
}

.auta-finish {
    position: absolute;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    z-index: 4;
    min-width: 230px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 12px;
    background: rgba(7, 16, 28, .88);
    padding: .55rem .9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .42);
}

.auta-finish__title {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    letter-spacing: .12em;
    color: #fff8cf;
    font-weight: 800;
}

.auta-finish__subtitle {
    font-family: var(--font-mono);
    color: #d3e7ff;
    font-size: .84rem;
}


.auta-score-popups {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.auta-score-popup {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: .03em;
    padding: .28rem .65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(7, 18, 30, .85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    animation: autaScoreFloat 1.2s ease-out forwards;
    white-space: nowrap;
}

.auta-score-popup--monster {
    color: #8fffc2;
}

.auta-score-popup--collision {
    color: #ffd38d;
}

@keyframes autaScoreFloat {
    0% { transform: translate(-50%, -50%) scale(.8); opacity: 0; }
    15% { opacity: 1; }
    100% { transform: translate(-50%, -135%) scale(1.02); opacity: 0; }
}

.auta-hud {
    position: absolute;
    z-index: 3;
    color: #f2f6ff;
    font-family: var(--font-mono);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}

.auta-hud--position {
    top: .75rem;
    right: .8rem;
    background: rgba(7, 14, 23, .74);
    border: 1px solid rgba(198, 226, 255, .26);
    border-radius: 10px;
    padding: .45rem .6rem;
    font-weight: 700;
}

.auta-hud--speed {
    right: .75rem;
    bottom: .75rem;
}

.auta-hud--score {
    top: .75rem;
    left: .8rem;
    background: rgba(7, 14, 23, .74);
    border: 1px solid rgba(198, 226, 255, .26);
    border-radius: 10px;
    padding: .45rem .6rem;
    font-weight: 700;
    display: grid;
    gap: .2rem;
}

.auta-hud--rivals {
    left: .8rem;
    bottom: .75rem;
    min-width: 210px;
    background: rgba(7, 14, 23, .76);
    border: 1px solid rgba(198, 226, 255, .26);
    border-radius: 10px;
    padding: .45rem .6rem;
    font-weight: 600;
    font-size: .78rem;
}

.auta-rivals__title {
    color: #d8e6ff;
    margin-bottom: .2rem;
}

.auta-rivals__table {
    width: 100%;
    border-collapse: collapse;
}

.auta-rivals__table th,
.auta-rivals__table td {
    padding: .1rem 0;
    text-align: left;
}

.auta-rivals__table th:last-child,
.auta-rivals__table td:last-child {
    text-align: right;
    width: 3.2rem;
}

.auta-rival--player td {
    font-weight: 800;
    color: #ffd5d5;
    text-transform: uppercase;
}

.auta-rival {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.auta-rival__dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    flex-shrink: 0;
}

.auta-speedometer {
    --auta-speed-ratio: 0;
    --auta-speed-angle: -130deg;
    --auta-speed-fill-angle: 0deg;
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(108px, 13vw, 138px);
    aspect-ratio: 1;
    text-align: center;
    border-radius: 50%;
    padding: .78rem;
    overflow: hidden;
    border: 2px solid rgba(220, 238, 255, .42);
    background:
        radial-gradient(circle at 50% 58%, rgba(5, 13, 24, .94) 0 32%, transparent 33%),
        radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(139, 203, 255, .10) 55% 58%, transparent 59%),
        conic-gradient(from 220deg, rgba(136, 205, 255, .20), rgba(136, 205, 255, .78) var(--auta-speed-fill-angle), rgba(255, 255, 255, .08) 0 260deg, transparent 0),
        radial-gradient(circle at 30% 20%, rgba(41, 74, 108, .98), rgba(5, 12, 22, .98));
    box-shadow: 0 14px 28px rgba(0, 0, 0, .38), inset 0 0 20px rgba(116, 180, 255, .20), inset 0 0 0 5px rgba(255, 255, 255, .03);
    backdrop-filter: blur(3px);
}

.auta-speedometer__dial {
    position: absolute;
    inset: .56rem;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.auta-speedometer__dial::before,
.auta-speedometer__dial::after {
    position: absolute;
    bottom: 21%;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: rgba(226, 238, 255, .70);
    content: "0";
}

.auta-speedometer__dial::before {
    left: 8%;
}

.auta-speedometer__dial::after {
    right: 6%;
    content: "280";
}

.auta-speedometer__gear {
    position: absolute;
    top: 11%;
    left: 50%;
    transform: translateX(-50%);
    color: #63b3ed;
    font-size: .74rem;
    font-weight: 800;
    text-shadow: 0 0 6px rgba(99, 179, 237, .8);
}

.auta-speedometer__needle {
    position: absolute;
    bottom: 50%;
    left: 50%;
    z-index: 2;
    width: 3px;
    height: 32%;
    border-radius: 999px;
    background: linear-gradient(to top, #ffd1d1, #fc8181 35%, #ff4d6d);
    box-shadow: 0 0 8px rgba(252, 129, 129, .86);
    transform: translateX(-50%) rotate(var(--auta-speed-angle));
    transform-origin: bottom center;
    transition: transform .05s ease-out;
}

.auta-speedometer__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: .82rem;
    height: .82rem;
    border-radius: 50%;
    background: radial-gradient(circle, #f8fbff 0 38%, #9dd7ff 39% 62%, #1a3450 63%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 0 10px rgba(136, 205, 255, .48);
    transform: translate(-50%, -50%);
}

.auta-speedometer__readout {
    position: relative;
    z-index: 3;
    display: grid;
    gap: .08rem;
    margin-top: 2.95rem;
    padding: .18rem .42rem .2rem;
    border-radius: .7rem;
    background: rgba(3, 11, 22, .58);
    box-shadow: 0 0 0 1px rgba(136, 205, 255, .14), 0 6px 14px rgba(0, 0, 0, .28);
}

.auta-speedometer__label {
    font-size: .56rem;
    letter-spacing: .10em;
    opacity: .86;
}

.auta-speedometer__value {
    min-width: 2.35ch;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1;
    font-weight: 800;
    color: #88cdff;
}

.auta-speedometer__max {
    position: absolute;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: .52rem;
    letter-spacing: .10em;
    color: #d7e6f8;
    opacity: .78;
}

#game-shell-strielacka .hra-canvas {
    image-rendering: pixelated;
}

.strielacka-hud {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: .55rem;
    font-family: var(--font-mono);
}

.strielacka-hud__item {
    border: 1px solid rgba(130, 196, 255, .28);
    background: linear-gradient(180deg, rgba(9, 22, 37, .92) 0%, rgba(5, 14, 24, .82) 100%);
    border-radius: 9px;
    padding: .4rem .55rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

@media (max-width: 900px) {
    .strielacka-hud {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }
}


.strielacka-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: clamp(1.9rem, 4vw, 3.7rem);
    font-weight: 800;
    letter-spacing: .12em;
    color: #ffdf8a;
    text-shadow: 0 0 24px rgba(255, 155, 77, .45), 0 6px 18px rgba(0, 0, 0, .65);
    background: rgba(4, 9, 16, .22);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.strielacka-overlay-text.is-visible {
    opacity: 1;
}

.strielacka-life {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.strielacka-life__heart {
    color: #ff4c4c;
    font-size: 1.08rem;
}

.strielacka-life__bar {
    position: relative;
    flex: 1;
    min-width: 90px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 116, 116, .45);
    background: rgba(56, 10, 10, .7);
    overflow: hidden;
}

.strielacka-life__fill {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #ab1212 0%, #ff4040 100%);
    transition: width .2s ease;
}

.strielacka-ammo-indicator {
    position: absolute;
    right: .9rem;
    bottom: .65rem;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    color: #f4f6ff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
    font-family: var(--font-mono);
}

.strielacka-ammo-indicator__current {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    line-height: 1;
    font-weight: 800;
}

.strielacka-ammo-indicator__total {
    font-size: clamp(.9rem, 1.3vw, 1.2rem);
    line-height: 1.1;
    opacity: .85;
}

.release-countdown {
    border: 1px solid rgba(75,209,255,.22);
    border-radius: 16px;
    background: rgba(0,0,0,.18);
    padding: 14px;
    max-width: 520px;
}

.release-countdown__title {
    color: rgba(232,238,240,.88);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.release-countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.release-countdown__item {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(12,20,23,.66);
    text-align: center;
    padding: 10px 6px;
}

.release-countdown__value {
    font-family: var(--font-oswald);
    color: #f6fbff;
    font-size: clamp(1.15rem, 2.8vw, 1.5rem);
    line-height: 1;
    letter-spacing: .04em;
}

.release-countdown__label {
    margin-top: 6px;
    color: rgba(232,238,240,.72);
    font-size: .72rem;
    text-transform: uppercase;
}

.release-countdown--released .release-countdown__value {
    color: var(--amber);
    text-shadow: var(--glow-amber);
}

@media (max-width: 575.98px) {
    .release-countdown__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.quiz-detail {
    max-width: 980px;
    margin: 0 auto;
}

.quiz-hero {
    background: linear-gradient(135deg, rgba(8, 25, 44, .95), rgba(8, 8, 17, .96));
}

.quiz-result-header {
    background: linear-gradient(135deg, rgba(8, 25, 44, .95), rgba(8, 8, 17, .96));
}

.quiz-result-header__title {
    font-size: clamp(1.7rem, 3.8vw, 2.6rem);
    margin: 0;
}

.quiz-result-header__subtitle {
    margin-top: .45rem;
    color: #8ac8ff;
    font-size: 1.05rem;
    font-weight: 600;
}

.quiz-hero__eyebrow {
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8ac8ff;
    font-size: .8rem;
    margin-bottom: .6rem;
}

.quiz-hero__title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    margin-bottom: .9rem;
}

.quiz-hero__description {
    color: rgba(227, 236, 250, .82);
    font-size: 1.05rem;
    line-height: 1.6;
}

.quiz-hero__image-wrap {
    min-height: 340px;
    background: rgba(0, 0, 0, .3);
}

.quiz-hero__image,
.quiz-hero__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-hero__placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .85);
    font-size: 1.2rem;
}

.quiz-progress {
    margin-bottom: 1.25rem;
}

.quiz-progress__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: .45rem;
    color: rgba(220, 231, 248, .87);
    font-size: .92rem;
}

.quiz-step {
    display: none;
    opacity: 0;
    transform: translateX(22px) scale(.99);
}

.quiz-step.is-active {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: quiz-slide-in .35s ease;
}

.quiz-step.is-leaving-left,
.quiz-step.is-leaving-right {
    display: block;
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.quiz-step.is-leaving-left { animation: quiz-slide-left .24s ease; }
.quiz-step.is-leaving-right { animation: quiz-slide-right .24s ease; }

.quiz-questions {
    position: relative;
    min-height: 280px;
}

.quiz-options {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.quiz-option {
    display: block;
    border: 1px solid rgba(141, 184, 226, .25);
    border-radius: 12px;
    padding: .9rem 1rem;
    background: rgba(6, 20, 35, .45);
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.quiz-option:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 202, 255, .5);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .23);
}

.quiz-option__input {
    margin-right: .6rem;
}

.quiz-option:has(.quiz-option__input:checked) {
    border-color: rgba(108, 200, 255, .86);
    background: rgba(37, 84, 122, .45);
}

.quiz-option.is-selected {
    animation: answer-pulse .35s ease;
}

.quiz-option.is-correct {
    border-color: rgba(91, 225, 162, .8);
}

.quiz-option.is-wrong {
    border-color: rgba(248, 113, 113, .78);
}

.quiz-controls {
    margin-top: 1.2rem;
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
}

@keyframes quiz-slide-in {
    from { opacity: 0; transform: translateX(22px) scale(.99); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes quiz-slide-left {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-18px); }
}

@keyframes quiz-slide-right {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(18px); }
}

@keyframes answer-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); }
    100% { transform: scale(1); }
}

/* Archív '97 panelák hub */
.panelak-hub {
    padding: clamp(14px, 2.4vw, 24px);
}

.panelak-hub__scene {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 42px rgba(0, 0, 0, .45);
}

.panelak-hub__bg {
    display: block;
    width: 100%;
    height: auto;
}

.panelak-hub__lightning {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .08s linear;
    mix-blend-mode: screen;
}

.panelak-hub__lightning.is-flashing {
    opacity: .9;
}

.panelak-hub__basement-beam {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    mix-blend-mode: screen;
}

.panelak-hub__basement-beam.is-active {
    opacity: .88;
}

.panelak-hub__basement-link {
    position: absolute;
    display: block;
    border-radius: 8px;
}

.panelak-hub__basement-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
}

.panelak-hub__intercom-link {
    position: absolute;
    display: block;
    border-radius: 6px;
}

.panelak-hub__intercom-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
}

.panelak-hub__phone-link {
    position: absolute;
    display: block;
    border-radius: 10px;
    overflow: visible;
    text-decoration: none;
    transition: filter .2s ease;
}

.panelak-hub__phone-booth {
    position: absolute;
    left: var(--phone-visual-offset-x, 0);
    top: var(--phone-visual-offset-y, 0);
    width: var(--phone-visual-width, 100%);
    height: var(--phone-visual-height, 100%);
    display: block;
    object-fit: contain;
    pointer-events: none;
    transition: opacity .22s ease;
}

.panelak-hub__phone-booth--off {
    opacity: 1;
}

.panelak-hub__phone-booth--on {
    opacity: 0;
}

.panelak-hub__phone-link:hover,
.panelak-hub__phone-link.is-preview,
.panelak-hub__phone-link:focus-visible {
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .45));
}

.panelak-hub__phone-link:hover .panelak-hub__phone-booth--off,
.panelak-hub__phone-link.is-preview .panelak-hub__phone-booth--off,
.panelak-hub__phone-link:focus-visible .panelak-hub__phone-booth--off {
    opacity: 0;
}

.panelak-hub__phone-link:hover .panelak-hub__phone-booth--on,
.panelak-hub__phone-link.is-preview .panelak-hub__phone-booth--on,
.panelak-hub__phone-link:focus-visible .panelak-hub__phone-booth--on {
    opacity: 1;
}

.panelak-hub__phone-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
}

.panelak-hub__tamagochi-link {
    position: absolute;
    display: block;
    border-radius: 6px;
    transition: filter .2s ease, transform .2s ease;
}

.panelak-hub__tamagochi {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.panelak-hub__tamagochi-link:hover,
.panelak-hub__tamagochi-link.is-preview,
.panelak-hub__tamagochi-link:focus-visible {
    filter: brightness(1.35);
    transform: scale(1.04);
}

.panelak-hub__tamagochi-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
}

.panelak-hub__room-link {
    position: absolute;
    display: block;
    overflow: hidden;
    border-radius: 10px;    
    transform-origin: center;
}

.panelak-hub__room {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .42s ease, transform .42s ease;
}

.panelak-hub__room--empty {
    opacity: 0;
}

.panelak-hub__room--martin {
    opacity: 0;
    transition-delay: .12s;
}

.panelak-hub__room-link:hover .panelak-hub__room--empty,
.panelak-hub__room-link.is-preview .panelak-hub__room--empty,
.panelak-hub__room-link:focus-visible .panelak-hub__room--empty {
    opacity: 1;
}

.panelak-hub__room-link:hover .panelak-hub__room--martin,
.panelak-hub__room-link.is-preview .panelak-hub__room--martin,
.panelak-hub__room-link:focus-visible .panelak-hub__room--martin {
    opacity: 1;
    transform: scale(1.01);
}

.panelak-hub__room-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
}

.panelak-hub__apartment-link {
    position: absolute;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.panelak-hub__apartment {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    transition: opacity .42s ease, transform .42s ease;
}

.panelak-hub__apartment--empty,
.panelak-hub__apartment--present {
    transform-origin: center;
}

.panelak-hub__apartment-link:hover .panelak-hub__apartment,
.panelak-hub__apartment-link.is-preview .panelak-hub__apartment,
.panelak-hub__apartment-link:focus-visible .panelak-hub__apartment {
    transform: scale(1.01);
}

.panelak-hub__apartment-link:hover .panelak-hub__apartment--empty,
.panelak-hub__apartment-link.is-preview .panelak-hub__apartment--empty,
.panelak-hub__apartment-link:focus-visible .panelak-hub__apartment--empty {
    opacity: 1;
}

.panelak-hub__apartment-link.is-present:hover .panelak-hub__apartment--empty,
.panelak-hub__apartment-link.is-present.is-preview .panelak-hub__apartment--empty,
.panelak-hub__apartment-link.is-present:focus-visible .panelak-hub__apartment--empty {
    opacity: 0;
}

.panelak-hub__apartment-link.is-present:hover .panelak-hub__apartment--present,
.panelak-hub__apartment-link.is-present.is-preview .panelak-hub__apartment--present,
.panelak-hub__apartment-link.is-present:focus-visible .panelak-hub__apartment--present {
    opacity: 1;
}

.panelak-hub__apartment-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
}

.panelak-hub__lamp-link {
    position: absolute;
    display: block;
    opacity: .85;
    mix-blend-mode: normal;
    animation: panelak-lamp-flicker 8.5s linear infinite;
}

.panelak-hub__lamp-link.is-paused {
    animation: none;
    opacity: .85;
}

.panelak-hub__lamp-off {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;    
}

.panelak-hub__lamp-link:hover,
.panelak-hub__lamp-link.is-preview,
.panelak-hub__lamp-link:focus-visible {
    animation-duration: 4.4s;
    opacity: 1;
}

.panelak-hub__lamp-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
    border-radius: 10px;
}

.panelak-hub__mixtape-link {
    position: absolute;
    display: block;
    opacity: var(--mixtape-opacity, .06);
    transition: opacity .2s linear;
}

.panelak-hub__mixtape,
.panelak-hub__mixtape-notes,
.panelak-hub__roof-luna {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panelak-hub__mixtape-notes {
    position: absolute;
    left: var(--notes-offset-x, 0);
    top: var(--notes-offset-y, 0);
    width: var(--notes-width, 100%);
    height: var(--notes-height, 100%);
    opacity: .8;
    animation: panelak-notes-pulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

.panelak-hub__mixtape-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
    border-radius: 8px;
}

.panelak-hub__mixtape-link.is-preview {
    --mixtape-opacity: 1;
}

.panelak-hub__roof-luna-link {
    position: absolute;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}

.panelak-hub__roof-luna-link.is-active {
    opacity: 1;
    pointer-events: auto;
}

.panelak-hub__roof-luna-link:focus-visible {
    outline: 2px solid rgba(146, 190, 255, .85);
    outline-offset: 2px;
    border-radius: 6px;
}

@keyframes panelak-lamp-flicker {
    0%, 8%, 12%, 16%, 24%, 38%, 52%, 63%, 74%, 88%, 100% { opacity: 0; }
    3%, 10%, 14%, 20%, 30%, 46%, 57%, 68%, 79%, 92% { opacity: .9; }
    11%, 21%, 47%, 69% { opacity: .2; }
}

@keyframes panelak-notes-pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.045); }
}

@media (hover: none), (pointer: coarse) {
    .panelak-hub__room,
    .panelak-hub__apartment {
        transition-duration: .26s;
    }

    .panelak-hub__mixtape-link {
        transition-duration: .16s;
    }
}

@media (hover: hover) and (pointer: fine) {
    .panelak-hub__room-link:not(:hover):not(:focus-visible):not(.is-preview) .panelak-hub__room--empty,
    .panelak-hub__room-link:not(:hover):not(:focus-visible):not(.is-preview) .panelak-hub__room--martin,
    .panelak-hub__apartment-link:not(:hover):not(:focus-visible):not(.is-preview) .panelak-hub__apartment {
        opacity: 0;
    }
}

.mixtape-luna {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: radial-gradient(circle at 15% 10%, rgba(255, 255, 255, .1), transparent 45%), #0e1118;
    box-shadow: 0 26px 44px rgba(0, 0, 0, .45);
}

.mixtape-luna__bg {
    position: absolute;
    inset: 0;
    opacity: .22;
    pointer-events: none;
}

.comic-page__panel-wrap {
    max-width: 980px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
}

.comic-page__image-wrap {
    background: rgba(0, 0, 0, .28);
    border-radius: 1rem;
    padding: clamp(8px, 1.4vw, 14px);
    height: min(72dvh, calc(100dvh - 260px));
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.comic-page__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.mixtape-luna__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) saturate(1.08);
    transform: scale(1.05);
}

.mixtape-luna__content {
    position: relative;
    z-index: 1;
    padding: clamp(1rem, 2.2vw, 1.6rem);
}

.mixtape-luna__hero {
    width: min(100%, 760px);
    max-height: 340px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .42);
}

.mixtape-luna p {
    max-width: 78ch;
    margin: 0 auto 1rem;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
}

.mixtape-luna__spotify {
    max-width: 840px;
    margin: .25rem auto 0;
}

.luna-page__hero {
    position: relative;
    overflow: hidden;
}

.luna-page__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .52), rgba(0, 0, 0, 0) 55%);
    pointer-events: none;
}

.luna-page__hero-image {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
}

.luna-page__hero-overlay {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
}

.luna-trailers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.luna-trailers-grid--few {
    grid-template-columns: repeat(auto-fit, minmax(220px, min(360px, 100%)));
    justify-content: center;
}

.luna-trailer-card {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.luna-trailer-card__frame-wrap {
    aspect-ratio: 9 / 16;
    background: #060709;
}

.luna-trailers-grid--few .luna-trailer-card__frame-wrap {
    max-height: min(100svh, 760px);
}

.luna-trailer-card__frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.luna-trailer-card__body {
    padding: .85rem;
}

.character-comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .9rem;
}

.character-comic-card {
    display: block;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(5, 8, 14, .7);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.character-comic-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .28);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .24);
}

.character-comic-card__thumb {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 60svh;
    max-height: 60dvh;
    object-fit: cover;
    display: block;
    filter: saturate(.50) brightness(.68) contrast(.82);
    transition: filter .22s ease;
}

.character-comic-card:hover .character-comic-card__thumb,
.character-comic-card:focus-visible .character-comic-card__thumb {
    filter: none;
}

.character-comic-card__title {
    display: block;
    padding: .65rem .75rem .75rem;
    color: #fff;
    font-weight: 600;
}

.character-profile {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: #0e1118;
    box-shadow: 0 24px 44px rgba(0, 0, 0, .36);
}

.character-profile__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.03) brightness(.72);
}

.character-profile__paper {
    position: absolute;
    right: clamp(8px, 1.5vw, 20px);
    top: clamp(8px, 1.5vw, 20px);
    width: min(180px, 34vw);
    opacity: .55;
    pointer-events: none;
}

.character-profile__card {
    position: relative;
    z-index: 1;
    padding: clamp(1rem, 2.3vw, 1.8rem);
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: clamp(1rem, 2.4vw, 1.8rem);
    align-items: center;
    background: linear-gradient(100deg, rgba(5, 8, 14, .74), rgba(8, 11, 16, .88) 42%, rgba(5, 8, 14, .84));
}

.character-profile__bg-showcase {
    position: relative;
    isolation: isolate;
    min-height: clamp(180px, 28vw, 280px);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.character-profile__bg-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 11, 16, .96) 0%, rgba(8, 11, 16, .58) 26%, rgba(8, 11, 16, .1) 64%, rgba(8, 11, 16, .28) 100%);
    pointer-events: none;
}

.character-profile__bg-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.01);
}

.character-profile__portrait {
    width: 100%;
    max-width: 280px;
    justify-self: center;
    border-radius: 12px;
    border: 6px solid #f4eee1;
    box-shadow: 0 16px 28px rgba(0, 0, 0, .45);
    transform: rotate(2.4deg);
}

.character-profile__portrait--tilt-left {
    transform: rotate(-2.6deg);
}

.character-profile__meta {
    color: rgba(255, 255, 255, .94);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.character-profile__meta p {
    max-width: 72ch;
}

.character-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.character-profile__quote {
    margin: 0 0 .9rem;
    padding: .8rem 1rem;
    border-left: 3px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .08);
    border-radius: 8px;
    font-style: italic;
}

.character-profile__list {
    margin: 0;
    padding-left: 1.1rem;
}

.character-profile__list a {
    color: #f6e8a0;
}

@media (max-width: 991.98px) {
    .character-profile__card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .character-profile__portrait {
        width: min(72vw, 280px);
    }
}

.horoscope-card {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(21, 25, 37, .92), rgba(12, 15, 24, .94));
    box-shadow: 0 20px 36px rgba(0, 0, 0, .35);
}

.tamipet-panel {
    padding: clamp(0.75rem, 2vw, 1.5rem);
}

.tamipet-console {
    position: relative;
    max-width: 973px;
    margin: 0 auto;
}

.tamipet-console__image {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
}

.tamipet-console__image--pressed {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transition: opacity 80ms linear;
}

.tamipet-console__image--pressed.is-active {
    opacity: 1;
}

.tamipet-display,
.tamipet-action {
    position: absolute;
    left: calc(var(--x) / 973 * 100%);
    top: calc(var(--y) / 1356 * 100%);
    width: calc(var(--w) / 973 * 100%);
    height: calc(var(--h) / 1356 * 100%);
}

.tamipet-display {
    padding: 2%;
}

.tamipet-display__frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #d8d4c8, #c8c2b4);
    border: 2px solid #8a806f;
    box-shadow: inset 0 0 0 1px #e8e0cf;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    justify-content: space-between;
    padding: clamp(0.3rem, 1.2vw, 0.65rem);
}

.tamipet-screen {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
    align-items: stretch;
    min-height: 0;
}

.tamipet-grid {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: repeat(24, 1fr);
    gap: 1px;
    background: #b6ab96;
    padding: 4px;
    border: 1px solid #8f846f;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.tamipet-pixel {
    background: #d6cdbd;
    aspect-ratio: 1 / 1;
}

.tamipet-pixel.is-on {
    background: #5c4b34;
}

.tamipet-pixel.is-invert {
    background: #d6cdbd;
}


.tamipet-stats {
    width: clamp(3.1rem, 10vw, 4.2rem);
    border: 1px solid #8f846f;
    background: #d6cdbd;
    padding: 0.3rem 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
}

.tamipet-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    white-space: nowrap;
    color: #5c4b34;
    font-family: 'Digital-7 Mono', 'DS-Digital', 'VT323', 'Courier New', monospace;
    font-size: clamp(0.48rem, 1vw, 0.75rem);
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.tamipet-stat + .tamipet-stat {
    margin-top: 0.95em;
}

.tamipet-stat__label,
.tamipet-stat__value {
    display: block;
}

.tamipet-stat__label {
    font-weight: 700;
}

.tamipet-stat__value {
    font-size: clamp(0.58rem, 1.2vw, 0.9rem);
}

.tamipet-display__status {
    color: #5c4b34;
    font-family: 'Press Start 2P', 'VT323', 'Courier New', monospace;
    font-size: clamp(0.38rem, 0.9vw, 0.58rem);
    line-height: 1.5;
    text-transform: uppercase;
    margin-top: auto;
}

.tamipet-action {
    border: none;
    background: transparent;
    color: transparent;
    cursor: pointer;
    border-radius: 999px;
}

.tamipet-action:focus-visible {
    outline: 2px solid #ecf6ff;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(34, 139, 230, 0.55);
}

.tamipet-action:disabled {
    cursor: not-allowed;
}

@media (max-width: 520px) {
    .tamipet-display__status {
        font-size: 0.34rem;
    }

    .tamipet-stats {
        width: 2.2rem;
        padding: 0.22rem 0.16rem;
    }
}

.panelak-hub__tetris-link {
    position: absolute;
    display: block;
    z-index: 10;
    border-radius: 0.45rem;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.panelak-hub__tetris {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.panelak-hub__tetris-link:hover,
.panelak-hub__tetris-link.is-preview,
.panelak-hub__tetris-link:focus-visible {
    transform: translateY(-1px) scale(1.03);
    filter: drop-shadow(0 0 8px rgba(154, 116, 255, 0.6));
}

.tetris-console {
    position: relative;
    max-width: 560px;
    margin-inline: auto;
    padding: 0;
    overflow: visible;
    --asset-width: 691;
    --asset-height: 1536;
}

.tetris-console__image {
    width: 100%;
    height: auto;
    display: block;
}

.tetris-console__display {
    position: absolute;
    left: calc((196 / var(--asset-width)) * 100%);
    top: calc((184 / var(--asset-height)) * 100%);
    width: calc((298 / var(--asset-width)) * 100%);
    height: calc((420 / var(--asset-height)) * 100%);
    background: #9a9f7f;
    overflow: hidden;
    border-radius: 0.2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.45fr);
    align-items: stretch;
    column-gap: 0.08rem;
    padding: 0.18rem 0.18rem 0.16rem;
}

.tetris-console__display #skatulka-canvas {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
    justify-self: stretch;
    align-self: stretch;
}


.tetris-console__controls {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.tetris-console__btn {
    position: absolute;
    border: 0;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    touch-action: manipulation;    
}

.tetris-console__btn:focus-visible {
    outline: 2px solid rgba(121, 232, 255, 0.9);
    outline-offset: 2px;
    background: rgba(80, 220, 255, 0.2);
}

.tetris-console__btn[data-skatulka-action="start-pause"] { left: calc((326 / var(--asset-width)) * 100%); top: calc((839 / var(--asset-height)) * 100%); width: calc((43 / var(--asset-width)) * 100%); height: calc((45 / var(--asset-height)) * 100%); }
.tetris-console__btn[data-skatulka-action="reset"] { left: calc((447 / var(--asset-width)) * 100%); top: calc((841 / var(--asset-height)) * 100%); width: calc((43 / var(--asset-width)) * 100%); height: calc((45 / var(--asset-height)) * 100%); }
.tetris-console__btn[data-skatulka-action="up"] { left: calc((171 / var(--asset-width)) * 100%); top: calc((970 / var(--asset-height)) * 100%); width: calc((67 / var(--asset-width)) * 100%); height: calc((69 / var(--asset-height)) * 100%); }
.tetris-console__btn[data-skatulka-action="down"] { left: calc((171 / var(--asset-width)) * 100%); top: calc((1098 / var(--asset-height)) * 100%); width: calc((67 / var(--asset-width)) * 100%); height: calc((69 / var(--asset-height)) * 100%); }
.tetris-console__btn[data-skatulka-action="left"] { left: calc((108 / var(--asset-width)) * 100%); top: calc((1035 / var(--asset-height)) * 100%); width: calc((67 / var(--asset-width)) * 100%); height: calc((69 / var(--asset-height)) * 100%); }
.tetris-console__btn[data-skatulka-action="right"] { left: calc((239 / var(--asset-width)) * 100%); top: calc((1035 / var(--asset-height)) * 100%); width: calc((67 / var(--asset-width)) * 100%); height: calc((69 / var(--asset-height)) * 100%); }
.tetris-console__btn[data-skatulka-action="rotate"] { left: calc((480 / var(--asset-width)) * 100%); top: calc((953 / var(--asset-height)) * 100%); width: calc((81 / var(--asset-width)) * 100%); height: calc((84 / var(--asset-height)) * 100%); }
.tetris-console__btn[data-skatulka-action="sound"] { left: calc((479 / var(--asset-width)) * 100%); top: calc((1107 / var(--asset-height)) * 100%); width: calc((81 / var(--asset-width)) * 100%); height: calc((84 / var(--asset-height)) * 100%); }
.tetris-console__hud {
    margin-left:0.50rem;
    position: static;
    z-index: 2;
    display: grid;
    align-content: start;
    gap: 0.18rem;
    color: #1b1f13;
    font-family: "Share Tech Mono", "Courier New", monospace;
    font-size: clamp(0.52rem, 1.5vw, 0.66rem);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(221, 226, 196, 0.58);
    pointer-events: none;
}

.auta-touch-controls {
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .85rem;
    z-index: 7;
    display: none;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.auta-touch-controls__steer,
.auta-touch-controls__pedals {
    display: flex;
    gap: .55rem;
    pointer-events: auto;
}

.auta-touch-controls__pedals {
    flex-direction: column;
}

.auta-touch-btn {
    width: clamp(54px, 15vw, 76px);
    height: clamp(54px, 15vw, 76px);
    border-radius: 18px;
    border: 1px solid rgba(220, 238, 255, .52);
    background: linear-gradient(180deg, rgba(19, 42, 72, .88), rgba(8, 17, 31, .92));
    color: #f3f8ff;
    font-family: var(--font-mono);
    font-size: clamp(1.6rem, 7vw, 2.25rem);
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .42), inset 0 0 18px rgba(111, 184, 255, .12);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.auta-touch-btn--gas {
    color: #b8ffcf;
}

.auta-touch-btn--brake {
    color: #ffd0d0;
}

.auta-touch-btn.is-pressed,
.auta-touch-btn:active {
    transform: translateY(2px) scale(.97);
    background: linear-gradient(180deg, rgba(55, 105, 160, .94), rgba(13, 32, 57, .96));
    box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 0 22px rgba(154, 210, 255, .28);
}

@media (hover: none), (pointer: coarse), (max-width: 820px) {
    #game-shell-auta .auta-touch-controls {
        display: flex;
    }

    #game-shell-auta .auta-hud--rivals {
        display: none;
    }

    #game-shell-auta .auta-hud--speed {
        top: 3.15rem;
        right: .45rem;
        bottom: auto;
    }

    #game-shell-auta .auta-speedometer {
        display: inline-flex;
        align-items: baseline;
        gap: .28rem;
        width: auto;
        min-width: 4.7rem;
        aspect-ratio: auto;
        border-radius: 999px;
        padding: .28rem .45rem;
        border-width: 1px;
        background: rgba(6, 13, 21, .86);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .34);
    }

    #game-shell-auta .auta-speedometer__dial,
    #game-shell-auta .auta-speedometer__max {
        display: none;
    }

    #game-shell-auta .auta-speedometer__readout {
        display: contents;
        margin-top: 0;
    }

    #game-shell-auta .auta-speedometer__value {
        order: 1;
        font-size: clamp(1rem, 4vw, 1.35rem);
    }

    #game-shell-auta .auta-speedometer__label {
        order: 2;
        font-size: clamp(.62rem, 2.4vw, .74rem);
        letter-spacing: .06em;
    }
}

/* Archív '97 sections */
.under-lamp-scene {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(380px, 1.15fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid rgba(246, 232, 160, .18);
    border-radius: 22px;
    background: radial-gradient(circle at 22% 38%, rgba(246, 232, 160, .1), transparent 34%), #070b12;
    box-shadow: 0 28px 60px rgba(0, 0, 0, .42);
}

.under-lamp-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/archive97/pod-lampou.webp") center / cover no-repeat;
    opacity: .16;
    filter: saturate(.65) contrast(.9);
    pointer-events: none;
}

.under-lamp-scene::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 58%;
    background: linear-gradient(90deg, transparent 70%, #070b12);
    pointer-events: none;
}

.under-lamp-scene__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    object-position: center bottom;
    filter: contrast(1.06) saturate(1.04);
}

.under-lamp-find {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(246, 232, 160, .38);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(19, 24, 31, .93), rgba(7, 10, 16, .97));
    box-shadow: 0 24px 54px rgba(0, 0, 0, .58), 0 0 42px rgba(246, 232, 160, .1);
    font-size: 1.05rem;
    line-height: 1.7;
}

.under-lamp-find__eyebrow {
    display: block;
    margin-bottom: .75rem;
    color: #f6e8a0;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.under-lamp-find__title {
    margin-bottom: 1.25rem;
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
}

.under-lamp-find strong {
    color: #f6e8a0;
}

.under-lamp-find__code {
    display: inline-block;
    margin: .15rem 0;
    padding: .2rem .55rem;
    border: 1px dashed rgba(246, 232, 160, .58);
    border-radius: 6px;
    background: rgba(246, 232, 160, .08);
    font-family: monospace;
    font-size: 1.15em;
    letter-spacing: .08em;
}

.under-lamp-find__cta {
    margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
    .under-lamp-scene {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .under-lamp-scene::after {
        inset: 0 0 auto;
        width: 100%;
        height: min(150vw, 720px);
        background: linear-gradient(180deg, transparent 78%, #070b12);
    }

    .under-lamp-scene__image {
        max-height: none;
    }

    .under-lamp-find {
        width: calc(100% - 2rem);
        margin: -1.5rem 1rem 1rem;
        font-size: 1rem;
    }
}

.archive97-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .8rem;
}

/* Archív '97 collector cards */
.collector-cards-page {
    --collector-gold: #f6e8a0;
    --collector-coral: #ff7a59;
}

.collector-cards-kicker,
.collector-status {
    display: inline-block;
    color: var(--collector-gold);
    font-family: "Share Tech Mono", monospace;
    font-size: .82rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.collector-challenge {
    display: grid;
    grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4.5rem);
    overflow: hidden;
    padding: clamp(1.25rem, 4vw, 3.5rem);
    border: 1px solid rgba(246, 232, 160, .2);
    border-radius: 28px;
    background:
        radial-gradient(circle at 14% 20%, rgba(246, 232, 160, .12), transparent 33%),
        linear-gradient(135deg, rgba(24, 31, 44, .96), rgba(7, 10, 17, .98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
}

.collector-card {
    width: min(100%, 360px);
    margin-inline: auto;
    perspective: 1300px;
}

.collector-card__inner {
    position: relative;
    aspect-ratio: 3 / 4.25;
    transform-style: preserve-3d;
    transition: transform 1.65s cubic-bezier(.18, .72, .22, 1);
}

.collector-card.is-revealed .collector-card__inner {
    transform: rotateY(180deg);
}

.collector-card__face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 20px;
    backface-visibility: hidden;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .5);
}

    .collector-card__face img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.collector-album-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4.25;
    object-fit: cover;
}

.collector-card__front {
    transform: rotateY(180deg);
}

.collector-challenge__copy h2 {
    max-width: 760px;
    margin: .75rem 0 1rem;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    line-height: 1.08;
}

.collector-challenge__copy {
    display: grid;
    align-items: center;
}

.collector-challenge__state {
    grid-area: 1 / 1;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition:
        opacity .42s ease,
        transform .42s ease,
        visibility 0s linear .42s;
}

.collector-challenge__state.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.collector-challenge__state--question:not(.is-active) {
    transform: translateY(-10px);
}

.collector-challenge__copy p {
    max-width: 620px;
    color: rgba(255, 255, 255, .74);
}

.collector-status--success {
    color: #9fe5ba;
}

.collector-answer-form {
    max-width: 620px;
    margin-top: 1.4rem;
}

.collector-answer-row {
    display: flex;
    gap: .65rem;
}

.collector-answer-row .form-control {
    min-height: 52px;
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
    background: rgba(0, 0, 0, .28);
}

.collector-answer-row .form-control::placeholder {
    color: rgba(255, 255, 255, .48);
}

.collector-answer-row button:disabled {
    cursor: wait;
    opacity: .72;
}

.collector-answer-feedback {
    margin: .75rem 0 0;
    color: #ffc2b4 !important;
}

.collector-account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.collector-login-link {
    color: rgba(255, 255, 255, .78);
    text-underline-offset: .2em;
}

.collector-album {
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    background: rgba(8, 11, 18, .72);
}

.collector-album__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.collector-album__heading h2 {
    margin: .2rem 0 0;
    color: #fff;
}

.collector-album__heading strong {
    color: var(--collector-gold);
    font-family: "Share Tech Mono", monospace;
    font-size: 1.25rem;
}

.collector-album__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(.6rem, 1.5vw, 1rem);
}

.collector-album-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
    transition: transform .24s cubic-bezier(.2, .7, .2, 1);
}
.collector-album-card:hover,
.collector-album-card:focus-visible,
.collector-album-card.is-selected {
    color: inherit;
    transform: translateY(-4px);
}

.collector-album-card:focus-visible {
    outline: none;
}

.collector-album-card img {
    aspect-ratio: 3 / 4.25;
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .34));
    transition: filter .24s ease;
}

.collector-album-card.is-locked img {
    filter: grayscale(.35) brightness(.4) drop-shadow(0 12px 14px rgba(0, 0, 0, .3));
}

.collector-album-card:hover img,
.collector-album-card:focus-visible img,
.collector-album-card.is-selected img {
    filter:
        drop-shadow(0 16px 18px rgba(0, 0, 0, .42))
        drop-shadow(0 0 11px rgba(246, 232, 160, .2));
}

.collector-album-card.is-locked:hover img,
.collector-album-card.is-locked:focus-visible img,
.collector-album-card.is-locked.is-selected img {
    filter:
        grayscale(.28)
        brightness(.48)
        drop-shadow(0 16px 18px rgba(0, 0, 0, .4))
        drop-shadow(0 0 10px rgba(246, 232, 160, .16));
}

.collector-album-card span,
.collector-album-card small {
    display: block;
    padding-inline: .55rem;
}

.collector-album-card span {
    padding-top: .55rem;
    color: #fff;
    font-weight: 700;
}

.collector-album-card small {
    min-height: 2.4rem;
    padding-top: .1rem;
    padding-bottom: .55rem;
    color: rgba(255, 255, 255, .55);
}

.collector-unreleased {
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid rgba(246, 232, 160, .2);
    border-radius: 28px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(246, 232, 160, .1), transparent 44%),
        linear-gradient(135deg, rgba(24, 31, 44, .96), rgba(7, 10, 17, .98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

.collector-unreleased h2 {
    margin: .65rem 0 0;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
}

@media (prefers-reduced-motion: reduce) {
    .collector-card__inner {
        transition-duration: .01ms;
    }

    .collector-challenge__state {
        transition-duration: .01ms;
    }
}

@media (max-width: 991.98px) {
    .collector-album__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .collector-challenge {
        grid-template-columns: 1fr;
    }

    .collector-card {
        width: min(72vw, 330px);
    }

    .collector-answer-row {
        flex-direction: column;
    }

    .collector-album__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .collector-album__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.archive97-tab {
    position: relative;
    overflow: hidden;
    min-height: 104px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    background: linear-gradient(135deg, rgba(24, 31, 44, .88), rgba(10, 14, 22, .92));
    box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.archive97-tab::before {
    content: "";
    position: absolute;
    inset: auto 1rem 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #f6e8a0, #ff7a59);
    opacity: .32;
}

.archive97-tab:hover,
.archive97-tab:focus-visible,
.archive97-tab.is-active {
    color: #fff;
    border-color: rgba(246, 232, 160, .48);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .38), 0 0 26px rgba(246, 232, 160, .08);
    transform: translateY(-2px);
}

.archive97-tab.is-active::before {
    opacity: 1;
}

.archive97-tab__title,
.archive97-tab__desc {
    position: relative;
    z-index: 1;
    display: block;
}

.archive97-tab__title {
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.archive97-tab__desc {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .66);
    font-size: .92rem;
}

.archive97-character-grid,
.leto97-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.archive97-character-card,
.leto97-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(19, 25, 36, .94), rgba(8, 11, 18, .96));
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .3);
    transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

.archive97-character-card:hover,
.archive97-character-card:focus-visible,
.leto97-card:hover,
.leto97-card:focus-visible {
    color: #fff;
    border-color: rgba(246, 232, 160, .45);
    transform: translateY(-3px);
}

.archive97-character-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    filter: saturate(.9) contrast(1.02);
}

.archive97-character-card__body,
.leto97-card__body {
    display: block;
    padding: .9rem;
}

.archive97-character-card__name,
.leto97-card__title {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
}

.archive97-character-card__role {
    display: block;
    margin-top: .25rem;
    color: rgba(255, 255, 255, .68);
    font-size: .92rem;
}

.archive97-character-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .75rem;
    color: #f6e8a0;
    font-family: "Share Tech Mono", monospace;
    font-size: .8rem;
}

.archive97-intro-panel {
    border-color: rgba(246, 232, 160, .18);
}

.leto97-page-backdrop,
.leto97-episode-page {
    position: relative;
    isolation: isolate;
}

.leto97-page-backdrop::before,
.leto97-episode-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 7, 12, .38), rgba(5, 7, 12, .78) 50%, rgba(5, 7, 12, .98)),
        radial-gradient(circle at 22% 14%, rgba(246, 232, 160, .24), transparent 31%),
        url('/img/autumn97/leto-97-hero.jpg') center top / cover no-repeat;
    opacity: .72;
    filter: saturate(.82) contrast(1.05);
}

.leto97-logo-hero {
    position: relative;
    width: 100%;
    min-height: clamp(300px, 45vw, 520px);
    margin: 0 0 1.75rem;
    overflow: hidden;
    display: grid;
    place-items: center;
    isolation: isolate;
    border: 1px solid rgba(246, 232, 160, .2);
    border-radius: clamp(26px, 5vw, 46px);
    background:
        radial-gradient(circle at 18% 12%, rgba(246, 232, 160, .24), transparent 28%),
        radial-gradient(circle at 78% 78%, rgba(248, 141, 79, .18), transparent 30%),
        linear-gradient(135deg, rgba(5, 7, 12, .84), rgba(35, 27, 21, .46) 48%, rgba(5, 7, 12, .9)),
        url('/img/summer97/leto97.webp') center 46% / cover no-repeat;
    box-shadow:
        0 34px 80px rgba(0, 0, 0, .46),
        inset 0 1px 0 rgba(255, 255, 255, .16),
        inset 0 -34px 90px rgba(5, 7, 12, .78);
}

.leto97-logo-hero::before,
.leto97-logo-hero::after,
.leto97-logo-hero__frame::before,
.leto97-logo-hero__frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.leto97-logo-hero::before {
    inset: -18%;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 42%, rgba(246, 232, 160, .25), transparent 24%),
        linear-gradient(90deg, rgba(5, 7, 12, .68), transparent 28%, transparent 72%, rgba(5, 7, 12, .72));
    backdrop-filter: blur(10px) saturate(.94);
    transform: scale(1.04);
}

.leto97-logo-hero::after {
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 7, 12, .72), transparent 22%, transparent 64%, rgba(5, 7, 12, .92)),
        linear-gradient(90deg, rgba(5, 7, 12, .78), transparent 20%, transparent 80%, rgba(5, 7, 12, .82));
}

.leto97-logo-hero__frame {
    position: relative;
    z-index: 1;
    width: min(88vw, 820px);
    aspect-ratio: 941 / 555;
    display: grid;
    place-items: center;
    padding: clamp(.7rem, 2.2vw, 1.35rem);
    overflow: hidden;
    border: 1px solid rgba(246, 232, 160, .28);
    border-radius: clamp(24px, 4vw, 40px);
    background: rgba(255, 239, 183, .06);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, .58),
        0 0 42px rgba(246, 232, 160, .14),
        inset 0 0 34px rgba(255, 245, 196, .08);
    transform: rotate(-.45deg);
}

.leto97-logo-hero__frame::before {
    inset: -18px;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .1), transparent 18%, transparent 82%, rgba(255, 255, 255, .08)),
        radial-gradient(circle at 50% 50%, transparent 58%, rgba(5, 7, 12, .5) 78%);
    filter: blur(12px);
}

.leto97-logo-hero__frame::after {
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: calc(clamp(24px, 4vw, 40px) - 8px);
    box-shadow: inset 0 0 26px rgba(246, 232, 160, .1);
}

.leto97-logo-hero__mark {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    border-radius: calc(clamp(24px, 4vw, 40px) - 12px);
    filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .56));
    mask-image: radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, .78) 72%, transparent 100%);
}

.leto97-logo-hero img {
    position: absolute;
    left: 0;
    top: -41.261%;
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    filter: saturate(1.12) contrast(1.08) brightness(1.02);
}

.leto97-theme-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 250px);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid rgba(246, 232, 160, .2);
    border-radius: 26px;
    background:
        radial-gradient(circle at 18% 12%, rgba(246, 232, 160, .16), transparent 26%),
        linear-gradient(135deg, rgba(14, 18, 28, .92), rgba(26, 20, 18, .82));
    box-shadow: 0 24px 55px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.leto97-theme-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(246, 232, 160, .08), transparent 38%, rgba(248, 141, 79, .08));
    pointer-events: none;
}

.leto97-theme-card > * {
    position: relative;
    z-index: 1;
}

.leto97-theme-card__title {
    margin-bottom: .65rem;
    color: #fff8dc;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 2.15rem);
}

.leto97-theme-card__copy {
    color: rgba(255, 255, 255, .78);
}

.leto97-theme-card__video {
    width: min(100%, 250px);
    justify-self: end;
}

.leto97-episode-page::before {
    background:
        linear-gradient(90deg, rgba(5, 7, 12, .95) 0%, rgba(5, 7, 12, .74) 46%, rgba(5, 7, 12, .95) 100%),
        linear-gradient(180deg, rgba(5, 7, 12, .45), rgba(5, 7, 12, .96) 72%),
        var(--leto97-episode-image) center / cover no-repeat;
    opacity: .7;
    filter: saturate(.86) contrast(1.08) blur(.2px);
}

.leto97-background-note {
    max-width: 760px;
    padding: 0 0 .25rem;
    color: rgba(255, 255, 255, .78);
}

.leto97-background-note__eyebrow {
    display: inline-block;
    margin-bottom: .45rem;
    color: #f6e8a0;
    font-family: "Share Tech Mono", monospace;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.leto97-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    background: #080b12;
}

.leto97-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.78) brightness(.76) contrast(1.05);
}

.leto97-card__number {
    display: block;
    color: #f6e8a0;
    font-family: "Share Tech Mono", monospace;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.leto97-card__soon {
    display: inline-block;
    margin-top: .65rem;
    padding: .25rem .55rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: rgba(255, 255, 255, .7);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.leto97-card.is-locked {
    color: rgba(255, 255, 255, .72);
    cursor: not-allowed;
    filter: grayscale(.25) brightness(.8);
}

.leto97-watch-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    background: linear-gradient(135deg, rgba(12, 16, 25, .9), rgba(8, 11, 18, .74));
    backdrop-filter: blur(10px);
}

.leto97-watch-panel--cinematic::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 20%, rgba(246, 232, 160, .16), transparent 24%),
        linear-gradient(90deg, rgba(8, 11, 18, 0), rgba(8, 11, 18, .4));
    pointer-events: none;
}

.leto97-watch-panel > * {
    position: relative;
    z-index: 1;
}

.leto97-episode-still {
    width: 100%;
    max-height: 380px;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 1px solid rgba(246, 232, 160, .22);
    border-radius: 20px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .36);
}

.leto97-video-frame {
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    background: #05070c;
    box-shadow: 0 20px 36px rgba(0, 0, 0, .38);
}

.leto97-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 767.98px) {
    .archive97-tabs,
    .leto97-theme-card,
    .leto97-watch-panel {
        grid-template-columns: 1fr;
    }

    .leto97-theme-card__video {
        justify-self: center;
    }

    .leto97-episode-still {
        max-height: 260px;
    }
}

/* Autumn ’97 and the Summer ’97 epilogue */
.jesen97-page-backdrop {
    position: relative;
    isolation: isolate;
}

.jesen97-page-backdrop::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 5, 4, .5), rgba(7, 5, 4, .92) 68%),
        radial-gradient(circle at 18% 12%, rgba(255, 155, 34, .25), transparent 32%),
        url('/img/autumn97/jesen-97-hero.jpg') center top / cover no-repeat;
    opacity: .72;
    filter: saturate(.92) contrast(1.08);
}

.jesen97-hero {
    position: relative;
    min-height: clamp(360px, 54vw, 650px);
    overflow: hidden;
    border: 1px solid rgba(255, 175, 59, .3);
    border-radius: clamp(24px, 5vw, 42px);
    background: #140b06;
    box-shadow: 0 34px 80px rgba(0, 0, 0, .48);
}

.jesen97-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(9, 5, 3, .92));
    pointer-events: none;
}

.jesen97-hero > img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.jesen97-hero__copy {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: clamp(1rem, 4vw, 2.5rem);
    left: clamp(1rem, 4vw, 3rem);
    z-index: 1;
    max-width: 720px;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.jesen97-hero__copy p {
    margin: .6rem 0 0;
}

.jesen97-kicker {
    color: #ffd166;
    font-family: "Share Tech Mono", monospace;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.jesen97-story-strip {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    overflow: hidden;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid rgba(255, 169, 50, .22);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(19, 10, 7, .95), rgba(40, 18, 9, .82));
    box-shadow: 0 22px 55px rgba(0, 0, 0, .35);
}

.jesen97-story-strip img {
    width: 100%;
    border-radius: 18px;
    filter: saturate(1.05) contrast(1.08);
}

.jesen97-story-strip h2,
.jesen97-card h2,
.jesen97-book-bridge h2,
.leto97-epilogue h2,
.leto97-extra-card h3 {
    color: #fff4d1;
    font-family: "Playfair Display", Georgia, serif;
}

.jesen97-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.jesen97-card {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: center;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid rgba(255, 169, 50, .2);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(23, 14, 11, .94), rgba(9, 9, 12, .94));
    box-shadow: 0 22px 48px rgba(0, 0, 0, .36);
}

.jesen97-card__video {
    width: 100%;
}

.jesen97-card__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 1px solid rgba(255, 185, 79, .22);
    border-radius: 18px;
    background: #080604;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .38);
}

.jesen97-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease, filter .25s ease;
}

.jesen97-card__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(8, 5, 3, .34));
    pointer-events: none;
}

.jesen97-card__thumb:hover img,
.jesen97-card__thumb:focus-visible img {
    transform: scale(1.025);
    filter: brightness(1.06);
}

.jesen97-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    padding-left: .15rem;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(187, 51, 28, .9);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .42);
    transform: translate(-50%, -50%);
}

.jesen97-card__body p {
    color: rgba(255, 255, 255, .72);
}

.jesen97-book-bridge {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    overflow: hidden;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 205, 82, .3);
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 50%, rgba(255, 154, 37, .23), transparent 24%),
        linear-gradient(120deg, rgba(36, 17, 9, .96), rgba(8, 10, 15, .96));
}

.jesen97-book-bridge__bolt {
    color: #ffd34e;
    font-size: clamp(3.5rem, 10vw, 7rem);
    filter: drop-shadow(0 0 22px rgba(255, 190, 42, .45));
}

.character-meta-series {
    border-color: rgba(246, 232, 160, .2);
    background:
        radial-gradient(circle at 12% 5%, rgba(246, 232, 160, .09), transparent 24%),
        rgba(10, 13, 20, .82);
}

.leto97-epilogue {
    position: relative;
}

.leto97-season-hero {
    margin-bottom: 1.5rem;
}

.leto97-epilogue__intro {
    max-width: 780px;
    margin-bottom: 1.25rem;
}

.leto97-epilogue__grid {
    display: grid;
    gap: 1.25rem;
}

.leto97-extra-card {
    overflow: hidden;
    border: 1px solid rgba(246, 232, 160, .22);
    border-radius: 28px;
    background: rgba(8, 11, 18, .94);
    box-shadow: 0 28px 60px rgba(0, 0, 0, .42);
}

.leto97-extra-card--song {
    display: grid;
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 2.5rem);
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 96, 112, .12), transparent 28%),
        linear-gradient(135deg, rgba(25, 14, 25, .96), rgba(8, 11, 18, .96));
}

.leto97-extra-card__video {
    width: 100%;
}

.leto97-extra-card__body p,
.leto97-extra-card__trailer-overlay p {
    color: rgba(255, 255, 255, .76);
}

.leto97-extra-card--trailer {
    position: relative;
    min-height: clamp(370px, 50vw, 590px);
}

.leto97-extra-card__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leto97-extra-card--trailer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 7, 12, .96), rgba(5, 7, 12, .58) 36%, transparent 68%);
}

.leto97-extra-card__trailer-overlay {
    position: absolute;
    top: auto;
    bottom: clamp(1.25rem, 4vw, 2.5rem);
    left: clamp(1.25rem, 5vw, 4rem);
    z-index: 1;
    width: min(680px, calc(100% - 2.5rem));
    transform: none;
}

@media (max-width: 1100px) {
    .archive97-tabs,
    .jesen97-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .jesen97-story-strip,
    .jesen97-card,
    .leto97-extra-card--song {
        grid-template-columns: 1fr;
    }

    .jesen97-grid {
        grid-template-columns: 1fr;
    }

    .jesen97-card__video,
    .jesen97-card__thumb,
    .leto97-extra-card__video {
        width: min(100%, 290px);
        justify-self: center;
    }

    .jesen97-book-bridge {
        grid-template-columns: 1fr;
    }

    .leto97-extra-card--trailer::after {
        background: linear-gradient(0deg, rgba(8, 7, 7, .96), rgba(8, 7, 7, .46) 74%, rgba(8, 7, 7, .08));
    }

    .leto97-extra-card__trailer-overlay {
        top: auto;
        bottom: 1.25rem;
        transform: none;
    }
}
