body[data-tournament-mode="true"] #tournament-chrome {
    display: grid;
}

#tournament-chrome[hidden],
#tournament-toast[hidden],
#tournament-elimination-modal[hidden] {
    display: none !important;
}

#tournament-chrome {
    --pe-tournament-accent: #fbbf24;
    --pe-tournament-banner-bg: rgba(8, 12, 18, 0.82);
    position: fixed;
    top: 12px;
    left: 50%;
    z-index: 900;
    width: min(720px, calc(100vw - 220px));
    transform: translateX(-50%);
    gap: 8px;
    color: #f8fafc;
    font-family: "Poppins", system-ui, sans-serif;
    pointer-events: none;
}

.tournament-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: var(--pe-tournament-banner-bg);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.tournament-banner__eyebrow {
    color: var(--pe-tournament-accent);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.tournament-banner__title {
    font-size: 18px;
    line-height: 1.15;
}

.tournament-banner__status {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.18);
    color: #86efac;
    font-size: 12px;
    font-weight: 900;
}

.tournament-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.tournament-map-btn,
.tournament-cancel-btn {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    pointer-events: auto;
}

.tournament-cancel-btn {
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(127, 29, 29, 0.52);
}

.tournament-map-btn[hidden],
.tournament-cancel-btn[hidden] {
    display: none !important;
}

body[data-tournament-status="starting"] .tournament-banner__status {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
}

body[data-tournament-status="finished"] .tournament-banner__status,
body[data-tournament-status="disposed"] .tournament-banner__status {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

body[data-tournament-status="cancelled"] .tournament-banner__status {
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
}

body[data-tournament-prize-tier="major"] .tournament-banner {
    border-color: color-mix(in srgb, var(--pe-tournament-accent), transparent 48%);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.28),
        0 0 34px rgba(251, 191, 36, 0.22);
}

body[data-tournament-prize-tier="major"] [data-tournament-prize] {
    color: var(--pe-tournament-accent);
}

body[data-tournament-mode="true"] #poker-table::before {
    background:
        var(--pe-tournament-bg-image, none),
        var(--felt-texture),
        radial-gradient(ellipse at center,
            var(--pe-tournament-felt-1, var(--felt-color-1)) 0%,
            var(--pe-tournament-felt-2, var(--felt-color-2)) 100%) !important;
    background-size: cover, auto, auto !important;
    background-position: center, center, center !important;
    background-blend-mode: overlay, soft-light, normal !important;
}

.tournament-custom-logo {
    width: 72px;
    max-height: 54px;
    object-fit: contain;
    justify-self: center;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.42));
    pointer-events: none;
}

body[data-tournament-final-table="true"] .tournament-banner {
    border-color: rgba(251, 191, 36, 0.7);
    background:
        linear-gradient(135deg, rgba(120, 53, 15, 0.72), rgba(8, 12, 18, 0.9)),
        rgba(8, 12, 18, 0.82);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.28),
        0 0 38px rgba(251, 191, 36, 0.28);
    animation: tournament-final-pulse 2.6s ease-in-out infinite;
}

body[data-tournament-final-table="true"] .tournament-banner__eyebrow::before {
    content: "FINAL TABLE · ";
    color: #fef3c7;
}

.tournament-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.tournament-stats div {
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(8, 12, 18, 0.68);
    backdrop-filter: blur(10px);
}

.tournament-stats span {
    display: block;
    color: rgba(226, 232, 240, 0.68);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.tournament-stats strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tournament-spectator {
    padding: 7px 10px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    backdrop-filter: blur(10px);
}

#tournament-toast {
    position: fixed;
    top: 116px;
    left: 50%;
    z-index: 1200;
    max-width: min(460px, calc(100vw - 32px));
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.9);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
    transform: translate(-50%, -6px);
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
}

#tournament-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

#tournament-elimination-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.68);
    backdrop-filter: blur(8px);
}

#tournament-table-map {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

#tournament-table-map[hidden] {
    display: none !important;
}

.tournament-map {
    width: min(980px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.94);
    color: #f8fafc;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.tournament-map__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.tournament-map__head h2 {
    margin: 0;
    font-size: 20px;
}

.tournament-map__head p {
    margin: 4px 0 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 13px;
}

