/* ============================================================
   BOLÃO DA COPA — UI (complementa app.css)
   ============================================================ */
.flag.sm{ width:22px;height:22px;border-radius:50%;object-fit:cover }
.flag.tbd{ background:repeating-linear-gradient(45deg,var(--surface-2),var(--surface-2) 4px,var(--elev) 4px,var(--elev) 8px); display:inline-block }
.flag.tbd.sm{ width:22px;height:22px;border-radius:50% } .flag.tbd.lg{ width:34px;height:34px;border-radius:50% }
.row{ display:flex; align-items:center }

/* escalação: dá respiro entre bandeira e nome do time (não sobrepõe) */
.acc-h{ gap:13px }
.acc-h .ico{ overflow:hidden }
.acc-h .ico .flag{ width:28px; height:28px; border-radius:7px; object-fit:cover }

/* participantes + ranking vazio */
.bl-part{ display:inline-flex; align-items:center; gap:7px; background:var(--surface); border:1px solid var(--line);
  border-radius:999px; padding:7px 14px; font-size:13px; font-weight:700; color:var(--txt-2); margin-bottom:10px }
.bl-part svg{ width:16px;height:16px; color:var(--green) } .bl-part b{ color:var(--green) }
.bl-empty{ text-align:center; color:var(--txt-2); font-size:13.5px; line-height:1.55; font-weight:600;
  background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--r-m); padding:20px 16px }

