/* Measured play totals and live players; numerals share the PlayFG display face. */
.player-toolbar-right{display:flex;align-items:center;gap:14px;flex-shrink:0}
.player-name{flex:1}.player-name>strong{min-width:0}
.player-presence,.player-play-total{display:inline-flex;align-items:center;gap:5px;font-family:var(--retro);font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.2}
.player-presence{flex-shrink:0;font-size:12px;color:var(--muted);margin-left:6px;padding-left:12px;border-left:1px solid var(--border)}
.player-presence [data-game-playing]{font-size:14px;font-weight:700;color:var(--active-text)}
.player-live-dot{display:inline-block;flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:var(--subtle);margin-right:3px}
.is-active .player-live-dot{background:#4f9462;box-shadow:0 0 0 3px #4f94621a}
[data-theme=dark] .is-active .player-live-dot{background:#a7ce93;box-shadow:0 0 0 3px #a7ce931a}
.player-play-total{font-size:13px;color:var(--muted);gap:6px}
.player-play-total [data-game-plays]{font-size:16px;font-weight:700;letter-spacing:.1px;color:var(--active-text)}
.player-play-total>.icon{width:13px;height:13px;color:var(--icon-color);fill:currentColor;stroke-width:0}
.section-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-shrink:0}
.section-heading-actions>a{display:flex;align-items:center;gap:5px;font-family:var(--retro);font-size:13px;font-weight:700;color:var(--muted)}
.section-heading-actions>a:hover{color:var(--active-text)}
.site-live-card{display:flex;align-items:center;gap:10px;padding:9px 13px;border:1px solid #b8cbb0;background:#e4eddc;border-radius:12px;box-shadow:0 2px 0 #354c3009;color:#3f604d;min-height:47px;white-space:nowrap}
.site-live-card .player-live-dot{width:7px;height:7px;flex-basis:7px;margin-right:0}
.site-live-copy{display:flex;align-items:baseline;gap:7px;font-family:var(--retro);line-height:1.1;font-variant-numeric:tabular-nums}
.site-live-copy strong{font-size:23px;font-weight:700;letter-spacing:-.4px}
.site-live-copy>span{font-size:12px;font-weight:600}
.site-live-card>.icon{width:18px;height:18px;opacity:.65;margin-left:4px}
[data-theme=dark] .site-live-card{background:#2d4035;border-color:#49634d;color:#d0dfc0;box-shadow:0 2px 0 #0002}
[data-stats-unavailable] .player-play-total,[data-stats-unavailable] .player-presence,.site-live-card[data-stats-unavailable]{opacity:.65}
@media(max-width:1150px){
 .game-page .player-toolbar{height:auto;min-height:55px;flex-wrap:wrap;padding-block:9px;gap:9px}
 .game-page .player-name{flex-basis:100%}.game-page .player-toolbar-right{width:100%;justify-content:space-between}
 .game-page .player-name>strong{max-width:none}.player-presence{margin-left:auto}
 .game-page{--player-stage-limit:max(180px,calc(100dvh - var(--top) - 125px))}
 .fresh-games .section-heading{align-items:flex-start;gap:14px;flex-wrap:wrap}
}
@media(max-width:600px){
 .player-toolbar-right{gap:8px}.player-presence{font-size:11px;padding-left:9px}.player-presence [data-game-playing]{font-size:13px}
 .player-play-total [data-game-plays]{font-size:15px}.player-play-total{font-size:12px}
 .section-heading-actions{gap:14px;width:100%;justify-content:space-between}
 .site-live-card{padding:8px 11px;min-height:43px;border-radius:10px}.site-live-copy strong{font-size:21px}
 .site-live-card>.icon{display:none}.section-heading-actions>a{font-size:12px}
}

/* Keep the live count in the home header, aligned with the adjacent actions. */
.home-page .header-actions{gap:8px}
.header-actions .site-live-card{height:38px;min-height:38px;padding:0 11px;gap:8px;border-radius:10px;box-shadow:none;flex-shrink:0}
.header-actions .site-live-copy{align-items:center;gap:6px;line-height:1}
.header-actions .site-live-copy strong{font-size:16px;line-height:1;font-weight:700;letter-spacing:0}
.header-actions .site-live-copy>span{font-size:14px;line-height:1;font-weight:600}
.header-actions .site-live-card>.icon{display:none}
.player-presence{font-size:13px;line-height:1.2}
.player-presence [data-game-playing]{font-size:14px;line-height:1.2}
.player-play-total{font-size:13px;line-height:1.2}
.player-play-total [data-game-plays]{font-size:14px;line-height:1.2}
@media(max-width:1150px){.home-page .topbar{gap:12px}.header-actions .site-live-card{padding:0 9px;gap:7px}.header-actions .site-live-copy>span{font-size:13px}}
@media(max-width:600px){.header-actions .site-live-card{height:30px;min-height:30px;padding:0 7px;gap:6px}.header-actions .site-live-copy{gap:4px}.header-actions .site-live-copy strong{font-size:14px}.header-actions .site-live-copy>span{font-size:12px}.header-actions .site-live-card .player-live-dot{width:5px;height:5px;flex-basis:5px}}

/* Match the adjacent header actions and use the FG wordmark color. */
.header-actions .my-games,.header-actions .surprise-button,.header-actions .site-live-card{height:40px;min-height:40px;box-sizing:border-box;display:inline-flex;align-items:center;padding-block:0;border-radius:10px}
.header-actions .site-live-card{background:var(--orange);border-color:var(--orange);color:#25372e;padding-inline:13px;box-shadow:0 2px 0 #52664725}
.header-actions .site-live-card .player-live-dot{background:#735f50}
.header-actions .site-live-card.is-active .player-live-dot{background:#3d6c44;box-shadow:0 0 0 3px #3d6c4418}
@media(max-width:600px){.header-actions .my-games,.header-actions .site-live-card{height:30px;min-height:30px}.header-actions .site-live-card{padding-inline:7px}.header-actions .my-games{padding:0;width:25px}.header-actions .surprise-button{display:none}}

@media(max-width:850px){.header-actions .surprise-button{display:none}}

@media(min-width:1151px){.header-actions .my-games,.header-actions .surprise-button,.header-actions .site-live-card{min-width:140px;justify-content:center}}
