/*
 * Prize Bond Checker website styles. No framework, no build step.
 *
 * Colours are tokens on :root; [data-theme="dark"] (set by i18n.js) swaps them.
 * Sections: base, buttons/forms, public site (nav, hero, sections, pricing,
 * FAQ, footer), auth pages, dashboard shell (sidebar, top bar, tab bar),
 * dashboard widgets, bonds, results, wins, checkout, modals, animations, print.
 * The page's CSP blocks inline style="", so dynamic sizes are set by site.js
 * through element.style (data-style attributes).
 */

@font-face { font-family: 'Hind Siliguri'; src: url('/fonts/HindSiliguri-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hind Siliguri'; src: url('/fonts/HindSiliguri-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Hind Siliguri'; src: url('/fonts/HindSiliguri-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #f3f7f5;
  --bg-soft: #e9f2ed;
  --surface: #ffffff;
  --surface-2: #f7faf8;
  --ink: #0d1f16;
  --ink-2: #33473c;
  --muted: #64766c;
  --line: #e1ebe5;
  --line-2: #cfded5;
  --brand: #0b7a4b;
  --brand-2: #12a364;
  --brand-3: #34d399;
  --brand-ink: #ffffff;
  --brand-soft: #e3f5ec;
  --brand-deep: #053d26;
  --gold: #f59e0b;
  --gold-2: #fbbf24;
  --gold-soft: #fff6e0;
  --gold-ink: #7a4a00;
  --red: #dc2626;
  --red-soft: #fdecec;
  --blue-soft: #e8f0ff;
  --shadow-sm: 0 1px 2px rgba(13, 31, 22, 0.06), 0 1px 3px rgba(13, 31, 22, 0.05);
  --shadow: 0 10px 30px -12px rgba(13, 31, 22, 0.18), 0 2px 6px rgba(13, 31, 22, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(5, 61, 38, 0.35);
  --glass: rgba(255, 255, 255, 0.72);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --side: 264px;
  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #06110b;
  --bg-soft: #0a1a12;
  --surface: #0e1d15;
  --surface-2: #12251b;
  --ink: #e6f2eb;
  --ink-2: #c3d6cb;
  --muted: #8ea398;
  --line: #1b3126;
  --line-2: #26402f;
  --brand: #22c57a;
  --brand-2: #34d399;
  --brand-3: #6ee7b7;
  --brand-ink: #03140b;
  --brand-soft: #0f2d1f;
  --brand-deep: #021a10;
  --gold-soft: #2b2108;
  --gold-ink: #fcd34d;
  --red: #f87171;
  --red-soft: #2c1414;
  --blue-soft: #10203a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --glass: rgba(14, 29, 21, 0.72);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 0.8em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--brand) 25%, transparent); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.sm { width: 16px; height: 16px; }
.i.lg { width: 26px; height: 26px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack { display: grid; gap: 14px; }
.grow { flex: 1; min-width: 0; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ------------------------------------------------------------------ buttons & forms */

.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: var(--brand-ink); font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none !important;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--brand) 75%, transparent); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn.busy::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.block { width: 100%; }
.btn.lg { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; border-radius: 16px; }
.btn.sm { min-height: 40px; padding: 6px 14px; font-size: 0.92rem; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn.soft { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.btn.soft:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 40%, transparent); }
.btn.white { background: #fff; color: #064e32; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35); }
.btn.glass { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; box-shadow: 0 10px 24px -10px rgba(245, 158, 11, 0.8); }
.btn.danger { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; box-shadow: 0 10px 24px -12px rgba(220, 38, 38, 0.8); }
.btn.danger-ghost { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red) 45%, transparent); }
.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--muted); cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s;
}
.iconbtn:hover { background: var(--surface-2); color: var(--ink); }
.iconbtn:active { transform: scale(0.94); }
.iconbtn.del:hover { background: var(--red-soft); color: var(--red); }
.linkbtn { background: none; border: 0; color: var(--brand); font-weight: 600; cursor: pointer; padding: 6px; display: inline-flex; align-items: center; gap: 6px; }

.field { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); }
.field small { font-weight: 400; color: var(--muted); }
input:not([type='checkbox']):not([type='radio']), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 1rem; font-weight: 400;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
textarea { resize: vertical; line-height: 1.7; font-variant-numeric: tabular-nums; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
input:disabled { background: var(--surface-2); color: var(--muted); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.inputwrap { position: relative; }
.inputwrap > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.inputwrap > input:not([type='checkbox']):not([type='radio']) { padding-left: 44px; }
.inputwrap > input:not([type='checkbox']):not([type='radio']):has(+ .peek) { padding-right: 52px; }
.inputwrap > .peek { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.code { text-align: center; font-size: 1.8rem !important; letter-spacing: 0.5em; font-weight: 700; padding-left: 0.5em !important; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 0; }

.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 30px; background: var(--line-2); transition: background 0.2s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(22px); }

.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; min-height: 40px; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: 0.8rem; font-weight: 600; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.badge.gold { background: var(--gold-soft); color: var(--gold-ink); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.gray { background: var(--surface-2); color: var(--muted); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.pulse .dot { animation: pulse 1.6s infinite; }

.note { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.note > .i { margin-top: 3px; }
.note.ok { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.note.warn { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold-ink); }
.note.err { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 30%, transparent); color: var(--red); }
.note ul { margin: 6px 0 0; padding-left: 18px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 18px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-h h2, .card-h h3 { margin: 0; }

/* chips of winning numbers */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; transition: transform 0.2s var(--ease);
}
.chip.hit { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; border-color: transparent; box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.8); animation: pop 0.5s var(--ease); }
.chip.dim { opacity: 0.35; }
.rank { padding: 14px 0; border-top: 1px dashed var(--line-2); }
.rank:first-child { border-top: 0; padding-top: 0; }
.rank .head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; }
.rank .head b { display: inline-flex; align-items: center; gap: 8px; }
.medal { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.8rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #94a3b8, #64748b); flex: none; }
.r1 .medal { background: linear-gradient(135deg, #fcd34d, #d97706); }
.r2 .medal { background: linear-gradient(135deg, #e5e7eb, #9ca3af); color: #1f2937; }
.r3 .medal { background: linear-gradient(135deg, #fdba74, #c2410c); }
.r4 .medal { background: linear-gradient(135deg, #6ee7b7, #059669); }
.r5 .medal { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.r1 .chip { font-size: 1.15rem; padding: 8px 16px; }

/* ------------------------------------------------------------------ public site */

.pub { min-height: 100vh; display: flex; flex-direction: column; }
.pub > main { flex: 1; }
.nav {
  position: sticky; top: 0; z-index: 40; transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--glass); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, 0.3); }
.nav .container { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.12rem; text-decoration: none !important; }
.logo {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--brand-3), var(--brand) 60%, var(--brand-deep)); color: #fff;
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.logo .i { width: 22px; height: 22px; }
.navlinks { display: flex; gap: 4px; margin-left: auto; }
.navlinks a { padding: 8px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 600; text-decoration: none; transition: background 0.15s, color 0.15s; }
.navlinks a:hover, .navlinks a.on { background: var(--surface-2); color: var(--brand); }
.navact { display: flex; gap: 8px; align-items: center; }
.navact .btn { min-height: 42px; }
.pillbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; font-weight: 600; font-size: 0.92rem; }
.pillbtn:hover { border-color: var(--brand); color: var(--brand); }
.burger { display: none; }
.mnav { display: none; }

.hero { position: relative; padding: 48px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto; height: 120%; z-index: -2;
  background:
    radial-gradient(40% 50% at 15% 30%, color-mix(in srgb, var(--brand-3) 30%, transparent), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, color-mix(in srgb, var(--gold-2) 22%, transparent), transparent 70%),
    radial-gradient(50% 60% at 60% 80%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 0.9rem; color: var(--ink-2);
}
.eyebrow b { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; padding: 2px 10px; border-radius: 99px; font-size: 0.78rem; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.15; margin: 20px 0 18px; letter-spacing: -0.02em; }
.grad {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 35%, var(--gold) 70%, var(--brand-2) 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite;
}
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { color: var(--brand); width: 18px; height: 18px; }

/* hero mock-up */
.mock { position: relative; height: 520px; perspective: 1400px; }
.mock .screen {
  position: absolute; inset: 20px 30px 20px 40px; border-radius: 30px; padding: 22px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); transform: rotateY(-9deg) rotateX(5deg); transform-style: preserve-3d; animation: floaty 7s ease-in-out infinite;
}
.mock .mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock .mhead b { font-size: 1.1rem; }
.mock .mbar { height: 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin-bottom: 18px; }
.mock .mbar span { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--brand-2), var(--brand)); border-radius: inherit; animation: grow 2.2s var(--ease) both 0.4s; }
.mtk { margin-bottom: 12px; animation: fadeUp 0.7s var(--ease) both; }
.mtk:nth-child(3) { animation-delay: 0.15s; }
.mtk:nth-child(4) { animation-delay: 0.3s; }
.mtk:nth-child(5) { animation-delay: 0.45s; }
.float {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; z-index: 2;
}
.float.win { right: -6px; top: 70px; background: linear-gradient(135deg, #fff8e6, #ffe7a8); border-color: #f7d77a; color: #3b2300; animation: bob 5s ease-in-out infinite, fadeUp 0.8s var(--ease) both 0.8s; }
.float.win .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #fff; }
.float.count { left: -10px; bottom: 60px; animation: bob 6s ease-in-out infinite reverse, fadeUp 0.8s var(--ease) both 1.1s; }
.float.count .num { font-size: 1.5rem; font-weight: 700; color: var(--brand); line-height: 1; }
.float.safe { right: 10px; bottom: 6px; animation: bob 5.5s ease-in-out infinite, fadeUp 0.8s var(--ease) both 1.4s; }
.float.safe .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.float small { display: block; color: inherit; opacity: 0.75; font-size: 0.82rem; }

/* ticket (bond) */
.ticket {
  --tc: var(--brand);
  position: relative; display: flex; align-items: stretch; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s;
}
.ticket:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tc) 40%, var(--line)); }
.ticket .stub {
  width: 64px; flex: none; display: grid; place-items: center; color: #fff; position: relative;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tc) 70%, #fff 0%), color-mix(in srgb, var(--tc) 100%, #000 25%));
}
.ticket .stub .i { width: 24px; height: 24px; opacity: 0.95; }
.ticket .stub::after {
  content: ''; position: absolute; right: -7px; top: 0; bottom: 0; width: 14px;
  background: radial-gradient(circle at 7px 8px, var(--surface) 5px, transparent 5.5px) 0 0 / 14px 16px repeat-y;
}
.ticket .body { flex: 1; min-width: 0; padding: 12px 10px 12px 20px; display: flex; flex-direction: column; justify-content: center; }
.ticket .no { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ticket .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 4px; color: var(--muted); font-size: 0.86rem; }
.ticket .meta .badge { font-size: 0.75rem; }
.ticket .acts { display: flex; align-items: center; padding-right: 6px; }
.ticket.won { --tc: var(--gold); border-color: color-mix(in srgb, var(--gold) 50%, transparent); background: linear-gradient(120deg, var(--surface) 40%, var(--gold-soft)); }
.ticket.won .no { color: var(--gold-ink); }
.ticket.mini .no { font-size: 1.1rem; }
.ticket.mini .stub { width: 48px; }
.ticket.mini .body { padding: 9px 10px 9px 16px; }
.ticket.mini .stub .i { width: 20px; height: 20px; }

/* sections */
.sec { padding: 88px 0; position: relative; }
.sec.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-h { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-h h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 10px 0 12px; letter-spacing: -0.02em; }
.sec-h p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.85rem; }

.stats { margin-top: -36px; position: relative; z-index: 2; }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 26px 10px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-deep), #0a5c39 55%, var(--brand)); color: #fff; box-shadow: var(--shadow-lg);
}
[data-theme='dark'] .stats .container { background: linear-gradient(135deg, #04291a, #0a4d31 55%, #0b7a4b); }
.stats .s { text-align: center; padding: 6px 12px; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.stats .s:first-child { border-left: 0; }
.stats .v { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats .l { opacity: 0.8; font-size: 0.93rem; }

.qc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.qc .card { padding: 28px; }
.qcside h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 12px; }
.result { margin-top: 16px; }
.hitlist { display: grid; gap: 10px; margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.sec.alt .feat { background: var(--bg); }
.feat::before {
  content: ''; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-3) 22%, transparent), transparent 70%); opacity: 0; transition: opacity 0.4s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.feat:hover::before { opacity: 1; }
.feat .fi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: var(--brand); background: var(--brand-soft); transition: transform 0.4s var(--ease); }
.feat:hover .fi { transform: rotate(-8deg) scale(1.08); }
.feat .fi .i { width: 26px; height: 26px; }
.feat:nth-child(2) .fi, .feat:nth-child(6) .fi { color: #b45309; background: var(--gold-soft); }
.feat:nth-child(3) .fi, .feat:nth-child(7) .fi { color: #2563eb; background: var(--blue-soft); }
[data-theme='dark'] .feat:nth-child(3) .fi, [data-theme='dark'] .feat:nth-child(7) .fi { color: #93c5fd; }
[data-theme='dark'] .feat:nth-child(2) .fi, [data-theme='dark'] .feat:nth-child(6) .fi { color: #fcd34d; }
.feat h3 { margin-bottom: 6px; }
.feat p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps3::before { content: ''; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); z-index: 0; }
.step3 { text-align: center; position: relative; z-index: 1; padding: 0 10px; }
.step3 .n {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand-3), var(--brand)); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--brand) 80%, transparent);
  transform: rotate(-6deg); transition: transform 0.4s var(--ease);
}
.step3:hover .n { transform: rotate(0) scale(1.06); }
.step3 p { color: var(--muted); }

.appband { border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; color: #fff; position: relative; overflow: hidden; background: linear-gradient(130deg, #053d26, #0b7a4b 60%, #12a364); box-shadow: var(--shadow-lg); }
.appband::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 65%); }
.appband h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 10px 0 12px; }
.appband p { opacity: 0.88; font-size: 1.05rem; }
.appband .tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
.appband .phone {
  justify-self: center; width: 210px; height: 380px; border-radius: 36px; background: #0b1510; border: 8px solid #1d2d24; position: relative; padding: 18px 14px; display: grid; gap: 10px; align-content: start;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); transform: rotate(6deg); animation: floaty 8s ease-in-out infinite;
}
.appband .phone .bar { height: 54px; border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)); }
.appband .phone .bar.g { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.appband .phone .bar.s { height: 26px; width: 60%; }
.storebtn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 14px; background: #000; color: #fff !important; text-decoration: none !important; border: 1px solid rgba(255, 255, 255, 0.25); transition: transform 0.2s var(--ease); }
.storebtn:hover { transform: translateY(-2px); }
.storebtn small { display: block; font-size: 0.72rem; opacity: 0.8; line-height: 1; }
.storebtn b { font-size: 1.05rem; line-height: 1.2; }

.latestgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* pricing */
.toggle-wrap { display: flex; justify-content: center; margin-bottom: 30px; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price.pop { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--brand-3), var(--brand), var(--gold)) border-box; box-shadow: var(--shadow); }
.price .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; font-weight: 700; font-size: 0.8rem; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(245, 158, 11, 0.8); }
.price h3 { font-size: 1.2rem; margin-bottom: 2px; }
.price .desc { color: var(--muted); font-size: 0.93rem; }
.price .amt { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; }
.price .amt b { font-size: 2.4rem; line-height: 1; letter-spacing: -0.02em; }
.price .amt span { color: var(--muted); }
.price .lim { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); margin-bottom: 18px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.96rem; }
.price li .i { color: var(--brand); width: 18px; height: 18px; margin-top: 4px; }
.price li.off { color: var(--muted); text-decoration: line-through; }
.price li.off .i { color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow 0.2s, border-color 0.2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform 0.3s var(--ease); color: var(--brand); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); animation: fadeUp 0.35s var(--ease); }

.cta { text-align: center; padding: 64px 24px; border-radius: 32px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, color-mix(in srgb, var(--brand-3) 25%, transparent), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta p { color: var(--muted); font-size: 1.1rem; }
.cta .row { justify-content: center; margin-top: 22px; }

.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 40px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-size: 0.95rem; margin-bottom: 12px; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--brand); }
.foot .bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.helpbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.helpbtns a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2) !important; font-weight: 600; text-decoration: none !important; transition: border-color 0.15s, transform 0.15s; }
.helpbtns a:hover { border-color: var(--brand); transform: translateY(-1px); }
.helpbtns a.wa .i { color: #16a34a; }
.helpbtns a.fb .i { color: #2563eb; }

/* public results / plans pages */
.pubpage { padding: 40px 0 20px; }
.pubpage .head { margin-bottom: 26px; }

/* ------------------------------------------------------------------ auth */

.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* minmax(0, …): a wide Google button can never push the columns apart. */
.auth .art {
  position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, #032b1a 0%, #0b7a4b 55%, #12a364 100%);
}
.auth .art::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -200px; top: -160px; background: radial-gradient(circle, rgba(251, 191, 36, 0.32), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.auth .art::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.auth .art > * { position: relative; z-index: 1; }
.auth .art .brand { color: #fff; }
.auth .art .logo { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.auth .art h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 460px; margin: 24px 0; }
.auth .art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth .art li { display: flex; gap: 12px; align-items: center; font-size: 1.05rem; opacity: 0.95; }
.auth .art li span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); flex: none; }
.auth .art .tks { display: grid; gap: 12px; max-width: 340px; margin-top: 30px; }
.auth .art .tks .ticket { animation: floaty 7s ease-in-out infinite; }
.auth .art .tks .ticket:nth-child(2) { margin-left: 40px; animation-delay: -2s; }
.auth .art .small { opacity: 0.7; }
.auth .pane { display: flex; flex-direction: column; padding: 28px; background: var(--bg); min-width: 0; }
.auth .pane .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.auth .pane .top .brand { visibility: hidden; }
.auth .form { min-width: 0; width: min(440px, 100%); margin: auto; padding: 30px 0; animation: fadeUp 0.6s var(--ease) both; }
.auth .form h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 6px; }
.auth .form .sub { color: var(--muted); margin-bottom: 26px; }
.auth .alt { text-align: center; margin-top: 20px; color: var(--muted); }
.flow { display: flex; gap: 0; margin-bottom: 22px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.flow div { flex: 1; text-align: center; font-size: 0.8rem; color: var(--muted); font-weight: 600; position: relative; }
.flow div span { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2); color: var(--muted); font-weight: 700; position: relative; z-index: 1; }
.flow div::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--line-2); }
.flow div:first-child::before { display: none; }
.flow div.on span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 18%, transparent); }
.flow div.on { color: var(--ink); }
.flow div.done span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.flow div.done::before, .flow div.on::before { background: var(--brand); }
.gwrap { display: flex; justify-content: center; min-height: 44px; margin-bottom: 4px; max-width: 100%; overflow: hidden; }
/* Our "svg { display: block }" must not blow up Google's logo if its own styles are late. */
.gwrap svg { display: inline-block; width: 18px; height: 18px; max-width: 18px; }
.gwrap > div { width: 100%; max-width: 100%; overflow: hidden; display: flex; justify-content: center; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.buybox { padding: 16px; border-radius: 18px; margin-bottom: 20px; background: linear-gradient(135deg, var(--gold-soft), var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.buybox b { display: block; margin-bottom: 4px; }

/* ------------------------------------------------------------------ dashboard shell */

.shell {
  min-height: 100vh; display: grid; grid-template-columns: var(--side) 1fr;
  /* sidebar colour and its border run down the whole page, even past the sticky sidebar */
  background: linear-gradient(90deg, var(--surface) calc(var(--side) - 1px), var(--line) calc(var(--side) - 1px) var(--side), transparent var(--side));
}
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 20px 14px;
  background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto;
}
.side .brand { padding: 4px 10px 18px; }
.side .grp { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 14px 12px 6px; }
.sidelink {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 600;
  text-decoration: none !important; transition: background 0.15s, color 0.15s; position: relative; border: 0; background: none; width: 100%; cursor: pointer; text-align: left; font-size: 1rem;
}
.sidelink:hover { background: var(--surface-2); color: var(--ink); }
.sidelink.on { background: var(--brand-soft); color: var(--brand); }
.sidelink.on::before { content: ''; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
.sidelink .cnt { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--gold); color: #3b2300; font-size: 0.75rem; display: grid; place-items: center; font-weight: 700; }
.planmini { margin-top: auto; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, #053d26, #0b7a4b 60%, #12a364); position: relative; overflow: hidden; }
.planmini::after { content: ''; position: absolute; width: 160px; height: 160px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.4), transparent 70%); }
.planmini > * { position: relative; z-index: 1; }
.planmini .lbl { font-size: 0.8rem; opacity: 0.8; }
.planmini b { font-size: 1.15rem; }
.planmini .bar { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.2); margin: 10px 0 6px; overflow: hidden; }
.planmini .bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fde68a, #fbbf24); transition: width 1.2s var(--ease); width: 0; }
.planmini .btn { margin-top: 12px; min-height: 40px; width: 100%; }

.mainwrap { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 10px 28px;
  background: var(--glass); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line);
}
.topbar .ttl { font-weight: 700; font-size: 1.15rem; }
.topbar .brand { display: none; }
.topbar .acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; border: 0; cursor: pointer; flex: none;
  background: linear-gradient(135deg, var(--brand-3), var(--brand)); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px color-mix(in srgb, var(--brand) 25%, transparent);
}
.avatar.lg { width: 64px; height: 64px; font-size: 1.5rem; }
.dropdown { position: relative; }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); z-index: 50; transform-origin: top right; animation: popIn 0.2s var(--ease);
}
.menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu .who small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.menu a, .menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none !important; border: 0; background: none; cursor: pointer; font-weight: 600; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--surface-2); color: var(--ink); }
.page { padding: 28px; max-width: 1240px; width: 100%; animation: pageIn 0.45s var(--ease) both; }
.phead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 24px; }
.phead h1 { margin: 0 0 4px; }
.phead p { color: var(--muted); margin: 0; }

.tabbar { display: none; }
.sheet-back { position: fixed; inset: 0; background: rgba(2, 12, 7, 0.45); backdrop-filter: blur(4px); z-index: 70; animation: fade 0.2s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
  background: var(--surface); box-shadow: var(--shadow-lg); animation: sheetUp 0.35s var(--ease);
}
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 4px auto 14px; }
.sheet .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet .grid a, .sheet .grid button { display: grid; justify-items: center; gap: 8px; padding: 16px 6px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none !important; font-weight: 600; font-size: 0.9rem; cursor: pointer; text-align: center; }
.sheet .grid .i { width: 24px; height: 24px; color: var(--brand); }

/* ------------------------------------------------------------------ dashboard widgets */

.welcome {
  position: relative; overflow: hidden; border-radius: 28px; padding: 30px; color: #fff; margin-bottom: 22px;
  background: linear-gradient(125deg, #032b1a 0%, #0b7a4b 50%, #12a364 100%); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.welcome::before { content: ''; position: absolute; width: 380px; height: 380px; right: -100px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.38), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
.welcome::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.welcome > * { position: relative; z-index: 1; }
.welcome h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.welcome p { opacity: 0.88; margin: 0 0 18px; }
.welcome .row .btn.white { color: #064e32; }
.countdown { text-align: center; }
.countdown .lbl { font-size: 0.85rem; opacity: 0.85; margin-bottom: 8px; display: flex; gap: 6px; align-items: center; justify-content: center; }
.countdown .boxes { display: flex; gap: 8px; }
.countdown .bx { min-width: 70px; padding: 10px 6px 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.countdown .bx b { display: block; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .bx small { font-size: 0.75rem; opacity: 0.8; }
.countdown .bx b.tick { animation: tick 0.4s var(--ease); }
.countdown .date { margin-top: 8px; font-size: 0.85rem; opacity: 0.85; }

.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat {
  padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); text-decoration: none !important; color: var(--ink); display: block;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.stat .si { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.stat.g .si { background: var(--gold-soft); color: #b45309; }
.stat.b .si { background: var(--blue-soft); color: #2563eb; }
[data-theme='dark'] .stat.g .si { color: #fcd34d; }
[data-theme='dark'] .stat.b .si { color: #93c5fd; }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-top: 14px; }
.stat .val { font-size: 1.8rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat .val small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.stat .sub { color: var(--muted); font-size: 0.85rem; }
.ring { width: 54px; height: 54px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: url(#ringgrad); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.ring.full .fg { stroke: var(--red); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid2 .card + .card { margin-top: 0; }
.grid-main { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.grid-main > div { display: grid; gap: 18px; min-width: 0; }
.grid-main .card + .card { margin-top: 0; }

.winbanner {
  display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 24px; margin-bottom: 22px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #fff4d1, #ffe08a 60%, #fbbf24); color: #3b2300; border: 1px solid #f7d77a; box-shadow: 0 20px 40px -20px rgba(245, 158, 11, 0.7);
}
.winbanner::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; left: -120px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent); transform: skewX(-20deg); animation: sweep 3.5s ease-in-out infinite 1s; }
.winbanner .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #f59e0b, #b45309); color: #fff; flex: none; animation: wiggle 2.5s ease-in-out infinite; }
.winbanner .ic .i { width: 30px; height: 30px; }
.winbanner b { font-size: 1.15rem; display: block; }
.winbanner .btn { margin-left: auto; }

.banner { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; margin-bottom: 18px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold-ink); flex-wrap: wrap; }
.banner.red { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 30%, transparent); color: var(--red); }
.banner .grow b { display: block; }
.spin-ic { animation: spin 3s linear infinite; }

.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qa a { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 0.92rem; text-align: center; text-decoration: none !important; transition: transform 0.2s var(--ease), border-color 0.2s; }
.qa a:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand); }
.qa .i { width: 26px; height: 26px; color: var(--brand); }

.list { display: grid; gap: 10px; }
.empty { text-align: center; padding: 44px 20px; }
.empty .art { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 30px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); animation: floaty 5s ease-in-out infinite; }
.empty .art .i { width: 44px; height: 44px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 380px; margin: 0 auto 18px; }

.usage { height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.usage span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-3), var(--brand)); width: 0; transition: width 1.2s var(--ease); }
.usage.warn span { background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.usage.full span { background: linear-gradient(90deg, #f87171, var(--red)); }

/* ------------------------------------------------------------------ bonds page */

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .search { flex: 1; min-width: 200px; }
.toolbar select { width: auto; min-width: 160px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; border: 1px solid var(--line-2); background: var(--surface); padding: 8px 16px; border-radius: 99px; cursor: pointer; font-weight: 600; color: var(--ink-2); min-height: 40px; transition: all 0.15s; display: inline-flex; gap: 6px; align-items: center; }
.filters button small { color: var(--muted); font-weight: 600; }
.filters button.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.filters button.on small { color: inherit; opacity: 0.8; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.tgrid .ticket { animation: fadeUp 0.45s var(--ease) both; }
.usagecard { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.usagecard .grow { min-width: 200px; }
.usagecard .usage { margin: 8px 0 4px; }
.more { display: flex; justify-content: center; margin-top: 20px; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 10px; font-weight: 600; color: var(--muted); cursor: pointer; min-height: 44px; }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.counter { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); font-size: 0.9rem; }
.counter.zero { color: var(--muted); }

/* ------------------------------------------------------------------ results */

.drawpills { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 14px; scrollbar-width: thin; }
.drawpills button { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 10px 16px; cursor: pointer; text-align: left; min-width: 130px; transition: all 0.2s var(--ease); color: var(--ink); }
.drawpills button b { display: block; }
.drawpills button small { color: var(--muted); }
.drawpills button:hover { border-color: var(--brand); }
.drawpills button.on { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.drawpills button.on small { color: rgba(255, 255, 255, 0.85); }
.drawpills .hitdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-left: 6px; vertical-align: middle; }
.drawhead { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.drawhead div { padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.drawhead small { color: var(--muted); display: block; font-weight: 600; }
.drawhead b { font-size: 1.1rem; }

/* ------------------------------------------------------------------ wins */

.wincard {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--surface) 30%, var(--gold-soft)); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: var(--shadow-sm);
  animation: fadeUp 0.5s var(--ease) both;
}
.wincard .ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold-2), #b45309); }
.wincard .ic .i { width: 30px; height: 30px; }
.wincard .no { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.wincard .amt { text-align: right; }
.wincard .amt b { font-size: 1.5rem; display: block; color: var(--gold-ink); }
.wincard select { min-height: 42px; padding: 6px 10px; width: auto; font-size: 0.92rem; }
.wincard .foot2 { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; padding-top: 12px; border-top: 1px dashed color-mix(in srgb, var(--gold) 40%, transparent); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.timeline .dotn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--brand-soft); color: var(--brand); }
.timeline .dotn .i { width: 18px; height: 18px; }
.timeline .txt { padding-top: 7px; }
.timeline .txt small { display: block; color: var(--muted); }
.timeline li.gold .dotn { background: var(--gold-soft); color: #b45309; }
.timeline li.red .dotn { background: var(--red-soft); color: var(--red); }
.timeline li.gray .dotn { background: var(--surface-2); color: var(--muted); }

/* ------------------------------------------------------------------ checkout */

.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
.order { position: sticky; top: 90px; color: #fff; border-radius: 26px; padding: 26px; overflow: hidden; background: linear-gradient(150deg, #032b1a, #0b7a4b 60%, #12a364); box-shadow: var(--shadow-lg); }
.order::before { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.4), transparent 65%); }
.order > * { position: relative; }
.order .lbl { opacity: 0.8; font-size: 0.85rem; }
.order h2 { font-size: 1.6rem; margin: 4px 0 2px; }
.order .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.order .tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.order .tot b { font-size: 2rem; }
.order ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 0.93rem; }
.order li { display: flex; gap: 8px; align-items: center; opacity: 0.92; }
.order li .i { width: 16px; height: 16px; color: #fde68a; }
.order .safe { display: flex; gap: 8px; align-items: center; margin-top: 18px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-size: 0.88rem; }
.pstep { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.pstep .n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; background: var(--brand-soft); color: var(--brand); }
.pstep h3 { margin: 8px 0 14px; font-size: 1.15rem; }
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.method { position: relative; cursor: pointer; }
.method input { position: absolute; opacity: 0; }
.method span {
  --mc: #e2136e;
  display: grid; justify-items: center; gap: 8px; padding: 18px 10px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); font-weight: 700; transition: all 0.2s var(--ease);
}
.method span i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 1.2rem; font-weight: 700; background: var(--mc); box-shadow: 0 8px 18px -8px var(--mc); }
.method small { font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.method input:checked + span { border-color: var(--mc); background: color-mix(in srgb, var(--mc) 8%, var(--surface)); transform: translateY(-2px); box-shadow: 0 12px 24px -14px var(--mc); }
.method input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.method input:checked + span::after { content: '✓'; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--mc); color: #fff; display: grid; place-items: center; font-size: 0.8rem; animation: pop 0.3s var(--ease); }
.payinfo { display: grid; gap: 12px; }
.copyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line-2); }
.copyrow small { display: block; color: var(--muted); font-weight: 600; }
.copyrow b { font-size: 1.45rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.copybtn { display: inline-flex; gap: 6px; align-items: center; border: 0; padding: 8px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 700; cursor: pointer; min-height: 40px; }
.copybtn:hover { background: var(--brand); color: var(--brand-ink); }
.how { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink-2); }
.success { text-align: center; max-width: 560px; margin: 20px auto; }
.okmark {
  width: 110px; height: 110px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-3), var(--brand)); box-shadow: 0 0 0 12px var(--brand-soft), 0 20px 40px -10px color-mix(in srgb, var(--brand) 70%, transparent); animation: pop 0.6s var(--ease);
}
.okmark .i { width: 54px; height: 54px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s var(--ease) forwards 0.35s; }
.hsteps { display: flex; justify-content: center; gap: 0; margin: 28px 0; }
.hsteps div { flex: 1; text-align: center; position: relative; font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.hsteps div span { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line-2); position: relative; z-index: 1; }
.hsteps div::before { content: ''; position: absolute; top: 19px; left: -50%; right: 50%; height: 2px; background: var(--line-2); }
.hsteps div:first-child::before { display: none; }
.hsteps .done { color: var(--ink); }
.hsteps .done span { background: var(--brand); border-color: var(--brand); color: #fff; }
.hsteps .done::before, .hsteps .now::before { background: var(--brand); }
.hsteps .now { color: var(--gold-ink); }
.hsteps .now span { background: var(--gold-soft); border-color: var(--gold); color: #b45309; animation: ringPulse 1.8s infinite; }

/* tables */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: var(--surface-2); }
.mlogo { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.8rem; vertical-align: middle; margin-right: 8px; }

/* settings */
.setgrid { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.profilecard { text-align: center; position: sticky; top: 90px; }
.profilecard .avatar { margin: 0 auto 14px; }
.setrow { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.setrow:first-of-type { border-top: 0; }
.setrow b { display: block; }
.setrow small { color: var(--muted); }
.danger-card { border-color: color-mix(in srgb, var(--red) 30%, var(--line)); }

/* ------------------------------------------------------------------ modals, toast, skeleton */

.modal-back { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(2, 12, 7, 0.5); backdrop-filter: blur(6px); animation: fade 0.2s; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); padding: 26px; animation: popIn 0.3s var(--ease); }
.modal.sm { width: min(420px, 100%); }
.modal-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.modal-h h2 { margin: 0; }
.modal .acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.bigic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 14px; background: var(--red-soft); color: var(--red); }
.bigic .i { width: 30px; height: 30px; }

#toasts { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #0f2a1d; color: #fff; box-shadow: var(--shadow-lg); animation: toastIn 0.35s var(--ease); pointer-events: auto; }
.toast .i { color: #34d399; margin-top: 2px; }
.toast.err { background: #3b0d0d; }
.toast.err .i { color: #fca5a5; }
.toast.out { animation: toastOut 0.3s var(--ease) forwards; }

.skel { border-radius: 14px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.skel.h { height: 140px; margin-bottom: 18px; border-radius: 26px; }
.skel.s { height: 110px; }
.skel.l { height: 260px; }
.skelgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.loading { display: grid; place-items: center; min-height: 60vh; }
.loader { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-3), var(--brand)); animation: breathe 1.4s ease-in-out infinite; }

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }
.rv.d4 { transition-delay: 0.32s; }

/* ------------------------------------------------------------------ number checker */

.checker { display: grid; gap: 14px; }
.ck-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ck-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.ck-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-2) 60%, transparent); animation: livePulse 2s infinite; }
.chipbox {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 64px; padding: 10px; border-radius: 18px; cursor: text;
  background: var(--surface-2); border: 1.5px dashed var(--line-2); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.chipbox:focus-within { border-style: solid; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.ck-chips { display: contents; }
.chipbox input:not([type='checkbox']) {
  flex: 1; min-width: 180px; min-height: 42px; border: 0; background: transparent; box-shadow: none; padding: 6px 8px; font-size: 1.05rem; letter-spacing: 0.04em;
}
.chipbox input:focus { box-shadow: none; }
.nchip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 12px; font-weight: 700; letter-spacing: 0.06em;
  background: var(--surface); border: 1px solid var(--line-2); font-variant-numeric: tabular-nums; animation: chipIn 0.25s var(--ease);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.nchip button { width: 24px; height: 24px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.nchip button:hover { background: var(--red-soft); color: var(--red); }
.nchip .i.sm { width: 14px; height: 14px; }
.nchip.scan { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.nchip.won { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; border-color: transparent; box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.8); animation: pop 0.5s var(--ease); }
.nchip.won button { color: #3b2300; }
.nchip.no { opacity: 0.55; }
.ck-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ck-foot .btn { margin-left: auto; }
.rise { animation: riseIn 0.55s var(--ease) both; }

.ck-scan { display: grid; justify-items: center; gap: 4px; padding: 26px 10px 18px; text-align: center; }
.ck-scan small { color: var(--muted); }
.radar { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 10px; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-2); animation: radar 1.5s ease-out infinite; opacity: 0; }
.radar span:nth-child(2) { animation-delay: 0.5s; }
.radar span:nth-child(3) { animation-delay: 1s; }
.radar i { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-3), var(--brand)); font-style: normal; animation: breathe 1.2s ease-in-out infinite; }
.ck-bar { width: min(260px, 80%); height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.ck-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-3), var(--brand)); animation: fillBar 1.5s var(--ease) forwards; }

.ck-result { position: relative; overflow: hidden; border-radius: 22px; padding: 28px 20px 22px; text-align: center; display: grid; justify-items: center; gap: 6px; }
.ck-result h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 6px 0 0; }
.ck-result p { margin: 0; }
.ck-result.lose { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.ck-result.lose > .i { width: 40px; height: 40px; color: var(--brand); }
.ck-calm { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); animation: pop 0.5s var(--ease); }
.ck-calm .i { width: 34px; height: 34px; }
.ck-result.lose p { color: var(--muted); }
.ck-result.lose .badge { margin-top: 8px; }
.ck-result.win { background: radial-gradient(120% 90% at 50% 0%, #fff4c7 0%, #ffd766 45%, #f6a609 100%); color: #3b2300; border: 1px solid #f7d77a; box-shadow: 0 30px 60px -24px rgba(245, 158, 11, 0.75); }
.ck-result.win > * { position: relative; z-index: 1; }
.ck-result.win .rays {
  position: absolute; inset: -60%; z-index: 0; opacity: 0.45;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.75) 0deg 8deg, transparent 8deg 22deg);
  animation: spinSlow 18s linear infinite; mask-image: radial-gradient(circle, #000 20%, transparent 60%); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 60%);
}
.ck-trophy { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #f59e0b, #b45309); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.45), 0 18px 34px -10px rgba(180, 83, 9, 0.8); animation: trophyIn 0.8s var(--ease) both, bobble 2.6s ease-in-out 0.8s infinite; }
.ck-trophy .i { width: 46px; height: 46px; }
.ck-total { margin: 10px 0 4px; display: grid; }
.ck-total small { font-weight: 700; opacity: 0.75; }
.ck-total b { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ck-hits { width: 100%; max-width: 520px; display: grid; gap: 8px; margin-top: 8px; }
.ck-hit { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.72); text-align: left; animation: riseIn 0.5s var(--ease) both; }
.ck-hit > div { flex: 1; min-width: 0; display: grid; }
.ck-hit b { letter-spacing: 0.08em; font-size: 1.1rem; }
.ck-hit small { opacity: 0.8; }
.ck-hit strong { white-space: nowrap; }
.ck-acts { justify-content: center; margin-top: 14px; width: 100%; }
.ck-hint { flex-basis: 100%; text-align: center; opacity: 0.75; font-size: 0.82rem; }
.ck-acts .btn { white-space: normal; text-align: center; line-height: 1.35; max-width: 100%; }
.qc > *, .checker, .checker > * { min-width: 0; }
.ck-result { width: 100%; }
.chipbox input:not([type='checkbox']) { min-width: 120px; }
.ck-result.win .btn.ghost { color: #3b2300; box-shadow: inset 0 0 0 1.5px rgba(59, 35, 0, 0.35); background: rgba(255, 255, 255, 0.4); }
@keyframes chipIn { from { opacity: 0; transform: scale(0.8); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes radar { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes fillBar { to { width: 100%; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes trophyIn { 0% { transform: scale(0.2) rotate(-30deg); opacity: 0; } 60% { transform: scale(1.15) rotate(8deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
@keyframes bobble { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-2) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

/* small extras used by site.js */
.stats4.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.badge.onbrand { background: rgba(255, 255, 255, 0.16); color: #fff; }
.usage.onbrand { max-width: 420px; background: rgba(255, 255, 255, 0.18); border-color: transparent; }
.usage.onbrand span { background: linear-gradient(90deg, #fde68a, #fbbf24); }
input.trx { text-transform: uppercase; letter-spacing: 0.08em; }
.narrowcard { max-width: 560px; margin: 0 auto; }

/* ------------------------------------------------------------------ keyframes */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.94) translateY(8px); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(4%, 6%) scale(1.08); } }
@keyframes shine { to { background-position: 220% center; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes grow { from { width: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); } 100% { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0); } }
@keyframes tick { from { transform: translateY(-30%); opacity: 0.2; } }
@keyframes sweep { 0% { left: -120px; } 60%, 100% { left: 110%; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-10deg); } 20% { transform: rotate(8deg); } 30% { transform: rotate(-4deg); } 40% { transform: rotate(0); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.88); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats4 { grid-template-columns: repeat(2, 1fr); }
  .skelgrid { grid-template-columns: repeat(2, 1fr); }
  .grid-main { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .order { position: static; order: -1; }
  .setgrid { grid-template-columns: 1fr; }
  .profilecard { position: static; }
}

@media (max-width: 960px) {
  :root { --side: 0px; }
  .navlinks, .navact .hide-m { display: none; }
  .navact { margin-left: auto; } /* links are hidden on phones: keep the ☰ button at the right edge */
  .burger { display: inline-grid; }
  .mnav { display: grid; gap: 4px; padding: 10px 16px 18px; background: var(--surface); border-bottom: 1px solid var(--line); animation: fadeUp 0.25s var(--ease); }
  .mnav a { padding: 12px 10px; border-radius: 12px; font-weight: 600; color: var(--ink-2); }
  .mnav a:hover { background: var(--surface-2); text-decoration: none; }
  .hero { padding: 26px 0 70px; }
  .hero .container { grid-template-columns: 1fr; gap: 20px; }
  .mock { height: 430px; max-width: 460px; width: 100%; margin: 0 auto; }
  .mock .screen { inset: 10px 18px 10px 18px; transform: none; }
  .qc, .latestgrid, .appband, .grid2 { grid-template-columns: 1fr; }
  .appband { padding: 32px 24px; }
  .appband .phone { display: none; }
  .steps3 { grid-template-columns: 1fr; gap: 30px; }
  .steps3::before { display: none; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth .art { display: none; }
  .auth .pane .top .brand { visibility: visible; }
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .topbar { padding: 10px 16px; }
  .topbar .brand { display: inline-flex; }
  .topbar .ttl, .topbar .hide-m { display: none; }
  .page { padding: 20px 16px calc(100px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 6px; border-radius: 22px; background: var(--glass); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 16px; color: var(--muted); font-size: 0.74rem; font-weight: 600; text-decoration: none !important; border: 0; background: none; cursor: pointer; position: relative; min-height: 54px; }
  .tabbar .i { width: 22px; height: 22px; transition: transform 0.25s var(--ease); }
  .tabbar .on { color: var(--brand); background: var(--brand-soft); }
  .tabbar .on .i { transform: translateY(-1px) scale(1.08); }
  .tabbar .cnt { position: absolute; top: 4px; right: calc(50% - 20px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: #3b2300; font-size: 0.68rem; display: grid; place-items: center; }
  .welcome { grid-template-columns: 1fr; padding: 24px; }
  .countdown .boxes { justify-content: space-between; }
  .countdown .bx { flex: 1; min-width: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.05rem; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .mock { height: 400px; }
  .float.win { right: -4px; top: 40px; padding: 10px 12px; }
  .float.count { left: -4px; bottom: 50px; }
  .sec { padding: 64px 0; }
  .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stats .s:nth-child(3) { border-left: 0; }
  .features { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 20px; }
  .qc .card { padding: 18px; }
  .foot .cols { grid-template-columns: 1fr; }
  .stats4 { gap: 12px; }
  .stat { padding: 16px; }
  .stat .val { font-size: 1.45rem; }
  .qa { grid-template-columns: repeat(2, 1fr); }
  .drawhead { grid-template-columns: 1fr 1fr; }
  .drawhead div:last-child { grid-column: 1 / -1; }
  .wincard { grid-template-columns: auto 1fr; }
  .wincard .amt { grid-column: 1 / -1; text-align: left; }
  .winbanner { flex-wrap: wrap; }
  .winbanner .btn { margin-left: 0; width: 100%; }
  .toolbar select { flex: 1; }
  .tgrid { grid-template-columns: 1fr; }
  .phead .row { width: 100%; }
  .phead .row .btn { flex: 1; }
  .modal { padding: 20px; border-radius: 22px; }
  .countdown .bx b { font-size: 1.5rem; }
  .auth .pane { padding: 16px; }
  .order { padding: 20px; }
  .pstep { grid-template-columns: 1fr; gap: 6px; }
  .pstep .n { width: 36px; height: 36px; border-radius: 12px; }
  .pstep h3 { margin: 0 0 12px; }
  table.stackable thead { display: none; }
  table.stackable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  table.stackable td { border: 0; padding: 0; }
  table.stackable td::before { content: attr(data-label); display: block; font-size: 0.75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }
}

/* ------------------------------------------------------------------ print (bond list) */

.printonly { display: none; }
@media print {
  body { background: #fff; color: #000; }
  .side, .topbar, .tabbar, .page > *:not(.printonly), #toasts { display: none !important; }
  .shell { display: block; }
  .page { padding: 0; animation: none; }
  .printonly { display: block !important; }
  .printonly table { border: 1px solid #999; }
  .printonly th, .printonly td { border: 1px solid #bbb; padding: 6px 10px; color: #000; }
}

/* ------------------------------------------------------------------ server-made pages (blog, pages, results; routes/site.ts) */
.sitepage { background: var(--bg); }
.sitebar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sitebar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.sitebar nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sitebar nav a:not(.btn) { padding: 8px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; white-space: nowrap; text-decoration: none; }
.sitebar nav a:not(.btn):hover { background: var(--surface-2); }
.sitebar .brand span:last-child { white-space: nowrap; }
.sitemain { padding: 22px 0 40px; min-height: 60vh; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.sitehero { padding: 18px 0 8px; }
.sitehero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 6px; }
.sitehero p { color: var(--muted); margin: 0 0 6px; }
.empty { color: var(--muted); padding: 30px 0; }
.previewbar { background: #fff5dd; color: #8a5300; border: 1px solid #f5d38a; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-weight: 600; }
.article { max-width: 760px; margin: 0 auto; }
.article > header h1 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.3; margin: 6px 0 8px; }
.article .meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }
.article .cat { display: inline-block; font-size: 0.82rem; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 2px 10px; border-radius: 99px; text-decoration: none; }
.article .cover { width: 100%; height: auto; border-radius: 16px; margin: 4px 0 18px; display: block; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 0 20px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.toc li.l3 { margin-left: 16px; list-style: circle; }
.prose { font-size: 1.06rem; line-height: 1.85; color: var(--ink); overflow-wrap: anywhere; }
.prose h2 { font-size: 1.45rem; margin: 30px 0 10px; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 8px; scroll-margin-top: 80px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose figure, .prose pre { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 4px 0; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 0 auto; }
.prose figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.prose blockquote { border-left: 4px solid var(--brand); background: var(--surface); padding: 10px 16px; border-radius: 0 12px 12px 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--surface-2); }
.prose pre { background: var(--surface-2); padding: 12px; border-radius: 10px; overflow-x: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.tags span { font-size: 0.85rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 2px 10px; border-radius: 99px; }
.sitecta { max-width: 760px; margin: 30px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #064e31, #0b7a4b 60%, #12a364); }
.sitecta > div { text-align: left; }
.sitecta h2 { margin: 0 0 4px; font-size: 1.2rem; color: #fff; }
.sitecta p { margin: 0; color: #fff; opacity: 0.88; }
.sitecta .btn { background: #fff; color: #0b7a4b; }
.related { max-width: 1000px; margin: 36px auto 0; }
.related h2 { font-size: 1.25rem; }
.postgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 14px; }
.postcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.postcard:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.postcard img, .postcard .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.postcard .ph { background: linear-gradient(135deg, #0b7a4b, #34d399); opacity: 0.85; }
.postcard > div { padding: 14px 16px 16px; display: grid; gap: 6px; }
.postcard h3 { margin: 0; font-size: 1.08rem; line-height: 1.4; }
.postcard p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.postcard time { font-size: 0.82rem; color: var(--muted); }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.cats a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.cats a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager { display: flex; justify-content: space-between; gap: 10px; margin: 26px 0 0; }
.drawlist { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 14px; }
.drawlist a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.drawlist a:hover { border-color: var(--brand); }
.drawlist span { color: var(--muted); font-size: 0.9rem; }
.results .rank { margin: 22px 0; }
.results .rank h2 { font-size: 1.2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.results .rank h2 small { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.nums { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.nums li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; text-align: center; display: grid; }
.nums b { font-size: 1.15rem; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.nums small { color: var(--muted); font-size: 0.78rem; letter-spacing: 1px; }
.results .r1 .nums li, .results .r2 .nums li { background: #fff5dd; border-color: #f5d38a; color: #5c3b00; }
.results .note { color: var(--muted); font-size: 0.92rem; }
.sitefoot { border-top: 1px solid var(--line); padding: 24px 0 30px; color: var(--muted); font-size: 0.9rem; }
.sitefoot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.sitefoot a { color: var(--ink); }
@media (max-width: 560px) {
  .sitebar .brand span:last-child { display: none; }
  .sitebar nav a:not(.btn) { padding: 8px 7px; }
  .sitecta { padding: 18px; }
}

/* ================================================================ camera scanner (full screen) */
body.noscroll { overflow: hidden; }
.scanner { position: fixed; inset: 0; z-index: 90; background: #000; color: #fff; display: flex; flex-direction: column; animation: fade 0.2s; }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner.nocam video { display: none; }
.sc-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 12px 6px; }
.sc-top b { flex: 1; font-size: 1.15rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.sc-round { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.88); color: #0d1f16; cursor: pointer; }
.sc-round.on { background: var(--gold-2); }
.sc-hint { position: relative; z-index: 2; margin: 4px 16px 0; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.6); text-align: center; font-weight: 600; font-size: 1rem; }
.sc-hint.warn { background: rgba(245, 158, 11, 0.95); color: #3b2300; }
.sc-mid { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 26px 20px 16px; }
.sc-win { position: relative; width: min(560px, 100%); aspect-ratio: 2.4 / 1; border-radius: 18px; border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 200vmax rgba(0, 0, 0, 0.55); transition: border-color 0.2s; }
.sc-win::before { content: ''; position: absolute; inset: -3px; border-radius: 20px; padding: 4px; pointer-events: none;
  background: conic-gradient(from 0deg, #fff 0 0) top left / 44px 4px no-repeat, conic-gradient(#fff 0 0) top left / 4px 44px no-repeat,
    conic-gradient(#fff 0 0) top right / 44px 4px no-repeat, conic-gradient(#fff 0 0) top right / 4px 44px no-repeat,
    conic-gradient(#fff 0 0) bottom left / 44px 4px no-repeat, conic-gradient(#fff 0 0) bottom left / 4px 44px no-repeat,
    conic-gradient(#fff 0 0) bottom right / 44px 4px no-repeat, conic-gradient(#fff 0 0) bottom right / 4px 44px no-repeat; }
.sc-win.got { border-color: var(--brand-3); }
.scanner.nocam .sc-win { display: none; }
.sc-line { position: absolute; left: 18px; right: 18px; top: 10px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-3), transparent); animation: scanline 1.4s ease-in-out infinite alternate; }
.sc-win.got .sc-line { display: none; }
@keyframes scanline { to { top: calc(100% - 13px); } }
.sc-ex { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; pointer-events: none; animation: breathe 1.2s ease-in-out infinite alternate; }
.sc-ex span { padding: 2px 14px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.25); color: rgba(255, 255, 255, 0.78); font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 700; letter-spacing: 3px; }
.sc-ex small { font-size: 0.95rem; font-weight: 600; text-shadow: 0 1px 6px #000; text-align: center; }
.scanner.has .sc-ex { display: none; }
@keyframes breathe { from { opacity: 0.55; } }
.sc-flash { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; max-width: 92%; display: flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 16px; background: var(--brand); color: #fff; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 800; letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); animation: popIn 0.3s var(--ease); }
.sc-flash.unsure { background: var(--gold-2); color: #3b2300; }
.sc-flash .i { width: 28px; height: 28px; }
.sc-count { position: absolute; top: -16px; right: 10px; padding: 4px 12px; border-radius: 20px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; font-weight: 800; font-size: 0.95rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
.sc-count.pop { animation: popIn 0.3s var(--ease); }
.sc-acts { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sc-acts label { cursor: pointer; }
.sc-nocam { order: -1; position: relative; z-index: 2; max-width: 420px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.sc-nocam .i { width: 40px; height: 40px; opacity: 0.8; }
.sc-panel { position: relative; z-index: 2; max-height: 38vh; overflow-y: auto; background: var(--surface); color: var(--ink); border-radius: 26px 26px 0 0; padding: 16px 20px max(14px, env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.sc-panel-h { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.sc-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; }
.scanner.has .sc-dot { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-chips:empty { display: none; }
.sc-chips .nchip { min-height: 44px; font-size: 1.1rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; border: 1px solid var(--line-2); font-family: inherit; color: var(--ink); }
.sc-chips .nchip.unsure { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.sc-yellow { color: var(--gold-ink); font-weight: 600; margin: 0; }
.sc-panel p { margin: 0; }
@media (max-width: 560px) { .hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { .sc-line, .sc-ex { animation: none; } }

/* "Install as an app" buttons (shown only when the browser can install) */
.installbtn[hidden] { display: none !important; }
.foot .installbtn { padding: 0; color: inherit; font: inherit; font-weight: inherit; }
.mnav .installbtn { background: none; border: 0; font: inherit; font-weight: 600; color: var(--brand); text-align: left; cursor: pointer; display: flex; align-items: center; gap: 8px; }

/* Browser notifications: dashboard card and settings note */
.pushcard { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pushcard > div:first-of-type { flex: 1; min-width: 200px; display: grid; gap: 4px; }
.pushcard small { color: var(--muted); }
.pushnote { display: block; color: var(--gold-ink); margin-top: 6px; }
#pushRow small { display: block; }
#pushTest { padding: 6px 0; }

/* JhotPay "pay online" box on the checkout page */
.payonline { border: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.payonline .pstep .n .i { width: 16px; height: 16px; }
.mlogos { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.mlogos span { padding: 4px 10px; border-radius: 8px; background: color-mix(in srgb, var(--mc) 12%, transparent); color: var(--mc); font-weight: 700; font-size: 0.85rem; }

/* Profile page: same rows as the app's Profile tab */
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pcard { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pcard h2 { margin: 0; font-size: 1.3rem; }
.pcard p { margin: 2px 0 0; opacity: 0.85; word-break: break-word; }
.pcard .avatar.lg { width: 58px; height: 58px; font-size: 1.3rem; background: rgba(255, 255, 255, 0.18); color: #fff; }
.pslots { flex-basis: 100%; display: grid; gap: 8px; }
.pslots small { opacity: 0.85; }
.psect { padding: 18px 18px 10px; }
.psect h2 { font-size: 1rem; margin: 0 0 6px; color: var(--muted); text-transform: none; }
.prow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 4px; min-height: 56px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); text-decoration: none !important; text-align: left; font: inherit; cursor: pointer; border-radius: 0; }
.psect h2 + .prow, .psect h2 + .setrow { border-top: 0; }
.prow:hover { background: var(--surface-2); }
.prow .pi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.prow .pt { flex: 1; min-width: 0; display: grid; }
.prow .pt small { color: var(--muted); }
.prow .pr { color: var(--muted); }
.prow .pr .i { width: 16px; height: 16px; }
.prow.danger, .prow.danger .pi { color: var(--red); }
.prow.danger .pi { background: var(--red-soft); }
.exportbar { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.show-m { display: none; }
@media (max-width: 960px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .exportbar.hide-m { display: none; }
  .show-m { display: inline-block; }
}

/* ================================================================ GSAP motion (motion.js) */
.gs .rv { opacity: 1; transform: none; transition: none; } /* GSAP reveals these instead */
#scrollbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100; pointer-events: none; background: linear-gradient(90deg, var(--brand-3), var(--brand), var(--gold-2)); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .ln > span { display: inline-block; }
.hero .mock { will-change: transform; } /* flat: the floating cards stay in front of the phone */
.heroglow { position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-3) 22%, transparent), transparent 65%); }
.feat, .price { will-change: transform; }

/* Winning numbers running across the screen (CSS keeps it moving if GSAP is missing) */
.ticker { overflow: hidden; padding: 14px 0; border-block: 1px solid var(--line); background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tk-track { display: flex; width: max-content; animation: tkmove 60s linear infinite; }
.tk-track.js { animation: none; }
.tk-set { display: flex; align-items: center; gap: 10px; padding-right: 10px; }
.tk-head { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: var(--brand); color: #fff; font-weight: 700; white-space: nowrap; }
.tk { display: inline-grid; padding: 6px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; }
.tk small { font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tk.r1, .tk.r2 { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; color: #3b2300; }
.tk.r1 small, .tk.r2 small { color: #5a3a00; }
.tk.r3, .tk.r4 { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); color: var(--brand); }
@keyframes tkmove { to { transform: translateX(-50%); } }

/* How it works: the line through the steps */
.steps3 { position: relative; }
.stepline { position: absolute; left: 16%; right: 16%; top: 33px; height: 3px; border-radius: 3px; transform-origin: 0 50%; z-index: 0;
  background: linear-gradient(90deg, var(--brand-3), var(--brand), var(--gold-2)); }
.step3 { position: relative; z-index: 1; }
@media (max-width: 760px) { .stepline { display: none; } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } }
.gs .step3 .n { transition: none; }
.gs .step3:hover .n { transition: transform 0.4s var(--ease); }
/* With GSAP on, it moves these: CSS keyframes/transitions on "transform" would fight it. */
.gs .hero .mock .screen, .gs .hero .mtk, .gs .hero .float { animation: none; }
.gs .feat, .gs .price, .gs .hero .ctas .btn, .gs .cta .btn { transition-property: box-shadow, border-color, filter, background; }

/* ================================================================ HOME (new concept, 2026-11-21) */
.home2 { --deep: #031d13; --deep-2: #053d26; }

/* Hero: dark emerald night with a big "lucky ticket" */
.h2hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 70px 0 90px; min-height: min(92vh, 860px); display: flex; align-items: center;
  background: radial-gradient(120% 90% at 80% 10%, #0b5c3a 0%, var(--deep-2) 40%, var(--deep) 100%); }
.h2bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.h2bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.h2bg .o1 { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, #12a364, transparent 70%); }
.h2bg .o2 { width: 460px; height: 460px; right: -120px; bottom: -160px; background: radial-gradient(circle, #f59e0b, transparent 70%); opacity: 0.35; }
.h2bg .gridlines { position: absolute; inset: 0; opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.h2grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.h2pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 0.92rem; }
.h2pill .live { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.h2title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; margin: 22px 0 18px; letter-spacing: -0.01em; color: #fff; }
.h2title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.h2title .ln > span { display: inline-block; }
.h2title .grad { background: linear-gradient(90deg, #fde68a, #fbbf24 45%, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2hero .lead { color: rgba(255, 255, 255, 0.78); font-size: 1.12rem; max-width: 560px; }
.h2hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.h2hero .trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.h2hero .trust span { display: inline-flex; align-items: center; gap: 6px; }
.h2hero .trust .i { color: #34d399; width: 18px; height: 18px; }
.h2down { position: absolute; left: 50%; bottom: 22px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25); transform: rotate(90deg); }

/* The big ticket */
.h2stage { position: relative; height: 430px; display: grid; place-items: center; perspective: 1200px; }
.h2stage .ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.18); }
.h2stage .r1 { width: 400px; height: 400px; }
.h2stage .r2 { width: 520px; height: 520px; border-style: solid; border-color: rgba(255, 255, 255, 0.07); }
.bigticket { position: relative; width: min(430px, 92%); padding: 24px 26px 22px; border-radius: 26px; color: #10251a;
  background: linear-gradient(140deg, #fffdf5 0%, #fff6dd 55%, #ffe7a8 100%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: rotate(-4deg); will-change: transform; }
.bigticket::before, .bigticket::after { content: ''; position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--deep-2); }
.bigticket::before { left: -15px; } .bigticket::after { right: -15px; }
.bt-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 700; color: #6b4a00; }
.bt-brand { display: inline-flex; align-items: center; gap: 6px; }
.bt-draw { padding: 3px 10px; border-radius: 99px; background: rgba(122, 74, 0, 0.1); }
.bt-num { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; font-weight: 800; }
.bt-series { font-size: 1.6rem; padding: 4px 10px; border-radius: 10px; background: #0b7a4b; color: #fff; }
.digits { display: inline-flex; gap: 4px; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1; }
.dg { display: inline-block; height: 1.15em; overflow: hidden; padding: 0 0.06em; border-radius: 8px; background: rgba(11, 122, 75, 0.08); }
.dg .col { display: flex; flex-direction: column; }
.dg i { font-style: normal; height: 1.15em; line-height: 1.15em; text-align: center; }
.bt-status { position: relative; height: 40px; }
.bt-status .st { position: absolute; inset: 0; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; font-weight: 700; width: max-content; }
.bt-status .checking { background: rgba(11, 122, 75, 0.1); color: #0b7a4b; }
.bt-status .won { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #3b2300; opacity: 0; }
.bt-perf { position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed rgba(122, 74, 0, 0.18); pointer-events: none; display: none; }
.h2stage .hchip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-weight: 600; font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.h2stage .hchip .i { color: #fbbf24; }
.h2stage .c1 { left: 0; top: 40px; } .h2stage .c2 { right: 0; bottom: 56px; }
.h2stage .c3 { left: 24px; bottom: 30px; flex-direction: column; gap: 0; padding: 10px 16px; }
.h2stage .c3 b { font-size: 1.7rem; line-height: 1.1; color: #fbbf24; }
.h2stage .c3 small { opacity: 0.8; font-size: 0.75rem; }

/* Video */
.vframe { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); will-change: transform; }
.vframe video, .vframe iframe, .vfacade, .vfacade img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vfacade { padding: 0; cursor: pointer; background: #000; }
.vplay { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.18); }

/* How it works: panels side by side (sideways scroll on computers, GSAP) */
.h2how { background: var(--deep); color: #fff; overflow: hidden; }
.h2how-in { padding: 80px 0; }
.h2how-head { margin-bottom: 34px; }
.h2how-head h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 10px 0 0; }
.h2how .tag { background: rgba(255, 255, 255, 0.1); color: #fde68a; }
.h2track { display: flex; gap: 22px; padding: 0 max(16px, calc((100vw - 1180px) / 2)); width: max-content; }
.panel { position: relative; width: min(420px, 82vw); min-height: 360px; padding: 30px; border-radius: 28px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.12); }
.panel .pnum { position: absolute; right: 22px; top: 6px; font-size: 6rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, 0.07); }
.panel .pic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #3b2300; }
.panel h3 { color: #fff; font-size: 1.4rem; margin: 10px 0 0; }
.panel p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.pchips span { padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: 700; letter-spacing: 0.03em; }
.panel.last { justify-content: center; align-items: flex-start; background: linear-gradient(160deg, #0b7a4b, #053d26); }

/* Features: 3 × 2 cards, each starts with a small picture of the feature (no empty space) */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.btile {
  position: relative; overflow: hidden; padding: 14px 14px 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; box-shadow: 0 18px 40px -30px rgba(6, 95, 70, 0.45);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.btile:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 30px 60px -32px rgba(6, 95, 70, 0.6); }
.bt-body { display: flex; gap: 14px; padding: 0 10px; align-items: flex-start; }
.btile .fi { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); }
.btile.c2 .fi { color: #7c3aed; background: color-mix(in srgb, #7c3aed 12%, transparent); }
.btile.c3 .fi { color: #db2777; background: color-mix(in srgb, #db2777 12%, transparent); }
.btile.c4 .fi { color: #d97706; background: color-mix(in srgb, #f59e0b 16%, transparent); }
.btile h3 { margin: 0 0 4px; font-size: 1.12rem; }
.btile p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.btile.dark { background: linear-gradient(165deg, #0f8a55, #053d26 75%); color: #fff; border: 0; }
.btile.dark p { color: rgba(255, 255, 255, 0.8); }
.btile.dark .fi { background: rgba(255, 255, 255, 0.14); color: #fde68a; }
/* The picture area at the top of each card */
.fa { position: relative; height: 168px; border-radius: 18px; overflow: hidden; padding: 16px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--brand-3) 22%, transparent), transparent 60%), linear-gradient(160deg, var(--surface-2), color-mix(in srgb, var(--brand-soft) 70%, var(--surface)));
  border: 1px solid var(--line); }
.btile.c2 .fa { background: radial-gradient(circle at 80% 0%, #7c3aed22, transparent 60%), linear-gradient(160deg, var(--surface-2), color-mix(in srgb, #7c3aed 8%, var(--surface))); }
.btile.c3 .fa { background: radial-gradient(circle at 20% 100%, #db277722, transparent 60%), linear-gradient(160deg, var(--surface-2), color-mix(in srgb, #db2777 7%, var(--surface))); }
.btile.c4 .fa { background: radial-gradient(circle at 80% 100%, #f59e0b2a, transparent 60%), linear-gradient(160deg, var(--surface-2), color-mix(in srgb, #f59e0b 9%, var(--surface))); }
.fa.nums span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--line); font-weight: 700; letter-spacing: 0.05em; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.fa.nums span.hit { background: linear-gradient(135deg, #fde68a, #f59e0b); border: 0; color: #3b2300; box-shadow: 0 10px 22px -12px rgba(245, 158, 11, 0.9); transform: scale(1.06); }
.fa em { width: 100%; text-align: center; font-style: normal; font-size: 0.82rem; font-weight: 600; color: var(--brand); display: inline-flex; justify-content: center; align-items: center; gap: 4px; }
.fa.note { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
.fa-n { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.35); }
.fa-n b { display: block; font-size: 0.86rem; color: #b45309; }
.fa-n small { color: var(--muted); font-size: 0.78rem; }
.fa-n.dim { opacity: 0.75; transform: scale(0.95); }
.fa-n.dim b { color: var(--ink); }
.fa-app { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.fa.scanbox { background: rgba(255, 255, 255, 0.06); border: 0; }
.fa.scanbox b { font-size: 1.5rem; letter-spacing: 0.08em; color: #fff; z-index: 1; }
.sb-c { position: absolute; width: 26px; height: 26px; border: 3px solid #fde68a; }
.sb-c.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.sb-c.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.sb-c.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.sb-c.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.sb-line { position: absolute; left: 14px; right: 14px; top: 0; height: 2px; background: #fde68a; box-shadow: 0 0 12px 2px rgba(253, 230, 138, 0.8); animation: sbScan 2.4s ease-in-out infinite; }
@keyframes sbScan { 0%, 100% { top: 14%; } 50% { top: 84%; } }
@media (prefers-reduced-motion: reduce) { .sb-line { animation: none; top: 50%; } }
.fa.list { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.fa.list code { display: block; width: 78%; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-family: inherit; font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; text-align: left; font-size: 0.92rem; }
.fa-ok { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: #7c3aed; color: #fff; font-size: 0.8rem; font-weight: 700; }
.fa.people span { display: grid; justify-items: center; gap: 2px; min-width: 76px; padding: 12px 10px; border-radius: 16px; background: var(--surface); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.35); }
.fa.people span::before { content: ''; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #f9a8d4, #db2777); margin-bottom: 4px; }
.fa.people span:nth-child(2)::before { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.fa.people span:nth-child(3)::before { background: linear-gradient(135deg, #6ee7b7, #059669); }
.fa.people b { font-size: 0.9rem; }
.fa.people small { color: var(--muted); font-size: 0.75rem; }
.fa.steps { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
.fa.steps span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--surface); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.fa.steps span.done { color: var(--ink); }
.fa.steps span.done .i { color: #fff; background: #d97706; border-radius: 50%; padding: 2px; }
.seccta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 36px; }
.seccta > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.seccta > span .i { color: var(--brand); }

/* Light sections on the home page: tinted bands, dot pattern and soft light, so they never look empty */
.home2 .sec:not(.h2check):not(.h2video) { overflow: hidden; }
.home2 #features, .home2 #faq { background: radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--brand-3) 14%, transparent), transparent 70%), radial-gradient(50% 50% at 100% 100%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%), var(--bg); }
.home2 #plans, .home2 #why { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-soft) 70%, var(--bg)), var(--bg) 70%); }
.home2 #features::before, .home2 #plans::before, .home2 #why::before, .home2 #faq::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(color-mix(in srgb, var(--brand) 22%, transparent) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.home2 .sec > .container { position: relative; }
.home2 .sec-h h2 { background: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--brand) 75%, var(--ink))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home2 .h2check .sec-h h2, .home2 .h2how h2 { color: inherit; background: none; }

/* Why: by hand vs with us */
.whygrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.whycol { padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.whycol h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.15rem; }
.whycol h3 .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; }
.whycol.bad h3 .i { color: var(--red); background: var(--red-soft); }
.whycol.good { border: 2px solid var(--brand); }
.whycol.good h3 .i { color: #fff; background: var(--brand); }
.whycol ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.whycol li { display: flex; gap: 10px; align-items: flex-start; }
.whycol li .i { flex: none; margin-top: 3px; }
.whycol.bad li { color: var(--muted); }
.whycol.bad li .i { color: var(--red); }
.whycol.good li .i { color: var(--brand); }
.whymath { display: grid; align-content: center; justify-items: center; text-align: center; gap: 4px; padding: 26px 18px; border-radius: 26px; color: #fff; background: radial-gradient(120% 120% at 50% 0%, #0f8a55, #053d26 70%); box-shadow: 0 30px 60px -30px rgba(6, 95, 70, 0.8); }
.whymath b { font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: #fde68a; letter-spacing: -0.02em; }
.whymath small { opacity: 0.85; }
.whymath span { margin-top: 10px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); font-weight: 700; }

/* Next draw: days left + call to action */
.urgent { padding: 0 0 10px; }
.urg { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 26px; border-radius: 26px; background: linear-gradient(120deg, #fff7db, #fde68a 60%, #fbbf24); color: #3b2300; box-shadow: 0 30px 60px -34px rgba(217, 119, 6, 0.9); }
.urg-days { display: grid; justify-items: center; min-width: 92px; padding: 10px 12px; border-radius: 18px; background: #3b2300; color: #fde68a; }
.urg-days b { font-size: 2.2rem; line-height: 1; }
.urg-days small { font-weight: 700; }
.urg-txt { flex: 1 1 260px; display: grid; gap: 2px; }
.urg-txt b { font-size: 1.3rem; }
.urg .btn { background: #053d26; color: #fff; }

/* Sticky "Start free" bar on phones */
.stickycta { display: none; }
@media (max-width: 760px) {
  .stickycta { display: flex; align-items: center; gap: 12px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 85;
    padding: 10px 10px 10px 16px; border-radius: 20px; background: #053d26; color: #fff; border: 1px solid rgba(253, 230, 138, 0.45); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
    transform: translateY(140%); transition: transform 0.35s var(--ease); }
  .stickycta.on { transform: none; }
  .stickycta > div { flex: 1; display: grid; line-height: 1.25; }
  .stickycta small { opacity: 0.8; font-size: 0.8rem; }
  body.has-sticky .chatfab { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* Quick check band: dark, eye-catching (#check) */
.h2check { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, #0f8a55 0%, #064e32 45%, #032617 100%); color: #fff; }
.h2check-bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; }
.h2check-bg .o1 { width: 420px; height: 420px; right: -120px; top: -140px; background: #f59e0b55; }
.h2check-bg .o2 { width: 360px; height: 360px; left: -120px; bottom: -160px; background: #34d39955; }
.h2check .container { position: relative; }
.h2check .qc { align-items: center; }
.h2check .tag { background: rgba(255, 255, 255, 0.12); color: #fde68a; }
.h2check .qcside h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.h2check .qcside > p { color: rgba(255, 255, 255, 0.82); }
.qc-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.qc-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.qc-points .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fde68a; color: #064e32; flex: none; }
.qc-stat { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.qc-stat div { flex: 1 1 90px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.qc-stat b { display: block; font-size: 1.5rem; color: #fde68a; line-height: 1.1; }
.qc-stat small { opacity: 0.8; }
.qc-card {
  position: relative; padding: 24px; border-radius: 28px; background: var(--surface); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(253, 230, 138, 0.55), 0 0 0 8px rgba(255, 255, 255, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.qc-card-h { display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; font-size: 1.1rem; }
.qc-card-h .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.h2check .chipbox { min-height: 110px; font-size: 1.15rem; border-width: 2px; }
.h2check #ckGo { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; box-shadow: 0 14px 28px -14px rgba(245, 158, 11, 0.9); }

/* Pricing on the home page */
.slotrule { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -6px 0 26px; }
.slotrule div { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; }
.slotrule .i { color: var(--brand); }
.h2price .price.pop { background: linear-gradient(165deg, #0b7a4b, #053d26); color: #fff; border-color: transparent; transform: translateY(-10px); }
.h2price .price.pop .desc, .h2price .price.pop li span, .h2price .price.pop .lim { color: rgba(255, 255, 255, 0.85); }
.h2price .price.pop .amt b { color: #fde68a; }
.h2price .price.pop .btn { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; }

.h2cta { background: radial-gradient(120% 120% at 20% 0%, #0b7a4b, var(--deep)) !important; color: #fff; }
.h2cta h2, .h2cta p { color: #fff; }

@media (max-width: 960px) {
  .h2check .qc { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whygrid { grid-template-columns: minmax(0, 1fr); }
  .h2hero { min-height: 0; padding: 40px 0 70px; }
  .h2grid { grid-template-columns: minmax(0, 1fr); }
  .h2stage { height: 360px; }
  .h2stage .r2 { display: none; }
  .btile.tall { grid-row: auto; }
}
@media (max-width: 640px) {
  .h2track { flex-direction: column; width: auto; }
  .panel { width: auto; min-height: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .h2stage .c1 { top: 0; } .h2stage .c2 { top: auto; bottom: 0; right: 0; }
  .h2stage .c3 { display: none; }
  .h2price .price.pop { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .h2pill .live { animation: none; } }
.gs .h2hero .ctas .btn, .gs .h2cta .btn { transition-property: box-shadow, border-color, filter, background; }

/* ================================================================ language switch (বাং | EN) */
.langsw { display: inline-flex; padding: 3px; gap: 2px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.langsw button { border: 0; background: transparent; min-width: 44px; min-height: 34px; padding: 0 12px; border-radius: 99px; font: inherit; font-weight: 700; font-size: 0.88rem; color: var(--muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
.langsw button.on { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 4px 12px -6px color-mix(in srgb, var(--brand) 80%, transparent); }
.langsw button:not(.on):hover { color: var(--ink); }
.foot .bottom .langsw.onfoot { margin-right: auto; }
.menu .langsw.inmenu { margin: 4px 10px 8px; }

/* ================================================================ phone menu (full screen, dark like the home hero) */
.mpanel { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom)); color: #fff;
  background: radial-gradient(120% 70% at 100% 0%, #0b5c3a 0%, #053d26 45%, #031d13 100%);
  clip-path: circle(0% at calc(100% - 38px) 34px); transition: clip-path 0.45s cubic-bezier(0.7, 0, 0.2, 1); }
.mpanel.open { clip-path: circle(150% at calc(100% - 38px) 34px); }
.mpanel[hidden] { display: none; }
.mp-glow { position: absolute; right: -120px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28), transparent 70%); }
.mp-head { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.mp-head .brand, .mp-head .brand span { color: #fff; }
.mp-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff;
  display: grid; place-items: center; cursor: pointer; transform: rotate(-90deg); transition: transform 0.4s var(--ease) 0.1s; }
.mpanel.open .mp-close { transform: none; }
.mp-links { position: relative; display: grid; padding: 26px 0 18px; }
.mp-links a { display: flex; align-items: baseline; gap: 14px; padding: 13px 4px; color: #fff; text-decoration: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0; transform: translateY(18px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + 180ms); }
.mpanel.open .mp-links a { opacity: 1; transform: none; }
.mp-links .mn { font-size: 0.8rem; font-weight: 700; color: #fbbf24; min-width: 22px; }
.mp-links .ml { font-size: 1.55rem; font-weight: 700; line-height: 1.25; }
.mp-links a > .i { margin-left: auto; align-self: center; width: 20px; height: 20px; color: rgba(255, 255, 255, 0.45); transition: transform 0.2s, color 0.2s; }
.mp-links a:active > .i, .mp-links a:hover > .i { transform: translateX(4px); color: #fbbf24; }
.mp-links a.on .ml { color: #fde68a; }
.mp-foot { position: relative; margin-top: auto; display: grid; gap: 10px; padding-top: 18px;
  opacity: 0; transform: translateY(18px); transition: opacity 0.4s var(--ease) 0.5s, transform 0.4s var(--ease) 0.5s; }
.mpanel.open .mp-foot { opacity: 1; transform: none; }
.mp-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.langsw.ondark { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); }
.langsw.ondark button { color: rgba(255, 255, 255, 0.75); }
.langsw.ondark button.on { background: #fff; color: #053d26; box-shadow: none; }
.mp-icon { color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; border-radius: 50% !important; width: 44px; height: 44px; }
.mp-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media (min-width: 961px) { .mpanel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mpanel, .mp-links a, .mp-foot, .mp-close { transition: none; } }

/* "Continue with Google" (Firebase) */
.gbtn { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, border-color 0.2s, background 0.2s; }
.gbtn:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.gbtn .g { width: 22px; height: 22px; flex: none; }
.gbtn.busy { opacity: 0.7; }

/* Many slot packs: small cards, shared features listed once (pricingManyHtml) */
.pfeats { list-style: none; margin: 0 auto 20px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--muted); font-size: 0.92rem; }
.pfeats li { display: flex; align-items: center; gap: 6px; }
.pfeats .i { color: var(--brand); }
.pricing.many { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pricing.many > .price { flex: 0 1 190px; }
.price.mini { padding: 20px 16px 16px; gap: 6px; }
.price.mini h3 { font-size: 1.05rem; margin: 0; }
.price.mini .amt { margin: 4px 0 0; }
.price.mini .amt b { font-size: 1.6rem; }
.price.mini .lim { margin: 0; }
.price.mini .desc { font-size: 0.82rem; margin: 0 0 8px; flex: 1; }
.price.mini.free { background: var(--surface-2, var(--surface)); }
.price.mini .ribbon { font-size: 0.7rem; }
@media (max-width: 420px) { .pricing.many { gap: 10px; } .pricing.many > .price { flex: 1 1 calc(50% - 5px); } .price.mini { padding: 16px 12px 12px; } .price.mini .amt b { font-size: 1.35rem; } }

/* Support chat bubble (chatBubble in site.js): bottom right on every page */
.chatfab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chatfab-btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-2, #10b981), var(--brand)); box-shadow: 0 12px 28px -10px rgba(6, 95, 70, 0.75);
  transition: transform 0.2s var(--ease);
}
.chatfab-btn:hover { transform: scale(1.06); }
.chatfab-btn .i { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity 0.2s, transform 0.25s var(--ease); }
.chatfab-btn .i + .i { opacity: 0; transform: rotate(-90deg); }
.chatfab.open .chatfab-btn .i:first-child { opacity: 0; transform: rotate(90deg); }
.chatfab.open .chatfab-btn .i + .i { opacity: 1; transform: none; }
.chatfab-btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); animation: chatPulse 2.6s infinite; pointer-events: none; }
.chatfab-btn { position: relative; }
.chatfab.open .chatfab-btn::after { animation: none; }
@keyframes chatPulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); } }
.chatpop { width: min(280px, calc(100vw - 36px)); padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 10px; animation: popIn 0.25s var(--ease); }
.chatpop[hidden] { display: none; }
.chatpop-h b { display: block; font-size: 1.02rem; }
.chatpop-h small { color: var(--muted); }
.chatbtn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; color: #fff !important; font-weight: 700; text-decoration: none !important; min-height: 48px; }
.chatbtn svg { width: 24px; height: 24px; flex: none; }
.chatbtn.wa { background: #25d366; }
.chatbtn.fb { background: linear-gradient(135deg, #00b2ff, #006aff); }
.chatbtn:hover { filter: brightness(1.05); }
@media (max-width: 960px) {
  /* Above the phone tab bar on logged-in pages. */
  body:has(.tabbar) .chatfab { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .chatfab-btn { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .chatfab-btn::after { animation: none; } }
@media print { .chatfab { display: none; } }

/* Pricing with many packs: free strip, "how many bonds?" finder, size tabs */
.pfree { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 16px; border-radius: 20px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.pfree > div:nth-child(2) { flex: 1 1 220px; }
.pfree b { display: block; font-size: 1.08rem; }
.pfree small { color: var(--muted); }
.pfree-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); flex: none; }
.pfinder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: stretch; padding: 20px; margin-bottom: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pf-q label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.pf-in { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.pf-in input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; outline: none; border-radius: 0; background: transparent !important; font: inherit; font-size: 1.6rem; font-weight: 700; text-align: center; padding: 8px 4px; color: var(--ink); -moz-appearance: textfield; }
.pf-in input::-webkit-outer-spin-button, .pf-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pf-in:focus-within { border-color: var(--brand); }
.pf-step { width: 54px; align-self: stretch; border: 0; background: transparent; font-size: 1.6rem; color: var(--brand); cursor: pointer; }
.pf-step:hover { background: var(--brand-soft); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pf-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.pf-chips button:hover { border-color: var(--brand); color: var(--brand); }
.pf-ans { display: grid; }
.pf-res { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, #0f8a55, #053d26); animation: popIn 0.3s var(--ease); }
.pf-res .btn { grid-column: 1 / -1; }
.pf-best small { display: block; opacity: 0.8; }
.pf-best b { display: block; font-size: 1.45rem; }
.pf-best span { opacity: 0.85; font-size: 0.92rem; }
.pf-price { text-align: right; }
.pf-price b { display: block; font-size: 1.8rem; color: #fde68a; line-height: 1.1; }
.pf-price small { opacity: 0.8; }
.pf-res.free { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pf-res.free > .i { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #fde68a; color: #064e32; }
.pf-res.free > div { flex: 1 1 180px; }
.pf-res.free b { display: block; font-size: 1.2rem; }
.pf-res.free small { opacity: 0.85; }
.ptabs { display: flex; gap: 8px; padding: 6px; margin: 0 auto 18px; width: fit-content; max-width: 100%; overflow-x: auto; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.ptabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 14px; cursor: pointer; font: inherit; color: var(--muted); text-align: center; white-space: nowrap; }
.ptabs button b { display: block; font-size: 0.98rem; }
.ptabs button small { font-size: 0.78rem; }
.ptabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.ptabs button.on b { color: var(--brand); }
.pricing.many[hidden] { display: none; }
.price.mini .rec-rb { display: none; }
.price.mini.rec { border: 2px solid var(--gold); box-shadow: 0 22px 44px -26px rgba(245, 158, 11, 0.9); }
.price.mini.rec .rec-rb { display: block; }
.price.mini.rec .btn { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3b2300; }
.pfeats { margin: 22px auto 0; }
@media (max-width: 760px) {
  .pfinder { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .ptabs { width: 100%; }
  .ptabs button { flex: 1; padding: 8px 10px; }
}

/* Android app download (#appdl) */
.appdl { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 30px; align-items: center; padding: 40px; border-radius: 32px; color: #fff; background: radial-gradient(120% 130% at 100% 0%, #0f8a55, #053d26 60%, #021a10); overflow: hidden; }
.appdl .tag { background: rgba(255, 255, 255, 0.12); color: #fde68a; }
.appdl h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 10px 0; }
.appdl p { color: rgba(255, 255, 255, 0.82); }
.appdl-btns { margin-top: 18px; gap: 12px; }
.appdl-btns .btn span { display: grid; text-align: left; line-height: 1.2; }
.appdl-btns .btn small { font-weight: 500; font-size: 0.78rem; opacity: 0.75; }
.appdl-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.appdl-steps li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.88); }
.appdl-steps li span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.14); font-weight: 700; color: #fde68a; }
.appdl-art { display: grid; place-items: center; }
.appdl-phone { width: 190px; height: 360px; border-radius: 34px; padding: 34px 18px; display: grid; justify-items: center; align-content: start; gap: 12px; background: linear-gradient(180deg, #ffffff, #e3f5ec); border: 8px solid #0b1f16; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8); transform: rotate(-6deg); color: #053d26; }
.appdl-phone img { border-radius: 22px; box-shadow: 0 14px 26px -12px rgba(6, 95, 70, 0.6); }
.appdl-bar { width: 100%; height: 12px; border-radius: 6px; background: #c9ead9; }
.appdl-bar.s { width: 70%; }
.appdl-chip { margin-top: 10px; padding: 8px 14px; border-radius: 12px; background: linear-gradient(135deg, #fde68a, #f59e0b); color: #3b2300; font-weight: 700; letter-spacing: 0.08em; }
@media (max-width: 760px) {
  .appdl { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; }
  .appdl-art { display: none; }
}
.home2 #video { background: radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--brand-3) 16%, transparent), transparent 70%), radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%); }
.home2 #latest { background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--brand-soft) 55%, var(--surface))); }

/* Google sign-in (client ID): Google's own button in an iframe. Its page is light; on our dark
   page Chrome then paints a white box behind it unless the iframe itself is marked light. */
#gbtn iframe { color-scheme: light; }
