/* ══════════════════════════════════════════════════════════════
   FPS Booster — FLK design system (dark, pink accent, DM Sans)
   Class names are used by the HTML and the dashboard JS; keep them stable.
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg:          #09090b;
  --bg-2:        #0c0c0f;
  --surface:     #121216;
  --surface-2:   #18181d;
  --surface-3:   #212128;
  --border:      rgba(255, 255, 255, 0.07);
  --border-2:    rgba(255, 255, 255, 0.15);
  --text:        #f4f4f6;
  --text-2:      #c4c4ce;
  --muted:       #8c8c98;
  --muted-2:     #62626e;
  --accent:      #e05b8a;
  --accent-h:    #ee7da3;
  --accent-2:    #c9477a;
  --accent-ink:  #ffffff;
  --accent-soft: rgba(224, 91, 138, 0.12);
  --accent-glow: rgba(224, 91, 138, 0.35);
  --violet:      #7c3aed;
  --violet-2:    #a78bfa;
  --ok:          #22c55e;
  --ok-text:     #4ade80;
  --ok-soft:     rgba(34, 197, 94, 0.10);
  --warn:        #f59e0b;
  --warn-text:   #fbbf24;
  --warn-soft:   rgba(245, 158, 11, 0.10);
  --danger:      #ef4444;
  --danger-text: #f87171;
  --danger-soft: rgba(239, 68, 68, 0.10);
  --info:        #a78bfa;
  --info-soft:   rgba(124, 58, 237, 0.14);
  --radius:      14px;
  --radius-sm:   10px;
  --radius-xs:   7px;
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:      0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg:   0 30px 80px rgba(0, 0, 0, 0.65);
  --ring:        0 0 0 3px rgba(224, 91, 138, 0.22);
  --ease:        cubic-bezier(.2, .7, .2, 1);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Code", monospace;
  color-scheme: dark;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color .15s; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(224, 91, 138, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--border-2); background-clip: padding-box; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ── Logo ── */
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.3px; font-size: 16px; color: var(--text); }
.logo em { color: var(--accent); font-style: normal; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
}
.logo-mark svg { width: 16px; height: 16px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.02); color: var(--text);
  font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s, color .12s;
}
.btn:hover { border-color: var(--border-2); background: var(--surface-3); color: var(--text); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn:disabled:hover { border-color: var(--border-2); background: rgba(255, 255, 255, 0.02); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn-primary:disabled:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: transparent; color: var(--text); }
.btn-danger { background: var(--danger-soft); border-color: rgba(239, 68, 68, 0.22); color: var(--danger-text); }
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.4); color: var(--danger-text); }
.btn-ok, .btn-ok:hover { background: var(--ok-soft); border-color: rgba(34, 197, 94, 0.3); color: var(--ok-text); box-shadow: none; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 14px; border-radius: 12px; }
.btn-sm { height: 32px; padding: 0 13px; font-size: 12px; border-radius: 8px; }
.btn-block { width: 100%; }
.spinner, .btn .spinner {
  width: 14px; height: 14px; display: inline-block; vertical-align: middle;
  border: 2px solid rgba(255, 255, 255, 0.18); border-top-color: currentColor; border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Forms ── */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.field label .muted, .field label .hint { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field label a { color: var(--accent); font-weight: 600; text-transform: none; letter-spacing: 0; }
.input {
  width: 100%; height: 42px; padding: 0 14px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 13px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input::placeholder { color: var(--muted-2); }
.input:hover { border-color: var(--border-2); }
.input:focus { border-color: var(--accent); box-shadow: var(--ring); background: var(--surface-3); }
.input.mono { font-family: var(--mono); letter-spacing: .04em; }
select.input { 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='%238c8c98' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 44px; }
.input-wrap .reveal { position: absolute; right: 5px; top: 5px; height: 32px; width: 32px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.input-wrap .reveal:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.input-wrap .reveal svg { width: 17px; height: 17px; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.hint code { color: var(--text-2); background: var(--surface-3); padding: 1px 5px; border-radius: 5px; font-size: 11.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.check a { color: var(--accent); }

.alert { display: none; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; border: 1px solid; }
.alert.show { display: flex; }
.alert a { color: inherit; font-weight: 600; }
.alert-error { background: var(--danger-soft); border-color: rgba(239, 68, 68, 0.25); color: #fca5a5; }
.alert-ok { background: var(--ok-soft); border-color: rgba(34, 197, 94, 0.25); color: #86efac; }

.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.strength span { height: 4px; border-radius: 4px; background: var(--surface-3); transition: background .2s; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 23px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.no-dot::before { display: none; }
.badge-ok     { background: var(--ok-soft); color: var(--ok-text); border-color: rgba(34, 197, 94, 0.22); }
.badge-warn   { background: var(--warn-soft); color: var(--warn-text); border-color: rgba(245, 158, 11, 0.22); }
.badge-danger { background: var(--danger-soft); color: var(--danger-text); border-color: rgba(239, 68, 68, 0.22); }
.badge-info   { background: var(--info-soft); color: var(--violet-2); border-color: rgba(124, 58, 237, 0.3); }
.badge-muted  { background: var(--surface-2); color: var(--muted); border-color: var(--border); }
.badge-accent { background: var(--accent-soft); color: var(--accent-h); border-color: rgba(224, 91, 138, 0.28); }

/* ── Toasts ── */
.toasts { position: fixed; right: 24px; bottom: 24px; display: grid; gap: 10px; z-index: 9999; }
.toast {
  min-width: 260px; max-width: 380px; padding: 12px 18px; border-radius: var(--radius-sm);
  background: rgba(24, 24, 29, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border-2); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  font-size: 13px; display: flex; gap: 11px; align-items: center;
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.toast.ok::before { background: var(--ok); }
.toast.error::before { background: var(--danger); }
@media (max-width: 640px) { .toasts { left: 12px; right: 12px; bottom: 12px; } .toast { min-width: 0; max-width: none; } }

/* ── Shared section bits ── */
.section-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-h); }
.grad { color: var(--accent-h); }

/* ══════════════════════════════════════════════════════════════
   Landing
   ══════════════════════════════════════════════════════════════ */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 9, 11, 0.72); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 13px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-cta .btn-ghost { display: none; } }

.hero { position: relative; padding: 80px 0 32px; }
.hero .container { position: relative; z-index: 1; }
.hero-copy { text-align: center; max-width: 820px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 6px; border-radius: 999px; border: 1px solid rgba(224, 91, 138, 0.25); background: var(--accent-soft); font-size: 12.5px; color: var(--text-2); }
.eyebrow b { background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 700; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 18px; }
.hero p.lead { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 640px; margin: 0 auto 32px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--accent); }

/* Dashboard preview in the hero */
.showcase { margin: 56px auto 0; max-width: 1060px; border-radius: 16px; border: 1px solid var(--border-2); background: var(--surface); padding: 8px; box-shadow: var(--shadow); }
.showcase-inner { border-radius: 13px; background: var(--bg-2); border: 1px solid var(--border); overflow: hidden; }
.showcase-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.showcase-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); display: inline-block; }
.showcase-bar .title { margin-left: 8px; }
.showcase-bar .badge { margin-left: auto; }
.showcase-body { display: grid; grid-template-columns: 190px 1fr; min-height: 360px; }
.sc-side { border-right: 1px solid var(--border); padding: 16px 10px; display: grid; gap: 2px; align-content: start; background: var(--bg-2); }
.sc-side .lbl { font-size: 10px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; padding: 10px 10px 6px; }
.sc-side span { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; color: var(--muted); position: relative; }
.sc-side span svg { width: 15px; height: 15px; opacity: .7; }
.sc-side span.on { color: #fff; font-weight: 600; background: var(--surface-2); }
.sc-side span.on svg { color: var(--accent); opacity: 1; }
.sc-main { padding: 20px; }
.sc-main h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.sc-main p { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sc-card { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.sc-card.on { border-color: rgba(34, 197, 94, 0.4); }
.sc-art { aspect-ratio: 16 / 10; position: relative; }
.sc-art .tag { position: absolute; top: 8px; right: 8px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(9, 9, 11, 0.78); color: var(--ok-text); border: 1px solid rgba(34, 197, 94, 0.35); }
.sc-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: 12px; font-weight: 600; }
.sc-info i { font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 7px; background: var(--accent); color: #fff; }
.sc-info i.done { background: var(--ok-soft); color: var(--ok-text); }
.sc-progress { padding: 0 12px 10px; font-size: 10.5px; color: var(--muted); }
.sc-progress div { height: 4px; border-radius: 4px; background: var(--surface-3); margin-top: 6px; overflow: hidden; }
.sc-progress div b { display: block; height: 100%; width: 62%; border-radius: 4px; background: var(--accent); }
@media (max-width: 800px) {
  .showcase-body { grid-template-columns: 1fr; }
  .sc-side { display: none; }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-grid .sc-card:nth-child(3) { display: none; }
}

.trust-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(12, 12, 15, 0.6); margin-top: 72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 30px 24px; border-left: 1px solid var(--border); }
.stats-grid div:first-child { border-left: 0; }
.stats-grid b { display: block; font-size: 30px; letter-spacing: -0.03em; font-weight: 800; }
.stats-grid span { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stats-grid div:nth-child(3) { border-left: 0; } .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--border); } }

.section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.025em; line-height: 1.15; margin: 8px 0 12px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; line-height: 1.6; }

/* Pack categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.cat .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.cat .ic svg { width: 21px; height: 21px; }
.cat h3 { margin: 0 0 7px; font-size: 16px; font-weight: 700; letter-spacing: -0.15px; }
.cat p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.cat code { font-size: 11px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; display: inline-block; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 28px; }
.feature .ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feature .ic svg { width: 19px; height: 19px; }
.feature h3 { margin: 0 0 7px; font-size: 15px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step::before { counter-increment: step; content: "Step " counter(step); display: block; font-size: 12px; font-weight: 600; color: var(--accent-h); margin-bottom: 14px; }
.step h3 { margin: 0 0 7px; font-size: 16px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.step code { color: var(--text-2); background: var(--surface-3); padding: 1px 6px; border-radius: 5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.plan.featured { position: relative; border-color: var(--accent); }
.plan.featured .ribbon { position: absolute; top: -12px; left: 28px; }
.plan h3 { margin: 0; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.plan .price { font-size: 42px; font-weight: 800; letter-spacing: -0.035em; margin: 12px 0 4px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .desc { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 8px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 0 18px; }
.faq details:hover, .faq details[open] { border-color: var(--border-2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.faq details p code { color: var(--text-2); }

.cta-band { margin: 0 auto; border-radius: var(--radius); padding: 56px 32px; text-align: center; border: 1px solid var(--border); background: var(--surface); }
.cta-band h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; font-weight: 800; }
.cta-band p { color: var(--muted); margin: 0 0 28px; font-size: 16px; }

.footer { border-top: 1px solid var(--border); padding: 48px 0 40px; margin-top: 100px; color: var(--muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h5 { color: var(--text); margin: 0 0 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--accent-h); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted-2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }



/* ══════════════════════════════════════════════════════════════
   Auth (split layout)
   ══════════════════════════════════════════════════════════════ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 520px; }
.auth-side { position: relative; overflow: hidden; padding: 44px 64px; display: flex; flex-direction: column; background: #08080c; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.auth-side > * { position: relative; z-index: 1; }
.auth-quote { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 60px 0 40px; max-width: 520px; }
.auth-quote h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -0.8px; margin: 0 0 16px; }
.auth-quote h2 em { font-style: normal; color: var(--accent-h); }
.auth-quote p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.6; }
.auth-divider { width: 40px; height: 2px; margin: 28px 0 4px; background: var(--border-2); }
.auth-points { display: grid; gap: 13px; margin-top: 26px; }
.auth-points div { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 14px; }
.auth-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.auth-foot { color: var(--muted-2); font-size: 12px; }
.auth-main { display: flex; flex-direction: column; padding: 32px 48px; background: var(--bg); }
.auth-main .top { display: flex; justify-content: space-between; align-items: center; }
.auth-main .top .logo { visibility: hidden; }
.auth-card { width: 100%; max-width: 390px; margin: auto; padding: 24px 0; }
.auth-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.7px; margin: 0 0 8px; }
.auth-card .sub { color: var(--muted); margin: 0 0 30px; font-size: 14px; }
.auth-card .switch-link { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }
.auth-card .switch-link a { color: var(--accent); font-weight: 600; }
.auth-card .switch-link a:hover { color: var(--accent-h); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
@media (max-width: 960px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-main { padding: 28px 24px; } .auth-main .top .logo { visibility: visible; } }

/* ══════════════════════════════════════════════════════════════
   Dashboard
   ══════════════════════════════════════════════════════════════ */
.app { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 18px 12px 14px; border-right: 1px solid var(--border); background: var(--bg-2); overflow-y: auto; }
.sidebar .logo { padding: 2px 8px 22px; }
.side-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); padding: 16px 12px 6px; font-weight: 700; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--muted); font-size: 13px; font-weight: 500; transition: background .15s, color .15s; }
.side-nav a svg { width: 17px; height: 17px; flex: none; opacity: .7; }
.side-nav a:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.side-nav a:hover svg { opacity: 1; }
.side-nav a.active { color: #fff; font-weight: 600; background: var(--surface-2); }
.side-nav a.active svg { opacity: 1; color: var(--accent); }
.side-nav a.active::before { content: ""; position: absolute; left: -12px; top: 25%; bottom: 25%; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: var(--surface-3); border: 1px solid var(--border-2); flex: none; }
.side-user .meta { min-width: 0; flex: 1; }
.side-user .meta b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user .meta span { font-size: 11.5px; color: var(--muted); }
.side-user .icon-btn:hover { color: var(--danger-text); background: rgba(239, 68, 68, 0.08); }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; transition: background .15s, color .15s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.icon-btn svg { width: 16px; height: 16px; }

.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; padding: 0 40px; border-bottom: 1px solid var(--border); background: rgba(9, 9, 11, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.topbar h1 { font-size: 15px; margin: 0; font-weight: 700; letter-spacing: -0.15px; }
.topbar .crumbs { color: var(--muted-2); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.topbar .right { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
.content { padding: 36px 40px 64px; max-width: 1320px; }
.view { display: none; }
.view.active { display: block; }

.welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.welcome h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; margin: 0 0 4px; line-height: 1.2; }
.welcome p { color: var(--muted); margin: 0; font-size: 13px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-main { grid-template-columns: 1fr 360px; align-items: start; }
@media (max-width: 1200px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1100px) { .grid-main, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; } }

.card { border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; overflow: hidden; background: var(--surface); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.012); }
.card-head h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -0.15px; }
.card-head p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.card-body { padding: 22px; }
.card + .card { margin-top: 18px; }
.menu-list, .menu.open { overflow: visible; }
.card:has(.menu) { overflow: visible; }

.stat { padding: 18px 20px; }
.stat .label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 500; }
.stat .label svg { width: 16px; height: 16px; color: var(--muted-2); }
.stat .value { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin-top: 6px; line-height: 1.2; }
.stat .foot { margin-top: 5px; font-size: 12px; color: var(--muted); }

.license-hero { padding: 24px; display: grid; gap: 18px; position: relative; }
.license-hero .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.license-hero h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.license-hero .exp { color: var(--muted); font-size: 13px; margin-top: 4px; }
.progress { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .3s linear; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kv div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); min-width: 0; }
.kv span { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.kv b { display: block; font-size: 14px; font-weight: 600; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 4px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 4px; }
.check-item .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-2); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-item.done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.check-item .dot svg { width: 12px; height: 12px; }
.check-item b { display: block; font-size: 13.5px; font-weight: 600; }
.check-item span { font-size: 12.5px; color: var(--muted); }
.check-item.done b { color: var(--text-2); }

.feed { display: grid; }
.feed-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 22px; border-bottom: 1px solid var(--border); transition: background .12s; }
.feed-item:hover { background: rgba(255, 255, 255, 0.02); }
.feed-item:last-child { border-bottom: 0; }
.feed-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--text-2); }
.feed-ic svg { width: 15px; height: 15px; }
.feed-ic.ok { background: var(--ok-soft); color: var(--ok-text); }
.feed-ic.bad { background: var(--danger-soft); color: var(--danger-text); }
.feed-ic.info { background: var(--accent-soft); color: var(--accent-h); }
.feed-item .t { flex: 1; min-width: 0; font-size: 13px; }
.feed-item .t b { font-weight: 600; }
.feed-item .t span { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-item time { color: var(--muted-2); font-size: 11.5px; white-space: nowrap; }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 700; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; padding: 11px 22px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); white-space: nowrap; }
.table td { padding: 12px 22px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.03); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13px; }

.hwid-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.hwid-box span { flex: 1; color: var(--text-2); }

.inline-form { display: flex; gap: 10px; }
.inline-form .input { flex: 1; }
@media (max-width: 560px) { .inline-form { flex-direction: column; } }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar .input { height: 36px; width: 260px; }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; position: relative; }
.bars .bar i { display: block; border-radius: 3px 3px 1px 1px; background: var(--accent); min-height: 2px; }
.bars .bar i.d { background: var(--danger); opacity: .75; border-radius: 2px; }
.bars .bar:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--surface-3); border: 1px solid var(--border-2); padding: 4px 8px; border-radius: 6px; font-size: 11px; white-space: nowrap; z-index: 2; }
.bars-x { display: flex; gap: 6px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted-2); }

.menu { position: relative; display: inline-block; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; padding: 6px; border-radius: 12px; background: rgba(24, 24, 29, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); z-index: 30; display: none; }
.menu.open .menu-list { display: block; }
.menu-list button { width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; color: var(--text-2); }
.menu-list button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.menu-list button.danger { color: var(--danger-text); }
.menu-list button.danger:hover { background: var(--danger-soft); }
.menu-list hr { border: 0; height: 1px; background: var(--border); margin: 4px 0; }

.modal-back { position: fixed; inset: 0; background: rgba(4, 4, 6, 0.72); display: none; place-items: center; z-index: 500; padding: 20px; }
.modal-back.open { display: grid; }
.modal { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal .card-head { padding: 22px 24px 0; border: 0; background: none; }
.modal .card-head h3 { font-size: 17px; letter-spacing: -0.2px; }
.modal .card-body { padding: 14px 24px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.012); }

.keys-out { display: grid; gap: 6px; margin-top: 14px; }
.keys-out code { padding: 8px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.skeleton { background: var(--surface-2); border-radius: var(--radius); color: transparent !important; }

.overlay { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 60; width: 270px; transform: translateX(-100%); }
  .app.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  .app.nav-open .overlay { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, 0.6); }
  .menu-btn { display: grid; }
  .topbar { padding: 0 16px; }
  .topbar .right .badge { display: none; }
  .content { padding: 24px 16px 48px; }
  .welcome h2 { font-size: 21px; }
  .toolbar .input { width: 100%; }
}

/* ── Packs ── */
.pack-client-note { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.dot-live, .dot-off { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-live { background: var(--ok); }
.dot-off { background: var(--muted-2); }

.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pack-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.pack-card:hover { border-color: var(--border-2); }
.pack-card.is-active { border-color: rgba(34, 197, 94, 0.45); }
.pack-card.skeleton { border: 0; }
.pack-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; border-bottom: 1px solid var(--border); }
.pack-media img, .pack-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(9, 9, 11, 0.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--text-2); pointer-events: none; transition: opacity .2s; }
.media-tag svg { width: 11px; height: 11px; }
.pack-card:hover .media-tag { opacity: 0; }
.active-tag { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(9, 9, 11, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ok-text); border: 1px solid rgba(34, 197, 94, 0.35); }
.active-tag svg { width: 11px; height: 11px; }
.media-fallback { height: 100%; display: grid; place-items: center; color: var(--muted-2); }
.media-fallback svg { width: 36px; height: 36px; }
.pack-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.pack-info > div { min-width: 0; }
.pack-info b { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pack-info span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apply-btn { flex: none; min-width: 96px; }

.apply-progress { padding: 0 16px 14px; display: grid; gap: 7px; }
.apply-progress[hidden] { display: none; }
.apply-stage { font-size: 12px; color: var(--text-2); }
.apply-progress .progress { height: 4px; }
.apply-progress .progress span { transition: width .4s var(--ease); }
.apply-progress.done .apply-stage { color: var(--ok-text); }
.apply-progress.done .progress span { background: var(--ok); }
.apply-progress.failed .apply-stage { color: var(--danger-text); }
.apply-progress.failed .progress span { background: var(--danger); box-shadow: none; }

.sound-list { overflow: hidden; }
.sound-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--border); transition: background .12s; }
.sound-row:last-child { border-bottom: 0; }
.sound-row:hover { background: rgba(255, 255, 255, 0.02); }
.sound-row.is-active { background: rgba(34, 197, 94, 0.035); }
.sound-row .apply-progress { padding: 0; flex-basis: 100%; }
.play-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.play-btn:hover { background: var(--surface-3); }
.play-btn svg { width: 15px; height: 15px; margin-left: 2px; }
.sound-row.playing .play-btn { background: var(--accent); color: #fff; border-color: var(--accent); }
.sound-row.playing .play-btn svg { margin-left: 0; }
.sound-meta { min-width: 0; width: 230px; flex: none; }
.sound-meta b { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sound-meta span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sound-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 32px; min-width: 0; overflow: hidden; }
.sound-wave i { flex: 1; min-width: 2px; max-width: 5px; border-radius: 2px; background: var(--surface-3); height: 30%; transition: background .2s; }
.sound-wave i:nth-child(3n) { height: 70%; } .sound-wave i:nth-child(4n) { height: 50%; } .sound-wave i:nth-child(5n) { height: 90%; } .sound-wave i:nth-child(7n) { height: 40%; }
.sound-row.playing .sound-wave i { background: var(--accent); }
@media (max-width: 700px) { .sound-wave { display: none; } .sound-meta { flex: 1; width: auto; } }

.drop { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px dashed var(--border-2); background: var(--surface-2); color: var(--muted); font-size: 13px; text-align: center; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 500; transition: border-color .15s, background .15s, color .15s; word-break: break-all; }
.drop:hover, .drop.over { border-color: rgba(224, 91, 138, 0.55); background: var(--accent-soft); color: var(--text-2); }
.drop.has-file { border-style: solid; border-color: rgba(224, 91, 138, 0.4); color: var(--text); }
.mp-thumb { width: 54px; height: 38px; border-radius: 7px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--border); flex: none; }
.mp-thumb-icon { display: grid; place-items: center; color: var(--accent); }
.mp-thumb-icon svg { width: 18px; height: 18px; }

