/* NTrivia visual system — GLOBAL (not component-scoped) so the question card, the stage screens, and the
   special-round components (NtLightning / NtClosest / NtDouble …) all share it. Grayscale, no emojis. */

.nt-card { max-width: 480px; }

/* Card entrance/exit animations now live in app.css (pg-card-anim-* / pg-card-out). */

.nt-controls {
    text-align: right;
    margin-bottom: 0.4rem;
}

.nt-sound {
    background: none;
    border: 1px solid #3a3a42;
    color: #9a9aa2;
    border-radius: 6px;
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
    cursor: pointer;
}

.nt-sound:hover { color: #d8d8de; border-color: #55555f; }

.nt-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8rem;
    color: #8a8a92;
    margin-bottom: 0.4rem;
}

.nt-clock {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #fafafa;
}

/* Timer bar, corner leaderboard, and question image now live in app.css
   (pg-timerbar / pg-timerfill, pg-leaderboard + pg-lb-*, pg-prompt-img). */

.nt-listen {
    color: #8a8a92;
    font-style: italic;
    margin-top: 0.75rem;
}

.nt-sub {
    color: #8a8a92;
    font-size: 0.82rem;
    font-style: italic;
    margin: 0 0 0.25rem;
}

/* Options/inputs entrance + layout and answer-reveal styles now live in app.css
   (pg-options, pg-choices, pg-entry, pg-answer, pg-result-correct/partial/wrong, pg-tick,
   pg-reveal-who, pg-given). */

/* --- category pick --- */
.nt-pick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0.9rem 0;
}

.nt-pick .pg-btn {
    width: 100%;
    font-size: 0.85rem;
}

/* --- stage header (stage/question + clock) --- */
.nt-stage-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8rem;
    color: #8a8a92;
    margin-bottom: 0.3rem;
}

/* --- per-player "to survive" line --- */
.nt-threshold {
    font-variant-numeric: tabular-nums;
    color: #9a9aa2;
}

.nt-threshold.nt-at-risk {
    color: #fafafa;
    font-weight: 700;
}

/* --- elimination banner --- */
.nt-elim-banner {
    border: 1px solid #3a3a42;
    border-radius: 6px;
    background: #161618;
    color: #b4b4bc;
    padding: 0.4rem 0.6rem;
    font-size: 0.82rem;
    margin: 0.25rem 0 0.6rem;
    text-align: center;
}

/* --- stage summary + final standings --- */
.nt-summary {
    text-align: center;
}

.nt-standings {
    margin-top: 0.85rem;
    text-align: left;
}

.nt-row-elim {
    animation: nt-elim-in 0.5s ease-out;
}

@keyframes nt-elim-in {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: none; }
}

.nt-status-tag {
    font-size: 0.78rem;
    color: #8a8a92;
}

