:root {
  --void: #f4f5f8;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --ink: #111827;
  --ink2: rgba(17, 24, 39, 0.72);
  --ink3: rgba(17, 24, 39, 0.45);
  --p1: #ED3F49;
  --p2: #F58229;
  --p3: #FFC53D;
  --p4: #3FB95F;
  --p5: #2E8BE6;
  --p6: #8B5CF6;
  --cat-dating: #E64D66;
  --cat-offline: #3399E6;
  --cat-partner: #4DBF73;
  --cat-skill: #F2A633;
  --cat-curious: #9973E6;
  --cat-moment: #40B3BF;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --disp: "Yuanti SC", "YuantiSC", "STYuanti", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;

  /* 主题扩展变量（默认浅色：白色模式） */
  --ticker-bg: #eaecf1;
  --contact-bg: #ffffff;
  --phone-bg: #f2f2f7;
  --phone-border: #dce0e6;
  --phone-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(0, 0, 0, 0.08);
  --phone-mcard-bg: #ffffff;
  --phone-mcard-border: rgba(0, 0, 0, 0.08);
  --phone-mcard-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  --poll-accent: #0070e0;
  --voice-card-grad: linear-gradient(135deg, #2E2347 0%, #513050 100%);
  --nav-scrolled-bg: rgba(244, 245, 248, 0.88);
  --btn-primary-bg: #111827;
  --btn-primary-ink: #ffffff;
  --btn-primary-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  --btn-ghost-border: rgba(0, 0, 0, 0.22);
  --btn-ghost-ink: #111827;
  --modal-bg: rgba(255, 255, 255, 0.98);
  --modal-border: rgba(0, 0, 0, 0.08);
  --modal-overlay-bg: rgba(0, 0, 0, 0.45);
  --modal-row-hover: rgba(0, 0, 0, 0.04);
  --modal-btn-close-bg: rgba(0, 0, 0, 0.06);
  --modal-btn-close-ink: rgba(0, 0, 0, 0.65);
  --toast-bg: rgba(255, 255, 255, 0.96);
  --toast-border: rgba(0, 0, 0, 0.08);
  --toast-ink: #111827;
  --toast-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(255, 115, 107, 0.12);
  --tl-line-opacity: 0.85;
  --tl-dot-shadow: 0 0 0 4px #ffffff, 0 0 0 6px color-mix(in srgb, var(--tc) 35%, transparent), 0 3px 10px rgba(0, 0, 0, 0.12);
  --tl-dot-hover-shadow: 0 0 0 4px #ffffff, 0 0 0 8px color-mix(in srgb, var(--tc) 60%, transparent), 0 4px 16px rgba(0, 0, 0, 0.18);
  --tl-card-bg: #ffffff;
  --tl-card-hover-bg: #ffffff;
  --tl-card-border: rgba(0, 0, 0, 0.07);
  --tl-card-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  --tl-card-hover-shadow: 0 14px 34px rgba(0, 0, 0, 0.08), 0 0 20px color-mix(in srgb, var(--tc) 15%, transparent);
  --tl-card-now-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 0 16px color-mix(in srgb, var(--tc) 12%, transparent);
  --tl-bar-opacity: 0.95;
  --bgword-stroke: rgba(0, 0, 0, 0.06);
}

/* 浏览器系统设为深色时，自动跟随深色（除非用户手动锁定了 light） */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --void: #000;
    --card: #18181A;
    --line: rgba(255, 255, 255, 0.12);
    --ink: #fff;
    --ink2: rgba(235, 235, 245, 0.62);
    --ink3: rgba(235, 235, 245, 0.32);
    --ticker-bg: #0D0D0F;
    --contact-bg: #131315;
    --phone-bg: #0c0d10;
    --phone-border: #2c2c2f;
    --phone-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 40px 100px rgba(139, 92, 246, 0.10);
    --phone-mcard-bg: #18181a;
    --phone-mcard-border: rgba(255, 255, 255, 0.10);
    --phone-mcard-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    --poll-accent: #54a0ff;
    --voice-card-grad: linear-gradient(135deg, #3E3160 0%, #6B4068 100%);
    --nav-scrolled-bg: rgba(0, 0, 0, 0.82);
    --btn-primary-bg: #fff;
    --btn-primary-ink: #000;
    --btn-primary-shadow: 0 10px 30px rgba(255, 255, 255, 0.16);
    --btn-ghost-border: rgba(255, 255, 255, 0.8);
    --btn-ghost-ink: #fff;
    --modal-bg: rgba(20, 20, 24, 0.94);
    --modal-border: rgba(255, 255, 255, 0.12);
    --modal-overlay-bg: rgba(0, 0, 0, 0.68);
    --modal-row-hover: rgba(255, 255, 255, 0.07);
    --modal-btn-close-bg: rgba(255, 255, 255, 0.08);
    --modal-btn-close-ink: rgba(255, 255, 255, 0.65);
    --toast-bg: rgba(26, 26, 32, 0.92);
    --toast-border: rgba(255, 255, 255, 0.16);
    --toast-ink: #fff;
    --toast-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 115, 107, 0.2);
    --tl-card-bg: linear-gradient(180deg, color-mix(in srgb, var(--tc) 7%, transparent) 0%, transparent 42%), rgba(255, 255, 255, 0.03);
    --tl-card-hover-bg: linear-gradient(180deg, color-mix(in srgb, var(--tc) 12%, transparent) 0%, transparent 45%), rgba(255, 255, 255, 0.055);
    --tl-card-border: rgba(255, 255, 255, 0.08);
    --tl-card-shadow: none;
    --tl-card-hover-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 16px color-mix(in srgb, var(--tc) 14%, transparent);
    --tl-card-now-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), 0 0 18px color-mix(in srgb, var(--tc) 10%, transparent);
    --tl-line-opacity: 0.32;
    --tl-dot-shadow: 0 0 0 4px #0a0a0c, 0 0 0 5px color-mix(in srgb, var(--tc) 50%, transparent), 0 0 10px color-mix(in srgb, var(--tc) 45%, transparent);
    --tl-dot-hover-shadow: 0 0 0 4px #0a0a0c, 0 0 0 7px color-mix(in srgb, var(--tc) 75%, transparent), 0 0 18px color-mix(in srgb, var(--tc) 55%, transparent);
    --tl-bar-opacity: 0.6;
    --bgword-stroke: rgba(255, 255, 255, 0.08);
  }
}

