/* Climb On!: 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; right: 3vw; bottom: 3vh; 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; max-width: 24vw; }
.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); gap: 2vh; padding: 3vh 3vw; }
.t-head { display: flex; align-items: baseline; gap: 3vw; }
.t-head h1 { font-size: 6vh; }
.t-turn { flex: 1; font-size: 3vh; color: var(--dim); font-weight: 700; }
.t-code { font: 800 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 3vw; min-height: 0; }
.t-mtn { min-height: 0; --die: 7.4vh; --tagw: 9vh; font-size: 3.2vh; }
.t-mtn .slots { gap: .8vh; }
.t-mtn .ledge { padding: .8vh 1vh 1vh; }
.t-side { display: flex; flex-direction: column; gap: 1.6vh; min-height: 0; }
.t-team { position: relative; background: #0005; border: .4vh solid var(--sky3); border-left: 1.2vh solid var(--team); border-radius: 1.6vh; padding: 1.3vh 1.4vw; display: grid; grid-template-columns: 1fr auto; gap: .6vh 1vw; align-items: center; }
.t-team.up { border-color: var(--team); background: #ffffff10; }
.t-name { font-size: 3.2vh; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-name .sw { display: none; }
.t-name .bot, .t-name .off { font-size: 1.7vh; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .2vh .6vw; border-radius: 99px; background: var(--sky3); color: var(--dim); margin-right: .6vw; vertical-align: middle; }
.t-score { font-size: 2.4vh; color: var(--dim); text-align: right; } .t-score b { font: 800 5vh/1 var(--display); color: var(--team); margin-right: .4vw; }
.t-toks { grid-column: 1 / -1; display: flex; align-items: center; gap: .5vw; font-size: 2.6vh; }
.t-left { margin-left: auto; color: var(--dim); font-size: 2.2vh; }
.t-tag { position: absolute; top: -1.8vh; right: 1vw; background: var(--team); color: var(--ink); font-size: 1.9vh; font-weight: 800; padding: .2vh .9vw; border-radius: 99px; }
.t-roll { display: flex; align-items: center; gap: 1vw; padding: 1.4vh 1.4vw; border-radius: 1.6vh; background: #0004; font-size: 3vh; --die: 6vh; }
.t-pend { font-size: 2.4vh; color: var(--rope); }
.t-wait { font-size: 3vh; color: var(--dim); padding: 2vh 0; }
.t-feed { font-size: 2.3vh; color: var(--dim); display: grid; gap: .5vh; margin-top: auto; } .t-feed div:last-of-type { color: var(--chalk); }
.t-changes { font-size: 2.1vh; color: var(--t1); }
.t-banner { position: fixed; left: 50%; top: 1.5vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.4vh 3vw; border-radius: 99px; font: 800 4.4vh var(--display); white-space: nowrap; background: var(--chalk); color: var(--ink); box-shadow: 0 1vh 4vh #000a; animation: bannerin .3s ease-out; }
.t-banner.good { background: var(--good); } .t-banner.bad { background: var(--rope); }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }
