.live-ticker500{display:block;background:#08783e;color:#fff!important;text-decoration:none;overflow:hidden;padding:10px 0;border-block:1px solid #29bd70;font-size:14px;font-weight:750;line-height:1.5}.live-ticker500[hidden]{display:none}.live-ticker-track500{display:flex;width:max-content;animation:liveRibbon500 35s linear infinite}.live-ticker-track500>span{white-space:nowrap;padding-right:55px}.live-ticker500:hover .live-ticker-track500,.live-ticker500:focus-visible .live-ticker-track500{animation-play-state:paused}@keyframes liveRibbon500{to{transform:translateX(-50%)}}@media(prefers-reduced-motion:reduce){.live-ticker-track500{animation:none;max-width:100%}.live-ticker-track500>span{white-space:normal}.live-ticker-track500>span[aria-hidden]{display:none}}
.spectator-board500{display:grid;gap:15px}.spectator-player500{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:15px}.spectator-player500 h2{font-size:18px}.spectator-zones500{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.spectator-cards500{display:flex;gap:9px;flex-wrap:wrap;align-items:start}.spectator-cards500 button{padding:0;border:1px solid #a28a57;background:transparent;border-radius:6px;overflow:hidden;max-width:110px}.spectator-cards500 img{display:block;width:100%;height:auto}.spectator-cards500 .spectator-super500{max-width:140px}.spectator-audio500 .btn{margin-right:7px;margin-bottom:5px}.spectator-audio500 audio{display:none}.spectator-dialog500{max-width:520px;width:90vw;max-height:90vh;overflow:auto;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:20px}.spectator-dialog500 img{max-width:100%;max-height:65vh;display:block;margin:auto}.spectator-dialog500 p{white-space:pre-line;line-height:1.6}.spectator-notice500{border-color:#16894d}.spectator-audience500{display:flex;gap:10px;flex-wrap:wrap}.spectator-toolbar500{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}

.spectator-stacks631{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0}.spectator-stack631{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:110px;padding:9px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:9px;cursor:pointer}.spectator-stack631 strong{font-size:12px}.spectator-stack-layers631{display:block;position:relative;width:110px;height:150px}.spectator-stack-layer631{position:absolute;top:calc(var(--layer)*4px);left:calc(var(--layer)*4px);width:94px;height:132px;background:var(--panel);border:1px solid #b49860;border-radius:5px;overflow:hidden}.spectator-stack-layer631 img{display:block;width:100%;height:100%;object-fit:contain}.spectator-stack631:hover,.spectator-stack631:focus-visible{outline:2px solid #e8bc62;outline-offset:2px}.spectator-stack-layer631.has-under620{outline:2px solid #f2c45b}

/* Match cards lie horizontally on the public table, without portrait frames. */
.spectator-stack631.spectator-match-stack670{padding:0;background:transparent;border:0;border-radius:0;min-width:140px}
.spectator-match-stack670 .spectator-stack-layers631{width:140px;height:104px}
.spectator-match-stack670 .spectator-stack-layer631{width:124px;height:auto;aspect-ratio:7/5;background:transparent;border:0;border-radius:4px;box-shadow:0 2px 4px #0004}
.spectator-match-stack670 .spectator-stack-layer631 img{width:100%;height:auto;object-fit:contain}

.spectator-ended670{padding:18px 22px;border:2px solid var(--accent,#b4904d);border-radius:10px;background:var(--panel);color:var(--text);font-size:20px;font-weight:800;text-align:center}

/* Public selectors use the same verified scan bounds as the game table. */
.spectator-cards500 button.r2f-landscape-frame638{height:auto;min-height:0;aspect-ratio:var(--r2f-scan-ratio641,7/5)}
.spectator-cards500 button.r2f-landscape-frame638>img{max-height:none}
.spectator-match-stack670 .spectator-stack-layer631.r2f-landscape-frame638{aspect-ratio:var(--r2f-scan-ratio641,7/5);height:auto}

.spectator-history680{margin-top:16px}.spectator-history680 h2{font-size:18px;margin-bottom:10px}.spectator-history680 .log{max-height:320px;overflow-y:auto;overscroll-behavior:contain;font-size:14px;line-height:1.55}.spectator-history680 .event{overflow-wrap:anywhere}@media(max-width:650px){.spectator-history680 .log{max-height:240px}}
