/* Towers of Wyoming: 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; top: 11vh; 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: .9vw; white-space: nowrap; }
.atr .atr-game label { display: inline-flex; align-items: center; gap: .4vw; }
.atr .atr-game select { font-size: .85vw; padding: .15em .3em; max-width: 15vw; }
.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); grid-template-rows: auto minmax(0, 1fr) auto; gap: 2vh; padding: 3vh 3vw 2.4vh; }
.t-head { display: flex; align-items: center; gap: 2.4vw; }
.t-head h1 { font-size: 4.6vh; white-space: nowrap; }
.t-sky { flex: 1; gap: 1.2vw; } .t-sky .sky-label { font-size: 3vh; } .t-sky .sky-pennies { gap: .5vw; }
.t-sky .sky-pennies i { width: 3.2vh; height: 3.2vh; } .t-sky .sky-pennies i.gone { border-width: .3vh; }
.t-goal { font-size: 2.4vh; color: var(--dim); white-space: nowrap; margin-left: .6vw; }
.t-piles { display: flex; gap: 1.4vw; font-size: 2.4vh; color: var(--dim); white-space: nowrap; }
.t-piles .dk { gap: .5vw; } .t-piles .dk i { width: 2.2vh; height: 3vh; border-radius: .4vh; }
.t-code { font: 700 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-plots { min-height: 0; }
.t-plots .plots { --nameh: 13vh; gap: 2vw; }
.t-plots .lot-piles { gap: 1.4vw; padding: 0 1vw; box-shadow: inset 0 -.6vh 0 #b77a5a; border-radius: 1.6vh 1.6vh 0 0; }
.t-plots .lot.up .lot-piles { box-shadow: inset 0 -.6vh 0 var(--peach); }
.t-plots .pile { max-width: 11vw; } .t-plots .pile .slabs { inset: 0 0 .6vh; }
.t-plots .pile .slabs i { border-width: .2vh; border-radius: .7vh; box-shadow: inset 0 .5vh 0 #ffffff40; }
.t-plots .pile.bare .slabs::after { border-width: .3vh; border-radius: .7vh; }
.t-plots .pile-n { font-size: 4vh; bottom: calc(var(--n) / var(--rows) * 100% + 1.4vh); }
.t-plots .pile.hot .slabs i:last-child { box-shadow: 0 0 0 .4vh var(--paper), 0 0 2vh var(--paper); }
.t-plots .skyline { bottom: calc(var(--nameh) + .6vh + (100% - var(--nameh) - .6vh) * var(--sky) / var(--rows)); border-top-width: .4vh; }
.t-plots .skyline span { font-size: 2.2vh; bottom: .6vh; left: .4vw; }
.t-plots .lot-name { position: relative; font-size: 2.2vh; gap: .8vh; overflow: visible; }
.t-plots .lot-name b { font-size: 3.2vh; }
.t-plots .lot-name .bot, .t-plots .lot-name .off { font-size: 1.6vh; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .2vh .6vw; border-radius: 99px; background: var(--dusk3); color: var(--dim); margin-right: .6vw; vertical-align: middle; }
.t-cards { display: flex; gap: .35vw; min-height: 4vh; align-items: center; }
.t-cards i { width: 2.6vh; height: 3.8vh; border-radius: .5vh; background: repeating-linear-gradient(45deg, var(--copper2) 0 .5vh, var(--dusk3) .5vh 1vh); border: .2vh solid var(--copper); }
.t-tag { position: absolute; top: .4vh; right: 0; background: var(--peach); color: var(--inkd); font-size: 1.8vh; font-weight: 800; padding: .2vh .9vw; border-radius: 99px; }
.t-plots .lot-gone { font-size: 2.6vh; }
.t-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2vw; min-height: 10vh; }
.t-feed { font-size: 2.4vh; color: var(--dim); display: grid; gap: .3vh; max-width: 64vw; } .t-feed div:last-of-type { color: var(--ink); }
.t-hold { color: var(--peach) !important; font-weight: 700; }
.t-changes { font-size: 2vh; color: var(--copper); text-align: right; max-width: 30vw; }
.t-banner { position: fixed; left: 50%; top: 13vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.4vh 3vw; border-radius: 3vh; max-width: 80vw; text-align: center; font: 700 3.6vh/1.25 var(--display); background: var(--paper); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; }
.t-banner.sky { background: var(--copper); } .t-banner.bad { background: var(--H); }
/* no entry animation: the table re-renders whole on every frame, which would restart it mid-banner */
