/* Pass The Ewe: 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: 2vw; top: 11vh; z-index: 6; }
.atr .atr-title { font-family: var(--display); display: flex; align-items: center; justify-content: center; gap: .3em; }
.atr .atr-ewe { width: 1.6em; flex: none; }
.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-rows: auto minmax(0, 1fr) auto; gap: 2vh; padding: 2.4vh 2.6vw 2.6vh; }
.t-head { display: flex; align-items: center; gap: 1.4vw; }
.t-head .ewe.logo { width: 8vh; }
.t-head h1 { font-size: 5.2vh; }
.t-where { flex: 1; font-size: 2.8vh; color: var(--dim); margin-left: 1.6vw; } .t-where b { color: var(--wool); }
.t-code { font: 700 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }

.t-main { display: grid; grid-template-columns: 26vw minmax(0, 1fr) 21vw; gap: 2.4vw; min-height: 0; }
.t-wheel { display: grid; align-content: center; justify-items: center; gap: 1.6vh; }
.t-wheel .wheel { width: min(24vw, 44vh); }
.t-wcap { font-size: 2.3vh; color: var(--dim); text-align: center; line-height: 1.35; }

.t-pile { display: grid; align-content: safe center; gap: 1.1vh; min-height: 0; overflow: hidden; background: #00000026; border-radius: 3vh; padding: 2.4vh 2.4vw; }
.t-k { font-size: 2.2vh; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.t-pile .play.big { font-size: 5vh; } .t-pile .play.big .cd { font-size: 5.6vh; }
.t-pile .play.big .pl-cards { gap: .3em; }
.t-need { font-size: 3vh; color: var(--grass); font-weight: 700; }
.t-lead { font: 700 5vh var(--display); }
.t-older { display: grid; gap: .7vh; margin-top: .4vh; padding-top: 1.2vh; border-top: .2vh solid #ffffff1f; opacity: .78; }
.t-older .play { font-size: 2.4vh; flex-wrap: nowrap; } .t-older .play .pl-cards { width: auto; flex-wrap: nowrap; } .t-older .cd { font-size: 2.4vh; }
.tv.taking .t-pile { box-shadow: inset 0 0 0 .5vh var(--gold); }

.t-right { display: grid; align-content: start; gap: 2.4vh; min-height: 0; padding-top: 6.5vh; }  /* room for the kit's presence pill above the stake */
.t-stake { display: grid; justify-items: center; background: var(--wool); color: var(--inkd); border-radius: 3vh; padding: 2vh 1vw; }
.t-stake b { font: 800 11vh/1 var(--display); } .t-stake span { font-size: 2.6vh; font-weight: 800; }
.t-loose { display: grid; justify-items: center; gap: .6vh; color: var(--dim); font-size: 2.2vh; } .t-loose .ewe { width: 14vh; }
.t-feed { font-size: 2.2vh; color: var(--dim); display: grid; gap: .5vh; } .t-feed div:last-of-type { color: var(--ink); }
.t-changes { font-size: 2vh; color: var(--gold); }

.t-round { display: grid; align-content: center; gap: 2vh; background: #00000033; border-radius: 3vh; padding: 3vh 2.4vw; font-size: 3vh; }
.t-round .scores caption { font-size: 4vh; }
.t-round .scores .ewe.tiny { width: 3.4vh; }
.t-next { color: var(--dim); font-size: 2.4vh; }

.t-seats { display: flex; justify-content: center; gap: 1.4vw; padding-top: 9vh; }
.t-seat { position: relative; flex: 0 1 15vw; min-width: 0; background: #00000040; border: .4vh solid var(--line); border-radius: 2vh; padding: 1.2vh 1.1vw 1.4vh; display: grid; gap: .8vh; }
.t-seat.up { border-color: var(--gold); background: #f2c94c22; }
.t-seat.holds { border-color: var(--wool); }
.t-ewe { position: absolute; left: 30%; bottom: 100%; transform: translate(-50%, 1.2vh); width: 12vh; z-index: 2; pointer-events: none; }
.t-ewe .ewe { width: 100%; filter: drop-shadow(0 .6vh .6vh #0007); }
.t-name { font-size: 2.8vh; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-name .bot, .t-name .off { font-size: 1.6vh; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .2vh .5vw; border-radius: 99px; background: var(--meadow3); color: var(--dim); margin-right: .5vw; vertical-align: middle; }
.t-score { display: flex; align-items: center; gap: .8vw; } .t-score b { font: 800 4.4vh/1 var(--display); color: var(--gold); min-width: 2.4em; }
.t-bar { flex: 1; height: 1.2vh; border-radius: 99px; background: #ffffff1c; overflow: hidden; } .t-bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.t-counts { display: flex; justify-content: space-between; gap: .6vw; font-size: 2vh; color: var(--dim); font-weight: 700; white-space: nowrap; }
.t-tag { position: absolute; top: -1.6vh; right: -.4vw; background: var(--meadow3); color: var(--wool); font-size: 1.8vh; font-weight: 800; padding: .2vh .8vw; border-radius: 99px; z-index: 3; }
.t-tag.t-deciding { background: var(--gold); color: var(--inkd); } .t-tag.t-ontop { background: var(--wool); color: var(--inkd); }
.t-tag.t-passed { background: #00000088; color: var(--dim); }

.t-banner { position: fixed; left: 50%; top: 13vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 1.4vh 3vw; border-radius: 99px; font: 700 4.2vh var(--display); background: var(--wool); color: var(--inkd); box-shadow: 0 1vh 4vh #000a; animation: bannerin .3s ease-out; white-space: nowrap; }
.t-banner.good { background: var(--wool); } .t-banner.big { background: var(--gold); }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, -2vh); } to { opacity: 1; transform: translate(-50%, 0); } }
.t-earlier { font-size: 2.2vh; color: var(--dim); }
