/* =====================================================================
   Portado fielmente de TCB_App_Mockup_Telas_v55.html (fonte definitiva de
   layout, cores e espaçamento — TCB_Instrucoes_Claude_Code.md). Não alterar
   valores aqui sem checar contra o mockup original. `.phone` (moldura de
   celular do mockup, só pra visualizar lado a lado) virou `.app`, que aqui
   é a própria viewport real.
   ===================================================================== */
:root{
  --bg:#0A0A0C; --brand-panel:#141417; --surface:#1C1C21; --surface-2:#26262D;
  --line:#3A3A44; --text:#F5F3EE; --text-muted:#9C9CA6;
  --live:#2F80FF; --live-dim:#132840; --finalizado:#55555E; --futuro:#2A2A33; --futuro-bg:#1F1F26;
  --accent:#4FA8A0; --star:#F5B301;
}
*{box-sizing:border-box;}
html, body{ margin:0; background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; -webkit-font-smoothing:antialiased; height:100%; overflow-x:hidden; }
body{ display:flex; flex-direction:column; }

/* min-width:0 + overflow-x:hidden: .app é item flex de body (usado pra
   centralizar em telas largas de desktop) — sem isso, min-width:auto do
   flexbox faz .app nunca encolher além do min-content do conteúdo mais
   largo lá dentro (texto sem quebra, <select>, etc.), estourando a largura
   real da viewport em telas estreitas. */
/* height:var(--app-vh,...) usa o valor calculado via JS (ver script no
   <head> do index.html) — 100dvh continua como respaldo (antes do JS rodar,
   ou se o navegador não suportar variável CSS, o que é raríssimo hoje) */
.app{ width:100%; max-width:480px; margin:0 auto; min-height:100vh; height:100dvh; height:var(--app-vh, 100dvh); background:var(--bg); display:flex; flex-direction:column; position:relative; min-width:0; overflow-x:hidden; }

/* ===== cabecalho fixo/reduzido (unico, permanente) ===== */
/* fixed (não sticky): .app tem overflow-x:hidden (proteção contra o bug de
   overflow horizontal), o que por regra do CSS faz overflow-y computar pra
   "auto" mesmo sem ter sido setado — e um ancestral com overflow diferente
   de "visible" no meio do caminho quebra position:sticky em alguns
   navegadores. fixed não depende de nenhum ancestral, então não sofre
   desse problema — garante que o cabeçalho nunca saia de vista, nem com a
   rolagem automática do Balizamento nem com a barra de endereço dinâmica
   de navegadores mobile. Como fixed tira o elemento do fluxo normal, todo
   .view compensa com padding-top (ver .view mais abaixo). */
.brand{ background:var(--brand-panel); padding:10px 14px; display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--line); flex-shrink:0; position:fixed; top:0; left:0; right:0; max-width:480px; margin:0 auto; z-index:50; }
.brand-badge{ width:36px; height:36px; border-radius:9px; overflow:hidden; flex-shrink:0; box-shadow:0 2px 8px rgba(0,0,0,.4); }
.brand-badge img{ width:100%; height:100%; object-fit:cover; }
.brand-text{ flex:1; min-width:0; }
.brand h1{ font-family:'Anton',sans-serif; font-weight:400; font-size:14px; letter-spacing:.5px; margin:0; text-transform:uppercase; line-height:1.2; }
.brand .slogan{ font-size:7.5px; letter-spacing:.8px; color:var(--text-muted); text-transform:uppercase; margin-top:1px; font-weight:600; }
.menu-btn{ background:var(--surface); border:1px solid var(--line); color:var(--text); width:34px; height:34px; border-radius:9px; flex-shrink:0; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:16px; letter-spacing:1px; }
.home-btn{ background:var(--surface); border:1px solid var(--line); color:var(--text); width:34px; height:34px; border-radius:9px; flex-shrink:0; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.home-btn svg{ width:16px; height:16px; }

/* ===== menu lateral (drawer) — substitui o dropdown antigo ===== */
.menu-scrim{ position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:200; opacity:0; pointer-events:none; transition:opacity .25s ease; }
.menu-scrim.open{ opacity:1; pointer-events:auto; }
.menu-drawer{
  position:fixed; top:0; right:0; bottom:0; width:82%; max-width:340px; z-index:201;
  background:var(--brand-panel); border-left:1px solid var(--line);
  transform:translateX(100%); transition:transform .3s cubic-bezier(.2,.8,.2,1);
  display:flex; flex-direction:column; box-shadow:-12px 0 40px rgba(0,0,0,.5);
}
.menu-drawer.open{ transform:translateX(0); }
.menu-drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:18px 18px 14px; border-bottom:1px solid var(--line); flex-shrink:0; }
.menu-drawer-badge{ width:38px; height:38px; border-radius:9px; overflow:hidden; }
.menu-drawer-badge img{ width:100%; height:100%; object-fit:cover; }
.menu-drawer-head-brand{ display:flex; align-items:center; gap:10px; min-width:0; }
.menu-drawer-title{ font-family:'Anton',sans-serif; font-weight:400; font-size:15px; letter-spacing:.5px; text-transform:uppercase; }
.menu-drawer-head-actions{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.menu-drawer-close{ background:var(--surface); border:1px solid var(--line); color:var(--text); font-size:20px; width:34px; height:34px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.menu-drawer-gear{ background:var(--surface); border:1px solid var(--line); color:var(--text-muted); font-size:15px; width:34px; height:34px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.menu-drawer-nav{ flex:1; overflow-y:auto; padding:10px 0; }
/* tela de configurações (troca de conteúdo dentro do próprio menu, ver
   js/menu.js:abrirConfigMenu) — pensada pra crescer: cada opção nova
   (ex: notificações) entra como mais um .menu-settings-item */
.menu-drawer-settings{ display:none; flex-direction:column; flex:1; overflow-y:auto; padding:12px 18px 18px; gap:6px; }
.menu-drawer-back{ display:flex; align-items:center; gap:2px; align-self:flex-start; background:none; border:none; color:var(--text); font-size:13px; font-weight:600; cursor:pointer; padding:6px 0 14px; }
.menu-settings-item{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.menu-settings-item-text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.menu-settings-item-text strong{ font-size:13.5px; }
.menu-settings-item-text span{ font-size:11.5px; color:var(--text-muted); }
.menu-settings-btn{ background:var(--live); color:#fff; border:none; border-radius:100px; padding:8px 16px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; cursor:pointer; flex-shrink:0; }
.menu-drawer-nav button{
  display:block; width:100%; text-align:left; background:none; border:none; color:var(--text);
  padding:11px 22px; font-family:'Anton',sans-serif; font-size:16px; letter-spacing:.4px; text-transform:uppercase;
  cursor:pointer;
}
.menu-drawer-nav button:active{ background:var(--surface); }
.menu-drawer-nav .menu-external{ display:flex; align-items:center; gap:7px; }
.menu-drawer-nav .menu-external svg{ width:14px; height:14px; flex-shrink:0; }
.menu-drawer-foot{ padding:16px 22px 22px; border-top:1px solid var(--line); flex-shrink:0; }
.menu-drawer-foot .slogan{ font-size:10px; color:var(--text-muted); letter-spacing:.5px; text-transform:uppercase; }
/* área de toque maior (padding + margem negativa) sem mudar a aparência —
   texto continua com a mesma aparência visual, só fica mais fácil de tocar
   num celular real. Acesso ao painel admin, de propósito discreto. */
.menu-drawer-foot .slogan[onclick]{ padding:10px 8px; margin:-10px -8px 0; display:inline-block; }

/* fixed pelo mesmo motivo do .brand (ver comentário lá em cima): ficar só
   fora do .content que rola não basta — um gesto nativo de "puxar pra
   atualizar" (pull-to-refresh, o jeito que o app instalado usa pra
   recarregar) arrasta o documento inteiro por baixo por um instante, e
   qualquer elemento que não seja fixed vai junto nesse arrasto, dando a
   impressão de ter "se soltado" do cabeçalho. top:57px gruda ela logo
   abaixo do .brand (57px = altura real testada do .brand); .view compensa
   as duas alturas fixas somadas no padding-top (ver .view mais abaixo). */
.menubar{ background:var(--surface); padding:8px 20px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); flex-shrink:0; position:fixed; top:57px; left:0; right:0; max-width:480px; margin:0 auto; z-index:49; }
.menubar .label{ font-size:11px; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); font-weight:600; }
.menubar .label.label-title{ font-family:'Anton',sans-serif; font-weight:400; font-size:20px; letter-spacing:.5px; color:var(--text); }
.clock{ font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:16px; letter-spacing:1px; font-variant-numeric:tabular-nums; }
.clock-group{ display:flex; flex-direction:column; align-items:flex-end; }
.clock-tz{ font-size:9px; color:var(--text-muted); letter-spacing:.3px; margin-top:1px; }

.screen-head{ padding:14px 20px 6px; display:flex; align-items:center; gap:10px; flex-shrink:0; }
.screen-head .busca-wrap{ flex:1; padding:0; min-width:0; }
.screen-title{ font-family:'Anton',sans-serif; font-weight:400; font-size:24px; margin:0; letter-spacing:.5px; text-transform:uppercase; cursor:pointer; background:none; border:none; color:var(--text); padding:0; transition:all .2s ease; flex-shrink:0; }
.screen-title.as-button{ font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:800; letter-spacing:1px; background:var(--live); color:#fff; padding:9px 16px; border-radius:100px; display:inline-flex; align-items:center; gap:6px; }
.screen-title.as-button::before{ content:""; width:7px; height:7px; border-radius:50%; background:#fff; animation:blink 1s ease-in-out infinite; flex-shrink:0; }

.filter-btn{ display:flex; align-items:center; gap:6px; background:var(--surface); border:1px solid var(--line); color:var(--text); border-radius:100px; padding:8px 14px; font-size:12px; font-weight:600; letter-spacing:.3px; cursor:pointer; position:relative; flex-shrink:0; }
.filter-btn .count{ background:var(--live); color:#fff; font-size:10px; font-weight:700; border-radius:50%; width:16px; height:16px; display:none; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; }
.filter-btn .count.show{ display:flex; }

.content{ flex:1; overflow-y:auto; padding:10px 16px 20px; -webkit-overflow-scrolling:touch; }

/* ===== bolinha piscando do AO VIVO (mesma cor do texto) ===== */
.blink-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:currentColor; margin-right:5px; position:relative; top:-1px; animation:blink 1s ease-in-out infinite; }
@keyframes blink{ 0%,100%{ opacity:1; } 50%{ opacity:.15; } }
.status-pill.blink-full{ animation:blinkFull 1s ease-in-out infinite; }
@keyframes blinkFull{ 0%,100%{ opacity:1; } 50%{ opacity:.3; } }

/* ===== card de bateria (Balizamento) ===== */
.bateria2{ border-radius:16px; overflow:hidden; margin-bottom:12px; border:1px solid var(--line); scroll-margin-top:48px; }
.bateria2-clickable{ display:flex; cursor:pointer; }
.bateria2-clickable:active{ opacity:.92; }
.bateria2-left{ width:92px; flex-shrink:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:12px 6px; text-align:center; gap:2px; }
.bateria2-left .hora{ font-family:'Anton',sans-serif; font-size:26px; line-height:1; }
.bateria2-left .linha{ width:60%; height:2px; background:currentColor; opacity:.45; margin:6px 0; }
.bateria2-left .bnum{ font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:11px; letter-spacing:.4px; opacity:.9; }
.bateria2-right{ flex:1; background:var(--surface); padding:12px 14px; min-width:0; }
.bateria2-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.bateria2-cat{ font-size:10.5px; color:var(--accent); text-transform:uppercase; letter-spacing:.5px; font-weight:700; }
.status-pill{ font-family:'IBM Plex Mono',monospace; font-size:9px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; padding:3px 8px; border-radius:100px; background:var(--surface-2); color:var(--text-muted); flex-shrink:0; white-space:nowrap; display:inline-flex; align-items:center; gap:4px; }
.status-pill svg{ flex-shrink:0; }
.status-pill.ao-vivo{ background:var(--live); color:#fff; font-weight:800; }
.bateria2-prova{ font-family:'Anton',sans-serif; font-size:17px; margin:3px 0 4px; letter-spacing:.3px; text-transform:uppercase; }
.bateria2-local{ font-size:11px; font-family:'IBM Plex Mono',monospace; font-weight:700; color:var(--accent); margin-bottom:3px; }
.bateria2-meta{ font-size:11px; color:var(--accent); opacity:.85; font-family:'IBM Plex Mono',monospace; font-weight:700; white-space:nowrap; }

.bateria2.ao-vivo .bateria2-left{ background:var(--live); color:#fff; }
.bateria2.ao-vivo{ box-shadow:0 0 0 1px rgba(255,75,62,.35); }
.bateria2.finalizado .bateria2-left{ background:#232328; color:#828290; }
.bateria2.finalizado{ opacity:.65; }
.bateria2.futuro .bateria2-left{ background:var(--futuro); color:#EDEDEA; }
.bateria2.tem-favorito{ border:3px solid var(--star); }

.dia-atual-bar{ background:var(--accent); color:#0A0A0C; padding:9px 20px; margin:0 16px 4px; border-radius:8px; line-height:1.35; flex-shrink:0; }
.dia-marker{ background:var(--accent); padding:9px 12px; margin:6px 0 10px; border-radius:8px; line-height:1.35; }
.dia-num{ font-family:'Anton',sans-serif; font-weight:400; font-size:15px; letter-spacing:.6px; text-transform:uppercase; color:#0A0A0C; }
.dia-data{ font-family:'Inter',sans-serif; font-weight:400; font-style:italic; font-size:11.5px; text-transform:lowercase; color:#0A0A0C; }

.bateria-expand{ max-height:0; overflow:hidden; transition:max-height .25s ease; background:var(--surface-2); }
.bateria-expand.open{ max-height:1400px; }
.bateria-expand-inner{ padding:6px 14px 14px; border-top:1px solid var(--line); }
.raia-row{ display:flex; align-items:center; gap:10px; padding:5px 0; border-bottom:1px solid var(--line); }
.raia-row:last-child{ border-bottom:none; }
.raia-num{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--text-muted); width:44px; flex-shrink:0; white-space:nowrap; }
.raia-foto{ width:26px; height:26px; border-radius:50%; background:var(--surface); border:1px solid var(--line); flex-shrink:0; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.raia-foto img{ width:100%; height:100%; object-fit:cover; }
.raia-nome{ font-weight:600; font-size:11.5px; text-transform:uppercase; }
.raia-nome.favorito{ color:var(--star); }
.raia-vazia{ color:var(--text-muted); font-style:italic; font-size:13px; }
.raia-numero{ margin-left:auto; background:var(--surface); border:1px solid var(--line); color:var(--text-muted); font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; padding:4px 10px; border-radius:100px; flex-shrink:0; }

.cat-section-title{ font-family:'Anton',sans-serif; font-size:14px; letter-spacing:.6px; text-transform:uppercase; color:var(--text-muted); margin:18px 4px 6px; padding-bottom:4px; border-bottom:1px solid var(--line); }
.cat-section-title.favoritos{ color:var(--star); border-bottom-color:var(--star); }
.cat-section-title.dia{ color:var(--accent); border-bottom-color:var(--accent); }
#favoritos-section{ display:none; }
#favoritos-section.show{ display:block; }

/* ===== busca (atletas / provas) ===== */
.busca-wrap{ position:relative; padding:8px 20px 8px; }
.busca-filtro-row{ display:flex; align-items:center; gap:8px; padding:8px 20px 8px; }
.busca-filtro-row .busca-wrap{ flex:1; padding:0; }
.busca-filtro-row .filter-btn{ flex-shrink:0; }
.busca-wrap input{
  width:100%; background:var(--surface); border:1px solid var(--line); color:var(--text);
  border-radius:100px; padding:11px 40px 11px 16px; font-size:13px; font-family:'Inter',sans-serif;
}
.busca-clear{
  position:absolute; right:30px; top:50%; transform:translateY(-50%); background:var(--surface-2);
  border:none; color:var(--text-muted); width:22px; height:22px; border-radius:50%; cursor:pointer;
  display:none; align-items:center; justify-content:center; font-size:14px; line-height:1;
}
.busca-clear.show{ display:flex; }

.atleta-item{ display:flex; align-items:center; gap:12px; padding:9px 4px; border-bottom:1px solid var(--line); cursor:pointer; }
.avatar{ width:40px; height:40px; border-radius:50%; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-family:'Anton',sans-serif; font-size:13px; color:var(--text-muted); flex-shrink:0; border:1px solid var(--line); overflow:hidden; }
.avatar img{ width:100%; height:100%; object-fit:cover; }
.atleta-nome{ font-weight:600; font-size:13.5px; }
.atleta-box{ font-size:11.5px; color:var(--text-muted); }
.atleta-num{ font-family:'IBM Plex Mono',monospace; color:var(--text-muted); font-size:12px; margin-left:auto; }
.star-btn{ background:none; border:none; padding:4px; cursor:pointer; font-size:18px; line-height:1; color:var(--line); }
.star-btn.favorito{ color:var(--star); }

.refresh-bar{ display:flex; align-items:center; justify-content:space-between; padding:10px 20px; border-top:1px solid var(--line); background:var(--surface); flex-shrink:0; }
.refresh-bar .info{ font-size:11px; color:var(--text-muted); font-family:'IBM Plex Mono',monospace; }
.refresh-btn{ background:var(--surface-2); color:var(--text); border:1px solid var(--line); border-radius:100px; padding:8px 16px; font-size:12px; font-weight:600; letter-spacing:.5px; text-transform:uppercase; cursor:pointer; }

.back-btn{
  position:absolute; top:14px; left:14px; z-index:3; background:rgba(10,10,12,.55); border:1px solid rgba(255,255,255,.2);
  color:#fff; font-size:13px; font-family:'Inter',sans-serif; padding:8px 14px; border-radius:100px; cursor:pointer; text-align:left;
}

/* ===== navegação entre múltiplas fotos do atleta ===== */
.perfil-hero-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3; background:rgba(10,10,12,.55);
  border:1px solid rgba(255,255,255,.2); color:#fff; width:34px; height:34px; border-radius:50%;
  display:none; align-items:center; justify-content:center; font-size:20px; line-height:1; cursor:pointer;
}
.perfil-hero-nav.prev{ left:14px; }
.perfil-hero-nav.next{ right:14px; }

/* camada transparente sobre a foto — dificulta o toque longo/clique
   direito de "salvar imagem" (o navegador só oferece essa opção quando o
   alvo do toque é uma <img> de verdade; aqui o alvo é esse <div> vazio).
   z-index 2: fica acima da foto (que não tem z-index, ou seja 0/auto),
   mas abaixo dos botões de voltar/navegar (z-index 3), que continuam
   clicáveis normalmente por cima dela. */
.perfil-hero-protect{
  position:absolute; inset:0; z-index:2;
  -webkit-touch-callout:none; -webkit-user-select:none; user-select:none;
}

/* padding-top compensa o .brand ter virado position:fixed (57px é a altura
   real dele, medida) — sem isso o conteúdo entraria por baixo do cabeçalho */
.view{ display:none; flex-direction:column; flex:1; min-height:0; padding-top:57px; }
/* só as telas que têm .menubar (nem toda .view tem — Perfil e o login do
   admin, por exemplo, não têm) precisam desse respiro extra: como o
   .menubar virou fixed (ver comentário dele acima), ele sai do fluxo
   normal, e quem quer que seja o próximo elemento logo abaixo dele (varia
   por tela: .content, .screen-head, .busca-filtro-row...) precisa desse
   empurrão pra não ficar escondido atrás dele. 51px = altura real testada
   do .menubar. */
.menubar + *{ margin-top:51px; }
.view.active{ display:flex; }

.sheet-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.55); display:none; z-index:1000; }
.sheet-overlay.open{ display:block; }
.sheet{ position:fixed; left:0; right:0; bottom:0; max-width:480px; margin:0 auto; background:var(--surface); border-top:1px solid var(--line); border-radius:20px 20px 0 0; max-height:82vh; display:flex; flex-direction:column; transform:translateY(100%); transition:transform .25s ease; z-index:1001; }
.sheet.open{ transform:translateY(0); }
.modal-center{
  position:fixed; left:50%; top:50%; width:calc(100% - 48px); max-width:420px; margin:0; background:var(--surface);
  border:1px solid var(--line); border-radius:18px; max-height:76vh; display:flex; flex-direction:column; z-index:1001;
  transform:translate(-50%,-50%) scale(.94); opacity:0; transition:transform .2s ease, opacity .2s ease; pointer-events:none;
}
.modal-center.open{ transform:translate(-50%,-50%) scale(1); opacity:1; pointer-events:auto; }
.sheet-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px 10px; border-bottom:1px solid var(--line); flex-shrink:0; }
.sheet-head h3{ font-family:'Anton',sans-serif; font-weight:400; font-size:18px; margin:0; letter-spacing:.5px; text-transform:uppercase; }
.sheet-clear{ background:none; border:none; color:var(--live); font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; }
.sheet-x{ background:var(--surface-2); border:1px solid var(--line); color:var(--text); font-size:20px; line-height:1; width:32px; height:32px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sheet-body{ overflow-y:auto; padding:6px 18px 14px; }
.filter-group{ margin-bottom:14px; }
.filter-group h4{ font-size:11px; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); margin:0 0 8px; }
.chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ padding:7px 12px; border-radius:100px; border:1px solid var(--line); background:var(--surface-2); font-size:12.5px; color:var(--text); cursor:pointer; user-select:none; }
.chip.selected{ background:var(--live); border-color:var(--live); color:#fff; font-weight:700; }
.sheet-foot{ padding:12px 18px 18px; border-top:1px solid var(--line); flex-shrink:0; }
.apply-btn{ width:100%; background:var(--live); color:#fff; border:none; border-radius:100px; padding:13px; font-size:13px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; cursor:pointer; }

.progitem{ border-radius:14px; overflow:hidden; margin-bottom:6px; border:1px solid var(--line); }
.progitem-collapsed{ display:flex; cursor:pointer; }
.progitem-collapsed:active{ opacity:.92; }
.progitem-time{ width:76px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family:'Anton',sans-serif; font-size:20px; }
.progitem-body{ flex:1; background:var(--surface); padding:7px 12px; display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
.progitem-prova{ font-family:'Anton',sans-serif; font-size:15px; text-transform:uppercase; letter-spacing:.3px; }
.progitem-right{ display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.progitem-raia{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--accent); font-weight:700; letter-spacing:.4px; }
.progitem.ao-vivo .progitem-time{ background:var(--live); color:#fff; }
.progitem.finalizado .progitem-time{ background:#232328; color:#828290; }
.progitem.futuro .progitem-time{ background:var(--futuro); color:#EDEDEA; }
.progitem-expand{ max-height:0; overflow:hidden; transition:max-height .25s ease; background:var(--surface); }
.progitem-expand.open{ max-height:300px; }
.progitem-expand-inner{ padding:12px 14px 14px; border-top:1px solid var(--line); }
.progitem-local{ font-size:12px; color:var(--accent); margin-bottom:3px; }
.progitem-meta{ font-size:10.5px; color:var(--accent); opacity:.85; font-family:'IBM Plex Mono',monospace; }

/* ===== perfil: foto do atleta (ASSINATURA) — 460px, largura inteira, imagem
   inteira visível dentro do espaço (sem cortar) + identidade por cima ===== */
.perfil-hero{ height:460px; position:relative; flex-shrink:0; overflow:hidden; background:var(--surface-2); }
.perfil-hero img.bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#000; }
.perfil-hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(5,11,22,0) 55%, var(--bg) 100%); pointer-events:none; }
.perfil-identidade{ position:relative; z-index:2; margin-top:-16px; padding:0 20px 6px; display:flex; align-items:center; gap:10px; flex-shrink:0; }
.perfil-avatar-rosto{
  width:52px; height:52px; border-radius:50%; border:3px solid var(--bg); overflow:hidden; flex-shrink:0;
  box-shadow:0 4px 14px rgba(0,0,0,.5); background:var(--surface-2);
}
.perfil-avatar-rosto img{ width:100%; height:100%; object-fit:cover; }
.perfil-avatar-numero{
  width:52px; height:52px; border-radius:50%; border:3px solid var(--bg); flex-shrink:0;
  box-shadow:0 4px 14px rgba(0,0,0,.5); background:var(--surface-2);
  display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.1;
}
.perfil-avatar-numero .av-label{ font-size:7px; letter-spacing:.5px; color:var(--text-muted); text-transform:uppercase; font-weight:700; }
.perfil-avatar-numero .av-num{ font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:13px; }
.perfil-info-nome-row{ display:flex; align-items:center; gap:8px; }
.perfil-info h2{ font-family:'Anton',sans-serif; font-weight:400; font-size:19px; margin:0; text-transform:uppercase; }
.perfil-info .box{ color:var(--text-muted); font-size:13px; margin-top:2px; }
.perfil-badges{ display:flex; gap:8px; padding:0 20px 4px; flex-wrap:wrap; flex-shrink:0; align-items:center; }
.badge{ font-size:11px; font-family:'IBM Plex Mono',monospace; padding:4px 10px; background:var(--surface); border:1px solid var(--line); border-radius:100px; color:var(--text-muted); }
.perfil-section-title{ font-size:12px; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); margin:4px 20px 6px; font-weight:600; flex-shrink:0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }

/* ===== roster de integrantes do time ===== */
.time-roster{ padding:4px 20px 8px; flex-shrink:0; }
.time-roster-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.time-roster-pill{
  font-size:11px; font-family:'IBM Plex Mono',monospace; font-weight:700; padding:7px 10px; background:var(--surface);
  border:1px solid var(--line); border-radius:100px; color:var(--text); white-space:nowrap; overflow:hidden;
  text-overflow:ellipsis; text-align:center;
}

/* ===== botão de compartilhar (Perfil) — já existia, só reposicionado pro layout novo ===== */
.share-btn{ background:var(--surface); border:1px solid var(--line); color:var(--text); width:32px; height:32px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.share-btn svg{ width:15px; height:15px; }
.share-toast{
  position:fixed; left:50%; bottom:24px; transform:translate(-50%, 8px); background:var(--surface-2); border:1px solid var(--line);
  color:var(--text); font-size:12.5px; font-weight:600; padding:10px 18px; border-radius:100px; z-index:1200;
  opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease;
}
.share-toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ===== cards de endereço ===== */
.endereco-card{ border-radius:16px; overflow:hidden; margin-bottom:16px; border:1px solid var(--line); background:var(--surface); }
.endereco-foto{ width:100%; height:150px; object-fit:cover; display:block; }
.endereco-body{ padding:14px 16px; }
.endereco-nome{ font-family:'Anton',sans-serif; font-size:17px; text-transform:uppercase; letter-spacing:.3px; margin-bottom:4px; }
.endereco-txt{ font-size:12.5px; color:var(--text-muted); margin-bottom:12px; line-height:1.4; }
.endereco-links{ display:flex; gap:10px; }
.endereco-btn{
  flex:1; display:flex; align-items:center; justify-content:center; gap:6px; text-decoration:none;
  padding:10px; border-radius:100px; font-size:12px; font-weight:700; letter-spacing:.3px; text-transform:uppercase;
  border:1px solid var(--line); color:var(--text);
}
.endereco-btn.waze{ background:var(--surface-2); }
.endereco-btn.maps{ background:var(--accent); color:#0A0A0C; border-color:var(--accent); }

/* ===== tela Provas ===== */
.prova-cat-banner{
  display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%;
  background:var(--surface-2); border:1px solid var(--line); border-radius:10px; padding:11px 16px;
  margin:18px 0 12px;
}
.prova-cat-banner:first-child{ margin-top:0; }
.prova-cat-banner h3{ font-size:13px; text-transform:uppercase; letter-spacing:.5px; margin:0; }
.prova-cat-pdf{
  flex-shrink:0; display:flex; align-items:center; gap:5px; text-decoration:none; background:var(--accent); color:#0A0A0C;
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.3px;
  padding:6px 12px; border-radius:100px;
}
.prova-cat-pdf svg{ width:12px; height:12px; flex-shrink:0; }
.prova-card-wrap{ display:flex; justify-content:center; margin-bottom:16px; }
.prova-card{ width:80%; border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--surface); }
.prova-card-titulo{ padding:11px 14px; text-align:center; font-size:13.5px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; }
.prova-card-imagem{ width:100%; aspect-ratio:4/5; background:var(--surface-2); overflow:hidden; }
.prova-card-imagem img{ width:100%; height:100%; object-fit:cover; display:block; }
.prova-empty{ text-align:center; color:var(--text-muted); font-size:13px; padding:40px 20px; }

/* ===== tela Apoiadores ===== */
.apoio-cota-banner{
  width:calc(100% - 40px); margin:18px 20px 12px; background:var(--surface-2); border:1px solid var(--line);
  border-radius:10px; padding:11px 16px; font-size:13px; text-transform:uppercase; letter-spacing:.5px; color:var(--text);
  text-align:center; font-weight:700;
}
.apoio-cota-banner:first-child{ margin-top:0; }
.apoio-item{
  display:block; border-bottom:1px solid var(--line);
  text-decoration:none; background:var(--bg);
  /* estica de ponta a ponta, cancelando o padding lateral de 16px do
     container (.content) — a imagem já tem moldura própria (proposital,
     time de marketing), não precisa de respiro adicional aqui */
  margin:0 -16px;
  padding-bottom:6px; /* espaço pequeno até a linha divisória do próximo */
}
.apoio-item img{
  display:block; width:90%; margin:0 auto; /* 90% da largura da tela, centralizada */
  aspect-ratio:5/2; /* artes feitas em 800x320 (5:2) — altura sempre proporcional à largura, mesmo esquema do player da Home */
  object-fit:cover;
}

/* ===== tela Cronograma Geral ===== */
.geral-select-row{ display:flex; gap:8px; overflow-x:auto; padding:10px 20px; flex-shrink:0; scrollbar-width:none; }
.geral-select-row::-webkit-scrollbar{ display:none; }
.geral-chip{
  flex-shrink:0; background:var(--surface); border:1px solid var(--line); color:var(--text-muted); font-size:12.5px;
  font-weight:600; padding:8px 15px; border-radius:100px; cursor:pointer; white-space:nowrap;
}
.geral-chip.selected{ background:var(--accent); border-color:var(--accent); color:#0A0A0C; }
.geral-timeline-wrap{ display:flex; padding:14px 16px 30px; }
.geral-hours{ width:42px; flex-shrink:0; position:relative; }
.geral-hour-label{ position:absolute; left:0; transform:translateY(-50%); font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--text-muted); }
.geral-events{ flex:1; position:relative; border-left:1px solid var(--line); margin-left:8px; }
.geral-hour-line{ position:absolute; left:0; right:0; height:1px; background:var(--line); opacity:.5; }
.geral-block{ position:absolute; border-radius:9px; padding:6px 9px; overflow:hidden; border:1px solid var(--line); background:var(--futuro-bg); color:var(--text); cursor:pointer; }
.geral-block.ao-vivo{ background:var(--live); border-color:var(--live); color:#fff; }
.geral-block.ao-vivo .geral-block-prova, .geral-block.ao-vivo .geral-block-horario{ color:rgba(255,255,255,.82); }
.geral-block.finalizado{ background:var(--finalizado); border-color:var(--finalizado); color:#0F0F12; }
.geral-block.finalizado .geral-block-prova, .geral-block.finalizado .geral-block-horario{ color:#3A3A44; }
.geral-block-cat{ font-weight:700; font-size:11px; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.geral-block-prova{ font-size:10px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.geral-block-horario{ font-family:'IBM Plex Mono',monospace; font-size:9.5px; margin-top:2px; color:var(--text-muted); }
.geral-block.compacto{ display:flex; align-items:center; padding:0 9px; }
.geral-block.compacto .geral-block-prova, .geral-block.compacto .geral-block-horario{ display:none; }
.geral-block.compacto .geral-block-cat{ font-size:10px; }

.geral-detail-cat{ font-family:'Anton',sans-serif; font-size:19px; text-transform:uppercase; letter-spacing:.4px; margin-bottom:4px; }
.geral-detail-prova{ font-size:14px; color:var(--text-muted); margin-bottom:14px; }
.geral-detail-row{ display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-top:1px solid var(--line); font-size:13px; }
.geral-detail-row:first-of-type{ border-top:none; }
.geral-detail-row span:first-child{ color:var(--text-muted); }
.geral-detail-row span:last-child{ font-weight:600; font-family:'IBM Plex Mono',monospace; }

/* ===== tela Leaderboard ===== */
.lb-hero{ display:flex; align-items:center; justify-content:center; padding:14px 20px; background:var(--surface); border-bottom:1px solid var(--line); flex-shrink:0; }
.lb-cta-btn{
  display:flex; align-items:center; gap:7px; text-decoration:none; background:var(--live); color:#fff;
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.4px;
  padding:12px 22px; border-radius:100px; box-shadow:0 4px 16px rgba(47,128,255,.45); white-space:nowrap;
}
.lb-cta-btn svg{ width:15px; height:15px; flex-shrink:0; }
.lb-cat-select-wrap{ padding:10px 20px; flex-shrink:0; }
.lb-cat-select{
  width:100%; background:var(--surface); border:1px solid var(--line); color:var(--text); font-family:'Inter',sans-serif;
  font-size:13.5px; font-weight:600; padding:11px 14px; border-radius:12px; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239C9CA6'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%239C9CA6' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center;
}
.lb-row{ display:flex; align-items:center; gap:12px; padding:10px 20px; }
.lb-row:nth-child(odd){ background:rgba(255,255,255,.025); }
.lb-pos{
  flex-shrink:0; width:40px; height:40px; border-radius:50%; background:var(--surface-2); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-family:'Anton',sans-serif; font-weight:400; font-size:17px; color:var(--text);
}
.lb-row.pos-1 .lb-pos{ background:linear-gradient(155deg,#FFE28A,#D89A0A); color:#4A3300; border-color:transparent; }
.lb-row.pos-2 .lb-pos{ background:linear-gradient(155deg,#F0F1F4,#A9ACB6); color:#26262D; border-color:transparent; }
.lb-row.pos-3 .lb-pos{ background:linear-gradient(155deg,#E8B37E,#A85F28); color:#3A1D00; border-color:transparent; }
.lb-foto{ flex-shrink:0; width:38px; height:38px; border-radius:50%; overflow:hidden; background:var(--surface-2); }
.lb-foto img{ width:100%; height:100%; object-fit:cover; }
.lb-info{ flex:1; min-width:0; }
.lb-nome{ font-weight:700; font-size:13.5px; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lb-box{ font-size:11.5px; color:var(--text-muted); text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lb-pontos{ flex-shrink:0; font-family:'Anton',sans-serif; font-weight:400; font-size:16px; letter-spacing:.3px; }
.lb-pontos .pts-suffix{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:700; text-transform:lowercase; margin-left:2px; color:var(--text-muted); }
.lb-podium-divider{ height:2px; background:var(--star); margin:2px 20px 6px; opacity:.7; }

/* ===== tela Home ===== */
.home-video-wrap{ position:relative; width:100%; padding-top:56.25%; border-radius:14px; overflow:hidden; background:#000; margin-bottom:32px; border:1px solid var(--line); }
.home-video-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.home-cta-row{ display:flex; gap:10px; margin-bottom:36px; }
.home-cta-btn{
  flex:1; display:flex; align-items:center; justify-content:center; gap:6px; text-align:center; text-decoration:none; white-space:nowrap;
  padding:14px 10px; border-radius:14px; font-size:14.5px; font-weight:800; letter-spacing:.3px; text-transform:uppercase;
}
.home-cta-btn svg{ width:13px; height:13px; flex-shrink:0; }
.home-cta-btn.primary{ background:var(--live); color:#fff; }
.home-divider{ height:1px; background:var(--line); margin:4px 0 18px; }
.home-menu-list{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:36px; }
.home-menu-list button{
  display:inline-flex; align-items:center; gap:6px; white-space:nowrap; background:var(--surface); border:1px solid var(--line);
  color:var(--text); padding:9px 16px; border-radius:100px; font-family:'Anton',sans-serif; font-weight:400; font-size:12.5px;
  letter-spacing:.4px; text-transform:uppercase; cursor:pointer;
}
.home-menu-list button svg{ width:12px; height:12px; flex-shrink:0; }
.home-menu-list button:active{ background:var(--surface-2); }

/* ===== Melhores Momentos (Home) ===== */
.momentos-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.momentos-titulo{ font-family:'Anton',sans-serif; font-size:17px; text-transform:uppercase; letter-spacing:.3px; }
.momentos-ordenar-btn{ background:var(--surface); border:1px solid var(--line); color:var(--text-muted); font-size:10.5px; font-weight:600; padding:6px 11px; border-radius:100px; cursor:pointer; white-space:nowrap; }
.momentos-lista{ display:flex; flex-direction:column; align-items:center; gap:20px; }
.momento-card{ width:80%; }
.momento-foto-wrap{ position:relative; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); }
/* sem corte: a foto aparece inteira, com a altura se ajustando à proporção
   original dela (decisão do Diretor Técnico) — nada de aspect-ratio fixo
   nem object-fit aqui, ao contrário de outras telas com foto */
.momento-foto-wrap img{ width:100%; height:auto; display:block; }
/* mesma técnica do .perfil-hero-protect: camada transparente por cima da
   foto pra dificultar o toque longo/clique direito de "salvar imagem" (o
   navegador só oferece essa opção quando o alvo do toque é uma <img> de
   verdade; aqui o alvo é esse <div> vazio) */
.momento-foto-protect{
  position:absolute; inset:0; z-index:1;
  -webkit-touch-callout:none; -webkit-user-select:none; user-select:none;
}
.momento-foto-titulo{ font-size:11px; color:var(--text-muted); padding:8px 10px 0; }
.momento-curtir-row{ display:flex; align-items:center; gap:6px; padding:8px 10px 10px; }
.momento-curtir-btn{ background:none; border:none; padding:2px; cursor:pointer; display:flex; align-items:center; color:var(--text-muted); transition:color .15s, transform .15s; }
.momento-curtir-btn svg{ width:22px; height:22px; }
.momento-curtir-btn.curtido{ color:#FF5C7A; }
.momento-curtir-btn.curtido svg{ fill:#FF5C7A; }
.momento-curtir-btn:active{ transform:scale(1.15); }
.momento-curtir-count{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-muted); }

/* ===== Briefing ===== */
.briefing-lista{ padding:16px; display:flex; flex-direction:column; gap:20px; }
.briefing-card{ border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface); }
.briefing-titulo{ font-family:'Anton',sans-serif; font-size:14px; text-transform:uppercase; letter-spacing:.3px; padding:12px 14px; border-bottom:1px solid var(--line); }
.briefing-video-wrap{ position:relative; width:100%; padding-top:56.25%; background:#000; }
.briefing-video-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.briefing-thumb{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; cursor:pointer; }
.briefing-play-btn{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; cursor:pointer;
  background:rgba(10,10,12,.25);
}
.briefing-play-btn svg{ width:52px; height:52px; filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)); }

.caption{ max-width:480px; margin:0 auto 4px; padding:0 4px; color:var(--text-muted); font-size:12px; text-align:center; }
.section-note{ max-width:480px; margin:0 auto; padding:0 4px 4px; color:#6b6b76; font-size:11px; text-align:center; }

/* ===== banner de instalação do PWA + guia iOS ===== */
/* ===== tela de carregamento inicial (ver js/app.js) ===== */
.carga-inicial{
  position:fixed; inset:0; z-index:3000; background:var(--bg);
  display:none; flex-direction:column; align-items:center; justify-content:center; gap:16px;
}
.carga-inicial.show{ display:flex; }
.carga-inicial-badge{ width:64px; height:64px; border-radius:16px; overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,.4); }
.carga-inicial-badge img{ width:100%; height:100%; object-fit:cover; }
.carga-inicial-spinner{
  width:28px; height:28px; border-radius:50%; border:3px solid var(--line); border-top-color:var(--live);
  animation:girarCarga .8s linear infinite;
}
@keyframes girarCarga{ to{ transform:rotate(360deg); } }
.carga-inicial p{ font-size:12.5px; color:var(--text-muted); letter-spacing:.3px; margin:0; }

/* ===== promoção ("desconto relâmpago") — modal central, sempre por cima
   de tudo (inclusive o banner de instalação); moldura justa à imagem, sem
   sobrar espaço lateral (ver js/promocoes.js) ===== */
.promo-overlay{ z-index:2500; }
.promo-modal{
  position:fixed; left:50%; top:50%; transform:translate(-50%,-50%) scale(.94);
  width:fit-content; max-width:calc(100% - 32px);
  background:var(--surface); border:1px solid var(--line); border-radius:16px;
  padding:14px 12px 16px; z-index:2501; text-align:center;
  opacity:0; transition:transform .2s ease, opacity .2s ease; pointer-events:none;
}
.promo-modal.open{ transform:translate(-50%,-50%) scale(1); opacity:1; pointer-events:auto; }
.promo-close{
  position:absolute; top:-10px; right:-10px; background:var(--surface-2); border:1px solid var(--line); color:var(--text);
  width:30px; height:30px; border-radius:50%; font-size:18px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.4);
}
.promo-titulo{ font-family:'Anton',sans-serif; font-size:15px; text-transform:uppercase; letter-spacing:.4px; margin:0 4px 10px; }
.promo-imagem-wrap, .promo-imagem-link{ display:block; line-height:0; }
.promo-imagem-wrap img, .promo-imagem-link img{
  display:block; margin:0 auto; max-width:320px; max-height:50vh; width:auto; height:auto; border-radius:10px;
}

.install-banner{
  position:fixed; left:0; right:0; bottom:0; max-width:480px; margin:0 auto; z-index:500;
  background:var(--brand-panel); border-top:1px solid var(--line); padding:14px 16px;
  display:none; align-items:center; gap:12px; box-shadow:0 -8px 24px rgba(0,0,0,.45);
  transform:translateY(100%); transition:transform .25s ease;
}
.install-banner.show{ display:flex; transform:translateY(0); }
.install-banner-icon{ width:40px; height:40px; border-radius:10px; overflow:hidden; flex-shrink:0; }
.install-banner-icon img{ width:100%; height:100%; object-fit:cover; }
.install-banner-text{ flex:1; min-width:0; }
.install-banner-text strong{ display:block; font-size:12.5px; }
.install-banner-text span{ display:block; font-size:10.5px; color:var(--text-muted); margin-top:1px; line-height:1.3; }
.install-banner-actions{ display:flex; flex-direction:column; gap:6px; flex-shrink:0; }
.install-banner-btn{ border:none; border-radius:100px; padding:7px 14px; font-size:11px; font-weight:700; cursor:pointer; white-space:nowrap; }
.install-banner-btn.primary{ background:var(--live); color:#fff; }
.install-banner-btn.secondary{ background:none; color:var(--text-muted); }

.ios-guide-step{ display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--line); }
.ios-guide-step:last-child{ border-bottom:none; }
.ios-guide-num{
  width:24px; height:24px; border-radius:50%; background:var(--accent); color:#0A0A0C; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:12px;
}
.ios-guide-txt{ font-size:13px; line-height:1.4; }

/* estado vazio genérico de tela */
.empty-state{ text-align:center; padding:40px 20px; color:var(--text-muted); font-size:13px; }

/* ===== PAINEL ADMINISTRATIVO — acompanhamento de acessos (login) =====
   Valores portados do mockup TCB_App_Mockup_Telas_v66_painel_admin.html,
   fonte de verdade visual pra essa funcionalidade. */
.admin-login-wrap{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:32px 24px; text-align:center; gap:18px; }
.admin-login-wrap img{ width:56px; height:56px; border-radius:12px; }
.admin-login-title{ font-family:'Anton',sans-serif; font-size:20px; text-transform:uppercase; letter-spacing:.4px; }
.admin-login-sub{ font-size:12.5px; color:var(--text-muted); max-width:260px; line-height:1.5; }
.admin-login-error{ font-size:12px; color:#FF6B6B; display:none; }
.admin-login-error.show{ display:block; }
.admin-login-google-slot{ min-height:40px; display:flex; align-items:center; justify-content:center; }
.admin-login-carregando{ font-size:12px; color:var(--text-muted); }

.admin-header{ display:flex; align-items:center; justify-content:space-between; padding:14px 20px; background:var(--brand-panel); border-bottom:1px solid var(--line); flex-shrink:0; }
.admin-header-title{ font-family:'Anton',sans-serif; font-size:16px; text-transform:uppercase; letter-spacing:.4px; }
.admin-header-user{ display:flex; align-items:center; gap:10px; font-size:11.5px; color:var(--text-muted); }
.admin-header-avatar{ width:24px; height:24px; border-radius:50%; object-fit:cover; }
.admin-logout-btn{ background:var(--surface); border:1px solid var(--line); color:var(--text); border-radius:100px; padding:7px 14px; font-size:11.5px; font-weight:600; cursor:pointer; }

.admin-filter-bar{ display:flex; flex-direction:column; gap:8px; padding:12px 20px; background:var(--surface); border-bottom:1px solid var(--line); }
.admin-filter-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.admin-filter-bar input{
  color-scheme:dark; background:var(--surface-2); border:1px solid var(--line); color:var(--text);
  font-size:11.5px; padding:6px 8px; border-radius:8px; font-family:'IBM Plex Mono',monospace;
}
.admin-filter-bar .sep{ font-size:11px; color:var(--text-muted); min-width:24px; }
.admin-filter-clear{ background:none; border:1px solid var(--line); color:var(--text-muted); font-size:11px; padding:6px 10px; border-radius:8px; cursor:pointer; margin-left:auto; }

.admin-stats-row{ display:flex; gap:10px; padding:16px 20px 6px; }
.admin-stat-card{ flex:1; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px 12px; text-align:center; }
.admin-stat-num{ font-family:'Anton',sans-serif; font-size:24px; line-height:1; }
.admin-stat-num.live{ color:var(--live); }
.admin-stat-label{ font-size:10px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.4px; margin-top:5px; }
.admin-live-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--live); margin-right:5px; animation:admin-pulse 1.4s infinite; }
@keyframes admin-pulse{ 0%,100%{opacity:1;} 50%{opacity:.35;} }

.admin-section{ padding:18px 20px 4px; }
.admin-section-title{ font-family:'Anton',sans-serif; font-size:13px; text-transform:uppercase; letter-spacing:.4px; color:var(--text-muted); margin-bottom:10px; display:flex; align-items:center; justify-content:space-between; }
.admin-range-select{ background:var(--surface); border:1px solid var(--line); color:var(--text); font-size:11px; padding:5px 10px; border-radius:100px; }

.admin-timeline{ display:flex; align-items:flex-end; gap:4px; height:132px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 10px 6px; overflow-x:auto; }
.admin-timeline-bar-wrap{ flex:1; min-width:20px; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; gap:3px; }
.admin-timeline-value{ font-size:9px; font-weight:700; color:var(--text); font-family:'IBM Plex Mono',monospace; white-space:nowrap; }
.admin-timeline-bar{ width:100%; background:var(--accent); border-radius:3px 3px 0 0; min-height:2px; }
.admin-timeline-label{ font-size:8.5px; color:var(--text-muted); font-family:'IBM Plex Mono',monospace; }

.admin-bar-row{ display:flex; align-items:center; gap:10px; padding:8px 0; }
.admin-bar-label{ width:108px; flex-shrink:0; font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-bar-track{ flex:1; height:16px; background:var(--surface-2); border-radius:8px; overflow:hidden; }
.admin-bar-fill{ height:100%; background:var(--accent); border-radius:8px; }
.admin-bar-value{ width:38px; flex-shrink:0; text-align:right; font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--text-muted); }

.admin-fav-row{ display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid var(--line); }
.admin-fav-row:last-child{ border-bottom:none; }
.admin-fav-pos{ width:20px; flex-shrink:0; font-family:'Anton',sans-serif; font-size:13px; color:var(--text-muted); }
.admin-fav-foto{ width:32px; height:32px; border-radius:50%; overflow:hidden; flex-shrink:0; background:var(--surface-2); }
.admin-fav-foto img{ width:100%; height:100%; object-fit:cover; }
.admin-fav-info{ flex:1; min-width:0; }
.admin-fav-nome{ font-size:12.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-fav-count{ display:flex; align-items:center; gap:4px; font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--star); flex-shrink:0; }
.admin-fav-count svg{ width:12px; height:12px; }
.admin-fav-count.visitas{ color:var(--accent); }
.admin-fav-count.compartilhados{ color:var(--live); }
.admin-endereco-row{ padding:10px 0; border-bottom:1px solid var(--line); }
.admin-endereco-row:last-child{ border-bottom:none; }
.admin-endereco-top{ font-size:12.5px; font-weight:700; margin-bottom:4px; }

.admin-expand-btn{ display:block; width:100%; background:none; border:1px dashed var(--line); color:var(--accent); font-size:12px; font-weight:600; padding:9px; border-radius:8px; margin-top:8px; cursor:pointer; }

.admin-mapa-brasil{ display:flex; justify-content:center; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px; }
.admin-mapa-svg{ width:100%; max-width:360px; height:auto; }
.admin-mapa-filtro-info{ display:flex; align-items:center; justify-content:space-between; font-size:11px; color:var(--text-muted); margin-top:6px; min-height:16px; }
.admin-mapa-filtro-limpar{ background:none; border:none; color:var(--accent); font-size:11px; font-weight:600; cursor:pointer; padding:0; }
