/* ============================================================================
 * 05 · Apple 极简原生 App 风（零蓝色 · 严格 1:1 遵循原始 PRD V1.0 · 零新增功能）
 * 色彩哲学：纯白画布 #FFFFFF × Cupertino 铂银浅灰 #F5F5F7 / #F2F2F7
 *          × 苹果碳黑 #1D1D1F × 克制钛橙赤陶 #C8431C（0% 蓝色、0% 紫色）
 * 工艺标准：iOS 毛玻璃顶底栏 × 原生分段控件 × App 图标格网 × 统一圆角标尺 × 严禁卡片套卡片
 * ============================================================================ */

:root {
  --t: 1;
  --studio-bg: #F2F2F7;
  --bg: #FFFFFF;
  --gray: #F5F5F7;
  --gray-2: #F2F2F7;
  --gray-hover: #EAEAEF;
  --hair: rgba(60, 60, 67, 0.10);
  --hair-strong: rgba(60, 60, 67, 0.18);

  --ink: #1D1D1F;
  --ink-2: #515154;
  --ink-3: #86868B;
  --ink-4: #AEAEB2;

  /* Apple 非蓝高级强调：钛金属赤陶橙（WCAG AA 5.45:1） */
  --accent: #C8431C;
  --accent-hover: #AD3816;
  --accent-soft: #FFF4F0;
  --accent-soft-hover: #FFE9E0;

  /* iOS 原生无障碍语义色（零蓝色） */
  --green: #1E8E4E;
  --amber: #C66900;
  --red: #D70015;
  --red-soft: #FFF1F2;

  /* Apple 连续圆角标尺 */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 16px;
  --r-pill: 999px;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "SF Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--studio-bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: calc(14px * var(--t));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }
img { display: block; max-width: 100%; }
.tabular { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* 首屏单次入场动效（taste-skill Rule 5） */
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-enter] { animation: heroEnter 0.44s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  [data-enter], * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------- 桌面评审台（Apple 铂银背景 + 极净白侧栏） ---------------- */
.studio {
  min-height: 100vh;
  display: flex;
  background: var(--studio-bg);
}

.rail {
  width: 304px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
}

.rail-head {
  padding: 24px 22px 18px;
  border-bottom: 1px solid var(--hair);
}

.rail-eyebrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rail-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rail-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rail-sub {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--ink-3);
}

.rail-check {
  margin-top: 16px;
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  background: var(--gray);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.rail-check:hover { background: var(--gray-hover); transform: translateY(-1px); }
.rail-check:active { transform: scale(0.985); }

.rail-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px 24px;
}

.rail-grp { margin-bottom: 20px; }

.rail-grp-t {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin: 0 10px 8px;
}

.rail-nav { display: flex; flex-direction: column; gap: 2px; }

.r-link {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}

.r-link span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  min-width: 24px;
}

.r-link:hover { background: var(--gray); color: var(--ink); }
.r-link.is-active { background: var(--ink); color: #FFFFFF; font-weight: 600; }
.r-link.is-active span { color: rgba(255, 255, 255, 0.65); }

.rail-ctrl {
  padding: 12px;
  border-radius: var(--r-sm);
  background: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ctrl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-2);
}

.seg-mini {
  display: inline-flex;
  background: var(--gray-2);
  border-radius: 8px;
  padding: 2px;
}

.seg-mini button {
  padding: 4px 9px;
  font-size: 11px;
  border-radius: 6px;
  color: var(--ink-2);
  transition: background 0.14s var(--ease), color 0.14s var(--ease), box-shadow 0.14s var(--ease);
}

.seg-mini button.is-active {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0.5px 1px rgba(0, 0, 0, 0.04);
}

.auth-chip {
  padding: 5px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
}

.rail-foot {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--hair);
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.5;
}

.rail-note { margin-top: 3px; color: var(--ink-3); font-size: 10.5px; }

/* 手机真机舞台（钛金属深空灰边框 + 柔和中性投影） */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  min-width: 0;
}

.phone-frame {
  width: 398px;
  padding: 8px;
  border-radius: 50px;
  background: linear-gradient(155deg, #3A3A3C 0%, #1C1C1E 50%, #111112 100%);
  box-shadow:
    0 34px 76px rgba(0, 0, 0, 0.14),
    0 6px 18px rgba(0, 0, 0, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.phone-bezel { border-radius: 42px; overflow: hidden; background: #FFFFFF; }

.phone-screen {
  width: 382px;
  height: 816px;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.stage-caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ---------------- iOS 状态栏 × 毛玻璃导航栏 × 底部原生 TabBar ---------------- */
.wx-statusbar {
  height: 44px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  position: relative;
  flex-shrink: 0;
  z-index: 20;
}

.sb-time { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }

.sb-island {
  width: 96px;
  height: 25px;
  border-radius: var(--r-pill);
  background: #000000;
  position: absolute;
  left: 50%;
  top: 9px;
  transform: translateX(-50%);
}

.sb-icons { display: flex; align-items: center; gap: 5px; color: inherit; }
.sb-icons svg { fill: currentColor; }

.sb-bat {
  width: 22px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid currentColor;
  padding: 1.5px;
  position: relative;
}

.sb-bat i { display: block; width: 78%; height: 100%; background: currentColor; border-radius: 1px; }
.sb-bat::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 1.8px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
}

.wx-navbar {
  height: 44px;
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
  flex-shrink: 0;
  z-index: 20;
}

.nav-left { min-width: 72px; display: flex; align-items: center; }

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  min-height: 44px;
}

.nav-brand-mini {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
}

.nav-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wx-capsule {
  width: 82px;
  height: 30px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair-strong);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.cap-dots { display: flex; gap: 3px; align-items: center; padding: 6px; }
.cap-dots span { width: 3.5px; height: 3.5px; border-radius: 50%; background: var(--ink); }
.cap-dots span:nth-child(2) { width: 4.5px; height: 4.5px; }
.cap-sep { width: 1px; height: 14px; background: var(--hair-strong); }
.cap-o { padding: 4px 6px; display: grid; place-items: center; }
.cap-o span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.4px solid var(--ink);
  position: relative;
}
.cap-o span::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}

.wx-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #FFFFFF;
  -webkit-overflow-scrolling: touch;
}

.wx-viewport::-webkit-scrollbar { width: 0; height: 0; }

.wx-tabbar {
  height: 64px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 2px 6px 6px;
  flex-shrink: 0;
  z-index: 20;
}

.wx-tabbar.is-hidden { display: none; }

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8E8E93;
  font-size: 10.5px;
  font-weight: 500;
  min-height: 44px;
  transition: color 0.14s var(--ease);
}

.tab-item svg { width: 21px; height: 21px; }
.tab-item.is-active { color: var(--ink); font-weight: 600; }

.cta-dot {
  width: 40px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 0.16s var(--ease), background 0.16s var(--ease);
}

.tab-cta:hover .cta-dot { background: #333336; transform: translateY(-1px); }
.tab-cta:active .cta-dot { transform: scale(0.94); }
.cta-dot svg { width: 15px; height: 15px; }
.tab-cta { color: var(--ink); font-weight: 600; }

/* ---------------- Apple App 排版体系（纯白底 × 疏朗留白 × 零卡片套卡片） ---------------- */
.page { padding: 0 20px 44px; }

.ed-sec {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.ed-sec.is-soft { border-top-color: var(--hair); }

.ed-sec-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ed-idx {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.ed-h {
  margin: 0;
  font-size: calc(19px * var(--t));
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.ed-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  padding-bottom: 1px;
}

.ed-more::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.ed-more:hover::after { transform: scaleX(1); }

/* 首页 Large Title 头部（iOS App 原生大标题） */
.masthead { padding: 16px 0 6px; }

.mh-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.mh-msg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--gray);
  transition: background 0.15s var(--ease);
}

.mh-msg:hover { background: var(--gray-hover); }

.mh-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.mh-h1 {
  margin: 0;
  font-size: calc(27px * var(--t));
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.15;
  color: var(--ink);
}

.search-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-2);
  border-radius: 12px;
  padding: 0 12px;
  height: 40px;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.search-bar:focus-within {
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.search-bar input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: calc(13.5px * var(--t));
}

.search-bar input::placeholder { color: var(--ink-3); }

.search-bar button {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 8px;
  min-height: 36px;
}

/* 首页 Apple Today 主视觉（真实车型实拍 × 连续圆角 × 细腻光学内边） */
.feature-story {
  margin-top: 16px;
  cursor: pointer;
}

.fs-frame {
  width: 100%;
  height: 178px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--gray);
  position: relative;
}

.fs-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.fs-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s var(--ease);
}

.feature-story:hover .fs-img { transform: scale(1.028); }

