/* PlayGo — Telão e transmissão (PWA). Prefixo tl-. */
.tl { background: radial-gradient(900px 500px at 10% -10%, #4b2fd6 0%, transparent 60%), radial-gradient(800px 500px at 100% 110%, #c2185b 0%, transparent 55%), #0f0c2d; color: #fff; border-radius: 20px; padding: 14px; display: grid; gap: 12px; margin-top: 12px; }
.tl:fullscreen { border-radius: 0; padding: clamp(14px, 2.4vw, 40px); align-content: center; min-height: 100vh; overflow: auto; }
.tl-topo { display: flex; align-items: center; gap: 10px; }
.tl-topo h2 { margin: 0; font-size: 18px; line-height: 1.1; letter-spacing: -.3px; }
.tl-topo small { display: block; opacity: .75; font-weight: 600; font-size: 12px; margin-top: 2px; }
.tl-vivo { margin-left: auto; display: flex; align-items: center; gap: 8px; background: rgba(255, 61, 129, .22); border: 2px solid #ff3d81; padding: 5px 12px; border-radius: 999px; font-weight: 900; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.tl-vivo i { width: .7em; height: .7em; border-radius: 50%; background: #ff3d81; animation: tl-pulsa 1.2s infinite; }
.tl-vivo.parado { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.tl-vivo.parado i { background: #9aa0b8; animation: none; }
@keyframes tl-pulsa { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 129, .8); } 100% { box-shadow: 0 0 0 12px rgba(255, 61, 129, 0); } }

.tl-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 28px rgba(0, 0, 0, .5); }
.tl-video[hidden] { display: none; }
.tl-video iframe { width: 100%; height: 100%; border: 0; }
.tl:fullscreen .tl-video { max-height: 60vh; width: auto; max-width: 100%; margin: 0 auto; }

.tl-principal { text-align: center; }
.tl-rodada { font-size: 13px; font-weight: 700; opacity: .85; margin-bottom: 8px; }
.tl-placar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.tl-lado { display: grid; justify-items: center; gap: 4px; min-width: 0; }
.tl-nome { font-size: clamp(15px, 4.4vw, 22px); font-weight: 900; line-height: 1.05; overflow-wrap: anywhere; }
.tl-num { font-size: clamp(54px, 22vw, 110px); font-weight: 900; line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-shadow: 0 8px 28px rgba(0, 0, 0, .45); }
.tl-lado.vence .tl-num { color: #b7f34b; }
.tl-x { font-size: 24px; opacity: .55; font-weight: 800; }
.tl-sets { font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px 12px; }
.tl-sets.grande { display: inline-block; margin-top: 8px; font-size: 14px; }
.tl-ponto { margin-top: 10px; background: #fff; color: #14213d; border-radius: 16px; padding: 6px 18px; font-weight: 900; font-size: 20px; display: inline-flex; gap: 12px; align-items: center; }
.tl-ponto small { font-size: .5em; text-transform: uppercase; letter-spacing: 1.5px; color: #6c4cff; }
.tl-sep { opacity: .4; }
.tl-pontos { display: flex; gap: 8px; justify-content: center; }
.tl-pontos:empty { display: none; }
.tl-pontos b { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.tl-pontos b.on { background: #fff; }

.tl-espera h3 { font-size: 20px; margin: 6px 0 4px; }
.tl-espera p { opacity: .85; margin: 0; }
.tl-proximo { margin-top: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; padding: 12px 16px; font-weight: 800; }
.tl-proximo small { display: block; font-size: 12px; opacity: .75; font-weight: 700; margin-top: 4px; }

.tl-rodape { display: grid; grid-template-columns: 1fr; gap: 10px; font-size: 13px; }
.tl-rodape h4 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .65; }
.tl-linha { display: flex; gap: 10px; justify-content: space-between; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 6px 12px; margin-bottom: 6px; font-weight: 700; }
.tl-linha em { font-style: normal; opacity: .8; white-space: nowrap; }
.tl-barra { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tl-escolha { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; min-width: 0; flex: 1; }
.tl-escolha select { min-width: 0; flex: 1; max-width: 100%; background: #fff; color: #14213d; border: 0; border-radius: 8px; padding: 8px; font: inherit; font-size: 13px; }
.tl-conexao { margin: 0; font-size: 12px; min-height: 0; opacity: .7; }
.tl-conexao:empty { display: none; }
.tl-conexao.erro { color: #ffb4b4; opacity: 1; }
@media (min-width: 700px) { .tl-rodape { grid-template-columns: 1fr 1fr; } }
.tl:fullscreen .tl-nome { font-size: clamp(22px, min(4.4vw, 7.5vh), 78px); }
.tl:fullscreen .tl-num { font-size: clamp(80px, min(21vw, 33vh), 380px); }
.tl:fullscreen .tl-rodada { font-size: clamp(14px, min(2vw, 3.4vh), 32px); }
.tl:fullscreen .tl-topo h2 { font-size: clamp(20px, 2.6vw, 40px); }
.tl:fullscreen .tl-ponto { font-size: clamp(22px, min(4vw, 7vh), 70px); }

/* controle (organização e mesários) */
.tl-botoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.tl-gtit { margin: 14px 0 6px; font-size: 13px; }
.tl-op { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; margin: 6px 0; cursor: pointer; background: #fff; font-size: 14px; }
.tl-op:has(input:checked) { border-color: var(--purple); background: #f4f1ff; }
.tl-op input { width: auto; flex: none; }
.tl-yt { margin-top: 16px; border: 2px solid #e5484d; border-radius: 18px; padding: 14px; background: #fff7f7; }
.tl-yt[hidden] { display: none; }
.tl-yt-topo { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }

.tl-canal { margin-left: auto; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; text-decoration: none; white-space: nowrap; color: #fff; background: #e5484d; }
.tl-canal[hidden] { display: none; }
.tl-canal.off { background: rgba(255, 255, 255, .12); color: #9aa0b8; pointer-events: none; }
.tl-canal + .tl-vivo { margin-left: 8px; }
.tl-canal[hidden] + .tl-vivo { margin-left: auto; }
.tl-class h3 { margin: 0 0 8px; text-align: center; }
.tl-class table { width: 100%; border-collapse: collapse; font-weight: 700; font-size: 14px; }
.tl-class th { font-size: 11px; text-transform: uppercase; opacity: .65; padding: 2px 6px; } .tl-class th.eq, .tl-class td.eq { text-align: left; }
.tl-class td { padding: 6px; text-align: center; background: rgba(255, 255, 255, .08); border-top: 3px solid transparent; background-clip: padding-box; }
.tl-class tr.vai td { background: rgba(183, 243, 75, .22); }
.tl-class p { text-align: center; margin: 8px 0 0; font-size: 12px; }