/* 用户手动强制设为浅色模式 */
:root[data-theme="light"] {
  --void: #f4f5f8;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --ink: #111827;
  --ink2: rgba(17, 24, 39, 0.72);
  --ink3: rgba(17, 24, 39, 0.45);
  --ticker-bg: #eaecf1;
  --contact-bg: #ffffff;
  --phone-bg: #f2f2f7;
  --phone-border: #dce0e6;
  --phone-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(0, 0, 0, 0.08);
  --phone-mcard-bg: #ffffff;
  --phone-mcard-border: rgba(0, 0, 0, 0.08);
  --phone-mcard-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  --poll-accent: #0070e0;
  --voice-card-grad: linear-gradient(135deg, #2E2347 0%, #513050 100%);
  --nav-scrolled-bg: rgba(244, 245, 248, 0.88);
  --btn-primary-bg: #111827;
  --btn-primary-ink: #ffffff;
  --btn-primary-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  --btn-ghost-border: rgba(0, 0, 0, 0.22);
  --btn-ghost-ink: #111827;
  --modal-bg: rgba(255, 255, 255, 0.98);
  --modal-border: rgba(0, 0, 0, 0.08);
  --modal-overlay-bg: rgba(0, 0, 0, 0.45);
  --modal-row-hover: rgba(0, 0, 0, 0.04);
  --modal-btn-close-bg: rgba(0, 0, 0, 0.06);
  --modal-btn-close-ink: rgba(0, 0, 0, 0.65);
  --toast-bg: rgba(255, 255, 255, 0.96);
  --toast-border: rgba(0, 0, 0, 0.08);
  --toast-ink: #111827;
  --toast-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(255, 115, 107, 0.12);
  --tl-line-opacity: 0.85;
  --tl-dot-shadow: 0 0 0 4px #ffffff, 0 0 0 6px color-mix(in srgb, var(--tc) 35%, transparent), 0 3px 10px rgba(0, 0, 0, 0.12);
  --tl-dot-hover-shadow: 0 0 0 4px #ffffff, 0 0 0 8px color-mix(in srgb, var(--tc) 60%, transparent), 0 4px 16px rgba(0, 0, 0, 0.18);
  --tl-card-bg: #ffffff;
  --tl-card-hover-bg: #ffffff;
  --tl-card-border: rgba(0, 0, 0, 0.07);
  --tl-card-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  --tl-card-hover-shadow: 0 14px 34px rgba(0, 0, 0, 0.08), 0 0 20px color-mix(in srgb, var(--tc) 15%, transparent);
  --tl-card-now-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 0 16px color-mix(in srgb, var(--tc) 12%, transparent);
  --tl-bar-opacity: 0.95;
  --bgword-stroke: rgba(0, 0, 0, 0.06);
}

/* 用户手动强制设为深色模式 */
:root[data-theme="dark"] {
  --void: #000;
  --card: #18181A;
  --line: rgba(255, 255, 255, 0.12);
  --ink: #fff;
  --ink2: rgba(235, 235, 245, 0.62);
  --ink3: rgba(235, 235, 245, 0.32);
  --ticker-bg: #0D0D0F;
  --contact-bg: #131315;
  --phone-bg: #0c0d10;
  --phone-border: #2c2c2f;
  --phone-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 40px 100px rgba(139, 92, 246, 0.10);
  --phone-mcard-bg: #18181a;
  --phone-mcard-border: rgba(255, 255, 255, 0.10);
  --phone-mcard-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  --poll-accent: #54a0ff;
  --voice-card-grad: linear-gradient(135deg, #3E3160 0%, #6B4068 100%);
  --nav-scrolled-bg: rgba(0, 0, 0, 0.82);
  --btn-primary-bg: #fff;
  --btn-primary-ink: #000;
  --btn-primary-shadow: 0 10px 30px rgba(255, 255, 255, 0.16);
  --btn-ghost-border: rgba(255, 255, 255, 0.8);
  --btn-ghost-ink: #fff;
  --modal-bg: rgba(20, 20, 24, 0.94);
  --modal-border: rgba(255, 255, 255, 0.12);
  --modal-overlay-bg: rgba(0, 0, 0, 0.68);
  --modal-row-hover: rgba(255, 255, 255, 0.07);
  --modal-btn-close-bg: rgba(255, 255, 255, 0.08);
  --modal-btn-close-ink: rgba(255, 255, 255, 0.65);
  --toast-bg: rgba(26, 26, 32, 0.92);
  --toast-border: rgba(255, 255, 255, 0.16);
  --toast-ink: #fff;
  --toast-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 115, 107, 0.2);
  --tl-card-bg: linear-gradient(180deg, color-mix(in srgb, var(--tc) 7%, transparent) 0%, transparent 42%), rgba(255, 255, 255, 0.03);
  --tl-card-hover-bg: linear-gradient(180deg, color-mix(in srgb, var(--tc) 12%, transparent) 0%, transparent 45%), rgba(255, 255, 255, 0.055);
  --tl-card-border: rgba(255, 255, 255, 0.08);
  --tl-card-shadow: none;
  --tl-card-hover-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 16px color-mix(in srgb, var(--tc) 14%, transparent);
  --tl-card-now-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), 0 0 18px color-mix(in srgb, var(--tc) 10%, transparent);
  --tl-line-opacity: 0.32;
  --tl-dot-shadow: 0 0 0 4px #0a0a0c, 0 0 0 5px color-mix(in srgb, var(--tc) 50%, transparent), 0 0 10px color-mix(in srgb, var(--tc) 45%, transparent);
  --tl-dot-hover-shadow: 0 0 0 4px #0a0a0c, 0 0 0 7px color-mix(in srgb, var(--tc) 75%, transparent), 0 0 18px color-mix(in srgb, var(--tc) 55%, transparent);
  --tl-bar-opacity: 0.6;
  --bgword-stroke: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
  scroll-behavior: smooth;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  overflow-x: hidden;
}

body.no-cursor {
  cursor: none;
}

/* 所有可交互元素（链接、按钮、摘要、弹窗行等）恢复标准点击小手光标，增强可点击暗示 */
body.no-cursor a,
body.no-cursor a *,
body.no-cursor button,
body.no-cursor button *,
body.no-cursor summary,
body.no-cursor summary *,
body.no-cursor .theme-toggle,
body.no-cursor .theme-toggle *,
body.no-cursor .store-row {
  cursor: pointer !important;
}

/* 首屏品牌区及应用商店弹窗恢复系统光标 */
body.no-cursor .hero-lockup,
body.no-cursor .hero-lockup *,
body.no-cursor .store-modal-overlay,
body.no-cursor .store-modal-overlay *,
body.no-cursor .store-modal,
body.no-cursor .store-modal * {
  cursor: auto;
}

body.no-cursor .store-row--disabled {
  cursor: default !important;
}

::selection {
  background: var(--p6);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ── 自定义鼠标：反色画笔 + 颜料甩点 ───── */
#cur {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 999;
  display: none;
  transition: width 0.3s cubic-bezier(0.2, 1.4, 0.4, 1), height 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}

#cur.big {
  width: 62px;
  height: 62px;
}

#cur.down {
  width: 16px;
  height: 16px;
}

.droplet {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--p1), var(--p2), var(--p3), var(--p4), var(--p5), var(--p6));
}

/* ── 视差漂浮装饰 ─────────────────────── */
.fx {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-weight: 900;
  line-height: 1;
  opacity: 0.75;
  will-change: transform;
}

.fx.spin {
  animation: spinfx var(--sd, 18s) linear infinite;
}

@keyframes spinfx {
  to {
    rotate: 360deg;
  }
}

/* ── 导航 ─────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 0.3s;
}

nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.4, 1), opacity 0.15s;
}

.brand:active {
  transform: scale(0.96);
  opacity: 0.88;
}

.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand b {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.1em;
}

.nav-link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink2);
  display: inline-block;
  transition: color 0.2s, transform 0.15s cubic-bezier(0.2, 0.8, 0.4, 1), opacity 0.15s;
  user-select: none;
}

.nav-link:hover,
.nav-link.on {
  color: var(--ink);
}

/* 现代大厂常用的触感微缩点击效果：瞬间微缩并带弹性回弹 */
.nav-link:active {
  transform: scale(0.93) translateY(1px);
  opacity: 0.75;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--p1), var(--p2), var(--p3), var(--p4), var(--p5), var(--p6));
  transform: scaleX(0);
  transform-origin: 50%;
  transition: transform 0.28s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.nav-link:hover::after,
.nav-link.on::after {
  transform: scaleX(1);
}

@media (max-width: 800px) {
  .nav-link {
    display: none;
  }
}

/* ── 顶部导航栏深浅色切换按钮 ─────────── */
.theme-toggle {
  appearance: none;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  background: color-mix(in srgb, var(--ink) 14%, transparent);
  transform: scale(1.08);
}

.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  position: absolute;
  transition: opacity 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}

/* 默认浅色（白天）状态：显示月亮（提示切到深色夜晚），隐藏太阳 */
.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* 浏览器系统设为深色时：显示太阳（提示切到浅色白天），隐藏月亮 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
  }
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0 !important;
  transform: rotate(90deg) scale(0.5) !important;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0 !important;
  transform: rotate(-90deg) scale(0.5) !important;
}

/* ── 按钮（NGL 式胖胶囊） ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
  transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.18s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--btn-primary-shadow);
}

.btn:active {
  transform: scale(0.96);
}

.btn:focus-visible {
  outline: 2px solid var(--p5);
  outline-offset: 3px;
}

.btn.ghost {
  background: transparent;
  color: var(--btn-ghost-ink);
  box-shadow: inset 0 0 0 1.5px var(--btn-ghost-border);
}

.btn.ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--btn-ghost-ink), 0 10px 30px rgba(0, 0, 0, 0.08);
}

.btn.sm {
  font-size: 14.5px;
  padding: 10px 24px;
}

.btn svg {
  width: 19px;
  height: 19px;
}

/* ── Hero ─────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-lockup {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
}

.hero-lockup.visible {
  opacity: 1;
}

/* 擦拭结束后品牌区提到颜料层之上：二维码/按钮保证无遮挡，残余颜料只当画框 */
.hero-lockup.front {
  z-index: 3;
}

.hero h1 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(54px, 11vw, 128px);
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-wrap: balance;
}

.hero h1 .chroma {
  background: linear-gradient(100deg, var(--p1), var(--p2), var(--p3), var(--p4), var(--p5), var(--p6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-def {
  margin: 28px auto 0;
  color: var(--ink2);
  font-size: clamp(16px, 2.6vw, 19px);
  letter-spacing: 0.08em;
  line-height: 2.1;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 扫码只在非触屏的宽屏出现——手机上用户就在设备里，直接点按钮 */
.hero-qr {
  display: none;
  text-align: center;
}

@media (min-width: 820px) and (hover: hover) {
  .hero-qr {
    display: block;
  }
}

.hero-qr img {
  width: 112px;
  height: 112px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px;
  display: block;
}

.hero-qr span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink2);
}

#paint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--btn-ghost-border);
  color: var(--ink2);
  font-size: 18px;
  animation: dip 2.2s ease-in-out infinite;
  transition: border-color 0.2s, color 0.2s;
}

.hero-scroll:hover {
  border-color: var(--ink);
  color: var(--ink);
}

@keyframes dip {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 8px;
  }
}

.rainbow-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  z-index: 3;
  display: flex;
}

.rainbow-bar i {
  flex: 1;
}

/* ── 跑马灯 ───────────────────────────── */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--ticker-bg);
  transform: rotate(-1.5deg) scale(1.04);
  margin: 0 0 100px;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 30s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

.ticker-track span {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.1em;
  padding: 0 28px;
  white-space: nowrap;
  color: var(--tc);
}

.ticker-track span i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--ink3);
  margin-left: 14px;
}

/* ── Section 骨架 ─────────────────────── */
section {
  padding: clamp(80px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.bgword {
  position: absolute;
  top: 44px;
  right: 1vw;
  z-index: 0;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(110px, 18vw, 250px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bgword-stroke);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--sec, var(--p1));
  margin-bottom: 22px;
}

.eyebrow i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sec, var(--p1));
  flex: none;
}

.sec-title {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.22;
  letter-spacing: 0.04em;
  text-wrap: balance;
  margin-bottom: 24px;
}

.sec-title em {
  font-style: normal;
  color: var(--sec, var(--p1));
}

.sec-lead {
  color: var(--ink2);
  max-width: 34em;
  font-size: 17.5px;
}

/* 标题逐字弹跳入场（JS 拆字，reduced-motion 下不拆保持原样） */
.sec-title .ch {
  display: inline-block;
}

.reveal .sec-title .ch {
  opacity: 0;
  transform: translateY(0.65em) rotate(9deg) scale(0.8);
}

