/* Shift: 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; }
.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: 3vh 3vw; }
.t-head { display: flex; align-items: baseline; gap: 2.4vw; }
.t-head h1 { font-size: 6vh; letter-spacing: .06em; }
.t-goal { flex: 1; font-size: 3vh; color: var(--dim); font-weight: 700; }
.t-turn { font-size: 3vh; color: var(--cord); font-weight: 800; }
.t-code { font: 800 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }

/* one column of hands up to four players, two columns from five */
.t-seats { display: grid; grid-template-columns: 1fr; grid-auto-rows: minmax(0, 1fr); gap: 1.6vh 2vw; min-height: 0; --card: 8.6vh; }
.tv[data-n="4"] .t-seats { --card: 7.4vh; }
.tv[data-n="5"] .t-seats, .tv[data-n="6"] .t-seats { grid-template-columns: 1fr 1fr; --card: 7.6vh; }
.tv[data-n="7"] .t-seats, .tv[data-n="8"] .t-seats { grid-template-columns: 1fr 1fr; --card: 6vh; }
.t-seat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2vw; min-height: 0; padding: 1vh 2vw; border-radius: 2.4vh; background: #0005; border: .45vh solid transparent; }
.tv[data-n="5"] .t-seat, .tv[data-n="6"] .t-seat, .tv[data-n="7"] .t-seat, .tv[data-n="8"] .t-seat { grid-template-columns: 1fr; justify-items: center; gap: .6vh; padding: .8vh 1vw; }
.t-seat.up { border-color: var(--line); background: var(--bark2); }
.t-seat.actor { border-color: var(--blaze); background: #ff9d3c1a; }
.t-name { display: flex; align-items: center; flex-wrap: wrap; gap: .6vh 1vw; font-size: 4vh; font-weight: 800; min-width: 0; }
.tv[data-n="7"] .t-name, .tv[data-n="8"] .t-name { font-size: 3vh; }
.t-name .bot, .t-name .off { font-size: 1.8vh; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .2vh .7vw; border-radius: 99px; background: var(--bark3); color: var(--dim); }
.t-tag { font-size: 2.1vh; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .3vh 1vw; border-radius: 99px; background: var(--cord); color: var(--inkd); }
.t-seat.actor .t-tag { background: var(--blaze); }
.t-name .dry { font-size: 2.6vh; }
.t-rowwrap { display: flex; align-items: center; gap: 1vw; }
.t-rowwrap .row { font-size: var(--card); gap: .14em; }
.t-end { font-size: 1.6vh; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); opacity: .7; }

.t-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: .6vh 2vw; min-height: 13.5vh; padding-right: 22vw; }
.t-feed { font-size: 2.5vh; color: var(--dim); display: grid; gap: .3vh; } .t-feed div:last-of-type { color: var(--ink); }
.t-air { font-size: 2.8vh; font-weight: 700; color: var(--cord); text-align: left; } .t-air .cd { font-size: 4vh; margin-right: .6vw; }
.t-changes { grid-column: 1 / -1; font-size: 2.2vh; color: var(--s2); }
.t-banner { display: inline-block; padding: 1.2vh 2.4vw; border-radius: 99px; white-space: nowrap;
  font: 800 3.4vh var(--display); background: var(--cord); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; }
.t-banner.fresh { animation: bannerin .3s ease-out; }
.t-banner .cd { font-size: 3.6vh; margin: 0 .3vw; }
.t-banner.good { background: var(--blaze); } .t-banner.bad { background: var(--bark3); color: var(--ink); border: .4vh solid var(--cord); }
@keyframes bannerin { from { opacity: 0; transform: translateY(1.5vh); } to { opacity: 1; transform: none; } }
