
/* Layout: no espírito do america.gov. Títulos serifados enormes e centralizados, texto em grotesca neutra,
   faixas brancas e azul-gelo alternadas, cards com cantos de 24px e botões em pílula. */
:root {
  --bg: #ffffff;
  --bg2: #f1f5fb;          /* azul-gelo */
  --card: #ffffff;
  --ink: #000c1f;          /* azul-marinho */
  --ink2: #5a6273;
  --line: #000c1f1a;
  --line2: #000c1f2e;
  --navy: #002664;
  --blue: #0066c5;
  --red: #d80007;
  --green: #117a3d;
  --gold: #9a6400;
  --feature: #002664;      /* card em destaque */
  --feature-ink: #ffffff;
  --feature-ink2: #b7c6e0;
  --glass: rgba(255,255,255,.82); --pop: rgba(255,255,255,.97);
  --serif: "Rhymes Text", "Newsreader", "Times New Roman", Times, serif;
  --sans: "Helvetica Now Text", "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
  --display: "Helvetica Now Display", "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000c1f; --bg2: #04152f; --card: #08203f; --ink: #f1f5fb; --ink2: #a3b0c5;
    --line: #ffffff1a; --line2: #ffffff2e; --navy: #9cc3ff; --blue: #5aa9ff; --red: #ff4d52;
    --green: #3ddc84; --gold: #ffb648; --feature: #0b2f66; --feature-ink: #ffffff; --feature-ink2: #b7c6e0;
    --glass: rgba(0,12,31,.82); --pop: rgba(6,20,44,.985); --pop: rgba(6,20,44,.985);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000c1f; --bg2: #04152f; --card: #08203f; --ink: #f1f5fb; --ink2: #a3b0c5;
  --line: #ffffff1a; --line2: #ffffff2e; --navy: #9cc3ff; --blue: #5aa9ff; --red: #ff4d52;
  --green: #3ddc84; --gold: #ffb648; --feature: #0b2f66; --feature-ink: #ffffff; --feature-ink2: #b7c6e0;
  --glass: rgba(0,12,31,.82); --pop: rgba(6,20,44,.985);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; letter-spacing: -0.015em; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, select { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 10px; }

.in { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 860px; }
.band { padding-block: 96px; }
.band.alt { background: var(--bg2); }

/* Navegação */
nav { position: relative; z-index: 10; background: var(--glass); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; letter-spacing: -0.04em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo img { display: block; object-fit: contain; }
nav .navbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 64px; padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
.navright { justify-self: end; display: flex; align-items: center; gap: 14px; }
.menubtn { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 15px; font-weight: 500; padding: 8px 2px; }
.menubtn i { position: relative; width: 18px; height: 10px; }
.menubtn i::before, .menubtn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1); }
.menubtn i::before { top: 0; } .menubtn i::after { top: 8.5px; }
.menubtn[aria-expanded="true"] i::before { top: 4.25px; transform: rotate(45deg); }
.menubtn[aria-expanded="true"] i::after { top: 4.25px; transform: rotate(-45deg); }

/* Menu pequeno (topo e doca): links + busca em qualquer lugar da página */
.pop { width: min(360px, calc(100vw - 32px)); border-radius: 24px; padding: 14px; box-sizing: border-box; text-align: left; background: var(--pop); backdrop-filter: saturate(160%) blur(22px); -webkit-backdrop-filter: saturate(160%) blur(22px); box-shadow: 0 0 0 1px var(--line2), 0 18px 44px -14px rgba(0,0,0,.5); animation: popin .3s cubic-bezier(.2,.7,.2,1); }
.pop[hidden] { display: none; }
.pop.top { position: absolute; top: 60px; right: max(24px, env(safe-area-inset-right, 0px)); transform-origin: top right; }
@keyframes popin { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.pop.top { animation-name: popdown; }
@keyframes popdown { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
.pop-q { position: relative; margin: 0 0 6px; }
.pop-q input { width: 100%; box-sizing: border-box; border: 0; border-radius: 999px; padding: 11px 16px 11px 40px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); outline: none; }
.pop-q input:focus { box-shadow: inset 0 0 0 2px var(--ink2); }
.pop-q svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink2); pointer-events: none; }
.pop-links { display: grid; justify-items: center; gap: 2px; padding: 10px 10px 6px; }
.pop-links a { font-family: var(--sans); font-size: 17px; font-weight: 400; letter-spacing: -0.01em; line-height: 1; padding: 11px 22px; border-radius: 999px; color: var(--ink); opacity: .86; transition: background .2s ease, opacity .2s ease; }
.pop-links a:hover { text-decoration: none; opacity: 1; background: var(--bg2); }
.pop-res { max-height: min(56vh, 460px); overflow-y: auto; display: grid; gap: 2px; padding-top: 4px; }
.pop-res .ps { font-size: 11px; font-weight: 600; color: var(--ink2); text-transform: uppercase; letter-spacing: .05em; padding: 10px 10px 4px; }
.pop-res .pr { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; text-align: left; padding: 9px 10px; border-radius: 12px; cursor: pointer; }
.pop-res .pr:hover { background: var(--bg2); text-decoration: none; }
.pop-res .pr small { color: var(--ink2); font-size: 12px; white-space: nowrap; }
.pop-res .pr span { min-width: 0; }
.pop-res .pdef { padding: 6px 10px 10px; font-size: 14px; color: var(--ink2); }
.pop-res .pdef b { display: block; color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.03em; }
.pop-res .msg { padding: 14px 10px; }

/* Doca flutuante: aparece no canto direito quando o topo sai da tela */
.dock { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; transform: translateY(24px); opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); display: grid; justify-items: end; gap: 10px; }
.dock.show { opacity: 1; transform: none; pointer-events: auto; }
.dock-bar { display: flex; align-items: center; gap: 14px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--glass); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 0 0 1px var(--line2), 0 12px 32px -12px rgba(0,0,0,.45); }
.dock-logo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.dock-logo img { display: block; }

/* Histórico (o banco de dados) */
.arch-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 56px; margin: 8px 0 40px; }
.arch-stats div { text-align: center; }
.arch-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.arch-stats span { font-size: 14px; color: var(--ink2); }
.arch-q { position: relative; max-width: 560px; margin: 0 auto 14px; }
.arch-q input { width: 100%; box-sizing: border-box; border: 0; border-radius: 999px; padding: 15px 22px 15px 48px; font: inherit; font-size: 17px; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line2); outline: none; }
.arch-q input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.arch-q svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink2); }
.arch-res { max-width: 560px; margin: 0 auto 36px; display: grid; gap: 6px; }
.arch-res button { display: flex; justify-content: space-between; gap: 12px; align-items: center; width: 100%; border: 0; background: var(--card); color: var(--ink); border-radius: 14px; padding: 12px 18px; font: inherit; font-size: 15px; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.arch-res button:hover { box-shadow: inset 0 0 0 1px var(--ink2); }
.arch-res small { color: var(--ink2); font-size: 13px; white-space: nowrap; }
.arch-ctl { display: flex; justify-content: center; margin-bottom: 20px; }
.nat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.nat { border: 0; text-align: left; cursor: pointer; background: var(--card); color: var(--ink); border-radius: 20px; padding: 18px 20px; display: grid; gap: 6px; font: inherit; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.nat:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink2); }
.nat b { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.035em; line-height: 1.05; }
.nat small { font-size: 12px; color: var(--ink2); }
.nat .meds { display: flex; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; align-items: center; }
.nat .meds span { display: inline-flex; align-items: center; gap: 4px; }
.nat .meds .md { width: 9px; height: 9px; }
.arch-more { display: flex; justify-content: center; margin-top: 24px; }
.seg { display: inline-flex; background: var(--bg2); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.band.alt .seg { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink2); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Tipografia */
.eyebrow { font-size: 15px; font-weight: 500; color: var(--red); letter-spacing: -0.01em; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 10vw, 128px); line-height: .95; letter-spacing: -0.055em; margin: 0 auto 24px; text-wrap: balance; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.05em; margin: 10px auto 18px; text-wrap: balance; }
.lede { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--ink2); max-width: 36ch; margin: 0 auto; text-wrap: pretty; }
.sub { font-size: 18px; color: var(--ink2); margin: 0 auto 44px; max-width: 52ch; text-wrap: pretty; }
.head { text-align: center; }

/* Botões */
.cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; letter-spacing: -0.03em; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink); background: transparent; cursor: pointer; }
.btn:hover { text-decoration: none; border-color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.sm { font-size: 14px; padding: 8px 16px; }

/* Hero */
.hero { padding-block: 88px 96px; text-align: center; }
.now { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 64px; text-align: left; }
.tile { background: var(--bg2); border-radius: 24px; padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.tile.feature { background: var(--feature); color: var(--feature-ink); }
.tile .k { font-size: 14px; font-weight: 500; color: var(--ink2); }
.tile.feature .k { color: var(--feature-ink2); }
.tile .k.live { color: var(--green); }
.tile.feature .k.live { color: #7cf0ad; }
.tile h3 { font-family: var(--display); font-size: 24px; line-height: 1.15; letter-spacing: -0.035em; font-weight: 500; margin: 0; text-wrap: balance; }
.tile .m { color: var(--ink2); font-size: 15px; }
.tile.feature .m { color: var(--feature-ink2); }
.tile .big { font-family: var(--serif); font-size: 64px; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.tile .big small { font-family: var(--sans); font-size: 18px; letter-spacing: -0.02em; color: var(--ink2); margin-left: 6px; }
.tile .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tile.feature .btn { color: var(--feature-ink); border-color: #ffffff55; }
.tile.feature .btn.primary { background: #fff; color: #002664; border-color: #fff; }

/* Busca */
.search { max-width: 680px; margin: 40px auto 0; text-align: left; }
.sbox { position: relative; display: flex; align-items: center; gap: 12px; background: var(--card); color: var(--ink2); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 0 0 1px var(--line2), 0 16px 40px -16px rgba(0,12,31,.22); transition: box-shadow .2s; }
.sbox:focus-within { box-shadow: 0 0 0 2px var(--blue), 0 16px 40px -16px rgba(0,12,31,.22); }
#q { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 19px; padding: 10px 0; outline: none; }
.qph { position: absolute; left: 56px; right: 64px; top: 50%; transform: translateY(-50%); font-size: 19px; color: var(--ink2); opacity: .75; font-style: italic; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s ease, transform .35s ease; }
.qph.out { opacity: 0; transform: translateY(-90%); }
.qph.in { opacity: 0; transform: translateY(-10%); }
.sbox.has .qph { display: none; }
.sgo { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-size: 20px; cursor: pointer; }
.scount { text-align: center; font-size: 13px; color: var(--ink2); margin-top: 12px; font-variant-numeric: tabular-nums; }
.sres { margin-top: 16px; background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -28px rgba(0,12,31,.3); }
.sres .sh { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; font-size: 14px; color: var(--ink2); border-bottom: 1px solid var(--line); }
.sres .sh button { border: 0; background: none; color: var(--blue); cursor: pointer; font-size: 14px; }
.sres .sec { font-size: 12px; font-weight: 600; color: var(--ink2); padding: 14px 22px 4px; text-transform: uppercase; letter-spacing: .04em; }
.sres .def { padding: 6px 22px 18px; }
.sres .def b { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.04em; }
.sres .def p { margin: 4px 0 0; color: var(--ink2); }

/* Faixa de próximos jogos */
.marquee { margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 12px; width: max-content; }
.mq { flex: none; display: grid; gap: 2px; text-align: left; background: var(--bg2); border: 0; border-radius: 18px; padding: 14px 18px; min-width: 230px; cursor: pointer; }
.mq b { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.mq b small { font-family: var(--sans); font-size: 13px; color: var(--ink2); letter-spacing: 0; margin-left: 6px; }
.mq .vs { font-weight: 500; font-size: 15px; margin-top: 6px; }
.mq .evn { font-size: 13px; color: var(--ink2); }
.mq.fol { box-shadow: inset 0 0 0 1.5px var(--green); }

/* Movimento */
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes load { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise { from { opacity: .15; transform: translateY(48px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .track { animation: slide 90s linear infinite; }
  .marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
  .hero h1 { animation: load 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lede { animation: load 1s .15s cubic-bezier(.2,.7,.2,1) both; }
  .hero .search { animation: load 1s .3s cubic-bezier(.2,.7,.2,1) both; }
  .hero .marquee { animation: load 1s .45s cubic-bezier(.2,.7,.2,1) both; }

  /* Revelar ao rolar, nos dois sentidos. As classes só entram via script, então sem script tudo fica visível. */
  .rv, .stag > * { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  html.rv-on .rv:not(.in) { opacity: 0; transform: translateY(60px) scale(.97); }
  html.rv-on .rv.above:not(.in) { transform: translateY(-60px) scale(.97); }
  html.rv-on .stag:not(.in) { opacity: 1; transform: none; }
  html.rv-on .stag:not(.in) > * { opacity: 0; transform: translateY(48px) scale(.97); }
  html.rv-on .stag.above:not(.in) > * { transform: translateY(-48px) scale(.97); }
  .stag > :nth-child(2) { transition-delay: .07s; } .stag > :nth-child(3) { transition-delay: .14s; }
  .stag > :nth-child(4) { transition-delay: .21s; } .stag > :nth-child(5) { transition-delay: .28s; }
  .stag > :nth-child(6) { transition-delay: .35s; } .stag > :nth-child(7) { transition-delay: .42s; }
  .stag > :nth-child(8) { transition-delay: .49s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
/* Celular e tablet (toque): no lugar da animação, uma faixa para arrastar com o dedo. A animação contínua trava
   no Safari do iPhone (o toque deixa o "passar o mouse" preso e pausa a faixa) e a máscara com animação às vezes
   nem é desenhada. */
@media (hover: none) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none;
    -webkit-mask-image: none; mask-image: none; margin-inline: -20px; }
  .marquee::-webkit-scrollbar { display: none; }
  .track { animation: none !important; padding-inline: 20px; }
  .mq { scroll-snap-align: start; }
  .mq[aria-hidden="true"] { display: none; }
}

/* Seus times */
.follow-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; margin-bottom: 40px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line2); font-size: 15px; font-weight: 500; }
.fchip button[data-unfollow] { border: 0; background: var(--bg2); width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; color: var(--ink2); }
.addsel { border: 1px dashed var(--line2); background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 15px; color: var(--ink2); cursor: pointer; max-width: 100%; }
.two { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; align-items: start; }
.colh { font-size: 14px; font-weight: 500; color: var(--ink2); margin: 0 0 12px 6px; }

/* Listas */
.list { background: var(--card); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.band.alt .list { box-shadow: none; }
.li { display: grid; grid-template-columns: 112px 1fr auto; gap: 14px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); }
.li:first-child { border-top: 0; }
.li .when { font-size: 14px; color: var(--ink2); line-height: 1.3; font-variant-numeric: tabular-nums; }
.li .when b { display: block; color: var(--ink); font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.li .what { min-width: 0; }
.li .what .vs { font-weight: 500; }
.li .what .evn { font-size: 13px; color: var(--ink2); }
.res { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res.w { color: var(--green); }
.res.l { color: var(--red); }
.res.tbd { font-weight: 400; color: var(--ink2); font-size: 14px; }
.cal { font-size: 13px; font-weight: 500; white-space: nowrap; }
.msg { padding: 22px; color: var(--ink2); font-size: 15px; text-align: center; }

/* Escala */
.controls { display: grid; gap: 14px; margin-bottom: 36px; justify-items: center; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; max-width: 100%; scrollbar-width: thin; }
.day { flex: none; border: 0; box-shadow: inset 0 0 0 1px var(--line2); background: var(--card); border-radius: 16px; padding: 9px 14px; cursor: pointer; text-align: center; min-width: 66px; }
.day b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.04em; line-height: 1; margin: 2px 0; font-variant-numeric: tabular-nums; }
.day span { font-size: 12px; color: var(--ink2); }
.day[aria-pressed="true"] { background: var(--ink); box-shadow: none; color: var(--bg); }
.day[aria-pressed="true"] span { color: var(--bg); opacity: .7; }
.day .dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin: 3px auto 0; }
.day .dot.it { background: var(--blue); }
.ctl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; align-items: center; }
.tzline { font-size: 14px; color: var(--ink2); display: inline-flex; gap: 8px; align-items: center; }
.evhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.evhead .t { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.035em; }
.evhead .m { color: var(--ink2); font-size: 14px; }
.draws { display: grid; gap: 28px; }
.group-h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px 6px; }
.group-h b { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.group-h span { font-size: 14px; color: var(--ink2); }
.group-h .ph { color: var(--red); font-weight: 500; }
.game { display: grid; grid-template-columns: 104px 1fr 76px 1fr 104px; gap: 12px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); }
.game:first-child { border-top: 0; }
.game .a { grid-column: 2; text-align: right; min-width: 0; }  /* 1ª coluna vazia, do tamanho da última: o "vs" fica no centro */
.game .b { min-width: 0; }
.team { font-weight: 500; }
.team.win { font-weight: 700; }
.team.lose { color: var(--ink2); font-weight: 400; }
.fl { width: 18px; height: 13.5px; border-radius: 2px; vertical-align: -2px; margin-right: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(127,127,127,.25); }
.cc .fl { width: 15px; height: 11.25px; margin-right: 5px; vertical-align: -1.5px; }
.fl-md { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(127,127,127,.25); }
.fl-lg { display: block; width: 72px; height: 54px; margin: 0 auto 16px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--line2), 0 14px 30px -14px rgba(0,0,0,.5); }
.cc { font-size: 11px; font-weight: 600; color: var(--ink2); background: var(--bg2); border-radius: 6px; padding: 2px 6px; margin-inline: 8px; letter-spacing: .02em; }
.sc { text-align: center; font-family: var(--serif); font-size: 26px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sc.vs { font-family: var(--sans); font-size: 14px; color: var(--ink2); letter-spacing: 0; }
.st { font-size: 13px; color: var(--ink2); text-align: right; display: grid; justify-items: end; gap: 2px; }
.st.live { color: var(--green); font-weight: 600; }
.game.fol { box-shadow: inset 4px 0 0 var(--green); }
.game.fol.ita { box-shadow: inset 4px 0 0 var(--blue); }
.game.open, .game.on { cursor: pointer; }
.game[data-game] { cursor: pointer; }
.game.on .sc { color: var(--green); }
.st.live span::first-letter { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hm { color: var(--red); font-size: 12px; margin-inline: 4px; vertical-align: 2px; }
.ls { grid-column: 1 / -1; overflow-x: auto; margin: 4px -4px 0; }
.ls table { width: auto; border-collapse: collapse; margin: 0 auto; font-variant-numeric: tabular-nums; font-size: 14px; }
.ls th, .ls td { padding: 5px 8px; text-align: center; min-width: 26px; }
.ls th { font-size: 11px; font-weight: 500; color: var(--ink2); }
.ls td:first-child, .ls th:first-child { text-align: left; font-weight: 600; font-size: 12px; padding-right: 14px; }
.ls td.pt { font-weight: 700; }
.ls td.z { color: var(--ink2); opacity: .55; }
.ls td.now { box-shadow: inset 0 -2px 0 var(--green); }
.ls td.tot, .ls th.tot { font-family: var(--serif); font-size: 18px; font-weight: 400; border-left: 1px solid var(--line); padding-left: 12px; }
.gnote { grid-column: 1 / -1; text-align: center; font-size: 13px; font-weight: 500; color: var(--red); margin-bottom: -6px; }
.legendline { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--ink2); margin-top: 24px; }
.legendline i { display: inline-block; width: 4px; height: 14px; border-radius: 2px; vertical-align: -2px; margin-right: 6px; }

/* Classificação */
.tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.tbl-h { font-size: 14px; font-weight: 500; color: var(--ink2); margin: 0 0 10px 6px; }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
th { font-size: 12px; font-weight: 500; color: var(--ink2); text-align: right; padding: 12px 14px 8px; }
th:nth-child(2), td:nth-child(2) { text-align: left; }
td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: right; }
td:first-child, th:first-child { width: 36px; text-align: center; color: var(--ink2); padding-left: 18px; }
tr.fol td:nth-child(2) { font-weight: 700; }
tr.fol td:first-child { box-shadow: inset 4px 0 0 var(--green); }
tr.fol.ita td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
.q { display: inline-block; font-size: 11px; font-weight: 600; color: var(--green); margin-left: 8px; }

/* Brasil */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 24px; padding: 32px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; min-width: 0; }
.band.alt .card { box-shadow: none; }
.card .k { font-size: 14px; font-weight: 500; color: var(--red); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; letter-spacing: -0.045em; line-height: 1.05; margin: 0; }
.card .m { color: var(--ink2); font-size: 15px; }
.pips { display: flex; gap: 6px; flex-wrap: wrap; }
.pip { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--bg2); color: var(--ink2); }
.pip.w { background: var(--green); color: #fff; }
.pip.l { box-shadow: inset 0 0 0 2px var(--red); color: var(--red); background: transparent; }
.rows { display: grid; }
.r { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.r:first-child { border-top: 0; }
.r .what { font-weight: 500; }
.r .when { font-size: 13px; color: var(--ink2); }
.r .res { grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; }
.note { color: var(--ink2); font-size: 15px; max-width: 60ch; }

/* Temporada */
.ribbon-box { background: var(--card); border-radius: 24px; padding: 28px; overflow-x: auto; }
.ribbon { position: relative; min-width: 720px; }
.months { display: grid; grid-template-columns: repeat(8, 1fr); font-size: 13px; font-weight: 500; color: var(--ink2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lanes { position: relative; display: grid; gap: 8px; padding-block: 16px 4px; }
.lane { position: relative; height: 16px; }
.bar { position: absolute; top: 0; height: 16px; border-radius: 8px; border: 0; padding: 0; cursor: pointer; min-width: 8px; }
.bar.slam { background: var(--gold); }
.bar.world { background: var(--red); }
.bar.cont { background: var(--navy); }
.bar.qual { background: transparent; box-shadow: inset 0 0 0 2px var(--navy); }
.bar.other { background: var(--ink2); opacity: .3; }
.bar.past { opacity: .25; }
.today-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--green); border-radius: 1px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: 13px; color: var(--ink2); margin-top: 20px; }
.legend i { display: inline-block; width: 16px; height: 8px; border-radius: 4px; margin-right: 6px; vertical-align: middle; }

/* Agenda */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }
.chip { border: 0; box-shadow: inset 0 0 0 1px var(--line2); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); box-shadow: none; color: var(--bg); }
.month { margin-bottom: 36px; }
.month-t { font-size: 14px; font-weight: 500; color: var(--ink2); margin: 0 0 12px 6px; }
.ev { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; padding: 24px; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.ev:first-child { border-top: 0; }
.ev.is-past { opacity: .55; }
.ev.flash { background: var(--bg2); }
.date b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.date span { display: block; font-size: 13px; color: var(--ink2); margin-top: 4px; }
.catdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.ev h4 { margin: 0 0 2px; font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.25; }
.ev .off { font-size: 13px; color: var(--ink2); }
.ev .pl { font-size: 15px; color: var(--ink2); margin-top: 2px; }
.ev .body { min-width: 0; display: grid; gap: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg2); color: var(--ink2); }
.tag.live { background: var(--green); color: #fff; }
.tag.soon { background: var(--red); color: #fff; }
.tag.bra { background: transparent; box-shadow: inset 0 0 0 1px var(--green); color: var(--green); }
.tag.ita { background: transparent; box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; font-weight: 500; }
.star { background: none; border: 0; cursor: pointer; font-size: 24px; line-height: 1; color: var(--ink2); padding: 2px 4px; }
.star[aria-pressed="true"] { color: var(--gold); }

/* Guia */
.guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.term { background: var(--card); border-radius: 24px; padding: 26px; display: grid; gap: 8px; align-content: start; }
.term h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.045em; line-height: 1.05; }
.term p { margin: 0; color: var(--ink2); font-size: 15px; }
.house { display: block; margin: 0 auto 44px; }

/* Perfis */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,12,31,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet-panel { position: relative; width: min(880px, 100%); max-height: calc(100% - 24px - env(safe-area-inset-top, 0px)); overflow-y: auto; background: var(--bg); border-radius: 28px 28px 0 0; padding: 40px 32px calc(40px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.35); }
@media (min-width: 900px) { .sheet { place-items: center; } .sheet-panel { border-radius: 28px; max-height: calc(100% - 64px); } }
@media (prefers-reduced-motion: no-preference) { .sheet:not([hidden]) .sheet-panel { animation: load .45s cubic-bezier(.2,.7,.2,1) both; } }
/* ficha escrita de antemão pela montagem do site (páginas de atleta, seleção e confronto), até os dados carregarem */
.pre h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 7vw, 56px); letter-spacing: -0.04em; line-height: 1; margin: 6px 0 14px; }
.pre h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); margin: 30px 0 10px; }
.pre p, .pre li { color: var(--ink2); font-size: 15px; line-height: 1.5; margin: 0; }
.pre ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pre b, .pre a { color: var(--ink); font-weight: 500; }
.pre .pre-k { font-size: 13px; }
.pre .pre-k a { color: var(--ink2); text-decoration: none; }
.fnats { margin-top: 28px; font-size: 13px; line-height: 2; color: var(--ink2); }
.fnats a { color: var(--ink2); text-decoration: none; margin-right: 10px; white-space: nowrap; }
.fnats a:hover { color: var(--ink); }
.fresh { color: var(--green); white-space: nowrap; }
.gp-prev { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; }
.gp-prev > div { display: flex; justify-content: space-between; gap: 10px; color: var(--ink2); }
.gp-prev > div span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-prev b .md { margin-right: 5px; }
.gp-prev b { font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fresh.stale { color: var(--red); }
.sheet-x { position: sticky; top: 0; float: right; margin: -16px -12px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg2); color: var(--ink); font-size: 16px; cursor: pointer; z-index: 2; }
.pf-head { text-align: center; margin-bottom: 28px; }
.av { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--bg2); color: var(--ink2); font-weight: 600; letter-spacing: .02em; box-shadow: inset 0 0 0 1px var(--line); }
.av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.av.lg { width: 132px; height: 132px; font-family: var(--serif); font-weight: 400; font-size: 46px; letter-spacing: -0.03em; margin: 0 auto 18px; box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line2), 0 18px 40px -18px rgba(0,0,0,.5); }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.pf-k { font-size: 14px; font-weight: 500; color: var(--red); }
.pf-name { font-size: clamp(40px, 6vw, 64px); margin: 6px auto 10px; }
.pf-facts { color: var(--ink2); font-size: 15px; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 32px; }
.pf-stats div { background: var(--bg2); border-radius: 18px; padding: 16px; text-align: center; display: grid; gap: 2px; }
.pf-stats b { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pf-stats span { font-size: 13px; color: var(--ink2); }
.pf-h { font-size: 14px; font-weight: 500; color: var(--ink2); margin: 28px 0 10px 4px; }
.clist { background: var(--bg2); border-radius: 18px; overflow: hidden; }
.crow { display: grid; grid-template-columns: 52px 1fr 64px 52px; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.crow:first-child { border-top: 0; }
.crow .cy { color: var(--ink2); font-size: 14px; }
.crow .cn { min-width: 0; display: grid; }
.crow .cn b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow .cn small { color: var(--ink2); font-size: 13px; }
.crow .cr { text-align: right; font-weight: 600; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.crow .cw { text-align: right; color: var(--ink2); font-size: 14px; }
.md { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.md.m1 { background: #d4a72c; } .md.m2 { background: #a3acb6; } .md.m3 { background: #b4703e; }
.mates { display: flex; flex-wrap: wrap; gap: 8px; }
.mate { display: flex; align-items: center; gap: 10px; text-align: left; gap: 1px; border: 0; box-shadow: inset 0 0 0 1px var(--line2); background: transparent; border-radius: 14px; padding: 9px 14px; cursor: pointer; font-size: 15px; font-weight: 500; }
.mate > span { display: grid; gap: 1px; }
.mate small { font-size: 12px; color: var(--ink2); font-weight: 400; }
.mate:hover { box-shadow: inset 0 0 0 1px var(--ink); }
a.mate, a.nat { color: inherit; text-decoration: none; }
.lsl { display: grid; gap: 12px; }
.lsw { background: var(--bg2); border-radius: 18px; padding: 12px 14px; overflow-x: auto; }
.lsm { font-size: 12px; color: var(--ink2); margin-bottom: 6px; }
.ls { border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; width: 100%; }
.ls th { font-size: 11px; color: var(--ink2); font-weight: 500; padding: 2px 6px; text-align: center; }
.ls td { padding: 4px 6px; text-align: center; border-top: 0; }
.ls td:first-child { text-align: left; white-space: nowrap; padding-left: 0; width: 40%; }
.ls tr.win td:first-child, .ls tr.win .tot { font-weight: 700; }
.ls .tot { font-weight: 600; }
.pf-src { font-size: 13px; color: var(--ink2); text-align: center; margin-top: 28px; }
.linkish { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; }
@media (max-width: 640px) {
  .sheet-panel { padding: 32px 18px calc(32px + env(safe-area-inset-bottom, 0px)); }
  .pf-stats { grid-template-columns: repeat(2, 1fr); }
  .crow { grid-template-columns: 44px 1fr 52px; }
  .crow .cw { display: none; }
}

/* Página do jogo */
.gp-meta { font-size: 14px; color: var(--ink2); margin-top: 6px; }
.gp-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 4px 0 18px; }
.gp-team { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.gp-team b { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.gp-team small { font-size: 12px; color: var(--ink2); letter-spacing: .04em; }
.gp-team.win b { color: var(--ink); }
.gp-score .gp-team:not(.win) b { color: var(--ink2); }
.gp-score:not(:has(.win)) .gp-team b { color: var(--ink); }
.gp-sc { font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: -0.04em; text-align: center; font-variant-numeric: tabular-nums; display: grid; gap: 8px; }
.gp-sc i { font-style: normal; color: var(--ink2); margin: 0 .12em; }
.gp-sc .vs { font-size: 28px; color: var(--ink2); }
.gp-sc small { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--ink2); }
.gp-sc small.live { color: var(--green); font-weight: 600; }
.gp-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 8px; }
.gp-camps, .gp-lus { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gp-camp, .gp-lu { background: var(--bg2); border-radius: 18px; padding: 14px 16px; min-width: 0; }
.gp-camp-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.gp-camp-h b { font-weight: 600; font-size: 15px; }
.gp-camp-h span { font-size: 13px; color: var(--ink2); font-variant-numeric: tabular-nums; text-align: right; }
.gp-form { display: flex; flex-wrap: wrap; gap: 4px; }
.gp-form span { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.gp-form .w { background: var(--green); }
.gp-form .l { background: var(--ink2); opacity: .55; }
.gp-form em { font-size: 13px; color: var(--ink2); font-style: normal; }
.gp-lu .mates { display: grid; grid-template-columns: 1fr; }
.gp-h2h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--bg2); border-radius: 18px; padding: 16px; margin-bottom: 12px; text-align: center; }
.gp-h2h b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.gp-h2h span { font-size: 13px; color: var(--ink2); }
.gp-h2h-n { font-size: 13px; color: var(--ink2); }
.gp-ms { background: var(--bg2); border-radius: 18px; overflow: hidden; }
.gp-m { border-top: 1px solid var(--line); }
.gp-m:first-child { border-top: 0; }
.gp-m summary, .gp-m-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; font-size: 15px; }
.gp-m summary::-webkit-details-marker { display: none; }
.gp-m :is(summary, .gp-m-row) span { display: grid; min-width: 0; }
.gp-m :is(summary, .gp-m-row) small { font-size: 13px; color: var(--ink2); }
.gp-m :is(summary, .gp-m-row) b { font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 600; white-space: nowrap; }
.gp-m :is(summary, .gp-m-row) b.l { color: var(--ink2); font-weight: 400; }
.gp-m-row { cursor: default; }
.h2h-flags { display: flex; justify-content: center; align-items: center; gap: 16px; color: var(--ink2); }
.h2h-cats { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 auto 14px; width: fit-content; max-width: 100%; }
.h2h-cats::-webkit-scrollbar { display: none; }
.h2h-cats button { flex: none; white-space: nowrap; }
.h2h-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h2h-hl:empty { display: none; }
.h2h-hl div { background: var(--bg2); border-radius: 18px; padding: 14px 16px; display: grid; gap: 2px; }
.h2h-hl span, .h2h-hl small { font-size: 13px; color: var(--ink2); }
.h2h-hl b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.h2h-pick { max-width: 560px; margin: 8px auto 44px; background: var(--card); border-radius: 24px; padding: 22px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.h2h-pick h3 { margin: 0; font-size: 18px; font-weight: 600; }
.h2h-pick p { margin: 4px 0 16px; font-size: 14px; color: var(--ink2); }
.h2h-row { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 10px; align-items: center; }
.h2h-row select { min-width: 0; width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg2); border: 0; border-radius: 999px; padding: 10px 14px; }
.h2h-row span { color: var(--ink2); }
@media (max-width: 480px) { .h2h-row { grid-template-columns: 1fr auto 1fr; } .h2h-row button { grid-column: 1 / -1; } .h2h-hl { grid-template-columns: 1fr; } }
.gp-m .ls { margin: 0 8px 12px; }
.gp-more { font-size: 13px; color: var(--ink2); margin: 8px 4px 0; }
@media (max-width: 560px) { .gp-camps, .gp-lus { grid-template-columns: 1fr; } .gp-sc { font-size: 42px; } }


/* ---------- Celular: o site vira um app ----------
   Abaixo de 760px cada parte do site é uma aba (barra flutuante embaixo, em vidro). Só a aba aberta aparece,
   então em vez de ~20 telas de rolagem cada aba tem de uma a três. A barra do topo some ao rolar para baixo e
   volta ao rolar para cima. No computador nada disso se aplica: html.app só é ligado pelo script no celular. */
.tabbar { display: none; }
html.app [data-tab]:not(.tab-on) { display: none !important; }
html.app .dock { display: none; }
html.app body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
html.app nav { position: sticky; top: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
html.app nav.away { transform: translateY(-100%); }
html.app nav .navbar { height: 56px; padding-inline: 16px; }
html.app .tabbar {
  display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 45;
  left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(10px + env(safe-area-inset-bottom, 0px)); height: 64px; padding: 5px; box-sizing: border-box; border-radius: 28px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 0 0 1px var(--line2), 0 18px 40px -18px rgba(0,0,0,.6);
}
.tabbar button { position: relative; z-index: 1; border: 0; background: none; color: var(--ink2); display: grid; justify-items: center; align-content: center;
  gap: 3px; font: 500 10.5px/1.1 var(--sans); letter-spacing: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .25s ease; }
.tabbar button[aria-current="page"] { color: var(--ink); }
.tabbar button svg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.tabbar button:active svg { transform: scale(.88); }
.tab-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 5); border-radius: 23px; background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
html.app .band { padding-block: 40px 52px; }
html.app .hero { padding-block: 36px 40px; }
html.app .hero .marquee { margin-top: 32px; }
html.app .now { margin-top: 28px; }
html.app h2 { font-size: 40px; margin-bottom: 12px; }
html.app .band .head .sub { margin-bottom: 0; }
html.app footer { padding-block: 44px 24px; }
html.app h2 { font-size: 34px; }
html.app .band .head .sub { font-size: 15px; }
/* faixas de botões que deslizam para o lado em vez de quebrar em várias linhas */
html.app #evtabs, html.app #filters { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
  max-width: none; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
html.app #evtabs { width: calc(100% + 40px); box-sizing: border-box; justify-self: stretch; align-self: stretch; background: none; box-shadow: none; padding-block: 0; gap: 6px; }
html.app #evtabs button { box-shadow: inset 0 0 0 1px var(--line2); }
html.app #evtabs::-webkit-scrollbar, html.app #filters::-webkit-scrollbar { display: none; }
html.app #evtabs button, html.app #filters .chip { flex: none; white-space: nowrap; }
html.app #legend { gap: 6px 14px; font-size: 12px; }
html.app #legend + div { height: 22px !important; }
/* Guia: os termos viram cartões para deslizar */
html.app .house { display: none; }
html.app .guide { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin-inline: -20px; padding: 4px 20px; scroll-padding-inline: 20px; }
html.app .guide::-webkit-scrollbar { display: none; }
html.app .term { flex: 0 0 76%; scroll-snap-align: start; }
/* Agenda: cartões mais enxutos */
html.app .ev { grid-template-columns: 58px 1fr auto; gap: 12px; padding: 16px; }
html.app .ev .off { display: none; }
html.app .ev h4 { font-size: 18px; }
html.app .ev .body { gap: 8px; }
html.app .ev .note { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Rodapé */
footer { padding-block: 72px; background: var(--bg); border-top: 1px solid var(--line); text-align: center; }
footer .logo { flex-direction: column; justify-content: center; gap: 14px; font-size: 32px; margin-bottom: 18px; }
footer h3 { font-size: 14px; font-weight: 500; color: var(--ink2); margin: 32px 0 12px; }
.srcs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 14px; max-width: 760px; margin: 0 auto; }
footer p { margin: 8px auto 0; max-width: 64ch; font-size: 13px; color: var(--ink2); }
footer .fstats { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
footer .fmail { margin-top: 28px; font-size: 14px; }
footer .fnote { margin-top: 36px; }

@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menubtn span { display: none; }
  .nat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .nat { padding: 14px 16px; border-radius: 18px; }
  .nat b { font-size: 20px; }
  .ls th, .ls td { padding: 5px 4px; min-width: 19px; }
  .ls td:first-child, .ls th:first-child { padding-right: 8px; }
  .ls td.tot, .ls th.tot { padding-left: 8px; }
  .qph, #q { font-size: 17px; }
  .qph { left: 50px; }
  .band { padding-block: 64px; }
  .hero { padding-block: 56px 64px; }
  .now { margin-top: 44px; }
  .tile, .card { padding: 24px; border-radius: 22px; }
  .li { grid-template-columns: 84px 1fr; padding: 14px 16px; }
  .li .side { grid-column: 2; display: flex; gap: 12px; align-items: center; }
  .game { grid-template-columns: 1fr 56px 1fr; padding: 13px 14px; gap: 8px; }
  .game .a { grid-column: 1; }
  .game .st { grid-column: 1 / -1; display: flex; justify-content: center; gap: 12px; }
  .game .st:empty { display: none; }
  .cc { display: none; }
  .ev { grid-template-columns: 64px 1fr; gap: 14px; position: relative; padding: 20px 16px; }
  .ev .body { padding-right: 28px; }
  .ev .star { position: absolute; top: 16px; right: 10px; }
  .date b { font-size: 28px; }
}
