/* ================================================================
   Inflection Playground — Apple-minimalist Design System
   by 舒淇 · v1 · 2026-09-24
   ----------------------------------------------------------------
   设计原则：
   · 大留白 · 精致排版 · 单一焦点 · 克制的色彩
   · 无渐变背景（仅图标/强调处允许渐变）
   · 极浅阴影 + hover 时轻微上浮
   · SF Pro / 系统字体栈，紧字距标题 + 舒适字距正文
   ================================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Neutrals — 苹果标志性配色 */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-elev: #fbfbfd;
  --ink: #1d1d1f;          /* 主文本 */
  --ink-2: #424245;        /* 次级文本 */
  --ink-3: #6e6e73;        /* 辅助文本 */
  --ink-4: #86868b;        /* 弱化文本 */
  --line: #d2d2d7;         /* 分隔线 */
  --line-2: #e8e8ed;       /* 更淡分隔 */

  /* Accent — 只在 CTA / 品牌焦点处出现 */
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: #e8f2fd;

  /* Semantic */
  --ok: #248a3d;
  --warn: #b25000;
  --danger: #d70015;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow — 极浅，苹果式 */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --sh-2: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --sh-3: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --sh-lift: 0 20px 60px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.05);

  /* Spacing — 8pt grid */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Type scale */
  --fs-hero: clamp(56px, 8vw, 96px);
  --fs-h1: clamp(40px, 5vw, 64px);
  --fs-h2: clamp(32px, 3.6vw, 44px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-h4: 20px;
  --fs-lg: 19px;
  --fs-md: 17px;
  --fs-base: 15px;
  --fs-sm: 13px;
  --fs-xs: 12px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 450ms;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 900px;
  --nav-h: 56px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Selection */
::selection { background: rgba(0, 113, 227, 0.18); }

/* Focus ring — 苹果式柔和 */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 var(--s-5); }
section { padding: var(--s-9) 0; }
@media (max-width: 768px) {
  section { padding: var(--s-7) 0; }
}

/* ---------- Nav (Apple-style sticky bar) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--s-5);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
  display: grid; place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.brand-mark.play { background: linear-gradient(135deg, #0071e3 0%, #42a5f5 100%); }
.brand b { font-weight: 400; color: var(--ink-4); margin: 0 2px; }
.nav-links { display: flex; gap: var(--s-5); margin-left: auto; }
.nav-links a {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  transition: color var(--t-fast) var(--ease);
  letter-spacing: 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-cta {
  font-size: var(--fs-sm);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--s-10) 0 var(--s-9);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-bottom: var(--s-4);
}
.hero-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: var(--s-5);
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: var(--fs-h4);
  color: var(--ink-3);
  max-width: 620px;
  margin: 0 auto var(--s-6);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-cta-row {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .hero { padding: var(--s-8) 0 var(--s-7); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-ghost { background: transparent; color: var(--accent); border-color: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-alt); }
.btn-sm { padding: 8px 16px; font-size: var(--fs-sm); }
.btn-lg { padding: 16px 32px; font-size: var(--fs-lg); }
.btn-block { width: 100%; }

/* ---------- Section headers ---------- */
.sec-head { margin-bottom: var(--s-7); }
.sec-head.center { text-align: center; }
.sec-eyebrow {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: var(--s-3);
}
.sec-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: var(--s-3);
}
.sec-desc {
  font-size: var(--fs-lg);
  color: var(--ink-3);
  max-width: 620px;
  line-height: 1.45;
}
.sec-head.center .sec-desc { margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  .sec-title { font-size: 32px; }
  .sec-desc { font-size: var(--fs-md); }
}

/* ---------- Category tabs (Apple segmented) ---------- */
.tabs {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 8px 20px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-1);
}
.tabs-row {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s-7);
}

/* ---------- Search ---------- */
.search-wrap {
  max-width: 520px;
  margin: 0 auto var(--s-6);
  position: relative;
}
.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: var(--fs-md);
  transition: all var(--t-fast) var(--ease);
}
.search-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}
.search-input::placeholder { color: var(--ink-4); }
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-4);
  pointer-events: none;
}

/* ---------- App Grid ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
}
@media (max-width: 640px) {
  .app-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}
.app-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: all var(--t-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lift);
  border-color: transparent;
}
.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}
.app-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--sh-1);
}
.app-icon svg { width: 30px; height: 30px; }
.app-meta { flex: 1; min-width: 0; }
.app-name-en {
  font-size: var(--fs-xs);
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.app-name-cn {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.app-desc {
  font-size: var(--fs-base);
  color: var(--ink-3);
  line-height: 1.5;
  flex: 1;
}
.app-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-2);
}
.app-cat {
  font-size: var(--fs-xs);
  color: var(--ink-4);
  font-weight: 500;
}
.app-arrow {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast) var(--ease);
}
.app-card:hover .app-arrow { gap: 8px; }
.app-badge {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  background: var(--ink);
  color: #fff;
  letter-spacing: 0.04em;
}
.app-badge.hot { background: linear-gradient(135deg, #ff6b6b, #ee5a6f); }

/* ---------- Featured carousel ---------- */
.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}
.feat-card {
  border-radius: var(--r-xl);
  padding: var(--s-6);
  color: #fff;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.feat-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: var(--s-3);
}
.feat-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s-3);
}
.feat-desc {
  font-size: var(--fs-md);
  opacity: 0.9;
  line-height: 1.45;
  max-width: 90%;
}
.feat-icon {
  width: 64px; height: 64px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.feat-icon svg { width: 40px; height: 40px; }
.feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-md);
  font-weight: 500;
  margin-top: var(--s-4);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-2);
  padding: var(--s-7) 0 var(--s-6);
  background: var(--bg-alt);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer a { color: var(--ink-2); transition: color var(--t-fast) var(--ease); }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: var(--s-5); flex-wrap: wrap; }

