/* =========================
   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;
}

/* --- 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 {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.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);
}
/* Checkout payment panel */
.checkout-payment-panel {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12,20,23,.86), rgba(7,16,20,.92));
    box-shadow: var(--shadow-soft);
}

.checkout-payment-panel__body {
    padding: 1rem;
}

.checkout-payment-panel .form-check-label {
    color: rgba(232,238,240,.94);
}

.checkout-payment-panel .text-muted {
    color: rgba(166,182,188,.9) !important;
}

.checkout-payment-panel hr {
    border-color: rgba(255,255,255,.12);
    opacity: 1;
}

/* 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);
}

.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 {
    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 .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-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);
}


.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: .85rem;
    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 {
    min-width: 122px;
    text-align: center;
    border-radius: 50%;
    padding: .75rem .7rem;
    border: 2px solid rgba(220, 238, 255, .34);
    background: radial-gradient(circle at 30% 20%, rgba(28, 48, 71, .95), rgba(6, 13, 21, .94));
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35), inset 0 0 16px rgba(116, 180, 255, .15);
}

.auta-speedometer__label {
    font-size: .74rem;
    letter-spacing: .08em;
    opacity: .8;
}

.auta-speedometer__value {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1;
    font-weight: 800;
    color: #88cdff;
}

.auta-speedometer__max {
    margin-top: .2rem;
    font-size: .7rem;
    letter-spacing: .08em;
    color: #c9d7e8;
    opacity: .9;
}

#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__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-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-trailer-card__frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.luna-trailer-card__body {
    padding: .85rem;
}

.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);
    }
}