.nt-status-tag.nt-in { color: #d8d8de; }
.nt-status-tag.nt-out { color: #6a6a72; }

/* --- stage intro screens --- */
.nt-stage-intro {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.nt-stage-kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: #8a8a92;
    margin: 0 0 0.3rem;
}

.nt-stage-big {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fafafa;
    line-height: 1;
    margin: 0 0 0.6rem;
}

/* randomized "Stage N" entrances (one picked per intro) */
.nt-stageanim-0 { animation: nt-si-zoom 0.6s ease-out; }
.nt-stageanim-1 { animation: nt-si-rise 0.6s ease-out; }
.nt-stageanim-2 { animation: nt-si-drop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1); }
.nt-stageanim-3 { animation: nt-si-swing 0.7s ease-out; }

@keyframes nt-si-zoom { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes nt-si-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nt-si-drop {
    0% { opacity: 0; transform: translateY(-70px) scale(0.85); }
    70% { transform: translateY(8px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nt-si-swing { from { opacity: 0; transform: rotate(-6deg) scale(0.7); } to { opacity: 1; transform: rotate(0) scale(1); } }

/* the dramatic riser into the final stage (builds over ~the 4s whoosh) */
.nt-finale-intro { animation: nt-finale-card 1.1s ease-out; }
@keyframes nt-finale-card {
    0% { opacity: 0; transform: scale(1.25); filter: blur(10px); }
    60% { opacity: 1; filter: blur(0); }
    100% { transform: scale(1); }
}

.nt-finale-intro .nt-stage-big {
    color: #ffffff;
    animation: nt-finale-text 3s ease-in both;
}
@keyframes nt-finale-text {
    0% { opacity: 0.15; transform: scale(0.55); letter-spacing: -6px; text-shadow: 0 0 0 rgba(255,255,255,0); }
    100% { opacity: 1; transform: scale(1.12); letter-spacing: 3px; text-shadow: 0 0 24px rgba(255,255,255,0.55); }
}

.nt-finale-intro .nt-stage-kicker {
    color: #d8d8de;
    animation: nt-finale-kicker 1.5s ease-in-out infinite;
}
@keyframes nt-finale-kicker { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* finale gameplay card: a subtle bright frame so it reads as the climax */
.nt-finale-play { border-color: #5a5a64; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 40px rgba(0, 0, 0, 0.5); }
.nt-finale-play .nt-stage-head { color: #ededf0; }
/* a player who has reached the target (highlighted in the reveal and on the champion board) */
.nt-finale-leader { border-color: #fafafa; background: #20201f; }

/* champion screen */
.nt-champion { text-align: center; }
/* a small CSS-drawn crown above the champion's name (grayscale, no glyph/emoji) */
.nt-crown {
    width: 3rem;
    height: 1.8rem;
    margin: 0 auto 0.4rem;
    background: linear-gradient(#ffffff, #c8c8cf);
    clip-path: polygon(0% 100%, 0% 32%, 20% 62%, 35% 18%, 50% 52%, 65% 18%, 80% 62%, 100% 32%, 100% 100%);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    animation: nt-crown-drop 0.6s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
@keyframes nt-crown-drop { from { opacity: 0; transform: translateY(-18px) scale(0.7); } to { opacity: 1; transform: none; } }
.nt-champion-stat { color: #b4b4bc; font-size: 0.9rem; margin: 0.1rem 0 0.4rem; }
.nt-champion-name {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
    margin: 0.1rem 0 0.5rem;
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.4);
    animation: nt-champion-pop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes nt-champion-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
.nt-champion .nt-standings { text-align: left; }
.nt-winner-tag {
    margin-left: 0.5rem;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
    background: #fafafa;
    color: #18181b;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    vertical-align: middle;
}

/* ===== special-round title intros ===== */
.nt-round-intro {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 2.5rem 1.5rem;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-round-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    color: #fafafa;
    position: relative;
    z-index: 2;
}

/* nt-odd-in: simple letters-resolve entrance, reused by the Wordle title */
@keyframes nt-odd-in { from { opacity: 0; letter-spacing: 14px; } to { opacity: 1; letter-spacing: 1px; } }

/* --- Odd One Out: an intense mystery theme (pulsing glow + flickering question marks) --- */
.nt-odd-intro { position: relative; overflow: hidden; background: #0a0a0c; }
.nt-odd-glow {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.17), transparent 55%);
    animation: nt-odd-sweep 1.6s ease-in-out infinite;
}
@keyframes nt-odd-sweep { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
.nt-odd-mark {
    position: absolute; z-index: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    animation: nt-odd-flicker 2.2s ease-in-out infinite;
}
.nt-odd-mark-1 { top: 0.4rem; left: 1.2rem; font-size: 3.4rem; animation-delay: 0s; }
.nt-odd-mark-2 { bottom: 0.3rem; right: 1.4rem; font-size: 5rem; animation-delay: 0.5s; }
.nt-odd-mark-3 { top: 1.6rem; right: 2.8rem; font-size: 2.3rem; animation-delay: 1s; }
@keyframes nt-odd-flicker { 0%, 100% { opacity: 0.25; } 45% { opacity: 0.95; } 55% { opacity: 0.3; } }
.nt-odd-title {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 1px;
    color: #e6e6ea;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
    animation: nt-odd-title-in 0.9s cubic-bezier(0.2, 1.3, 0.3, 1) both;
}
@keyframes nt-odd-title-in {
    0% { opacity: 0; transform: scale(0.7); filter: blur(6px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* --- Sorting Room: title letters scramble then bubble-sort into place (nathansVisual.sortTitle) --- */
.nt-sorting-intro { background: linear-gradient(160deg, #16161a, #101013); }
.nt-sort-stage { position: relative; height: 3rem; margin: 0 auto; }
.nt-sort-tile {
    position: absolute;
    top: 0;
    width: 28px;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: #fafafa;
    transition: left 0.13s ease;
}
.nt-sort-gap { width: 28px; } /* the space between the two words renders empty */

/* ordered list shown in the Sorting Room reveal */
.nt-order {
    text-align: left;
    margin: 0.4rem 0 0.85rem;
    padding-left: 1.6rem;
    color: #ededf0;
}
.nt-order li { padding: 0.12rem 0; }

/* --- Wordle: title + guess grid --- */
.nt-wordle-intro { background: radial-gradient(circle at 50% 40%, #1c1c20, #111113); }

/* intro: the title is typed into Wordle tiles (nathansVisual.typeWordle) then flips green */
.nt-wl-intro-stage { display: flex; gap: 0.4rem; justify-content: center; }
.nt-wl-intro-tile {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fafafa;
    border: 2px solid #3a3a42;
    border-radius: 6px;
    background: #1a1a1e;
}
.nt-wl-intro-filled { border-color: #6a6a72; animation: nt-wl-pop 0.12s ease; }
@keyframes nt-wl-pop { from { transform: scale(0.82); } to { transform: scale(1); } }
.nt-wl-intro-flip { animation: nt-wl-greenflip 0.5s ease forwards; }
@keyframes nt-wl-greenflip {
    0% { transform: rotateX(0); }
    49% { background: #1a1a1e; border-color: #6a6a72; }
    50% { transform: rotateX(-90deg); background: #4a7a4a; border-color: #4a7a4a; }
    100% { transform: rotateX(0); background: #4a7a4a; border-color: #4a7a4a; }
}

.nt-wl-grid {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    margin: 0.6rem 0 0.9rem;
}
.nt-wl-row { display: flex; gap: 0.35rem; }
.nt-wl-tile {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid #3a3a42;
    border-radius: 6px;
    background: #1a1a1e;
}
.nt-wl-tile.nt-wl-g { background: #4a7a4a; border-color: #4a7a4a; }  /* right spot (grayscale-friendly green) */
.nt-wl-tile.nt-wl-y { background: #9a8a3a; border-color: #9a8a3a; }  /* in word, wrong spot */
.nt-wl-tile.nt-wl-b { background: #2a2a30; border-color: #3a3a42; color: #9a9aa2; } /* absent */
.nt-wl-mini { width: 1.4rem; height: 1.4rem; font-size: 0.8rem; border-radius: 4px; vertical-align: middle; }
.nt-wl-input { text-transform: uppercase; letter-spacing: 0.25rem; text-align: center; font-weight: 700; }

/* --- Lightning: white flash + a bolt-in title --- */
.nt-flash {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    z-index: 1;
    animation: nt-flash 1.6s ease-out;
}
@keyframes nt-flash {
    0% { opacity: 0; }
    8% { opacity: 0.9; }
    16% { opacity: 0.1; }
    24% { opacity: 0.7; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}
.nt-lightning-title {
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
    animation: nt-bolt 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
@keyframes nt-bolt {
    0% { opacity: 0; transform: scale(0.6) skewX(-12deg); }
    60% { opacity: 1; transform: scale(1.08) skewX(4deg); }
    100% { transform: scale(1) skewX(0); }
}

/* --- Closest: number reels that scroll, decelerate, and give way to the title --- */
.nt-numscroll {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 2.4rem;
    font-weight: 800;
    color: #9a9aa2;
    z-index: 1;
    animation: nt-reels-fade 3s ease-in forwards;
}
@keyframes nt-reels-fade { 0%, 55% { opacity: 1; } 78%, 100% { opacity: 0; } }

.nt-reel {
    height: 1.2em;
    overflow: hidden;
    display: inline-block;
}
.nt-reel-strip {
    display: flex;
    flex-direction: column;
    animation: nt-reel-spin 1.6s cubic-bezier(0.1, 0.7, 0.2, 1) forwards;
}
.nt-reel-strip span { display: block; height: 1.2em; }
@keyframes nt-reel-spin { from { transform: translateY(0); } to { transform: translateY(-18em); } }
.nt-reel:nth-child(2) .nt-reel-strip { animation-duration: 1.85s; }
.nt-reel:nth-child(3) .nt-reel-strip { animation-duration: 1.5s; }
.nt-reel:nth-child(4) .nt-reel-strip { animation-duration: 1.95s; }
.nt-reel:nth-child(5) .nt-reel-strip { animation-duration: 1.7s; }

.nt-closest-title {
    opacity: 0;
    animation: nt-closest-in 0.6s ease-out 1.7s forwards;
}
@keyframes nt-closest-in {
    from { opacity: 0; transform: scale(0.85); letter-spacing: 4px; }
    to { opacity: 1; transform: scale(1); letter-spacing: normal; }
}

/* --- Double or Nothing: floating dollar signs + a gold title --- */
.nt-dollars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.nt-dollars span {
    position: absolute;
    color: rgba(212, 175, 55, 0.28);
    font-weight: 800;
    font-size: 1.6rem;
    animation: nt-dollar-float 2s ease-in-out infinite;
}
.nt-dollars span:nth-child(1) { left: 8%;  top: 16%; font-size: 2.2rem; animation-delay: 0s; }
.nt-dollars span:nth-child(2) { left: 82%; top: 12%; animation-delay: 0.3s; }
.nt-dollars span:nth-child(3) { left: 20%; top: 72%; font-size: 1.3rem; animation-delay: 0.6s; }
.nt-dollars span:nth-child(4) { left: 70%; top: 66%; font-size: 2rem; animation-delay: 0.2s; }
.nt-dollars span:nth-child(5) { left: 46%; top: 8%;  animation-delay: 0.5s; }
.nt-dollars span:nth-child(6) { left: 90%; top: 48%; font-size: 1.4rem; animation-delay: 0.1s; }
.nt-dollars span:nth-child(7) { left: 4%;  top: 50%; font-size: 1.8rem; animation-delay: 0.4s; }
.nt-dollars span:nth-child(8) { left: 56%; top: 80%; animation-delay: 0.7s; }
.nt-dollars span:nth-child(9) { left: 34%; top: 42%; font-size: 1.2rem; animation-delay: 0.25s; }
@keyframes nt-dollar-float {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-8px); opacity: 1; }
}

.nt-double-title {
    color: #d4af37; /* fallback */
    background: linear-gradient(180deg, #f5d77a 0%, #d4af37 55%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
    animation: nt-gold-in 0.6s ease-out both;
}
@keyframes nt-gold-in {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* --- special-round rules screen (after the title, before gameplay) --- */
.nt-rules {
    text-align: center;
    padding: 2rem 1.5rem;
}
.nt-rules-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fafafa;
    margin: 0 0 0.75rem;
}
.nt-rules-text {
    color: #c8c8d0;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 28rem;
    margin: 0 auto 0.5rem;
}
.nt-rules-text strong { color: #fafafa; }
.nt-rules-text em { color: #d8d8de; font-style: italic; }

/* --- Survey Says: game-show marquee --- */
.nt-survey-intro { position: relative; }
.nt-lights {
    position: absolute;
    top: 1.1rem; left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    z-index: 1;
}
.nt-lights span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #fafafa;
    animation: nt-bulb 0.9s ease-in-out infinite;
}
.nt-lights span:nth-child(odd) { animation-delay: 0.45s; }
@keyframes nt-bulb {
    0%, 100% { opacity: 0.25; box-shadow: 0 0 4px rgba(255, 255, 255, 0.3); }
    50% { opacity: 1; box-shadow: 0 0 14px rgba(255, 255, 255, 0.85); }
}
.nt-survey-title { animation: nt-pop-in 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
@keyframes nt-pop-in { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }

/* --- What Am I?: noir / detective --- */
.nt-whatami-intro { position: relative; background: #0d0d0f; }
.nt-noir-glow {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.13), transparent 60%);
    animation: nt-noir-sweep 4s ease-in-out infinite;
}
@keyframes nt-noir-sweep { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.nt-noir-mark {
    position: absolute; z-index: 1;
    top: 0.6rem; right: 1.4rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem; font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
}
.nt-whatami-title {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 1px;
    color: #d8d8de;
    animation: nt-fade-up 0.8s ease-out both;
}
@keyframes nt-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- Fake Answers: shadowy mystery --- */
.nt-fake-intro { position: relative; background: #0c0c0e; }
.nt-smoke {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at 30% 72%, rgba(255, 255, 255, 0.06), transparent 55%),
        radial-gradient(ellipse at 70% 28%, rgba(255, 255, 255, 0.05), transparent 55%);
    animation: nt-smoke-drift 5s ease-in-out infinite alternate;
}
@keyframes nt-smoke-drift {
    from { transform: translateX(-8px) scale(1); opacity: 0.6; }
    to { transform: translateX(8px) scale(1.1); opacity: 1; }
}
.nt-fake-title {
    color: #c8c8d0;
    text-shadow: 0 0 16px rgba(0, 0, 0, 0.85);
    animation: nt-creep 0.9s ease-out both;
}
@keyframes nt-creep {
    from { opacity: 0; transform: scale(1.1) skewX(-3deg); letter-spacing: 5px; }
    to { opacity: 1; transform: scale(1) skewX(0); letter-spacing: normal; }
}

/* --- What Am I? hints + solved --- */
.nt-hints { margin: 0.5rem 0 1rem; text-align: left; }
.nt-hint {
    color: #8a8a92;
    font-size: 0.95rem;
    margin: 0.35rem 0;
    padding-left: 0.85rem;
    border-left: 2px solid #2a2a30;
    animation: nt-hint-in 0.4s ease-out;
}
.nt-hint:last-child { color: #fafafa; border-left-color: #fafafa; font-weight: 600; }
@keyframes nt-hint-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.nt-solved {
    color: #fafafa;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
    font-size: 1.05rem;
}

/* ===== elimination games — bloody red theme ===== */
.nt-elim-intro { position: relative; overflow: hidden; background: #1a0606; }
.nt-blood {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at 50% 28%, rgba(185, 20, 20, 0.55), transparent 60%),
        radial-gradient(ellipse at 50% 125%, rgba(120, 0, 0, 0.75), transparent 70%);
    animation: nt-blood-pulse 1.6s ease-in-out infinite;
}
@keyframes nt-blood-pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.nt-elim-title {
    color: #ff3b3b;
    letter-spacing: 1px;
    text-shadow: 0 0 18px rgba(255, 30, 30, 0.7), 0 2px 4px rgba(0, 0, 0, 0.85);
    animation: nt-ritual-in 0.7s ease-out both;
}
@keyframes nt-ritual-in {
    0% { opacity: 0; transform: scale(1.3); filter: blur(6px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.nt-elim-rules { background: #170808; border-color: #5a1a1a; }
.nt-elim-rules .nt-rules-title { color: #ff5a5a; }

.nt-elim-card {
    background: #140808;
    border-color: #4a1414;
    box-shadow: 0 0 26px rgba(120, 0, 0, 0.3);
}
.nt-elim-card .nt-stage-head { color: #c98a8a; }

.nt-blood-banner {
    border-color: #8b1a1a;
    background: #2a0a0a;
    color: #ff8a8a;
}

.nt-elim-card .nt-row-elim { background: rgba(140, 0, 0, 0.22); border-radius: 6px; }
.nt-elim-card .pg-player-status.nt-out { color: #ff6b6b; font-weight: 700; }

/* tug of war: a rope with a knot that slides toward the leading team */
.nt-tug { display: flex; align-items: center; gap: 0.6rem; margin: 0.9rem 0 0.4rem; }
.nt-tug-end { flex: 0 0 1.6rem; text-align: center; font-size: 1.4rem; font-weight: 800; color: #d98a8a; }
.nt-tug-rope {
    position: relative;
    flex: 1;
    height: 10px;
    border-radius: 5px;
    background: repeating-linear-gradient(90deg, #5a3a2a 0 8px, #6a4636 8px 14px);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
.nt-tug-knot {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    background: #ff5b5b;
    box-shadow: 0 0 12px rgba(255, 60, 60, 0.8);
    transition: left 0.5s cubic-bezier(0.3, 1.3, 0.4, 1);
}
.nt-tug-teams { display: flex; justify-content: space-between; font-size: 0.8rem; color: #b48a8a; margin-bottom: 0.4rem; }
.nt-tug-roster { display: flex; flex-direction: column; gap: 0.1rem; }
.nt-tug-roster-b { text-align: right; }
.nt-tug-active { color: #ffd0d0; font-weight: 700; }

/* russian roulette: a six-chamber cylinder + a fire button */
.nt-revolver { display: flex; justify-content: center; gap: 0.5rem; margin: 1rem 0; }
.nt-chamber {
    width: 2.2rem; height: 2.2rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 2px solid #5a1a1a;
    background: #1a0a0a;
    color: #c98a8a;
    font-weight: 800;
}
.nt-chamber-pick { cursor: pointer; transition: transform 0.1s ease, border-color 0.15s ease; }
.nt-chamber-pick:hover { border-color: #ff5b5b; transform: scale(1.08); }
.nt-chamber-active { border-color: #ff3b3b; background: #3a0a0a; box-shadow: 0 0 12px rgba(255, 40, 40, 0.7); }
.nt-fire {
    display: block;
    width: 100%;
    margin: 0.6rem 0;
    background: #b22222;
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    border: none;
}
.nt-fire:hover:not(:disabled) { background: #d12a2a; }

/* twenty-one: two card seats */
.nt-21-seat { border: 1px solid #4a1414; border-radius: 8px; padding: 0.6rem 0.7rem; margin: 0.5rem 0; background: #1a0a0a; }
.nt-21-mine { border-color: #7a2a2a; background: #220c0c; }
.nt-21-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.nt-21-cards { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.nt-21-card {
    min-width: 1.9rem; height: 2.6rem;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 0.3rem;
    border-radius: 6px;
    background: #ededf0; color: #18181b;
    font-size: 1.3rem; font-weight: 800;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.nt-21-back {
    background: repeating-linear-gradient(45deg, #5a1a1a 0 6px, #6a2424 6px 12px);
    color: transparent;
}
/* opening deal: each card flies in from the deck, staggered by an inline animation-delay */
.nt-21-deal { animation: nt-21-deal-in 0.4s ease-out backwards; }
@keyframes nt-21-deal-in { from { opacity: 0; transform: translateY(-30px) scale(0.9); } to { opacity: 1; transform: none; } }

/* hide: a grid of boxes to hide in / blast */
.nt-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
    gap: 0.5rem;
    margin: 0.9rem 0;
}
.nt-box {
    min-height: 3.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    border: 2px solid #4a1414;
    border-radius: 8px;
    background: #1a0a0a;
    color: #d8b0b0;
    font-weight: 800;
    font-size: 1.2rem;
}
.nt-box-pick { cursor: pointer; transition: transform 0.1s ease, border-color 0.15s ease; }
.nt-box-pick:hover:not(:disabled) { border-color: #ff5b5b; transform: translateY(-2px); }
.nt-box-hide { border-color: #6ad06a; background: #102810; color: #bfe9bf; } /* your hiding spot */
.nt-box-aim { border-color: #ff5b5b; background: #3a0a0a; color: #ffd0d0; }   /* your blast target */
.nt-box-reveal { cursor: default; }
.nt-box-blasted {
    border-color: #ff3b3b;
    background: repeating-linear-gradient(45deg, #3a0a0a 0 8px, #5a1414 8px 16px);
    color: #ff8a8a;
    animation: nt-box-boom 0.4s ease-out;
}
@keyframes nt-box-boom { 0% { transform: scale(1.15); } 60% { transform: scale(0.96); } 100% { transform: scale(1); } }
.nt-box-num { font-size: 0.95rem; }
.nt-box-hiders { font-size: 0.75rem; font-weight: 600; color: #ededf0; }

/* roulette bets + wheel */
.nt-bets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 0.8rem 0;
}
.nt-bet { text-transform: capitalize; font-weight: 700; }
.nt-bet-red.pg-btn-ghost { border-color: #b22222; color: #ff6b6b; }
.nt-bet-black.pg-btn-ghost { border-color: #666; color: #d0d0d0; }

.nt-wheel {
    width: 120px; height: 120px;
    margin: 1.1rem auto;
    border-radius: 50%;
    border: 6px solid #3a3a42;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; font-weight: 800; color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    background: conic-gradient(#b22222 0 25%, #161616 25% 50%, #b22222 50% 75%, #161616 75% 100%);
}
.nt-wheel-red { background: #b22222; }
.nt-wheel-black { background: #161616; }
.nt-wheel-green { background: #1a7a1a; }

/* Roulette: CS:GO-case-style reel — an ordered strip slides left under a fixed
   marker, decelerating onto the result slot. Own `nt-roulette-*` namespace so it
   never collides with the Closest-Number intro's `.nt-reel-strip` (which is a
   vertical column reel). (.nt-roulette-slot width 56px / window 336px are mirrored
   in NtRoulette.razor's offset math — keep them in sync.) */
.nt-roulette-reel {
    position: relative;
    height: 72px;
    max-width: 100%;
    margin: 1.2rem auto;
    overflow: hidden;
    border: 1px solid #4a1414;
    border-radius: 8px;
    background: #0c0606;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
}
.nt-roulette-strip {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    display: flex;
    flex-direction: row;
    will-change: transform;
    animation-name: nt-roulette-slide;
    animation-timing-function: cubic-bezier(0.15, 0.70, 0.28, 1); /* quick launch, smooth drawn-out decelerate */
    animation-fill-mode: forwards;
}
@keyframes nt-roulette-slide { from { transform: translateX(0); } to { transform: translateX(var(--shift)); } }
.nt-roulette-slot {
    box-sizing: border-box;
    flex: 0 0 56px;
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800; color: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.45);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.nt-roulette-marker {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 3px; margin-left: -1.5px;
    background: #ff3b3b;
    box-shadow: 0 0 10px rgba(255, 40, 40, 0.85);
    z-index: 2;
}
.nt-roulette-marker::before {
    content: "";
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #ff3b3b;
}
.nt-roulette-marker::after {
    content: "";
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #ff3b3b;
}