/* ---------- App Page Shell ---------- */
.app-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.app-hero {
  padding: var(--s-9) 0 var(--s-7);
  text-align: center;
  position: relative;
}
.app-hero-icon {
  width: 88px; height: 88px;
  border-radius: 22px;
  display: grid; place-items: center;
  color: #fff;
  margin: 0 auto var(--s-5);
  box-shadow: var(--sh-3);
}
.app-hero-icon svg { width: 52px; height: 52px; }
.app-hero-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: var(--s-3);
}
.app-hero-en {
  font-size: var(--fs-md);
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.app-hero-desc {
  font-size: var(--fs-lg);
  color: var(--ink-3);
  max-width: 580px;
  margin: 0 auto var(--s-6);
  line-height: 1.45;
}

/* ---------- Console / Interaction Panels ---------- */
.console {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--sh-2);
}
.console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-2);
  margin-bottom: var(--s-5);
}
.console-title { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.02em; }
.console-body { min-height: 200px; }

/* Chat */
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-height: 480px;
  overflow-y: auto;
  padding: var(--s-2);
}
.msg { display: flex; gap: var(--s-3); max-width: 82%; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.msg.user .msg-avatar { background: var(--accent); color: #fff; }
.msg-bubble {
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--ink);
}
.msg.user .msg-bubble { background: var(--accent); color: #fff; }

/* Composer */
.composer {
  display: flex;
  gap: var(--s-3);
  align-items: flex-end;
  padding: var(--s-3);
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  margin-top: var(--s-5);
}
.composer textarea {
  flex: 1;
  border: none;
  background: transparent;
  resize: none;
  padding: 10px 12px;
  font-size: var(--fs-md);
  line-height: 1.5;
  min-height: 44px;
  max-height: 140px;
  outline: none;
}
.composer textarea::placeholder { color: var(--ink-4); }
.composer-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.composer-send:hover { background: var(--accent-hover); transform: scale(1.05); }

/* Character picker */
.picker-row {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  padding: var(--s-2) 0;
  scrollbar-width: thin;
}
.picker-chip {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.picker-chip:hover { background: #fff; border-color: var(--line); }
.picker-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Cards & Grid utility */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-5); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-5); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-4); }

.tile {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: all var(--t-base) var(--ease-out);
  cursor: pointer;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: transparent;
}
.tile-eyebrow { font-size: var(--fs-xs); color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-2); font-weight: 500; }
.tile-title { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.02em; margin-bottom: var(--s-2); }
.tile-desc { font-size: var(--fs-base); color: var(--ink-3); line-height: 1.5; }

/* Empty state */
.empty {
  text-align: center;
  padding: var(--s-8) var(--s-5);
  color: var(--ink-3);
}
.empty-icon { font-size: 48px; margin-bottom: var(--s-4); opacity: 0.4; }

/* Breadcrumb / back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: all var(--t-fast) var(--ease);
  margin-bottom: var(--s-4);
}
.back-link:hover { background: var(--bg-alt); color: var(--ink); }

/* Pill / chip */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  background: var(--bg-alt);
  color: var(--ink-2);
}
.pill-accent { background: var(--accent-soft); color: var(--accent); }
.pill-dark { background: var(--ink); color: #fff; }

/* Divider */
.divider { height: 1px; background: var(--line-2); margin: var(--s-6) 0; }

/* Reveal animation */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 600ms var(--ease-out) both; }
.rise-1 { animation-delay: 60ms; }
.rise-2 { animation-delay: 120ms; }
.rise-3 { animation-delay: 180ms; }
.rise-4 { animation-delay: 240ms; }

/* Dark mode support (auto) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bg-alt: #1c1c1e;
    --bg-elev: #0a0a0a;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --ink-3: #a1a1a6;
    --ink-4: #86868b;
    --line: #424245;
    --line-2: #2c2c2e;
    --accent: #2997ff;
    --accent-hover: #4dabff;
    --accent-soft: rgba(41, 151, 255, 0.14);
    --sh-1: 0 1px 2px rgba(0,0,0,0.5);
    --sh-2: 0 4px 12px rgba(0,0,0,0.5);
    --sh-3: 0 12px 40px rgba(0,0,0,0.6);
    --sh-lift: 0 20px 60px rgba(0,0,0,0.7);
  }
  .nav { background: rgba(0,0,0,0.72); border-bottom-color: rgba(255,255,255,0.08); }
  .app-card, .console, .tile { background: var(--bg-elev); }
  .tab.on { background: #2c2c2e; }
  .brand-mark { background: linear-gradient(135deg, #f5f5f7, #d2d2d7); color: #000; }
  .nav-cta { background: #f5f5f7; color: #000; }
  .btn-dark { background: #f5f5f7; color: #000; }
  .btn-dark:hover { background: #fff; }
  .picker-chip.on { background: #f5f5f7; color: #000; border-color: #f5f5f7; }
  .msg.user .msg-avatar { background: var(--accent); color: #fff; }
}

/* ---- v3 补丁 ---- */
img { background-color: var(--bg-alt); }
.img-missing { opacity: 0 !important; }
.app-hero { padding: 72px 0 40px !important; }
.app-hero-icon { width: 76px !important; height: 76px !important; border-radius: 19px !important; }
.app-hero-icon svg { width: 44px !important; height: 44px !important; }
.live-badge { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(0,0,0,0.55); color: #fff; backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 6px; letter-spacing: 0.04em; }
.lip-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.8); animation: lipPulse 1.1s ease-in-out infinite; }
@keyframes lipPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }

/* Utility */
.hidden { display: none !important; }
.center { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
