/* Lifts the critical caps from App.razor (al-critical-hero) once this stylesheet is loaded. */
.home-hero-grid .htp-card { max-width: none; max-height: none; }
/* Home page hero: text on the left, rotating Arcade Lore / '80s trivia / championship (LIVE, FINAL or DEMO) card on the right
   (Components/Shared/HomeRotator.razor). Press Start 2P is OFL-licensed and self-hosted (fonts/PressStart2P-OFL.txt). */
@font-face {
    font-family: "Press Start 2P";
    src: url("../fonts/PressStart2P-Regular.ttf") format("truetype");
    font-display: swap;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 2rem;
    align-items: center;
}

.home-hero-main {
    min-width: 0;
}

/* narrow screens: the card stacks under the headline so the headline isn't crowded */
@media (max-width: 991.98px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .hr-card {
        max-width: 520px;
        width: 100%;
    }
}

/* ---- Hero with the topic photo square (Shared/HeroTopicPhotos.razor, between the text and the championship card) ----
   Sized by the hero's own width (container query), so the sidebar being open or closed doesn't matter.
   Wide (hero 760px+): text | photo square | championship card (3 columns, headline a bit smaller so the hero height
   stays about the same; fixed photo/card widths from 1100px).
   Medium (600-759px): text on top, photo and card side by side below (same height).
   Narrow / phones (and browsers without container queries): text, photo (full width, capped height), card.
   No championship card: text | photo (2 columns) on wide and medium; the photo stays because it still links somewhere useful. */
.home-hero--photos {
    position: relative; /* anchors the sound toggle (ArcadeSfxToggle, top-right corner) */
    container-type: inline-size;
    container-name: alhero;
}

.home-hero-grid.home-hero-grid--photos {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.home-hero-grid.home-hero-grid--photos > .htp-card {
    aspect-ratio: 16 / 10;
    max-height: 260px;
}

@container alhero (min-width: 600px) {
    .home-hero-grid.home-hero-grid--photos {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.25rem;
        align-items: stretch;
    }

    .home-hero-grid--photos > .home-hero-main {
        grid-column: 1 / -1;
        align-self: center;
    }

    .home-hero-grid.home-hero-grid--photos > .htp-card {
        aspect-ratio: auto;
        max-height: none;
        min-height: 240px;
        align-self: stretch;
    }

    .home-hero-grid--photos > .hr-card {
        max-width: none;
        width: 100%;
    }

    /* no championship card: text | photo */
    .home-hero-grid.home-hero-grid--photos:not(:has(> .hr-card)) {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
        align-items: center;
    }

    .home-hero-grid--photos:not(:has(> .hr-card)) > .home-hero-main {
        grid-column: auto;
    }

    .home-hero-grid.home-hero-grid--photos:not(:has(> .hr-card)) > .htp-card {
        aspect-ratio: 1 / 1;
        min-height: 0;
        align-self: center;
    }
}

@container alhero (min-width: 760px) {
    .home-hero-grid.home-hero-grid--photos {
        grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.85fr) minmax(270px, 1fr);
        gap: 1.25rem;
        align-items: center;
    }

    .home-hero-grid--photos > .home-hero-main {
        grid-column: auto;
    }

    .home-hero-grid.home-hero-grid--photos > .htp-card {
        aspect-ratio: 1 / 1;
        min-height: 0;
        align-self: center;
    }

    .home-hero-grid.home-hero-grid--photos:not(:has(> .hr-card)) {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    }

    /* three columns leave the text narrower: scale the headline so it wraps about as before */
    .home-hero--photos .home-hero-grid--photos:has(> .hr-card) h1 {
        font-size: clamp(1.75rem, 2.7vw, 2.8rem);
    }
}

@container alhero (min-width: 1100px) {
    .home-hero-grid.home-hero-grid--photos:has(> .hr-card) {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(300px, 360px);
        gap: 1.5rem;
    }
}

/* LoreSuite hero: the photo square is the right column, about twice the original 300px square (50/50). */
@container alhero (min-width: 760px) {
    .home-hero.home-hero--photos.home-hero--suite .home-hero-grid.home-hero-grid--photos {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }

    .home-hero.home-hero--photos.home-hero--suite .home-hero-grid--photos > .home-hero-main {
        grid-column: auto;
    }

    .home-hero.home-hero--photos.home-hero--suite .home-hero-grid.home-hero-grid--photos > .htp-card {
        aspect-ratio: 16 / 10;
        width: 100%;
        max-width: none;
        min-height: 0;
    }
}

.hr-card {
    position: relative;
    color: #fff;
    background: rgba(10, 6, 30, 0.55);
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 14px;
    padding: 0.9rem 1.1rem 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.22), 0 0 22px rgba(34, 211, 238, 0.22), 0 0 44px rgba(124, 58, 237, 0.35);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hr-card.hr-kind-trivia {
    border-color: rgba(244, 114, 182, 0.55);
}

.home-features-title { margin: 0 0 .55rem; font-size: 1rem; font-weight: 700; letter-spacing: .02em; }
.home-features-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.home-features-list a { display: block; color: #fff; text-decoration: none; padding: .28rem .15rem; border-radius: 8px; font-size: .92rem; }
.home-features-list a:hover, .home-features-list a:focus-visible { background: rgba(255, 255, 255, .12); }
@media (max-width: 991.98px) {
    .home-features { max-width: 520px; width: 100%; }
}

.hr-card.hr-kind-score,
.hr-card.hr-kind-leader,
.hr-card.hr-kind-finale,
.hr-card.hr-kind-yt {
    border-color: rgba(255, 209, 102, 0.55);
}

.hr-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
}

.hr-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #22d3ee;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.85);
}

.hr-kind-trivia .hr-label {
    color: #f472b6;
    text-shadow: 0 0 8px rgba(244, 114, 182, 0.85);
}

.hr-kind-score .hr-label,
.hr-kind-leader .hr-label,
.hr-kind-finale .hr-label,
.hr-kind-yt .hr-label {
    color: #ffd166;
    text-shadow: 0 0 8px rgba(255, 209, 102, 0.85);
}

/* label + DEMO badge (the party demo's red DEMO tag), badge only on championship cards */
.hr-label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

/* phones (<= 576px): the long "CHAMPIONSHIP LEADERBOARD" label + DEMO/LIVE/FINAL badge no longer fit beside the sound
   and pause buttons and used to run underneath them. Stack the badge under the label and keep a gap before the
   buttons, which stay pinned top-right. Desktop / tablet layout is unchanged. */
@media (max-width: 576px) {
    .hr-top {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hr-label-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .hr-label {
        letter-spacing: 0.12em;
    }
}

.hr-demo-tag {
    display: none;
    font-family: "Press Start 2P", "VT323", "Courier New", monospace;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.2em;
    color: #fff;
    background: #c1121f;
    padding: 0.28rem 0.3rem 0.28rem 0.45rem;
}

.hr-kind-score .hr-demo-tag,
.hr-kind-leader .hr-demo-tag,
.hr-kind-finale .hr-demo-tag,
.hr-kind-yt .hr-demo-tag {
    display: inline-block;
}

/* LIVE badge: same red tag with an "on air" dot (FINAL after the freeze: no dot) */
.hr-live-tag::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: #fff;
    vertical-align: 1px;
    animation: hr-blink 1.2s steps(2, start) infinite;
}

.hr-mode-final .hr-live-tag::before {
    display: none;
}

/* "Watch the scoreboard" (party screen) link under the live strip */
.hr-watch {
    display: block;
    margin-top: 0.45rem;
    text-align: right;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffd166;
    text-decoration: none;
    text-shadow: 0 0 6px rgba(255, 209, 102, 0.55);
}

.hr-watch:hover,
.hr-watch:focus-visible {
    color: #fff;
    text-decoration: underline;
}

/* Watch Live (YouTube) card */
.hr-yt-frame {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 3px solid #c1121f;
    box-shadow: 0 0 14px rgba(193, 18, 31, 0.5);
}

.hr-yt-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hr-yt-btn {
    display: inline-block;
    margin-top: 0.65rem;
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    background: #ff0000;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 2px 0 #8b0000;
}

.hr-yt-btn:hover,
.hr-yt-btn:focus-visible {
    background: #cc0000;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hr-yt {
    text-align: center;
}

/* demo clock strip (party demo banner stripes) */
.hr-clock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.7rem;
    padding: 0.35rem 0.55rem;
    font-family: "Press Start 2P", "VT323", "Courier New", monospace;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    color: #fff;
    background: repeating-linear-gradient(45deg, rgba(193, 18, 31, 0.85), rgba(193, 18, 31, 0.85) 8px, rgba(122, 10, 18, 0.85) 8px, rgba(122, 10, 18, 0.85) 16px);
    border-radius: 6px;
}

.hr-clock-lbl {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hr-clock-t {
    flex: 0 0 auto;
    font-size: 0.72rem;
    color: #4dffa6;
    font-variant-numeric: tabular-nums;
}

/* live strip: longer text (hh:mm:ss) — smaller type, label may wrap instead of being cut */
.hr-clock-live {
    font-size: 0.44rem;
    line-height: 1.6;
}

.hr-clock-live .hr-clock-lbl {
    white-space: normal;
}

.hr-clock-live .hr-clock-t {
    font-size: 0.64rem;
}

.hr-clock.warn .hr-clock-t {
    color: #ffb347;
    animation: hr-blink 1s steps(2, start) infinite;
}

.hr-toggle {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
    cursor: pointer;
}

.hr-toggle:hover,
.hr-toggle:focus-visible {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.65);
}

/* pause + speaker buttons, side by side at the top right of the card */
.hr-ctrls {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.hr-sound {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hr-sound svg {
    display: block;
}

.hr-sound.is-off {
    color: rgba(255, 255, 255, 0.6);
}

.hr-stage {
    display: grid;
    align-items: center;
    min-height: 230px;
}

.hr-slide {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 0.6s ease;
    min-width: 0;
}

.hr-slide.is-in {
    opacity: 1;
}

.hr-ad {
    text-align: center;
}

.hr-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #2e1065;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.55);
    margin-bottom: 0.8rem;
}

.hr-slogan {
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.55), 2px 2px 0 rgba(0, 0, 0, 0.45);
    overflow-wrap: anywhere;
}

.hr-rainbow {
    animation: hr-rainbow 1.2s steps(7) infinite;
}