.fs-kicker {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.fs-title {
  margin: 5px 0 6px;
  font-size: calc(18.5px * var(--t));
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.fs-desc {
  margin: 0;
  font-size: calc(12.5px * var(--t));
  line-height: 1.58;
  color: var(--ink-2);
}

/* 双主操作条（Apple 碳黑主按钮 + 铂银浅灰次按钮） */
.dual-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
}

.act-black {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--r);
  padding: 15px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 82px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.act-black:hover { background: #333336; transform: translateY(-2px); }
.act-black:active { transform: scale(0.98); }

.act-arrow-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

.act-stone {
  background: var(--gray);
  color: var(--ink);
  border-radius: var(--r);
  padding: 15px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 82px;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.act-stone:hover { background: var(--gray-hover); transform: translateY(-2px); }
.act-stone:active { transform: scale(0.98); }

.act-title {
  font-size: calc(15px * var(--t));
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.015em;
}

.act-count-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}

.act-sub {
  font-size: 11.5px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.act-stone .act-sub { color: var(--ink-3); }

/* 5 项 iOS App 图标快捷栏（独立连续圆角图标直接落白底，零外层卡片） */
.util-strip {
  margin-top: 22px;
  padding: 12px 0 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.util-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  transition: transform 0.16s var(--ease), color 0.16s var(--ease);
}

.util-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gray);
  display: grid;
  place-items: center;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.util-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--ink);
  stroke-width: 1.7;
  transition: stroke 0.16s var(--ease);
}

.util-item:hover { color: var(--ink); transform: translateY(-2px); }
.util-item:hover .util-icon { background: var(--accent-soft); }
.util-item:hover .util-icon svg { stroke: var(--accent); }
.util-item:active .util-icon { transform: scale(0.94); }

/* 车库个性化区（零外层卡片！纯白开放区 + 单层柔暖召回提示条） */
.pers-block {
  margin-top: 16px;
  padding: 18px 0 4px;
  border-top: 1px solid var(--hair);
}

.pers-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 10px;
}

.pers-recall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--r);
  background: var(--accent-soft);
  cursor: pointer;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.pers-recall:hover { background: var(--accent-soft-hover); transform: translateY(-1px); }

/* 每日监测简报（单层铂银浅灰，零外框、零嵌套） */
.brief-dispatch {
  padding: 18px 16px;
  border-radius: var(--r);
  background: var(--gray);
  cursor: pointer;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.brief-dispatch:hover { background: var(--gray-hover); transform: translateY(-2px); }

.bd-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.bd-title {
  font-size: calc(15.5px * var(--t));
  font-weight: 700;
  line-height: 1.44;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.bd-desc {
  margin: 8px 0 0;
  font-size: calc(12.5px * var(--t));
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---------------- iOS 列表行（纯白画布 + 细腻灰线 + 光学微边缩略图） ---------------- */
.ed-row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  transition: opacity 0.15s var(--ease);
}

.ed-row:last-child { border-bottom: none; }

.ed-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 7px;
}

.st-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
}

.st-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.st-green { color: var(--green); }
.st-red { color: var(--red); }
.st-amber { color: var(--amber); }
.st-ink { color: var(--ink); }
.st-muted { color: var(--ink-3); }

.ed-row-main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ed-row-title {
  font-size: calc(15.5px * var(--t));
  font-weight: 600;
  line-height: 1.44;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.ed-row-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

.ed-row-tags {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ed-thumb {
  width: 90px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray);
  flex-shrink: 0;
  position: relative;
}

.ed-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.ed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s var(--ease);
}

.ed-row:hover .ed-thumb img { transform: scale(1.03); }

/* 车库单车展示（纯白开放排版 + 真实车型大图） */
.car-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
}
.car-item:last-child { border-bottom: none; }

.car-photo {
  width: 100%;
  height: 164px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--gray);
  margin-bottom: 14px;
  position: relative;
}

.car-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.car-photo:hover img { transform: scale(1.028); }

/* ---------------- iOS 原生分段控件 & Apple 胶囊分类条 & 统一按钮体系 ---------------- */
.line-tabs {
  display: flex;
  background: var(--gray-2);
  padding: 3px;
  border-radius: 11px;
  margin: 14px 0 16px;
  gap: 2px;
}

.lt-btn {
  flex: 1;
  padding: 0 10px;
  min-height: 36px;
  border-radius: 8.5px;
  font-size: calc(13px * var(--t));
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.lt-btn:hover { color: var(--ink); }

.lt-btn.is-active {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07), 0 0.5px 1px rgba(0, 0, 0, 0.04);
}

/* 可横向滚动栏目胶囊（资讯 7 栏目） */
.pill-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 14px;
  scrollbar-width: none;
}
.pill-tabs::-webkit-scrollbar { display: none; }

.pt-btn {
  padding: 7px 14px;
  min-height: 36px;
  border-radius: var(--r-pill);
  font-size: calc(13px * var(--t));
  font-weight: 500;
  background: var(--gray);
  color: var(--ink-2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.pt-btn:hover { background: var(--gray-hover); color: var(--ink); }
.pt-btn.is-active { background: var(--ink); color: #FFFFFF; font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: calc(14px * var(--t));
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease), border-color 0.15s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: #333336; }
.btn-red { background: var(--accent-soft); color: var(--accent); }
.btn-red:hover { background: var(--accent-soft-hover); }
.btn-outline { background: #FFFFFF; border: 1px solid var(--hair-strong); color: var(--ink); }
.btn-outline:hover { background: var(--gray); }
.btn-stone { background: var(--gray); color: var(--ink); }
.btn-stone:hover { background: var(--gray-hover); }
.btn-sm { min-height: 38px; padding: 0 13px; font-size: calc(12.5px * var(--t)); border-radius: 10px; }
.btn-block { width: 100%; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: 12px;
  background: var(--gray);
  color: var(--ink-2);
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.chip:hover { background: var(--gray-hover); }
.chip.is-on { background: var(--ink); color: #FFFFFF; font-weight: 600; }

/* 表单与 KV（iOS Settings 列表质感） */
.kv .kv-r {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
  font-size: calc(13.5px * var(--t));
}

.kv .kv-r:last-child { border-bottom: none; }
.kv-k { color: var(--ink-3); flex-shrink: 0; white-space: nowrap; }
.kv-v { font-weight: 600; text-align: right; word-break: break-word; color: var(--ink); }

.fg { margin-bottom: 16px; }
.fl { display: flex; justify-content: space-between; font-size: calc(12.5px * var(--t)); font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.fi, .fs, .ft {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 13px;
  min-height: 44px;
  font-size: calc(13.5px * var(--t));
  background: var(--gray);
  outline: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.fi:focus, .fs:focus, .ft:focus { background: #FFFFFF; border-color: var(--ink); }
.ft { min-height: 96px; resize: vertical; line-height: 1.6; }

/* 流程 6 步网格（单层浅灰，零外框） */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.step-cell {
  background: var(--gray);
  border-radius: 12px;
  padding: 13px 11px;
}

.step-n { font-family: var(--mono); font-size: 10.5px; color: var(--accent); font-weight: 700; }
.step-t { font-size: 12.5px; font-weight: 600; margin-top: 4px; color: var(--ink); }

/* 厂家回复块（单层浅铂银，零嵌套） */
.reply-quote {
  margin-top: 20px;
  padding: 16px;
  background: var(--gray);
  border-radius: var(--r);
}

/* 时间线 */
.tl { position: relative; padding-left: 18px; }
.tl::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1.5px; background: var(--hair-strong); }
.tl-item { position: relative; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -17.5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--ink-4);
}
.tl-item.is-cur .tl-dot { background: var(--accent); border-color: var(--accent); }

/* 头像预置网格（16 套） */
.av-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.av-opt {
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--ink-2);
  transition: border-color 0.14s var(--ease), background 0.14s var(--ease);
}
.av-opt.is-on { border-color: var(--ink); background: var(--gray); color: var(--ink); font-weight: 600; }
.av-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* iOS 底部弹层与 Toast */
.p-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
  z-index: 60;
}
.p-backdrop.is-open { opacity: 1; pointer-events: auto; }

.p-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 82%;
  background: #FFFFFF;
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: column;
  z-index: 65;
  transform: translateY(100%);
  transition: transform 0.26s var(--ease);
}
.p-sheet.is-open { transform: translateY(0); }
.p-grip { width: 36px; height: 4.5px; border-radius: var(--r-pill); background: rgba(60, 60, 67, 0.24); margin: 10px auto 4px; }
.p-sheet-head {
  padding: 8px 20px 14px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-sheet-head h3 { margin: 0; font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; }
.p-sheet-close { width: 30px; height: 30px; border-radius: 50%; background: var(--gray); font-size: 12px; color: var(--ink-2); }
.p-sheet-body { padding: 16px 20px 26px; overflow-y: auto; }

.p-toast {
  position: absolute;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 10px);
  background: rgba(29, 29, 31, 0.92);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  max-width: 320px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 80;
}
.p-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 移动端全屏自适应 */
@media (max-width: 899px) {
  .rail, .stage-caption { display: none; }
  .studio { background: #FFFFFF; }
  .stage { padding: 0; }
  .phone-frame { width: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .phone-bezel { border-radius: 0; }
  .phone-screen { width: 100vw; height: 100dvh; }
}