.reveal.in .sec-title .ch {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s, transform 0.75s cubic-bezier(0.2, 1.7, 0.45, 1);
  transition-delay: calc(var(--i) * 0.045s);
}

.reveal .rise {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s 0.15s, transform 0.7s 0.15s;
}

.reveal.in .rise {
  opacity: 1;
  transform: none;
}

/* ── 广场：手机壳 + 瀑布流 ────────────── */
.sq-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: minmax(0, 430px) 1fr;
  gap: 80px;
  align-items: start;
  justify-content: center;
}

@media (max-width: 980px) {
  .sq-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.phone {
  width: min(400px, 100%);
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--phone-border);
  border-radius: 50px;
  padding: 18px 14px;
  background: var(--phone-bg);
  position: relative;
  box-shadow: var(--phone-shadow);
  box-sizing: border-box;
}

.phone .notch {
  width: 108px;
  height: 26px;
  border-radius: 999px;
  background: #111;
  margin: 0 auto 12px;
}

.app-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 2px 10px 14px;
}

.app-head b {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.06em;
}

.app-head span {
  font-size: 15px;
  color: var(--ink3);
  font-weight: 500;
}

.app-head .dot-new {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F92E51;
  margin-left: -14px;
  align-self: flex-start;
  margin-top: 8px;
}

.falls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}

.fall-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: fall var(--dur) linear infinite;
}

.fall-col.rev {
  animation-direction: reverse;
}

.falls:hover .fall-col {
  animation-play-state: paused;
}

@keyframes fall {
  to {
    transform: translateY(-50%);
  }
}

.mcard {
  border-radius: 12px;
  overflow: hidden;
  background: var(--phone-mcard-bg);
  border: 0.5px solid var(--phone-mcard-border);
  box-shadow: var(--phone-mcard-shadow);
  flex: none;
  display: flex;
  flex-direction: column;
}

/* 1. 文字卡片（3:4 比例，六组品牌渐变，纯白自适应字号） */
.mcover {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: var(--fs, 14px);
  line-height: 1.45;
  background: var(--g);
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  overflow: hidden;
}

.mcover-text {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* 2. 图片/视频/长文封面卡（比例 3:4 ~ 4:3 自适应） */
.mimg-wrap {
  width: 100%;
  position: relative;
  aspect-ratio: var(--ar, 0.75);
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.mimg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
  backdrop-filter: blur(4px);
  line-height: 1.2;
}

.media-badge svg {
  width: 10px;
  height: 10px;
  fill: #ffffff;
}

.mimg-desc {
  padding: 7px 8px 1px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: var(--phone-mcard-bg);
}

/* 3. 语音卡片（1:1 方形，高级深紫渐变，纯白声波） */
.voice-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--voice-card-grad);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
}

.voice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.voice-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.voice-play-btn svg {
  width: 12px;
  height: 12px;
  fill: #ffffff;
  margin-left: 2px;
}

.voice-tag {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.voice-waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 36px;
  padding: 0 4px;
}

.voice-waves i {
  width: 3px;
  border-radius: 2px;
  background: #ffffff;
  height: calc(8px + var(--vh, 0.5) * 24px);
}

.voice-time {
  font-size: 10.5px;
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}

/* 4. 投票卡片（0.92 宽高比，淡染色底，固定4行容量与底部胶囊） */
.poll-card {
  width: 100%;
  aspect-ratio: 0.92;
  background: linear-gradient(135deg, color-mix(in srgb, var(--poll-accent) 14%, transparent) 0%, color-mix(in srgb, var(--poll-accent) 4%, transparent) 100%);
  padding: 14px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.poll-head {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--poll-accent);
}

.poll-head svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.poll-question {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0 auto;
}

.poll-pill {
  border-radius: 7px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--poll-accent) 12%, transparent);
  color: var(--poll-accent);
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 5. 卡片作者行 */
.mfoot {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 8px 8px;
  background: var(--phone-mcard-bg);
}

.mfoot .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--dc);
  flex: none;
}

.mfoot .mava {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: rgba(125, 125, 125, 0.15);
}

.mfoot span {
  font-size: 10.5px;
  color: var(--ink2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
}

.mfoot b {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.mfoot b.liked {
  color: #FF6FA5;
}

.sq-side {
  padding-top: 30px;
}

.demo-note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink3);
}

.sq-side .after {
  margin-top: 30px;
}

/* ── 探索 + 收取 合并屏 ────────────────── */
#explore {
  padding-top: 56px;
}

.ex-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 76px;
  align-items: center;
}

@media (max-width: 960px) {
  .ex-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    width: 100%;
    max-width: 100%;
  }

  .ex-grid > div {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

@keyframes bob {
  from {
    translate: 0 -4px;
  }
  to {
    translate: 0 5px;
  }
}

/* ── 探索大卡片分类选择器（竖版厚涂卡片） ── */
.cat-grid-cosmic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.ccard {
  position: relative;
  background: linear-gradient(160deg, var(--g1), var(--g2));
  border: 0;
  border-radius: 20px;
  padding: 22px 18px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 202px;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--c) 28%, transparent);
  cursor: pointer;
  overflow: hidden;
  font-family: inherit;
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.25s;
}

.ccard:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--c) 44%, transparent);
}

.ccard:active {
  transform: scale(0.96);
}

.ccard .c-ico {
  width: 52px;
  height: 52px;
  color: #fff;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.ccard .c-ico svg {
  width: 46px;
  height: 46px;
  fill: currentColor;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
}

.ccard .c-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ccard .c-info b {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}

.ccard .c-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin-top: 2px;
}

.reveal .ccard {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
}

.reveal.in .ccard {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s, transform 0.65s cubic-bezier(0.2, 1.7, 0.45, 1);
  transition-delay: calc(var(--n, 0) * 0.06s);
}

