/* ==========================================================================
   MotoUnlock Official Website 鈥?Modern Design System v2
   Light canvas 路 ink typography 路 Motorola blue 鈫?cyan accent
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #1e293b;
  --text: #334155;
  --muted: #5a6880;
  --dim: #74839a;
  --canvas: #fbfcfe;
  --surface: #ffffff;
  --subtle: #f4f6fa;
  --line: #e7ebf2;
  --line-strong: #d5dce7;
  --brand: #2563eb;
  --brand-2: #0ea5e9;
  --brand-deep: #1d4ed8;
  --brand-soft: #eef4ff;
  --brand-line: #cfdcfb;
  --grad: linear-gradient(100deg, #1d4ed8 0%, #2563eb 35%, #0ea5e9 100%);
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #b45309;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(11, 18, 32, .04);
  --sh-2: 0 1px 2px rgba(11, 18, 32, .04), 0 6px 20px -8px rgba(11, 18, 32, .08);
  --sh-3: 0 2px 4px rgba(11, 18, 32, .04), 0 24px 48px -16px rgba(11, 18, 32, .16);
  --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;
}

/* Ambient backdrop: fine grid fading out + soft aurora */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}

body::after {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: min(1200px, 100%);
  height: 680px;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 35% 55%, rgba(37, 99, 235, .16), transparent),
    radial-gradient(closest-side at 68% 45%, rgba(14, 165, 233, .14), transparent);
  filter: blur(20px);
}

::selection { background: rgba(37, 99, 235, .18); 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(251, 252, 254, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(231, 235, 242, .8);
}

.header-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

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

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 12px -2px rgba(37, 99, 235, .45);
}
.brand-mark svg { width: 18px; height: 18px; fill: #fff; }

.brand-text span { color: var(--brand); 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: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--grad);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 1px 2px rgba(11, 18, 32, .12),
    0 8px 24px -8px rgba(37, 99, 235, .6);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.btn:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 2px 4px rgba(11, 18, 32, .12),
    0 14px 32px -10px rgba(37, 99, 235, .7);
}
.btn:active, .btn-primary:active { transform: translateY(0); }
.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: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink) !important;
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-1);
  filter: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn.ghost:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: #b9c3d3;
  box-shadow: var(--sh-2);
  filter: none;
}

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

/* 鈹€鈹€ Eyebrow pill 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.eyebrow-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--ok-soft);
  flex-shrink: 0;
}
.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.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: 56px 0; }

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

h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.2;
  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: 72px 0 16px; max-width: 820px; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.06;
  margin: 0 0 16px;
  color: var(--ink);
}
html[lang="zh-CN"] .page-hero h1 { letter-spacing: -.015em; line-height: 1.15; }
.page-hero p,
.page-hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 720px;
}

/* 鈹€鈹€ 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; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(37, 99, 235, .55), rgba(14, 165, 233, .15) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: transparent; }
.card:hover::before { opacity: 1; }

.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: 24px 0;
  background: linear-gradient(180deg, #fffdf6, #fff8e8);
  border: 1px solid #f6dfa6;
  border-radius: var(--r-lg);
  padding: 26px 28px 24px 28px;
  box-shadow: var(--sh-1);
}
.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; }

/* 鈹€鈹€ Models table 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 16px;
  flex-wrap: wrap;
}
.search-box { position: relative; flex: 1; max-width: 460px; }
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  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: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.search-box svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--dim);
  pointer-events: none;
}

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow-x: auto;
  margin: 0 0 20px;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-cell { font-weight: 700; color: var(--ink); white-space: nowrap; }
.price-cell.free { color: var(--brand); font-weight: 600; }
th, td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th {
  position: sticky;
  top: 0;
  background: #fafbfd;
  color: var(--muted);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
tbody tr { transition: background .12s var(--ease); }
tbody tr:hover { background: #f8faff; }
td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
td code { display: inline-block; margin: 2px 3px 2px 0; }

td.yes, td.no, td.soon { text-align: center; white-space: nowrap; }
td.yes { color: var(--ok); font-weight: 700; }
td.yes::first-letter { }
td.no { color: #cbd5e1; }
td.soon { color: var(--warn); font-weight: 600; font-size: 12px; }
th:nth-child(n+3):not(:last-child) { text-align: center; }

/* 鈹€鈹€ Download 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.dl-hero-card {
  position: relative;
  margin: 36px 0 8px;
  padding: 36px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(600px 220px at 100% 0%, rgba(14, 165, 233, .12), transparent 70%),
    radial-gradient(500px 220px at 0% 100%, rgba(37, 99, 235, .10), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.dl-version {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.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: var(--r-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px -6px rgba(11, 18, 32, .5);
}
.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: 48px 0 8px;
  padding: 48px 52px;
  border-radius: var(--r-xl);
  background: #0b1220;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px -24px rgba(11, 18, 32, .45);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(37, 99, 235, .55), transparent 70%),
    radial-gradient(420px 240px at 10% 120%, rgba(14, 165, 233, .35), transparent 70%);
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
}
.cta-banner h2,
.cta-banner h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.cta-banner p { color: #a9b6cb; margin: 0; max-width: 600px; font-size: 15px; line-height: 1.7; }
.cta-banner b { color: #fff; }
.cta-banner .btn,
.cta-banner .btn-primary { background: #fff; color: var(--ink) !important; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); }
.cta-banner .btn:hover,
.cta-banner .btn-primary:hover { filter: none; background: #eef4ff; }
.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: 72px;
  padding: 32px 0 44px;
  color: var(--dim);
  font-size: 13.5px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* 鈹€鈹€ Scroll reveal (progressive enhancement, no JS) 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .step-card, .family-item, .shots figure, .warn, .log-card, .table-wrap, .cta-banner, .stats-strip {
      animation: reveal both var(--ease);
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > *, .page-hero > *, .hero-visual {
    animation: rise .8s var(--ease) both;
  }
  .hero > *:nth-child(2), .page-hero > *:nth-child(2) { animation-delay: .06s; }
  .hero > *:nth-child(3), .page-hero > *:nth-child(3) { animation-delay: .12s; }
  .hero > *:nth-child(4), .page-hero > *:nth-child(4) { animation-delay: .18s; }
  .hero > *:nth-child(5) { animation-delay: .24s; }
  .hero-visual { animation-delay: .3s; animation-duration: 1.1s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  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: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-1);
  padding: 15px 18px;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  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(--brand-soft);
  color: var(--brand-deep);
  font-size: 16px;
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { color: var(--brand-deep); }
.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: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.trial-badge:hover { background: #d1fae5; 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; }
}


