.ww-tv {
  --ww-sea: #0c202a;
  --ww-ink: #08151c;
  --ww-mint: #a7f2ce;
  --ww-cream: #f7f1df;
  --ww-orange: #ff976f;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 490px;
  overflow: hidden;
  color: var(--ww-cream);
  background: #07131a;
  font-family: Barlow, "Arial Narrow", Arial, sans-serif;
  line-height: 1.25;
  isolation: isolate;
}
.ww-tv *, .ww-tv *::before, .ww-tv *::after { box-sizing: border-box; }
.ww-tv [hidden] { display: none !important; }
.ww-tv strong, .ww-tv h1, .ww-tv h2, .ww-tv p { margin: 0; }
.ww-tv .nav-label, .ww-tv .nav-code, .ww-tv .nav-tiny, .ww-tv .nav-serial {
  font-family: "IBM Plex Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.ww-tv .nav-label, .ww-tv .nav-tiny { font-size: 11px; font-size: clamp(10px, .86vw, 15px); letter-spacing: .12em; font-weight: 650; text-transform: uppercase; }
.ww-tv .nav-top { z-index: 1; background: #0a1921; border-bottom: 1px solid #395058; min-height: 52px; height: 8%; max-height: 85px; display: flex; padding: 0 2.8%; align-items: center; justify-content: space-between; gap: 12px; }
.ww-tv .nav-brand { display: flex; align-items: center; gap: .75em; font-size: clamp(13px,1.3vw,23px); font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.ww-tv .nav-emblem { width: 1.85em; height: 1.85em; color: var(--ww-mint); flex: 0 0 auto; }
.ww-tv .nav-brand b { font-weight: 780; }
.ww-tv .nav-brand i { display: block; width: 1px; height: 1.2em; background: #536368; }
.ww-tv .nav-brand span { color: #b7c8c8; font-weight: 500; }
.ww-tv .nav-broadcast { display: flex; align-items: center; gap: .8em; color: var(--ww-mint); }
.ww-tv .nav-broadcast::before { content: ''; width: .56em; height: .56em; border-radius: 50%; background: #a5eac5; box-shadow: 0 0 .65em #9be4bf65; }
.ww-tv .nav-main { flex: 1; min-height: 0; display: flex; }
.ww-tv .nav-stage { position: relative; flex: 1; min-width: 0; overflow: hidden; background: linear-gradient(165deg,#102f3a 20%,#c48867 53%,#153b46 54%,#081923 95%); }
.ww-tv .nav-stage canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.ww-tv .nav-glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(3,14,24,.25),transparent 30%,transparent 66%,rgba(5,16,24,.82)),linear-gradient(90deg,rgba(4,17,25,.32),transparent 52%); }
.ww-tv .nav-hero { position: absolute; left: 5%; top: 6%; max-width: 88%; pointer-events: none; text-shadow: 0 2px 18px #091a21a6; }
.ww-tv .nav-caption { display: flex; align-items: center; gap: .8em; color: #c4ead6; }
.ww-tv .nav-caption::before { content: ''; display: inline-block; height: 2px; width: 2.2em; background: currentColor; }
.ww-tv .nav-title { font-family: "Barlow Condensed","Arial Narrow",Impact,Haettenschweiler,sans-serif; text-transform: uppercase; font-weight: 900; font-size: 6.5vw; font-size: clamp(44px,6.65vw,134px); line-height: .97; letter-spacing: -.055em; margin: .13em 0 !important; overflow-wrap: anywhere; }
.ww-tv .nav-sub { font-size: clamp(15px,1.38vw,26px); max-width: 29em; color: #f1efdf; }
.ww-tv .nav-stage[data-mode="playing"] .nav-title { font-size: clamp(35px,5.25vw,105px); }
.ww-tv .nav-stage[data-mode="finished"] .nav-title { color: #e7f7c7; }
.ww-tv .nav-scenefoot { position: absolute; inset: auto 5% 5%; display: flex; gap: 2%; align-items: end; justify-content: space-between; }
.ww-tv .nav-scenefootcopy { max-width: 88%; }
.ww-tv .nav-scenefoot .nav-tiny { color: var(--ww-mint); }
.ww-tv .nav-report { margin-top: .45em !important; line-height: 1.35; font-size: clamp(15px,1.36vw,26px); color: #f5f1e4; text-shadow: 0 1px 5px #0a141c; }
.ww-tv .nav-ticks { width: 6%; min-width: 21px; height: 10px; background: repeating-linear-gradient(115deg,transparent 0,transparent 3px,#c3dec28c 3px,#c3dec28c 5px); }
.ww-tv .nav-panel { width: 29%; min-width: 245px; max-width: 575px; display: flex; flex-direction: column; border-left: 1px solid #536462; background: radial-gradient(ellipse at 92% -10%,#213b40,transparent 62%),#0b1c25; }
.ww-tv .nav-panel-head { padding: clamp(16px,2.1vw,42px) 9% 1.1em; }
.ww-tv .nav-panel-head .nav-label { color: #9ab6b5; display: block; }
.ww-tv .nav-panel h2 { font-size: clamp(19px,2.15vw,40px); line-height: 1.1; letter-spacing: -.04em; font-weight: 700; margin-top: .2em; }
.ww-tv .nav-enlist { display: flex; flex-direction: column; align-items: center; padding: 0 8% 1.1em; }
.ww-tv .nav-qrframe { position: relative; display: flex; justify-content: center; align-items: center; width: 17vh; height: 17vh; min-width: 94px; min-height: 94px; max-width: 220px; max-height: 220px; aspect-ratio: 1; border-radius: 5px; background: white; box-shadow: 0 7px 22px #0006; }
.ww-tv .nav-qrframe img { display: block; width: 94%; height: 94%; object-fit: contain; image-rendering: pixelated; }
.ww-tv .nav-code { color: #c5f3d9; font-size: clamp(17px,1.5vw,27px); font-weight: 600; letter-spacing: .15em; margin-top: .38em; white-space: nowrap; }
.ww-tv .nav-code b { font-size: .53em; font-weight: 500; letter-spacing: .07em; color: #a1b9b8; margin-right: .55em; }
.ww-tv .nav-roster { min-height: 0; display: flex; flex-direction: column; flex: 1; padding: 0 8.5%; }
.ww-tv .nav-roster-head { display:flex; justify-content:space-between; align-items: baseline; color: #a2bab8; padding: .92em 0 .65em; border-top: 1px solid #30454a; }
.ww-tv .nav-roster-count { color: var(--ww-mint); white-space: nowrap; }
.ww-tv .nav-list { list-style: none; padding: 0; margin: 0; min-height: 0; overflow: auto; scrollbar-width: thin; }
.ww-tv .nav-player { display: flex; align-items: center; gap: .65em; min-height: 1.9em; border-top: 1px solid #213841; color: #e2e8e1; font-size: clamp(14px,1.16vw,23px); line-height: 1.12; }
.ww-tv .nav-list.dense .nav-player { min-height: 1.45em; font-size: clamp(12px,1.08vw,21px); }
.ww-tv .nav-player .nav-pennant { display: inline-block; width: .65em; height: .82em; background: var(--pennant,#a7f2ce); clip-path: polygon(0 0,100% 0,100% 100%,50% 75%,0 100%); flex-shrink: 0; }
.ww-tv .nav-player.active { color: var(--ww-mint); font-weight: 750; }
.ww-tv .nav-player.out { opacity: .6; }
.ww-tv .nav-player .nav-name { flex:1; min-width:0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.ww-tv .nav-player .nav-status { color: #a7bdb9; font: 600 .7em/1 Menlo,Consolas,monospace; white-space: nowrap; letter-spacing: .02em; }
.ww-tv .nav-player.active .nav-status { color: var(--ww-mint); }
.ww-tv .nav-idle { list-style: none; font-size: clamp(13px,1.1vw,21px); color: #a7bdbb; line-height: 1.35; padding: .15em 0; }
.ww-tv .nav-panel-foot { padding: .9em 8.5% 1.35em; }
.ww-tv .nav-start { font: 700 clamp(14px,1.25vw,25px)/1.2 Barlow,Arial,sans-serif; width: 100%; min-height: 2.6em; padding: .6em .8em; border: 0; border-radius: 4px; background: var(--ww-mint); color: #092022; cursor: pointer; }
.ww-tv .nav-start:disabled { background: #263d40; color: #b8c8c5; cursor: default; }
.ww-tv .nav-start:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.ww-tv .nav-note { font-size:clamp(12px,.99vw,18px); color: #c1cdca; line-height: 1.4; }
.ww-tv .nav-note:empty { display: none; }
.ww-tv .nav-start + .nav-note { margin-top:.5em; }
.ww-tv .nav-dashboard { border-top: 1px solid #354c50; margin: .2em 8.5% 0; padding: 1em 0; }
.ww-tv .nav-dashboard .nav-label { color: #a1b8b8; }
.ww-tv .nav-log { list-style: none; margin: .5em 0 0; padding: 0; }
.ww-tv .nav-log li { color: #c4d2cc; font-size: clamp(12px,1.08vw,21px); line-height: 1.3; margin-top:.35em; }
.ww-tv .nav-log li:first-child { color: #f0eddd; }
@media (min-aspect-ratio: 2/1), (max-height: 600px) {
  .ww-tv { min-height: 340px; }
  .ww-tv .nav-panel-head { padding-top: 12px; padding-bottom: .45em; }
  .ww-tv .nav-panel-foot { padding-top: .55em; padding-bottom: .55em; }
  .ww-tv .nav-enlist { padding-bottom: .45em; }
  .ww-tv .nav-roster-head { padding-top: .5em; }
  .ww-tv .nav-dashboard { padding: .5em 0; }
}
@media (max-width: 720px) and (orientation: portrait) {
  .ww-tv { height:auto; min-height:100vh; overflow:visible; }
  .ww-tv .nav-top { min-height:47px; height:auto; }
  .ww-tv .nav-main { flex-direction: column; }
  .ww-tv .nav-stage { flex: auto; height: 46vh; min-height:280px; }
  .ww-tv .nav-panel { width:100%; min-width:0; max-width:none; border-left:0; border-top:1px solid #526363; }
  .ww-tv .nav-panel-head { padding:14px 6% 8px; }
  .ww-tv .nav-roster, .ww-tv .nav-panel-foot { padding-left:6%; padding-right:6%; }
  .ww-tv .nav-dashboard { margin-left:6%; margin-right:6%; }
  .ww-tv .nav-enlist { align-self:center; padding:0 6% 8px; }
}
.ww-tv .nav-keyart { display: none; position: absolute; inset:0; background: url('assets/cover.jpg') 59% 50% / cover no-repeat; }
.ww-tv .nav-stage[data-mode="lobby"] .nav-keyart,
.ww-tv .nav-stage[data-mode="finished"] .nav-keyart { display:block; }
.ww-tv .nav-stage[data-mode="lobby"] .nav-glass,
.ww-tv .nav-stage[data-mode="finished"] .nav-glass { background: linear-gradient(90deg,rgba(4,17,25,.52),transparent 66%),linear-gradient(180deg,rgba(3,14,24,.29),transparent 46%,transparent 65%,rgba(5,16,24,.79)); }
.ww-chart{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1vh;background:radial-gradient(ellipse at center,#153c4a,#081b25 85%);color:#e6fff6}.ww-chart strong{font-size:clamp(22px,3vw,60px)}.ww-chart strong:before{content:'BERSAGLIO';display:block;font:600 14px monospace;letter-spacing:.18em;text-align:center;color:#8edbc3}.ww-chart canvas{position:static!important;width:min(78vh,90%)!important;height:auto!important;max-height:76%;object-fit:contain;opacity:1!important}.ww-minis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5vw}.ww-minis>div{min-width:0}.ww-minis strong{display:block;font-size:clamp(12px,1vw,20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ww-minis canvas{width:100%;max-height:14vh;object-fit:contain}.chart-mode .nav-roster{display:none}.chart-mode .nav-dashboard{max-height:20vh;overflow:hidden}