@media (max-width: 600px) {
  .cat-grid-cosmic {
    gap: 10px;
    max-width: 100%;
  }

  .ccard {
    padding: 18px 14px;
    min-height: 185px;
    border-radius: 18px;
  }

  .ccard .c-ico {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .ccard .c-ico svg {
    width: 42px;
    height: 42px;
  }

  .ccard .c-info b {
    font-size: 16.5px;
  }

  .ccard .c-info p {
    font-size: 11.5px;
    line-height: 1.35;
  }
}

/* 六个分类各自的小动效 */
.i-heart svg {
  transform-origin: 50% 60%;
  animation: beat 2s ease-in-out 0.2s infinite;
}

@keyframes beat {
  0%,
  100% {
    scale: 1;
  }
  12% {
    scale: 1.22;
  }
  22% {
    scale: 1.05;
  }
  32% {
    scale: 1.25;
  }
  45% {
    scale: 1;
  }
}

.i-pin svg {
  animation: hop 2.6s cubic-bezier(0.3, 0, 0.4, 1) 0.5s infinite;
}

@keyframes hop {
  0%,
  100% {
    translate: 0 0;
  }
  12% {
    translate: 0 -7px;
  }
  24% {
    translate: 0 0;
  }
  30% {
    scale: 1.08 0.92;
  }
  36% {
    scale: 1;
  }
}

.i-users svg {
  transform-origin: 50% 90%;
  animation: hug 3s ease-in-out 0.8s infinite;
}

@keyframes hug {
  0%,
  100% {
    rotate: -6deg;
  }
  50% {
    rotate: 6deg;
  }
}

.i-swap svg {
  animation: flip 3.4s cubic-bezier(0.3, 1.4, 0.4, 1) 1.1s infinite;
}

@keyframes flip {
  0%,
  42% {
    rotate: 0deg;
  }
  58%,
  100% {
    rotate: 180deg;
  }
}

.i-bulb svg {
  animation: glow 2.8s ease-in-out 1.4s infinite;
}

@keyframes glow {
  0%,
  100% {
    filter: none;
    rotate: 0deg;
  }
  45% {
    filter: drop-shadow(0 0 7px var(--c));
    rotate: -8deg;
  }
  60% {
    filter: drop-shadow(0 0 4px var(--c));
    rotate: 6deg;
  }
}

.i-zap svg {
  animation: zapf 3.2s steps(1) 1.7s infinite;
}

@keyframes zapf {
  0%,
  100% {
    opacity: 1;
  }
  6% {
    opacity: 0.25;
  }
  10% {
    opacity: 1;
  }
  14% {
    opacity: 0.4;
  }
  18% {
    opacity: 1;
  }
}

.crow:hover .ico svg {
  animation-duration: 1s;
  animation-delay: 0s;
}

.burst {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
}

/* ── 话题墙（广场右侧） ────────────────── */
.topics-side {
  max-width: 430px;
}

.topics-side h3 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.topic {
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
  animation: bob var(--bd, 5s) ease-in-out var(--bl, 0s) infinite alternate;
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
  cursor: default;
}

.topic:hover {
  transform: scale(1.12) rotate(-2deg);
}

.topic .n {
  font-size: 12px;
  opacity: 0.7;
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
}

/* ── 一体化联系我们面板 ───────────────── */
.contact-box {
  margin-top: 56px;
  background: var(--contact-bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  gap: 48px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-box:hover {
  border-color: color-mix(in srgb, var(--sec) 45%, transparent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.contact-qr-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.c-gzh-card {
  width: 200px;
  height: auto;
  aspect-ratio: 1059 / 1164;
  border-radius: 16px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.3s;
  cursor: zoom-in;
  position: relative;
  z-index: 2;
  transform-origin: center;
}

.c-gzh-card:hover {
  transform: scale(1.42);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 0 2px rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.contact-divider {
  width: 1px;
  height: 150px;
  background: var(--line);
  flex: none;
}

.contact-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  transition: background 0.2s, transform 0.2s;
}

a.c-info-item:hover {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  transform: translateX(4px);
}

.contact-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sec) 14%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--sec);
}

.contact-ico svg {
  width: 22px;
  height: 22px;
}

.c-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  letter-spacing: 0.06em;
}

.c-val {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.c-sub {
  font-size: 12px;
  color: var(--ink2);
}

@media (max-width: 900px) {
  .contact-box {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 30px 24px;
  }

  .contact-divider {
    width: 100%;
    height: 1px;
  }

  .contact-qr-col {
    justify-content: center;
  }

  .c-gzh-card {
    width: 230px;
    max-width: 82vw;
  }

  .c-gzh-card:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .contact-box {
    padding: 22px 18px;
    border-radius: 18px;
    margin-top: 28px;
  }

  .contact-qr-col {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 14px;
  }

  .c-info-item {
    padding: 8px 4px;
    gap: 12px;
  }

  .contact-ico {
    width: 38px;
    height: 38px;
  }

  .contact-ico svg {
    width: 18px;
    height: 18px;
  }

  .c-val {
    font-size: 15px;
  }
}

/* ── 收取演示（手机）：外壳与广场手机同款同高 ── */
.phone.slim {
  box-shadow: var(--phone-shadow);
}

.ph-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 2px 10px 14px;
}

.ph-title b {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.08em;
}

.ph-title .p-stat {
  margin-left: auto;
  text-align: right;
}

.p-stat b {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: #E75D5D;
}

.p-stat span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink2);
}

/* 高度与广场 .falls(560px) 对齐：560 + 头部差值 ≈ 6 行回应 */
.sig-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 484px;
  overflow: hidden;
}

.sig {
  background: var(--phone-mcard-bg);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
}

.sig.enter {
  animation: sig-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes sig-in {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
  }
}

/* 收取后：卡片染上分类色、头像亮起，不加边框 */
.sig.got {
  background: color-mix(in srgb, var(--c) 16%, var(--phone-mcard-bg));
}

.sig.got .sig-prev {
  color: var(--ink);
}

.sig.got .sig-ava {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent);
}

.sig.pop {
  animation: sig-pop 0.5s cubic-bezier(0.2, 1.5, 0.4, 1);
}

@keyframes sig-pop {
  40% {
    transform: scale(1.04);
  }
}

.sig-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  background: var(--c);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.sig-main {
  min-width: 0;
  flex: 1;
}

.sig-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.sig-chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border-radius: 999px;
  padding: 1px 10px;
  white-space: nowrap;
}

.sig-prev {
  font-size: 13px;
  color: var(--ink2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sig-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink3);
  flex: none;
}

.sig .got-tag {
  display: none;
}

.sig.got .got-tag {
  display: block;
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 10px;
  color: #E75D5D;
  font-weight: 700;
}

.ph-bar {
  display: flex;
  gap: 12px;
  padding: 18px 8px 4px;
}

.ph-ghost {
  flex: 1;
  border: 1px solid var(--btn-ghost-border);
  border-radius: 999px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink2);
}

.ph-cta {
  flex: 1.3;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  height: 50px;
  background: linear-gradient(90deg, #FFBB8A, #E75D5D);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s;
}

.ph-cta:active {
  transform: scale(0.96);
}

/* ── 时间线质感重构（方案一：光量子能量管道 + 标签刻度 + 彩虹交互） ── */
.tl-wrap {
  margin-top: 48px;
  position: relative;
}

.tl-pipeline {
  position: relative;
  width: 100%;
}

/* 能量通道主管道：深浅自适应的半透明立体管道，直通各年份刻度 */
.tl-conduit {
  position: absolute;
  top: 56px;
  left: 3%;
  right: 3%;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 1;
}

/* 管道内不断奔涌向前的能量光束（Traveling Photon Beam） */
.tl-conduit .tl-beam {
  position: absolute;
  top: 0;
  left: -20%;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.4) 30%, #8B5CF6 70%, #FF5C9D 95%, #fff 100%);
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.75)) drop-shadow(0 0 14px rgba(255, 92, 157, 0.5));
  animation: pipeFlow 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pipeFlow {
  0% {
    left: -35%;
    opacity: 0.1;
  }
  20% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 105%;
    opacity: 0;
  }
}

/* 7个里程碑横向等宽排布（方案A：聚光灯晶体悬浮 · 宽度固定绝对稳定，不抖动） */
.tl-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* 常态：7个节点等宽稳定排布，轻盈通透 */
.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  position: relative;
  padding: 14px 10px 20px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: transparent;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.4, 1),
              background 0.28s cubic-bezier(0.2, 0.8, 0.4, 1),
              border-color 0.28s,
              box-shadow 0.28s,
              opacity 0.28s;
  cursor: pointer;
}

/* 整体悬停时：其他未选中的年份轻微降权（保持 75% 清晰度，绝不晃眼抖动） */
.tl-track:hover .tl-step:not(:hover) {
  opacity: 0.65;
}

/* 方案A核心：聚光灯悬浮卡片（不改变任何布局尺寸，卡片温润浮起，背景显露高级底托） */
.tl-step:hover {
  transform: translateY(-8px);
  background: color-mix(in srgb, var(--card) 92%, var(--tc));
  border-color: color-mix(in srgb, var(--tc) 35%, var(--line));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10),
              0 0 20px color-mix(in srgb, var(--tc) 15%, transparent);
  opacity: 1 !important;
  z-index: 10;
}

/* 顶部年份与刻度针 */
.tl-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
}

/* 年份标签样式：胶囊 Badge 徽章质感 */
.tl-yr {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(13px, 1.15vw, 15px);
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
  user-select: none;
  white-space: nowrap;
}

/* 鼠标悬停时：胶囊标签被专属彩虹色点亮，微缩放大 */
.tl-step:hover .tl-yr {
  color: #fff;
  background: var(--tc);
  border-color: var(--tc);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--tc) 45%, transparent);
  transform: scale(1.08);
}

/* 2026 NOW 标签常态带品牌光晕与内嵌徽章 */
.tl-step.now .tl-yr {
  border-color: color-mix(in srgb, var(--tc) 55%, transparent);
  background: color-mix(in srgb, var(--tc) 12%, transparent);
  color: var(--ink);
  box-shadow: 0 0 14px color-mix(in srgb, var(--tc) 25%, transparent);
}

.tl-step.now:hover .tl-yr {
  background: var(--tc);
  color: #fff;
}

.tl-meter .now-badge {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--tc);
  padding: 1px 5px;
  border-radius: 999px;
  box-shadow: 0 0 8px color-mix(in srgb, var(--tc) 55%, transparent);
  flex: none;
}

.tl-step.now:hover .now-badge {
  background: #fff;
  color: var(--tc);
}

/* 能量管道上的咬合刻度针（Pin） */
.tl-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--void);
  border: 2.5px solid color-mix(in srgb, var(--ink) 45%, transparent);
  box-shadow: 0 0 0 3px var(--void);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), border-color 0.25s, background 0.25s, box-shadow 0.25s;
  position: relative;
  z-index: 3;
}

/* Hover 时刻度针被专属彩虹色点亮，平滑放大 */
.tl-step:hover .tl-pin {
  transform: scale(1.4);
  border-color: var(--tc);
  background: var(--tc);
  box-shadow: 0 0 0 4px var(--card), 0 0 14px color-mix(in srgb, var(--tc) 75%, transparent);
}

/* 2026 当前正在前进冲刺的节点刻度针 */
.tl-step.now .tl-pin {
  width: 14px;
  height: 14px;
  background: var(--tc);
  border-color: #fff;
  box-shadow: 0 0 0 4px var(--void), 0 0 16px color-mix(in srgb, var(--tc) 85%, transparent);
  animation: pinSurge 2s ease-in-out infinite;
}

@keyframes pinSurge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px var(--void), 0 0 12px color-mix(in srgb, var(--tc) 65%, transparent);
  }
  50% {
    transform: scale(1.22);
    box-shadow: 0 0 0 4px var(--void), 0 0 22px color-mix(in srgb, var(--tc) 95%, transparent);
  }
}

/* 下方纪实文本：与上方年份及刻度圆圈严格居中对齐 */
.tl-content {
  width: 100%;
  padding: 0 4px;
  text-align: center;
  transition: opacity 0.25s;
}

.tl-content h4 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.4;
  text-align: center;
  margin: 0 auto;
  word-break: break-word;
  transition: color 0.25s;
}

/* Hover 时标题联动该年份专属彩虹色 */
.tl-step:hover .tl-content h4 {
  color: var(--tc);
}

.tl-content p {
  font-size: 12px;
  color: var(--ink2);
  margin: 6px auto 0;
  text-align: center;
  line-height: 1.65;
  word-break: break-word;
  opacity: 0.8;
  transition: opacity 0.25s;
}

.tl-step:hover .tl-content p {
  opacity: 1;
  color: var(--ink);
}

.tl-step.now .tl-content h4 {
  color: var(--ink);
  font-weight: 800;
}