/* ── Presets ── */
.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.preset-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.preset-card.is-active { border-color: rgba(34, 197, 94, 0.45); }
.preset-mosaic { display: grid; height: 100%; gap: 2px; background: var(--border); }
.preset-mosaic.n2 { grid-template-columns: 1fr 1fr; }
.preset-mosaic.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.preset-mosaic.n3 img:first-child { grid-row: span 2; }
.preset-mosaic.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.preset-mosaic img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.preset-body { padding: 16px; display: grid; gap: 12px; }
.preset-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.preset-title b { font-size: 15px; font-weight: 700; }
.preset-title span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.preset-desc { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.preset-packs { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.preset-packs li { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; font-size: 13px; border-bottom: 1px solid var(--border); }
.preset-packs li:last-child { border-bottom: 0; }
.preset-packs .pp-cat { color: var(--muted); font-size: 12px; }
.preset-packs b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preset-packs .state { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.preset-packs li.busy .state { color: var(--text-2); }
.preset-packs li.done .state { color: var(--ok-text); }
.preset-packs li.failed .state { color: var(--danger-text); }

/* ── Upload limits (Manage packs) ── */
.limit-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); padding: 3px 0; margin-top: 4px; }
.limit-row b { color: var(--text); font-weight: 600; }

/* ── 404 ── */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.notfound h1 { font-size: 112px; font-weight: 800; letter-spacing: -0.05em; margin: 0; line-height: 1; color: var(--accent-h); }
.notfound p { color: var(--muted); margin: 12px 0 28px; }

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