/* DogVisual — graphite & violet design system */
:root {
  --radius-sm: 8px; --radius: 12px; --radius-lg: 18px; --radius-xl: 24px; --radius-pill: 10px;
  --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1);
  --font-display: "Manrope", "Segoe UI", sans-serif; --font-body: "Manrope", "Segoe UI", sans-serif;
  --space-section: clamp(64px,8vw,112px); --brand: #bd9aff; --brand-fg: #211334;
}
:root, :root[data-theme="light"] {
  --bg:#f7f4fc; --bg-elevated:#fff; --surface:#fff; --surface-2:#f0eafa; --surface-3:#e6dcf4;
  --text:#241936; --text-2:#655874; --muted:#766783; --border:#e4dced; --border-strong:#c9b7de;
  --primary:#44256a; --ring:#9863d433; --nav-bg:#f7f4fcf2; --nav-border:#e4dced;
  --ok:#3f711e; --ok-bg:#e4f0da; --warn:#946000; --warn-bg:#f9efd8; --bad:#b63737; --bad-bg:#fbe5e5;
  --shadow-1:0 4px 20px #22103904; --shadow-2:0 24px 60px #22103912;
  --btn-bg:#bd9aff; --btn-fg:#211334; --btn-hover:#d1b8ff; --mark-bg:#bd9aff; --logo-on-mark:none;
  --grad-text:linear-gradient(110deg,#7541b6,#a276dd); --input-bg:#faf7ff; --input-focus-bg:#fff;
  --toast-bg:#2b1a41; --toast-fg:#fff; --lot-glow:none; --accent-line:linear-gradient(90deg,#bd9aff,#8c57df);
  --progress-track:#e7dcf7; --progress-fill:#9061cf; --accent-ink:#7541b6;
}
:root[data-theme="dark"] {
  --bg:#120f1c; --bg-elevated:#1a1525; --surface:#1e182b; --surface-2:#282035; --surface-3:#332640;
  --text:#f7f4fc; --text-2:#bbb0cb; --muted:#a396b4; --border:#382d48; --border-strong:#57436f;
  --primary:#bd9aff; --ring:#bd9aff26; --nav-bg:#120f1cf2; --nav-border:#382d48;
  --ok:#bd9aff; --ok-bg:#bd9aff12; --warn:#efc779; --warn-bg:#efc77914; --bad:#ff8b85; --bad-bg:#ff8b8514;
  --shadow-1:0 4px 20px #00000008; --shadow-2:0 24px 60px #00000030;
  --btn-bg:#bd9aff; --btn-fg:#211334; --btn-hover:#d1b8ff; --mark-bg:#bd9aff; --logo-on-mark:none;
  --grad-text:linear-gradient(110deg,#bd9aff,#e6d8ff); --input-bg:#171120; --input-focus-bg:#251a34;
  --toast-bg:#bd9aff; --toast-fg:#211334; --lot-glow:none; --accent-line:linear-gradient(90deg,#bd9aff,#8c57df);
  --progress-track:#332640; --progress-fill:#bd9aff; --accent-ink:#bd9aff;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.3s var(--ease);
}

img { max-width: 100%; display: block; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}
.app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
main { flex: 1; }
.section { padding: var(--space-section) 0; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.eyebrow svg { width: 14px; height: 14px; opacity: 0.85; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-pill);
  padding: 8px 10px 8px 14px;
  box-shadow: var(--shadow-1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  flex: none;
}
.logo .mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.logo .mark img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  filter: none;
}
.logo .word { color: var(--text); }

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 4px;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: 0.2s var(--ease);
  cursor: pointer;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav-links a.active {
  color: var(--text);
  background: var(--surface-3);
  font-weight: 600;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Lang */
.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--font-body);
}
.lang-btn:hover { border-color: var(--border-strong); }
.lang-btn .flag { font-size: 14px; line-height: 1; }
.lang-btn svg { width: 14px; height: 14px; opacity: 0.7; }
.lang-menu {
  position: absolute;
  top: 46px;
  right: 0;
  min-width: 168px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 80;
}
.lang-menu.open {
  display: flex;
  animation: pop 0.18s var(--ease);
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  font-family: var(--font-body);
}
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu button.sel { font-weight: 700; }

/* Theme toggle (light/dark) */
.theme-toggle {
  width: 58px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  position: relative;
  cursor: pointer;
  transition: 0.3s;
  flex: none;
  padding: 0;
}
.theme-toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--btn-bg);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}
:root[data-theme="dark"] .theme-toggle .knob {
  transform: translateX(22px);
}
.theme-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--btn-fg);
}

/* Standalone switch (maintenance etc.) — NOT tied to theme */
.switch {
  width: 52px;
  height: 30px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-3);
  position: relative;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  flex: none;
  padding: 0;
}
.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.switch.is-on {
  background: var(--text);
  border-color: transparent;
}
.switch.is-on .knob {
  transform: translateX(22px);
  background: var(--bg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.25s,
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  color: inherit;
  background: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--brand);
  color: var(--brand-fg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--brand) 88%, white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero-note {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--text-2);
  font-size: 14px;
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
}
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

.mini-btn {
  height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.mini-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
}
.mini-btn svg { width: 14px; height: 14px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 20px;
}
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 0 48px;
}
.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--brand);
  color: var(--brand-fg);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

h1.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(40px, 6.2vw, 70px);
  line-height: 1.08;
  text-wrap: balance;
  max-width: 16ch;
  color: var(--text);
}
/* Gradient on brand word — solid fallback if clip fails */
.hero-title .grad {
  color: var(--muted);
  background-image: linear-gradient(120deg, var(--text) 0%, var(--brand) 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title .grad {
    color: var(--muted);
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}

.hero-sub {
  color: var(--text-2);
  font-size: clamp(16px, 1.6vw, 18px);
  margin: 22px auto 32px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Section head ---------- */
.sec-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 14px 0 12px;
  line-height: 1.2;
  color: var(--text);
}
.sec-head p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Slogan */
.slogan-band {
  text-align: center;
  padding: 64px 0;
}
.slogan-band .big {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--text);
}
.slogan-band .big .grad {
  color: var(--muted);
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .slogan-band .big .grad {
    color: var(--muted);
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}

/* ---------- Products / lots ---------- */
.plans {
  display: grid;
  gap: 18px;
}
.plans-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin: 0 auto;
  gap: 22px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.plan.lot {
  min-height: 460px;
  padding: 36px 34px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.plan.lot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lot-glow);
  pointer-events: none;
}
.plan.lot:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-strong);
}
.plan.feat {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}
.plan.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(145deg, var(--text), transparent 45%, var(--muted));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.45;
}