@keyframes hr-rainbow {
    0% { color: #ff3b3b; }
    14% { color: #ff9f1c; }
    28% { color: #ffe14d; }
    42% { color: #4dffa6; }
    57% { color: #29f; }
    71% { color: #8a5cff; }
    85% { color: #ff66d9; }
    100% { color: #ff3b3b; }
}

.hr-q {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.hr-choices {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.3rem;
}

.hr-choices li {
    padding: 0.28rem 0.55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    transition: opacity 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hr-letter {
    color: #22d3ee;
    font-weight: 700;
}

.hr-slide.revealed .hr-choices li {
    opacity: 0.45;
}

.hr-slide.revealed .hr-choices li.correct {
    opacity: 1;
    background: rgba(77, 255, 166, 0.16);
    border-color: #4dffa6;
    box-shadow: 0 0 10px rgba(77, 255, 166, 0.45);
}

.hr-answer {
    margin-top: 0.55rem;
    min-height: 1.3em;
    font-size: 0.9rem;
    color: #4dffa6;
    opacity: 0;
    visibility: hidden; /* not read out (or selectable) before the reveal */
    transition: opacity 0.4s ease, visibility 0.4s;
}

.hr-slide.revealed .hr-answer {
    opacity: 1;
    visibility: visible;
}

/* championship leaderboard: the party LCD game card (8-bit font, blue frame, gold/silver/bronze ranks), scaled down */
.hr-sc-card {
    font-family: "Press Start 2P", "VT323", "Courier New", monospace;
    letter-spacing: 0.02em;
    background: #07070f;
    border: 3px solid #1f6feb;
    box-shadow: inset 0 0 0 2px #000, 0 0 12px rgba(31, 111, 235, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hr-sc-hd {
    padding: 0.6rem 0.65rem;
    background: linear-gradient(90deg, #10224a, #07070f);
}

.hr-sc-nm {
    font-size: 0.66rem;
    line-height: 1.5;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hr-sc-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.3rem 0.65rem;
    border-top: 2px dashed #1b2a4a;
}

.hr-sc-rk {
    flex: 0 0 auto;
    width: 2.35rem;
    font-size: 0.66rem;
}

.hr-sc-rk-1 { color: #ffd700; }
.hr-sc-rk-2 { color: #c0c0c0; }
.hr-sc-rk-3 { color: #cd7f32; }

.hr-sc-ic {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    image-rendering: pixelated;
}

.hr-sc-tag {
    flex: 1;
    min-width: 0;
    font-size: 0.56rem;
    line-height: 1.5;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hr-sc-tag small {
    color: #7fa7d9;
    font-size: 0.44rem;
    margin-left: 0.35rem;
}

.hr-sc-sc {
    flex: 0 0 auto;
    font-size: 0.62rem;
    color: #ffe14d;
    font-variant-numeric: tabular-nums;
}

.hr-sc-row.empty .hr-sc-tag {
    color: #3b4a6b;
}

/* NEW LEADER (compact party leader pop-up) */
.hr-nl-box {
    position: relative;
    font-family: "Press Start 2P", "VT323", "Courier New", monospace;
    text-align: center;
    padding: 0.9rem 0.6rem;
    background: #07070f;
    border: 3px solid #ffd700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.45);
    overflow: hidden;
}

.hr-nl {
    font-size: 1rem;
    color: #ffe14d;
    text-shadow: 3px 3px 0 #c1121f;
    animation: hr-popin 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both, hr-blink 1s steps(2, start) 0.6s infinite;
}

.hr-nl-game {
    font-size: 0.58rem;
    line-height: 1.5;
    color: #8cf;
    margin-top: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hr-nl-ic {
    width: 56px;
    height: 56px;
    image-rendering: pixelated;
    margin-top: 0.6rem;
}

.hr-nl-who {
    font-size: 0.72rem;
    color: #fff;
    margin-top: 0.5rem;
}

.hr-nl-ini {
    font-size: 0.5rem;
    color: #7fa7d9;
    margin-top: 0.3rem;
    min-height: 0.5rem;
}

.hr-nl-sc {
    font-size: 0.85rem;
    color: #ffe14d;
    margin-top: 0.55rem;
}

.hr-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    animation: hr-spark 1s steps(4) infinite;
    pointer-events: none;
}

/* finale: freeze headline + FINAL, champions 3rd → 2nd → 1st */
.hr-finale {
    position: relative;
    font-family: "Press Start 2P", "VT323", "Courier New", monospace;
    text-align: center;
}

.hr-fin-head {
    font-size: 0.5rem;
    line-height: 1.6;
    color: #ff66d9;
    text-shadow: 2px 2px 0 #000;
}

.hr-fin-head.big {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #ffe14d;
    text-shadow: 3px 3px 0 #c1121f;
    animation: hr-popin 0.8s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}

.hr-fin-ft {
    display: inline-block;
    margin-top: 0.9rem;
    font-size: 1.3rem;
    color: #fff;
    background: #c1121f;
    padding: 0.4rem 0.8rem;
    letter-spacing: 0.25em;
    animation: hr-popin 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) 0.3s both, hr-blink 1.2s steps(2, start) 1s infinite;
}

.hr-fin-ft.small {
    margin-top: 0.45rem;
    font-size: 0.62rem;
    padding: 0.25rem 0.5rem;
    animation: none;
}

.hr-fin-sub {
    font-size: 0.45rem;
    line-height: 1.6;
    color: #9fe;
    margin-top: 0.55rem;
}

.hr-fin-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.hr-fin-slot {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.45rem 0.25rem;
    background: #07070f;
    border: 3px solid #333;
    visibility: hidden;
}

.hr-fin-slot.shown {
    visibility: visible;
    animation: hr-popin 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}

.hr-fin-slot.p1 { border-color: #ffd700; box-shadow: 0 0 14px rgba(255, 215, 0, 0.6); padding-bottom: 1.1rem; }
.hr-fin-slot.p2 { border-color: #c0c0c0; padding-bottom: 0.75rem; }
.hr-fin-slot.p3 { border-color: #cd7f32; }

.hr-fin-pl { font-size: 0.62rem; margin-bottom: 0.35rem; }
.hr-fin-slot.p1 .hr-fin-pl { color: #ffd700; font-size: 0.78rem; }
.hr-fin-slot.p1.shown .hr-fin-pl { animation: hr-blink 0.6s steps(2, start) infinite; }
.hr-fin-slot.p2 .hr-fin-pl { color: #e0e0e0; }
.hr-fin-slot.p3 .hr-fin-pl { color: #e39a55; }

.hr-fin-ic { image-rendering: pixelated; }

.hr-fin-fn {
    font-size: 0.46rem;
    line-height: 1.5;
    color: #fff;
    margin-top: 0.3rem;
    word-break: break-all;
}

.hr-fin-fn.dim { color: #3b4a6b; }

.hr-fin-fp {
    font-size: 0.38rem;
    line-height: 1.5;
    color: #4dffa6;
    margin-top: 0.25rem;
}

.hr-fin-congrats,
.hr-fin-again {
    visibility: hidden;
}

.hr-champs.done .hr-fin-congrats,
.hr-champs.done .hr-fin-again {
    visibility: visible;
}

.hr-fin-again {
    font-size: 0.4rem;
    color: #7fa7d9;
    margin-top: 0.35rem;
}

.hr-fx {
    position: absolute;
    inset: -0.5rem -0.6rem;
    overflow: hidden;
    pointer-events: none;
}

.hr-confetti {
    position: absolute;
    top: -10px;
    width: 7px;
    height: 7px;
    animation: hr-fall linear infinite;
}

@keyframes hr-fall {
    0% { transform: translateY(0) rotate(0); }
    100% { transform: translateY(320px) rotate(720deg); }
}

@keyframes hr-spark {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(3); }
}

@keyframes hr-popin {
    from { transform: scale(0.2); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes hr-blink {
    to { visibility: hidden; }
}

.hr-is-paused .hr-toggle[data-hr-toggle] {
    border-color: #ffd166;
}

/* reduced motion: no fades, no rainbow flashing (the script also slows the swaps) */
.hr-reduced .hr-slide,
.hr-reduced .hr-choices li,
.hr-reduced .hr-answer {
    transition: none !important;
}

.hr-reduced .hr-rainbow {
    animation: none !important;
    color: #ffe14d;
}

.hr-reduced .hr-nl,
.hr-reduced .hr-fin-head.big,
.hr-reduced .hr-fin-ft,
.hr-reduced .hr-fin-slot.shown,
.hr-reduced .hr-fin-slot.p1.shown .hr-fin-pl,
.hr-reduced .hr-clock.warn .hr-clock-t {
    animation: none !important;
}

.hr-reduced .hr-live-tag::before {
    animation: none !important;
}

.hr-reduced .hr-spark,
.hr-reduced .hr-confetti {
    display: none !important;
}

/* a paused card freezes its effects too */
.hr-is-paused .hr-confetti,
.hr-is-paused .hr-spark,
.hr-is-paused .hr-nl,
.hr-is-paused .hr-fin-ft,
.hr-is-paused .hr-fin-slot.p1.shown .hr-fin-pl {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .hr-slide,
    .hr-choices li,
    .hr-answer {
        transition: none !important;
    }

    .hr-rainbow {
        animation: none !important;
        color: #ffe14d;
    }

    .hr-nl,
    .hr-fin-head.big,
    .hr-fin-ft,
    .hr-fin-slot.shown,
    .hr-fin-slot.p1.shown .hr-fin-pl,
    .hr-clock.warn .hr-clock-t {
        animation: none !important;
    }

    .hr-spark,
    .hr-confetti {
        display: none !important;
    }

    .hr-live-tag::before {
        animation: none !important;
    }
}

/* climb card (demo): the visitor's character climbs one game's board slot by slot into the top 3 */
.hr-card.hr-kind-climb { border-color: rgba(255, 209, 102, 0.55); }
.hr-cl-card { --hr-cl-row: 26px; }
.hr-cl-hd { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.4rem 0.65rem; }
.hr-cl-who { font-size: 0.44rem; color: #4dffa6; white-space: nowrap; }
.hr-cl-list { position: relative; overflow: hidden; }
.hr-cl-row { position: absolute; left: 0; right: 0; height: var(--hr-cl-row); min-height: 0; padding: 0 0.65rem; border-top: 1px dashed #1b2a4a; transition: top 0.45s cubic-bezier(.3, 1.4, .5, 1); background: #07070f; }
.hr-cl-row .hr-sc-ic { width: 22px; height: 22px; }
.hr-cl-row .hr-sc-tag { font-size: 0.5rem; }
.hr-cl-row .hr-sc-sc { font-size: 0.54rem; }
.hr-cl-row .hr-sc-rk { font-size: 0.56rem; color: #7fa7d9; }
.hr-cl-row .hr-sc-rk.hr-sc-rk-1 { color: #ffd700; }
.hr-cl-row .hr-sc-rk.hr-sc-rk-2 { color: #c0c0c0; }
.hr-cl-row .hr-sc-rk.hr-sc-rk-3 { color: #cd7f32; }
.hr-cl-row.me { z-index: 2; background: linear-gradient(90deg, rgba(77, 255, 166, 0.22), rgba(7, 7, 15, 0.9)); box-shadow: inset 0 0 0 2px #4dffa6; }
.hr-cl-row.me .hr-sc-tag { color: #4dffa6; }
.hr-cl-row.me.bump .hr-sc-ic { animation: hr-cl-hop 0.45s ease; }
@keyframes hr-cl-hop { 40% { transform: translateY(-6px) scale(1.15); } }
.hr-cl-win { font-family: "Press Start 2P", "VT323", "Courier New", monospace; font-size: 0.56rem; text-align: center; color: #ffd700; min-height: 1.9em; padding: 0.4rem 0.3rem 0.2rem; opacity: 0; transition: opacity 0.3s; }
.hr-climb.done .hr-cl-win { opacity: 1; }
.hr-climb.done .hr-cl-row.me { box-shadow: inset 0 0 0 2px #ffd700, 0 0 12px rgba(255, 215, 0, 0.5); }
.hr-reduced .hr-cl-row { transition: none; }
.hr-reduced .hr-cl-row.me.bump .hr-sc-ic { animation: none; }

/* Run 99i: settings-driven Brand logo mark in the home hero */
.home-brand-mark{display:block;width:72px;height:72px;object-fit:contain;margin:0 0 .6rem;filter:drop-shadow(0 2px 8px rgba(0,0,0,.35));}

