/* Manic Minelayers: 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; left: 50%; transform: translateX(-50%); bottom: 1.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: .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) auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1.6vh 1.8vw; padding: 2.4vh 2.2vw 2.2vh; }
.t-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 3vw; }
.t-head h1 { font-size: 5.4vh; } .t-head h1 span { color: var(--c1); }
.t-move { flex: 1; text-align: center; font: 800 3.6vh var(--display); color: var(--ink); }
.t-code { font: 800 3.6vh var(--display); letter-spacing: .5vh; color: var(--dim); }
/* the board on its side: 10 squares across, 5 down. Its box keeps the SVG's shape. */
.t-board { align-self: center; width: 62vw; aspect-ratio: 1046 / 546; max-height: 100%; background: var(--bg); border: .3vh solid var(--line); border-radius: 1.6vh; overflow: hidden; box-shadow: 0 0 8vh #0008; }
.t-side { align-self: center; display: grid; align-content: start; gap: 1.2vh; padding: 2.4vh 1.3vw; border-radius: 2vh; background: #082229cc;
  border: .3vh solid var(--line); border-top: .9vh solid var(--c); min-height: 0; overflow: hidden; }
.t-who { display: flex; align-items: center; gap: .6vw; font-size: 3.6vh; font-weight: 800; min-width: 0; }
.t-who .t-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-who .t-shape { width: 2.6vh; height: 2.6vh; }
.t-who .bot, .t-who .off { font-size: 1.6vh; padding: .2vh .6vw; margin: 0; }
.t-state { font: 800 2.8vh var(--display); letter-spacing: .1em; color: var(--dim); }
.t-state.on { color: var(--good); } .t-state.bad { color: var(--bad); }
.t-ways { display: flex; align-items: baseline; gap: .8vw; color: var(--c); }
.t-ways b { font: 800 14vh/0.95 var(--display); }
.t-ways span { font-size: 2.6vh; color: var(--dim); font-weight: 700; }
.t-facts { display: grid; gap: .5vh; font-size: 2.3vh; color: var(--dim); font-weight: 600; }
.t-facts div:first-child { color: var(--c); text-transform: uppercase; letter-spacing: .12em; font-size: 2vh; font-weight: 800; }
.t-feed { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 3vw; align-items: baseline; min-height: 4.4vh; font-size: 2.9vh; padding-bottom: 4.6vh; }
.t-last { color: var(--ink); } .t-wait { color: var(--dim); white-space: nowrap; }
