/* Bolão do Brasileirão — visual aprovado no esboço (celular primeiro). */
:root {
  --azul: #2453E0; --azul-escuro: #1B3FB0; --azul-claro: #E8EEFC;
  --fundo: #F3F4F6; --cartao: #FFFFFF; --texto: #0F172A; --texto2: #64748B; --linha: #E2E8F0;
  --aviso-fundo: #FEF3C7; --aviso: #B45309; --ok: #16A34A; --ok-fundo: #DCFCE7; --erro: #DC2626; --erro-fundo: #FEE2E2;
  --ouro: #F5B301; --prata: #A8B3C2; --bronze: #C27C4A;
  --sombra: 0 1px 2px rgba(15,23,42,.04), 0 6px 20px rgba(15,23,42,.05);
  --raio: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.45; }
a { color: var(--azul); } a:hover { color: var(--azul-escuro); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 20px; font-weight: 700; } h2 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(36,83,224,.45); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--texto2); font-size: 13px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.grow { flex: 1 1 auto; min-width: 0; }
.center { text-align: center; }

/* ---------- Estrutura */
.app { min-height: 100vh; padding-bottom: 96px; }
.page { padding: 16px; display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 0 auto; }
.hdr { background: var(--azul); color: #fff; border-radius: 0 0 32px 32px; padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.hdr a { color: #fff; }
.hdr-top { display: flex; align-items: center; gap: 12px; }
.hdr-sub { font-size: 12px; color: rgba(255,255,255,.85); }
.hdr .avatar { box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; text-decoration: none; position: relative; }
.icon-btn .dot { position: absolute; top: 10px; right: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--ouro); border: 2px solid var(--azul); }
.comp-switch { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: 0; padding: 0; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; cursor: pointer; }
.comp-switch select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.big-number { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.mini { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.mini span { font-size: 12px; color: rgba(255,255,255,.85); }
.mini b { font-size: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chip-white { background: rgba(255,255,255,.16); color: #fff; }
.chip-aviso { background: var(--aviso-fundo); color: var(--aviso); }
.chip-azul { background: var(--azul-claro); color: var(--azul); }
.chip-ok { background: var(--ok-fundo); color: #15803D; }
.chip-erro { background: var(--erro-fundo); color: #B91C1C; }
.chip-cinza { background: #F1F5F9; color: #475569; }

/* ---------- Cartões e listas */
.card { background: var(--cartao); border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 12px; }
.card-flat { box-shadow: none; }
.card-info { background: var(--azul-claro); box-shadow: none; color: var(--azul-escuro); }
.card-aviso { background: var(--aviso-fundo); box-shadow: none; color: var(--aviso); }
.card-ok { background: var(--ok-fundo); box-shadow: none; color: #14532D; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; }
.list-item:last-child { border-bottom: 0; }
.date-tag { width: 48px; min-height: 52px; border-radius: 12px; background: var(--azul-claro); color: var(--azul); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.date-tag small { font-size: 10px; letter-spacing: .5px; } .date-tag b { font-size: 18px; line-height: 1.1; }
.progress { height: 8px; border-radius: 999px; background: var(--azul-claro); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--azul); border-radius: 999px; }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-block; vertical-align: middle; background: #E2E8F0; }
.avatar-ini { background: var(--azul); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.empty { text-align: center; color: var(--texto2); padding: 28px 12px; font-size: 14px; }

/* ---------- Botões */
.btn { height: 52px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--azul); color: #fff; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(36,83,224,.3); }
.btn:hover { background: var(--azul-escuro); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn-out { background: #fff; color: var(--azul); border: 1.5px solid var(--azul); box-shadow: none; height: 48px; font-size: 14px; }
.btn-out:hover { background: var(--azul-claro); color: var(--azul-escuro); }
.btn-white { background: #fff; color: var(--azul); box-shadow: none; height: 48px; font-size: 15px; }
.btn-white:hover { background: var(--azul-claro); color: var(--azul); }
.btn-ghost-white { background: transparent; color: #fff; border: 1.5px solid #fff; box-shadow: none; height: 48px; font-size: 15px; }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ok { background: var(--ok); box-shadow: none; } .btn-ok:hover { background: #15803D; }
.btn-erro-out { background: #fff; color: var(--erro); border: 1.5px solid var(--erro); box-shadow: none; }
.btn-erro-out:hover { background: var(--erro-fundo); color: #B91C1C; }
.btn-erro { background: var(--erro); box-shadow: none; } .btn-erro:hover { background: #B91C1C; }
.btn-wa { background: var(--ok-fundo); color: #15803D; box-shadow: none; } .btn-wa:hover { background: #BBF7D0; color: #15803D; }
.btn-cinza { background: #F1F5F9; color: var(--texto); box-shadow: none; } .btn-cinza:hover { background: #E2E8F0; color: var(--texto); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row > * { flex: 1 1 140px; }
.link-btn { background: none; border: 0; padding: 8px; color: var(--azul); font-weight: 700; cursor: pointer; font-size: 14px; }
.sticky-save { position: fixed; left: 0; right: 0; bottom: 78px; padding: 12px 16px; background: var(--fundo); border-top: 1px solid #E5E7EB; z-index: 20; }
.sticky-space { height: 88px; } /* espaço extra para o botão fixo não cobrir o fim da lista */

/* ---------- Formulários */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; }
.input, select.input, textarea.input { height: 48px; width: 100%; border-radius: 14px; border: 1.5px solid var(--linha); background: #F8FAFC; padding: 0 14px; font-size: 15px; }
textarea.input { height: auto; padding: 10px 14px; resize: vertical; line-height: 1.45; }
.input:focus { border-color: var(--azul); background: #fff; outline: none; box-shadow: 0 0 0 4px var(--azul-claro); }
.field.has-error .input { border-color: var(--erro); }
.field-error { font-size: 12px; font-weight: 600; color: var(--erro); }
.field-help { font-size: 12px; color: var(--texto2); }
.pw { position: relative; display: flex; }
.pw .input { padding-right: 52px; }
.pw-eye { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--texto2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pw-eye .i-off { display: none; } .pw-eye[aria-pressed="true"] .i-on { display: none; } .pw-eye[aria-pressed="true"] .i-off { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--azul); flex-shrink: 0; }
.switch-row { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #CBD5E1; transition: background .15s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.25); transition: left .15s; }
.switch input:checked + span { background: var(--azul); } .switch input:checked + span::after { left: 23px; }
.switch input:focus-visible + span { outline: 3px solid rgba(36,83,224,.45); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #F1F5F9; border-radius: 999px; padding: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--texto2); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--azul); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.seg input:focus-visible + span { outline: 3px solid rgba(36,83,224,.45); }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--linha); border-radius: 16px; padding: 12px 14px; cursor: pointer; }
.choice input { margin: 3px 0 0; accent-color: var(--azul); width: 18px; height: 18px; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--azul); background: var(--azul-claro); }
.stepper { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.stepper button { width: 38px; height: 38px; border-radius: 12px; border: 0; font-size: 18px; font-weight: 600; cursor: pointer; background: var(--azul-claro); color: var(--azul); }
.stepper button:first-child { background: #F1F5F9; color: var(--texto); }
.stepper input { width: 56px; height: 38px; text-align: center; border: 1.5px solid var(--linha); border-radius: 12px; font-weight: 700; background: #fff; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Avisos */
.flash { border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.flash-ok { background: var(--ok-fundo); color: #15803D; }
.flash-erro { background: var(--erro-fundo); color: #B91C1C; }
.flash-aviso { background: var(--aviso-fundo); color: var(--aviso); }
.flash svg { flex-shrink: 0; margin-top: 1px; }

/* ---------- Abas */
.tabs { display: flex; gap: 2px; background: rgba(255,255,255,.14); border-radius: 999px; padding: 4px; overflow-x: auto; }
.tabs a { flex: 1 0 auto; height: 38px; padding: 0 12px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; }
.tabs a[aria-current="page"] { background: #fff; color: var(--azul); font-weight: 700; }
.tabs-light { background: #E2E8F0; } .tabs-light a { color: #475569; }

/* ---------- Menu de baixo (celular) */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; height: 78px; background: #fff; border-top: 1px solid #E5E7EB; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--texto2); font-size: 11px; font-weight: 600; text-decoration: none; position: relative; }
.bottom-nav a[aria-current="page"] { color: var(--azul); font-weight: 700; }
.badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--erro); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.side-nav { display: none; }

/* ---------- Telas de entrada (login, cadastro...) */
.auth-hdr { background: var(--azul); color: #fff; border-radius: 0 0 36px 36px; padding: 40px 24px 76px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.auth-hdr .logo { width: 60px; height: 60px; border-radius: 20px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.auth-hdr h1 { font-size: 26px; letter-spacing: -.5px; }
.auth-hdr p { font-size: 14px; color: rgba(255,255,255,.88); }
.auth-body { margin: -48px auto 0; padding: 0 16px 32px; max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.auth-card { background: #fff; border-radius: 22px; padding: 22px 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px rgba(15,23,42,.08); display: flex; flex-direction: column; gap: 14px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--texto2); font-size: 12px; font-weight: 600; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--linha); }
.status-icon { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; align-self: center; }

/* ---------- Foto: recorte no círculo */
.photo-pick { display: flex; align-items: center; gap: 14px; }
.cropper { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #F1F5F9; touch-action: none; cursor: grab; user-select: none; }
.cropper canvas { width: 100%; height: 100%; display: block; }
.cropper::after { content: ''; position: absolute; inset: 11%; border-radius: 50%; box-shadow: 0 0 0 999px rgba(255,255,255,.72); border: 3px solid var(--azul); pointer-events: none; }
.zoom-row { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 360px; margin: 0 auto; color: var(--texto2); }
.zoom-row input { flex: 1; accent-color: var(--azul); height: 32px; }
.file-btn { position: relative; overflow: hidden; }
.photo-compact .photo-pick { gap: 10px; padding: 10px 12px; border: 1px solid #E2E8F0; border-radius: 14px; background: #F8FAFC; }
.photo-compact .photo-pick .btn-sm { height: 36px; padding: 0 12px; }
.photo-compact .cropper { max-width: 240px; }
.photo-compact .zoom-row { max-width: 240px; }
.photo-compact [data-photo-msg]:empty { display: none; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Tabela simples do admin */
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; font-size: 14px; }
.kv:last-child { border-bottom: 0; } .kv span:first-child { color: var(--texto2); } .kv span:last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--texto); position: relative; }
.tile:hover { color: var(--texto); box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 10px 28px rgba(15,23,42,.09); }
.tile .ic { width: 42px; height: 42px; border-radius: 14px; background: var(--azul-claro); color: var(--azul); display: flex; align-items: center; justify-content: center; }
.tile b { font-size: 14px; } .tile small { font-size: 12px; color: var(--texto2); line-height: 1.35; }
.tile .chip { position: absolute; top: 12px; right: 12px; }
.log-row { font-size: 13px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; display: flex; flex-direction: column; gap: 2px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #F1F5F9; padding: 2px 6px; border-radius: 6px; font-size: 13px; overflow-wrap: anywhere; }
.temp-pass { font-size: 26px; font-weight: 700; letter-spacing: 2px; text-align: center; background: #F8FAFC; border-radius: 14px; padding: 12px; font-family: ui-monospace, Menlo, monospace; }
details.reject summary { list-style: none; } details.reject summary::-webkit-details-marker { display: none; }
details.reject[open] summary { display: none; }
.reject-box { background: #FEF2F2; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Computador: menu lateral e conteúdo mais largo */
@media (min-width: 1024px) {
  .app { padding: 24px; display: flex; gap: 24px; align-items: flex-start; max-width: 1360px; margin: 0 auto; padding-bottom: 24px; }
  .bottom-nav { display: none; }
  .side-nav { display: flex; flex-direction: column; gap: 6px; width: 248px; flex-shrink: 0; position: sticky; top: 24px; min-height: calc(100vh - 48px); background: #fff; border-radius: 28px; padding: 24px 16px; box-shadow: var(--sombra); }
  .side-nav .brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; font-weight: 700; }
  .side-nav .brand span:first-child { width: 40px; height: 40px; border-radius: 12px; background: var(--azul); color: #fff; display: flex; align-items: center; justify-content: center; }
  .side-nav a { height: 46px; border-radius: 14px; padding: 0 14px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #475569; text-decoration: none; }
  .side-nav a[aria-current="page"] { color: var(--azul); background: var(--azul-claro); font-weight: 700; }
  .side-nav a .chip { margin-left: auto; }
  .side-nav .sep { height: 1px; background: #E5E7EB; margin: 10px 8px; }
  .side-nav .sec { padding: 0 14px; font-size: 11px; font-weight: 700; color: var(--texto2); letter-spacing: .5px; }
  .side-nav .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid #E5E7EB; }
  .main { flex: 1; min-width: 0; max-width: 900px; display: flex; flex-direction: column; gap: 20px; }
  .hdr { border-radius: 28px; padding: 24px 28px; }
  .page { padding: 0; max-width: none; width: 100%; margin: 0; }
  .stat-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .page-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; align-items: start; }
  .sticky-save { position: static; padding: 0; background: transparent; border: 0; }
  .sticky-space { display: none; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .hide-desk { display: none !important; }
}
@media (max-width: 1023px) { .hide-mobile { display: none !important; } }

/* ---------- Papéis, convite e painéis */
.bolao-logo { width: 84px; height: 84px; border-radius: 24px; background: var(--ouro); color: var(--texto); font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(15,23,42,.25); }
.faces { display: flex; } .faces > * { margin-left: -10px; box-shadow: 0 0 0 2px #fff; } .faces > *:first-child { margin-left: 0; }
.panel-btn { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--azul); color: #fff; text-decoration: none; }
.panel-btn:hover { color: #fff; background: var(--azul-escuro); }
.panel-btn .ic { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.panel-btn small { display: block; font-size: 12px; opacity: .85; font-weight: 500; }
.panel-btn.dono { background: var(--texto); } .panel-btn.dono:hover { background: #1E293B; }
.hdr-dono { background: var(--texto); }
.invite-card { border: 2px solid var(--azul); }
.invite-link { display: flex; align-items: center; gap: 8px; background: #F8FAFC; border: 1.5px dashed #CBD5E1; border-radius: 14px; padding: 12px 14px; font-weight: 700; color: var(--azul-escuro); overflow-wrap: anywhere; }
.btn-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.btn-tile { height: 68px; border-radius: 14px; border: 1.5px solid var(--linha); background: #fff; color: var(--texto); font-size: 12px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; cursor: pointer; }
.btn-tile.wa { background: #25D366; border-color: #25D366; color: #fff; }
.stat-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat { border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.stat span { font-size: 12px; } .stat b { font-size: 22px; }
.stat-ok { background: var(--ok-fundo); color: #15803D; } .stat-aviso { background: var(--aviso-fundo); color: var(--aviso); }
dialog.sheet { border: 0; border-radius: 28px 28px 0 0; padding: 22px 20px 28px; width: 100%; max-width: 520px; margin: auto auto 0; }
dialog.sheet::backdrop { background: rgba(15,23,42,.55); }
.qr-box { background: #fff; padding: 10px; border-radius: 12px; display: flex; justify-content: center; } .qr-box svg { width: 220px; height: 220px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; } .size-chips label { position: relative; }
.size-chips input { position: absolute; opacity: 0; } .size-chips span { height: 40px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; font-size: 13px; font-weight: 700; background: #F1F5F9; color: #475569; cursor: pointer; }
.size-chips input:checked + span { background: var(--azul); color: #fff; } .size-chips input:focus-visible + span { outline: 3px solid rgba(36,83,224,.45); }
.steps { display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.12); border-radius: 18px; padding: 14px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; } .steps b.n { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--azul); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }
.panel-select { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 10px 14px; position: relative; }
.panel-select select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.panel-select .sig { width: 36px; height: 36px; border-radius: 10px; background: var(--ouro); color: var(--texto); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.menu-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F1F5F9; color: var(--texto); text-decoration: none; }
.menu-list a:last-child { border-bottom: 0; }
.menu-list .em { width: 40px; height: 40px; border-radius: 12px; background: var(--azul-claro); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.menu-list small { display: block; font-size: 12px; color: var(--texto2); }
.link-danger { background: none; border: 0; color: var(--erro); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; cursor: pointer; width: 100%; }
.sig-sq { width: 40px; height: 40px; border-radius: 12px; background: var(--azul); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hdr a.btn-white, .hdr .btn-white { color: var(--azul); } .hdr a.btn-white:hover { color: var(--azul-escuro); }

/* ---------- Etapa 2: jogos e rodadas */
.round-nav { display: flex; align-items: center; gap: 8px; }
.round-nav .grow { text-align: center; }
.round-nav b { display: block; font-size: 17px; }
.round-nav .icon-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.round-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.round-chips a { flex: 0 0 auto; min-width: 40px; height: 36px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--linha); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--texto); text-decoration: none; }
.round-chips a.done { color: var(--texto2); }
.round-chips a.now { border-color: var(--azul); color: var(--azul); }
.round-chips a[aria-current="page"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.match { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid #F1F5F9; color: inherit; text-decoration: none; }
.match:last-child { border-bottom: 0; }
a.match:hover { background: #F8FAFC; }
.match-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--texto2); }
.match-top .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-line { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 6px; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.team span:last-child { font-size: 14px; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.team.away { flex-direction: row-reverse; text-align: right; }
.team-sig { flex: 0 0 auto; width: 38px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .3px; box-shadow: inset 0 0 0 1px rgba(15,23,42,.12); }
.score { min-width: 52px; text-align: center; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.score.vs { color: var(--texto2); font-size: 14px; font-weight: 700; }
.match-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.deadline-box { display: flex; align-items: center; gap: 12px; background: var(--azul-claro); color: var(--azul-escuro); border-radius: 16px; padding: 12px 14px; }
.deadline-box.closed { background: #F1F5F9; color: var(--texto2); }
.deadline-box b { display: block; font-size: 15px; }
.sync-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--ok); }
.sync-dot.err { background: var(--erro); }
.sync-dot.off { background: var(--prata); }
.color-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.color-pair input[type=color] { width: 100%; height: 44px; border: 1px solid var(--linha); border-radius: 12px; background: #fff; padding: 4px; }
.score-inputs { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 10px; align-items: end; }
.score-inputs .x { padding-bottom: 12px; font-weight: 800; color: var(--texto2); }
.value-sel { width: auto; min-width: 120px; }
.hdr-dono .tabs a { padding: 0 9px; }

/* ---------- Painel do dono: visão geral, pessoas */
.alert-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; text-decoration: none; font-size: 14px; }
.alert-row.aviso { background: var(--aviso-fundo); color: var(--aviso); }
.alert-row.erro { background: var(--erro-fundo); color: var(--erro); }
.alert-row b { white-space: nowrap; font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.stat-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 2px; color: var(--texto); text-decoration: none; }
.stat-card span { font-size: 13px; color: var(--texto2); }
.stat-card b { font-size: 26px; line-height: 1.1; }
.stat-card small { font-size: 12px; color: var(--texto2); }
.search-row { display: flex; gap: 8px; }
.search-row .input { flex: 1 1 auto; min-width: 0; }
.person-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F1F5F9; color: inherit; text-decoration: none; }
.person-row:last-child { border-bottom: 0; }
.person-row .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.danger-zone { border: 1px solid #FECACA; }

/* ---------- Etapa 3: palpites */
.pick { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-bottom: 1px solid #F1F5F9; scroll-margin-top: 90px; }
.pick:last-child { border-bottom: 0; }
.pick-teams { display: flex; flex-direction: column; gap: 8px; }
.pick-team { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; min-height: 44px; }
.pick-team .grow { min-width: 0; overflow-wrap: anywhere; }
.pick-real { font-size: 20px; min-width: 28px; text-align: center; color: var(--azul-escuro); }
.stepper { display: inline-flex; align-items: center; background: #F1F5F9; border-radius: 14px; padding: 3px; flex: none; }
.stepper .step { width: 40px; height: 40px; border: 0; border-radius: 11px; background: #fff; color: var(--azul); font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.stepper .step:active { background: var(--azul-claro); }
.stepper input { width: 44px; height: 40px; border: 0; background: transparent; text-align: center; font-size: 20px; font-weight: 800; color: var(--azul-escuro); padding: 0; }
.stepper input:focus { outline: 2px solid var(--azul); border-radius: 8px; }
.pick-empty .stepper { background: var(--aviso-fundo); }
.pick.dirty .stepper { background: var(--azul-claro); }
.pick-link { margin-left: auto; font-size: 13px; font-weight: 700; text-decoration: none; }
.pick-progress { gap: 10px; }
.missing-list summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--aviso); }
.missing-list p { font-size: 13px; margin-top: 6px; line-height: 1.6; }
.missing-list small { color: var(--texto2); }
.missing-list .me { font-weight: 800; color: var(--azul); }
.list-item.me { background: var(--azul-claro); border-radius: 12px; padding-left: 8px; padding-right: 8px; }
.pred-score { font-size: 17px; color: var(--azul-escuro); min-width: 54px; text-align: right; }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #E5E7EB; }
.split-bar span { display: block; height: 100%; }
.split-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--texto2); }
.split-legend span:nth-child(2) { text-align: center; } .split-legend span:last-child { text-align: right; }
.sticky-save.has-changes { background: var(--azul-claro); }

/* ---------- Etapa 4: ranking, hall, números */
.tab-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #E8EDF5; border-radius: 999px; padding: 4px; }
.tab-row a { height: 38px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--texto2); text-decoration: none; }
.tab-row a[aria-current="page"] { background: #fff; color: var(--azul); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.seg-link { height: 40px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--texto2); text-decoration: none; }
.seg-link.on { background: #fff; color: var(--azul); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.seg-link small { font-weight: 600; }
.round-chips a.wide { min-width: 52px; }
.rank-head { display: grid; grid-template-columns: 36px minmax(0,1fr) 36px 44px; gap: 8px; font-size: 11px; font-weight: 700; color: var(--texto2); text-transform: uppercase; padding: 0 4px 6px; border-bottom: 1px solid #F1F5F9; }
.rank-head .grow { padding-left: 44px; }
.rank-head span:nth-child(3), .rank-head span:nth-child(4) { text-align: center; }
.rank-row { display: grid; grid-template-columns: 36px 36px minmax(0,1fr) 36px 44px; gap: 8px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #F1F5F9; color: inherit; text-decoration: none; border-radius: 12px; }
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: #F8FAFC; }
.rank-row.me { background: var(--azul-claro); }
.rank-row.zone { background: var(--erro-fundo); box-shadow: inset 4px 0 0 var(--erro); }
.rank-row.zone.me { background: #FBD5D5; }
.rank-pos { font-weight: 800; font-size: 15px; text-align: center; }
.rank-name { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.rank-name small { font-size: 11px; font-weight: 700; }
.mv.up { color: #15803D; } .mv.down { color: #B91C1C; }
.rank-exact { text-align: center; color: var(--texto2); font-weight: 700; font-size: 14px; }
.rank-pts { text-align: center; font-size: 18px; color: var(--azul-escuro); }
.zone-label { font-size: 12px; font-weight: 800; color: #B91C1C; padding: 10px 4px 4px; text-transform: uppercase; letter-spacing: .3px; }
.btn-row > .btn { flex: 1; }

.podium { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: end; gap: 8px; text-align: center; padding-top: 6px; }
.podium-spot { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; padding: 12px 4px; border-radius: 16px; background: #F8FAFC; }
.podium-spot.p1 { background: #FEF3C7; padding-top: 18px; }
.podium-spot b { font-size: 14px; overflow-wrap: anywhere; }
.podium-spot small { font-size: 11px; color: var(--texto2); }
.podium-medal { font-size: 22px; line-height: 1; margin-top: -14px; }
.hall-main { border: 2px solid #F59E0B; }
.shame-card { border-left: 5px solid var(--erro); }
.shame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.shame-spot { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px 6px; border-radius: 16px; background: var(--erro-fundo); }
.shame-spot .avatar { filter: grayscale(.6); }
.shame-spot small { font-size: 11px; color: #B91C1C; }

.num-hero { flex-direction: row; align-items: center; gap: 14px; }
.num-hero.zone { border-left: 5px solid var(--erro); }
.num-big { font-size: 30px; font-weight: 800; color: var(--azul-escuro); line-height: 1.1; }
.num-big small { font-size: 14px; color: var(--texto2); font-weight: 600; }
.num-pts { text-align: center; background: var(--azul); color: #fff; border-radius: 16px; padding: 10px 14px; display: flex; flex-direction: column; }
.num-pts b { font-size: 26px; line-height: 1; } .num-pts span { font-size: 11px; font-weight: 700; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: #E5E7EB; stroke-width: 1; }
.chart .base { stroke: #CBD5E1; stroke-width: 1; }
.chart .axis { font-size: 10px; fill: var(--texto2); }
.chart .val { font-size: 11px; font-weight: 700; fill: var(--texto); }
.chart .bar { fill: var(--azul); }
.chart .line { fill: none; stroke: var(--azul); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--azul); stroke: #fff; stroke-width: 2; }
.chart .hit { fill: transparent; }
.chart .mark:hover .bar, .chart .mark:hover .dot { fill: var(--azul-escuro); }
.chart .mark:hover .hit { fill: rgba(36,83,224,.06); }
.table-view summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--azul); }
.table-view table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.table-view th, .table-view td { text-align: center; padding: 6px; border-bottom: 1px solid #F1F5F9; }

.chip-pts { background: var(--ok-fundo); color: #15803D; }
.home-pos { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }

/* ---------- Etapa 5: bolão de campeão */
.champ-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; }
.champ-row:last-child { border-bottom: 0; }
.champ-row.me { background: var(--azul-claro); border-radius: 12px; padding-left: 8px; padding-right: 8px; }
.champ-row .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.champ-row small { font-size: 12px; color: var(--texto2); overflow-wrap: anywhere; }
.champ-cta { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.champ-cta .em { font-size: 28px; }
.standings { width: 100%; border-collapse: collapse; font-size: 12px; }
.standings th, .standings td { padding: 6px 4px; text-align: center; border-bottom: 1px solid #F1F5F9; }
.standings td:nth-child(2), .standings th:nth-child(2) { text-align: left; }
.standings tr.z-top td:first-child { box-shadow: inset 3px 0 0 var(--ok); }
.standings tr.z-down td:first-child { box-shadow: inset 3px 0 0 var(--erro); }
.check-list { display: flex; flex-direction: column; gap: 4px; }
.check-list label { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F1F5F9; font-size: 14px; }
.check-list input { width: 20px; height: 20px; }

/* ---------- Etapa 6: aparência, perguntas, lixeira */
.comp-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #fff; flex: none; }
.comp-logo-empty { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--azul-claro); color: var(--azul); font-weight: 700; font-size: 22px; }
.hdr .comp-logo { border: 2px solid rgba(255,255,255,.6); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 44px; height: 44px; cursor: pointer; }
.swatch input[type=radio] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 3px #fff; border: 2px solid transparent; }
.swatch input:checked + span { border-color: var(--texto); }
.swatch input:focus-visible + span { outline: 3px solid rgba(36,83,224,.45); outline-offset: 2px; }
.swatch-custom input[type=color] { width: 44px; height: 44px; padding: 0; border: 2px solid var(--linha); border-radius: 50%; background: none; cursor: pointer; }
.swatch-custom input[type=color]::-webkit-color-swatch-wrapper { padding: 3px; }
.swatch-custom input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.swatch-custom:has(input[type=radio]:checked) input[type=color] { border-color: var(--texto); }
.sort-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sort-list li { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 6px; background: var(--fundo); border-radius: 14px; border: 1px solid var(--linha); }
.sort-list li.dragging { opacity: .6; border-color: var(--azul); background: var(--azul-claro); }
.sort-list .handle { cursor: grab; color: var(--texto2); padding: 6px; letter-spacing: -2px; touch-action: none; font-weight: 700; }
.icon-sm { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--linha); background: #fff; border-radius: 10px; cursor: pointer; color: var(--texto); text-decoration: none; font-size: 15px; }
.icon-sm:disabled { opacity: .35; cursor: default; }
.notice-card { border-left: 5px solid var(--azul); }
.prose { white-space: normal; overflow-wrap: anywhere; }
details.faq { border-top: 1px solid var(--linha); padding: 10px 0; }
details.faq:first-of-type { border-top: 0; }
details.faq summary { font-weight: 600; cursor: pointer; padding: 4px 0; }
details.faq .prose { color: var(--texto2); padding-top: 6px; }
.trash-item .trash-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--fundo); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.mini-rank { display: flex; align-items: center; gap: 10px; padding: 8px 4px; color: inherit; text-decoration: none; border-top: 1px solid var(--linha); }
.mini-rank:first-of-type { border-top: 0; }
.mini-rank .n { width: 28px; font-weight: 700; color: var(--texto2); }
.mini-rank.me { background: var(--azul-claro); border-radius: 12px; }
code { background: var(--fundo); padding: 1px 6px; border-radius: 6px; font-size: 13px; overflow-wrap: anywhere; }

/* ---------- Etapa 7: ao vivo, avisos, compartilhar */
.live-banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--erro-fundo); color: var(--texto); text-decoration: none; }
.live-banner b:last-child { color: var(--erro); white-space: nowrap; font-size: 14px; }
.live-banner small { color: var(--texto2); }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--erro); flex: none; box-shadow: 0 0 0 0 rgba(220,38,38,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(220,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.pick-live { background: linear-gradient(90deg, rgba(220,38,38,.06), transparent 40%); }
.live-chip { font-weight: 700; }
.live-list .row-between { padding: 6px 0; border-top: 1px solid var(--linha); }
.mito-card { align-items: center; text-align: center; background: linear-gradient(180deg, #FFF8E1, #fff); }
.mito-faces { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.icon-btn.bell { position: relative; color: inherit; }
.icon-btn.bell .badge { top: -2px; right: -2px; left: auto; }
.notif { display: flex; align-items: flex-start; gap: 10px; padding: 12px 4px; border-top: 1px solid var(--linha); color: inherit; text-decoration: none; }
.notif:first-child { border-top: 0; }
.notif > div { display: flex; flex-direction: column; gap: 2px; }
.notif span { color: var(--texto); font-size: 14px; }
.notif.unread b { color: var(--azul); }
.notif .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--azul); flex: none; margin-top: 6px; }
.share-card canvas { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--sombra); background: var(--fundo); }

/* ---------- Etapa 8: ligas, comparar, tabela */
.league-code { font-size: 22px; letter-spacing: 4px; font-family: ui-monospace, monospace; }
.invite-card { gap: 10px; }
.rank-card.owner .rank-row { grid-template-columns: 30px 36px minmax(0,1fr) 28px 36px 32px; }
.rank-card.owner .rank-head { grid-template-columns: 30px minmax(0,1fr) 28px 36px 32px; }
.rank-row form { margin: 0; }
.rank-row .icon-sm { width: 32px; height: 32px; }
.rank-name small { display: block; }
.cmp-hero { flex-direction: row; align-items: center; justify-content: space-between; }
.cmp-side { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; min-width: 0; text-align: center; }
.cmp-side b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-pts { font-size: 30px; font-weight: 800; line-height: 1.1; }
.cmp-vs { font-weight: 800; color: var(--texto2); font-size: 18px; }
.cmp-verdict { margin: -4px 0 0; }
.cmp-legend { display: flex; gap: 14px; font-size: 13px; color: var(--texto2); }
.cmp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cmp-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cmp-dot.a, .cmp-pair .a { background: var(--azul); }
.cmp-dot.b, .cmp-pair .b { background: #E8590C; }
.cmp-bars { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 2px; height: 130px; align-items: stretch; }
.cmp-round { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 22px; text-decoration: none; color: var(--texto2); border-radius: 8px; padding: 2px; }
.cmp-round.on { background: var(--azul-claro); color: var(--azul); }
.cmp-pair { flex: 1; display: flex; align-items: flex-end; gap: 2px; width: 100%; justify-content: center; border-bottom: 1px solid var(--linha); }
.cmp-pair i { width: 7px; border-radius: 4px 4px 0 0; display: block; }
.cmp-round small { font-size: 11px; font-weight: 700; }
.cmp-row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--linha); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > span:not(.grow) { width: 64px; text-align: center; flex: none; }
.cmp-head { font-size: 12px; color: var(--texto2); font-weight: 700; padding-top: 0; }
.cmp-pick { font-weight: 700; }
.cmp-pick.ok { color: var(--ok); }
.table-card { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: 14px; }
.standings th { font-size: 11px; color: var(--texto2); font-weight: 700; padding: 6px 4px; text-align: center; }
.standings td { padding: 7px 4px; text-align: center; border-top: 1px solid var(--linha); }
.standings .pos { width: 30px; font-weight: 700; border-left: 4px solid transparent; }
.standings .team { text-align: left; }
.standings td.team { display: flex; align-items: center; gap: 8px; }
.standings td.team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.standings tr.z-liberta .pos { border-left-color: var(--azul); }
.standings tr.z-pre .pos { border-left-color: #60A5FA; }
.standings tr.z-sula .pos { border-left-color: var(--ok); }
.standings tr.z-rebaixa .pos { border-left-color: var(--erro); }
.zone-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--texto2); padding: 0 4px; }
.zone-legend span { display: inline-flex; align-items: center; gap: 6px; }
.zone-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.zone-legend .z-liberta { background: var(--azul); } .zone-legend .z-pre { background: #60A5FA; }
.zone-legend .z-sula { background: var(--ok); } .zone-legend .z-rebaixa { background: var(--erro); }
@media (max-width: 380px) { .standings .opt { display: none; } }
.champ-cta { flex-direction: row; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.champ-cta .em { font-size: 28px; }
.champ-cta small { color: inherit; opacity: .9; }

[hidden] { display: none !important; }
