/* Rocketball: the TV. 1920x1080, read from across the room: everything is sized in vh/vw. The field is
   the middle column at full height; North's card top left by its goal, South's bottom left by its own. */
body.tvpage { overflow: hidden; }
body.tvpage #cs-pres-slot { position: fixed; right: 2vw; bottom: 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-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 2vw; padding: 2vh 2vw; }
.t-left, .t-right { display: flex; flex-direction: column; gap: 2.2vh; min-width: 0; }
.t-left { justify-content: space-between; }
.t-title { display: flex; align-items: center; gap: 1vw; font: 900 5vh/1 var(--display); color: var(--amber); letter-spacing: .03em; }
.t-logo { height: 7vh; filter: invert(1) sepia(1) saturate(4) hue-rotate(-20deg); }
.t-field { height: 96vh; aspect-ratio: 884 / 1300; min-height: 0; }
.t-seat { position: relative; background: #0006; border: .45vh solid var(--line); border-left: 1.2vh solid var(--c); border-radius: 2vh; padding: 1.6vh 1.4vw; display: grid; gap: .8vh; }
.t-seat.up { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, #0008); box-shadow: 0 0 3vh color-mix(in srgb, var(--c) 40%, transparent); }
.t-name { font-size: 3.6vh; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--c); }
.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(--night3); color: var(--dim); margin-left: .6vw; vertical-align: middle; }
.t-score { display: flex; align-items: center; gap: 1vw; } .t-score b { font: 900 7vh/1 var(--display); }
.t-score .pips i { width: 2.6vh; height: 2.6vh; border-width: .4vh; }
.t-aim { font-size: 2.3vh; color: var(--dim); } .t-aim b { color: var(--ink); }
.t-bag { position: absolute; top: -1.8vh; right: 1vw; background: var(--c); color: var(--inkd); font-size: 2vh; font-weight: 800; padding: .3vh 1vw; border-radius: 99px; }
.t-mid { display: grid; justify-items: center; gap: 1.2vh; text-align: center; }
.t-die .d4 { font-size: 9vh; }
.t-phase { font-size: 3.2vh; font-weight: 800; }
.t-meta { font-size: 2vh; color: var(--dim); }
.t-code { display: flex; align-items: baseline; gap: 1vw; justify-content: flex-end; color: var(--dim); font-size: 2.4vh; }
.t-code b { font: 900 5vh var(--display); letter-spacing: .5vh; color: var(--ink); }
.t-feed { font-size: 2.3vh; color: var(--dim); display: grid; gap: .8vh; } .t-feed div:last-of-type { color: var(--ink); }
.t-changes { font-size: 2.1vh; color: var(--storm); }
.t-legend { margin-top: auto; margin-bottom: 22vh; display: grid; gap: .8vh; font-size: 1.9vh; color: var(--dim); }
.t-legend i { display: inline-block; width: 4vh; height: 1vh; margin-right: .8vw; vertical-align: middle; border-radius: 1vh; }
.t-legend .lg-path { background: repeating-linear-gradient(90deg, #b8a996 0 .5vh, transparent .5vh 1.3vh); }
.t-legend .lg-trail { background: #ff6a00aa; }
.t-legend .lg-lock { width: 1.8vh; height: 1.8vh; border-radius: 50%; background: var(--paper); }
.t-banner { position: fixed; left: 50%; top: 40vh; transform: translate(-50%, -50%); z-index: 8; pointer-events: none; padding: 2vh 3vw; border-radius: 3vh; font: 800 4vh var(--body); background: var(--paper); color: var(--inkd); box-shadow: 0 1vh 6vh #000c; animation: bannerin .3s ease-out; text-align: center; }
.t-banner.goal { background: #1d1b19; color: var(--paper); border: .6vh solid var(--amber); }
.t-banner .goalimg { display: block; height: 16vh; margin: 0 auto 1vh; }
.t-banner.kick { top: 12vh; font-size: 3.2vh; }
.t-banner.bad { background: var(--bad); color: #fff; }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
