/* MUFAD — public UI. Minimal black & white; green only for reward / win / live. Mobile-first. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a0a0a;
  --ink-2: #404040;
  --muted: #737373;
  --line: #e5e5e5;
  --line-2: #d4d4d4;
  --soft: #f5f5f5;
  --bg: #ffffff;
  --accent: #16a34a;
  --accent-soft: #f0fdf4;
  --bad: #dc2626;
  --bad-soft: #fef2f2;
  --warn: #a16207;
  --warn-soft: #fefce8;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px -8px rgba(0, 0, 0, .1);
  --gutter: 16px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { flex: 1; position: relative; z-index: 1; animation: fade-in .3s var(--ease) both; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.i { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Subtle animated background (neutral, decorative) */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background-image: radial-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.blob-1 { width: 480px; height: 480px; top: -220px; left: 50%; margin-left: -240px; background: radial-gradient(circle, rgba(22, 163, 74, .10), transparent 65%); animation: drift 30s ease-in-out infinite alternate; }
.blob-2, .blob-3, .dot { display: none; }
@keyframes drift { from { transform: translateX(-120px); } to { transform: translateX(120px); } }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { width: 100%; max-width: 680px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.xs { width: 100%; max-width: 460px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.page { padding-top: 28px; padding-bottom: 48px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.accent { color: var(--accent); }

/* Type */
.h1 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.h2 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.h3 { font-size: 17px; font-weight: 650; }
.kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker-accent { color: var(--accent); }
.label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.link { font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.link .i { width: 15px; height: 15px; }
.text-link { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease), opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .i { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled], .btn.is-loading { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary, .btn-gold { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: #262626; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-cta { width: 100%; }
.btn + .btn { margin-top: 10px; }
@media (min-width: 640px) { .btn-cta { width: auto; min-width: 220px; } }

/* Header (no footer on this site — secondary links live in the menu) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-word { font-weight: 800; font-size: 15px; letter-spacing: .2em; }
.brand img { height: 28px; width: auto; }
.nav { display: none; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.header-end { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); transition: background .15s; cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 19px; height: 19px; }
.menu { position: static; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 21px; height: 21px; }
.menu[open] summary { background: var(--soft); }
.menu-panel { position: absolute; right: var(--gutter); top: calc(var(--header-h) - 6px); width: min(260px, calc(100vw - 2 * var(--gutter))); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .2); padding: 6px; animation: fade-in .18s var(--ease); }
.menu-panel a { display: flex; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 500; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--soft); }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menu-panel .socials { padding: 6px 8px 4px; }
.menu-panel .fine-print { padding: 4px 12px 6px; font-size: 11px; color: var(--muted); }
.nav-mobile-only { display: flex; }
@media (min-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: flex; }
  .nav-mobile-only { display: none; }
}

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card-hover { transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.card-hover:hover { border-color: var(--line-2); transform: translateY(-1px); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.badge-live, .badge-ok { background: var(--accent-soft); color: var(--accent); }
.badge .i { width: 13px; height: 13px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--ink); flex: none; }
.ic .i, .ic svg { width: 20px; height: 20px; }
.ic-accent, .ic-ok { background: var(--accent-soft); color: var(--accent); }
.ic-bad { background: var(--bad-soft); color: var(--bad); }
.ic-lg { width: 56px; height: 56px; border-radius: 50%; }
.ic-lg .i { width: 26px; height: 26px; }

/* Home */
.home { padding-top: 40px; padding-bottom: 48px; }
.home-card { text-align: center; padding: 28px 22px; }
.home-card .h1 { margin-top: 12px; }
.reward-value { font-size: 34px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.home-card .reward-value { margin: 14px 0 6px; }
.meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.flow { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.flow span { display: inline-flex; align-items: center; gap: 6px; }
.flow .i { width: 14px; height: 14px; color: var(--line-2); }
.empty-state { text-align: center; padding: 28px 20px; }
.empty-state .ic { margin: 0 auto 12px; }
.empty-state p { color: var(--muted); margin-top: 6px; }
.empty-state .btn { margin-top: 18px; }

/* Challenge */
.challenge-head { text-align: center; margin-bottom: 16px; }
.challenge-head .h1 { margin-top: 10px; }
.challenge-head p { color: var(--muted); margin-top: 2px; font-size: 14px; }
.card.challenge-card { padding: 0; overflow: hidden; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.stat { padding: 14px 18px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-row-3 { grid-template-columns: 1.2fr 1fr 1fr; }
.stat-row-3 .stat { padding-left: 14px; padding-right: 10px; }
.stat-row-3 .stat strong { font-size: 18px; }
.stat strong { display: block; margin-top: 2px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat strong small { font-size: 14px; font-weight: 500; color: var(--muted); }
.card-body { padding: 20px 18px; }
.card-body + .card-body { border-top: 1px solid var(--line); }
.hint-line { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* 12-number picker (grid = the answer input) */
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.num { position: relative; height: 58px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 21px; font-weight: 650; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .12s; animation: reveal .35s var(--ease) both; -webkit-tap-highlight-color: transparent; }
.num:nth-child(n+5) { animation-delay: .05s; } .num:nth-child(n+9) { animation-delay: .1s; }
.num:hover { border-color: var(--ink); }
.num:active { transform: scale(.96); }
.num[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.num .order { position: absolute; top: 5px; right: 7px; font-size: 11px; font-weight: 700; line-height: 1; color: #86efac; }
.num:disabled { cursor: default; }
@keyframes reveal { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 420px; margin: 18px auto 0; }
.slot { height: 44px; border-radius: 10px; border: 1px dashed var(--line-2); display: grid; place-items: center; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--muted); background: var(--soft); transition: all .15s; }
.slot.filled { border-style: solid; border-color: var(--ink); background: #fff; color: var(--ink); animation: pop-in .2s var(--ease); }
@keyframes pop-in { from { transform: scale(.9); } to { transform: none; } }
.slots-row { display: flex; align-items: center; justify-content: space-between; max-width: 420px; margin: 16px auto 0; }
.clear-btn { border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.clear-btn:hover { color: var(--ink); background: var(--soft); }
.nojs-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; margin: 16px auto 0; }
.nojs-pick select { height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 6px; background: #fff; }
.captcha-box { display: flex; justify-content: center; min-height: 65px; margin: 18px 0 14px; }
.submit-row { display: flex; justify-content: center; }
.fine { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.fine a { color: var(--ink-2); }

/* Digit boxes (redeem code) */
.digits { border: 0; margin: 0 auto; padding: 0; min-width: 0; }
.digits legend { width: 100%; padding: 0; margin-bottom: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.digit-row { display: grid; gap: 6px; justify-content: center; grid-template-columns: repeat(6, minmax(0, 48px)); }
.digit { width: 100%; aspect-ratio: 1 / 1; min-width: 0; text-align: center; font-size: 20px; font-weight: 650; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-variant-numeric: tabular-nums; caret-color: var(--ink); transition: border-color .15s, box-shadow .15s; padding: 0; }
.digit:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.digit.filled { border-color: var(--ink); }
.digit::placeholder { color: #d4d4d4; }
.digit:focus::placeholder { color: transparent; }
@media (min-width: 480px) { .digit-row { gap: 8px; } }

/* Alerts */
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; border: 1px solid transparent; text-align: left; animation: fade-in .25s var(--ease) both; }
.alert .i { width: 18px; height: 18px; margin-top: 1px; }
.alert strong { font-weight: 650; }
.alert-bad { background: var(--bad-soft); border-color: #fecaca; color: #b91c1c; }
.alert-warn { background: var(--warn-soft); border-color: #fde68a; color: var(--warn); }
.alert-ok { background: var(--accent-soft); border-color: #bbf7d0; color: #15803d; }

/* Results */
.result { text-align: center; padding: 28px 20px; }
.result .ic-lg { margin: 0 auto 14px; }
.result .h2 { margin-bottom: 4px; }
.result .btn { margin-top: 18px; }
.result-win { animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.result .reward-value { margin: 14px 0 2px; }
.result .label { margin-top: 16px; }
.code-box { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.code-box code { flex: 1; min-width: 0; text-align: left; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; font-weight: 600; letter-spacing: .03em; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; flex: none; }
.copy-btn .i { width: 15px; height: 15px; }
.copy-btn.copied { background: var(--accent); border-color: var(--accent); }
.result-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.result-safety { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* Claim: progress tracker, status, popup form */
.track { list-style: none; margin: 20px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.track::before { content: ""; position: absolute; top: 13px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); }
.track li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.track li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: 12px; color: var(--muted); }
.track li span .i { width: 14px; height: 14px; }
.track li.done { color: var(--ink); }
.track li.done span { background: var(--accent); border-color: var(--accent); color: #fff; }
.track li.current { color: var(--ink); }
.track li.current span { border-color: var(--ink); color: var(--ink); }
.status-box { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); text-align: left; font-size: 14px; }
.status-box strong { display: flex; align-items: center; gap: 8px; }
.status-box strong .i { width: 17px; height: 17px; }
.status-box span { color: var(--muted); font-size: 13px; padding-left: 25px; }
.status-paid { background: var(--accent-soft); border-color: #bbf7d0; }
.status-paid strong { color: #15803d; }
.dialog { width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 16px; padding: 0; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); color: var(--ink); }
.dialog::backdrop { background: rgba(10, 10, 10, .45); backdrop-filter: blur(2px); }
.dialog[open] { animation: pop .22s var(--ease) both; }
.dialog-body { padding: 18px 20px 20px; display: grid; gap: 12px; text-align: left; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .07); }
.field input[readonly] { background: var(--soft); color: var(--ink-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; }
.dialog .btn { margin-top: 4px; }
.dialog .fine { margin-top: 0; }

/* Inner pages */
.page-head { text-align: center; margin-bottom: 20px; }
.prose { color: var(--ink-2); font-size: 14px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 10px; }
.prose h2 { font-size: 15px; font-weight: 650; color: var(--ink); margin: 20px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 8px 0; }
.prose li + li { margin-top: 4px; }

.list { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: none; }
.list-main { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.list-main strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-main small { color: var(--muted); font-size: 13px; }
.list-end { text-align: right; display: grid; gap: 3px; justify-items: end; }
.list-end strong { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.winner-grid { display: grid; gap: 10px; }
.winner-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
@media (min-width: 640px) { .winner-grid { grid-template-columns: 1fr 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.step .ic { width: 40px; height: 40px; }
.step-title { display: flex; align-items: baseline; gap: 6px; font-weight: 650; font-size: 15px; }
.step-title small { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.step p { color: var(--muted); font-size: 13px; }

.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 17px; height: 17px; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--ink); }
.faq details p { padding: 0 16px 14px; color: var(--ink-2); font-size: 14px; }

.contact-list { display: grid; gap: 8px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; }

.socials { display: flex; gap: 6px; flex-wrap: wrap; }
.social { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; transition: color .15s, border-color .15s; }
.social svg { width: 15px; height: 15px; }
.social:hover { color: var(--ink); border-color: var(--ink); }

/* Ads (labelled, never near inputs) */
.ad { margin-top: 20px; }
.ad-label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-body { display: grid; gap: 8px; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.ad-body img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
.ad-text { display: grid; gap: 2px; padding: 0 14px; font-size: 14px; }
.ad-text span { color: var(--muted); }
.ad-body > .ad-text:first-child { padding-top: 12px; }
.ad-cta { font-weight: 600; font-size: 14px; padding: 0 14px 12px; }
.ad-body > :last-child:not(.ad-cta):not(img) { padding-bottom: 12px; }
.ad-compact { margin-top: 10px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.ad-compact .ad-label { margin: 0; }
.ad-strip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 13px; }
.ad-strip img { height: 22px; width: auto; }

.debug { text-align: left; white-space: pre-wrap; background: var(--soft); padding: 12px; border-radius: 8px; font-size: 12px; overflow: auto; margin-top: 16px; }

/* Tablet / desktop */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  .h1 { font-size: 30px; }
  .h2 { font-size: 22px; }
  .card { padding: 24px; }
  .card-body { padding: 24px 28px; }
  .stat { padding: 16px 28px; }
  .page { padding-top: 44px; padding-bottom: 64px; }
  .home { padding-top: 64px; }
  .home-card { padding: 36px 32px; }
  .num { height: 64px; font-size: 23px; }
  .reward-value { font-size: 38px; }
  .slot { height: 48px; }
}
@media (min-width: 1024px) {
  .h1 { font-size: 34px; }
  .home { padding-top: 80px; }
}
@media (max-width: 359px) {
  :root { --gutter: 10px; }
  .num { height: 52px; font-size: 18px; }
  .pick-grid { gap: 6px; }
  .slots { gap: 4px; }
  .slot { height: 40px; font-size: 14px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 18px; }
  .card-body { padding: 16px 12px; }
  .captcha-box { margin-left: -10px; margin-right: -10px; }
  .digit-row { gap: 5px; }
  .reward-value { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .blob { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
