/* Runaround: the TV. 1920x1080, read from across the room: everything is sized in vh/vw. */
body.tvpage { overflow: hidden; }
body.tvpage #cs-pres-slot { position: fixed; left: 50%; transform: translateX(-50%); top: 2.4vh; z-index: 6; }
.atr .atr-title { font-family: var(--display); }
.atr .atr-game { display: flex; flex-direction: column; align-items: center; gap: .8vh; }
.atr .atr-game .opts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5vh 1.2vw; font-size: .95vw; white-space: nowrap; }
.atr .atr-game label { display: inline-flex; align-items: center; gap: .4vw; }
.atr .atr-game select { font-size: .9vw; padding: .15em .3em; }
.atr .atr-game .buttons { display: flex; gap: .7vw; }
.atr .atr-game .buttons button { font-size: 1vw; padding: .35em 1em; }

.tv { position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 2vh; padding: 2.6vh 2.6vw 3vh; }
.t-head { display: flex; align-items: baseline; gap: 2.5vw; }
.t-head h1 { font-size: 5.6vh; }
.t-goal { flex: 1; font-size: 2.6vh; color: var(--dim); font-weight: 700; } .t-goal b { color: var(--ink); }
.t-goal .c0 { color: var(--red2); } .t-goal .c1 { color: #8a6a00; }
.t-code { font: 900 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-board { min-height: 0; display: flex; justify-content: center; }
.t-board svg.board { width: auto; max-width: 100%; height: 100%; }
.t-low { display: grid; grid-template-columns: 1fr minmax(0, 1.25fr) 1fr; gap: 2vw; align-items: stretch; }
.t-seat { position: relative; background: var(--board); border: .45vh solid var(--ink); border-radius: 2vh; padding: 1.6vh 1.6vw; display: grid; gap: 1.2vh; align-content: start; box-shadow: 0 .6vh 0 var(--ink); }
.t-seat.up.s0 { background: #fde3dd; } .t-seat.up.s1 { background: #fff4c2; }
.t-seat.up { transform: translateY(-.8vh); box-shadow: 0 1.4vh 0 var(--ink); }
.t-name { font-size: 3.4vh; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-name .bot, .t-name .off { font-size: 1.7vh; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: .2vh .6vw; border-radius: 99px; background: var(--paper3); color: var(--dim); margin-left: .8vw; vertical-align: middle; }
.t-row2 { display: flex; align-items: center; gap: 1vw; font-size: 3.4vh; }
.t-lab { font-size: 1.8vh; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); width: 4.4vw; }
.t-tag { position: absolute; top: -2vh; right: 1vw; background: var(--ink); color: var(--paper); font-size: 2vh; font-weight: 800; padding: .3vh 1vw; border-radius: 99px; }
.t-mid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6vw; align-items: center; }
.t-mid .die { font-size: 13vh; }
.t-feed { font-size: 2.5vh; color: var(--dim); display: grid; gap: .5vh; } .t-feed div:last-of-type { color: var(--ink); font-weight: 700; }
.t-hold { color: var(--red2) !important; font-weight: 800; }
.t-changes { position: fixed; right: 2.6vw; top: 9vh; font-size: 2vh; color: var(--dim); }
.t-banner { position: fixed; left: 50%; top: 42vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.6vh 3.4vw; border-radius: 99px; font: 900 5vh var(--display); background: var(--board); color: var(--ink); border: .5vh solid var(--ink); box-shadow: 0 1vh 0 var(--ink); animation: bannerin .3s ease-out; }
.t-banner.s0 { background: var(--red); color: #fff; } .t-banner.s1 { background: var(--yel); } .t-banner.bad { background: var(--ink); color: var(--yel); }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }
