/* Rewardora design system v2 — navy + gold, game-store density, fintech precision. */
:root {
  --bg: #090D18;
  --bg-2: #0C1120;
  --surface: #11182A;
  --raised: #172036;
  --raised-2: #202B45;
  --line: rgba(150, 170, 230, .09);
  --line-2: rgba(150, 170, 230, .16);
  --text: #F2F5FC;
  --text-2: #B2BBD1;
  --muted: #7F89A3;
  --faint: #58627C;
  --gold: #FFC531;
  --gold-2: #FFB300;
  --gold-ink: #1D1500;
  --gold-soft: rgba(255, 197, 49, .12);
  --green: #27D27E; --green-soft: rgba(39, 210, 126, .12);
  --red: #FF5A6A; --red-soft: rgba(255, 90, 106, .12);
  --blue: #4C8DFF; --blue-soft: rgba(76, 141, 255, .13);
  --orange: #FF9A3C; --orange-soft: rgba(255, 154, 60, .13);
  --violet: #8B6CFF; --violet-soft: rgba(139, 108, 255, .14);
  /* legacy aliases used by templates */
  --volt: var(--gold); --volt-soft: var(--gold-soft); --volt-ink: var(--gold-ink);
  --amber: var(--orange); --amber-soft: var(--orange-soft); --coral: var(--red); --coral-soft: var(--red-soft);
  --sky: var(--blue); --sky-soft: var(--blue-soft); --mint: var(--green); --mint-soft: var(--green-soft); --ink: var(--bg); --ink-2: var(--bg-2);
  --r-xs: 8px; --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 24px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(0,0,0,.55);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.7);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --sidebar: 252px;
  --top: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 520px; pointer-events: none; z-index: 0; background: radial-gradient(900px 380px at 75% -120px, rgba(76, 141, 255, .10), transparent 70%); }
body > * { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* Typography */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
h1 { font-size: clamp(26px, 2.6vw, 32px); }
h2 { font-size: 20px; letter-spacing: -.02em; }
h3 { font-size: 16px; letter-spacing: -.01em; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 12px; }
.lead { color: var(--text-2); font-size: 16.5px; max-width: 60ch; font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny { font-size: 12px; }
.strong { font-weight: 700; }
.prose { max-width: 72ch; color: var(--text-2); font-weight: 500; }
.prose h3 { color: var(--text); margin: 24px 0 8px; }
.prose ul { padding-left: 20px; } .prose li { margin: 4px 0; }
.prose a, .link { color: var(--blue); text-decoration: none; font-weight: 600; }
.prose a:hover, .link:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

.i { width: 18px; height: 18px; flex: none; }
.i-sm { width: 15px; height: 15px; flex: none; }
.i-lg { width: 22px; height: 22px; flex: none; }

.coin { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.16em; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.coins { display: inline-flex; align-items: center; gap: .35em; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.coins-volt { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s; text-align: center; letter-spacing: -.005em; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: linear-gradient(180deg, #FFD255, var(--gold-2)); color: var(--gold-ink); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 20px -8px rgba(255, 179, 0, .55); }
.btn-primary:hover { background: linear-gradient(180deg, #FFDB6E, #FFBE1A); }
.btn-secondary { background: var(--raised); border-color: var(--line-2); color: var(--text); }
.btn-secondary:hover { background: var(--raised-2); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--raised); color: var(--text); }
.btn-danger { background: var(--red-soft); color: var(--red); border-color: rgba(255, 90, 106, .28); }
.btn-danger:hover { background: rgba(255, 90, 106, .2); }
.btn-green { background: var(--green); color: #032313; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: var(--r-xs); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }
.btn .i { width: 17px; height: 17px; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--gold-ink); border-color: var(--gold-ink) transparent var(--gold-ink) transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-secondary.is-loading::after, .btn-danger.is-loading::after { border-color: var(--text) transparent var(--text) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Forms */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > label, .label { font-size: 13px; font-weight: 700; color: var(--text-2); }
.hint { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.input, .select, .textarea { width: 100%; height: 44px; padding: 0 14px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text); font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 110px; padding: 11px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237F89A3' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input-sm, .select-sm { height: 36px; font-size: 13.5px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: 12.5px; font-weight: 600; }
.input-group { display: flex; } .input-group .input { border-radius: var(--r-sm) 0 0 var(--r-sm); } .input-group .btn { border-radius: 0 var(--r-sm) var(--r-sm) 0; height: 44px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { appearance: none; width: 19px; height: 19px; margin: 1px 0 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--bg-2); flex: none; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--gold-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-2); }
.switch input { appearance: none; width: 38px; height: 22px; background: var(--raised-2); border-radius: 22px; position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); transition: transform .15s var(--ease), background .15s; }
.switch input:checked { background: var(--green); } .switch input:checked::after { transform: translateX(16px); background: #fff; }
.switch input:disabled { opacity: .5; cursor: not-allowed; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .span-2 { grid-column: span 2; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.form-section { padding: 18px 0 6px; border-top: 1px solid var(--line); margin-top: 8px; }
.form-section h3 { margin-bottom: 4px; } .form-section p { color: var(--muted); font-size: 13px; }
.pw-meter { height: 4px; border-radius: 4px; background: var(--raised-2); overflow: hidden; } .pw-meter span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s, background .2s; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--raised-2); color: var(--text-2); }
.badge .i { width: 13px; height: 13px; }
.badge-ok { background: var(--green-soft); color: var(--green); }
.badge-warn { background: var(--orange-soft); color: var(--orange); }
.badge-bad { background: var(--red-soft); color: var(--red); }
.badge-info { background: var(--blue-soft); color: var(--blue); }
.badge-volt { background: var(--gold-soft); color: var(--gold); }
.badge-demo { background: rgba(9, 13, 24, .78); color: #FFD77A; border: 1px solid rgba(255, 197, 49, .35); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* Panels */
.panel { background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 140px), var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.panel-pad { padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { font-size: 16px; }
.panel-head .actions { display: flex; gap: 8px; align-items: center; }
.panel-body { padding: 20px; }
.panel-foot { padding: 12px 20px; border-top: 1px solid var(--line); }
.inset { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.callout .i { margin-top: 2px; color: var(--text-2); }
.callout strong { color: var(--text); }
.callout-warn { background: var(--orange-soft); border-color: rgba(255, 154, 60, .25); } .callout-warn .i { color: var(--orange); }
.callout-bad { background: var(--red-soft); border-color: rgba(255, 90, 106, .25); } .callout-bad .i { color: var(--red); }
.callout-ok { background: var(--green-soft); border-color: rgba(39, 210, 126, .25); } .callout-ok .i { color: var(--green); }
.callout-volt { background: var(--gold-soft); border-color: rgba(255, 197, 49, .25); } .callout-volt .i { color: var(--gold); }
.callout p:last-child { margin: 0; }

/* Layout helpers */
.stack > * + * { margin-top: 22px; }
.stack-sm > * + * { margin-top: 10px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.g-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 26px; }
.ta-r { text-align: right; } .ta-c { text-align: center; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.section-title h2 .i { color: var(--gold); }
.section-title a { font-size: 13.5px; font-weight: 700; color: var(--text-2); display: inline-flex; gap: 4px; align-items: center; }
.section-title a:hover { color: var(--text); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.035em; color: var(--text); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand img.brand-logo { height: 32px; width: auto; }

/* Public header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9, 13, 24, .82); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .inner { max-width: 1240px; margin: 0 auto; height: 68px; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.site-nav { display: flex; gap: 2px; }
.site-nav a { padding: 8px 13px; border-radius: var(--r-sm); color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text); background: rgba(255,255,255,.05); }
.site-header .auth { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }
.container { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.page { padding-block: 40px 80px; }

/* Landing */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(255, 197, 49, .10), transparent 70%), radial-gradient(closest-side at 30% 70%, rgba(76, 141, 255, .16), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 22px; }
.hero .kicker b { background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.hero h1 .hl { background: linear-gradient(90deg, #FFD255, #FF9A3C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 22px 0 30px; font-size: 18px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .payouts { margin-top: 34px; }
.hero .payouts .lbl { font-size: 13px; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.pay-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; }
.pay-chip .i { color: var(--gold); }

/* phone mockup */
.device-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.device-stage .device { transform: translateX(70px); }
.device { position: relative; width: 300px; height: 610px; border-radius: 46px; background: #05070D; padding: 12px; box-shadow: 0 0 0 1.5px #2A3350, 0 0 0 9px #0D1222, 0 0 0 10.5px #2A3350, var(--shadow-lg); z-index: 2; }
.device::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: var(--bg); position: relative; font-size: 12px; }
.scr-top { display: flex; align-items: center; justify-content: space-between; padding: 46px 14px 10px; }
.scr-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 9px; background: var(--raised); font-weight: 800; font-size: 12px; }
.scr-chip .coin { width: 14px; height: 14px; }
.scr-pad { padding: 0 14px; }
.scr-h { font-weight: 800; font-size: 14px; margin: 14px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.scr-h small { color: var(--muted); font-size: 11px; font-weight: 600; }
.scr-streak { display: flex; gap: 5px; }
.scr-streak span { flex: 1; height: 34px; border-radius: 9px; background: var(--raised); display: grid; place-items: center; font-weight: 700; color: var(--muted); font-size: 11px; }
.scr-streak span.on { background: var(--gold); color: var(--gold-ink); }
.scr-banner { position: relative; border-radius: 14px; overflow: hidden; height: 118px; margin-top: 12px; background: #0E1630; }
.scr-banner img { position: absolute; right: 0; top: 0; width: 62%; height: 100%; object-fit: cover; }
.scr-banner .ov { position: absolute; inset: 0; background: linear-gradient(90deg, #0E1630 34%, rgba(14,22,48,.6) 50%, transparent 70%); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.scr-banner b { font-size: 14px; line-height: 1.2; max-width: 60%; }
.scr-banner .go { align-self: flex-start; background: var(--gold); color: var(--gold-ink); border-radius: 7px; padding: 4px 9px; font-weight: 800; font-size: 11px; }
.scr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.scr-tile { border-radius: 11px; overflow: hidden; background: var(--surface); }
.scr-tile img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.scr-tile div { padding: 5px 6px; font-weight: 800; font-size: 11px; display: flex; gap: 3px; align-items: center; }
.scr-tile .coin { width: 12px; height: 12px; }
.scr-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: #0C1120; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center; color: var(--muted); }
.scr-tabbar .on { color: var(--gold); }
.float-card { position: absolute; z-index: 3; background: rgba(17, 24, 42, .92); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 11px; align-items: center; font-size: 13px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-card b { display: block; font-size: 14px; }
.float-card span { color: var(--muted); font-size: 12px; font-weight: 600; }
.float-a { left: 0; top: 150px; } .float-a .ic { background: var(--green-soft); color: var(--green); }
.float-b { left: 20px; bottom: 150px; } .float-b .ic { background: var(--blue-soft); color: var(--blue); }
.sample-tag { position: absolute; bottom: -4px; left: calc(50% + 70px); transform: translateX(-50%); z-index: 4; white-space: nowrap; }
.scr-list { display: grid; gap: 7px; }
.scr-row { display: flex; align-items: center; gap: 9px; padding: 7px; border-radius: 11px; background: var(--surface); }
.scr-row img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.scr-row b { font-size: 11.5px; display: block; } .scr-row span { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.scr-row .coins { margin-left: auto; font-size: 11.5px; } .scr-row .coin { width: 12px; height: 12px; }

.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; max-width: 20ch; }
.section-head p { color: var(--text-2); max-width: 46ch; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.step { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; }
.step .ic .i { width: 24px; height: 24px; }
.step .n { position: absolute; top: 22px; right: 22px; font-weight: 800; font-size: 13px; color: var(--faint); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -13px; width: 10px; height: 2px; background: var(--line-2); }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-grid .t { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.trust-grid .t h3 { display: flex; gap: 11px; align-items: center; margin-bottom: 10px; font-size: 16px; }
.trust-grid .t h3 .i { color: var(--gold); width: 20px; height: 20px; }
.trust-grid .t p { color: var(--muted); font-size: 14px; margin: 0; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 0 18px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s var(--ease); color: var(--muted); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .answer { padding: 0 0 18px; color: var(--text-2); max-width: 72ch; }

.cta-band { padding: 72px 0; }
.cta-band .box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px; border-radius: var(--r-xl); background: radial-gradient(600px 300px at 90% 0%, rgba(255,197,49,.22), transparent 70%), linear-gradient(135deg, #1A2B6B, #12193A); border: 1px solid var(--line-2); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; }
.cta-band p { margin: 10px 0 0; color: var(--text-2); }

.site-footer { padding: 60px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); background: var(--bg-2); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: var(--text); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-weight: 500; }
.site-footer a:hover { color: var(--text); }
.site-footer .legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line-2); display: grid; place-items: center; }
.socials a:hover { background: var(--raised); color: var(--text); }

/* App shell */
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line); background: var(--bg-2); padding: 18px 14px 20px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; scrollbar-color: var(--raised-2) transparent; }
.sidebar > * { flex-shrink: 0; }
.sidebar .brand { padding: 2px 8px 4px; }
.side-balance { position: relative; overflow: hidden; border-radius: var(--r-md); padding: 14px; display: block; background: radial-gradient(160px 90px at 100% 0%, rgba(255,197,49,.25), transparent 70%), linear-gradient(160deg, #1B2750, #131B35); border: 1px solid rgba(255,197,49,.22); }
.side-balance:hover { border-color: rgba(255,197,49,.4); }
.side-balance .small { color: rgba(242,245,252,.7); font-weight: 600; }
.side-balance .amt { font-size: 25px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.side-balance .amt .coin { width: 22px; height: 22px; }
.side-balance .sub { display: flex; justify-content: space-between; font-size: 12px; color: rgba(242,245,252,.65); margin-top: 6px; font-weight: 600; }
.nav-group { display: grid; gap: 2px; }
.nav-group .nav-title { font-size: 11.5px; color: var(--faint); padding: 10px 10px 4px; font-weight: 700; letter-spacing: .02em; }
.nav-link { display: flex; align-items: center; gap: 12px; height: 39px; padding: 0 11px; border-radius: var(--r-sm); color: var(--text-2); font-size: 14px; font-weight: 600; position: relative; }
.nav-link .i { width: 18px; height: 18px; color: var(--muted); }
.nav-link:hover { background: rgba(255,255,255,.04); color: var(--text); }
.nav-link.is-active { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.nav-link.is-active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.nav-link.is-active .i { color: var(--gold); }
.nav-link .count { margin-left: auto; min-width: 21px; height: 21px; border-radius: 7px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.nav-link .count.neutral { background: var(--raised-2); color: var(--text-2); }
.sidebar .side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 30px; background: rgba(9, 13, 24, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar .crumb { font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar .bal-chip { display: none; }
.bal-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 800; font-size: 14.5px; }
.bal-pill .plus { width: 28px; height: 28px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; }
.bal-pill .plus .i { width: 16px; height: 16px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--line); background: var(--surface); }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.icon-btn .pip { position: absolute; top: 7px; right: 7px; min-width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--surface); }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 700; }
.user-chip:hover { border-color: var(--line-2); }
.content { padding: 30px; max-width: 1320px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 64ch; font-weight: 500; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.bottom-nav { display: none; }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--surface); border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0; max-height: 84vh; overflow-y: auto; transform: translateY(100%); transition: transform .25s var(--ease); padding: 10px 14px calc(20px + env(safe-area-inset-bottom)); }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 4px auto 14px; }
body.sheet-open .sheet { transform: none; } body.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet { visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; } body.sheet-open .sheet { visibility: visible; transition: transform .25s var(--ease); }
@media (min-width: 721px) { .sheet, .sheet-backdrop { display: none; } }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-grid a { display: grid; justify-items: center; gap: 7px; padding: 15px 6px; border-radius: var(--r-md); background: var(--raised); font-size: 12.5px; font-weight: 600; color: var(--text-2); text-align: center; }
.sheet-grid a .i { color: var(--text); }
.sheet-grid a.is-active { box-shadow: inset 0 0 0 1px var(--gold); color: var(--text); }

.avatar { --h: 220; display: inline-grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40) 70% 40%)); color: #fff; font-weight: 800; flex: none; object-fit: cover; }
.avatar-sm { width: 30px; height: 30px; font-size: 11px; border-radius: 9px; }
.avatar-md { width: 38px; height: 38px; font-size: 13px; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; border-radius: 18px; }

/* Wallet & stats */
.wallet-hero { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 26px 28px; background: radial-gradient(420px 220px at 100% 0%, rgba(255,197,49,.22), transparent 70%), linear-gradient(135deg, #1C2B66 0%, #121A3A 70%); border: 1px solid rgba(150,170,230,.18); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.wallet-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(255,197,49,.14); box-shadow: 0 0 0 30px rgba(255,197,49,.04), 0 0 0 60px rgba(255,197,49,.025); pointer-events: none; }
.wallet-hero .lbl { font-size: 13px; font-weight: 700; color: rgba(242,245,252,.72); }
.wallet-hero .big { font-size: 44px; font-weight: 800; letter-spacing: -.04em; display: flex; align-items: center; gap: 12px; line-height: 1.05; margin-top: 6px; }
.wallet-hero .big .coin { width: 36px; height: 36px; }
.wallet-hero .usd { color: rgba(242,245,252,.72); font-weight: 600; margin-top: 4px; }
.wallet-hero .acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.wallet-hero .btn-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.wallet-stats { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet-stats div { background: rgba(5, 8, 20, .35); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; }
.wallet-stats dt { font-size: 12px; color: rgba(242,245,252,.65); font-weight: 600; }
.wallet-stats dd { margin: 4px 0 0; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }

.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.stats.s4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 17px 19px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat .k { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.stat .v { font-size: 23px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; display: flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .v .coin { width: 19px; height: 19px; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.stat.feature { background: linear-gradient(135deg, #1C2B66, #141C3E); }
.stat.feature .k, .stat.feature .s { color: rgba(242,245,252,.7); }

.progress { height: 8px; border-radius: 8px; background: var(--raised-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), #FFD86B); border-radius: 8px; transition: width .4s var(--ease); }
.progress.thin { height: 6px; }
.progress.green > span { background: var(--green); }
.progress.amber > span { background: var(--orange); }

.lvl-steps { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.lvl-steps i { width: 5px; border-radius: 2px; background: var(--raised-2); }
.lvl-steps i.on { background: var(--gold); }
.lvl-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #8B6CFF, #4C8DFF); font-weight: 800; font-size: 17px; color: #fff; box-shadow: 0 8px 20px -8px rgba(139,108,255,.7); flex: none; }

/* Chart */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .bar { fill: var(--raised-2); transition: fill .15s; }
.chart .bar.has { fill: url(#barGrad); fill: var(--gold); }
.chart .bar:hover { fill: #FFD86B; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); font-weight: 600; }
.chart .grid-line { stroke: var(--line); }
.chart-tip { position: absolute; pointer-events: none; background: var(--raised-2); border: 1px solid var(--line-2); padding: 6px 10px; border-radius: var(--r-xs); font-size: 12.5px; font-weight: 700; white-space: nowrap; transform: translate(-50%, -112%); opacity: 0; transition: opacity .1s; }
.chart-tip.on { opacity: 1; }

/* Lists */
.list { display: grid; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); min-width: 0; }
.list-item:last-child { border-bottom: 0; }
.list-item .meta { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.list-item .amount { margin-left: auto; text-align: right; flex: none; }
.list-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--raised); color: var(--text-2); flex: none; font-weight: 800; font-size: 13px; }
.list-icon .i { width: 18px; height: 18px; }
.list-icon.volt { background: var(--gold-soft); color: var(--gold); }
.list-icon.bad { background: var(--red-soft); color: var(--red); }
.list-icon.warn { background: var(--orange-soft); color: var(--orange); }
.list-icon.sky { background: var(--blue-soft); color: var(--blue); }
.list-icon.green { background: var(--green-soft); color: var(--green); }
.list-icon.violet { background: var(--violet-soft); color: var(--violet); }
.amt-pos { color: var(--green); } .amt-neg { color: var(--text-2); } .amt-pending { color: var(--orange); }
a.list-item:hover { background: rgba(255,255,255,.025); }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 700; font-size: 12px; color: var(--muted); padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: rgba(255,255,255,.015); }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-weight: 500; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255,255,255,.018); }
.table .ta-r { text-align: right; }
.table .cell-user { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.table .nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 500; }

/* Filters */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar .search { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.toolbar .search .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; }
.toolbar .search .input { padding-left: 38px; height: 42px; }
.toolbar .select { height: 42px; width: auto; min-width: 150px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.chip .i { width: 16px; height: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 11px 14px; color: var(--muted); font-weight: 700; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a.is-active { color: var(--text); border-bottom-color: var(--gold); }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.seg a { padding: 7px 13px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.seg a.is-active { background: var(--raised-2); color: var(--text); }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.scroll-x::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform .15s var(--ease), border-color .15s; }
.cat-tile:hover { transform: translateY(-2px); border-color: var(--line-2); }
.cat-tile .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px -10px var(--c); background: linear-gradient(135deg, var(--c), var(--c2)); }
.cat-tile .ic .i { width: 22px; height: 22px; }
.cat-tile b { font-size: 14.5px; display: block; }
.cat-tile .sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cat-tile::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--c); opacity: .08; }
.c-games { --c: #7C5CFF; --c2: #B25CFF; } .c-offers { --c: #2F7BFF; --c2: #22C1FF; } .c-surveys { --c: #12B886; --c2: #5BE3B5; }
.c-tasks { --c: #FF7A2F; --c2: #FFB23D; } .c-walls { --c: #FF3E6C; --c2: #FF8A5B; } .c-daily { --c: #E7A800; --c2: #FFD255; }

/* Offer cards (store style) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cards.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 220px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--raised-2) transparent; }
.rail > * { scroll-snap-align: start; }
.oc { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.oc:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); }
.oc-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--raised); overflow: hidden; }
.oc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.oc:hover .oc-media img { transform: scale(1.04); }
.oc-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(transparent, rgba(6, 9, 18, .78)); }
.oc-tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.oc-tags .badge { height: 22px; font-size: 11.5px; background: rgba(9, 13, 24, .78); backdrop-filter: blur(6px); }
.oc-tags .badge-ok { color: var(--green); } .oc-tags .badge-warn { color: var(--orange); } .oc-tags .badge-info { color: #8FB6FF; }
.oc-reward { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 7px; border-radius: 9px; background: rgba(9, 13, 24, .82); backdrop-filter: blur(6px); font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.oc-reward .coin { width: 18px; height: 18px; }
.oc-reward small { font-size: 11px; color: var(--muted); font-weight: 700; }
.oc-body { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.oc-body h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.oc-meta .i { width: 13px; height: 13px; }
.oc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.oc-progress { margin-top: 8px; }
.oc.is-done { opacity: .62; }
.oc-link { position: absolute; inset: 0; z-index: 2; }
.diff { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.diff i { width: 3px; border-radius: 1px; background: var(--raised-2); }
.diff i:nth-child(1) { height: 5px; } .diff i:nth-child(2) { height: 8px; } .diff i:nth-child(3) { height: 11px; }
.diff.easy i:nth-child(1), .diff.medium i:nth-child(-n+2), .diff.hard i { background: var(--text-2); }

/* Featured banner */
.promo { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 220px; border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); }
.promo .art { position: absolute; inset: 0 0 0 42%; }
.promo .art img { width: 100%; height: 100%; object-fit: cover; }
.promo .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 0%, rgba(17, 24, 42, .55) 22%, transparent 55%); }
.promo { background: radial-gradient(400px 220px at 0% 100%, rgba(255,197,49,.10), transparent 70%), var(--surface); }
.promo .txt { position: relative; z-index: 1; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.promo .txt h2 { font-size: 28px; letter-spacing: -.035em; line-height: 1.12; }
.promo .txt p { color: var(--text-2); margin: 0; max-width: 42ch; }
.promo .row { margin-top: 8px; }

/* Wall tiles */
.wall { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .15s, transform .15s var(--ease); }
.wall:hover { border-color: var(--line-2); transform: translateY(-2px); }
.wall .logo { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #2F7BFF, #8B6CFF); display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 17px; color: #fff; }
.wall .logo img { width: 100%; height: 100%; object-fit: cover; }

/* Task detail */
.task-hero { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.task-hero .cover { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--raised); box-shadow: var(--shadow); }
.task-hero .cover img { width: 100%; height: 100%; object-fit: cover; }
.kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.kv div { padding: 13px 15px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.kv dt { font-size: 12px; color: var(--muted); font-weight: 600; } .kv dd { margin: 5px 0 0; font-weight: 800; font-size: 15px; }
.req-list { counter-reset: req; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.req-list li { counter-increment: req; display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-weight: 500; }
.req-list li::before { content: counter(req); width: 26px; height: 26px; border-radius: 8px; background: var(--gold-soft); color: var(--gold); font-size: 12.5px; font-weight: 800; display: grid; place-items: center; flex: none; margin-top: -1px; }

.track { position: relative; display: grid; gap: 0; }
.track .ms { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; position: relative; }
.track .ms::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--raised-2); }
.track .ms:first-child::before { top: 50%; } .track .ms:last-child::before { bottom: 50%; }
.track .ms.done::before { background: var(--green); }
.track .node { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--raised-2); color: var(--muted); box-shadow: 0 0 0 4px var(--surface); }
.track .ms.done .node { background: var(--green); color: #04220F; }
.track .ms.pending .node { background: var(--orange); color: #2A1400; }
.track .node .i { width: 15px; height: 15px; }
.track .ms .t { font-weight: 700; font-size: 14.5px; }
.track .ms .t small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* Missions */
.mission { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mission:last-child { border-bottom: 0; }
.mission .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--raised); display: grid; place-items: center; color: var(--text-2); }
.mission.is-complete .ico { background: linear-gradient(135deg, #FFD255, var(--gold-2)); color: var(--gold-ink); }
.mission.is-claimed { opacity: .55; }
.mission .progress { margin-top: 8px; max-width: 380px; }
.mcards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: none; }
.mcard { padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mcard .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mcard .ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.mcard.done .ico { background: var(--gold); color: var(--gold-ink); }
.mcard h4 { font-size: 14px; line-height: 1.3; }
.streak { display: flex; gap: 8px; }
.streak .day { flex: 1; min-width: 0; text-align: center; padding: 11px 4px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); font-size: 12px; color: var(--muted); font-weight: 700; }
.streak .day b { display: block; font-size: 14px; color: var(--text); font-weight: 800; margin-top: 3px; font-variant-numeric: tabular-nums; }
.streak .day.on { background: linear-gradient(180deg, #FFD255, var(--gold-2)); border-color: transparent; color: rgba(29,21,0,.7); }
.streak .day.on b { color: var(--gold-ink); }
.streak .day.today { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

/* Rewards */
.reward-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .18s var(--ease), border-color .18s; }
.reward-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.reward-card .media { aspect-ratio: 1.6; background: var(--raised); position: relative; margin: 10px 10px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 24px -14px rgba(0,0,0,.9); }
.reward-card .media img { width: 100%; height: 100%; object-fit: cover; }
.reward-card .media .badge { position: absolute; bottom: 8px; right: 8px; background: rgba(9,13,24,.85); }
.reward-card .body { padding: 13px 14px 6px; display: grid; gap: 2px; flex: 1; }
.reward-card .val { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.reward-card .foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 14px; gap: 8px; }
.afford { height: 5px; background: var(--raised-2); border-radius: 5px; overflow: hidden; margin-top: 8px; }
.afford span { display: block; height: 100%; background: var(--green); }

/* Leaderboard */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; margin-bottom: 18px; }
.podium .p { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-align: center; display: grid; justify-items: center; gap: 7px; }
.podium .p.first { border-color: rgba(255,197,49,.45); padding-top: 32px; background: radial-gradient(200px 120px at 50% 0%, rgba(255,197,49,.16), transparent 70%), var(--surface); }
.podium .rank { font-weight: 800; font-size: 14px; color: var(--muted); }
.podium .p.first .rank { color: var(--gold); }
.rank-cell { font-weight: 800; width: 52px; color: var(--muted); }
.row-me td { background: var(--gold-soft) !important; }

/* Achievements */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ach { display: flex; gap: 13px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.ach .medal { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--raised); color: var(--faint); }
.ach.unlocked .medal { color: #1A1000; }
.ach.unlocked.bronze .medal { background: linear-gradient(135deg, #F0B27A, #B9763E); } .ach.unlocked.silver .medal { background: linear-gradient(135deg, #EEF2F7, #A9B4C2); } .ach.unlocked.gold .medal { background: linear-gradient(135deg, #FFE07A, var(--gold-2)); }
.ach h4 { font-size: 14.5px; }
.ach p { font-size: 12.5px; color: var(--muted); margin: 2px 0 6px; }
.ach:not(.unlocked) h4 { color: var(--text-2); }
.levels-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.levels-track .lv { padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.levels-track .lv .n { font-weight: 800; font-size: 22px; color: var(--faint); }
.levels-track .lv.reached .n { color: var(--text); }
.levels-track .lv.current { border-color: rgba(255,197,49,.45); background: var(--gold-soft); }
.levels-track .lv.current .n { color: var(--gold); }
.levels-track .lv .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.levels-track .lv.reached .bar { background: var(--gold); }

/* Empty / skeleton */
.empty { text-align: center; padding: 52px 24px; display: grid; justify-items: center; gap: 8px; }
.empty .art { width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(135deg, var(--raised-2), var(--raised)); display: grid; place-items: center; color: var(--text-2); margin-bottom: 8px; box-shadow: var(--shadow); }
.empty .art .i { width: 28px; height: 28px; }
.empty h3 { font-size: 17px; }
.empty p { color: var(--muted); max-width: 44ch; margin: 0 0 8px; font-size: 14px; }
.skeleton { background: linear-gradient(90deg, var(--raised) 0%, var(--raised-2) 50%, var(--raised) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Toasts & modal */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 300; display: grid; gap: 8px; width: min(390px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; background: var(--raised); border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.5); animation: toast-in .25s var(--ease); }
.toast .i { margin-top: 1px; } .toast.success .i { color: var(--green); } .toast.error .i { color: var(--red); } .toast.warning .i { color: var(--orange); } .toast.info .i { color: var(--blue); }
.toast button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
.toast.out { opacity: 0; transform: translateX(10px); transition: all .2s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }
.modal { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; padding: 20px; background: rgba(3, 5, 12, .7); backdrop-filter: blur(4px); }
.modal.open { display: grid; }
.modal .dialog { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; animation: toast-in .2s var(--ease); box-shadow: var(--shadow-lg); }
.modal .dialog h3 { margin-bottom: 8px; font-size: 18px; }
.modal .dialog p { color: var(--text-2); }
.modal .dialog .form-actions { justify-content: flex-end; margin-top: 18px; }

/* Auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.auth-side { position: relative; overflow: hidden; padding: 36px 48px; display: flex; flex-direction: column; background: radial-gradient(500px 300px at 80% 10%, rgba(255,197,49,.14), transparent 70%), linear-gradient(160deg, #15204A, #0B1022 70%); border-right: 1px solid var(--line); }
.auth-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px 0 28px; transform: rotate(-4deg); }
.auth-collage div { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 18px 30px -16px rgba(0,0,0,.8); }
.auth-collage div:nth-child(3n+2) { transform: translateY(18px); }
.auth-collage img { width: 100%; height: 100%; object-fit: cover; }
.auth-side .quote { margin-top: auto; max-width: 440px; }
.auth-side .quote h2 { font-size: 36px; letter-spacing: -.04em; line-height: 1.08; }
.auth-side .quote p { color: var(--text-2); margin-top: 14px; }
.auth-main { display: grid; place-items: center; padding: 36px 24px; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 26px; }
.auth-card .alt { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }
.auth-card .alt a { color: var(--text); font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.banner { display: flex; align-items: center; gap: 10px; padding: 10px 30px; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.banner-demo { background: linear-gradient(90deg, rgba(255,154,60,.14), rgba(255,154,60,.04)); color: #FFC08A; }
.banner-warn { background: linear-gradient(90deg, rgba(76,141,255,.16), rgba(76,141,255,.04)); color: #A9C6FF; }
.banner a { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }

.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.pager-info { color: var(--muted); font-size: 13px; font-weight: 600; }

.thread { display: grid; gap: 12px; }
.msg { max-width: 760px; padding: 15px 17px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.msg.staff { background: var(--raised); border-color: var(--line-2); margin-left: 24px; }
.msg.internal { border-style: dashed; border-color: rgba(255,154,60,.4); }
.msg .who { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.msg .who strong { color: var(--text); }
.msg .body { white-space: pre-wrap; word-wrap: break-word; color: var(--text-2); }
.attach { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; padding: 6px 10px; border-radius: var(--r-xs); background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; }

.copy { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg-2); }
.copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--text); font-family: inherit; font-weight: 600; }

/* Admin */
.admin-tag { font-size: 11px; font-weight: 800; color: var(--blue); background: var(--blue-soft); padding: 3px 7px; border-radius: 6px; letter-spacing: 0; }
.admin .nav-link.is-active::before { background: var(--blue); }
.admin .nav-link.is-active .i { color: var(--blue); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.kpi { padding: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.kpi .k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi .v { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi.alert { border-color: rgba(255,90,106,.4); } .kpi.alert .v { color: var(--red); }
.kpi.attn { border-color: rgba(255,154,60,.4); } .kpi.attn .v { color: var(--orange); }
a.kpi:hover { border-color: var(--line-2); }
.secret { filter: blur(5px); user-select: none; }
dl.details { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 11px 16px; margin: 0; font-size: 14px; font-weight: 500; }
dl.details dt { color: var(--muted); } dl.details dd { margin: 0; word-break: break-word; }
.code-block { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; white-space: pre-wrap; word-break: break-all; color: var(--text-2); }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.error-page .code { font-size: 120px; font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(180deg, var(--raised-2), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Responsive */
@media (max-width: 1240px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(3n) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stats.s4 .stat, .stats.s3 .stat { border-bottom: 0; border-right: 1px solid var(--line); }
  .stats.s4 .stat:last-child, .stats.s3 .stat:last-child { border-right: 0; }
  .g-main { grid-template-columns: minmax(0, 1fr); }
  .hero .container { grid-template-columns: 1fr; gap: 24px; }
  .wallet-hero { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  :root { --sidebar: 80px; }
  .sidebar { padding: 14px 10px; align-items: center; }
  .sidebar .brand span, .nav-link span, .nav-group .nav-title, .side-balance, .nav-link .count { display: none; }
  .nav-link { width: 50px; justify-content: center; padding: 0; }
  .nav-link.is-active::before { left: -10px; }
  .sidebar .brand { padding: 4px 0; }
  .topbar .bal-chip { display: inline-flex; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-nav, .site-header .auth .btn-ghost { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav.open { display: grid; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 49; padding: 20px 24px; align-content: start; gap: 4px; }
  .mobile-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
  .mobile-nav .btn { margin-top: 16px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .task-hero { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .g-3 { grid-template-columns: 1fr 1fr; }
  .g-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .promo { grid-template-columns: 1fr; }
  .promo .art { inset: 0 0 auto 0; height: 150px; }
  .promo .art::after { background: linear-gradient(0deg, var(--surface) 0%, transparent 60%); }
  .promo .txt { padding-top: 140px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .topbar { padding: 0 16px; height: 58px; }
  .topbar .user-chip > span:last-child { display: none; } .topbar .user-chip { padding: 3px; }
  .topbar .bal-pill { height: 36px; font-size: 13.5px; } .topbar .bal-pill .plus { width: 24px; height: 24px; }
  .topbar .crumb { font-size: 15px; }
  .content { padding: 18px 16px calc(100px + env(safe-area-inset-bottom)); }
  .banner { padding: 9px 16px; font-size: 13px; }
  .page-head { margin-bottom: 18px; }
  .page-head h1 { font-size: 25px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(12, 17, 32, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav button { display: grid; justify-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; }
  .bottom-nav .i { width: 22px; height: 22px; }
  .bottom-nav .is-active { color: var(--text); } .bottom-nav .is-active .i { color: var(--gold); }
  .bottom-nav .earn-btn .ring { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(180deg, #FFD255, var(--gold-2)); color: var(--gold-ink); display: grid; place-items: center; margin-top: -22px; box-shadow: 0 0 0 5px var(--bg), 0 10px 24px -8px rgba(255,179,0,.6); }
  .bottom-nav .earn-btn .ring .i { color: var(--gold-ink); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); padding: 14px; }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat .v { font-size: 20px; }
  .stats.s4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.s4 .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats.s3 { grid-template-columns: 1fr; } .stats.s3 .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); } .stats.s3 .stat:last-child { border-bottom: 0; }
  .g-2, .g-3, .g-4, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cards.wide { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 46%; gap: 10px; }
  .oc-body { padding: 10px; } .oc-body h3 { font-size: 13.5px; }
  .oc-reward { height: 27px; font-size: 13px; }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat-tile { padding: 12px 10px; align-items: center; text-align: center; gap: 8px; }
  .cat-tile .sub { display: none; }
  .cat-tile b { font-size: 12.5px; }
  .wallet-hero { padding: 20px; border-radius: 20px; }
  .wallet-hero .big { font-size: 36px; }
  .promo .txt { padding: 140px 18px 18px; } .promo .txt h2 { font-size: 22px; }
  .panel-head, .panel-body { padding: 14px 16px; }
  .panel-pad { padding: 18px; }
  .list-item { padding: 12px 16px; }
  .mission { grid-template-columns: 42px minmax(0, 1fr); padding: 14px 16px; }
  .mission .act { grid-column: 1 / -1; } .mission .act .btn { width: 100%; }
  .podium { gap: 8px; } .podium .p { padding: 12px 8px; }
  .toolbar .search { max-width: none; flex-basis: 100%; }
  .toolbar .select { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .toolbar .switch { flex-basis: 100%; }
  .hide-sm { display: none; }
  .table th, .table td { padding: 10px 12px; }
  .table.responsive thead { display: none; }
  .table.responsive tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table.responsive td { padding: 0; border: 0; }
  .table.responsive td[data-hide-sm] { display: none; }
  .table.responsive td.ta-r { grid-row: span 2; align-self: center; }
  .hero { padding: 36px 0 30px; }
  .hero h1 { font-size: 44px; }
  .device-stage { min-height: 540px; transform: scale(.88); margin: -30px 0; }
  .float-a { left: -6px; } .float-b { right: -6px; }
  .section { padding: 56px 0; }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .cta-band .box { flex-direction: column; align-items: flex-start; padding: 28px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > div:first-child { grid-column: span 2; }
  .container { padding-inline: 18px; }
  dl.details { grid-template-columns: 1fr; gap: 2px; } dl.details dd { margin-bottom: 10px; }
  .streak { gap: 5px; } .streak .day { padding: 9px 2px; font-size: 11px; border-radius: 10px; }
  .toasts { top: auto; bottom: calc(88px + env(safe-area-inset-bottom)); right: 16px; }
  .msg.staff { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
