/* Radar Aviator — tema experimental "Tático".
   Ativado apenas quando a URL tiver ?style=tatico ou ?theme=tatico.
   Não mexe no tema padrão. */
body.radar-theme-tatico{
  --bg:#05090b!important;
  --bg-deep:#030607!important;
  --surface:#0a1114!important;
  --surface-2:#0e181c!important;
  --surface-3:#101d22!important;
  --line:#14252b!important;
  --border:#14252b!important;
  --border-strong:rgba(51,255,153,.34)!important;
  --fg:#dff5ec!important;
  --text:#dff5ec!important;
  --muted:#6f8f85!important;
  --green:#33ff99!important;
  --green-dim:#1d8f5c!important;
  --radar-lime:#33ff99!important;
  --radar-teal:#33ff99!important;
  --radar-violet:#38bdf8!important;
  --radar-blue:#38bdf8!important;
  --radar-pink:#ff5fa2!important;
  --crimson:#33ff99!important;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --ui:'Space Grotesk','Rubik',system-ui,-apple-system,Segoe UI,sans-serif;
  background:#05090b!important;
  color:#dff5ec!important;
  font-family:var(--ui)!important;
  background-image:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(51,255,153,.06),transparent),linear-gradient(180deg,#05090b,#030607)!important;
}
body.radar-theme-tatico::before{
  background:radial-gradient(ellipse 80% 50% at 50% -12%,rgba(51,255,153,.07),transparent 58%),linear-gradient(rgba(51,255,153,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(51,255,153,.018) 1px,transparent 1px)!important;
  background-size:auto,42px 42px,42px 42px!important;
  opacity:1!important;
}
body.radar-theme-tatico h1,
body.radar-theme-tatico h2,
body.radar-theme-tatico h3,
body.radar-theme-tatico .cat-header__title,
body.radar-theme-tatico .gestao-header__title,
body.radar-theme-tatico .live-header__value{font-family:var(--ui)!important;letter-spacing:-.02em!important;color:#dff5ec!important;}
body.radar-theme-tatico button,
body.radar-theme-tatico a,
body.radar-theme-tatico input,
body.radar-theme-tatico select{font-family:var(--mono)!important;}
body.radar-theme-tatico .radar-brand-topbar{
  background:rgba(5,9,11,.92)!important;
  border-bottom:1px solid #14252b!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px)!important;
  padding:14px 20px!important;
}
body.radar-theme-tatico .radar-brand-orb{
  width:36px!important;height:36px!important;border-radius:50%!important;
  border:1px solid #1d8f5c!important;background:#05090b!important;
  box-shadow:0 0 18px rgba(51,255,153,.14),inset 0 0 0 1px rgba(51,255,153,.05)!important;
  overflow:hidden!important;
}
body.radar-theme-tatico .radar-brand-orb::before{content:"";position:absolute;inset:0;background:conic-gradient(from 0deg,transparent 70%,rgba(51,255,153,.56));animation:taticoSweep 3s linear infinite;}
body.radar-theme-tatico .radar-brand-orb::after{content:"";position:absolute;inset:8px;border:1px solid rgba(51,255,153,.18);border-radius:50%;box-shadow:none!important;}
@keyframes taticoSweep{to{transform:rotate(360deg)}}
body.radar-theme-tatico .radar-brand-title{font-size:15px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#dff5ec!important;}
body.radar-theme-tatico .radar-brand-title::first-letter{color:#33ff99;}
body.radar-theme-tatico .radar-brand-sub{font-family:var(--mono)!important;color:#6f8f85!important;font-size:9px!important;letter-spacing:.2em!important;text-transform:uppercase!important;}
body.radar-theme-tatico .radar-brand-status{
  border:1px solid #14252b!important;background:transparent!important;color:#33ff99!important;
  border-radius:4px!important;font-family:var(--mono)!important;font-size:11px!important;font-weight:800!important;letter-spacing:.12em!important;
  box-shadow:none!important;
}
body.radar-theme-tatico .radar-brand-status i{color:#33ff99!important;background:transparent!important;box-shadow:none!important;}
body.radar-theme-tatico #app-shell,
body.radar-theme-tatico .tab-panel,
body.radar-theme-tatico .live-header,
body.radar-theme-tatico .cat-header,
body.radar-theme-tatico .cat-stat,
body.radar-theme-tatico .gestao-header,
body.radar-theme-tatico .patterns-card,
body.radar-theme-tatico .minu-rank-card,
body.radar-theme-tatico .pwa-banner,
body.radar-theme-tatico .pwa-modal,
body.radar-theme-tatico .modal-card{
  background:#0a1114!important;border:1px solid #14252b!important;border-radius:6px!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
body.radar-theme-tatico .cat-header,
body.radar-theme-tatico .live-header,
body.radar-theme-tatico .gestao-header{padding:12px 14px!important;}
body.radar-theme-tatico .cat-header__subtitle,
body.radar-theme-tatico .live-header__label,
body.radar-theme-tatico .cat-stat__label,
body.radar-theme-tatico .aviator-switch__label,
body.radar-theme-tatico .cat-filter-label,
body.radar-theme-tatico .bottom-nav__item,
body.radar-theme-tatico label{
  color:#6f8f85!important;font-family:var(--mono)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.18em!important;text-transform:uppercase!important;
}
body.radar-theme-tatico .btn-red,
body.radar-theme-tatico .pwa-btn-primary,
body.radar-theme-tatico #fa-validate-btn,
body.radar-theme-tatico #login-btn,
body.radar-theme-tatico #logout-confirm,
body.radar-theme-tatico #deposit-account-btn,
body.radar-theme-tatico .live-header__btn,
body.radar-theme-tatico .aviator-switch__btn.active,
body.radar-theme-tatico .aviator-switch-btn.active,
body.radar-theme-tatico .tab-link.active,
body.radar-theme-tatico .bottom-nav__item.active{
  background:#33ff99!important;border:1px solid #33ff99!important;color:#05090b!important;border-radius:4px!important;
  font-family:var(--mono)!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.1em!important;
  box-shadow:none!important;text-shadow:none!important;
}
body.radar-theme-tatico .btn-outline,
body.radar-theme-tatico .pwa-btn-secondary,
body.radar-theme-tatico .tab-link,
body.radar-theme-tatico .bottom-nav__item,
body.radar-theme-tatico .cat-chip,
body.radar-theme-tatico .cat-heatmap-toggle,
body.radar-theme-tatico .cat-size-btn,
body.radar-theme-tatico .aviator-switch__btn,
body.radar-theme-tatico .aviator-switch-btn{
  background:transparent!important;border:1px solid #14252b!important;color:#6f8f85!important;border-radius:4px!important;
  box-shadow:none!important;font-family:var(--mono)!important;text-transform:uppercase!important;
}
body.radar-theme-tatico input[type=email],
body.radar-theme-tatico input[type=text],
body.radar-theme-tatico input[type=number],
body.radar-theme-tatico input[type=date],
body.radar-theme-tatico select,
body.radar-theme-tatico .gestao-input{
  background:#0e181c!important;border:1px solid #14252b!important;color:#dff5ec!important;border-radius:4px!important;
  box-shadow:none!important;font-family:var(--mono)!important;
}
body.radar-theme-tatico input:focus,
body.radar-theme-tatico select:focus,
body.radar-theme-tatico .gestao-input:focus{outline:none!important;border-color:#1d8f5c!important;box-shadow:0 0 0 2px rgba(51,255,153,.08)!important;}
body.radar-theme-tatico .aviator-switch,
body.radar-theme-tatico .cat-filters,
body.radar-theme-tatico .cat-stats,
body.radar-theme-tatico .aviator-switch__group{
  background:transparent!important;border-color:#14252b!important;border-radius:6px!important;box-shadow:none!important;
}
body.radar-theme-tatico .bottom-nav{background:rgba(5,9,11,.92)!important;border-top:1px solid #14252b!important;backdrop-filter:blur(10px)!important;}
body.radar-theme-tatico .bottom-nav__inner{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
body.radar-theme-tatico .bottom-nav__item--main{background:#33ff99!important;color:#05090b!important;border-radius:4px!important;box-shadow:none!important;}
body.radar-theme-tatico .vela.vela-card{
  border-radius:4px!important;padding:6px 8px!important;background:#0e181c!important;border:1px solid #14252b!important;
  box-shadow:none!important;font-family:var(--mono)!important;min-width:calc(84px * var(--vela-scale,1))!important;
}
body.radar-theme-tatico .vela-card__value{font-weight:900!important;font-size:calc(1.35rem * var(--vela-scale,1))!important;}
body.radar-theme-tatico .vela-card__time{font-size:calc(.66rem * var(--vela-scale,1))!important;color:#6f8f85!important;}
body.radar-theme-tatico .vela-card--azul{background:rgba(56,189,248,.06)!important;border-color:rgba(56,189,248,.35)!important;}
body.radar-theme-tatico .vela-card--azul .vela-card__value{color:#38bdf8!important;}
body.radar-theme-tatico .vela-card--roxa{background:rgba(176,125,249,.06)!important;border-color:rgba(176,125,249,.35)!important;}
body.radar-theme-tatico .vela-card--roxa .vela-card__value{color:#b07df9!important;}
body.radar-theme-tatico .vela-card--rosa{background:rgba(255,95,162,.07)!important;border-color:rgba(255,95,162,.42)!important;}
body.radar-theme-tatico .vela-card--rosa .vela-card__value{color:#ff5fa2!important;text-shadow:0 0 12px rgba(255,95,162,.38)!important;}
body.radar-theme-tatico .cat-stat__value--green,
body.radar-theme-tatico .text-green,
body.radar-theme-tatico .live-header__value{color:#33ff99!important;font-family:var(--mono)!important;}
body.radar-theme-tatico .text-azul,
body.radar-theme-tatico .cat-stat__value--azul{color:#38bdf8!important;}
body.radar-theme-tatico .text-roxa,
body.radar-theme-tatico .cat-stat__value--roxa{color:#b07df9!important;}
body.radar-theme-tatico .text-rosa,
body.radar-theme-tatico .cat-stat__value--rosa{color:#ff5fa2!important;}
body.radar-theme-tatico .modal-backdrop{background:rgba(3,6,7,.82)!important;backdrop-filter:blur(8px)!important;}
body.radar-theme-tatico #login-modal-title,
body.radar-theme-tatico .pwa-modal-title{font-family:var(--ui)!important;color:#dff5ec!important;font-weight:900!important;letter-spacing:-.03em!important;}
body.radar-theme-tatico #login-modal-title:before{content:"RADAR TÁTICO";display:block;color:#33ff99;font-family:var(--mono);font-size:.72rem;text-transform:uppercase;letter-spacing:.22em;margin-bottom:8px;}
@media(max-width:640px){
  body.radar-theme-tatico .radar-brand-topbar{padding:10px 12px!important;}
  body.radar-theme-tatico .radar-brand-title{font-size:.92rem!important;}
  body.radar-theme-tatico .radar-brand-sub{font-size:.56rem!important;}
  body.radar-theme-tatico .radar-brand-status{font-size:.56rem!important;padding:6px 8px!important;}
  body.radar-theme-tatico .cat-header,
  body.radar-theme-tatico .live-header,
  body.radar-theme-tatico .gestao-header{padding:10px 11px!important;}
}

/* Child pages: RTP + Curso inside themed iframes */
body.radar-theme-tatico .page,
body.radar-theme-tatico .layout,
body.radar-theme-tatico .content,
body.radar-theme-tatico article,
body.radar-theme-tatico .certificate{
  background:transparent!important;
  color:#dff5ec!important;
}
body.radar-theme-tatico .hero .eyebrow,
body.radar-theme-tatico .notice,
body.radar-theme-tatico .preset-btn,
body.radar-theme-tatico .game-btn,
body.radar-theme-tatico .theme-toggle,
body.radar-theme-tatico .toggle-sidebar-btn,
body.radar-theme-tatico .ghost,
body.radar-theme-tatico .sidebar-close{
  background:transparent!important;
  border:1px solid #14252b!important;
  color:#6f8f85!important;
  border-radius:4px!important;
  box-shadow:none!important;
  font-family:var(--mono)!important;
  text-transform:uppercase!important;
}
body.radar-theme-tatico .game-btn.active,
body.radar-theme-tatico .preset-btn:hover,
body.radar-theme-tatico #loadBtn,
body.radar-theme-tatico .btn-download,
body.radar-theme-tatico .nav-buttons button:not(.ghost){
  background:#33ff99!important;
  border-color:#33ff99!important;
  color:#05090b!important;
  border-radius:4px!important;
  box-shadow:none!important;
  font-weight:900!important;
}
body.radar-theme-tatico .cards,
body.radar-theme-tatico .stats-grid{gap:10px!important;}
body.radar-theme-tatico .card,
body.radar-theme-tatico .hour-tile,
body.radar-theme-tatico .stat-card,
body.radar-theme-tatico .progress,
body.radar-theme-tatico .search-box,
body.radar-theme-tatico .lesson-body,
body.radar-theme-tatico .certificate-body{
  background:#0a1114!important;
  border:1px solid #14252b!important;
  border-radius:6px!important;
  box-shadow:none!important;
  color:#dff5ec!important;
}
body.radar-theme-tatico .hour-tile.hot,
body.radar-theme-tatico .hour-tile.warm,
body.radar-theme-tatico .hour-tile.cold{background:#0e181c!important;border-color:#1d8f5c!important;}
body.radar-theme-tatico table{background:#0a1114!important;}
body.radar-theme-tatico th{background:#0e181c!important;color:#6f8f85!important;border-color:#14252b!important;font-family:var(--mono)!important;}
body.radar-theme-tatico td{color:#dff5ec!important;border-color:#14252b!important;}
body.radar-theme-tatico .sort-th.active,
body.radar-theme-tatico .hot-text{color:#33ff99!important;}
body.radar-theme-tatico .warm-text{color:#ffd166!important;}
body.radar-theme-tatico .cold-text{color:#ff5fa2!important;}
body.radar-theme-tatico .topbar{
  background:rgba(5,9,11,.92)!important;
  border-bottom:1px solid #14252b!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px)!important;
}
body.radar-theme-tatico .brand{
  font-family:var(--ui)!important;
  color:#dff5ec!important;
  background:none!important;
  -webkit-text-fill-color:currentColor!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
body.radar-theme-tatico .brand i{color:#33ff99!important;}
body.radar-theme-tatico .sidebar{
  background:#0a1114!important;
  border-right:1px solid #14252b!important;
  box-shadow:none!important;
}
body.radar-theme-tatico .sidebar h2,
body.radar-theme-tatico .sidebar-header,
body.radar-theme-tatico .foot,
body.radar-theme-tatico .progress-text{color:#6f8f85!important;font-family:var(--mono)!important;text-transform:uppercase!important;letter-spacing:.12em!important;}
body.radar-theme-tatico .sidebar a,
body.radar-theme-tatico .sidebar button{
  color:#6f8f85!important;
  border-radius:4px!important;
}
body.radar-theme-tatico .sidebar a:hover,
body.radar-theme-tatico .sidebar a.active{
  background:rgba(51,255,153,.08)!important;
  color:#33ff99!important;
}
body.radar-theme-tatico #lessonTitle,
body.radar-theme-tatico .lesson-body h1,
body.radar-theme-tatico .lesson-body h2,
body.radar-theme-tatico .lesson-body h3,
body.radar-theme-tatico .lesson-body h4{color:#dff5ec!important;font-family:var(--ui)!important;}
body.radar-theme-tatico .lesson-body p,
body.radar-theme-tatico .lesson-body li,
body.radar-theme-tatico .content p{color:#a8c5bc!important;}
body.radar-theme-tatico .progress-bar,
body.radar-theme-tatico .progress-ring-fill{stroke:#33ff99!important;background:#33ff99!important;}