/* footer: 6 itens em UMA linha */
.tabbar{ grid-template-columns:repeat(6,1fr)!important; gap:0!important; padding-left:4px!important; padding-right:4px!important }
.tabbar .tab{ font-size:9.5px!important; padding:7px 0 6px!important; gap:3px!important; min-width:0 }
.tabbar .tab span{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.tabbar .tab svg{ width:20px!important; height:20px!important }

/* aba Bolão no footer: badge vermelho */
.tab.tab-bolao .tab-badge{ width:30px;height:30px;border-radius:50%; display:grid;place-items:center;
  background:linear-gradient(135deg,#ff3b46,#ff6a3c); box-shadow:0 4px 14px rgba(255,59,70,.5);
  margin:-2px 0 -1px; animation:bolaoPulse 2.4s infinite }
.tab.tab-bolao .tab-badge svg{ width:17px!important;height:17px!important;stroke:#fff;color:#fff }
.tab.tab-bolao.active .tab-badge{ box-shadow:0 0 0 3px rgba(255,59,70,.3),0 6px 16px rgba(255,59,70,.6) }
.tab.tab-bolao.active::before{ background:#ff3b46 }
.tab.tab-bolao span{ color:var(--live); font-weight:800 }
@keyframes bolaoPulse{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-2px) } }

.btn.btn-bolao{ border-color:rgba(255,59,70,.5); color:#fff;
  background:linear-gradient(135deg,rgba(255,59,70,.22),rgba(255,106,60,.14)) }

/* hero apresentação */
.bl-hero{ text-align:center; padding:24px 8px 8px }
.bl-hero-badge{ display:inline-block; background:var(--live-soft); color:var(--live); border:1px solid rgba(255,59,70,.35);
  font-size:12px; font-weight:800; padding:6px 14px; border-radius:999px; letter-spacing:.02em }
.bl-hero-tt{ font-family:var(--ff-d); font-weight:800; font-size:26px; margin:14px 0 6px; letter-spacing:-.02em }
.bl-hero-sub{ color:var(--txt-2); font-size:14px; line-height:1.5; max-width:340px; margin:0 auto 14px }
.bl-hero-sub b{ color:var(--gold) }
.bl-count{ display:inline-flex; align-items:baseline; gap:6px; background:var(--surface); border:1px solid var(--line);
  border-radius:999px; padding:8px 16px }
.bl-count b{ font-family:var(--ff-d); font-size:20px; font-weight:800; color:var(--green) }
.bl-count span{ font-size:12px; color:var(--txt-2); font-weight:600 }

.bl-card{ padding:14px; margin-top:16px }
.bl-authtabs{ display:flex; gap:6px; background:var(--surface-2); border-radius:12px; padding:4px; margin-bottom:14px }
.bl-atab{ flex:1; padding:10px; border-radius:9px; font-weight:800; font-size:13px; color:var(--txt-2); transition:.18s; cursor:pointer; border:0; background:none }
.bl-atab.on{ background:var(--brasil); color:#06231a }
.bl-field{ display:block; margin-bottom:10px }
.bl-field span{ display:block; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--txt-3); margin-bottom:5px }
.bl-in{ width:100%; background:var(--surface-2); border:1px solid var(--line); border-radius:10px; padding:12px; color:var(--txt); font-size:15px }
.bl-in:focus{ outline:none; border-color:var(--green); box-shadow:0 0 0 3px var(--green-soft) }
.bl-btn{ display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:12px 16px; border-radius:11px;
  font-family:var(--ff-d); font-weight:800; font-size:14px; transition:transform .15s, filter .2s; cursor:pointer; border:1px solid transparent; color:inherit }
.bl-btn:active{ transform:scale(.97) }
.bl-btn.primary{ background:var(--brasil); color:#06231a }
.bl-btn.sec{ background:var(--surface-2); border-color:var(--line); color:var(--txt) }
.bl-btn.full{ width:100%; margin-top:4px }
.bl-btn.sm{ padding:8px 12px; font-size:12.5px; border-radius:9px }
.bl-btn svg{ width:17px; height:17px }
.bl-link{ background:none; border:0; color:var(--green); font-weight:800; font-size:13px; cursor:pointer; padding:8px; width:100%; margin-top:8px }

/* accordion regulamento/perfil */
.bl-acc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); overflow:hidden; margin-top:12px }
.bl-acc-h{ display:flex; align-items:center; gap:10px; width:100%; padding:15px 14px; font-weight:800; font-family:var(--ff-d); text-align:left; cursor:pointer; background:none; border:0; color:inherit }
.bl-acc-h svg:first-child{ color:var(--green); width:20px;height:20px }
.bl-acc-h b{ flex:1 } .bl-acc-h svg:last-child{ color:var(--txt-3); transition:transform .3s }
.bl-acc.open .bl-acc-h svg:last-child{ transform:rotate(180deg) }
.bl-acc-b{ max-height:0; overflow:hidden; transition:max-height .35s cubic-bezier(.3,.8,.3,1) }
.bl-acc.open .bl-acc-b{ max-height:1600px }
.bl-rules{ white-space:pre-wrap; font-family:var(--ff-b); font-size:13px; line-height:1.6; color:var(--txt-2); padding:0 14px 16px }
.bl-acc-b .bl-field{ padding:0 14px } .bl-acc-b .bl-btn.full{ width:calc(100% - 28px); margin:4px 14px 14px }
.bl-sep{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--gold); padding:10px 14px 4px; border-top:1px solid var(--line); margin-top:8px }

/* score hero (logado) */
.bl-score-hero{ background:linear-gradient(135deg,var(--green-soft),transparent 70%),var(--surface);
  border:1px solid var(--line); border-radius:var(--r-l); padding:18px; margin-top:8px; text-align:center; position:relative; overflow:hidden }
.bl-sh-top{ display:flex; justify-content:space-between; align-items:center; font-weight:800 }
.bl-sh-top .bl-link{ width:auto; margin:0; color:var(--txt-3) }
.bl-sh-pts{ margin:8px 0 2px } .bl-sh-pts b{ font-family:var(--ff-d); font-size:54px; font-weight:800; line-height:1; background:var(--brasil); -webkit-background-clip:text; background-clip:text; color:transparent }
.bl-sh-pts span{ display:block; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--txt-3) }
.bl-sh-pos{ font-size:13px; color:var(--txt-2); font-weight:700; margin-top:6px }

.bl-shortcuts{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:14px }
.bl-shc{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 6px; background:var(--surface); border:1px solid var(--line); border-radius:14px; font-size:12px; font-weight:700; color:var(--txt-2) }
.bl-shc svg{ width:22px;height:22px; color:var(--green) }
.bl-shc:active{ transform:scale(.97) }

