/* Shared RivalStage presentation and streamer tools. */
.stage-links{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 26px}.stage-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 15px;border:1px solid #63829d;border-radius:12px;background:#17344d;color:#f4f8ff;text-decoration:none;font-weight:650;font-size:13px}.stage-links a:hover{background:#2d5372}.stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.stage-grid>*{min-width:0}.stage-grid .panel{padding:25px}.stage-big{font:750 clamp(26px,4vw,44px)/1.2 system-ui;margin:15px 0;color:inherit}.stage-event{margin-bottom:22px}.stage-queue-row{padding:16px 0;border-bottom:1px solid #8192a444;overflow-wrap:anywhere}.stage-ranking{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #8192a444;flex-wrap:wrap}.stage-ranking span{margin-left:auto}.stage-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:22px 0}.stage-filters label{min-width:150px;flex:1}.stage-overlay-preview{display:block;width:100%;height:460px;border:1px solid #8192a4;border-radius:16px;background:#0c1728;margin:18px 0}.stage-answer{display:block;width:100%;min-height:48px;text-align:left;margin:10px 0;padding:12px 16px}.stage-drill{scroll-margin-top:20px}.stage-drill details{margin:18px 0}.stage-series-score{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:15px;background:linear-gradient(120deg,#152d47,#352540);color:#f4f8ff;border:1px solid #708eaa;border-radius:14px;padding:12px;margin-bottom:15px}.stage-series-score>span{font-size:11px;letter-spacing:.1em}.stage-series-score strong{font:750 26px/1 system-ui}.stage-series-score a{color:#c6e8ff}.stage-connection{font-size:12px;color:#1a6b48;padding:6px 10px;border-radius:8px;background:#8dd7af33}.stage-connection.is-offline{color:#99442f;background:#ffcda54d}.game-media-controls [data-game-reconnect]{min-height:40px;font-size:12px}.stage-game-tools{margin-top:18px}.stage-game-tools a{line-height:1.7}body[data-member] .chess-clock,.darts-scoreline,.domino-player-card{border-radius:16px;box-shadow:inset 0 1px #ffffff24,0 5px 16px #0002}.game-opening .opening-player .avatar{box-shadow:0 0 0 4px #b6cee522,0 8px 25px #0005}.result-card{border:1px solid #a3b8c85c;box-shadow:inset 0 1px #ffffff38,0 18px 55px #0006}.game-input-deck button,.board-tools a,.game-chat-shortcut{min-height:44px}.game-input-deck .control-label{line-height:1.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e4a957;outline-offset:4px}.stage-overlay{--stage-accent:#4cd5ef}.stage-overlay.accent-ruby{--stage-accent:#ff657b}.stage-overlay.accent-violet{--stage-accent:#c399ff}.stage-overlay .pool-player.is-turn,.stage-overlay .chess-clock.is-active,.stage-overlay .domino-player-card.is-turn{border-color:var(--stage-accent)}.stage-overlay .embed-status,.stage-overlay .stage-series-score strong{color:var(--stage-accent)}.stage-overlay.names-large .player-strip strong,.stage-overlay.names-large .pool-player strong,.stage-overlay.names-large .domino-player-card strong{font-size:clamp(18px,2.2vw,30px)}.stage-overlay.names-small .player-strip strong,.stage-overlay.names-small .pool-player strong{font-size:13px}.stage-overlay.overlay-portrait .embed-stage{max-width:1080px;margin:auto}.stage-overlay.overlay-portrait .embed-heading{flex-wrap:wrap}.stage-overlay.overlay-portrait .pool-scoreboard{grid-template-columns:1fr 1fr}.stage-overlay.overlay-portrait .pool-centre-brand{display:none}.stage-overlay.hide-series .stage-series-score{display:none}.stage-overlay .game-media-controls{display:none}.stage-overlay .pool-orientation-hint{display:none}
[data-theme=dark] .stage-connection{color:#9fe3bf}[data-theme=dark] .stage-connection.is-offline{color:#ffd2a2}[data-theme=dark] .stage-overlay-preview{border-color:#49617d}
@media(max-width:850px){.stage-grid{grid-template-columns:1fr}.stage-grid .panel{padding:19px}.stage-overlay-preview{height:360px}.stage-links{gap:7px}.stage-links a{font-size:12px;padding:9px 12px}.stage-ranking{gap:10px}.stage-ranking span{margin-left:0}.stage-filters{display:block}.stage-filters label{display:block;margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.game-opening,.result-card{animation:none!important;transition:none!important}}

.stage-match-banner{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:12px;align-items:center;background:linear-gradient(120deg,#123951,#29203d);border:1px solid #6c8aa5;border-radius:17px;padding:16px;margin:0 0 18px;box-shadow:inset 0 1px #ffffff24,0 8px 20px #0002;color:#f1f6fc}.stage-match-banner>div{display:flex;align-items:center;gap:12px;min-width:0}.stage-match-banner>div:last-child{flex-direction:row-reverse;text-align:right}.stage-match-banner strong{font:700 15px/1.3 system-ui;overflow-wrap:anywhere}.stage-match-banner small{display:block;font:400 10px/1.5 system-ui;color:#bdd0e5;margin-top:4px}.stage-match-banner .avatar{width:50px;height:50px;flex-shrink:0;border-radius:14px;box-shadow:0 0 0 3px #ffffff22}.stage-match-banner .stage-versus{text-align:center;color:#ebc38a;font:800 19px/1 system-ui}.table-board:has(.stage-match-banner)>.player-strip{display:none}@media(max-width:600px){.stage-match-banner{padding:12px;gap:8px;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)}.stage-match-banner>div{gap:7px}.stage-match-banner .avatar{width:32px;height:32px;border-radius:9px}.stage-match-banner strong{font-size:11px}.stage-match-banner small{font-size:8px}.stage-match-banner .stage-versus{font-size:14px}}

.game-media-controls [data-game-update-status].stage-connection{width:auto;color:#1a6b48}.game-media-controls [data-game-update-status].stage-connection.is-offline{color:#99442f}[data-theme=dark] .game-media-controls [data-game-update-status].stage-connection{color:#9fe3bf}[data-theme=dark] .game-media-controls [data-game-update-status].stage-connection.is-offline{color:#ffd2a2}

.pool-colour-1{--ball:#efbb18}.pool-colour-2{--ball:#2366c4}.pool-colour-3{--ball:#d63b3f}.pool-colour-4{--ball:#863ba5}.pool-colour-5{--ball:#ef791c}.pool-colour-6{--ball:#148977}.pool-colour-7{--ball:#8d2e32}.pool-colour-8{--ball:#141b27}
.stage-event,.stage-grid .panel,.stage-series-score,.stage-queue-row{overflow-wrap:anywhere}.stage-drill summary{min-height:44px;padding:10px 0;cursor:pointer;box-sizing:border-box}
