/* UpTower: 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: 2vw; bottom: 1.5vh; 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 .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 auto minmax(0, 1fr) auto; gap: 1.6vh; padding: 2.2vh 2vw 2vh; }
.t-head { display: flex; align-items: center; gap: 1.6vw; }
.t-head .logo { width: 6vh; height: 6vh; }
.t-head h1 { font-size: 5.6vh; }
.t-roll { flex: 1; display: flex; align-items: center; justify-content: center; gap: 1.2vw; }
.t-roll .die.big { width: 7vh; height: 7vh; }
.t-rolled { font: 800 4vh var(--display); color: var(--paper); }
.t-last { font: 800 2.6vh var(--body); color: var(--bad); text-transform: uppercase; letter-spacing: .08em; }
.t-code { font: 800 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-tally { display: flex; justify-content: center; gap: 2.4vw; }
.t-pc { padding: .6vh .8vw; border-radius: 1.2vh; background: #0a1f3699; border: .25vh solid transparent; }
.t-pc.face { border-color: var(--gold); background: #f2b13422; }
.t-pc .piece { height: 8.5vh; width: auto; }
.t-towers { display: flex; justify-content: center; align-items: stretch; gap: 1.2vw; min-height: 0; }
.t-seat { position: relative; flex: 1 1 0; max-width: 34vw; min-width: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; gap: .6vh; justify-items: center;
  background: #0a1f3680; border: .35vh solid var(--line); border-radius: 1.6vh; padding: 1vh .6vw; }
.t-seat.done { border-color: var(--good); }
.t-seat.lead .t-total b { color: var(--gold); }
.t-seat.out { opacity: .45; }
.t-name { font-size: 2.6vh; font-weight: 800; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.t-name .bot, .t-name .off { font-size: 1.5vh; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .2vh .5vw; border-radius: 99px; background: var(--sky3); color: var(--dim); margin-right: .5vw; vertical-align: middle; }
.t-total { display: flex; align-items: baseline; gap: .6vw; }
.t-total b { font: 800 5vh/1 var(--display); color: var(--chalk); }
.t-total span { font-size: 2vh; color: var(--dim); }
.t-board { width: 100%; min-height: 0; display: flex; justify-content: center; }
.t-board .board { height: 100%; width: auto; max-width: 100%; }
.t-wills { display: flex; gap: .4vw; }
.t-wills i { width: 2.6vh; height: 2.6vh; border-radius: 50%; display: grid; place-items: center; font: 700 1.5vh var(--body); font-style: normal; background: #c9d3de; color: var(--inkd); border: .3vh solid #8b9bb0; }
.t-wills i.used { background: #fff; border-color: var(--gold); text-decoration: line-through; opacity: .55; }
.t-status { font-size: 2vh; color: var(--dim); min-height: 2.6vh; font-weight: 700; }
.t-seat.done .t-status { color: var(--good); }
.t-feed { font-size: 2.3vh; color: var(--dim); display: grid; gap: .3vh; min-height: 5.6vh; padding-right: 22vw; } .t-feed div:last-of-type { color: var(--chalk); }
.tv.n6 .t-name, .tv.n7 .t-name, .tv.n8 .t-name { font-size: 2.2vh; }
.tv.n7 .t-total b, .tv.n8 .t-total b { font-size: 4.2vh; }
.tv.n7 .t-wills i, .tv.n8 .t-wills i { width: 2.2vh; height: 2.2vh; font-size: 1.3vh; }
.t-banner { position: fixed; left: 50%; top: 13vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.4vh 3vw; border-radius: 99px; font: 800 4.4vh var(--display); background: var(--paper); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; animation: bannerin .3s ease-out; max-width: 80vw; text-align: center; }
.t-banner.good { background: var(--gold); } .t-banner.bad { background: var(--brick); color: #fff; }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }
