/* Pokino: the TV. 1920x1080, read from across the room: everything is sized in vh/vw. The table of
   dominoes takes the left three quarters; the right column is who has what. */
body.tvpage { overflow: hidden; }
body.tvpage #cs-pres-slot { position: fixed; left: 2vw; bottom: 2vh; 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; }
.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) 27vw; gap: 1.6vw; padding: 2.4vh 1.6vw; }
.t-board { min-height: 0; min-width: 0; border-radius: 2.4vh; background: #0003; box-shadow: inset 0 0 0 .3vh #ffffff12; padding: 1vh; }
.t-side { display: flex; flex-direction: column; gap: 1.5vh; min-height: 0; }
.t-head { display: flex; align-items: baseline; justify-content: space-between; }
.t-head h1 { font-size: 5.6vh; }
.t-code { font: 700 3.4vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-seats { display: grid; gap: 1.2vh; }
.t-seat { position: relative; background: #0005; border: .35vh solid transparent; border-left: 1vh solid var(--seat); border-radius: 1.6vh; padding: 1vh 1vw 1.1vh; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3vh 1vw; align-items: baseline; }
.t-seat.up { border-color: var(--seat); background: #ffffff14; }
.t-name { font-size: 2.9vh; font-weight: 800; white-space: nowrap; 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(--felt3); color: var(--dim); margin-right: .5vw; vertical-align: middle; }
.t-score { font-size: 2vh; color: var(--dim); white-space: nowrap; } .t-score b { font: 700 4.2vh/1 var(--display); color: var(--bone); }
.t-has { grid-column: 1 / -1; display: flex; gap: 1.2vw; font-size: 2.1vh; color: var(--dim); } .t-has span:first-child { color: var(--ink); font-weight: 700; }
.t-runs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5vh .4vw; min-height: 3vh; font-size: 1.8vh; } .t-runs em { color: var(--dim); opacity: .7; }
.t-run { background: #fffdf6; color: var(--inkd); font-weight: 800; padding: .15vh .5vw; border-radius: .6vh; white-space: nowrap; }
.t-more { color: var(--dim); font-weight: 700; }
.t-tag { position: absolute; top: -1.4vh; right: .8vw; background: var(--seat); color: var(--inkd); font-size: 1.7vh; font-weight: 800; padding: .1vh .8vw; border-radius: 99px; }
.t-stock { display: flex; gap: 2vw; align-items: center; font-size: 2vh; color: var(--dim); line-height: 1.25; } .t-stock span:not(.card) > b { color: var(--ink); font-size: 1.3em; }
.t-deck, .t-poke { display: flex; align-items: center; gap: .8vw; }
.t-stock .card { width: 4.6vh; height: 6.2vh; border-radius: .8vh; box-shadow: .3vh .3vh 0 #c9bfa6, .6vh .6vh 0 #8f8672; } .t-stock .card b { font-size: 2.3vh; } .t-stock .card i { font-size: 2vh; } .t-stock .card u { font-size: 1.2vh; }
.t-bone { width: 6.4vh; height: 3.4vh; border-radius: .7vh; background: repeating-linear-gradient(45deg, var(--felt3) 0 .6vh, var(--line) .6vh 1.2vh); border: .25vh solid var(--line); box-shadow: .3vh .3vh 0 #0006; }
.t-key { display: flex; flex-wrap: wrap; gap: .5vh .5vw; font-size: 1.7vh; color: var(--dim); }
.t-key::before { content: 'cards → points'; width: 100%; font-size: 1.5vh; text-transform: uppercase; letter-spacing: .12em; }
.t-key span { background: #0005; border-radius: .6vh; padding: .2vh .45vw; white-space: nowrap; } .t-key b { color: var(--copper); margin-left: .4vw; }
.t-feed { margin-top: auto; font-size: 2vh; color: var(--dim); display: grid; gap: .3vh; } .t-feed div:last-of-type { color: var(--ink); }
.t-changes { font-size: 1.8vh; color: var(--teal); }
.t-banner { position: fixed; left: 37%; top: 6vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.4vh 3vw; border-radius: 99px; font: 700 4vh var(--display); background: var(--bone); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; animation: bannerin .3s ease-out; white-space: nowrap; }
.t-banner.good { background: var(--copper); }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }
