/* Deluxe Memory: the TV. 1920x1080, read from across the room: everything is sized in vh/vw.
   Three columns: the players and what just happened, the cards, the Mixed Chart. */
body.tvpage { overflow: hidden; }
body.tvpage #cs-pres-slot { position: fixed; left: 2vw; bottom: 2.4vh; 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-columns: 21vw minmax(0, 1fr) 27vw; grid-template-rows: auto minmax(0, 1fr); gap: 2vh 1.6vw; padding: 2.4vh 2vw; }
.t-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 2.4vw; }
.t-head h1 { font-size: 5vh; white-space: nowrap; }
.t-now { flex: 1; font-size: 3vh; line-height: 1.25; color: var(--ink); min-height: 7.5vh; display: flex; align-items: center; } .t-now b { color: var(--gold); }
.t-code { font: 700 3.6vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-seats { display: flex; flex-direction: column; gap: 1.4vh; min-height: 0; font-size: 2.5vh; padding-bottom: 7vh; }
.t-seats .seat { padding: 1.2vh 1vw; border-width: .4vh; border-radius: 1.8vh; gap: 0 1vw; }
.t-seats .seat .s-tok { font-size: 1.7em; } .t-seats .seat .tag { font-size: .62em; }
.t-seats .seat.up { transform: translateX(.5vw); }
.t-changes { font-size: 1.8vh; color: var(--gold); }
.t-feed { margin-top: auto; font-size: 1.9vh; line-height: 1.3; color: var(--dim); display: grid; gap: .5vh; } .t-feed div:last-child { color: var(--ink); }
.t-table { container-type: size; display: grid; place-items: center; min-height: 0; min-width: 0; }
.t-chart { min-height: 0; display: flex; flex-direction: column; gap: 1vh; font-size: 1.6vh; line-height: 1.22; overflow: hidden; }
.t-chart h2 { font-size: 2.8vh; color: var(--gold); }
.t-chart .chart { gap: .45vh; } .t-chart .ch-row { padding: .5vh .6vw; gap: .6vw; border-width: .25vh; border-radius: 1vh; }
.t-match { background: var(--felt2); border: .3vh solid var(--gold); border-radius: 1.4vh; padding: 1vh .8vw; font-size: 2.1vh; line-height: 1.25; display: flex; align-items: center; } .t-match .m-cards { font-size: 2.2vh; flex: none; }
.t-banner { position: fixed; left: 50%; top: 11vh; transform: translateX(-50%); z-index: 8; pointer-events: none; max-width: 80vw; padding: 1.4vh 3vw; border-radius: 99px; font: 700 3.6vh var(--display); text-align: center;
  background: var(--card); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; animation: bannerin .3s ease-out; }
.t-banner.good { background: var(--gold); } .t-banner.bad { background: var(--ruby); color: #fff; }
#t-banner[hidden], body:not(.tvpage) #t-banner { display: none; }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }
