/* Thinking In Circles: 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); letter-spacing: .1em; text-transform: uppercase; }
.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.4vh 2.2vw; padding: 2.2vh 2.6vw 2vh; }
.t-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 3vw; }
.t-head h1 { font-size: 4.8vh; }
.t-turn { flex: 1; text-align: center; font: 700 3vh var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-code { font: 700 3.6vh var(--display); letter-spacing: .5vh; color: var(--dim); }
.t-board { height: 100%; aspect-ratio: 1; border-radius: 3vh; overflow: hidden; box-shadow: 0 1.5vh 6vh #0009; }
.t-side { display: grid; grid-template-rows: auto auto auto auto auto minmax(0, 1fr); align-content: start; gap: 1.2vh; padding: 2.2vh 1.6vw; border-radius: 2vh; background: #2a1f31cc;
  border: .3vh solid var(--line); min-height: 0; overflow: hidden; }
.t-who { display: flex; align-items: center; gap: .6vw; font-size: 4.2vh; font-weight: 800; min-width: 0; padding-bottom: .6vh; border-bottom: .5vh solid var(--line); }
.t-who.up { border-bottom-color: var(--copper); }
.t-who .t-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-who .bot, .t-who .off { font-size: 1.6vh; padding: .2vh .7vw; margin: 0; }
.t-colour { font-size: 2.8vh; color: var(--dim); } .t-colour b { color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.t-secret { display: flex; align-items: center; flex-wrap: wrap; gap: .8vh .8vw; font-size: 2.4vh; }
.t-secret small { color: var(--dim); font-size: 2vh; text-transform: uppercase; letter-spacing: .1em; width: 100%; }
.t-paper { display: inline-flex; gap: .5vh; padding: .8vh; border-radius: 1vh; background: #ffffff10; border: .25vh dashed var(--edge); }
.t-paper i { width: 3.4vh; height: 3.4vh; border-radius: .6vh; background: repeating-linear-gradient(45deg, #ffffff14 0 .5vh, #ffffff05 .5vh 1vh); }
.t-paper.in { background: var(--paper); border: .25vh solid var(--paper2); }
.t-paper.in i { background: repeating-linear-gradient(45deg, #2a262238 0 .5vh, #2a262218 .5vh 1vh); }
.t-blk { font-size: 2.6vh; font-weight: 700; }
.t-doing { font: 700 2.5vh var(--display); letter-spacing: .12em; color: var(--dim); min-height: 3.4vh; }
.t-doing.on { color: var(--teal); }
.t-track { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: .2vh; font-size: 2.5vh; font-variant-numeric: tabular-nums; min-height: 0; overflow: hidden; }
.t-track li { display: grid; grid-template-columns: 3.4vw 3vw 1fr 4vw; align-items: center; padding: .35vh .6vw; border-radius: .8vh; }
.t-track li:nth-child(even) { background: #ffffff09; }
.t-track li.own b::after { content: '•'; color: var(--copper); margin-left: .3vw; }
.t-track b { color: var(--dim); font-weight: 600; }
.t-track .t-r { font-weight: 800; }
.t-track i { font-style: normal; font-weight: 800; text-align: right; }
.t-track .t-th { font-size: 1.7vh; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); background: none; }
.t-track .t-th b, .t-track .t-th .t-r, .t-track .t-th i { font-weight: 700; color: var(--dim); }
.t-feed { grid-column: 1 / -1; display: flex; justify-content: center; align-items: baseline; min-height: 4.4vh; font-size: 2.8vh; padding-bottom: 5vh; }
.t-last { color: var(--ink); text-align: center; }
