/* Eight By Eight: the TV. 1920x1080, read from across the room: everything is sized in vh/vw.
   The board fills the left, as tall as the screen; the die, the players and the feed sit on the right. */
body.tvpage { overflow: hidden; }
body.tvpage #cs-pres-slot { position: fixed; right: 2.5vw; 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 .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: auto minmax(0, 1fr); gap: 3vw; padding: 3vh 3vw; }
.t-board { height: 94vh; aspect-ratio: 872 / 966; }
.t-board svg.board { filter: drop-shadow(0 1.2vh 3vh #000a); }
.t-side { display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr); gap: 2.4vh; min-width: 0; }
.t-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2vw; }
.t-head h1 { font-size: 6.4vh; color: var(--paper); } .t-head h1 i { font-style: normal; color: var(--accent); }
.t-code { font: 800 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-round { font-size: 3.2vh; color: var(--dim); font-weight: 700; } .t-round b { color: var(--paper); }
.t-last { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.t-up { display: flex; align-items: center; gap: 2vw; padding: 2vh 1.6vw; border-radius: 2.4vh; background: #0005; border: .4vh solid var(--line); }
.t-up.c0 { border-color: var(--red); } .t-up.c1 { border-color: var(--yellow); } .t-up.c2 { border-color: var(--green); } .t-up.c3 { border-color: var(--blue); }
.t-die .die { width: 11vh; height: 13.2vh; }
.t-name { font: 800 4.4vh var(--display); }
.t-doing { font-size: 3vh; color: var(--dim); font-weight: 700; }
.t-prev { font-size: 2.4vh; color: var(--dim); } .t-prev s { text-decoration-thickness: .3vh; margin-right: .4vw; }
.t-seats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4vh 1vw; }
.t-seats .seat { padding: 1.2vh 1vw; border-radius: 1.8vh; border-width: .35vh; column-gap: .8vw; }
.t-seats .seat-pc { width: 5vh; height: 5vh; }
.t-seats .seat-name { font-size: 2.8vh; }
.t-seats .seat-nums { font-size: 2.2vh; gap: 1vw; }
.t-seats .seat-out { font-size: 2vh; min-height: 3vh; gap: .4vw; margin-top: .6vh; }
.t-seats .seat-out b { width: 3vh; height: 3vh; font-size: 1.9vh; }
.t-seats .tagb { font-size: 1.5vh; }
.t-feed { font-size: 2.5vh; color: var(--dim); display: grid; gap: .4vh; align-content: end; padding-bottom: 8vh; } .t-feed div:last-of-type { color: var(--ink); }
.t-hold { color: var(--accent) !important; font-weight: 700; }
.t-banner { position: fixed; left: 76.5%; top: 23vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.4vh 3vw; border-radius: 3vh; font: 800 4.6vh var(--display); background: var(--paper); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; animation: bannerin .3s ease-out; max-width: 44vw; width: max-content; text-align: center; font-size: min(4.6vh, 2vw); }
.t-banner.good { background: var(--accent); } .t-banner.bad { background: #141016; color: var(--paper); border: .3vh solid var(--paper); }

.t-banner.seen { animation: none; }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }
