/* ==========================================================================
   MotoUnlock Official Website —Modern Design System v2
   Light canvas · ink typography · Motorola blue →cyan accent
   ========================================================================== */

:root {
  --ink: #09090b;
  --ink-2: #18181b;
  --text: #3f3f46;
  --muted: #52525b;
  --dim: #71717a;
  --canvas: #fafafa;
  --surface: #ffffff;
  --subtle: #f4f4f5;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --brand: #2563eb;
  --brand-2: #0ea5e9;
  --brand-deep: #1d4ed8;
  --brand-soft: #eef4ff;
  --brand-line: #cfdcfb;
  --grad: linear-gradient(100deg, #18181b 0%, #09090b 100%);
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #b45309;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 24px;
  --sh-1: 0 1px 2px rgba(9, 9, 11, .04);
  --sh-2: 0 1px 2px rgba(9, 9, 11, .04), 0 8px 24px -10px rgba(9, 9, 11, .06);
  --sh-3: 0 2px 4px rgba(9, 9, 11, .04), 0 24px 48px -16px rgba(9, 9, 11, .12);
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  display: none;
  content: none;
}

::selection { background: rgba(9, 9, 11, .12); color: var(--ink); }

/* Keyboard focus: one consistent ring everywhere (mouse clicks stay quiet). */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-links a:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--brand-deep); }

b, strong { color: var(--ink); font-weight: 650; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1200px; }

/* 鈹€鈹€ Header 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #e4e4e7;
}

.header-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #09090b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.brand-mark svg { width: 16px; height: 16px; fill: #fff; }

.brand-text span { color: var(--muted); margin-left: 1px; }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 10px;
  white-space: nowrap;
  border-radius: 999px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(15, 23, 42, .045); }
.nav-links a.active { color: var(--ink); font-weight: 600; background: rgba(15, 23, 42, .06); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.lang-switch {
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.lang-switch:hover { color: var(--ink); border-color: var(--line-strong); }

/* Small download button in nav →ink pill */
.nav-actions .btn,
.nav-actions .btn-primary {
  background: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 8px -2px rgba(11, 18, 32, .35) !important;
  padding: 7px 15px !important;
  font-size: 13px !important;
  border-radius: 999px !important;
}
.nav-actions .btn:hover,
.nav-actions .btn-primary:hover { background: #1e293b !important; }

/* 鈹€鈹€ Buttons 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 0;
  background: #09090b;
  color: #fff !important;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -.005em;
  cursor: pointer;
  box-shadow: none;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.btn:hover,
.btn-primary:hover {
  background: #27272a;
  transform: translateY(-1px);
  box-shadow: none;
  filter: none;
}
.btn:active, .btn-primary:active { transform: translateY(0); background: #09090b; }
.btn svg, .btn-primary svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn.ghost,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  background: #ffffff;
  color: #09090b !important;
  border: 1px solid #e4e4e7;
  box-shadow: none;
  filter: none;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.btn.ghost:hover,
.btn-secondary:hover {
  transform: none;
  background: #fafafa;
  border-color: #d4d4d8;
  box-shadow: none;
  filter: none;
}

.btn.sm { padding: 7px 15px; font-size: 13px; }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Sub-page kicker (replaces dated glowing pill eyebrow cleanly) ─────── */
.eyebrow {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow-dot { display: none; }

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* 鈹€鈹€ Home hero 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.hero {
  padding: 88px 0 40px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.03;
  margin: 0 0 22px;
  color: var(--ink);
}
html[lang="zh-CN"] .hero h1 { letter-spacing: -.02em; line-height: 1.12; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.65;
  margin: 0 auto 34px;
  max-width: 640px;
}

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--ok); }

/* Product window mockup */
.hero-visual {
  position: relative;
  max-width: 900px;
  margin: 28px auto 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 2% 10% 45%;
  background: var(--grad);
  filter: blur(80px);
  opacity: .22;
  border-radius: 40px;
  z-index: -1;
}
.window {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(213, 220, 231, .9);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 36px 72px -24px rgba(11, 18, 32, .22), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  backdrop-filter: blur(8px);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 10px;
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; display: block; }
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--dim); font-weight: 500; }
.window img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--subtle);
}

/* 鈹€鈹€ Stats strip 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 72px 0 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.stat-card {
  padding: 26px 22px;
  text-align: center;
  position: relative;
}
.stat-card + .stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}
.stat-val {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--ink);
}
.stat-lbl { margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }

/* ── Sections & headings ───────────────────────────────────────────────── */
section, .section { padding: 38px 0; }

.sec-head,
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section-head { display: block; }
.section-head p,
.sec-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 620px; }
.sec-head > a { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

h2 {
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.22;
  color: var(--ink);
  margin: 0;
}
html[lang="zh-CN"] h2 { letter-spacing: -.01em; }

h3 { color: var(--ink); }

.muted { color: var(--muted); font-size: 14px; }

code {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--subtle);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ── Sub-page hero ─────────────────────────────────────────────────────── */
.page-hero { padding: 40px 0 18px; max-width: 780px; }
.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--ink);
}
html[lang="zh-CN"] .page-hero h1 { letter-spacing: -.015em; line-height: 1.18; }
.page-hero p,
.page-hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 680px;
}

/* 鈹€鈹€ Cards / bento 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-script-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }

#drivers .dl-hero-card {
  margin: 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
}
#drivers .dl-hero-card > .muted:first-of-type { flex: 1; }
#drivers .dl-hero-card .btn-primary { align-self: flex-start; }
#drivers .dl-version { font-size: 17px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-1);
  transition: box-shadow .18s var(--ease), border-color .18s var(--ease);
  overflow: hidden;
}
.card:hover { box-shadow: var(--sh-2); border-color: var(--line-strong); }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  border: 1px solid var(--brand-line);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, .25);
}
.card-icon svg { width: 20px; height: 20px; }

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.card p,
.card .c { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; word-break: break-word; }

/* 功能卡里的价格行（2026-11-04）：动作名下面直接给点数，客户不用点进机型表才看到钱 */
.card .card-price {
  margin: 8px 0 0;
  color: var(--ok);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}
.card .card-price b { color: var(--ok); font-weight: 750; }

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--ok);
  background: var(--ok-soft);
  border: 1px solid #b7ebd3;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 16px;
}
.card .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.card .tag.official { color: var(--brand); background: var(--brand-soft); border-color: var(--brand-line); }

/* 鈹€鈹€ Screenshot gallery 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}
.shots figure:only-child { max-width: 860px; width: 100%; margin: 0 auto; }
.shots figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--sh-2);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.shots figure:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.shots img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--subtle); }
.shots figcaption { padding: 12px 8px 4px; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: auto; }

/* 鈹€鈹€ Warning callout 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.warn {
  position: relative;
  margin: 20px 0;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: none;
}
.warn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.warn-head svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: #fef3c7;
  color: #d97706;
  flex-shrink: 0;
}
.warn h3 { margin: 0; font-size: 16px; font-weight: 700; color: #7c2d12; letter-spacing: -.01em; }
.warn p { margin: 10px 0 0; font-size: 14.5px; color: #78350f; line-height: 1.7; }
.warn b { color: #7c2d12; }

/* 鈹€鈹€ Model families 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 14px;
}
.family-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--sh-1);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.family-item:hover { border-color: var(--brand-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.family-name { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 12px; letter-spacing: -.01em; }
.family-skus { display: flex; flex-wrap: wrap; gap: 6px; }
.family-price {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 165, 233, .08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

/* 鈹€鈹€ Changelog timeline 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.log-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 8px 32px;
  box-shadow: var(--sh-2);
}
.logitem {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.logitem:last-child { border-bottom: 0; }
.logdate {
  position: relative;
  flex: 0 0 150px;
  padding-left: 20px;
  color: var(--dim);
  font-size: 12.5px;
  font-family: var(--mono);
}
.logdate::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.logitem:first-child .logdate::before { background: var(--brand); }
.logdate b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.logbody { flex: 1; min-width: 0; }
.logbody p { margin: 10px 0 0; color: var(--text); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  padding: 2px 10px;
}
a.chip:hover { background: #e0eaff; color: var(--brand-deep); }
.log-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration: none;
}
.log-link:hover { text-decoration: underline; }

/* ── Generic tables (used on guide/root/faq pages) ─────────────────────── */
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 14px;
  flex-wrap: wrap;
}
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(9, 9, 11, .04), 0 14px 34px -22px rgba(9, 9, 11, .12);
  overflow-x: auto;
  margin: 0 0 18px;
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 11px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid #f0f0f3; }
tr:last-child td { border-bottom: 0; }
th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
tbody tr:hover { background: #fafafa; }
td.yes, td.no, td.soon { text-align: center; white-space: nowrap; font-size: 12.5px; }
td.yes { color: var(--ok); font-weight: 650; }
td.no { color: #d4d4d8; font-weight: 500; }
td.soon { color: var(--warn); font-weight: 600; font-size: 12px; }

/* ── Models page (UnlockTool-inspired series tabs + clean feature cards) ─ */
.series-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 14px;
}
@media (max-width: 880px) { .series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 540px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.series-card {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.series-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.series-card.active {
  background: #09090b;
  border-color: #09090b;
  color: #ffffff;
  box-shadow: 0 10px 24px -14px rgba(9, 9, 11, .45);
}
.series-meta { min-width: 0; }
.series-name { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.series-sub { display: block; font-size: 11px; color: var(--dim); margin-top: 1px; }
.series-card.active .series-sub { color: #a1a1aa; }
.series-cnt {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--muted);
}
.series-card.active .series-cnt { background: rgba(255, 255, 255, .14); color: #ffffff; }

.models-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
}
.models-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.search-box { position: relative; flex: 1; min-width: min(260px, 100%); max-width: 500px; }
.search-box input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  box-shadow: var(--sh-1);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.search-box input::placeholder { color: var(--dim); }
.search-box input:focus { border-color: #09090b; box-shadow: 0 0 0 3px rgba(9, 9, 11, .08); }
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--dim);
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-clear.show { display: inline-flex; }
.search-clear:hover { background: #e4e4e7; color: var(--ink); }

.models-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.models-count b { color: var(--ink); font-weight: 700; }

.models-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mfilter-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.mfilter-chip:hover { border-color: var(--line-strong); background: var(--canvas); color: var(--ink); }
.mfilter-chip.active { background: #09090b; border-color: #09090b; color: #fff; }
.mfilter-chip span { font-family: var(--mono); font-size: 10.5px; opacity: .72; margin-left: 3px; }

.models-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
@media (max-width: 820px) { .models-grid { grid-template-columns: 1fr; } }

.model-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(9, 9, 11, .03);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.model-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px -16px rgba(9, 9, 11, .16);
}
.mc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.mc-identity { min-width: 0; }
.mc-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.mc-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  line-height: 1.3;
}
.mc-year {
  font-size: 12px;
  font-weight: 500;
  color: var(--dim);
}
.mc-code {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--dim);
  background: var(--subtle);
  border: 1px solid #ececef;
  padding: 1px 6px;
  border-radius: 5px;
}
.mc-warn {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 5px;
  padding: 1px 6px;
  line-height: 1.4;
}
.mc-status-wrap { flex: 0 0 auto; }
.mc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.mc-status.is-live {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #047857;
}
.mc-status.is-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: block;
}

/* Tiny inline SKU badges ("分支写小点") */
.mc-skus {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.sku-tag {
  display: inline-block;
  margin: 0;
  padding: 1.5px 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #3f3f46;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 5px;
  white-space: nowrap;
}

.mc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f1f4;
}
.mc-funcs { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }

/* UnlockTool-inspired colored operation badges */
.fn-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.fn-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}
.fn-bl { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.fn-net { background: #f0f9ff; border: 1px solid #bae6fd; color: #0369a1; }
.fn-mdm { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }
.fn-unpaid { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; }
.fn-trial { background: #fafafa; border: 1px dashed #d4d4d8; color: #52525b; }
.fn-trial::before { opacity: .45; }

.mc-links { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.mc-link {
  font-size: 11.5px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}
.mc-link:hover { text-decoration: underline; }

.models-empty-card {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.models-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 12px;
}
.models-note-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.models-note-card h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.models-note-card p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
@media (max-width: 760px) { .models-notes-grid { grid-template-columns: 1fr; } }

/* ── Download ──────────────────────────────────────────────────────────── */
.dl-hero-card {
  position: relative;
  margin: 12px 0 8px;
  padding: 28px 32px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(9, 9, 11, .04), 0 16px 38px -22px rgba(9, 9, 11, .14);
  overflow: hidden;
}
.dl-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dl-version {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--ink);
}
.dl-note {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
}
.dl-meta,
.meta-hash {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}
.meta-hash:not(:empty) {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 12px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* 鈹€鈹€ Steps 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--sh-1);
  transition: box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.step-card:hover { box-shadow: var(--sh-2); border-color: var(--line-strong); }
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #09090b;
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: none;
}
.step-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── CTA banner ────────────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 40px 0 8px;
  padding: 36px 40px;
  border-radius: 20px;
  background: #09090b;
  border: 1px solid #18181b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 22px 48px -26px rgba(9, 9, 11, .45);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px 220px at 90% 0%, rgba(255, 255, 255, .06), transparent 70%);
}
.cta-banner::after { display: none; }
.cta-banner h2,
.cta-banner h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.22;
}
.cta-banner p { color: #a1a1aa; margin: 0; max-width: 580px; font-size: 14.5px; line-height: 1.65; }
.cta-banner b { color: #fff; }
.cta-banner .btn,
.cta-banner .btn-primary { background: #fff; color: #09090b !important; box-shadow: none; }
.cta-banner .btn:hover,
.cta-banner .btn-primary:hover { filter: none; background: #f4f4f5; }
.cta-banner .btn-secondary {
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: none;
}
.cta-banner .btn-secondary:hover { background: rgba(255, 255, 255, .14) !important; }

/* ── Footer ────────────────────────────────────────────────────────────── */
footer,
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 28px 0 40px;
  color: var(--dim);
  font-size: 13px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .hero > *, .page-hero > * {
    animation: rise .45s var(--ease) both;
  }
  .hero > *:nth-child(2), .page-hero > *:nth-child(2) { animation-delay: .04s; }
  .hero > *:nth-child(3), .page-hero > *:nth-child(3) { animation-delay: .08s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* 鈹€鈹€ Responsive 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
/* Nav wraps instead of scrolling sideways: no page-level horizontal scroll
   at 375 / 390 / tablet widths. */
@media (max-width: 1200px) {
  .header-inner, .nav-inner { height: auto; padding-top: 12px; padding-bottom: 10px; flex-wrap: wrap; gap: 10px 16px; }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 2px;
    margin: 0 -6px;
  }
  .nav-links a { white-space: nowrap; }
}

@media (max-width: 520px) {
  .wrap, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .header-inner, .nav-inner { gap: 8px; }
  .brand-text { font-size: 14px; }
  .nav-links { column-gap: 0; }
  .nav-links a { font-size: 13px; padding: 6px 8px; }
  .nav-actions .btn, .nav-actions .btn-primary { padding: 6px 12px !important; font-size: 12.5px !important; }
  .lang-switch { padding: 5px 9px; font-size: 12px; }
  .hero-actions .btn, .hero-actions .btn-primary,
  .hero-actions .btn.ghost, .hero-actions .btn-secondary { width: 100%; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-banner .btn, .cta-banner .btn-primary, .cta-banner .btn-secondary { width: 100%; }
  /* Long "see all …" links previously forced nowrap and overflowed 375px. */
  .sec-head > a { white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 24px; }
  .page-hero { padding: 48px 0 8px; }
  section, .section { padding: 40px 0; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stat-card:nth-child(3)::before { display: none; }
  .stat-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr; }
  .logitem { flex-direction: column; gap: 8px; }
  .logdate { flex: none; }
  .log-card { padding: 4px 20px; }
  .cta-banner { padding: 32px 26px; }
  .dl-hero-card { padding: 26px; }
  .card { padding: 22px; }
}

/* 账号入口（注册 / 登录） */
.auth-nav-link {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
}
.auth-nav-link:hover { color: var(--brand); }



/* ── SEO FAQ ─────────────────────────────────────────────── */
.seo-faq { padding-top: 8px; }
.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--sh-1);
  padding: 15px 18px;
  transition: border-color .15s var(--ease);
}
.faq-list details:hover { border-color: var(--line-strong); }
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--subtle);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.faq-list details[open] summary::after { content: "−"; background: #09090b; border-color: #09090b; color: #fff; }
.faq-list details[open] summary { color: var(--ink); }
.faq-list details p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.faq-list details p a { color: var(--brand); font-weight: 650; }

@media (max-width: 768px) {
  .faq-list details { padding: 13px 14px; }
  .faq-list summary { font-size: 14px; }
}

/* 窄桌面宽度下收紧导航；10 个导航项在 <=1200px 改为可横向滚动 */
@media (max-width: 1120px) and (min-width: 901px) {
  .header-inner { gap: 10px; }
  .nav-links a { font-size: 12.5px; padding: 7px 7px; }
  .nav-actions { gap: 6px; }
  .brand-text { font-size: 15px; }
}

/* XT2617 Free for trial */
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #047857;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}
.trial-badge:hover { background: #dcfce7; color: #065f46; }
.info-dot {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-family: var(--font);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}
.trial-callout {
  scroll-margin-top: 90px;
  margin: 20px 0 14px;
  padding: 18px 20px;
  border: 1px solid #a7f3d0;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
  box-shadow: var(--sh-1);
}
.trial-callout h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  font-size: 16px;
  color: #065f46;
  letter-spacing: -.01em;
}
.trial-callout p { margin: 0; color: var(--text); font-size: 13.5px; line-height: 1.75; }
.trial-callout p + p { margin-top: 6px; }
.trial-callout .trial-money { color: #065f46; font-weight: 800; }

/* XT2617 trial badge + floating info popover */
.trial-cell { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
button.info-dot { border: 0; padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.trial-popover {
  position: fixed;
  z-index: 9999;
  width: min(360px, calc(100vw - 24px));
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 50px -12px rgba(11, 18, 32, .3);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}
.trial-popover[hidden] { display: none; }
.trial-popover h4 { margin: 0 0 8px; padding-right: 22px; font-size: 14px; color: var(--ink); }
.trial-popover p { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.trial-popover p b { color: var(--ink); }
.trial-popover .btn { margin-top: 2px; }
.trial-popover-close {
  position: absolute;
  top: 7px;
  right: 9px;
  border: 0;
  padding: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.trial-popover-close:hover { color: var(--ink); }

/* ==========================================================================
   Wish board + shared form / state primitives
   ========================================================================== */

.wish-hero { padding-bottom: 8px; }

.wish-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
  padding-top: 24px;
}
.wish-form-card { position: sticky; top: 88px; }
.wish-form-card:hover { transform: none; box-shadow: var(--sh-1); border-color: var(--line); }
.wish-form-card:hover::before { opacity: 0; }
.wish-card-title { margin: 0 0 4px; font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.wish-card-sub { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* — Form fields — */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  letter-spacing: -.005em;
}
.field .optional { color: var(--dim); font-weight: 500; margin-left: 4px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }
.field input:hover,
.field textarea:hover { border-color: #b9c3d3; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .10);
}
.field-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 20px;
  margin-top: 5px;
  font-size: 12px;
  color: var(--dim);
}
.field-error { display: block; min-height: 0; color: #b91c1c; font-size: 12.5px; font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { margin: 6px 0 0; color: var(--dim); font-size: 12px; line-height: 1.55; }
#wishCount { white-space: nowrap; font-variant-numeric: tabular-nums; }

.wish-submit { width: 100%; margin-top: 4px; }
.wish-submit[disabled] { opacity: .62; cursor: progress; transform: none; filter: none; }

.form-status {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  line-height: 1.55;
  display: none;
}
.form-status:not(:empty) { display: block; }
.form-status.ok { color: #065f46; background: var(--ok-soft); border: 1px solid #a7f3d0; }
.form-status.err { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }

/* — Public list — */
.wish-board { min-width: 0; }
.wish-board-head { margin-bottom: 16px; }
.wish-board-head h2 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.wish-board-head p { font-size: 13px; }
.wish-board-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wish-total { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.wish-list { display: flex; flex-direction: column; gap: 10px; }

.wish-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--sh-1);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wish-item:hover { border-color: var(--brand-line); box-shadow: var(--sh-2); }
.wish-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.wish-name { color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.wish-time { flex: 0 0 auto; color: var(--dim); font-size: 12px; font-family: var(--mono); }
.wish-text {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.wish-item-foot { margin-top: 10px; }

.wish-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--subtle);
}
.wish-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wish-status.pending { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.wish-status.accepted { color: var(--brand-deep); background: var(--brand-soft); border-color: var(--brand-line); }
.wish-status.implemented { color: #047857; background: var(--ok-soft); border-color: #a7f3d0; }
.wish-status.rejected { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }

.wish-more-wrap { display: flex; justify-content: center; margin-top: 16px; }
.wish-more-wrap .btn[hidden] { display: none; }

/* — Empty / loading / error states — */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(244, 246, 250, .55);
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
.state-box.loading { position: relative; padding-top: 40px; }
.state-box.loading::before {
  content: "";
  position: absolute;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brand-line);
  border-top-color: var(--brand);
  animation: wish-spin .8s linear infinite;
}
@keyframes wish-spin { to { transform: rotate(360deg); } }
.state-box.error { border-color: #fecaca; background: #fff5f5; color: #991b1b; }
.state-box .btn { margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .state-box.loading::before { animation: none; }
}

@media (max-width: 900px) {
  .wish-layout { grid-template-columns: 1fr; gap: 28px; }
  .wish-form-card { position: static; }
}

@media (max-width: 520px) {
  .wish-item { padding: 14px; }
  .wish-item-top { flex-wrap: wrap; gap: 4px 10px; }
  .wish-board-head { align-items: flex-start; }
  .wish-board-meta { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Google Antigravity Style — Feedback, Callouts, Changelog & Wish Board 2.0
   ========================================================================== */

/* 1. Antigravity Callout Alerts (.warn upgrade & .agy-alert) */
.warn {
  position: relative;
  overflow: hidden;
  border-left: 4px solid #f59e0b;
  box-shadow: 0 10px 30px -14px rgba(245, 158, 11, 0.22);
}
.agy-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.32);
  margin-bottom: 10px;
}
.agy-alert-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

/* 2. Antigravity Command Copy Button & Terminal Wrapper */
.agy-cmd-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: baseline;
}
.agy-copy-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s var(--ease);
  line-height: 1.3;
}
.agy-copy-mini:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: translateY(-1px);
}
.agy-copy-mini.copied {
  background: var(--ok-soft);
  border-color: #6ee7b7;
  color: #047857;
}

/* 3. Antigravity Interactive Feedback Card (Articles & Root Guides) */
.agy-feedback-card {
  position: relative;
  margin: 36px 0 12px;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(37, 99, 235, 0.07), transparent 70%),
    radial-gradient(420px 180px at 100% 100%, rgba(14, 165, 233, 0.07), transparent 70%),
    var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 12px 32px -16px rgba(11, 18, 32, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.agy-feedback-card:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 16px 38px -16px rgba(37, 99, 235, 0.16);
}
.agy-fb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.agy-fb-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.agy-fb-spark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.45);
}
.agy-fb-spark svg { width: 18px; height: 18px; }
.agy-fb-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 2px;
}
.agy-fb-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.agy-fb-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -.015em;
}
.agy-fb-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.agy-fb-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: all .16s var(--ease);
}
.agy-fb-pill:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: #f8faff;
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}
.agy-fb-pill.active-pos {
  background: var(--ok-soft);
  border-color: #34d399;
  color: #065f46;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}
.agy-fb-pill.active-neg {
  background: var(--brand-soft);
  border-color: #60a5fa;
  color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.agy-fb-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.agy-fb-pill.active-pos .agy-fb-count {
  background: rgba(5, 150, 105, 0.16);
  color: #065f46;
}
.agy-fb-drawer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text);
}
.agy-fb-drawer.open { display: flex; }
.agy-fb-drawer-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 4. Antigravity Changelog 2.0 */
.agy-log-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.agy-stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agy-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.agy-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.agy-stat-sub {
  font-size: 12px;
  color: var(--dim);
}
.agy-log-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
}
.agy-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.agy-filter-btn {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--subtle);
  color: var(--muted);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.agy-filter-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}
.agy-filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 4px 12px -4px rgba(11, 18, 32, 0.35);
}
.agy-log-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.agy-log-search {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
  min-width: 220px;
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.agy-log-search:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.agy-lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--subtle);
  border: 1px solid var(--line);
}
.agy-lang-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.agy-lang-btn.active {
  background: var(--surface);
  color: var(--brand-deep);
  box-shadow: var(--sh-1);
}
.agy-release-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.agy-rbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.agy-rbadge.latest { background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7; }
.agy-rbadge.model { background: var(--brand-soft); color: var(--brand-deep); border: 1px solid var(--brand-line); }
.agy-rbadge.safety { background: #fffbeb; color: #b45309; border: 1px solid #fcd34d; }
.agy-rbadge.enterprise { background: #f3e8ff; color: #6d28d9; border: 1px solid #d8b4fe; }
.agy-rbadge.pricing { background: #ecfeff; color: #0e7490; border: 1px solid #67e8f9; }
.agy-rbadge.client { background: var(--subtle); color: var(--ink-2); border: 1px solid var(--line-strong); }

.agy-log-zh {
  margin: 6px 0 0 !important;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--subtle);
  border-left: 3px solid var(--brand-line);
  font-size: 13.5px !important;
  color: var(--muted) !important;
}
.agy-log-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.agy-log-reactions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.agy-react-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s var(--ease);
  text-decoration: none;
}
.agy-react-btn:hover {
  border-color: var(--brand-line);
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.agy-react-btn.voted {
  background: var(--ok-soft);
  border-color: #6ee7b7;
  color: #047857;
}

/* 5. Antigravity Wish Board 2.0 */
.wish-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.wish-stat-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 15px 18px;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.wish-stat-box::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
}
.wish-stat-box.st-impl::after { background: #10b981; }
.wish-stat-box.st-acc::after { background: #2563eb; }
.wish-stat-box.st-pend::after { background: #f59e0b; }
.wish-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.wish-stat-lbl {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}

.wish-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.wish-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--subtle);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.wish-cat-chip:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.wish-cat-chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 12px -3px rgba(37, 99, 235, 0.45);
}

.wish-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
}
.wish-filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.wish-tab {
  padding: 5px 11px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.wish-tab:hover { color: var(--ink); background: var(--subtle); }
.wish-tab.active {
  background: var(--ink);
  color: #fff;
}
.wish-search-input {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--subtle);
  font-family: var(--font);
  font-size: 12.5px;
  color: var(--ink);
  min-width: 180px;
  outline: none;
}
.wish-search-input:focus {
  background: var(--surface);
  border-color: var(--brand);
}

.wish-user-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.wish-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.wish-cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border: 1px solid var(--brand-line);
}
.wish-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.wish-upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.wish-upvote-btn:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-soft);
  transform: translateY(-1px);
}
.wish-upvote-btn.upvoted {
  background: var(--brand-soft);
  border-color: #60a5fa;
  color: var(--brand-deep);
}
.wish-admin-note {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.03));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-left: 3px solid #10b981;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.wish-admin-note.note-accepted {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  border-color: rgba(37, 99, 235, 0.25);
  border-left-color: #2563eb;
}
.wish-admin-note-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #047857;
  margin-bottom: 4px;
}
.wish-admin-note.note-accepted .wish-admin-note-head {
  color: var(--brand-deep);
}

@media (max-width: 720px) {
  .wish-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agy-log-search { min-width: 100%; }
}

/* ── Minimalist Homepage v3 & Eligibility Checker ─────────────── */
body.home-v3 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fafafa;
  color: #09090b;
  overflow-x: clip;
}
body.home-v3 .home-stage {
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}
body.home-v3 .brand-mark {
  background: #09090b;
  box-shadow: none;
}
body.home-v3 .nav-actions .btn.primary {
  background: #09090b !important;
  color: #fff !important;
  box-shadow: none;
}
body.home-v3 .nav-actions .btn.primary:hover {
  background: #27272a !important;
}
body.home-v3 .site-footer {
  margin-top: 24px;
  padding: 24px 0 32px;
  border-top: 1px solid #e4e4e7;
}
.elig-google-btn { max-width: 100%; overflow: hidden; }
.elig-google-btn:empty { display: none; }
body.home-v3 .site-header {
  background: rgba(250, 250, 250, 0.85);
  border-bottom: 1px solid #e4e4e7;
  backdrop-filter: blur(12px);
}
.home-stage {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}
.home-hero {
  text-align: center;
  margin-bottom: 32px;
}
.home-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 14px;
}
.home-hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #09090b;
}
html[lang="zh-CN"] .home-hero h1 {
  max-width: none;
  font-size: clamp(28px, 4.2vw, 42px);
}
.home-lead {
  margin: 14px auto 0;
  max-width: 50ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: #52525b;
}

.elig-card {
  background: #ffffff;
  border: 1px solid #d4d4d8;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(9, 9, 11, 0.05), 0 24px 48px -28px rgba(9, 9, 11, 0.16);
}
.elig-quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e4e4e7;
  background: #f4f4f5;
  color: #3f3f46;
  font-size: 12px;
  white-space: nowrap;
}
.elig-quota-pill b {
  font-family: var(--mono);
  color: #09090b;
  font-weight: 700;
}
.elig-quota-pill.is-empty {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.elig-quota-pill.is-empty b { color: #dc2626; }
.elig-quota-pill[hidden] { display: none; }
.elig-subhint {
  margin-top: 10px;
  font-size: 12px;
  color: #71717a;
}
.elig-subhint a {
  color: #09090b;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.elig-auth {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f4f4f5;
}
.elig-auth[hidden] { display: none; }
.elig-auth-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #52525b;
  min-width: 0;
}
.elig-auth-status b {
  color: #09090b;
  font-weight: 600;
  word-break: break-all;
}
.elig-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #d4d4d8;
}
.elig-dot.is-warn { background: #f59e0b; }
.elig-dot.is-ok { background: #10b981; }
.elig-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.elig-google-btn[hidden] { display: none; }
.elig-bal-pill {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #27272a;
}
.elig-bal-pill[hidden] { display: none; }
.elig-text-btn,
.elig-text-link {
  background: none;
  border: 0;
  padding: 4px 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: #52525b;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.elig-text-btn:hover,
.elig-text-link:hover {
  color: #09090b;
  background: #f4f4f5;
}

.elig-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.elig-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.elig-input {
  width: 100%;
  height: 48px;
  padding: 0 58px 0 14px;
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  background: #fafafa;
  color: #09090b;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.elig-input::placeholder {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 13.5px;
  color: #a1a1aa;
}
.elig-input:focus {
  background: #ffffff;
  border-color: #09090b;
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
}
.elig-count {
  position: absolute;
  right: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: #a1a1aa;
  pointer-events: none;
}
.elig-count.is-ready {
  color: #059669;
  font-weight: 600;
}
.elig-submit {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #09090b;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.12s ease;
}
.elig-submit:hover:not(:disabled) { background: #27272a; }
.elig-submit:active:not(:disabled) { transform: translateY(1px); }
.elig-submit:disabled { opacity: 0.55; cursor: wait; }

.elig-msg {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #52525b;
}
.elig-msg.is-error { color: #dc2626; }
.elig-msg.is-info { color: #2563eb; }
.elig-msg.is-loading { color: #52525b; }

.elig-result[hidden] { display: none; }
.elig-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e4e4e7;
}
.elig-res {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e4e4e7;
  background: #ffffff;
}
.elig-res.is-ok {
  border-color: #059669;
  box-shadow: 0 14px 34px -18px rgba(5, 150, 105, 0.35);
}
.elig-res.is-no {
  border-color: #dc2626;
  box-shadow: 0 14px 34px -18px rgba(220, 38, 38, 0.32);
}
.elig-res.is-warn {
  border-color: #d97706;
  box-shadow: 0 14px 32px -18px rgba(217, 119, 6, 0.28);
}
.elig-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 18px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.015em;
}
.elig-verdict.is-ok { background: #059669; }
.elig-verdict.is-no { background: #dc2626; }
.elig-verdict.is-warn { background: #d97706; }
.elig-verdict-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.elig-verdict-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.elig-verdict-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}
.elig-verdict-pill.is-price {
  background: #ffffff;
  border-color: #ffffff;
  color: #065f46;
  font-size: 14px;
  font-weight: 800;
}
.elig-res-body {
  padding: 18px;
  background: #ffffff;
}
.elig-res.is-ok .elig-res-body { background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 42%); }
.elig-res.is-no .elig-res-body { background: linear-gradient(180deg, #fef2f2 0%, #ffffff 42%); }
.elig-res.is-warn .elig-res-body { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 55%); }
.elig-res-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.elig-res-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #09090b;
}
.elig-res-sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #52525b;
}
.elig-price-box {
  text-align: right;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #10b981;
}
.elig-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
}
.elig-price-val {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #09090b;
}
.elig-price-pts {
  font-family: var(--mono);
  font-size: 11px;
  color: #15803d;
}
.elig-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(9, 9, 11, 0.06);
}
.elig-spec span {
  display: block;
  font-size: 11px;
  color: #71717a;
  margin-bottom: 2px;
}
.elig-spec b {
  font-size: 13px;
  font-weight: 600;
  color: #09090b;
  word-break: break-word;
}
.elig-res-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.home-v3 .elig-res-actions .btn.primary {
  background: #09090b;
  border-color: #09090b;
  color: #ffffff;
}
.home-v3 .elig-res-actions .btn.primary:hover {
  background: #27272a;
}

.elig-sponsor {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
}
.elig-sponsor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.elig-sponsor-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #52525b;
}
.elig-sponsor-host {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #71717a;
}
.elig-sponsor-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.elig-sponsor-body h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 650;
  color: #09090b;
}
.elig-sponsor-body p {
  margin: 0;
  font-size: 13px;
  color: #52525b;
}
.elig-sponsor-price {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: #09090b;
  white-space: nowrap;
}
.elig-sponsor-price span {
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
}
.elig-sponsor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: #09090b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}
.elig-sponsor-btn:hover { background: #27272a; }

.home-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e4e4e7;
}
.home-meta-item span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: #71717a;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-meta-item b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #09090b;
  margin-bottom: 3px;
}
.home-meta-item p,
.home-meta-item a {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #52525b;
  text-decoration: none;
}
.home-meta-item a:hover { color: #09090b; text-decoration: underline; }

.home-showcase {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid #e4e4e7;
}
.home-showcase-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.home-showcase-head span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
}
.home-showcase-head h2 {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #09090b;
}
.home-showcase-head a {
  font-size: 13px;
  font-weight: 500;
  color: #52525b;
  white-space: nowrap;
  text-decoration: none;
}
.home-showcase-head a:hover { color: #09090b; text-decoration: underline; }
.home-shot-frame {
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  box-shadow: 0 22px 50px -28px rgba(9, 9, 11, 0.22);
}
.home-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .home-stage { padding: 36px 16px 48px; }
  .elig-card { padding: 16px; border-radius: 16px; }
  .elig-form { flex-direction: column; }
  .elig-submit { width: 100%; }
  .elig-res-main { flex-direction: column; }
  .elig-price-box { text-align: left; width: 100%; }
  .elig-sponsor-body { flex-direction: column; align-items: flex-start; gap: 8px; }
  .home-meta-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-shot-frame { padding: 5px; border-radius: 12px; }
  .home-shot-frame img { border-radius: 8px; }
}




