/* Liga Integração MG — cores tiradas do escudo */
:root {
  --navy: #0b2a5b; --navy-2: #12397a; --blue: #1f5fbf; --green: #2fa84f; --green-d: #23853d; --red: #d62828; --gold: #e0a800;
  --bg: #f3f5f9; --card: #ffffff; --ink: #0f1b2d; --muted: #5d6b82; --line: #e2e7ef; --soft: #eef2f8;
  --r: 14px; --sh: 0 1px 2px rgba(15,27,45,.06), 0 4px 16px rgba(15,27,45,.06);
  --fd: 'Barlow Condensed', 'Arial Narrow', sans-serif; --fb: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--fb); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--fd); letter-spacing: .01em; line-height: 1.1; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: 2.2rem; color: var(--navy); } h2 { font-size: 1.45rem; color: var(--navy); } h3 { font-size: 1.2rem; color: var(--navy); } h4 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
code { background: var(--soft); padding: 1px 6px; border-radius: 5px; font-size: .88em; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .txt-bad { color: var(--red); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page { padding: 24px 16px 60px; }
.loading { padding: 80px; text-align: center; color: var(--muted); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; object-fit: cover; }
.brand b { display: block; font-family: var(--fd); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.brand small { font-size: .7rem; opacity: .75; letter-spacing: .08em; text-transform: uppercase; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.mainnav a { color: rgba(255,255,255,.85); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .93rem; }
.mainnav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mainnav a.on { color: #fff; box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.mainnav .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
.burger.dark { color: var(--navy); margin-left: 0; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 9px 16px; border-radius: 10px;
  font: 600 .9rem var(--fb); cursor: pointer; white-space: nowrap; transition: .15s; }
.btn:hover { border-color: var(--navy); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-d); }
.btn.ghost { background: transparent; }
.btn.danger { background: #fff; color: var(--red); border-color: #f2c4c4; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.sm { padding: 5px 10px; font-size: .8rem; border-radius: 8px; }
.btn.lg { padding: 13px 24px; font-size: 1rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .actions.end { justify-content: flex-end; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(47,168,79,.35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 100%);
  color: #fff; border-radius: 20px; padding: 36px; margin-bottom: 24px; overflow: hidden; position: relative; }
.hero-in { display: flex; gap: 32px; align-items: center; }
.hero-logo { width: 150px; height: 150px; border-radius: 50%; background: #fff; padding: 6px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero h1 { color: #fff; font-size: 3rem; margin-bottom: .15em; }
.hero .kicker { color: #9fe0b0; }
.hero .lead { max-width: 620px; opacity: .9; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.hero-stats div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 16px; }
.hero-stats b { font-family: var(--fd); font-size: 2rem; display: block; line-height: 1; }
.hero-stats span { font-size: .8rem; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--green-d); margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }

/* ---------- Layout ---------- */
.cols-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cols-2.even { grid-template-columns: 1fr 1fr; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 20px; margin-bottom: 20px; border: 1px solid var(--line); }
.sec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.sec-h h2, .sec-h h3 { margin: 0; }
.sec-h a { font-weight: 600; font-size: .88rem; }
.page-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-h h1 { margin-bottom: 4px; } .page-h p { margin: 0; }
.back { display: inline-block; margin-bottom: 12px; font-weight: 600; font-size: .9rem; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--soft); border-radius: 10px; font-size: .92rem; }
.alert { background: #eaf3ff; border: 1px solid #c6dcfb; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.alert.bad { background: #fdecec; border-color: #f4c2c2; color: #8c1d1d; }

/* ---------- Chips / tabs ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .88rem; font-family: var(--fd); letter-spacing: .04em; text-transform: uppercase; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 16px; color: var(--muted); font-weight: 600; white-space: nowrap; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.tabs a.on { color: var(--navy); border-bottom-color: var(--green); }
.seg { display: inline-flex; background: var(--soft); padding: 4px; border-radius: 10px; gap: 2px; }
.seg a { padding: 7px 14px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.seg a.on { background: #fff; color: var(--navy); box-shadow: var(--sh); }
.seg.mb { margin-bottom: 16px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.toolbar select, .toolbar input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; min-width: 0; }
.toolbar .grow { flex: 1; min-width: 220px; }

/* ---------- Escudos / fotos ---------- */
.escudo { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-family: var(--fd); font-weight: 700; flex: none; letter-spacing: .02em; background: #c9d3e3; }
.escudo.img { object-fit: contain; background: transparent; border-radius: 6px; }
.foto { border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; }
.foto.vazia { background: var(--soft); color: var(--muted); align-items: center; justify-content: center; font-weight: 700; }
.team-inline, .ath-inline { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 500; }

/* ---------- Jogos ---------- */
.jogos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.jogo-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: inherit; transition: .15s; margin-bottom: 0; }
aside .jogo-card, .card > .jogo-card { margin-bottom: 10px; }
a.jogo-card:hover { border-color: var(--blue); transform: translateY(-1px); box-shadow: var(--sh); }
.jc-top, .jc-bot { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; color: var(--muted); }
.jc-top .tag { background: var(--navy); color: #fff; padding: 1px 8px; border-radius: 6px; font-weight: 700; font-family: var(--fd); letter-spacing: .05em; }
.jc-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 10px 0; }
.jc-teams .t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.jc-teams .t b { font-size: .9rem; line-height: 1.15; overflow-wrap: anywhere; }
.jc-teams .t.r { justify-content: flex-end; text-align: right; }
.jc-teams .mid { text-align: center; }
.score { font-family: var(--fd); font-size: 1.8rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.score i { font-style: normal; margin: 0 6px; color: var(--muted); font-weight: 600; }
.score.vs { font-size: 1.1rem; background: var(--soft); padding: 4px 10px; border-radius: 8px; }
.pen { display: block; font-size: .7rem; color: var(--muted); }
.jc-actions { padding: 6px 0 0; text-align: right; }
.day h3 { margin: 20px 0 10px; }

.match-hero a { color: #fff; text-decoration: underline; }
.match-hero { background: var(--navy); color: #fff; border-radius: 18px; padding: 24px; text-align: center; margin-bottom: 20px; }
.match-hero p { opacity: .85; font-size: .9rem; margin: 0; }
.mh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 20px 0; }
.mh-t { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; }
.mh-t b { font-family: var(--fd); font-size: 1.4rem; text-transform: uppercase; }
.mh-t small { opacity: .8; font-size: .78rem; }
.mh-s .score { color: #fff; font-size: 3.4rem; } .mh-s .score i { color: rgba(255,255,255,.6); }
.mh-s .score.vs { background: rgba(255,255,255,.12); font-size: 1.6rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.timeline li.r { flex-direction: row-reverse; text-align: right; }
.timeline.edit li.r { flex-direction: row; text-align: left; background: #f7f9fc; }
.timeline .min { font-family: var(--fd); font-weight: 700; color: var(--green-d); width: 34px; }
.timeline .x-mini { margin-left: auto; }

/* ---------- Tabelas ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 8px 8px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl td { text-align: center; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: #fafbfd; }
.tbl .left { text-align: left; } .tbl .nowrap { white-space: nowrap; }
.tbl .pos { width: 34px; }
.posn { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 6px; background: var(--soft); font-weight: 700; font-size: .8rem; }
.classif tbody tr:nth-child(-n+4) .posn { background: var(--green); color: #fff; }
.classif.compact td, .classif.compact th { padding: 7px 5px; }
.forma .f { display: inline-flex; width: 18px; height: 18px; border-radius: 4px; font-style: normal; font-size: .62rem; font-weight: 700; color: #fff; align-items: center; justify-content: center; margin: 0 1px; }
.f.V { background: var(--green); } .f.E { background: #9aa6b8; } .f.D { background: var(--red); }
.big { font-family: var(--fd); font-size: 1.3rem; color: var(--navy); }
.sc { margin: 0 8px; font-family: var(--fd); font-size: 1.05rem; }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.badge.ok { background: #e3f5e8; color: #1c7a37; } .badge.warn { background: #fff4d6; color: #8a6200; } .badge.bad { background: #fde5e5; color: #a11b1b; }
.badge.info { background: #e6efff; color: #1f4fa0; } .badge.mute { background: #edf0f4; color: #5d6b82; }

/* ---------- Equipes / notícias ---------- */
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: inherit; transition: .15s; }
.team-card:hover { border-color: var(--blue); box-shadow: var(--sh); transform: translateY(-2px); }
.team-card b { font-family: var(--fd); text-transform: uppercase; font-size: 1.15rem; color: var(--navy); line-height: 1.1; }
.team-card span { color: var(--muted); font-size: .82rem; }
.team-card .trophy { font-size: 2.2rem; }
.team-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.team-hero h1 { margin: 0; } .team-hero.sm h1, .team-hero.sm h2 { margin: 0; }
.roster { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.roster li { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: var(--soft); }
.roster b { display: block; font-size: .86rem; } .roster small { color: var(--muted); font-size: .75rem; }
.news-mini { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; }
.news-mini:last-child { border-bottom: 0; }
.news-mini small { color: var(--green-d); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.news-mini b { display: block; color: var(--navy); line-height: 1.3; }
.news-mini span { display: block; color: var(--muted); font-size: .85rem; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.news-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); color: inherit; }
.news-card img, .news-ph { width: 100%; height: 170px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: #eef1f6; }
.news-ph img { width: 90px; height: 90px; object-fit: contain; }
.news-card > div { padding: 16px; } .news-card h3 { margin: 4px 0 6px; } .news-card small { color: var(--green-d); font-weight: 700; }
.article { max-width: 760px; } .article img { width: 100%; border-radius: 10px; margin-bottom: 14px; } .article .lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 40px 0 20px; margin-top: 40px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer img { width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.footer a { display: block; color: rgba(255,255,255,.75); padding: 3px 0; font-size: .9rem; }
.footer b { color: #fff; }
.footer .copy { text-align: center; font-size: .8rem; opacity: .6; margin-top: 24px; }

/* ---------- Painel ---------- */
.panel { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: #fff; padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { padding: 4px 8px 16px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; }
.side-g { margin-bottom: 12px; }
.side-g p { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .55; margin: 10px 10px 4px; font-weight: 700; }
.side-g a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); padding: 8px 10px; border-radius: 8px; font-size: .92rem; font-weight: 500; }
.side-g a span { width: 20px; text-align: center; }
.side-g a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-g a.on { background: var(--blue); color: #fff; }

.side-g a .side-n { width: auto; margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.side-g a .side-n[hidden] { display: none; }
.panel-main { min-width: 0; }
.panel-top { height: 56px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 20px; font-weight: 600; color: var(--navy); position: sticky; top: 0; z-index: 10; }
.panel-top .badge { margin-left: auto; }
.panel .page { max-width: 1280px; padding: 24px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: inherit; box-shadow: var(--sh); border-left: 5px solid var(--blue); }
.kpi b { font-family: var(--fd); font-size: 2.2rem; color: var(--navy); display: block; line-height: 1; }
.kpi span { color: var(--muted); font-size: .85rem; }
.kpi.warn { border-left-color: var(--gold); } .kpi.bad { border-left-color: var(--red); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick a { padding: 14px; border-radius: 10px; background: var(--soft); color: var(--navy); font-weight: 600; }
.quick a:hover { background: #e2e9f5; }
.cat-block { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.group { background: var(--soft); border-radius: 10px; padding: 10px; }
.group > b { font-family: var(--fd); text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 6px; }
.gi { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .88rem; }
.gi span { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.gi select { padding: 2px 4px; border-radius: 6px; border: 1px solid var(--line); }
.x-mini { border: 0; background: #fde5e5; color: var(--red); border-radius: 6px; width: 24px; height: 24px; cursor: pointer; font-size: 1rem; line-height: 1; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.checks label { display: flex; gap: 8px; align-items: center; padding: 8px; background: var(--soft); border-radius: 8px; cursor: pointer; font-size: .9rem; }

/* Súmula digital */
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; text-align: center; }
.sb-t { display: flex; flex-direction: column; align-items: center; gap: 6px; } .sb-t b { font-family: var(--fd); font-size: 1.3rem; text-transform: uppercase; color: var(--navy); }
.sb-in { display: flex; align-items: center; gap: 10px; font-family: var(--fd); font-size: 2rem; color: var(--muted); }
.sb-in input { width: 80px; height: 72px; font: 800 2.4rem var(--fd); text-align: center; border: 2px solid var(--line); border-radius: 12px; color: var(--navy); }
.sb-pen { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sb-pen input { width: 56px; padding: 6px; text-align: center; border: 1px solid var(--line); border-radius: 8px; font: 700 1rem var(--fb); }
.sb-act { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sb-act select { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font: inherit; }
.ev-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ev-form select, .ev-form input { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.ev-form .grow { flex: 1; min-width: 200px; } .ev-form input { width: 80px; }
.sumula-list { display: flex; flex-direction: column; gap: 4px; max-height: 560px; overflow-y: auto; }
.sl { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: var(--soft); font-size: .86rem; }
.sl span { flex: 1; min-width: 0; } .sl small { display: block; color: var(--muted); font-size: .72rem; }
.sl.sus { background: #fde5e5; } .sl.sus small { color: var(--red); font-weight: 600; }
.camisa { width: 58px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font: 700 1rem var(--fb); }
.sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 40%); padding: 20px 0 10px; text-align: right; }

/* Atleta */
.ath-view { display: flex; gap: 20px; align-items: flex-start; }
.ath-view .foto { border-radius: 12px; }
.ath-view dl, .dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
dt { color: var(--muted); font-weight: 600; } dd { margin: 0; }
.doc-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; align-items: center; }
.hist { padding-left: 18px; font-size: .9rem; }
.approve-bar { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 10px; }

/* ---------- Formulários ---------- */
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fg { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fg.span2 { grid-column: 1 / -1; }
.fg label { font-weight: 600; font-size: .85rem; color: var(--navy); }
.fg input, .fg select, .fg textarea { padding: 10px 12px; border: 1px solid #cfd7e4; border-radius: 10px; font: inherit; background: #fff; width: 100%; }
.fg input[type=color] { height: 42px; padding: 4px; }
.fg input:focus, .fg select:focus, .fg textarea:focus, .toolbar input:focus, .toolbar select:focus { outline: 3px solid rgba(31,95,191,.2); border-color: var(--blue); }
.fg.chk label, label.chk { display: flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.termo { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.help { color: var(--muted); font-size: .76rem; }
.req { color: var(--red); }
.filebox { border: 1.5px dashed #c3cde0; border-radius: 10px; padding: 10px; background: #fafbfd; }
.filebox input { border: 0; padding: 0; background: none; }
.fileok { color: var(--green-d); font-size: .78rem; font-weight: 600; display: block; margin-top: 4px; }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(11,24,45,.55); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 100; overflow-y: auto; backdrop-filter: blur(2px); }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 560px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal.wide { max-width: 820px; }
.modal header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal header h3 { margin: 0; }
.modal .x { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.modal-body { padding: 20px 22px; }
.modal footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fafbfd; border-radius: 0 0 16px 16px; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; opacity: 0; transition: .3s; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 600; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--red); } .toast.warn { background: #b07d00; }

/* ---------- Login ---------- */
.login-wrap { display: flex; justify-content: center; padding: 30px 0; }
.login { max-width: 420px; width: 100%; display: flex; flex-direction: column; gap: 14px; text-align: center; padding: 32px; }
.login .fg { text-align: left; }
.login-logo { width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; }
.login .seg { align-self: center; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .cols-2, .cols-2.even { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; width: 270px; z-index: 50; transform: translateX(-100%); transition: .25s; }
  body.side-open .side { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.4); }
  .burger { display: block; }
  .mainnav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  body.nav-open .mainnav { display: flex; }
  .mainnav a.on { box-shadow: inset 3px 0 0 var(--green); }
  .mainnav .btn { margin: 8px 0 0; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.8rem; }
  .page, .panel .page { padding: 16px 16px 60px; }
  .hero { padding: 22px; border-radius: 16px; }
  .hero-in { flex-direction: column; text-align: center; gap: 16px; }
  .hero-logo { width: 110px; height: 110px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-cta { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .grid-form { grid-template-columns: 1fr; }
  .jogos-grid { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .mh-s .score { font-size: 2.4rem; } .mh-t b { font-size: 1rem; }
  .jc-teams .t b { font-size: .8rem; } .jc-teams .escudo { width: 30px !important; height: 30px !important; font-size: 10px !important; }
  .scoreboard { grid-template-columns: 1fr; } .sb-in { justify-content: center; }
  .ath-view { flex-direction: column; align-items: center; }
  .quick { grid-template-columns: 1fr; }
  .brand small { display: none; }
  /* Tabelas viram cartões no celular (exceto classificação) */
  .tbl:not(.classif) thead { display: none; }
  .tbl:not(.classif), .tbl:not(.classif) tbody, .tbl:not(.classif) tr, .tbl:not(.classif) td { display: block; width: 100%; }
  .tbl:not(.classif) tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 6px 10px; }
  .tbl:not(.classif) td { border: 0; text-align: left; padding: 4px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .tbl:not(.classif) td[data-label]:not([data-label=""])::before { content: attr(data-label); font-size: .7rem; text-transform: uppercase; color: var(--muted); font-weight: 700; min-width: 80px; }
}

/* ---------- Competições / menu suspenso ---------- */
.dd { position: relative; }
.dd-b { background: none; border: 0; color: rgba(255,255,255,.85); font: 500 .93rem var(--fb); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.dd-b:hover, .dd:hover .dd-b { background: rgba(255,255,255,.08); color: #fff; }
.dd.on .dd-b { color: #fff; box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.dd-m { display: none; position: absolute; top: 100%; left: 0; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.2); padding: 10px; min-width: 340px; z-index: 40; }
.dd:hover .dd-m, .dd.open .dd-m { display: block; }
.dd-c { padding: 8px; border-radius: 10px; } .dd-c:hover { background: var(--soft); }
.dd-t, .mainnav .dd-t, .mainnav .dd-t:hover { background: none; display: flex; align-items: center; gap: 8px; color: var(--navy); font-family: var(--fd); font-size: 1.1rem; text-transform: uppercase; }
.dd-l { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 4px; }
.dd-l a { color: var(--muted) !important; font-size: .82rem; padding: 0 !important; }
.dd-l a:hover { color: var(--blue) !important; background: none !important; }
.dd-all { display: block; text-align: right; padding: 8px; font-weight: 600; font-size: .85rem; color: var(--blue) !important; }
.sec-block { margin-bottom: 24px; }
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.comp-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #d5dce7; border-left: 5px solid var(--navy); border-radius: 12px; padding: 18px; color: inherit; box-shadow: var(--sh); transition: .15s; position: relative; }
.comp-card:hover { border-color: var(--blue); }
.cc-go { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--blue); }
.comp-card img { width: 72px; height: 72px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.comp-card b { font-family: var(--fd); font-size: 1.35rem; text-transform: uppercase; color: var(--navy); display: block; line-height: 1.05; }
.comp-card small { display: block; color: var(--green-d); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.comp-card span { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.comp-card .cats { color: var(--navy); font-weight: 600; font-size: .78rem; }
.comp-card .badge { display: inline-block; margin: 0 0 6px; }
.comp-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.comp-head img { width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: var(--sh); flex: none; }
.comp-head h1 { margin: 0 0 4px; } .comp-head h1 small { font-size: .55em; color: var(--green-d); }
.comp-head p { margin: 0; }
.classif tr.q .posn { background: var(--green) !important; color: #fff; }
.classif tbody tr:nth-child(-n+4) .posn { background: var(--soft); color: inherit; }
.tbl tr.tot td { background: var(--soft); }
.tbl.cal tr.past td { color: #9aa6b8; } .tbl.cal tr.next td { background: #eef5ff; }
.bracket { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 6px; }
.b-col { display: flex; flex-direction: column; gap: 12px; justify-content: space-around; }
.b-col h3 { text-align: center; }
.reg { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.reg-idx { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.reg-idx > b { font-family: var(--fd); text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.reg-idx a { padding: 6px 8px; border-radius: 8px; font-size: .86rem; color: var(--ink); }
.reg-idx a:hover { background: var(--soft); color: var(--blue); }
.reg-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.reg-txt section { scroll-margin-top: 90px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.reg-txt p { text-align: justify; }
.caps { columns: 2; font-size: .9rem; }

/* ---------- Notas oficiais ---------- */
.nota-item { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-bottom: 1px solid var(--line); color: inherit; }
.nota-item:last-child { border-bottom: 0; } .nota-item:hover { background: #fafbfd; }
.nota-n { font-family: var(--fd); font-weight: 700; color: var(--navy); background: var(--soft); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.nota-t { flex: 1; min-width: 0; } .nota-t b { display: block; color: var(--navy); } .nota-t small { color: var(--muted); }
.nota-go { color: var(--blue); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.nota-item.dest .nota-n { background: var(--gold); color: #fff; }
.card.destaque { border-left: 5px solid var(--gold); }

/* ---------- Contato / institucional ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.contact { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: inherit; box-shadow: var(--sh); }
.contact > span { flex: none; min-width: 58px; padding: 6px 8px; border-radius: 8px; background: var(--soft); color: var(--navy); font-size: .72rem; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .04em; } .contact small { color: var(--muted); display: block; } .contact b { color: var(--navy); font-size: 1.1rem; }
.sobre-logo { width: 140px !important; float: right; margin: 0 0 12px 16px; border-radius: 50%; }
.steps ol { padding-left: 20px; } .steps li { margin-bottom: 8px; }

@media (max-width: 960px) {
  .dd-b { width: 100%; text-align: left; padding: 8px 12px; }
  .dd:hover .dd-m { display: none; } .dd.open .dd-m { display: block; }
  .dd-m { position: static; min-width: 0; box-shadow: none; margin: 4px 0 8px; }
  .reg { grid-template-columns: 1fr; } .reg-idx { position: static; }
}
@media (max-width: 640px) {
  .comp-grid { grid-template-columns: 1fr; } .comp-head img { width: 54px; height: 54px; }
  .nota-item { flex-wrap: wrap; } .nota-go { display: none; }
  .bracket { grid-auto-flow: row; grid-auto-columns: auto; }
  .caps { columns: 1; }
}

/* ======================= PÁGINA INICIAL ======================= */
:root { --accent: #4fd17c; --accent-d: #39b866; --deep: #04153b; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.badge.live { background: #ffe1e1; color: #c11; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.btn.cta { background: var(--accent); border-color: var(--accent); color: var(--deep); margin-left: 6px; }
.btn.cta:hover { background: var(--accent-d); }
.nav-login { font-size: .88rem !important; opacity: .85; }
.topbar { transition: background .25s, box-shadow .25s; }
.topbar.on-home { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; }
.topbar.on-home.scrolled, body.nav-open .topbar.on-home { background: rgba(4,21,59,.94); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 32px; height: 32px; }
.footer .copy .topo { display: inline; color: #fff; margin-left: 12px; font-weight: 600; }

.home { background: linear-gradient(180deg, #04153b 0%, #0b2a5b 18%, #12397a 45%, #1a4a95 75%, #2459ad 100%); color: rgba(255,255,255,.86); font-size: 17px; }
.h-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.home h1, .home h2, .home h3 { text-transform: none; color: #fff; }
.home h2 { font-family: var(--fd); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1; letter-spacing: -.5px; margin-bottom: 18px; max-width: 760px; }
.h-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.h-p { line-height: 1.65; max-width: 640px; } .h-muted { color: rgba(255,255,255,.65); font-size: .9rem; }
.h-h3 { font-family: var(--fd); font-size: 1.5rem; margin: 26px 0 8px; font-weight: 600; }
.h-sec { padding: 88px 0; }
.h-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 12px; background: var(--accent); color: var(--deep); font-weight: 700; font-size: 1rem; border: 2px solid var(--accent); cursor: pointer; transition: .15s; box-shadow: 0 6px 20px rgba(79,209,124,.25); font-family: var(--fb); }
.h-btn:hover { background: var(--accent-d); border-color: var(--accent-d); transform: translateY(-1px); }
.h-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); box-shadow: none; }
.h-btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.h-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.h-center { text-align: center; margin-top: 36px; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* Hero */
.h-hero { padding: 130px 0 70px; background: radial-gradient(700px 420px at 85% 30%, rgba(79,209,124,.18), transparent 70%); overflow: hidden; }
.h-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.h-hero h1 { font-family: var(--fd); font-weight: 600; font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: .97; letter-spacing: -1px; margin: 0 0 18px; }
.h-hero h1 em { font-style: normal; color: var(--accent); }
.h-lead { font-size: 1.12rem; line-height: 1.6; max-width: 560px; color: rgba(255,255,255,.82); }
.h-stats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px 28px; justify-content: start; }
.h-stats b { display: block; font-family: var(--fd); font-size: 2.3rem; color: #fff; line-height: 1; }
.h-stats span { font-size: .78rem; color: rgba(255,255,255,.7); max-width: 120px; display: block; line-height: 1.3; }
.h-hero-vis { position: relative; min-height: 520px; }
.h-photo { position: absolute; inset: 0 30px 0 60px; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); background: #0b2a5b; }
.h-photo img { width: 100%; height: 100%; object-fit: cover; }
.h-photo-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 5rem; }
.fc { position: absolute; background: #f4f5f8; color: #0b0a0d; border-radius: 18px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.28); font-size: .85rem; display: flex; flex-direction: column; gap: 4px; }
.fc small { font-size: .66rem; letter-spacing: .1em; color: #5d6b82; font-weight: 700; text-transform: uppercase; }
.fc b { font-family: var(--fd); font-size: 1.15rem; color: var(--deep); }
.fc-1 { left: 0; top: 34px; width: 250px; transform: rotate(-2deg); color: #0b0a0d; }
.fc-vs { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 2px; } .fc-vs b { font-size: 1.7rem; }
.fc-meta { color: #5d6b82; font-size: .74rem; }
.fc-2 { right: 0; top: 46%; width: 240px; transform: rotate(1.5deg); }
.fc-ok { color: #1c7a37; font-weight: 600; font-size: .8rem; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.fc-chips i { font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: #fff; }
.fc-chips i.c0 { background: #1f5fbf; } .fc-chips i.c1 { background: #2fa84f; } .fc-chips i.c2 { background: #e0a800; color: #3a2a00; }
.fc-chips.big i { font-size: .82rem; padding: 5px 12px; }
.fc-3 { left: 20px; bottom: 10px; width: 260px; }
.fc-row { display: flex; align-items: center; gap: 8px; font-size: .8rem; padding: 3px 0; } .fc-row i { font-style: normal; width: 16px; color: #5d6b82; font-weight: 700; }
.fc-row .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fc-row b { font-size: .95rem; }
.live { color: #e11; font-weight: 800; animation: pulse 1.6s infinite; }

/* Faixa de jogos */
.h-ticker { background: rgba(0,0,0,.28); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 16px 0 18px; }
.tk-h { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; } .tk-h b { color: #fff; font-family: var(--fd); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.tk-h a { color: var(--accent); font-size: .85rem; font-weight: 600; }
.tk-nav { margin-left: auto; display: flex; gap: 6px; } .tk-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.tk-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tk-row::-webkit-scrollbar { display: none; }
.tk { scroll-snap-align: start; background: #fff; color: #0b0a0d; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 250px; }
.tk-top { display: flex; justify-content: space-between; gap: 8px; font-size: .66rem; color: #5d6b82; letter-spacing: .04em; } .tk-top b { color: var(--deep); text-align: right; }
.tk-l { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; } .tk-l .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-l b { font-family: var(--fd); font-size: 1.3rem; color: var(--deep); }

/* Quem somos */
.h-sobre { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.h-sobre-foto { margin: 0; } .h-sobre-foto img { width: 100%; border-radius: 22px; box-shadow: 0 24px 50px rgba(0,0,0,.3); aspect-ratio: 1/1; object-fit: cover; object-position: center; }
.h-sobre-foto figcaption { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: 10px; }
.h-valores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; } .h-valores span { border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.h-escudos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 56px; padding: 22px; background: rgba(255,255,255,.96); border-radius: 22px; }
.h-escudos a { transition: transform .15s; } .h-escudos a:hover { transform: scale(1.1); }

/* Dores */
.h-dores { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 2px; }
.h-dores li { display: flex; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1.2rem; color: #fff; }
.h-dores b { font-family: 'Doto', var(--fd); font-size: 2rem; color: var(--accent); min-width: 56px; }

/* Passos */
.h-passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.h-passo { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; }
.h-num { font-family: 'Doto', var(--fd); font-weight: 800; font-size: 4.2rem; line-height: 1; color: rgba(255,255,255,.22); margin-bottom: 18px; }
.h-passo h3 { font-family: var(--fd); font-size: 1.5rem; font-weight: 600; margin: 0 0 8px; } .h-passo p { font-size: .95rem; line-height: 1.55; flex: 1; }
.h-bar { display: block; height: 4px; background: rgba(255,255,255,.14); border-radius: 4px; margin-top: 16px; } .h-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

/* Benefícios */
.h-benef { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.h-card { background: #f4f5f8; color: #0b0a0d; border-radius: 22px; padding: 26px; }
.h-card h3 { color: var(--deep); font-family: var(--fd); font-weight: 600; font-size: 1.65rem; line-height: 1.05; margin: 14px 0 8px; } .h-card p { color: #3d4a5f; line-height: 1.55; margin: 0; font-size: .97rem; }
.h-ic { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: #1e8a4c; align-items: center; justify-content: center; }
.h-ic svg, .h-wa svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Competições */
.h-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 18px; }
.h-tabs button { padding: 12px 22px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: 700 1rem var(--fb); cursor: pointer; }
.h-tabs button[aria-selected=true] { background: #fff; color: var(--deep); border-color: #fff; }
.h-comp { display: grid; grid-template-columns: 220px 1fr; gap: 32px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 30px; align-items: center; }
.h-comp-logo { background: #fff; border-radius: 20px; padding: 18px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.h-comp-logo img { max-width: 100%; max-height: 180px; object-fit: contain; }
.h-comp h3 { font-family: var(--fd); font-size: 2.3rem; font-weight: 600; margin: 6px 0 8px; } .h-comp h3 small { color: var(--accent); font-size: .55em; }

/* Parceiros */
.h-parc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.h-list { padding-left: 20px; line-height: 1.9; margin: 0 0 22px; }
.h-parc-l { display: grid; gap: 14px; } .h-card.parc { text-align: center; } .h-card.parc img { max-height: 80px; max-width: 220px; }
.parc-n { font-family: var(--fd); font-size: 2.2rem; color: var(--deep); text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 6px; }

/* FAQ */
.h-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.h-acc { display: grid; gap: 10px; }
.h-q { background: #f4f5f8; color: #0b0a0d; border-radius: 16px; padding: 0 20px; }
.h-q summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; color: var(--deep); list-style: none; position: relative; }
.h-q summary::-webkit-details-marker { display: none; }
.h-q summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: #1e8a4c; transition: .2s; }
.h-q[open] summary::after { transform: rotate(45deg); }
.h-q p { margin: 0 0 18px; color: #3d4a5f; line-height: 1.6; }
.h-q summary:focus-visible, .h-tabs button:focus-visible, .h-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Contato */
.h-contato { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.h-wa { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 14px 18px; color: #fff; margin: 10px 0 14px; }
.h-wa svg { width: 34px; height: 34px; background: #25d366; border-radius: 50%; padding: 4px; } .h-wa small { display: block; color: rgba(255,255,255,.7); } .h-wa b { font-size: 1.2rem; }
.home a:not(.h-btn):not(.tk):not(.fc):not(.h-wa) { color: var(--accent); }
.h-escudos a, .h-escudos a:hover { color: inherit !important; }
.h-form { background: #f4f5f8; color: #0b0a0d; border-radius: 24px; padding: 28px; }
.hf-prog { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 700; color: #5d6b82; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.hf-prog > i { flex: 1; height: 6px; background: #dfe4ec; border-radius: 6px; } .hf-prog > i > i { display: block; height: 100%; background: #1e8a4c; border-radius: 6px; transition: width .3s; }
.h-form fieldset { border: 0; padding: 0; margin: 0; } .h-form legend { font-family: var(--fd); font-size: 1.7rem; font-weight: 600; color: var(--deep); margin-bottom: 14px; }
.hf-opts { display: grid; gap: 8px; }
.hf-opts label, .hf-chips label { cursor: pointer; } .hf-opts input, .hf-chips input { position: absolute; opacity: 0; }
.hf-opts span { display: block; padding: 14px 16px; border: 2px solid #dfe4ec; border-radius: 12px; font-weight: 600; background: #fff; }
.hf-opts input:checked + span, .hf-chips input:checked + span { border-color: #1e8a4c; background: #e8f6ee; color: #145c33; }
.hf-opts input:focus-visible + span, .hf-chips input:focus-visible + span { outline: 3px solid #1f5fbf; }
.hf-f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--deep); margin-bottom: 14px; }
.hf-f input, .hf-f select, .hf-f textarea { padding: 12px 14px; border: 1px solid #cfd7e4; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 6px; } .hf-chips span { display: inline-block; padding: 6px 12px; border: 2px solid #dfe4ec; border-radius: 999px; font-weight: 600; font-size: .82rem; background: #fff; }
.hf-ck { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #3d4a5f; }
.hf-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; } .hf-nav [data-hf="1"] { margin-left: auto; }
.hf-done { text-align: center; padding: 20px 0; } .hf-done b { font-family: var(--fd); font-size: 2rem; color: #1e8a4c; display: block; }

/* Transferências (página pública) */
.vv { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.vv-a { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 0; } .vv-a small { display: block; color: var(--green-d); font-weight: 700; font-size: .7rem; letter-spacing: .06em; }
.vv-a b { display: block; color: var(--navy); } .vv-a em { font-style: normal; color: var(--muted); font-size: .8rem; }
.vv-t { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; color: var(--muted); }
.pre-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.pre-list { display: flex; flex-direction: column; gap: 4px; max-height: 52vh; overflow-y: auto; }
.pre-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: var(--soft); border-radius: 8px; }
.pre-row.blk { background: #fde5e5; opacity: .85; } .pre-n { flex: 1; min-width: 0; } .pre-n b { display: block; font-size: .86rem; } .pre-n small { color: var(--muted); font-size: .72rem; }
.pre-cam { width: 58px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-weight: 700; }
.pre-tit { font-size: .78rem; white-space: nowrap; color: var(--muted); }
.txt-warn { color: #8a6200; }
.alert.warnbox { display: block; background: #fff4d6; border-color: #f0d68a; color: #6a4b00; }
details.indiv { margin-top: 12px; } details.indiv summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .9rem; }
ul.pares { padding-left: 20px; line-height: 1.8; }

@media (max-width: 960px) {
  .h-hero { padding-top: 100px; }
  .h-hero-in, .h-sobre, .h-parc, .h-faq, .h-contato { grid-template-columns: 1fr; }
  .h-hero-vis { min-height: 460px; }
  .h-passos { grid-template-columns: 1fr 1fr; }
  .h-stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  .home { font-size: 16px; } .h-sec { padding: 64px 0; } .h-wrap { padding: 0 16px; }
  .h-hero-vis { min-height: 430px; } .h-photo { inset: 0 0 0 30px; }
  .fc-1 { width: 220px; top: 10px; } .fc-2 { width: 200px; right: -4px; } .fc-3 { width: 230px; left: 0; }
  .h-passos, .h-benef { grid-template-columns: 1fr; }
  .h-comp { grid-template-columns: 1fr; padding: 22px; } .h-comp-logo { max-width: 180px; }
  .h-dores li { font-size: 1.05rem; gap: 14px; }
  .h-escudos { gap: 12px; } .h-escudos .escudo { width: 44px !important; height: 44px !important; }
  .mainnav .btn.cta { margin: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .live, .badge.live { animation: none; } html { scroll-behavior: auto; } }

.home + .wa-float + .footer, .home ~ .footer { margin-top: 0; }
.mainnav a, .dd-b { white-space: nowrap; }
.escudo { flex: none !important; }
@media (max-width: 1400px) { .brand small { display: none; } .mainnav a { padding: 8px 9px; } }
[hidden] { display: none !important; }
.h-form .h-btn.ghost { color: var(--deep); border-color: #cfd7e4; }
@media (max-width: 640px) { .fc-3 { display: none; } .fc-2 { top: auto; bottom: 14px; } .h-hero-vis { min-height: 400px; } }

/* Segurança dos dados */
.alert.rasc { background: #fff8e6; border-color: #f0d68a; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.checklist { list-style: none; padding: 0; line-height: 2; }
.hist-l { list-style: none; padding: 0; margin: 0; } .hist-l > li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.hist-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .hist-act { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.diff { margin-top: 8px; font-size: .82rem; border-collapse: collapse; } .diff td { padding: 3px 8px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.diff td:first-child { color: var(--muted); font-weight: 600; } .diff .de { color: #a11b1b; text-decoration: line-through; } .diff .para { color: #1c7a37; font-weight: 600; }

/* Parceiros: logos */
.h-parc-l { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.parc-logo { display: flex; align-items: center; justify-content: center; height: 120px; border-radius: 14px; background: #fff; padding: 18px 22px; margin-bottom: 12px; }
.parc-logo.escuro { background: #0b2a5b; }
.parc-logo { min-width: 0; overflow: hidden; }
.parc-logo img { display: block; width: 100%; height: 100%; max-height: 84px; object-fit: contain; }
/* Barra lateral sem ícones */
.side-g a { padding: 9px 12px; }

/* Acessos */
pre.cred { white-space: pre-wrap; background: var(--soft); border-radius: 10px; padding: 14px; font: 14px/1.5 var(--fb); margin: 0 0 14px; }
.sem-acesso { display: flex; flex-wrap: wrap; gap: 8px; }
.trocar-senha { font-size: .82rem; font-weight: 500; margin-left: 4px; }

/* Campeões */
.camp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.camp-cat { background: var(--soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.camp-cat h3 { margin: 0; }
.pod { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 10px; border-left: 4px solid #9aa6b8; }
.pod.c { border-left-color: #e0a800; } .pod.v { border-left-color: #9aa6b8; } .pod.t { border-left-color: #b87333; }
.pod small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.pod b { color: var(--navy); }

/* Número do time na chave e checkboxes dos formulários */
.num-time { width: 46px; padding: 3px 4px; text-align: center; border: 1px solid #cfd7e4; border-radius: 6px; font: 700 .9rem var(--fb); flex: none; }
.fg.chk input, label.chk input { width: auto; flex: none; }

/* ---------- Calendário em grade mensal ---------- */
.cal-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav h4 { margin: 0 6px; min-width: 150px; text-align: center; font-family: var(--fd); font-size: 1.25rem; color: var(--navy); }
.cal-opts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.cal-opts label { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-sem { text-align: center; font-weight: 700; font-size: .78rem; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-d { min-height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-d.vazio { background: transparent; border-color: transparent; }
.cal-d.passado { background: var(--soft); }
.cal-d.hoje { border: 2px solid var(--navy); box-shadow: 0 0 0 2px rgba(11,42,91,.15); }
.cal-d.hoje .cal-n { background: var(--navy); color: #fff; }
.cal-n { align-self: flex-end; font-size: .8rem; font-weight: 700; color: var(--ink); min-width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 999px; }
.cev { display: block; width: 100%; text-align: left; border: 0; border-radius: 5px; padding: 2px 6px; font: 600 .74rem/1.35 var(--fb); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cev-data { background: var(--c); color: #fff; }
.cev-jogo { background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--c); }
.cev:hover, .cev:focus-visible { filter: brightness(.92); outline: 2px solid var(--navy); outline-offset: 1px; }
.cal-mais { border: 0; background: none; color: var(--blue); font-weight: 700; font-size: .74rem; text-align: left; padding: 0 4px; cursor: pointer; }
.cal-lista { display: flex; flex-direction: column; gap: 6px; }
.cal-lista .cev { white-space: normal; font-size: .85rem; padding: 6px 8px; }
.cal-li { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.cal-li.hoje { border: 2px solid var(--navy); }
.cal-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.cal-leg span { display: inline-flex; align-items: center; gap: 5px; }
.cal-leg i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); display: inline-block; }
.cal-leg i.leg-data { background: var(--muted); }
.cal-leg i.leg-jogo { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--muted); }
.cal-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; border-left: 5px solid var(--c); padding-left: 12px; }
.cal-card dt { color: var(--muted); font-weight: 600; }
.cal-card dd { margin: 0; }
.cal-dot, .cal-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--c); vertical-align: middle; }
.cal-sw { width: 14px; height: 14px; }
@media (max-width: 700px) { .cal-d { min-height: 64px; } .cev-jogo span, .cal-d .cev { font-size: .66rem; } .cal-nav h4 { min-width: 110px; font-size: 1.05rem; } }
@media print { .cal-bar button, .cal-opts { display: none; } }
.cev small { font-weight: 500; opacity: .9; }

/* ---------- Sorteio das chaves ---------- */
.alert.ok { background: #e7f6ec; border-color: #b9e3c6; color: #17602c; } .ok-txt { color: var(--green-d); font-weight: 600; }
.sq-aviso { display: block; margin-bottom: 12px; }
.sq { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.sq h3 { margin: 0 0 8px; } .sq h4 { margin: 0 0 8px; font-family: var(--fd); color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.sq-chaves { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; align-content: start; }
.sq-chave, .sq-jogo, .sq-pote { background: var(--soft); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sq-mm { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; align-content: start; }
.sq-jogo i { text-align: center; color: var(--muted); font-style: normal; font-size: .8rem; }
.sq-eq { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 6px 8px; font-weight: 600; min-width: 0; }
.sq-eq > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq-n { background: var(--navy); color: #fff; border-radius: 6px; min-width: 22px; text-align: center; font-size: .8rem; padding: 1px 4px; }
.sq-vaga { border: 2px dashed var(--line); border-radius: 8px; padding: 6px 8px; color: var(--muted); font-size: .85rem; min-height: 38px; display: flex; align-items: center; }
.sq-lado { display: flex; flex-direction: column; gap: 14px; }
.sq-potes { display: flex; flex-direction: column; gap: 8px; }
.sq-pi { display: flex; align-items: center; gap: 6px; font-size: .88rem; transition: opacity .4s; }
.sq-pi.saiu { opacity: .35; text-decoration: line-through; }
.sq-ordem { margin: 0; padding-left: 22px; font-size: .88rem; display: flex; flex-direction: column; gap: 3px; }
.novo { animation: sq-pop 1.6s ease-out; }
@keyframes sq-pop { 0% { transform: scale(.6); opacity: 0; box-shadow: 0 0 0 0 rgba(47,168,79,.7); } 30% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(47,168,79,0); } }
@media (prefers-reduced-motion: reduce) { .novo { animation: none; outline: 3px solid var(--green); } }
.sq-anuncio { display: flex; align-items: center; gap: 12px; justify-content: center; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px; margin-bottom: 14px; font-size: 1.2rem; animation: sq-pop 1.6s ease-out; }
.sq-head { display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.sq-head h1 { margin: 2px 0; } .sq-head img { width: 64px; height: 64px; border-radius: 50%; }
.sq-sem { margin-top: 14px; font-size: .85rem; } .sq-sem code { word-break: break-all; font-size: .78rem; }
.sq-potes-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sq-pe { background: var(--soft); border: 2px dashed transparent; border-radius: 10px; padding: 10px; min-height: 90px; display: flex; flex-direction: column; gap: 6px; }
.sq-pe.sobre { border-color: var(--blue); background: #e6efff; }
.sq-ch { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 6px; cursor: grab; font-size: .88rem; }
.sq-ch-n { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.sq-ch-b { display: flex; gap: 2px; flex-shrink: 0; }
.sq-ch-b button { border: 1px solid var(--line); background: #fff; border-radius: 5px; width: 26px; height: 26px; cursor: pointer; color: var(--navy); }
.sq-restr { margin: 0; padding-left: 18px; } .sq-links { margin: 0; padding-left: 18px; line-height: 2; }
@media (max-width: 800px) { .sq { grid-template-columns: 1fr; } }
/* modo telão: tela cheia, fonte grande, cores da Liga */
.sq-pub.telao { min-height: 100vh; background: var(--navy); color: #fff; padding: 24px 32px; font-size: 1.25rem; }
.sq-pub.telao .sq-head h1 { color: #fff; font-size: 2.6rem; } .sq-pub.telao .kicker { color: var(--accent); font-size: 1.1rem; }
.sq-pub.telao .sq-chave, .sq-pub.telao .sq-jogo, .sq-pub.telao .sq-pote { background: rgba(255,255,255,.08); }
.sq-pub.telao h3, .sq-pub.telao h4 { color: #fff; } .sq-pub.telao .sq-eq { color: var(--ink); font-size: 1.25rem; }
.sq-pub.telao .sq-vaga { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.6); }
.sq-pub.telao .sq-chaves { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sq-pub.telao .sq-anuncio { background: var(--green); font-size: 2rem; }
.sq-pub.telao .muted, .sq-pub.telao .sq-sem { color: rgba(255,255,255,.75); }
.sq-pub.telao .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.sq-pub.telao .sq-ordem { font-size: 1rem; }
.sq-pub.telao .sq { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } .sq-pub.telao .sq-chaves { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Cartões (amarelo/vermelho) desenhados, sem emoji */
.cartao { display: inline-block; width: 10px; height: 14px; border-radius: 2px; vertical-align: -2px; }
.cartao.am { background: #f2c200; } .cartao.vm { background: #d62828; }
.comp-vazia { border-left: 5px solid var(--green); } .comp-vazia p { color: var(--muted); max-width: 640px; } .comp-vazia .actions { justify-content: flex-start; margin-top: 12px; }

/* Fotos dos campeonatos */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gal-i { position: relative; display: block; margin: 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #dfe4ec; cursor: zoom-in; text-align: left; font: inherit; }
.gal-i img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gal-i:hover img { transform: scale(1.03); }
.gal-i:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gal-i > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(4,21,59,.85)); color: #fff; font-size: .86rem; font-weight: 600; line-height: 1.3; }
.gal-i > span small { display: block; font-weight: 500; opacity: .8; font-size: .74rem; }
.galeria.adm .gal-i { cursor: default; background: #fff; border: 1px solid var(--line); }
.galeria.adm .gal-i:hover img { transform: none; }
.galeria.adm figcaption { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: .85rem; }
.galeria.adm figcaption small { color: var(--muted); } .galeria.adm figcaption span { margin-top: 6px; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(4,12,30,.94); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px; }
.lb figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lb img { max-width: 100%; max-height: 82vh; border-radius: 6px; }
.lb figcaption { color: #fff; margin-top: 10px; font-size: .95rem; }
.lb button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; cursor: pointer; flex: none; }
.lb button:hover { background: rgba(255,255,255,.25); } .lb button:focus-visible { outline: 3px solid #fff; }
.lb .lb-x { position: absolute; top: 16px; right: 16px; }
@media (max-width: 640px) { .galeria { grid-template-columns: 1fr 1fr; gap: 8px; } .lb { padding: 8px; } .lb .lb-p, .lb .lb-n { position: absolute; bottom: 18px; } .lb .lb-p { left: 18px; } .lb .lb-n { right: 18px; } }