/* 屏幕较窄的平板 (769px ~ 1024px) 保持一屏，微调节距 */
@media (max-width: 1024px) and (min-width: 769px) {
  .tl-track {
    gap: 8px;
  }
  .tl-step {
    padding: 10px 4px 14px;
  }
  .tl-yr {
    padding: 4px 8px;
    font-size: 12px;
  }
  .tl-content h4 {
    font-size: 13.5px;
  }
  .tl-content p {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* 移动端 (≤768px)：优化垂直时间流，标题/介绍与年份全部严格左对齐，布局紧凑精致 */
@media (max-width: 768px) {
  .tl-wrap {
    margin-top: 24px;
  }

  .tl-conduit {
    top: 18px;
    bottom: 24px;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
  }

  .tl-conduit .tl-beam {
    top: -20%;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.4) 30%, #8B5CF6 70%, #FF5C9D 95%, #fff 100%);
    animation: pipeFlowV 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  @keyframes pipeFlowV {
    0% {
      top: -30%;
      opacity: 0.1;
    }
    20% {
      opacity: 1;
    }
    85% {
      opacity: 1;
    }
    100% {
      top: 105%;
      opacity: 0;
    }
  }

  .tl-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 42px;
    width: 100%;
    box-sizing: border-box;
  }

  .tl-step {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 6px 12px 10px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    cursor: default;
  }

  .tl-step:hover {
    transform: none;
    box-shadow: none;
  }

  .tl-track:hover .tl-step:not(:hover) {
    opacity: 1;
  }

  .tl-meter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 6px;
    gap: 0;
    width: 100%;
    text-align: left;
  }

  .tl-yr {
    font-size: 13.5px;
    padding: 3px 10px;
    margin-bottom: 0;
  }

  .tl-pin {
    position: absolute;
    left: -32px;
    top: 12px;
    width: 11px;
    height: 11px;
  }

  .tl-content {
    width: 100%;
    padding: 0;
    text-align: left !important;
  }

  .tl-content h4 {
    font-size: 15px;
    text-align: left !important;
    margin: 0 !important;
    display: block;
    width: 100%;
  }

  .tl-content p {
    font-size: 12.5px;
    text-align: left !important;
    margin: 3px 0 0 !important;
    line-height: 1.55;
    display: block;
    width: 100%;
  }
}



/* ── 文章列表 ─────────────────────────── */
.art-list {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.art {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding-left 0.3s;
}

.art:hover {
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  padding-left: 20px;
}

.art .no {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink3);
}

.art h3 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(20px, 3.2vw, 28px);
  letter-spacing: 0.03em;
  line-height: 1.5;
  transition: color 0.2s;
}

.art:hover h3 {
  color: var(--sec, var(--p3));
}

.art p {
  font-size: 13.5px;
  color: var(--ink2);
  margin-top: 4px;
}

.art .tag {
  font-size: 12px;
  color: var(--cat-partner);
  background: rgba(77, 191, 115, 0.12);
  border-radius: 999px;
  padding: 2px 12px;
  white-space: nowrap;
}

.art .tag.mp {
  color: var(--cat-skill);
  background: rgba(242, 166, 51, 0.12);
}

.art.dim {
  opacity: 0.38;
  pointer-events: none;
}

.art-more {
  margin-top: 36px;
}

@media (max-width: 700px) {
  .art {
    grid-template-columns: 26px 1fr;
    gap: 12px;
    padding: 22px 4px;
  }

  .art .no {
    font-size: 13.5px;
    letter-spacing: -0.02em;
  }

  .art h3 {
    font-size: 17.5px;
    line-height: 1.45;
  }

  .art p {
    font-size: 12.5px;
    margin-top: 3px;
  }

  .art .tag {
    display: none;
  }
}

/* ── 帮助与反馈 ───────────────────────── */
.heart-float {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  font-size: 15px;
}

/* ── Footer ───────────────────────────── */
footer {
  text-align: center;
  border-top: 1px solid var(--line);
}

.foot-inner {
  padding: 60px 24px 70px;
}

.foot-links {
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: var(--ink2);
}

.foot-links a {
  display: inline-block;
  transition: color 0.2s, transform 0.15s cubic-bezier(0.2, 0.8, 0.4, 1), opacity 0.15s;
  user-select: none;
}

.foot-links a:hover {
  color: var(--ink);
}

.foot-links a:active {
  transform: scale(0.93) translateY(1px);
  opacity: 0.72;
}

.foot-beian {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink3);
  line-height: 2.2;
}

.foot-beian a {
  transition: color 0.2s, opacity 0.15s;
}

.foot-beian a:hover {
  color: var(--ink2);
}

.foot-beian a:active {
  opacity: 0.6;
}

/* ── 移动端间距与留白自适应优化 ───────── */
@media (max-width: 800px) {
  section {
    padding: 64px 0;
  }

  #explore {
    padding-top: 24px;
  }

  .bgword {
    top: 20px;
    font-size: clamp(64px, 16vw, 120px);
    opacity: 0.8;
  }

  .sec-title {
    font-size: clamp(32px, 7.5vw, 44px);
    margin-bottom: 16px;
  }

  .sec-lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .sq-grid {
    margin-top: 32px;
    gap: 36px;
  }

  /* 手机版「大家在聊的话题」：标签缩小、一排显示两个，紧凑精致 */
  .topics-side {
    max-width: 100%;
    width: 100%;
  }

  .topics-side h3 {
    font-size: 21px;
    margin-bottom: 16px;
    text-align: left;
  }

  .topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
    width: 100%;
  }

  .topic {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    width: 100%;
  }

  .topic .n {
    font-size: 11px;
    margin-left: 4px;
  }

  /* 探索页面移动端：分类卡片与手机框左右居中、边距对称 */
  .ex-grid {
    margin-top: 32px;
    gap: 36px;
    width: 100%;
    box-sizing: border-box;
  }

  .ex-grid > div {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cat-grid-cosmic {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    gap: 10px;
    box-sizing: border-box;
  }

  .phone.slim {
    margin: 0 auto;
    width: min(380px, 100%);
    box-sizing: border-box;
  }

  .tl-wrap {
    margin-top: 36px;
  }

  .art-list {
    margin-top: 36px;
  }

  .contact-box {
    margin-top: 28px;
  }

  .ticker {
    margin: 0 0 48px;
    padding: 16px 0;
  }

  .foot-inner {
    padding: 40px 20px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sig.enter {
    animation: none;
  }

  .ticker-track,
  .fall-col,
  .fx,
  .hero-scroll,
  .topic,
  .ico svg {
    animation: none;
  }

  .reveal .ccard {
    opacity: 1;
    transform: none;
  }

  .ticker {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── 应用商店下载弹窗（小派暗黑毛玻璃风格） ── */
.store-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--modal-overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: storeModalFadeIn 0.2s ease;
  padding: 20px;
  overscroll-behavior: contain;
  -webkit-tap-highlight-color: transparent;
}

.store-modal-overlay.is-closing {
  animation: storeModalFadeOut 0.22s ease forwards;
}

@keyframes storeModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes storeModalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.store-modal {
  width: 100%;
  max-width: 380px;
  max-height: 84vh;
  max-height: 84dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--modal-bg);
  border: 1px solid var(--modal-border);
  border-radius: 24px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.35), 0 0 40px rgba(139, 92, 246, 0.12);
  font-family: inherit;
  animation: storeModalRise 0.25s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes storeModalRise {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 移动端底部抽屉的拖拽把手，桌面居中弹窗不显示 */
.store-modal-grip {
  display: none;
}

.store-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.store-modal-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.store-modal-close {
  appearance: none;
  border: none;
  background: var(--modal-btn-close-bg);
  color: var(--modal-btn-close-ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .store-modal-close:hover {
    background: color-mix(in srgb, var(--ink) 18%, transparent);
    color: var(--ink);
    transform: scale(1.08);
  }
}

.store-modal-close:active {
  background: color-mix(in srgb, var(--ink) 24%, transparent);
  color: var(--ink);
  transform: scale(0.94);
}

.store-modal-list {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  gap: 6px;
}

.store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  appearance: none;
  border: none;
  background: transparent;
  border-radius: 14px;
  padding: 12px 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, transform 0.18s;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .store-row:hover:not(:disabled) {
    background: var(--modal-row-hover);
    transform: translateX(3px);
  }
}

.store-row:active {
  background: var(--modal-row-hover);
}

.store-row--disabled {
  cursor: default;
  opacity: 0.72;
}

.store-row-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}

.store-row-icon--logo {
  background: #fff;
  padding: 7px;
  box-sizing: border-box;
}

.store-row-icon--logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.store-row-icon--bare {
  background: transparent;
}

.store-row-icon--bare svg {
  width: 100%;
  height: 100%;
  display: block;
}

.store-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.store-row-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.store-row-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-row-status {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.store-row-status.is-live {
  color: #fff;
  background: linear-gradient(135deg, #F92E51, #FF736B);
  box-shadow: 0 4px 12px rgba(249, 46, 81, 0.35);
}

.store-row-status.is-soon {
  color: var(--ink3);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.store-modal-note {
  padding: 4px 22px 20px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink3);
}

/* ── iOS / 即将上线 Toast 提示气泡 ── */
.app-toast-wrap {
  position: fixed;
  top: calc(32px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
  width: max-content;
  max-width: min(420px, calc(100vw - 32px));
  animation: toastPop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}

.app-toast-wrap.is-out {
  animation: toastFadeOut 0.3s ease forwards;
}

.app-toast {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--toast-bg);
  border: 1px solid var(--toast-border);
  border-radius: 999px;
  box-shadow: var(--toast-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--toast-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: left;
}

.app-toast-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF736B;
}

.app-toast-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes toastPop {
  from { opacity: 0; transform: translate(-50%, -20px) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to { opacity: 0; transform: translate(-50%, -15px) scale(0.94); }
}

/* ── 弹窗 / Toast 的移动端适配 ──────────────────────────────
   手机上把居中弹窗改成贴底抽屉（拇指够得到、带把手可下滑关闭），
   Toast 挪到底部避开刘海与固定导航，两者都吃安全区。
   ≤600px 走抽屉形态，平板及以上仍是居中卡片。 */
@media (max-width: 600px) {
  .store-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .store-modal {
    max-width: none;
    max-height: 88vh;
    max-height: 88dvh;
    background: var(--modal-bg);
    border-color: var(--modal-border);
    border-radius: 22px 22px 0 0;
    border-width: 1px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    animation: storeSheetUp 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
    /* 拖拽关闭时由 JS 接管 transform，这里只给松手回弹用 */
    will-change: transform;
    /* 抽屉外壳不滚动，改由列表内滚：把手/标题/说明常驻，视口再矮也不会把关闭按钮滚出去 */
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .store-modal-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .store-modal-overlay.is-closing .store-modal {
    animation: storeSheetDown 0.22s ease forwards;
  }

  /* 手指已经把抽屉拖走一段时，位置由 JS 的 inline transform 接管，不能再播 keyframes */
  .store-modal-overlay.is-closing .store-modal.is-dragging-out {
    animation: none;
  }

  .store-modal-grip {
    display: block;
    width: 38px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ink) 20%, transparent);
  }

  .store-modal-header {
    padding: 14px 20px 14px;
  }

  .store-modal-title {
    font-size: 16px;
  }

  .store-modal-close {
    width: 36px;
    height: 36px;
  }

  .store-modal-list {
    padding: 10px 12px 12px;
    gap: 4px;
  }

  .store-row {
    min-height: 60px;
    padding: 12px 10px;
    gap: 12px;
  }

  .store-row-icon {
    width: 40px;
    height: 40px;
  }

  .store-row-name {
    font-size: 15px;
  }

  .store-row-status {
    font-size: 12px;
    padding: 6px 12px;
  }

  .store-modal-note {
    padding: 4px 20px 18px;
  }

  /* 顶部有固定导航、还有刘海，Toast 改从底部浮起 */
  .app-toast-wrap {
    top: auto;
    bottom: calc(24px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 28px);
    animation-name: toastPopUp;
  }

  .app-toast-wrap.is-out {
    animation-name: toastFadeDown;
  }

  .app-toast {
    display: flex;
    padding: 13px 18px;
    gap: 10px;
    border-radius: 18px;
    font-size: 14.5px;
  }
}

/* 横屏矮视口：抽屉别顶满，留出退出的余地 */
@media (max-width: 600px) and (max-height: 480px) {
  .store-modal {
    max-height: 92vh;
    max-height: 92dvh;
  }

  .store-row {
    min-height: 52px;
    padding: 9px 10px;
  }

  .store-row-icon {
    width: 34px;
    height: 34px;
  }
}

@keyframes storeSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes storeSheetDown {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}

@keyframes toastPopUp {
  from { opacity: 0; transform: translate(-50%, 20px) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes toastFadeDown {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to { opacity: 0; transform: translate(-50%, 15px) scale(0.94); }
}

/* 弹窗打开期间锁住背景滚动（iOS Safari 只认 position:fixed 这一招） */
body.modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {

  .store-modal-overlay,
  .store-modal-overlay.is-closing,
  .store-modal,
  .store-modal-overlay.is-closing .store-modal,
  .app-toast-wrap,
  .app-toast-wrap.is-out {
    animation-duration: 0.01s;
  }

  .store-row:hover:not(:disabled) {
    transform: none;
  }
}
