/* Catch A Dragon By The Tail: the TV. 1920x1080, read from across the room: everything is sized in vh/vw.
   The fame tracker on the left, the eggs in the middle, big: the roll is the moment. */
body.tvpage { overflow: hidden; }
body.tvpage #cs-pres-slot { position: fixed; right: 3vw; bottom: 3vh; 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: 27vw minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 2.4vh 2.4vw; padding: 3vh 3vw; }
.t-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 3vw; }
.t-head h1 { font-size: 5.2vh; } .t-head h1 em { font-style: italic; color: var(--paper); font-weight: 400; font-size: .7em; }
.t-round { flex: 1; font-size: 3.4vh; }
.t-code { font: 700 4vh var(--display); letter-spacing: .5vh; color: var(--dim); }

.t-fame { display: flex; flex-direction: column; gap: 1.6vh; background: #0003; border: .3vh solid var(--line); border-radius: 2.4vh; padding: 2.4vh 1.4vw; }
.t-fame h2 { font-size: 3.4vh; color: var(--gold); }
.t-fame .fm { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .8vh 1vw; padding: 1.4vh 1.2vw; border-radius: 1.8vh; border-width: .3vh; font-size: 3vh; white-space: normal; }
.t-fame .fm.up { transform: translateX(.8vw); }
.t-fame .fm-name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-fame .fm .fm-n { font-size: 5vh; }
.t-fame .fm .bot, .t-fame .fm .off { font-size: 1.5vh; padding: .2vh .5vw; }
.t-fame .fm-track { grid-column: 1 / -1; height: 1.4vh; border-radius: 1vh; background: #ffffff14; overflow: hidden; }
.t-fame .fm-bar { display: block; height: 100%; border-radius: 1vh; background: linear-gradient(90deg, var(--gold2), var(--gold)); transition: width .6s ease-out; }
.t-fame .fm.up .fm-bar { background: linear-gradient(90deg, var(--verm2), var(--verm)); }
.t-changes { margin-top: auto; font-size: 2.2vh; color: var(--gold); }

.t-table { --egg: min(9vw, 16vh); display: grid; grid-template-rows: auto auto auto auto; align-content: center; justify-items: center; gap: 1.6vh;
  background: radial-gradient(ellipse at 50% 45%, #2c5449 0%, #17322c 75%); border: .3vh solid var(--line); border-radius: 3vh; padding: 2.6vh 2vw; }
.t-table.is-bust { box-shadow: inset 0 0 8vh #ef6a5244; }
.t-who { font: 700 5vh var(--display); color: var(--paper); display: flex; align-items: baseline; gap: 1.6vw; }
.t-status { font: 600 3vh var(--body); color: var(--dim); } .t-status b { color: var(--gold); }
.t-label { text-align: center; color: var(--dim); font-size: 2.4vh; font-weight: 700; margin-bottom: 1vh; letter-spacing: .04em; } .t-label b { color: var(--gold); font-size: 1.2em; }
.t-batch .eggs { min-height: calc(min(6vw, 11vh) * 1.25); }
.t-batch .eggs .egg { --egg: min(6vw, 11vh); }
.t-basket .eggs { gap: 2vw; }
.t-ring { display: flex; align-items: center; gap: 1.2vw; } .t-ring .t-label { margin: 0; } .t-ring .r-dot { --d: 3.6vh; } .t-ring .r-link { height: .5vh; }

.t-feed { grid-column: 1 / -1; font-size: 2.5vh; color: var(--dim); display: grid; gap: .3vh; min-height: 6vh; align-content: end; } .t-feed div:last-of-type { color: var(--ink); }
.t-hold { color: var(--gold) !important; font-weight: 700; }
.t-banner { position: fixed; left: 50%; top: 42vh; transform: translateX(-50%); z-index: 8; pointer-events: none; padding: 2vh 4vw; border-radius: 99px; font: 700 6vh var(--display);
  background: var(--paper); color: var(--inkd); box-shadow: 0 1vh 5vh #000c; animation: bannerin .35s cubic-bezier(.3, 1.5, .5, 1); white-space: nowrap; }
.t-banner.good { background: var(--gold); } .t-banner.good.big { font-size: 8vh; } .t-banner.bad { background: var(--verm); color: #fff; } .t-banner.tie { background: var(--paper); }
@keyframes bannerin { from { opacity: 0; transform: translate(-50%, 3vh) scale(.8); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.t-fame .fm-sheet { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5vh .4vw; font-size: 2vh; color: var(--dim); }
.t-fame .fm-sheet i { font-style: normal; padding: .2vh .5vw; border-radius: .8vh; background: #ffffff12; } .t-fame .fm-sheet i.b { color: var(--bad); }
