/* Kami Store · 视觉基调参考 apple.com：大字号、留白、灰白分区、蓝色胶囊按钮 */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --eyebrow: #b64400;
  --green: #1d8a3a;
  --amber: #b25000;
  --red: #d70015;
  --nav-bg: rgba(251, 251, 253, 0.8);
  --localnav-bg: rgba(255, 255, 255, 0.72);
  --field-bg: #ffffff;
  --shadow-card: 0 30px 60px -20px rgba(0, 0, 0, 0.25), 0 10px 24px -12px rgba(0, 0, 0, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --w: 980px;
  --w-wide: 1180px;
  --gutter: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101010;
    --tile: #1d1d1f;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #6e6e73;
    --line: #424245;
    --line-soft: #2c2c2e;
    --link: #2997ff;
    --eyebrow: #ff791b;
    --green: #30d158;
    --amber: #ffb340;
    --red: #ff453a;
    --nav-bg: rgba(22, 22, 23, 0.8);
    --localnav-bg: rgba(22, 22, 23, 0.72);
    --field-bg: #1d1d1f;
    --shadow-card: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 10px 24px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

@media (max-width: 734px) {
  :root { --gutter: 16px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: calc(var(--w-wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 顶栏 ---------- */

.globalnav {
  position: relative;
  z-index: 30;
  height: 44px;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.globalnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
.wordmark:hover { text-decoration: none; }
.wordmark-mark {
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(135deg, #34c759, #0a84ff 55%, #bf5af2);
  display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700;
}
.globalnav nav { display: flex; gap: 26px; }
.globalnav nav a { color: var(--text); opacity: 0.8; font-size: 12px; letter-spacing: -0.01em; }
.globalnav nav a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 480px) {
  .globalnav nav { gap: 18px; }
  .globalnav nav a[href^="#"] { display: none; }
}
.hero[id] { scroll-margin-top: 44px; }

.globalnav.is-sticky { position: sticky; top: 0; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.globalnav.is-sticky.is-stuck { border-bottom-color: var(--line-soft); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 28px; padding: 11px 22px;
  border: 0; border-radius: 980px;
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 400; line-height: 1.18;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--line); color: var(--text-2); cursor: default; transform: none; }
.btn-sm { padding: 5px 13px; font-size: 12px; }
.btn-block { width: 100%; padding: 15px 22px; }
.btn-secondary { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn-secondary:hover { background: var(--link); color: #fff; }
.btn-quiet { background: var(--bg-alt); color: var(--text); }
.btn-quiet:hover { background: var(--line-soft); }

.more { font-size: 17px; white-space: nowrap; }
.more::after { content: " ›"; }

/* ---------- 首页 · Hero ---------- */

.hero { padding: 56px 0 0; text-align: center; overflow: hidden; }
.eyebrow { color: var(--eyebrow); font-size: 17px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 96px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em;
}
.hero .lede { margin: 10px 0 0; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.14; font-weight: 500; letter-spacing: 0.007em; }
.hero .price-line { margin: 14px 0 0; color: var(--text-2); font-size: clamp(17px, 1.8vw, 21px); }
.hero-cta { margin-top: 26px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }

.hero-art {
  /* 卡片姿态由 home.js 每帧写入；这里是没 JS / 减弱动效时的静止姿态 */
  --rx: 8deg; --ry: -14deg; --fy: 0px; --sc: 1;
  --sheen: 120%; --gx: 50%; --gy: 20%; --go: 0; --lift: 0;
  position: relative;
  height: clamp(340px, 46vw, 560px);
  margin-top: 28px;
  display: grid; place-items: center;
  perspective: 1400px;
}
.glow {
  position: absolute; inset: 12% 8% 4%;
  background:
    radial-gradient(40% 50% at 25% 55%, rgba(52, 199, 89, 0.55), transparent 70%),
    radial-gradient(40% 55% at 55% 40%, rgba(10, 132, 255, 0.55), transparent 70%),
    radial-gradient(35% 50% at 78% 62%, rgba(191, 90, 242, 0.5), transparent 70%),
    radial-gradient(30% 40% at 60% 80%, rgba(255, 159, 10, 0.35), transparent 70%);
  filter: blur(48px);
  opacity: 0.85;
  animation: breathe 9s ease-in-out infinite alternate, glow-in 1.8s ease-out both;
}
@keyframes breathe {
  from { transform: scale(0.96) rotate(-2deg); }
  to { transform: scale(1.04) rotate(2deg); }
}
@keyframes glow-in { from { opacity: 0; } }

/* 入场：从下方翻起、落位 */
.kcard-stage {
  position: relative;
  transform-style: preserve-3d;
  animation: card-in 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(90px) rotateX(55deg) scale(0.88); }
  60% { opacity: 1; }
}

/* 地面投影：卡片浮起时变小变淡 */
.kcard-shadow {
  position: absolute; left: 14%; right: 14%; bottom: -46px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.28), transparent);
  filter: blur(10px);
  transform: scale(calc(1 - var(--lift) * 0.18));
  opacity: calc(1 - var(--lift) * 0.45);
}
@media (prefers-color-scheme: dark) {
  .kcard-shadow { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), transparent); }
}

/* 仿 Apple Card 的钛白卡片 */
.kcard {
  position: relative; overflow: hidden;
  width: min(460px, 82vw); aspect-ratio: 1.586;
  border-radius: clamp(16px, 2.4vw, 24px);
  padding: clamp(18px, 3vw, 28px);
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: left;
  color: #1d1d1f;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 60%) no-repeat,
    linear-gradient(145deg, #ffffff 0%, #ececf0 38%, #f8f8fa 62%, #dedee4 100%);
  background-size: 250% 100%, 100% 100%;
  background-position: var(--sheen) 0, 0 0;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translateY(var(--fy)) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--sc));
  will-change: transform;
}
@media (prefers-color-scheme: dark) {
  .kcard {
    color: #f5f5f7;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0) 60%) no-repeat,
      linear-gradient(145deg, #3a3a3c 0%, #1c1c1e 45%, #2c2c2e 70%, #141416 100%);
    background-size: 250% 100%, 100% 100%;
    background-position: var(--sheen) 0, 0 0;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

/* 跟随指针的光斑 + 很淡的镭射彩光 */
.kcard-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 42%),
    linear-gradient(115deg, transparent 15%, rgba(255, 70, 160, 0.16) 35%, rgba(60, 200, 255, 0.16) 50%, rgba(120, 255, 140, 0.14) 65%, transparent 85%);
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, var(--sheen) 0;
  mix-blend-mode: soft-light;
  opacity: var(--go);
}
@media (prefers-color-scheme: dark) {
  .kcard-glare { mix-blend-mode: screen; opacity: calc(var(--go) * 0.45); }
}

.kcard-top { display: flex; justify-content: space-between; align-items: center; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 200deg; }
.kcard-mark {
  width: clamp(34px, 5vw, 44px); height: clamp(34px, 5vw, 44px); border-radius: 50%;
  background: conic-gradient(from var(--spin), #34c759, #0a84ff, #bf5af2, #ff9f0a, #34c759);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  animation: mark-spin 10s linear infinite;
}
@keyframes mark-spin { to { --spin: 560deg; } }
.kcard-mark::after { content: "+"; color: #fff; font-weight: 600; font-size: clamp(20px, 3vw, 26px); line-height: 1; margin-top: -2px; }
.kcard-brand { font-size: clamp(13px, 1.6vw, 15px); font-weight: 600; opacity: 0.55; }
.kcard-name { font-size: clamp(22px, 3.6vw, 32px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.kcard-meta { display: flex; justify-content: space-between; font-size: clamp(12px, 1.5vw, 14px); opacity: 0.55; margin-top: 6px; }
.kcard-dots { font-family: var(--mono); letter-spacing: 0.2em; opacity: 0.35; font-size: clamp(12px, 1.6vw, 15px); }

@media (prefers-reduced-motion: reduce) {
  .glow, .kcard-stage, .kcard-mark { animation: none; }
}

/* ---------- 分区 ---------- */

.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin: 0 0 56px; }
.section-head h2 {
  margin: 0; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.005em;
}
.section-head p { margin: 14px 0 0; max-width: 640px; color: var(--text-2); font-size: clamp(19px, 2vw, 21px); line-height: 1.38; }
.center { text-align: center; }
.center .section-head p { margin-left: auto; margin-right: auto; }

@media (max-width: 734px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
}

/* 便当格 */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden;
  background: var(--tile); border-radius: 28px;
  padding: 40px;
  min-height: 420px;
  display: flex; flex-direction: column;
}
.tile.span-2 { grid-column: span 2; }
.tile-eyebrow { font-size: 17px; font-weight: 600; color: var(--text-2); margin: 0 0 8px; }
.tile h3 { margin: 0; font-size: clamp(26px, 3vw, 32px); line-height: 1.125; font-weight: 600; letter-spacing: 0.004em; }
.tile p { margin: 12px 0 0; color: var(--text-2); max-width: 420px; }
.tile-stat {
  margin-top: auto; padding-top: 28px;
  font-size: clamp(64px, 8vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -0.02em;
  background: linear-gradient(120deg, #34c759, #0a84ff 50%, #bf5af2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tile-stat small { font-size: 0.42em; letter-spacing: 0; }

@media (max-width: 1068px) {
  .tile { padding: 32px; min-height: 360px; }
}
@media (max-width: 834px) {
  .bento { grid-template-columns: 1fr; }
  .tile.span-2 { grid-column: auto; }
  .tile { min-height: 0; }
}

/* 小号界面示意 */
.mini {
  margin-top: auto; padding-top: 28px;
  display: grid; gap: 10px; max-width: 460px; width: 100%;
}
.mini-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--bg-alt);
  font-size: 15px;
}
.mini-row span:first-child { color: var(--text-2); }
.mini-row code { font-family: var(--mono); font-size: 14px; }
.mini-chip { font-size: 12px; color: var(--link); }
.mini-status { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--green); }
.mini-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mini-search {
  margin-top: auto; padding-top: 28px; max-width: 460px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px;
}
.mini-field { padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); color: var(--text-3); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-go { width: 46px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; color: #fff; }
@media (max-width: 480px) {
  .mini-search { grid-template-columns: 1fr auto; }
  .mini-search .mini-field:first-child { grid-column: 1 / -1; }
}

/* 规格表 */
.specs { border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 21px; font-weight: 600; }
.spec dd { margin: 0; color: var(--text); }
.spec dd p { margin: 0 0 6px; }
.spec dd .sub { color: var(--text-2); font-size: 15px; }
@media (max-width: 734px) {
  .spec { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .spec dt { font-size: 19px; }
}

/* 三步 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--tile); border-radius: 28px; padding: 36px 32px 40px; }
.step-num {
  font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -0.03em;
  background: linear-gradient(160deg, var(--text) 30%, var(--text-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin: 28px 0 0; font-size: 24px; font-weight: 600; line-height: 1.16; }
.step p { margin: 8px 0 0; color: var(--text-2); }
@media (max-width: 834px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 28px; }
  .step-num { font-size: 44px; grid-row: span 2; }
  .step h3 { margin: 0; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 21px; font-weight: 600; line-height: 1.24;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 40px 26px 0; color: var(--text-2); }
.faq .answer p { margin: 0 0 8px; }
@media (max-width: 734px) { .faq summary { font-size: 19px; } }

/* 收尾 CTA */
.closer { text-align: center; }
.closer h2 { margin: 0; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.07; font-weight: 600; }
.closer p { margin: 12px 0 0; color: var(--text-2); font-size: 21px; }
.closer .hero-cta { margin-top: 28px; }

/* ---------- 页脚 ---------- */

.footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; line-height: 1.34; letter-spacing: -0.01em; padding: 24px 0 32px; }
.footer .wrap > * + * { margin-top: 12px; }
.footer-notes { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.footer-notes p { margin: 0 0 8px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 0; flex-wrap: wrap; }
.footer-links a + a::before { content: "|"; margin: 0 10px; color: var(--line); }

/* 客服联系方式 */
.cs-list { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; vertical-align: top; }
p.cs-list { display: flex; }
.cs-item { display: inline-flex; align-items: center; gap: 6px; }
.cs-item b { font-weight: 600; color: var(--text); }
.copy-link { border: 0; background: none; padding: 0; color: var(--link); cursor: pointer; font-size: inherit; }
.copy-link:hover { text-decoration: underline; }

/* ---------- 弹出购买面板 ---------- */

dialog.sheet {
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 28px;
  background: var(--bg); color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.45);
  overflow: auto;
}
dialog.sheet::backdrop { background: rgba(0, 0, 0, 0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheet-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@media (max-width: 734px) {
  dialog.sheet {
    width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0;
    max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom);
  }
  @keyframes sheet-in { from { transform: translateY(100%); } }
}
.sheet-body { padding: 28px 28px 32px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.sheet-head h2 { margin: 0; font-size: 28px; line-height: 1.14; font-weight: 600; }
.icon-btn {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--bg-alt); color: var(--text-2); cursor: pointer; display: grid; place-items: center;
}
.icon-btn:hover { color: var(--text); }

.summary-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--bg-alt); }
.summary-thumb {
  flex: none; width: 64px; aspect-ratio: 1.586; border-radius: 7px;
  background: linear-gradient(145deg, #fff, #e4e4ea);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
}
.summary-thumb::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%;
  background: conic-gradient(from 200deg, #34c759, #0a84ff, #bf5af2, #ff9f0a, #34c759);
}
.summary-text { flex: 1; min-width: 0; }
.summary-text strong { display: block; font-size: 17px; font-weight: 600; }
.summary-text span { color: var(--text-2); font-size: 14px; }
.summary-price { font-size: 17px; font-weight: 600; }

/* 表单 */
.field { position: relative; margin-top: 18px; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 8px; min-height: 56px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--field-bg); font-size: 17px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.4; }
.field label {
  position: absolute; left: 17px; top: 17px; color: var(--text-3); font-size: 17px;
  pointer-events: none; transform-origin: left top; transition: transform 0.15s, color 0.15s;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(0.71); }
.field-hint { margin: 8px 2px 0; color: var(--text-2); font-size: 12px; }
.field.is-invalid input { border-color: var(--red); }

.fieldset-label { margin: 22px 0 10px; font-size: 14px; font-weight: 600; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-option { position: relative; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option span {
  display: flex; align-items: center; gap: 10px; padding: 16px;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pay-option span::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--dot, var(--blue)); }
.pay-option input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.pay-option input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.25); }

.total-row { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 16px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.total-row span { color: var(--text-2); }
.total-row strong { font-size: 24px; font-weight: 600; }
.form-error { margin: 12px 0 0; color: var(--red); font-size: 14px; min-height: 0; }
.fine { margin: 14px 0 0; color: var(--text-2); font-size: 12px; text-align: center; }
.mock-note {
  margin-top: 16px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 159, 10, 0.12); color: var(--amber); font-size: 13px;
}

/* ---------- 订单页 ---------- */

.page-head { padding: 64px 0 28px; }
.page-head h1 { margin: 0; font-size: clamp(40px, 6vw, 64px); line-height: 1.06; font-weight: 600; }
.page-head p { margin: 10px 0 0; color: var(--text-2); font-size: 21px; }

.panel { background: var(--tile); border-radius: 28px; padding: 32px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { margin: 0 0 4px; font-size: 24px; font-weight: 600; line-height: 1.17; }
.panel .muted { color: var(--text-2); margin: 0; }
@media (max-width: 734px) { .panel { padding: 24px 20px; border-radius: 22px; } }

.lookup-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.lookup-form .field { margin: 0; }
.lookup-form .btn { height: 56px; padding: 0 28px; }
@media (max-width: 734px) { .lookup-form { grid-template-columns: 1fr; } .lookup-form .btn { width: 100%; } }

.status-hero { display: flex; gap: 20px; align-items: center; }
.status-icon {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--text-3);
}
.status-icon.ok { background: var(--green); }
.status-icon.wait { background: var(--blue); }
.status-icon.warn { background: var(--amber); }
.status-hero h2 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.14; }
.status-hero p { margin: 4px 0 0; color: var(--text-2); }

.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.progress div { font-size: 12px; color: var(--text-3); }
.progress div::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--line-soft); margin-bottom: 8px; }
.progress div.done { color: var(--text); }
.progress div.done::before { background: var(--green); }
.progress div.now { color: var(--text); }
.progress div.now::before { background: linear-gradient(90deg, var(--blue), var(--line-soft)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.cred { margin-top: 24px; border-radius: 18px; background: var(--bg-alt); overflow: hidden; }
.cred-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.cred-row + .cred-row { border-top: 1px solid var(--line-soft); }
.cred-label { flex: none; width: 52px; color: var(--text-2); font-size: 14px; }
.cred-value { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; word-break: break-all; }
.cred-row .btn { flex: none; }
.cred-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.cred-actions .muted { font-size: 14px; }

.kv { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; font-size: 15px; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; word-break: break-all; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 980px; font-size: 12px; font-weight: 600; background: var(--bg-alt); color: var(--text-2); }
.badge.ok { background: rgba(48, 209, 88, 0.15); color: var(--green); }
.badge.wait { background: rgba(0, 113, 227, 0.12); color: var(--link); }
.badge.warn { background: rgba(255, 159, 10, 0.15); color: var(--amber); }

.history summary { cursor: pointer; color: var(--link); font-size: 14px; margin-top: 16px; }
.history .cred { opacity: 0.6; }

/* 提示条 */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 100;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 980px;
  background: rgba(29, 29, 31, 0.92); color: #fff; font-size: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.25s, transform 0.25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 出现动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 第二个商品：Gemini ---------- */

.hero-alt { background: var(--bg-alt); padding-top: 72px; }
.eyebrow-gemini {
  background: linear-gradient(90deg, #4285f4, #9b72cb 55%, #d96570);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glow-gemini {
  background:
    radial-gradient(40% 50% at 25% 55%, rgba(66, 133, 244, 0.6), transparent 70%),
    radial-gradient(40% 55% at 55% 40%, rgba(155, 114, 203, 0.55), transparent 70%),
    radial-gradient(35% 50% at 78% 62%, rgba(217, 101, 112, 0.5), transparent 70%),
    radial-gradient(30% 40% at 45% 82%, rgba(52, 168, 255, 0.35), transparent 70%);
}
.kcard.kcard-gemini {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.32) 45%, rgba(255, 255, 255, 0) 60%) no-repeat,
    radial-gradient(120% 140% at 0% 0%, #5b8cff 0%, transparent 55%),
    linear-gradient(140deg, #1d3fae 0%, #4a5fd6 35%, #8a63d2 68%, #d0677a 100%);
  background-size: 250% 100%, 100% 100%, 100% 100%;
  background-position: var(--sheen) 0, 0 0, 0 0;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.kcard-gemini .kcard-brand, .kcard-gemini .kcard-meta { opacity: 0.75; }
.kcard-gemini .kcard-dots { opacity: 0.55; }
.kcard-gemini .kcard-glare { mix-blend-mode: overlay; }
.kcard-spark {
  width: clamp(34px, 5vw, 44px); height: clamp(34px, 5vw, 44px);
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.55));
  animation: twinkle 4.5s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(90deg) scale(0.86); }
}

/* ---------- 对比表 ---------- */

.compare { max-width: 920px; margin: 0 auto; }
.compare-head { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; padding-bottom: 32px; }
.compare-col { display: flex; flex-direction: column; align-items: center; }
.compare-thumb {
  width: min(160px, 25vw); aspect-ratio: 1.586; border-radius: 10px;
  background: linear-gradient(145deg, #fff, #e4e4ea);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
}
.compare-thumb::after {
  content: ""; position: absolute; left: 10%; top: 14%; width: 16%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 200deg, #34c759, #0a84ff, #bf5af2, #ff9f0a, #34c759);
}
@media (prefers-color-scheme: dark) {
  .compare-thumb { background: linear-gradient(145deg, #3a3a3c, #1c1c1e); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
}
.compare-thumb.compare-thumb-gemini, .summary-thumb.is-gemini {
  background: linear-gradient(140deg, #1d3fae 0%, #4a5fd6 35%, #8a63d2 68%, #d0677a 100%);
}
.compare-thumb-gemini::after, .summary-thumb.is-gemini::after {
  background: #fff; border-radius: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.compare-col h3 { margin: 20px 0 0; font-size: 24px; font-weight: 600; line-height: 1.17; }
.compare-price { margin: 4px 0 14px; color: var(--text-2); }
.compare-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 20px; padding: 22px 0; border-top: 1px solid var(--line); text-align: center; }
.compare-row p { margin: 0; }
.compare-row .compare-label { grid-column: 1 / -1; color: var(--text-2); font-size: 12px; }
@media (max-width: 734px) {
  .compare-head, .compare-row { gap: 6px 10px; }
  .compare-row { font-size: 13px; }
  .compare-col h3 { font-size: 17px; margin-top: 14px; }
  .compare-price { font-size: 15px; }
}

/* 无质保确认 */
.ack { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); font-size: 14px; cursor: pointer; }
.ack input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.ack.is-invalid { box-shadow: inset 0 0 0 1px var(--red); }

/* ---------- 第三个商品：Muse ---------- */

.eyebrow-muse {
  background: linear-gradient(90deg, #ff7a45, #ff4d6d 55%, #c04cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glow-muse {
  background:
    radial-gradient(40% 50% at 25% 55%, rgba(255, 122, 69, 0.55), transparent 70%),
    radial-gradient(40% 55% at 55% 40%, rgba(255, 77, 109, 0.5), transparent 70%),
    radial-gradient(35% 50% at 78% 62%, rgba(192, 76, 255, 0.45), transparent 70%),
    radial-gradient(30% 40% at 45% 82%, rgba(255, 196, 0, 0.35), transparent 70%);
}
.kcard.kcard-muse {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0) 60%) no-repeat,
    radial-gradient(120% 140% at 100% 0%, #ffb36b 0%, transparent 50%),
    linear-gradient(140deg, #ff6a3d 0%, #ff4d6d 45%, #d14bd8 80%, #8d4dff 100%);
  background-size: 250% 100%, 100% 100%, 100% 100%;
  background-position: var(--sheen) 0, 0 0, 0 0;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.kcard-muse .kcard-brand, .kcard-muse .kcard-meta { opacity: 0.8; }
.kcard-muse .kcard-dots { opacity: 0.55; }
.kcard-muse .kcard-glare { mix-blend-mode: overlay; }
.kcard-m {
  width: clamp(34px, 5vw, 44px); height: clamp(34px, 5vw, 44px); border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; letter-spacing: -0.02em;
  animation: m-bob 5s ease-in-out infinite;
}
@keyframes m-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) { .kcard-m { animation: none; } }
.compare-thumb.compare-thumb-muse, .summary-thumb.is-muse {
  background: linear-gradient(140deg, #ff6a3d 0%, #ff4d6d 45%, #d14bd8 80%, #8d4dff 100%);
}
.compare-thumb-muse::after, .summary-thumb.is-muse::after {
  background: rgba(255, 255, 255, 0.9); border-radius: 3px;
}