.lot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.lot-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}
.lot-icon svg { width: 26px; height: 26px; }
.plan.feat .lot-icon {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: transparent;
}
.lot-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.plan.feat .lot-tag {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: transparent;
}
.plan h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: var(--text);
}
.lot-lead {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: var(--text);
}
.plan .desc,
.plan .plan-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.lot-list {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}
.lot-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 500;
}
.lot-list li svg {
  width: 18px;
  height: 18px;
  color: var(--text);
  flex: none;
  opacity: 0.75;
}
.plan .btn {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

/* ---------- Features ---------- */
.bento {
  display: grid;
  gap: 16px;
}
.bento-4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin: 0 auto;
  gap: 18px;
}
.feat-card {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  min-height: 180px;
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
  border-color: var(--border-strong);
}
.feat-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  margin-bottom: 18px;
}
.feat-card .ic svg { width: 22px; height: 22px; }
.feat-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.feat-card p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Socials ---------- */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.social {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: 0.25s var(--ease);
  min-width: 200px;
}
.social:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-strong);
}
.social .si {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text);
  flex: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.social .si svg { width: 20px; height: 20px; }
.social .st {
  font-weight: 600;
  font-size: 15px;
  display: block;
}
.social .sh {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer .logo { margin-bottom: 14px; }
.footer p.tag {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 280px;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: 0.2s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--text); }
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.footer-bar .legal {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer-bar .legal a {
  color: var(--text-2);
  text-decoration: none;
  cursor: pointer;
}
.footer-bar .legal a:hover { color: var(--text); }
.footer-bar .legal .sep { color: var(--border-strong); }
.support-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: var(--shadow-1);
}
.support-chip:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.support-chip svg { width: 15px; height: 15px; }

/* ---------- Auth ---------- */
.auth-wrap {
  min-height: calc(100dvh - 100px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}
.auth-card {
  width: min(420px, 92vw);
  padding: 36px;
  border-radius: var(--radius-xl);
}
.auth-card .a-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.auth-card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--text);
}
.auth-card .a-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 26px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
}
.field .inp { position: relative; }
.field input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: 0.2s;
}
.field input::placeholder { color: var(--muted); }
.field input:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px var(--ring);
  background: var(--input-focus-bg);
}
.field .fic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.field .fic svg { width: 17px; height: 17px; display: block; }
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 22px;
  font-size: 13px;
}
.auth-row label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--text-2);
  cursor: pointer;
}
.auth-row a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.auth-alt {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.auth-alt a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Dashboard / pages ---------- */
.page-head { padding: 40px 0 26px; }
.page-head .crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.page-head p {
  color: var(--text-2);
  margin-top: 6px;
}

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 26px;
  box-shadow: var(--shadow-1);
}
.notice .ni {
  color: var(--text);
  flex: none;
  margin-top: 2px;
}
.notice .ni svg { width: 20px; height: 20px; }
.notice h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text);
}
.notice p {
  font-size: 13.5px;
  color: var(--text-2);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.dash-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-text { min-width: 0; }
.avatar {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  user-select: none;
}
.av-sm {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 13px;
}
.av-md {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 16px;
}
.av-lg {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 24px;
}
.profile-card .pn {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.profile-card .pm {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.plan-inf,
.plan-free {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.id-chip {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}
.page-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.sub-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.sub-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.45;
}
.sec-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .sec-actions { grid-template-columns: 1fr; }
}

/* License key activation */
.key-hint {
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 16px;
  line-height: 1.5;
  max-width: 640px;
}
.key-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}
.key-form .field {
  flex: 1 1 240px;
  max-width: 420px;
}
.key-form .field .inp input {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.key-form .btn {
  flex: none;
  height: 48px;
}
.keys-panel {
  margin-top: 18px;
  padding: 22px;
}
.keys-gen {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.keys-gen .admin-select {
  height: 42px;
  min-width: 72px;
}
.keys-gen .btn {
  height: 42px;
}
.key-copy {
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
  word-break: break-all;
}
.key-copy:hover { text-decoration: underline; }
.key-code { max-width: 280px; }

.dash-card.col-12 {
  grid-column: span 12;
}
.val-email {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  box-shadow: var(--shadow-1);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
}
.mobile-drawer a:hover,
.mobile-drawer a.active {
  background: var(--surface-2);
  color: var(--text);
}

.form-error {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
}
.agree-row {
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
  justify-content: flex-start !important;
}
.agree-row span {
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.45;
}

.u-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.u-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.u-meta .un {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.u-meta .ue {
  font-size: 12px;
  color: var(--muted);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-toolbar .card-title {
  margin-bottom: 0;
}
.search-field {
  margin: 0 !important;
  min-width: 240px;
}
.count-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 8px;
  vertical-align: middle;
}
.maint-panel {
  margin-bottom: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.maint-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.maint-left {
  display: flex;
  gap: 14px;
  align-items: center;
}
.warn-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  flex: none;
}
.warn-ico svg { width: 20px; height: 20px; }
.maint-t { font-weight: 700; }
.maint-d { font-size: 13px; color: var(--muted); margin-top: 2px; }
.maint-until {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 8px;
}
.maint-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.maint-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.maint-select {
  height: 42px;
  min-width: 180px;
  width: 100%;
  font-size: 14px;
}
.maint-datetime {
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  min-width: 220px;
}
.maint-datetime:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px var(--ring);
}
.mini-danger:not(:disabled):hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
}
.empty-state {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.empty-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
}
.empty-ico svg { width: 22px; height: 22px; }
.empty-t { font-weight: 700; color: var(--text); }
.empty-d { font-size: 13px; max-width: 320px; }

.info-list {
  display: flex;
  flex-direction: column;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: 0; }
.info-row .k {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-2);
  font-size: 14px;
}
.info-row .k .ki {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  flex: none;
}
.info-row .k .ki svg { width: 16px; height: 16px; }
.info-row .val {
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  color: var(--text);
}
.info-row .val.mono {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.status .sd {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.status.ok,
.status.bad,
.status.warn {
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.status.ok .sd,
.status.bad .sd,
.status.warn .sd {
  background: var(--muted);
}

/* Subscription card — same surface language as rest of cabinet */
.sub-hero {
  background: var(--surface);
  color: var(--text);
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.sub-hero .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}
.sub-hero .plan-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0 2px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.sub-hero .plan-name svg { width: 22px; height: 22px; color: var(--text); }
.sub-hero .meta {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  position: relative;
  flex-wrap: wrap;
}
.sub-hero .meta .mv {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.sub-hero .meta .ml {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.progress {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--progress-track);
  margin-top: 18px;
  overflow: hidden;
  position: relative;
}
.progress i {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  max-width: 100%;
  background: var(--progress-fill);
  border-radius: var(--radius-pill);
}
.sub-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn-on-sub {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
}
.btn-on-sub:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
}
.btn-on-sub-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-on-sub-ghost:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  letter-spacing: -0.01em;
  color: var(--text);
}
.card-title svg,
.card-title-ico {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-grid;
  place-items: center;
  opacity: 0.85;
}
.card-title-ico svg {
  width: 18px;
  height: 18px;
  display: block;
}
.admin-toolbar .card-title {
  justify-content: flex-start;
}

/* ---------- Admin ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.stat {
  padding: 22px;
  border-radius: var(--radius-lg);
}
.stat .si {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  margin-bottom: 14px;
}
.stat .si svg { width: 18px; height: 18px; }
.stat .sn {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat .sl {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}
table.tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
table.tbl th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}
table.tbl td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tbody tr { transition: 0.15s; }
table.tbl tbody tr:hover { background: var(--surface-2); }

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  background: var(--surface-2);
  padding: 4px;
  border-radius: var(--radius-pill);
  width: fit-content;
  border: 1px solid var(--border);
}
.admin-tabs button {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  color: var(--text-2);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--font-body);
}
.admin-tabs button.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1);
}

.admin-select {
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
}
.admin-select:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px var(--ring);
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tbl .mono {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Legal ---------- */
.legal-doc { max-width: 740px; margin: 0 auto; }
.legal-doc .card { padding: 40px; }
.legal-doc h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.legal-doc h3:first-of-type { margin-top: 0; }
.legal-doc p,
.legal-doc li {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.7;
}
.legal-doc ul { padding-left: 20px; }
.legal-doc .upd {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--toast-bg);
  color: var(--toast-fg);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
  z-index: 200;
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Animations ---------- */
@keyframes pop {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.reveal { animation: rise 0.55s var(--ease-out) both; }
.reveal.d1 { animation-delay: 0.06s; }
.reveal.d2 { animation-delay: 0.12s; }
.reveal.d3 { animation-delay: 0.18s; }
.reveal.d4 { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  place-items: center;
  padding: 0;
}
.burger svg {
  width: 18px;
  height: 18px;
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .plans,
  .plans-2 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.lot { min-height: 0; }
  .bento,
  .bento-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid > * { grid-column: span 12 !important; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .footer-links { gap: 32px; }
  .hero-logo { width: 72px; height: 72px; border-radius: 20px; }
  .hero-logo img { width: 42px; height: 42px; }
  .sec-actions { grid-template-columns: 1fr; }
  .val-email { max-width: 140px; }
  .key-form { flex-direction: column; align-items: stretch; }
  .key-form .field { max-width: none; }
  .key-form .btn { width: 100%; }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .keys-gen { width: 100%; }
  .keys-gen .btn { flex: 1; }
  .search-field { min-width: 0; width: 100%; }
}

@media (max-width: 560px) {
  .bento,
  .bento-4 { grid-template-columns: 1fr; }
  .plan.lot { padding: 28px 24px; }
  .stat-row { grid-template-columns: 1fr; }
  .nav-actions .lang-btn .lng { display: none; }
  .auth-card { padding: 26px; }
  .legal-doc .card { padding: 24px; }
  .nav-inner { padding: 8px 8px 8px 12px; gap: 8px; }
  .logo .word { font-size: 16px; }
  .btn-lg { height: 48px; padding: 0 22px; }
  .admin-tabs { width: 100%; overflow-x: auto; }
  .nav-actions .btn { padding: 0 12px; font-size: 13px; height: 38px; }
  .nav-actions .nav-auth { display: none; }
  .maint-form { flex-direction: column; align-items: stretch; }
  .maint-select,
  .maint-datetime { width: 100%; min-width: 0; }
}

/* ---------- DogVisual composition ---------- */
.wrap { width:min(1240px, calc(100% - 80px)); }
#nav { position:sticky; top:0; z-index:60; background:var(--nav-bg); border-bottom:1px solid var(--border); backdrop-filter:blur(18px); }
.nav { padding:18px 0; }
.nav-inner { padding:0; border:0; border-radius:0; box-shadow:none; background:none; backdrop-filter:none; gap:24px; }
.logo { font-size:21px; font-weight:800; letter-spacing:-.8px; }
.logo .mark { border-radius:10px; box-shadow:none; }
.nav-links { margin-left:auto; }
.nav-links a { font-size:12px; padding:9px 12px; }
.nav-links a.active { color:var(--accent-ink); background:none; }
.nav-actions { margin-left:16px; }
.nav-auth { height:39px; font-size:12px; padding:0 15px; }
.nav-auth.btn-ghost { border:0; background:transparent; }
.lang-btn { border:0; background:transparent; }
.lang-btn .flag { display:none; }
.theme-toggle { width:38px; height:38px; border-radius:10px; }
.theme-toggle .knob, :root[data-theme="dark"] .theme-toggle .knob, :root[data-theme="light"] .theme-toggle .knob { position:static; transform:none; width:100%; height:100%; background:transparent; box-shadow:none; color:var(--text-2); }
.btn { border-radius:10px; font-weight:800; box-shadow:none; }
.btn-primary:hover { box-shadow:0 6px 22px #bd9aff16; }
.btn-text { padding:0 8px; color:var(--text); }
.btn-text span { color:var(--accent-ink); font-size:22px; }
.btn-text:hover { color:var(--accent-ink); }
.btn-dark { background:#211334; color:#f7f4fc; }
.btn-dark:hover { background:#2e3e20; transform:translateY(-2px); }
.btn-outline { border-color:#28153e40; color:#28153e; }
.btn-outline:hover { background:#ffffff35; }
.eyebrow { font-size:10px; font-weight:800; letter-spacing:.13em; color:var(--accent-ink); }
.skip-link { position:fixed; top:-80px; left:16px; z-index:100; padding:12px; background:var(--brand); color:var(--brand-fg); }
.skip-link:focus { top:10px; }
section[id] { scroll-margin-top:110px; }
.dog-hero { display:grid; grid-template-columns:1.03fr 1fr; align-items:center; gap:54px; padding:76px 0 64px; }
.status-dot { width:6px; height:6px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px var(--ring); margin-right:5px; }
.hero-copy h1 { font-size:clamp(42px,4.5vw,66px); line-height:1.13; font-weight:800; letter-spacing:-.055em; margin:25px 0 0; }
.hero-copy h1 em { font-style:normal; color:var(--accent-ink); }
.hero-copy .hero-sub { margin:24px 0 30px; max-width:430px; font-size:15px; line-height:1.9; }
.hero-copy .hero-cta { justify-content:flex-start; gap:18px; }
.hero-copy .hero-note { margin:25px 0 0; display:flex; gap:8px; align-items:center; font-size:10px; color:var(--muted); }
.hero-note svg { width:13px; height:13px; color:var(--accent-ink); flex:none; }
.visual-preview { --preview-accent:#bd9aff; border:1px solid #57436f; border-radius:22px; background:#21182d; color:#f7f4fc; position:relative; min-width:0; overflow:hidden; box-shadow:0 30px 80px #0002; transform:rotate(1.5deg); }
.preview-top { display:flex; justify-content:space-between; align-items:center; padding:18px 20px; border-bottom:1px solid #ffffff12; background:#241a30; }
.preview-brand { display:flex; align-items:center; gap:8px; font-weight:800; font-size:13px; }
.preview-brand .mark, .preview-brand img { width:22px; height:22px; }
.concept-label { color:#c7b7d8; font-size:9px; border:1px solid #ffffff24; border-radius:5px; padding:4px 7px; }
.world-art { height:332px; position:relative; overflow:hidden; background:radial-gradient(ellipse at 50% 20%,#4c326c 0%,#251b32 65%); }
.world-grid { position:absolute; inset:0; background-image:linear-gradient(#c59ce80b 1px,transparent 1px),linear-gradient(90deg,#c59ce80b 1px,transparent 1px); background-size:32px 32px; mask-image:linear-gradient(#000,transparent); }
.world-orbit { width:240px; height:240px; position:absolute; border:1px solid #b88be322; border-radius:50%; left:50%; top:20px; transform:translateX(-50%); box-shadow:0 0 0 28px #b88be306,0 0 0 56px #b88be304; }
.world-coordinate { position:absolute; left:20px; top:17px; color:#ab8fc5; font:9px monospace; letter-spacing:.1em; }
.terrain { width:100%; height:100%; position:absolute; inset:20px 0 0; transition:filter .4s; }
.floating-dog { position:absolute; width:108px; height:108px; left:50%; top:75px; transform:translateX(-50%) rotate(-9deg); filter:drop-shadow(0 22px 22px #0006); animation:dog-float 6s ease-in-out infinite; }
.floating-dog img { width:100%; height:100%; }
.world-tag { position:absolute; z-index:2; display:flex; align-items:center; gap:8px; font-size:9px; font-weight:800; letter-spacing:.07em; border:1px solid #b29acd40; background:#291b37e8; padding:10px 13px; border-radius:8px; color:var(--preview-accent); }
.world-tag svg { width:14px; height:14px; }
.tag-top { left:24px; top:90px; transform:rotate(-6deg); }
.tag-bottom { right:20px; bottom:58px; transform:rotate(5deg); }
.crosshair { position:absolute; right:22px; top:16px; color:#c4a6e5; font:22px monospace; }
.preview-controls { padding:18px 20px; display:flex; align-items:center; justify-content:space-between; gap:14px; background:#2d203c; border-top:1px solid #ffffff10; }
.preview-controls strong { display:block; font-size:12px; }
.preview-controls span { display:block; margin-top:4px; font-size:10px; color:#bbabcb; }
.accent-options { display:flex; gap:10px; }
.accent-swatch { width:25px; height:25px; border:4px solid #2d203c; border-radius:50%; cursor:pointer; outline:1px solid transparent; transition:transform .2s; }
.accent-swatch:hover { transform:scale(1.15); }
.accent-swatch[aria-pressed="true"] { outline-color:var(--preview-accent); }
.accent-swatch.violet { background:#bd9aff; }.accent-swatch.ice { background:#8eddf2; }.accent-swatch.sunset { background:#ffb28e; }
.visual-preview[data-accent="ice"] { --preview-accent:#8eddf2; }
.visual-preview[data-accent="sunset"] { --preview-accent:#ffb28e; }
.visual-preview[data-accent="ice"] .terrain, .visual-preview[data-accent="ice"] .floating-dog { filter:hue-rotate(100deg); }
.visual-preview[data-accent="sunset"] .terrain, .visual-preview[data-accent="sunset"] .floating-dog { filter:hue-rotate(295deg); }
.manifesto-strip { display:flex; justify-content:space-between; align-items:center; padding:24px 0; gap:20px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.manifesto-strip>span { font:9px monospace; letter-spacing:.12em; color:var(--muted); }
.manifesto-strip p { font-size:13px; font-weight:700; display:flex; align-items:center; gap:28px; }
.manifesto-strip b { color:var(--accent-ink); font-size:22px; font-weight:400; }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:34px; }
.section-heading h2,.start-panel h2,.faq-section h2 { font-size:clamp(27px,3vw,40px); white-space:pre-line; line-height:1.2; letter-spacing:-.045em; font-weight:800; margin-top:16px; }
.section-heading>p { max-width:260px; color:var(--text-2); font-size:13px; line-height:1.8; padding-bottom:4px; }
.dog-features { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; counter-reset:features; }
.dog-features .feat-card { padding:25px 22px 28px; border-radius:14px; position:relative; counter-increment:features; box-shadow:none; }
.dog-features .feat-card::after { content:'0' counter(features); position:absolute; top:27px; right:22px; font:10px monospace; color:var(--muted); }
.dog-features .ic { background:var(--surface-2); color:var(--accent-ink); border-color:var(--border); width:40px; height:40px; border-radius:10px; margin-bottom:32px; }
.dog-features h4 { font-size:14px; font-weight:800; letter-spacing:-.02em; margin-bottom:11px; }
.dog-features p { font-size:12px; color:var(--text-2); line-height:1.85; }
.start-panel { background:#bd9aff; color:#28153e; border-radius:20px; padding:48px 52px; display:grid; grid-template-columns:1.5fr 1fr; gap:24px; position:relative; overflow:hidden; }
.start-panel .eyebrow { color:#4b2f6b; }
.start-panel h2 { font-size:clamp(30px,3.4vw,44px); }
.start-copy>p { max-width:430px; font-size:13px; line-height:1.9; margin:20px 0 25px; color:#503569; }
.start-actions { display:flex; flex-wrap:wrap; gap:10px; }
.start-panel small { display:block; margin-top:16px; font-size:10px; color:#563975; }
.start-art { position:relative; display:flex; align-items:center; justify-content:flex-end; }
.start-art>span { font-size:clamp(60px,6vw,86px); font-weight:800; line-height:.98; letter-spacing:-.06em; color:#29123e30; transform:rotate(-8deg); }
.start-art img { width:132px; height:132px; position:absolute; right:70px; top:50%; transform:translateY(-50%) rotate(12deg); box-shadow:8px 15px 0 #46245f; border-radius:32px; border:2px solid #46245f; }
.socials { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:14px; }
.social { padding:24px; border-radius:14px; box-shadow:none; }
.social .si { color:var(--accent-ink); background:var(--surface-2); border-color:var(--border); border-radius:12px; }
.social .st { font-size:15px; font-weight:800; }.social .sh { font-size:11px; margin-top:4px; }
.social-arrow { margin-left:auto; color:var(--muted); }.social-arrow svg { width:20px; height:20px; transform:rotate(-35deg); }
.faq-section { padding:0 0 96px; display:grid; grid-template-columns:1fr 1.5fr; gap:60px; }
.faq-list details { border-bottom:1px solid var(--border); }
.faq-list summary { cursor:pointer; display:flex; justify-content:space-between; gap:20px; padding:23px 0; font-size:13px; font-weight:700; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { color:var(--accent-ink); font-size:19px; line-height:1; transition:transform .2s; }
.faq-list details[open] summary span { transform:rotate(45deg); }
.faq-list details p { font-size:13px; color:var(--text-2); line-height:1.9; padding:0 32px 23px 0; }
#footer { background:var(--bg-elevated); border-top:1px solid var(--border); }
.footer { border:0; padding:48px 0 24px; }.footer-grid { margin-bottom:38px; }.footer .tag { font-size:12px; }.footer-col h5 { font-size:10px; color:var(--muted); }.footer-col a { font-size:12px; }
.footer-bar { font-size:10px; }.support-chip { border-radius:8px; }
.auth-wrap { grid-template-columns:1fr 1fr; gap:70px; padding:60px 32px 80px; min-height:740px; align-items:center; }
.auth-card { width:100%; max-width:450px; justify-self:end; border-radius:20px; padding:36px; border-top:3px solid var(--brand); }
.auth-card .a-logo { display:none; }.auth-card h2 { font-size:25px; text-align:left; line-height:1.3; }.auth-card .a-sub { text-align:left; margin-bottom:30px; color:var(--text-2); }
.auth-intro h1 { font-size:clamp(34px,3.5vw,48px); line-height:1.2; font-weight:800; letter-spacing:-.05em; white-space:pre-line; margin:20px 0; }
.auth-intro>p { font-size:14px; color:var(--text-2); max-width:320px; line-height:1.8; }
.auth-mascot { margin-top:50px; position:relative; display:flex; align-items:center; gap:35px; }.auth-mascot img { width:160px; height:160px; transform:rotate(-10deg); }.auth-mascot span { writing-mode:vertical-rl; font:11px monospace; letter-spacing:.2em; color:var(--muted); }
.field input { border-radius:9px; }.field input:focus { border-color:var(--accent-ink); }.auth-alt a { color:var(--accent-ink); }input[type=checkbox] { accent-color:#a87be9; }
.page-head { padding:45px 0 28px; }.page-head h1 { font-weight:800; letter-spacing:-.04em; }.crumb { color:var(--accent-ink); }
.dash-card,.stat { border-radius:14px; box-shadow:none; }.profile-card { background:var(--surface-2); }.avatar { color:var(--accent-ink); background:var(--bg); }.dash-card h3 { font-weight:800; }
.stat .si { color:var(--accent-ink); }.stat .sn { font-weight:800; }.admin-tabs { border-radius:10px; }.admin-tab.active { color:var(--brand-fg); background:var(--brand); }
.legal-doc .card { border-radius:18px; border-top:3px solid var(--brand); }.legal-doc h2 { color:var(--accent-ink); }
@keyframes dog-float { 0%,100% { transform:translateX(-50%) translateY(0) rotate(-9deg); } 50% { transform:translateX(-50%) translateY(-9px) rotate(-5deg); } }
@media(min-width:941px) and (max-width:1150px) { .nav-links a { padding:8px; font-size:11px; }.nav-inner { gap:12px; }.nav-actions { gap:5px; margin-left:0; }.nav-auth { padding:0 10px; }.dog-hero { gap:30px; }.hero-copy h1 { font-size:48px; }.hero-copy .btn-lg { padding:0 17px; font-size:12px; } }
@media(max-width:940px) {
  .wrap { width:calc(100% - 48px); }.dog-hero { gap:28px; padding:50px 0; }.hero-copy h1 { font-size:42px; }.hero-copy .eyebrow { font-size:8px; }.hero-copy .hero-sub { font-size:13px; }.hero-copy .hero-cta { gap:10px; }.hero-copy .btn-lg { height:46px; padding:0 16px; font-size:12px; }.hero-copy .hero-note { font-size:9px; }
  .world-art { height:290px; }.tag-top { left:12px; top:65px; }.tag-bottom { right:12px; bottom:50px; }.world-tag { font-size:8px; padding:8px; }.floating-dog { width:90px; height:90px; }.concept-label { font-size:8px; }.preview-top,.preview-controls { padding:14px; }.preview-controls strong { font-size:10px; }.preview-controls span { font-size:9px; }.accent-options { gap:7px; }
  .dog-features { grid-template-columns:repeat(2,1fr); }.manifesto-strip>span:last-child { display:none; }.manifesto-strip p { gap:20px; font-size:11px; }.start-panel { padding:36px; grid-template-columns:1.7fr 1fr; }.start-art img { right:20px; width:105px; height:105px; border-radius:26px; }.auth-wrap { padding:40px 0 60px; gap:30px; }.auth-card { padding:28px; }.auth-intro h1 { font-size:36px; }.faq-section { gap:30px; }
}
@media(max-width:700px) {
  .dog-hero { grid-template-columns:1fr; gap:38px; padding:42px 0; }.hero-copy h1 { font-size:clamp(40px,8.5vw,58px); }.hero-copy .eyebrow { font-size:9px; }.hero-copy .hero-sub { font-size:14px; max-width:460px; }.hero-copy .hero-note { font-size:10px; }.visual-preview { transform:none; max-width:530px; width:100%; justify-self:center; }.world-art { height:320px; }.preview-top,.preview-controls { padding:18px; }.preview-controls strong { font-size:12px; }.concept-label { font-size:9px; }.floating-dog { top:70px; width:110px; height:110px; }.tag-top { left:25px; top:95px; }.tag-bottom { right:25px; bottom:65px; }.world-tag { font-size:9px; }
  .manifesto-strip { justify-content:center; padding:18px 0; }.manifesto-strip>span { display:none; }.manifesto-strip p { gap:16px; font-size:11px; }.section-heading { display:block; }.section-heading>p { margin-top:18px; max-width:400px; }.start-panel { grid-template-columns:1fr; padding:30px; }.start-art { display:none; }.faq-section { grid-template-columns:1fr; gap:22px; padding-bottom:60px; }.auth-wrap { grid-template-columns:1fr; gap:30px; min-height:0; }.auth-intro { padding:8px 0; }.auth-intro h1 { font-size:32px; margin:12px 0; }.auth-intro>p,.auth-mascot { display:none; }.auth-card { justify-self:stretch; max-width:none; }.auth-card h2 { font-size:24px; }
}
@media(max-width:420px) {
  .wrap { width:calc(100% - 32px); }.logo .word { font-size:17px; }.logo { gap:8px; }.logo .mark,.logo .mark img { width:30px; height:30px; }.nav-actions { gap:3px; margin-left:auto; }.nav-inner { gap:5px; padding:0; }.nav { padding:14px 0; }.lang-btn { padding:0 6px; }.theme-toggle { width:32px; height:32px; }.hero-copy .eyebrow { font-size:8px; }.hero-copy .hero-note { font-size:9px; }.hero-copy .hero-cta { gap:12px; }.hero-copy .btn-lg { font-size:11px; padding:0 13px; }.manifesto-strip p { gap:11px; font-size:9px; }.dog-features { grid-template-columns:1fr; }.dog-features .ic { margin-bottom:20px; }.dog-features .feat-card { padding:22px; }.start-panel { padding:26px 22px; }.start-actions { flex-direction:column; }.start-actions .btn { width:100%; }.preview-controls { gap:8px; }.preview-controls strong { font-size:11px; }.accent-options { gap:7px; }.accent-swatch { width:24px; height:24px; }.footer-grid { gap:25px; }.footer-links { gap:24px; flex-wrap:wrap; }.footer-bar .legal { font-size:9px; }.auth-card { padding:24px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .floating-dog { animation:none; } *,*::before,*::after { transition:none!important; } }

/* Keep compact navigation legible on all themes and widths. */
.theme-toggle svg { color:var(--text-2); width:16px; height:16px; }
.nav-actions .lang-btn .lng { display:inline; }
@media(prefers-reduced-motion:reduce) { .reveal { animation:none; } }
/* ---------- Authentication dialogs and store ---------- */
.dv-dialog { color:var(--text); background:var(--surface); border:1px solid var(--border-strong); border-top:3px solid var(--brand); border-radius:22px; padding:28px; width:min(460px,calc(100% - 32px)); max-height:calc(100dvh - 40px); margin:auto; box-shadow:0 25px 100px #0007; }
.dv-dialog::backdrop { background:#050803bd; backdrop-filter:blur(6px); }
.dv-dialog.product-dialog { width:min(580px,calc(100% - 32px)); }
.dialog-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.dialog-icon { background:var(--surface-2); color:var(--accent-ink); padding:12px; border-radius:12px; display:grid; place-items:center; }
.dialog-icon svg { width:25px; height:25px; }
.dialog-close { width:36px; height:36px; border:1px solid var(--border); border-radius:9px; color:var(--text-2); background:transparent; font-size:24px; cursor:pointer; }
.dv-dialog h2 { font-size:25px; line-height:1.3; letter-spacing:-.04em; margin-bottom:14px; }
.dialog-description { font-size:13px; line-height:1.85; color:var(--text-2); margin-bottom:22px; overflow-wrap:anywhere; }
.dialog-hint { font-size:12px; line-height:1.8; color:var(--muted); margin:12px 0 20px; }
.dv-dialog .field input { padding:0 13px; }.dv-dialog .field { margin-top:16px; }
.dv-dialog textarea,.dv-dialog select { width:100%; border:1px solid var(--border); border-radius:9px; background:var(--input-bg); color:var(--text); padding:12px; font:inherit; font-size:13px; }
.dv-dialog textarea { resize:vertical; min-height:85px; }
.dv-dialog .otp-input { text-align:center; font:700 30px monospace; letter-spacing:.35em; height:65px; padding:0 0 0 .35em; }
.dialog-actions { display:flex; gap:10px; margin-top:24px; flex-wrap:wrap; }.dialog-actions .btn-primary { flex:1; }
.purchase-total { font-size:32px; font-weight:800; margin:14px 0; color:var(--accent-ink); }
.setup-secret { display:block; padding:14px; border:1px dashed var(--border-strong); border-radius:9px; color:var(--accent-ink); background:var(--input-bg); overflow-wrap:anywhere; user-select:all; margin:14px 0; }
.wallet-bar { display:flex; align-items:center; justify-content:space-between; padding:28px; gap:25px; border-left:3px solid var(--brand); margin-bottom:20px; }
.wallet-bar strong { display:block; font-size:36px; font-weight:800; margin:10px 0 5px; letter-spacing:-.04em; }.wallet-bar p { color:var(--text-2); font-size:12px; line-height:1.8; max-width:550px; }
.wallet-section { margin-bottom:20px; }.wallet-section h2,.admin-workspace h2 { font-size:18px; font-weight:800; }.wallet-section summary { cursor:pointer; font-size:16px; font-weight:700; }.wallet-section[open] summary { margin-bottom:20px; }
.owned-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:15px; margin-top:20px; }.owned-product { padding:20px; border-radius:12px; border:1px solid var(--border); background:var(--bg-elevated); min-width:0; }.owned-product h3 { font-size:18px; margin:12px 0; overflow-wrap:anywhere; }.delivery-text { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; color:var(--text-2); line-height:1.8; margin-bottom:18px; }.owned-product small { display:block; margin-top:15px; color:var(--muted); font:11px monospace; }
.empty-copy { color:var(--muted); font-size:13px; padding:22px 0 8px; line-height:1.8; }
.shop-page,.admin-workspace,body[data-page="dashboard"] #view>.wrap { padding-bottom:65px; }
.shop-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 0; border-top:1px solid var(--border); margin:10px 0 20px; font-size:14px; }.shop-toolbar strong { color:var(--accent-ink); }
.product-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:20px; }.product-card { padding:28px; display:flex; flex-direction:column; min-width:0; }.product-icon { color:var(--accent-ink); border:1px solid var(--border); background:var(--surface-2); width:48px; height:48px; border-radius:12px; display:grid; place-items:center; margin-bottom:28px; }.product-icon svg { width:24px; height:24px; }.product-card h2 { font-size:23px; overflow-wrap:anywhere; line-height:1.3; }.product-card p { color:var(--text-2); font-size:13px; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; margin:16px 0 25px; }.product-price { font-size:28px; font-weight:800; margin:auto 0 22px; }.product-card>.btn { width:100%; }.catalog-empty { grid-column:1/-1; text-align:center; padding:65px 25px; }.catalog-empty>span { color:var(--accent-ink); display:block; margin:0 auto 20px; width:45px; }.catalog-empty p { margin-top:14px; color:var(--muted); font-size:13px; }
.commerce-tabs { display:flex; gap:6px; overflow-x:auto; margin:24px 0; padding-bottom:4px; }.commerce-tabs button { padding:12px 20px; white-space:nowrap; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text-2); font-weight:700; cursor:pointer; }.commerce-tabs button[aria-selected="true"] { background:var(--brand); color:var(--brand-fg); border-color:var(--brand); }
[data-admin-panel][hidden] { display:none!important; }.admin-workspace .stat-row { grid-template-columns:repeat(3,minmax(0,1fr)); }.admin-workspace .stat .sn { font-size:25px; overflow-wrap:anywhere; }.panel-note { color:var(--muted); font-size:12px; line-height:1.8; margin-bottom:16px; }.admin-toolbar .panel-note { margin:0; }.table-description { color:var(--muted); max-width:320px; font-size:12px; overflow-wrap:anywhere; white-space:pre-wrap; margin-top:8px; max-height:75px; overflow:auto; }.money-cell { white-space:nowrap; font-variant-numeric:tabular-nums; }.credit-amount { color:var(--accent-ink)!important; }.ledger-table td { max-width:300px; overflow-wrap:anywhere; }.admin-workspace .admin-actions { flex-wrap:wrap; min-width:220px; }.admin-workspace .tbl { min-width:820px; }
@media(max-width:700px) { .admin-workspace .stat-row { grid-template-columns:repeat(2,minmax(0,1fr)); }.admin-workspace .stat { padding:18px; }.admin-workspace .stat .sn { font-size:21px; }.wallet-bar { flex-direction:column; align-items:flex-start; padding:24px; }.wallet-bar .btn { width:100%; }.shop-toolbar { font-size:12px; }.shop-toolbar .btn { padding:0 12px; }.dv-dialog { padding:24px; }.dv-dialog h2 { font-size:23px; }.product-card { padding:24px; } }
@media(max-width:380px) { .admin-workspace .stat-row { grid-template-columns:1fr; }.dv-dialog { padding:20px; }.dialog-actions { flex-direction:column; }.dialog-actions .btn { width:100%; } }
/* ---------- Account subscription and launcher ---------- */
.subscription-card { display:flex; align-items:center; justify-content:space-between; gap:24px; border-top:2px solid var(--brand); }
.subscription-card>div { min-width:0; }.subscription-card h2 { margin:12px 0; overflow-wrap:anywhere; }
.subscription-card p,.subscription-duration { color:var(--text-2); font-size:12px; line-height:1.8; margin-top:10px; }
.account-shortcuts { display:flex; flex-wrap:wrap; gap:10px; flex-shrink:0; }
.launcher-page { padding-bottom:65px; }.launcher-card { max-width:660px; }.launcher-card h2 { font-size:24px; margin-bottom:14px; }
.launcher-card .delivery-text { margin-top:18px; }.launcher-card>.btn { margin:0 8px 10px 0; }
.launcher-settings { max-width:640px; margin-top:24px; }.launcher-settings .field { margin-bottom:20px; }
.launcher-settings textarea { width:100%; min-height:120px; padding:12px; border:1px solid var(--border); border-radius:9px; background:var(--input-bg); color:var(--text); font:inherit; font-size:13px; resize:vertical; }
.product-card>.status { align-self:flex-start; margin-top:12px; }
@media(max-width:700px) { .subscription-card { flex-direction:column; align-items:stretch; }.account-shortcuts { flex-shrink:1; }.account-shortcuts .btn { flex:1; }.launcher-card>.btn { display:flex; width:100%; margin-right:0; } }
@media(min-width:701px) and (max-width:940px) { .account-shortcuts { flex-direction:column; } }
/* ---------- Before / after: original screenshots, one shared image plane ---------- */
.comparison-section { padding:20px 0 64px; }
.comparison-section .section-heading { margin-bottom:26px; }
.comparison-section .section-heading>p { max-width:340px; }
.image-comparison { --reveal:50%; position:relative; isolation:isolate; width:100%; aspect-ratio:1919 / 972; border:1px solid var(--border-strong); border-radius:20px; overflow:hidden; background:var(--surface-2); user-select:none; -webkit-user-select:none; }
.image-comparison .comparison-image { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; pointer-events:none; }
.comparison-enhanced { clip-path:inset(0 calc(100% - var(--reveal)) 0 0); }
.comparison-shade { position:absolute; inset:0; pointer-events:none; background:linear-gradient(transparent 72%,#070b086b); }
.comparison-label { position:absolute; bottom:20px; display:flex; gap:7px; align-items:center; border:1px solid #ffffff2e; border-radius:8px; padding:8px 12px; font-size:11px; font-weight:800; color:#fff; background:#10170be0; pointer-events:none; }
.comparison-label svg { width:15px; height:15px; }.label-with { left:20px; color:#bd9aff; }.label-without { right:20px; }
.comparison-divider { position:absolute; inset-block:0; left:var(--reveal); width:2px; transform:translateX(-50%); background:#bd9aff; box-shadow:0 0 16px #0007; pointer-events:none; }
.comparison-grip { display:grid; place-items:center; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:48px; height:48px; border-radius:50%; background:#bd9aff; color:#28153e; border:3px solid #28153e66; box-shadow:0 0 0 6px #bd9aff24,0 4px 22px #0005; }
.comparison-grip svg { width:30px; height:24px; }
.comparison-range { position:absolute; inset:0; z-index:2; width:100%; height:100%; padding:0; margin:0; opacity:0; cursor:ew-resize; touch-action:pan-y; }
.image-comparison:has(.comparison-range:focus-visible) { outline:3px solid var(--accent-ink); outline-offset:5px; }
.image-comparison.is-dragging .comparison-grip { box-shadow:0 0 0 9px #bd9aff40,0 4px 22px #0005; }
.image-comparison[data-endpoint="original"] .label-with,.image-comparison[data-endpoint="enhanced"] .label-without { visibility:hidden; }
.image-comparison[data-endpoint="original"] .comparison-grip { transform:translate(4px,-50%); }
.image-comparison[data-endpoint="enhanced"] .comparison-grip { transform:translate(calc(-100% - 4px),-50%); }
.comparison-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:18px; }
.comparison-footer p { font-size:11px; color:var(--muted); text-align:center; }
.comparison-endpoint { background:var(--surface); border:1px solid var(--border); color:var(--text-2); font-size:12px; font-weight:700; padding:10px 14px; border-radius:9px; cursor:pointer; white-space:nowrap; }
.comparison-endpoint:hover { border-color:var(--accent-ink); color:var(--accent-ink); }
.comparison-error { position:absolute; inset:0; z-index:3; display:grid; place-items:center; text-align:center; padding:24px; color:var(--text); background:var(--surface); }
.comparison-error[hidden] { display:none; }
@media(max-width:700px) { .comparison-section { padding:10px 0 42px; }.image-comparison { border-radius:12px; }.comparison-section .section-heading { margin-bottom:20px; }.comparison-grip { width:40px; height:40px; border-width:2px; }.comparison-grip svg { width:25px; }.comparison-label { bottom:10px; padding:5px 8px; font-size:9px; border-radius:6px; }.label-with { left:10px; }.label-without { right:10px; }.comparison-label svg { width:12px; height:12px; }.comparison-footer { flex-wrap:wrap; gap:12px; }.comparison-footer p { order:3; flex-basis:100%; text-align:left; line-height:1.7; }.comparison-endpoint { font-size:11px; padding:10px 12px; } }
/* Website approval for desktop launcher sign-in. */
.launcher-auth-wrap { display:grid; place-items:center; padding:64px 0 90px; min-height:70vh; }
.launcher-auth-card { width:min(100%,500px); padding:36px; border-top:3px solid var(--brand); }
.launcher-auth-card>.logo { margin-bottom:32px; }.launcher-auth-card>.eyebrow { display:block; margin-bottom:14px; }
.launcher-auth-card h1 { font-size:29px; line-height:1.25; letter-spacing:-.04em; margin:20px 0; }.launcher-auth-card>p { color:var(--text-2); font-size:14px; line-height:1.85; margin:18px 0; }
.launcher-user-code { font:700 clamp(20px,4vw,29px) monospace; color:var(--accent-ink); text-align:center; letter-spacing:.08em; padding:22px 8px; border:1px dashed var(--border-strong); border-radius:12px; background:var(--input-bg); margin:24px 0; }
.launcher-account { display:flex; align-items:center; gap:12px; margin-bottom:24px; }.launcher-account small { display:block; color:var(--muted); }.launcher-auth-card .btn-block+.btn-block { margin-top:12px; }
@media(max-width:560px) { .launcher-auth-wrap { padding:32px 0 50px; }.launcher-auth-card { padding:24px; }.launcher-auth-card h1 { font-size:25px; } }
.launcher-auth-card .auth-row { justify-content:flex-start; gap:10px; line-height:1.6; }

/* Activation keys */
.key-activation h2 { margin:12px 0; }
.key-redeem-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:14px; }
.key-redeem-form .field { margin:0; min-width:0; }
.key-redeem-form input { width:100%; font-family:monospace; letter-spacing:.03em; }
.key-redeem-form .form-error { grid-column:1/-1; }
.key-history { margin-top:24px; border-top:1px solid var(--border); padding-top:18px; }
.key-history summary { cursor:pointer; font-size:13px; font-weight:700; margin-bottom:16px; }
.key-code { display:block; max-width:330px; margin-top:10px; font-size:12px; line-height:1.8; color:var(--accent-ink); overflow-wrap:anywhere; user-select:all; }
.key-table .admin-actions { min-width:260px; }
@media(max-width:600px) { .key-redeem-form { grid-template-columns:1fr; }.key-redeem-form .btn { width:100%; }.key-redeem-form input { font-size:12px; } }

/* Separate account details from subscriptions, keys and purchases. */
[data-dashboard-panel][hidden] { display:none!important; }
.account-tabs { margin-top:0; }
@media(max-width:600px) { .account-tabs button { padding:12px 14px; font-size:12px; }.account-tabs { gap:6px; } }

/* Original wolf artwork; preserve transparent edges in large placements. */
.floating-dog { width:180px; height:180px; top:45px; }
.start-art img { object-fit:contain; box-shadow:none; border:0; border-radius:0; width:170px; height:170px; }
.auth-mascot img { width:210px; height:210px; object-fit:contain; }
@media(max-width:600px) { .floating-dog { width:170px; height:170px; top:40px; } }

.mod-upload-form { max-width:680px; margin:24px 0 32px; padding-bottom:28px; border-bottom:1px solid var(--border); }
.mod-upload-form .field { margin-bottom:18px; }.mod-upload-form input { width:100%; }
.mod-upload-form input[type=file] { padding:12px; background:var(--input-bg); border:1px dashed var(--border-strong); border-radius:10px; color:var(--text-2); }
.mod-upload-form input::file-selector-button { padding:8px 12px; margin-right:12px; background:var(--surface-3); color:var(--text); border:0; border-radius:6px; cursor:pointer; }
.mod-upload-form textarea { width:100%; min-height:100px; border:1px solid var(--border); border-radius:9px; padding:12px; background:var(--input-bg); color:var(--text); font:inherit; resize:vertical; }
.mod-upload-actions { display:flex; flex-wrap:wrap; gap:10px; }.mod-upload-actions [hidden],[data-mod-progress-wrap][hidden] { display:none!important; }
.mod-upload-form progress { width:100%; height:8px; margin:18px 0 8px; accent-color:var(--brand); }
.mod-releases .status { display:inline-flex; margin-left:10px; }.mod-hash { font-size:11px; margin-top:10px; color:var(--text-2); }.mod-hash code { display:block; max-width:250px; overflow-wrap:anywhere; padding:8px 0; }
@media(max-width:600px) { .mod-upload-actions .btn { width:100%; }.mod-upload-form input[type=file] { font-size:12px; } }