.tournament-map__head button {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 8px 12px;
    font-weight: 900;
    cursor: pointer;
}

.tournament-map__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.tournament-map-card {
    min-height: 142px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background: rgba(8, 12, 18, 0.58);
}

.tournament-map-card.is-switchable {
    cursor: pointer;
}

.tournament-map-card.is-switchable:hover,
.tournament-map-card.is-switchable:focus-visible {
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12) inset;
    outline: none;
}

.tournament-map-card.is-watching {
    border-color: rgba(22, 163, 74, 0.74);
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.22) inset;
}

.tournament-map-card.is-mine {
    border-color: rgba(96, 165, 250, 0.78);
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.24) inset;
}

.tournament-map-card.is-final {
    border-color: rgba(251, 191, 36, 0.7);
    background: rgba(69, 45, 8, 0.38);
}

.tournament-map-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 4px;
    color: #fff;
    font-size: 15px;
}

.tournament-map-card__state {
    flex: 0 0 auto;
    border: 1px solid rgba(22, 163, 74, 0.4);
    border-radius: 999px;
    padding: 2px 7px;
    color: rgba(220, 252, 231, 0.96);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.tournament-map-card p {
    margin: 0 0 8px;
    color: rgba(226, 232, 240, 0.7);
    font-size: 12px;
}

.tournament-map-card ul {
    display: grid;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tournament-map-card li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}

.tournament-map-card li span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tournament-map-card li div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tournament-modal {
    width: min(420px, 100%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    text-align: center;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.tournament-modal__title {
    margin: 0 0 10px;
    color: #fbbf24;
    font-size: 22px;
}

.tournament-modal__finish {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.tournament-modal__payout {
    margin: 10px 0 18px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 14px;
}

.tournament-modal__actions {
    display: grid;
    gap: 10px;
}

.tournament-modal button {
    min-height: 40px;
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    background: #f59e0b;
    color: #111827;
    font-weight: 900;
    cursor: pointer;
}

.tournament-modal button[hidden] {
    display: none !important;
}

.tournament-modal button[data-tournament-watch] {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.tournament-modal button:disabled {
    cursor: wait;
    opacity: 0.72;
}

/* Winner variant of the tournament-over modal. */
#tournament-elimination-modal.tournament-modal-overlay--winner {
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.22), rgba(2, 6, 23, 0.78) 60%);
}

.tournament-modal--winner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(31, 22, 8, 0.96), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(251, 191, 36, 0.55);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(251, 191, 36, 0.18) inset,
        0 0 48px rgba(251, 191, 36, 0.28);
    animation: tournament-modal-winner-glow 2.4s ease-in-out infinite;
}

.tournament-modal--winner .tournament-modal__title {
    background: linear-gradient(120deg, #fde68a 0%, #fbbf24 45%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 26px;
    letter-spacing: 0.02em;
}

.tournament-modal--winner .tournament-modal__title::before {
    content: '🏆';
    margin-right: 8px;
    -webkit-text-fill-color: initial;
    color: initial;
    font-size: 24px;
    vertical-align: -2px;
}

.tournament-modal--winner .tournament-modal__finish {
    color: #fde68a;
    text-shadow: 0 1px 12px rgba(251, 191, 36, 0.4);
}

.tournament-modal--winner button[data-tournament-play-another] {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f1304;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.tournament-modal--winner button:hover { filter: brightness(1.08); }

/* CSS-only confetti — six pieces, looped fall, no JS, no GPU thrash. */
.tournament-modal--winner::before,
.tournament-modal--winner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 0%, #fbbf24 0 4px, transparent 5px),
        radial-gradient(circle at 28% 0%, #ef4444 0 3px, transparent 4px),
        radial-gradient(circle at 46% 0%, #38bdf8 0 4px, transparent 5px),
        radial-gradient(circle at 64% 0%, #a78bfa 0 3px, transparent 4px),
        radial-gradient(circle at 80% 0%, #4ade80 0 4px, transparent 5px),
        radial-gradient(circle at 92% 0%, #fde68a 0 3px, transparent 4px);
    background-repeat: no-repeat;
    animation: tournament-confetti-fall 3.6s linear infinite;
}
.tournament-modal--winner::after {
    background-image:
        radial-gradient(circle at 18% 0%, #fde68a 0 3px, transparent 4px),
        radial-gradient(circle at 38% 0%, #38bdf8 0 4px, transparent 5px),
        radial-gradient(circle at 58% 0%, #fbbf24 0 3px, transparent 4px),
        radial-gradient(circle at 72% 0%, #f472b6 0 4px, transparent 5px),
        radial-gradient(circle at 88% 0%, #4ade80 0 3px, transparent 4px);
    animation: tournament-confetti-fall 4.8s linear infinite;
    animation-delay: 0.8s;
    opacity: 0.85;
}

@keyframes tournament-modal-winner-glow {
    0%, 100% {
        box-shadow:
            0 28px 90px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(251, 191, 36, 0.18) inset,
            0 0 38px rgba(251, 191, 36, 0.24);
    }
    50% {
        box-shadow:
            0 28px 90px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(251, 191, 36, 0.32) inset,
            0 0 72px rgba(251, 191, 36, 0.42);
    }
}

@keyframes tournament-confetti-fall {
    0%   { transform: translateY(-120%); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateY(120%); opacity: 0; }
}

@keyframes tournament-final-pulse {
    0%, 100% { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 0 28px rgba(251, 191, 36, 0.2); }
    50% { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 0 52px rgba(251, 191, 36, 0.34); }
}

@media (prefers-reduced-motion: reduce) {
    .tournament-modal--winner,
    .tournament-modal--winner::before,
    .tournament-modal--winner::after,
    body[data-tournament-final-table="true"] .tournament-banner { animation: none; }
}

.wheel-cinematic-overlay {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #f8fafc;
    font-family: "Poppins", system-ui, sans-serif;
}

.wheel-stage {
    position: relative;
    width: min(520px, 86vw, 68vh);
    aspect-ratio: 1;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.48));
}

.wheel-image,
.wheel-pointer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.wheel-image {
    transform: rotate(0deg);
    will-change: transform, filter;
}

.wheel-image.is-spinning {
    animation: wheel-spin-loop 0.7s linear infinite;
}

.wheel-image.is-slowing {
    transition: transform var(--wheel-slowdown-duration, 1s) cubic-bezier(0.12, 0.75, 0.08, 1);
}

.wheel-pointer {
    z-index: 2;
}

.wheel-image.is-revealing {
    animation: wheel-reveal-glow 1.2s ease-out;
}

.wheel-prize-readout {
    min-height: 26px;
    color: #fde68a;
    font-size: 17px;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 0 18px rgba(251, 191, 36, 0.48);
}

.wheel-continue-btn {
    min-height: 40px;
    padding: 9px 18px;
    border: 0;
    border-radius: 8px;
    background: #fbbf24;
    color: #1f1304;
    font-weight: 900;
    cursor: pointer;
}

.wheel-continue-btn[hidden] {
    display: none;
}

.wheel-continue-btn[disabled] {
    opacity: 0.45;
    cursor: wait;
}

@keyframes wheel-reveal-glow {
    0% { filter: drop-shadow(0 0 0 rgba(251, 191, 36, 0)); }
    30% { filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.95)); }
    100% { filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.62)); }
}

@keyframes wheel-spin-loop {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .wheel-image {
        animation: none;
        transition: none;
    }

    .wheel-image.is-revealing {
        animation: none;
    }
}

body[data-tournament-spectator="true"] #action-bar,
body[data-tournament-spectator="true"] #pre-action-bar {
    display: none !important;
}

body[data-tournament-mode="true"] .seat.empty {
    cursor: default;
}

body[data-tournament-mode="true"] .seat.empty .empty-seat-content {
    display: none;
}

body[data-tournament-mode="true"] .seat.tournament-disconnected .player-plaque {
    border-color: rgba(248, 113, 113, 0.9);
}

body[data-tournament-mode="true"] .tournament-seat-badge {
    color: #fca5a5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

@media (max-width: 760px) {
    #tournament-chrome {
        top: 8px;
        width: calc(100vw - 20px);
    }

    .tournament-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .tournament-banner__actions {
        flex-wrap: wrap;
    }

    .tournament-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tournament-toast {
        top: 148px;
    }
}

/* The restore icon (a body sibling) is mobile-tournament only — shown
   only when the HUD is collapsed (via the media query below), hidden
   everywhere else (desktop / cash). */
#tournament-hud-restore {
    display: none;
    position: fixed;
    right: calc(15px + env(safe-area-inset-right, 0px));
    top: calc(50% - 80px);
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(5px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    z-index: 1000;
}

#tournament-hud-restore svg {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}

/* ============================================================
   Mobile landscape tournament HUD clearance.
   On phones (landscape table view) the centered banner (title +
   timer) + 5-card stats row span the top and crop the upper
   opponents (and their cards). Scoped strictly to mobile landscape
   AND tournament tables (body[data-tournament-mode="true"]) so cash
   tables and desktop render byte-identically.
   Fix: collapse the WHOLE chrome into one narrow SINGLE-COLUMN card
   pinned to the top-right corner — title, then timer, then the five
   stats stacked one per row (order: Players, Level, Rank, Prize,
   Blinds). The column is short/narrow enough that the chat toggle
   keeps its usual right-middle spot below it. Tapping anywhere on the
   bar collapses it to a small restore icon (just above the chat
   button) for 6/9-max tables; default state is expanded. Safe-area
   insets honoured throughout.
   ============================================================ */
@media (max-width: 950px) and (orientation: landscape) {
    body[data-tournament-mode="true"] #tournament-chrome {
        top: calc(4px + env(safe-area-inset-top, 0px));
        right: calc(8px + env(safe-area-inset-right, 0px));
        left: auto;
        width: 144px;
        max-width: 40vw;
        transform: none;
        gap: 4px;
        text-align: left;
        /* Tap anywhere on the bar to collapse it (the in-bar action
           buttons keep working — handled in tournament.js). */
        pointer-events: auto;
        cursor: pointer;
    }

    /* Banner stacks vertically: title on top, timer directly below.
       The eyebrow (game type / buy-in) is dropped on mobile to keep
       the single column tight. */
    body[data-tournament-mode="true"] .tournament-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 5px 8px;
    }

    body[data-tournament-mode="true"] .tournament-banner__eyebrow {
        display: none;
    }

    body[data-tournament-mode="true"] .tournament-banner__title {
        overflow: hidden;
        font-size: 12px;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-tournament-mode="true"] .tournament-banner__actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    body[data-tournament-mode="true"] .tournament-banner__status {
        padding: 2px 7px;
        font-size: 10px;
    }

    body[data-tournament-mode="true"] .tournament-map-btn,
    body[data-tournament-mode="true"] .tournament-cancel-btn {
        min-height: 22px;
        padding: 2px 7px;
        font-size: 10px;
    }

    /* All five data points kept — single column, one row each, in the
       owner-requested order (Players, Level, Rank, Prize, Blinds). */
    body[data-tournament-mode="true"] .tournament-stats {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    body[data-tournament-mode="true"] .tournament-stats div {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 6px;
        padding: 2px 8px;
    }

    body[data-tournament-mode="true"] .tournament-stats span {
        flex: 0 0 auto;
        font-size: 8px;
        line-height: 1.2;
    }

    body[data-tournament-mode="true"] .tournament-stats strong {
        flex: 0 1 auto;
        min-width: 0;
        font-size: 11px;
        line-height: 1.2;
    }

    body[data-tournament-mode="true"] .tournament-stats div:has([data-tournament-remaining]) { order: 1; }
    body[data-tournament-mode="true"] .tournament-stats div:has([data-tournament-level])     { order: 2; }
    body[data-tournament-mode="true"] .tournament-stats div:has([data-tournament-position])  { order: 3; }
    body[data-tournament-mode="true"] .tournament-stats div:has([data-tournament-prize])     { order: 4; }
    body[data-tournament-mode="true"] .tournament-stats div:has([data-tournament-blinds])    { order: 5; }

    /* Collapsed: hide the column, expose the restore icon above the chat. */
    body[data-tournament-mode="true"][data-tournament-hud-collapsed="true"] #tournament-chrome {
        display: none;
    }

    body[data-tournament-mode="true"][data-tournament-hud-collapsed="true"] #tournament-hud-restore {
        display: flex;
    }
}
