/* Shared player-first leaderboard, matching the Team Battle panel. */
.arcade-board-dialog{box-sizing:border-box;width:min(500px,calc(100% - 24px));max-height:86dvh;overflow:auto;padding:20px 18px;border:1px solid #535d49;border-radius:22px;background:#242922;color:#f7f9f2;box-shadow:0 20px 70px #0006;font-family:Inter,Arial,sans-serif}.arcade-board-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.arcade-board-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.arcade-board-dialog header>div{display:flex;gap:9px;align-items:center}.arcade-board-dialog header svg{width:24px;height:24px;color:#b9ff21;flex:none}.arcade-board-dialog h3{margin:0;font-size:20px;letter-spacing:-.04em}.arcade-board-dialog .arcade-board-close{display:grid;place-items:center;width:36px;height:36px;margin:0;border:0;border-radius:50%;background:#ffffff09;color:#e7efdf;font-size:26px}.arcade-board-intro{font-size:11px;line-height:1.6;color:#b3c2a5;margin:9px 0 20px}.arcade-board-columns{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.1em;color:#9ead92;padding-bottom:12px;border-bottom:1px solid #4a5540}.arcade-board-dialog ol{padding:0!important;margin:0!important;list-style:none!important;max-height:none!important;overflow:visible!important}.arcade-board-dialog .arcade-board-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 0;border-bottom:1px solid #ffffff10;align-items:center}.arcade-board-profile{min-width:0;display:flex;align-items:center;gap:9px;text-align:left;border:0;background:transparent;padding:0;color:#f2f7eb;font:inherit;cursor:pointer}.arcade-board-rank{flex:none;width:18px;color:#9dac92;font-size:11px}.arcade-board-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;background:#3b4732;color:#d6f4b9;border-radius:50%;font-size:11px;font-weight:750;overflow:hidden}.arcade-board-avatar img{width:100%;height:100%;object-fit:cover}.arcade-board-name{min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:650;line-height:1.4}.arcade-board-score{color:#caff77;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.arcade-board-row.is-you .arcade-board-name{color:#caff77}.arcade-board-dialog>.rally-leaderboard{border:0;margin:0;padding:0}.arcade-board-dialog>.rally-leaderboard>summary{display:none}.arcade-board-dialog .smash-board-content{padding:0!important}.arcade-board-dialog .leaderboard-intro{display:none}.arcade-board-dialog :is(#rallyLeaderboardRefresh,#rallyLeaderboardMore,#smash60Refresh){padding:9px 13px;border:1px solid #62734e;border-radius:99px;background:#303b28;color:#e1edce;font-size:11px;margin-top:14px}.arcade-board-dialog #rallyLeaderboardToggle{display:none!important}.arcade-board-dialog :is(.arcade-how,.game-rewards){border:0;border-top:1px solid #ffffff16;margin-top:16px;padding-top:8px}.arcade-board-dialog :is(.arcade-how,.game-rewards)>summary{font-size:11px;color:#b8c8aa}
#smashGame .smash60-board-launch{display:flex;align-items:center;gap:5px;border:1px solid #b9ff2135;border-radius:99px;padding:5px 7px;background:#b9ff2110;color:#d7e9c3;font-size:9px}#smashGame .smash60-board-launch svg{width:15px;height:15px;color:#b9ff21}
/* Crowned coin sits alongside the game title, freeing up the court. */
:is(#rallyGame,#smashGame,#clashDialog) .rally-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
:is(#rallyGame,#smashGame,#clashDialog) .battle-coin-control{width:58px;min-width:58px;height:58px;margin:0;padding:0;border:0;background:none;flex:none}
:is(#rallyGame,#smashGame,#clashDialog) .battle-coin-control .battle-attempt-use{position:relative!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:58px!important;height:58px!important;min-height:58px!important;padding:4px!important;border:2px solid #d7fba0!important;border-radius:50%!important;background:#b9ff21!important;color:#182508!important;box-shadow:inset 0 0 0 2px #18250830,0 3px 10px #0003;font-size:8px!important;line-height:1.1;touch-action:manipulation}
:is(#rallyGame,#smashGame,#clashDialog) .battle-coin-control[data-team=black] .battle-attempt-use{background:#10150e!important;color:#e1f0cd!important;border-color:#b6c99b!important}
:is(#rallyGame,#smashGame,#clashDialog) .battle-coin-control[data-team=neutral] .battle-attempt-use{background:linear-gradient(90deg,#b9ff21 50%,#10150e 50%)!important;color:#fff!important;text-shadow:0 1px 3px #000}
.battle-coin-crown{width:17px;height:13px;flex:none}.battle-coin-words{font-size:8px;font-weight:900;letter-spacing:.03em;line-height:1.05;text-align:center}.battle-coin-state{font-size:6px!important;letter-spacing:.03em;font-weight:800}.battle-coin-control .battle-attempt-use:disabled{opacity:.6!important}
.battle-attempt-confirm{width:min(430px,calc(100% - 24px));max-height:88dvh;overflow:auto;box-sizing:border-box;padding:24px 20px;background:#242c20;border:1px solid #62744d;border-radius:22px;color:#f4f7ee}.battle-attempt-confirm::backdrop{background:#000b;backdrop-filter:blur(4px)}.battle-confirm-kicker{font-size:9px;letter-spacing:.13em;font-weight:800;color:#b9ff21}.battle-attempt-confirm h3{font-size:25px;line-height:1.1;letter-spacing:-.04em;margin:9px 0 5px}.battle-confirm-game{font-size:12px;color:#b2c6a0;margin:0 0 20px}.battle-token-steps{display:grid;gap:16px;list-style:none;margin:0;padding:0}.battle-token-steps li{display:flex;align-items:flex-start;gap:11px}.battle-token-steps b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#b9ff21;color:#20310c;font-size:12px;flex:none}.battle-token-steps span{font-size:12px;line-height:1.5;color:#c3d2b6}.battle-token-steps strong{display:block;font-size:13px;color:#f0f6e7;margin-bottom:4px}.battle-token-reset{font-size:10px;line-height:1.6;color:#a5b798;border-top:1px solid #ffffff15;padding-top:14px;margin:20px 0 14px}.battle-attempt-confirm .battle-token-confirm,.battle-attempt-confirm .battle-token-cancel{width:100%;border:0;border-radius:99px;padding:13px;font-size:13px;font-weight:750;margin-top:8px}.battle-token-confirm{background:#b9ff21;color:#1c2d0b}.battle-token-cancel{background:#ffffff08;color:#d1dfc3}
.arcade-board-dialog>[hidden]{display:none!important}
.arcade-board-dialog .arcade-board-profile{border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;color:#f2f7eb!important;font-size:12px!important;min-height:38px}
.battle-token-steps span{text-align:left}.arcade-board-dialog #smash60BoardStatus{font-size:12px;color:#b5c4a7;line-height:1.5}.arcade-board-dialog #smash60BoardStatus:empty{display:none}

/* A quiet activation cue, only while today’s coin is available. */
.battle-coin-control.is-available .battle-attempt-use{animation:battle-activate-glow 2.4s ease-in-out infinite}
@keyframes battle-activate-glow{0%,100%{box-shadow:inset 0 0 0 2px #18250830,0 0 0 2px #b9ff2110,0 0 10px #b9ff2120}50%{box-shadow:inset 0 0 0 2px #18250830,0 0 0 4px #b9ff2125,0 0 18px #b9ff2145}}
@media(prefers-reduced-motion:reduce){.battle-coin-control.is-available .battle-attempt-use{animation:none;box-shadow:0 0 12px #b9ff2135}}
#clashDialog .clash-heading{display:grid;grid-template-columns:40px minmax(0,1fr) 58px;align-items:center;gap:10px}#clashDialog .clash-heading h3{font-size:24px}#clashDialog .battle-coin-control>small,#clashDialog .battle-attempt-copy{display:none}