/* ranking */
.bl-rank{ display:flex; flex-direction:column; gap:7px }
.bl-rk{ display:flex; align-items:center; gap:11px; padding:11px 13px; background:var(--surface); border:1px solid var(--line); border-radius:12px }
.bl-rk.top1{ box-shadow:0 0 0 1px var(--gold-soft); background:linear-gradient(100deg,var(--gold-soft),var(--surface)) }
.bl-rk-n{ font-family:var(--ff-d); font-weight:800; width:22px; text-align:center; color:var(--txt-3) }
.bl-rk.top1 .bl-rk-n{ color:var(--gold) }
.bl-rk-nick{ flex:1; font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.bl-rk-pts{ font-family:var(--ff-d); font-weight:800; color:var(--green) }

/* listas de jogos */
.bl-openlist,.bl-mylist{ display:flex; flex-direction:column; gap:8px }
.bl-orow{ display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px 12px }
.bl-orow-g{ display:flex; align-items:center; gap:6px; flex:1; min-width:0; font-weight:700; font-size:13px }
.bl-orow-nm{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:78px }
.bl-orow-dt{ font-size:11px; color:var(--txt-3); font-weight:700; white-space:nowrap }
.bl-myrow{ display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px 12px }
.bl-myrow-nm{ flex:1; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.bl-mine-sc2{ font-family:var(--ff-d); font-weight:800; font-size:14px }
.bl-tag{ font-size:11px; font-weight:800; padding:4px 9px; border-radius:8px; white-space:nowrap }
.bl-tag.cravou{ background:var(--gold); color:#1a1300 } .bl-tag.parcial{ background:var(--green-soft); color:var(--green) }
.bl-tag.errou{ background:var(--surface-2); color:var(--txt-3) } .bl-tag.locked{ background:var(--surface-2); color:var(--txt-3) }

/* card de palpite na página do jogo */
.bl-matchsec{ margin-top:6px }
.bl-cta{ display:flex; align-items:center; gap:12px; width:100%; padding:14px; border-radius:var(--r-m); cursor:pointer; border:0; text-align:left;
  background:linear-gradient(120deg,var(--live),#ff6a3c); color:#fff; box-shadow:0 10px 26px -12px rgba(255,59,70,.6); text-decoration:none }
.bl-cta svg{ width:24px;height:24px;color:#fff } .bl-cta div{ flex:1 } .bl-cta b{ display:block; font-family:var(--ff-d); font-size:15px } .bl-cta span{ font-size:12px; opacity:.9 }
.bl-cta.full{ width:100% }
.bl-mine{ display:flex; align-items:center; justify-content:space-between; gap:10px; background:linear-gradient(100deg,var(--green-soft),var(--surface)); border:1px solid var(--line); border-radius:var(--r-m); padding:14px }
.bl-mine.locked{ background:var(--surface) }
.bl-mine-lb{ display:block; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--txt-3) }
.bl-mine-sc{ font-family:var(--ff-d); font-weight:800; font-size:24px }
.bl-result{ border-radius:var(--r-m); padding:14px; border:1px solid var(--line); background:var(--surface) }
.bl-result.cravou{ background:linear-gradient(135deg,var(--gold-soft),var(--surface)); border-color:var(--gold) }
.bl-result.parcial{ background:linear-gradient(135deg,var(--green-soft),var(--surface)) }
.bl-result-row{ display:flex; justify-content:space-between; font-weight:700; font-size:14px }
.bl-pts{ margin-top:8px; font-family:var(--ff-d); font-weight:800; font-size:15px }
.bl-result.cravou .bl-pts{ color:var(--gold) } .bl-result.parcial .bl-pts{ color:var(--green) } .bl-result.errou .bl-pts{ color:var(--txt-3) }
.bl-callout{ display:flex; align-items:center; gap:9px; background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--r-m); padding:13px; color:var(--txt-2); font-size:13px; font-weight:600 }
.bl-callout svg{ color:var(--txt-3); width:18px;height:18px }

/* modal */
.bl-modal-ov{ position:fixed; inset:0; z-index:120; background:rgba(0,0,0,.6); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  display:flex; align-items:flex-end; justify-content:center; opacity:0; transition:opacity .25s }
.bl-modal-ov.show{ opacity:1 }
.bl-modal{ width:100%; max-width:460px; background:var(--bg-2); border:1px solid var(--line-2); border-top-left-radius:24px; border-top-right-radius:24px;
  padding:18px 16px calc(24px + var(--safe-b)); transform:translateY(30px); transition:transform .3s cubic-bezier(.2,.8,.2,1) }
.bl-modal-ov.show .bl-modal{ transform:none }
.bl-modal-h{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px }
.bl-modal-h b{ font-family:var(--ff-d); font-size:17px; font-weight:800 }
.bl-x{ width:34px;height:34px;border-radius:50%; background:var(--surface-2); color:var(--txt); font-size:22px; line-height:1; cursor:pointer; border:0 }
.bl-duel{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; margin-bottom:14px }
.bl-side{ display:flex; flex-direction:column; align-items:center; gap:8px; font-weight:700; font-size:13px; text-align:center }
.bl-side .flag.lg{ width:46px;height:46px;border-radius:50% }
.bl-sc-wrap{ display:flex; align-items:center; gap:8px }
.bl-sc{ width:58px; height:64px; text-align:center; font-family:var(--ff-d); font-size:30px; font-weight:800; background:var(--surface); border:1px solid var(--line-2); border-radius:14px; color:var(--txt) }
.bl-sc:focus{ outline:none; border-color:var(--green) }
.bl-x2{ font-family:var(--ff-d); font-weight:800; font-size:20px; color:var(--txt-3) }
.bl-modal-info{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--txt-3); margin-bottom:14px; justify-content:center }
.bl-modal-info svg{ width:15px;height:15px }
.bl-otp{ width:100%; text-align:center; letter-spacing:18px; font-family:var(--ff-d); font-size:34px; font-weight:800; padding:14px; background:var(--surface); border:1px solid var(--line-2); border-radius:14px; color:var(--txt); margin-bottom:14px }
.bl-otp:focus{ outline:none; border-color:var(--green) }

/* checkbox exterior + nota */
.bl-check{ display:flex; align-items:center; gap:9px; font-size:13px; font-weight:600; color:var(--txt-2); margin:2px 0 10px; cursor:pointer }
.bl-check input{ width:18px;height:18px; accent-color:var(--green) }
.bl-note{ font-size:12px; line-height:1.5; color:var(--gold); background:var(--gold-soft); border:1px solid rgba(232,193,74,.3); border-radius:10px; padding:9px 11px; margin:-4px 0 10px }

/* linha de placar com nomes */
.bl-scoreline{ display:flex; align-items:center; gap:8px; margin-top:6px; font-weight:700; font-size:14px }
.bl-scoreline .flag{ width:22px;height:22px;border-radius:50% }
.bl-sl-nm{ flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:34% }
.bl-sl-nm:last-of-type{ text-align:right }
.bl-sl-sc{ font-family:var(--ff-d); font-weight:800; font-size:18px; white-space:nowrap }
.bl-scoreline.big .bl-sl-sc{ font-size:24px }
.bl-final{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); padding:13px 14px; margin-bottom:10px }
.bl-final .bl-mine-lb{ display:block; margin-bottom:2px }

/* quem cravou */
.bl-hits{ margin-top:12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); padding:13px 14px }
.bl-hits-h{ font-family:var(--ff-d); font-weight:800; font-size:14px; color:var(--gold); margin-bottom:10px }
.bl-hits-chips{ display:flex; flex-wrap:wrap; gap:7px }
.bl-chip{ background:var(--gold-soft); color:var(--gold); border:1px solid rgba(232,193,74,.3); border-radius:999px; padding:5px 12px; font-size:13px; font-weight:700 }

/* toast */
.bl-toast{ position:fixed; left:50%; bottom:90px; transform:translateX(-50%) translateY(20px); z-index:130; opacity:0; transition:.3s;
  background:var(--green); color:#04150d; font-weight:800; font-size:13px; padding:12px 18px; border-radius:12px; box-shadow:var(--sh-2); max-width:90% }
.bl-toast.err{ background:var(--live); color:#fff }
.bl-toast.show{ opacity:1; transform:translateX(-50%) translateY(0) }
