.xh-winners {
    --xh-winners-heading-width: 200px;
    --xh-winners-gold-start: 23.311%;
    box-sizing: border-box; width: 100%; min-width: 0; font: 400 16px/1.5 Poppins, sans-serif;
    height: 68px; display: flex; align-items: center; color: #12182b; overflow: hidden;
    /* Keep the Figma gold stops; extend the orange behind the white heading for contrast. */
    background: linear-gradient(90deg, #db7500 0, #a85200 64px, #a85200 var(--xh-winners-heading-width),
        #db7500 calc(var(--xh-winners-heading-width) + 20px),
        #ffdf4f max(var(--xh-winners-gold-start), calc(var(--xh-winners-heading-width) + 64px)),
        #ffdf4f 80.286%, #f5c54e 100%);
}
.xh-winners-heading { display: flex; align-items: center; gap: 6px; box-sizing: border-box; flex: 0 0 var(--xh-winners-heading-width); padding: 7px 16px; position: relative; z-index: 1; background: transparent; }
.xh-winners-heading img { width: 68px; height: 54px; object-fit: contain; }
.xh-winners-heading span { color: #f0fdf9; font-size: 24px; font-weight: 700; line-height: 1; }
.xh-winners-window { overflow: clip; flex: 1; min-width: 0; }
.xh-winners-window:focus-visible { outline: 2px solid #12182b; outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
    .xh-winners-window:has(.xh-winners-track) { cursor: grab; touch-action: pan-y pinch-zoom; user-select: none; }
    .xh-winners-window[data-xmas-dragging] { cursor: grabbing; }
}
.xh-winners-empty { margin: 0; padding: 0 18px; color: #44330e; font-size: 15px; }
.xh-winners-track { display: flex; width: max-content; gap: 0; }
.xh-winners-group { display: flex; flex: none; gap: 24px; padding-right: 24px; box-sizing: border-box; }
.xh-winner { min-width: 173px; display: flex; gap: 4px; align-items: center; height: 48px; color: #12182b; }
.xh-winner img { width: 48px; height: 48px; object-fit: contain; }
.xh-winner span { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.xh-winner strong { font-size: 16px; line-height: 16px; font-weight: 700; }
.xh-winner small { font-size: 12px; line-height: 12px; font-weight: 400; }

@media (max-width: 768px) {
    .xh-winners { --xh-winners-heading-width: 159px; --xh-winners-gold-start: 45%; height: 56px; }
    .xh-winners-heading img { width: 53px; height: 42px; }
    .xh-winners-heading span { font-size: 18px; }
    .xh-winners-empty { font-size: 12px; padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) { .xh-winners-window { overflow-x: auto; } .xh-winners-group[aria-hidden="true"] { display: none; } }

/* A game can also open in the current lobby without a page navigation. */
.page-container:has([data-game-self-page], [data-game-iframe]) .xh-winners { display: none; }
