/* Site público lotosmart.com.br (templates/site). Tokens do app (lib/theme/app_theme.dart). */
:root {
  --paper: #F4F6F5;
  --surface: #FFFFFF;
  --ink: #17231E;
  --muted: #56635E;
  --line: #DDE3E0;
  --green: #359566;
  --green-2: #238A59;
  --forest: #0F3D2A;
  --forest-2: #0B2F20;
  --lime: #D7E65A;
  --gold: #FFB300;
  --virada-gold: #FFCF4A;
  --virada-gold-2: #F5A623;
  --lotofacil: #930089; --megasena: #209869; --quina: #260085; --lotomania: #F78100;
  --maismilionaria: #2E3078; --duplasena: #A61324; --timemania: #00A650; --diadesorte: #CB852B; --supersete: #8DB43A;
  --wrap: 1180px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.55; color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 850; }
h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); max-width: 56ch; }
.num, .ball { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }

/* ---------- cabeçalho ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: flex; gap: 22px; flex: 1; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: #33413B; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--green-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent; font-size: 15.5px; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; } .btn-primary:hover { background: var(--green-2); }
.btn-ghost { border-color: var(--line); background: #fff; } .btn-ghost:hover { border-color: #B9C5C0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-gold { background: linear-gradient(90deg, var(--virada-gold), var(--virada-gold-2)); color: #2B1A00; }
.btn img { width: 22px; height: 22px; }
.menu-btn { display: none; }

/* ---------- hero: o resultado é o protagonista ---------- */
.hero { background: var(--paper); padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin: 18px 0 28px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.search { display: flex; margin-top: 26px; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.search select, .search input { border: 0; font: inherit; padding: 0 14px; min-height: 50px; background: transparent; }
.search select { border-right: 1px solid var(--line); font-weight: 650; cursor: pointer;
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356635E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 14px; }
.search input { flex: 1; min-width: 0; }
.search button { border: 0; background: var(--ink); color: #fff; font-weight: 700; padding: 0 18px; cursor: pointer; }

.draw-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(15,61,42,.35); overflow: hidden; }
.draw-card .head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.draw-card .head img { width: 38px; height: 38px; }
.draw-card .head div { flex: 1; }
.draw-card .head b { display: block; font-size: 17px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--green-2); background: #E8F5E9; padding: 3px 10px; border-radius: 99px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.draw-card .body { padding: 22px; }
.balls { display: flex; flex-wrap: wrap; gap: 8px; }
.ball { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; background: var(--c, var(--green)); }
.ball.sm { width: 32px; height: 32px; font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.facts div { background: #fff; padding: 14px 22px; }
.facts b { display: block; font-size: 20px; font-weight: 800; }
.facts span { font-size: 13px; color: var(--muted); }
.draw-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; background: color-mix(in srgb, var(--c) 7%, #fff); font-size: 14px; }
.draw-card .foot b { color: var(--c); }

/* ---------- faixa de loterias ---------- */
.lotteries { padding: 64px 0; }
.community { padding: 64px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cm-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0 0 24px; }
.cm-stats div { display: flex; flex-direction: column-reverse; }
.cm-stats dt { font-size: 14px; color: var(--muted); }
.cm-stats dd { margin: 0; font-size: 24px; font-weight: 800; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.cm-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.cm-card h3 { font-size: 19px; font-weight: 800; }
.cm-card > .muted { font-size: 14px; }
.cm-balls { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; padding: 0; margin: 6px 0 4px; }
.cm-balls li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cm-share { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cm-link { margin-top: auto; font-weight: 700; color: var(--green-dark, #1F6B47); }
.cm-people ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cm-people li { display: flex; align-items: center; gap: 12px; }
.cm-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; color: #fff; background: var(--green); }
.cm-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cm-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-name small { font-size: 13px; color: var(--muted); }
.cm-people .btn-sm { min-height: 40px; padding: 0 16px; }
.cm-note { margin-top: 18px; font-size: 13px; }
.sec-head { display: flex; align-items: end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head div { flex: 1; min-width: 280px; }
.sec-head p { margin-top: 8px; }
.lot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lot { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: #fff; transition: border-color .15s; }
.lot:hover { border-color: var(--c); }
.lot img { width: 44px; height: 44px; grid-row: span 2; }
.lot .t { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.lot .t b { font-size: 16.5px; }
.lot .t span { font-size: 13px; color: var(--muted); }
.lot .balls { gap: 5px; grid-column: 2; }
.lot .next { grid-column: 2; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.lot .next b { color: var(--c); }

/* ---------- recursos com prints reais ---------- */
.features { background: var(--forest); color: #E3F1EA; padding: 80px 0; }
.features h2 { color: #fff; }
.features .lead { color: #AFCFBF; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 64px; }
.feat:nth-of-type(even) .shot { order: 2; }
.feat .shot { display: flex; justify-content: center; position: relative; }
.feat .shot img { width: 300px; border-radius: 30px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); }
.feat .shot::before { content: ""; position: absolute; inset: 10% 18%; background: radial-gradient(closest-side, rgba(215,230,90,.18), transparent); z-index: -1; }
.feat h3 { font-size: 28px; color: #fff; letter-spacing: -0.02em; }
.feat p { margin-top: 14px; color: #BFDCCD; max-width: 46ch; font-size: 17px; }
.feat ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feat li { display: flex; gap: 10px; color: #E3F1EA; }
.feat li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; background: var(--lime); box-shadow: inset 0 0 0 4px var(--forest), inset 0 0 0 9px var(--lime); }

/* ---------- web + app ---------- */
.everywhere { padding: 80px 0; background: var(--paper); }
.everywhere .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 60px -32px rgba(15,61,42,.4); }
.browser .bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #EEF2F0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5D1; }
.browser .bar span { margin-left: 10px; background: #fff; border-radius: 6px; padding: 2px 10px; }
.browser iframe { width: 1280px; height: 800px; border: 0; transform: scale(.48); transform-origin: 0 0; display: block; }
.browser .vp { width: calc(1280px * .48); height: calc(800px * .48); overflow: hidden; max-width: 100%; }
.store { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- planos ---------- */
.pricing { padding: 80px 0; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; background: #fff; position: relative; }
.plan.best { border: 2px solid var(--green); padding: 23px 21px; background: linear-gradient(180deg, #F1F8F4, #fff 60%); }
.plan .flag { position: absolute; top: -12px; left: 20px; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 750; padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-size: 17px; }
.plan .was { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-top: 8px; }
.plan .price { font-size: 38px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { font-size: 13.5px; color: var(--muted); min-height: 21px; }
.plan .btn { margin-top: 16px; }
.free-line { margin-top: 18px; padding: 16px 20px; border-radius: 14px; background: var(--paper); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.free-line p { flex: 1; min-width: 260px; }
.pay-logos { display: flex; align-items: center; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; }
.pay-logos img { height: 22px; width: auto; }

/* ---------- responsabilidade e FAQ ---------- */
.responsible { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); }
.responsible .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.facts-list { display: grid; gap: 18px; }
.facts-list div { padding-left: 18px; border-left: 3px solid var(--green); }
.facts-list b { display: block; margin-bottom: 2px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--green-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* ---------- rodapé ---------- */
.foot { background: var(--forest-2); color: #AFCFBF; padding: 56px 0 36px; font-size: 14.5px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; } .foot a:hover { color: #fff; }
.foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; display: grid; gap: 8px; }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #AFCFBF; font-weight: 800; font-size: 12.5px; color: #fff; margin-top: 16px; }

/* ---------- página de concurso (SEO) ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.page-head { padding: 18px 0 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.page-head img { width: 64px; height: 64px; }
.page-head > div:nth-child(2) { flex: 1; min-width: min(100%, 460px); }
.page-head h1 { font-size: clamp(28px, 3.4vw, 42px); }
.draw-nav { display: flex; gap: 8px; }
.result-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-bottom: 64px; align-items: start; }
.box { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: #fff; }
.box + .box { margin-top: 18px; }
.box h2 { font-size: 21px; margin-bottom: 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; color: var(--muted); font-weight: 600; font-size: 13px; padding: 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
table.t tr:last-child td { border-bottom: 0; }
table.t .n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats4 div { background: var(--paper); border-radius: 12px; padding: 14px; }
.stats4 b { display: block; font-size: 22px; font-weight: 800; }
.stats4 span { font-size: 13px; color: var(--muted); }
.cta-box { background: var(--forest); color: #E3F1EA; border: 0; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #BFDCCD; margin-bottom: 16px; }
.cta-box .btn + .btn { margin-top: 10px; }
.side-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.side-list a:last-child { border-bottom: 0; }
.side-list a:hover b { color: var(--green-2); }
.note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ---------- carrossel de destaques (home) ---------- */
.banners { position: relative; background: var(--forest, #01290C); color: #EAF6EF; }
.bn-track { position: relative; height: 440px; overflow: hidden; }
.bn { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.bn.on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.bn-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.bn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,41,12,.92) 0%, rgba(1,41,12,.6) 42%, rgba(1,41,12,0) 68%); pointer-events: none; }
.bn-body { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 24px; padding-bottom: 64px; }
.bn-body > * { max-width: 560px; }
.bn-kicker { font-weight: 750; font-size: 15px; color: var(--virada-gold); margin: 0 0 8px; }
.bn-webapp .bn-kicker, .bn-android .bn-kicker { color: #D7E65A; }
.bn-title { font-size: clamp(30px, 4.2vw, 54px); font-weight: 900; line-height: 1.04; letter-spacing: -0.03em; color: #fff; margin: 0; }
.bn-text { font-size: 17px; line-height: 1.5; color: #C6E5D4; margin: 14px 0 22px; }
.bn-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lime { background: #D7E65A; color: #01290C; } .btn-lime:hover { background: #E3EF7C; }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); } .btn-on-dark:hover { background: rgba(255,255,255,.12); }
.bn-nav { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.bn-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(1,41,12,.55); color: #fff; display: inline-grid; place-items: center; cursor: pointer; }
.bn-btn:hover { background: rgba(255,255,255,.14); }
.bn-btn:focus-visible, .bn-dots button:focus-visible { outline: 3px solid #D7E65A; outline-offset: 2px; }
.bn-pause[aria-pressed="true"] svg { opacity: .6; }
.bn-dots { display: flex; gap: 2px; }
.bn-dots button { width: 28px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.bn-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.4); transition: width .2s, background .2s; }
.bn-dots button[aria-current="true"]::before { width: 22px; background: #D7E65A; }
@media (prefers-reduced-motion: reduce) { .bn, .bn.on { transition: none; } }
.countdown { display: flex; gap: 10px; margin: 0 0 24px; }
.countdown div { background: rgba(0,0,0,.28); border: 1px solid rgba(255,207,74,.35); border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 72px; }
.countdown b { display: block; font-size: 26px; color: var(--virada-gold); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12.5px; color: #C6E5D4; }

/* ---------- responsivo ---------- */
@media (max-width: 1023px) {
  .top nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; }
  .top .btn-primary { display: none; }
  .hero .wrap, .everywhere .wrap, .responsible .wrap, .result-layout { grid-template-columns: 1fr; }
  .lot-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr; gap: 28px; }
  .feat:nth-of-type(even) .shot { order: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .wrap { padding: 0 18px; }
  .top .wrap { height: 62px; } .top .logo img { height: 34px; }
  .top .btn-ghost { display: none; }
  .top .wrap { gap: 10px; }
  .top .top-entrar { display: inline-flex; min-height: 44px; padding: 0 16px; font-size: 15px; }
  .draw-card .live { display: none; }
  .draw-card .head, .draw-card .body { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 32px 0 40px; }
  .hero .wrap { gap: 32px; }
  .lead { font-size: 17px; }
  .ball { width: 38px; height: 38px; font-size: 14.5px; }
  .facts div { padding: 12px 14px; } .facts b { font-size: 17px; }
  .lot-grid, .plans, .foot .cols { grid-template-columns: 1fr; }
  .stats4 { grid-template-columns: 1fr 1fr; }
  .features, .pricing, .everywhere { padding: 56px 0; }
  .feat .shot img { width: 240px; }
  .feat h3 { font-size: 23px; }
  .countdown div { min-width: 0; flex: 1; padding: 8px; }
  .bn-track { height: auto; min-height: 0; display: grid; }
  .bn { position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column; }
  .bn-art { position: relative; flex: 1 1 190px; height: auto; min-height: 190px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .bn { background: #01290C; }
  .bn::after { content: none; }
  .bn-body { height: auto; flex: none; padding-top: 0; padding-bottom: 76px; margin-top: -8px; }
  .bn-text { font-size: 16px; margin: 10px 0 18px; }
  .bn-ctas .btn { flex: 1 1 auto; }
  .search { flex-wrap: wrap; } .search select { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- app web (app.lotosmart.com.br) ---------- */
.webapp { padding: 80px 0 56px; }
.webapp-head { display: flex; gap: 32px; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 30px; }
.webapp-head > div:first-child { max-width: 640px; }
.webapp-ctas { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.browser.big .vp { width: 100%; max-width: none; height: auto; }
.browser.big iframe { width: 1280px; height: 800px; transform-origin: 0 0; pointer-events: none; }
.webapp-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.webapp-points li { border-top: 3px solid var(--green); padding-top: 14px; }
.webapp-points b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.webapp-points span { color: var(--muted); font-size: 15px; }

/* ---------- carrossel de prints ---------- */
.shots { background: var(--forest); color: #E3F1EA; padding: 72px 0 56px; }
.shots h2 { color: #fff; } .shots .lead { color: #AFCFBF; }
.car-nav { display: flex; gap: 10px; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.car-btn:hover { background: rgba(215,230,90,.18); border-color: var(--lime); }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(28px, calc((100vw - var(--wrap)) / 2 + 28px));
  padding: 6px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 18px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: none; width: 260px; margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 738 / 1538; object-fit: cover; object-position: top; border-radius: 24px; border: 6px solid #07140E; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); background: #fff; }
.slide figcaption { margin-top: 14px; font-size: 14.5px; color: #BFDCCD; }
.slide figcaption b { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.car-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .2s; }
.car-dots i.on { width: 24px; background: var(--lime); }
@media (max-width: 1023px) { .webapp-points { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
  .webapp { padding: 48px 0 40px; }
  .slide { width: 220px; }
  .carousel { scroll-padding-left: 18px; padding-left: 18px; padding-right: 18px; }
  .car-nav { display: none; }
}

/* ---------- prova social (total de usuários vindo de /system-config/public) ---------- */
.proof { display: flex; gap: 0; margin: 26px 0 0; max-width: 600px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.proof div { flex: 1; padding: 12px 16px; display: flex; flex-direction: column-reverse; }
.proof div + div { border-left: 1px solid var(--line); }
.proof dd { margin: 0; white-space: nowrap; font-size: 18px; font-weight: 850; letter-spacing: -0.01em; color: var(--ink); }
.proof dt { font-size: 13px; color: var(--muted); }
@media (max-width: 599px) { .proof { flex-direction: column; } .proof div + div { border-left: 0; border-top: 1px solid var(--line); } .proof div { flex-direction: row-reverse; justify-content: flex-end; gap: 8px; align-items: baseline; } }

/* ---------- produção: menu do celular e estados vazios ---------- */
.top nav .menu-only { display: none; }
@media (max-width: 1023px) {
  .top.open nav .menu-only { display: block; }
  .top.open nav .menu-app { color: var(--green-2); font-weight: 750; }
  .top .top-entrar { margin-left: auto; }
  .top .top-entrar ~ .menu-btn { margin-left: 0; }
  .top.open nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 28px 16px; }
  .top.open nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .top.open nav a:last-child { border-bottom: 0; }
}
.webapp-shot { border-radius: 0 0 14px 14px; width: 100%; height: auto; }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); background: #fff; }
.lot .balls .more { font-size: 13px; color: var(--muted); align-self: center; }
.res-index .lot-grid { margin-top: 28px; }

/* Selo oficial do Google Play: altura fixa, largura pela proporção (239 × 71), nunca esticado. */
.play-badge { display: inline-flex; flex: none; height: 48px; border-radius: 9px; line-height: 0; text-decoration: none; }
.play-badge img { display: block; width: auto; height: 100%; border-radius: 8px; }
.play-badge:focus-visible { outline: 3px solid #D7E65A; outline-offset: 3px; }
.play-badge-lg { height: 52px; }
.play-badge-box { margin-top: 12px; height: 46px; }
.play-badge-foot { height: 40px; margin-top: 4px; }
.play-badge-foot img, .bn .play-badge img, .cta-box .play-badge img { outline: 1px solid rgba(255,255,255,.22); outline-offset: -1px; }

/* ---------- estatísticas e conferir jogo ---------- */
@media (min-width: 1024px) and (max-width: 1140px) { .top nav .nav-conferir { display: none; } }
/* Sem isto, a tabela larga estica a página no celular em vez de rolar. */
[data-page="estatisticas"] .result-layout > *, [data-page="conferir"] .result-layout > * { min-width: 0; }
[data-page="estatisticas"] .page-head .muted, [data-page="conferir"] .page-head .muted { margin-top: 10px; }
/* Celular: dezena e valor lado a lado. Tela larga: 5 por linha. */
.rank { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 14px 0 0; }
.rank li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.rank .ball { flex: none; width: 40px; height: 40px; }
.rank + .note { margin-top: 18px; }
@media (min-width: 700px) {
  .rank { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 10px; }
  .rank li { flex-direction: column; gap: 6px; text-align: center; }
}
.mini { margin: 20px 0 12px; }
.page-links { margin-top: 18px; } .page-links a { font-weight: 700; color: var(--green-2); }
.table-scroll { overflow-x: auto; }
.table-scroll table.t { min-width: 560px; }
/* A dezena fica à vista enquanto a tabela rola para o lado. */
.table-scroll tbody th, .table-scroll thead th:first-child { position: sticky; left: 0; background: var(--surface); }
table.t tbody th { color: var(--ink); font-weight: 800; font-size: 15px; }
table.t thead th.n { text-align: right; font-weight: 600; }
.checker { display: grid; gap: 8px; justify-items: start; }
.checker label { font-weight: 700; }
.checker select, .checker input[type="text"] { width: 100%; max-width: 460px; min-height: 48px; padding: 0 14px; border: 1px solid #7C8A84; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.checker :focus-visible { outline-color: var(--green-2); }
.checker input[aria-invalid="true"] { border-color: #B3261E; }
.checker .note { margin: 0; }
.checker button[disabled] { opacity: .5; cursor: default; }
.ck-error { color: #B3261E; font-weight: 650; } .ck-error:empty { display: none; }
.ck-result:not(:empty) { margin-top: 20px; }
.ck-count { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.ck-draw + .ck-draw { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ck-draw .balls { margin-top: 8px; }
.cta-more { margin: 14px 0 0; } .cta-more a { color: #fff; }
@media (max-width: 520px) { .checker .btn { width: 100%; } }
