/* Seven Pennies: 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); font-style: italic; }
.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) 33vw; grid-template-rows: auto minmax(0, 1fr) auto; gap: 2.2vh 2.4vw; padding: 3vh 3vw; }
.t-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 3vw; }
.t-head h1 { font-size: 6vh; }
.t-round { flex: 1; font-size: 3vh; color: var(--dim); font-weight: 700; }
.t-code { font: 700 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }

.t-stage { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 1.2vh; min-height: 0; }
.t-stage .balcony { padding: 1.4vh 1.6vw; gap: 1.4vw; border-radius: 2.4vh 2.4vh .6vh .6vh; border-width: .3vh; border-bottom-width: 1.2vh; min-height: 9vh; }
.t-stage .b-lab { font-size: 3.4vh; }
.t-stage .b-coins { font-size: 5.6vh; }
.t-stage .b-n { font-size: 2.6vh; }
.t-stage .theatre { border-radius: .6vh .6vh 3vh 3vh; border-width: .3vh; box-shadow: inset 0 0 8vh #000c; }
.t-stage .th-coins { font-size: 15vh; }
.t-stage .th-coins.many { font-size: 11.5vh; }
.t-stage .th-coins.empty { font-size: 3vh; }
.t-stage .th-cap { font-size: 3.6vh; font-family: var(--display); min-height: 5vh; }

.t-seats { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 1.4vh; min-height: 0; }
.t-seat { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: .4vh 1vw; padding: 1.2vh 1.4vw;
  background: #0006; border: .4vh solid var(--line); border-radius: 2vh; min-height: 0; max-height: 19vh; }
.t-seat.up { border-color: var(--brass); background: #ecc0631c; }
.t-seat.out { opacity: .45; }
.t-name { font-size: 3.2vh; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.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(--velvet3); color: var(--dim); margin-left: .6vw; vertical-align: middle; }
.t-score { grid-row: 1 / 3; grid-column: 2; font: 700 7vh/1 var(--display); color: var(--brass); text-align: right; white-space: nowrap; }
.t-score em { font: 700 3vh var(--body); color: var(--good); margin-left: .5vw; }
.t-nick { grid-row: 1 / 3; grid-column: 2; font-size: 4vh; }
.t-pile { min-height: 4.4vh; }
.t-pile .pile { display: flex; align-items: center; font-size: 4.2vh; padding-left: .3em; white-space: nowrap; }
.t-pile .pile .pc { margin-left: -.34em; filter: drop-shadow(0 .2vh .2vh #0008); }
.t-pile .pile b { font-size: 3vh; margin-left: .8vw; } .t-pile .pile i { font-style: normal; font-size: 2.3vh; color: var(--dim); margin-left: .5vw; }
.t-pile .pile.none { font-size: 2.3vh; color: var(--dim); padding: 0; font-style: italic; }
.tv.n5 .t-name, .tv.n6 .t-name { font-size: 2.7vh; } .tv.n5 .t-score, .tv.n6 .t-score { font-size: 5.4vh; } .tv.n5 .t-pile .pile, .tv.n6 .t-pile .pile { font-size: 3.4vh; }
.tv.n5 .t-seat, .tv.n6 .t-seat { padding: .7vh 1.2vw; }
.t-tag { position: absolute; top: -1.6vh; right: 1vw; background: var(--brass); color: var(--inkd); font-size: 1.9vh; font-weight: 800; padding: .2vh .9vw; border-radius: 99px; }

.t-feed { grid-column: 1 / -1; font-size: 2.5vh; color: var(--dim); display: grid; gap: .3vh; min-height: 10.5vh; align-content: end; } .t-feed div:last-of-type { color: var(--ink); }
.t-banner { position: fixed; left: 34%; top: 73vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.4vh 3vw; border-radius: 99px; font: 700 4vh var(--display); max-width: 60vw; text-align: center;
  background: var(--cream); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; animation: bannerin .3s ease-out; }
.t-banner.good { background: var(--brass); } .t-banner.bad { background: #7a1626; color: #fff; border: .3vh solid var(--bad); }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }

#t-cap.hushed { visibility: hidden; }
