.spectator-shell { width: min(52rem, 100%); margin: auto; padding: clamp(.8rem, 3vw, 2rem); }
.spectator-shell header { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.spectator-shell header h1 { margin: 0; }
.spectator-shell p { line-height: 1.5; }
#watch-invite-form { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
#watch-friend { max-width: 100%; }
#watch-invitations { list-style: none; padding: 0; }
#watch-invitations li { border-top: 1px solid #8c795d; padding: 1rem 0; display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
#watch-invitations input { width: 100%; min-width: 0; }
#watch-board-stage { width: 100%; height: clamp(16rem, 46vh, 26rem); position: relative; }
#watch-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
#watch-counts { width: 100%; table-layout: fixed; text-align: center; margin: 1rem 0; border-collapse: collapse; }
#watch-counts caption { margin-bottom: .5rem; }
#watch-counts th { font-size: .85rem; font-weight: normal; padding: .3rem; }
#watch-counts td { padding: .7rem .2rem; font-size: 1.2rem; background: #3b2b1e; border: 1px solid #8c795d; color: #fff4df; }
#watch-players, #watch-score { font-weight: 600; }
.watch-clock-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.watch-clock-row strong { font-variant-numeric: tabular-nums; padding: .25rem .5rem; border: 1px solid transparent; border-radius: .4rem; }
.watch-clock-row strong[data-active="true"] { border-color: #e9bb62; }
#watch-clock-note { font-size: .85rem; }
.spectator-shell :focus-visible { outline: 3px solid #e9bb62; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .spectator-shell * { scroll-behavior: auto; } }
