/* ===== Design Tokens ===== */
:root {
  --navy-950: #0a1628;
  --navy-900: #0f2137;
  --navy-800: #162d4a;
  --navy-700: #1e3a5f;
  --navy-600: #2a5080;
  --teal-400: #5ec4c4;
  --teal-300: #7dd9d9;
  --teal-glow: rgba(94, 196, 196, 0.35);
  --gold-400: #d4a853;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e8eef4;
  --border: rgba(15, 33, 55, 0.08);
  --border-strong: rgba(15, 33, 55, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.14);
  --shadow-glow: 0 0 40px var(--teal-glow);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Ambient Background ===== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal-400) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: drift 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: 20%; left: -100px;
  animation: drift 25s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-400) 0%, transparent 70%);
  top: 50%; right: 30%;
  opacity: 0.25;
  animation: drift 18s ease-in-out infinite 5s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-glow {
  background: linear-gradient(135deg, var(--teal-400) 0%, #3aafaf 100%);
  color: var(--navy-950);
  box-shadow: 0 4px 20px var(--teal-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}
.btn-full { width: 100%; }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.header.scrolled::before {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header.hero-mode::before {
  background: rgba(10, 22, 40, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.header.hero-mode .nav-logo,
.header.hero-mode .nav-links a { color: rgba(255,255,255,0.85); }
.header.hero-mode .nav-links a:hover,
.header.hero-mode .nav-links a.active { color: #fff; }
.header.hero-mode .nav-links a::after { background: var(--teal-400); }
.header.hero-mode .nav-toggle span { background: #fff; }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  margin-right: auto;
}
.logo-img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94,196,196,0.4);
  box-shadow: 0 0 0 3px rgba(94,196,196,0.12);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0; height: 2px;
  background: var(--teal-400);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy-900); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ===== 导航下拉菜单（桌面端） ===== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: none;
  transition: color 0.25s;
}
.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.5;
  transition: opacity 0.25s, transform 0.25s;
}
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--navy-900); }
.nav-dropdown:hover .nav-dropdown-toggle::after { opacity: 1; transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 140px;
  padding: 8px 0;
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s var(--ease);
  z-index: 100;
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu li { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover {
  background: var(--surface-2);
  color: var(--navy-900);
}
/* 深色主题桌面下拉 */
.site-runner .nav-dropdown-toggle { color: rgba(255,255,255,0.85); }
.site-runner .nav-dropdown:hover .nav-dropdown-toggle { color: #fff; }
.site-runner .nav-dropdown-menu {
  background: #1a1030;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.site-runner .nav-dropdown-menu a { color: rgba(255,255,255,0.75); }
.site-runner .nav-dropdown-menu a:hover {
  background: rgba(249,115,22,0.12);
  color: #fff;
}
.header.hero-mode .nav-dropdown-toggle { color: rgba(255,255,255,0.85); }
.header.hero-mode .nav-dropdown:hover .nav-dropdown-toggle { color: #fff; }
.header.hero-mode .nav-dropdown-menu {
  background: rgba(10,22,40,0.97);
  border-color: rgba(255,255,255,0.1);
}
.header.hero-mode .nav-dropdown-menu a { color: rgba(255,255,255,0.75); }
.header.hero-mode .nav-dropdown-menu a:hover {
  background: rgba(94,196,196,0.15);
  color: #fff;
}

.nav-cta {
  margin-left: 24px;
  padding: 9px 20px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.header.hero-mode .nav-cta {
  background: var(--teal-400);
  color: var(--navy-950);
}
.header.hero-mode .nav-cta:hover {
  background: var(--teal-300);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: 12px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 45%, #1a4a5a 100%);
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94,196,196,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,196,196,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: rgba(94,196,196,0.12);
  border: 1px solid rgba(94,196,196,0.25);
  border-radius: 50px;
  color: var(--teal-300);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.tag-dot {
  width: 8px; height: 8px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--teal-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-300) 0%, var(--teal-400) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.trust-item.trust-highlight strong {
  font-size: 15px;
  color: var(--teal-300);
}
.trust-num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  margin-right: 1px;
  background: linear-gradient(135deg, var(--teal-300), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  margin: 0 20px;
  flex-shrink: 0;
  margin-left: 12px;
  margin-right: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 520px;
  height: 520px;
  margin: 0 auto;
}
.hero-visual-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 340px; height: 340px;
  border: 1px solid rgba(94,196,196,0.2);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.hero-visual-ring.ring-2 {
  width: 420px; height: 420px;
  border-style: dashed;
  border-color: rgba(94,196,196,0.1);
  animation: spin 45s linear infinite reverse;
}
.hero-visual-ring.ring-3 {
  width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,0.04);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 整圈顺时针缓慢公转；仅 transform，走合成层，不影响加载 */
  animation: spin 48s linear infinite;
}
/* 悬停任一技能点：整圈暂停，移开后继续 */
.chip-orbit:has(.float-chip:hover) {
  animation-play-state: paused;
}
.chip-orbit:has(.float-chip:hover) .float-chip-inner {
  animation-play-state: paused;
}
.chip-orbit .float-chip {
  --angle: calc(var(--i) * 30deg);
  --radius: 228px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  padding: 0;
  background: none;
  border: none;
  backdrop-filter: none;
  pointer-events: auto;
  cursor: default;
  transition: transform 0.3s ease;
  transform:
    translate3d(-50%, -50%, 0)
    rotate(var(--angle))
    translate3d(0, calc(-1 * var(--radius)), 0)
    rotate(calc(-1 * var(--angle)));
}
.chip-orbit .float-chip:hover {
  z-index: 6;
  transform:
    translate3d(-50%, -50%, 0)
    rotate(var(--angle))
    translate3d(0, calc(-1 * var(--radius)), 0)
    rotate(calc(-1 * var(--angle)))
    scale(1.28);
}
.float-chip-inner {
  display: inline-block;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* 与轨道等速反向，文字始终正向可读 */
  animation: spin 48s linear infinite reverse;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.chip-orbit .float-chip:hover .float-chip-inner {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 10px 32px rgba(0,0,0,0.4);
}

.float-chip.chip-teal .float-chip-inner {
  background: rgba(94,196,196,0.15);
  border-color: rgba(94,196,196,0.3);
  color: var(--teal-300);
}
.float-chip.chip-gold .float-chip-inner {
  background: rgba(212,168,83,0.15);
  border-color: rgba(212,168,83,0.3);
  color: #f0d090;
}

.hero-avatar-wrap {
  position: relative;
  z-index: 2;
  width: 240px; height: 240px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.4);
  border: 3px solid rgba(94,196,196,0.4);
  animation: avatarFloat 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-avatar {
  width: 100%; height: 100%;
  object-fit: cover;
}
@keyframes avatarFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .chip-orbit,
  .float-chip-inner,
  .hero-avatar-wrap,
  .hero-visual-ring {
    animation: none !important;
  }
}

/* 移动端标签条 */
.hero-tags-mobile {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.hero-tags-mobile span {
  padding: 5px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 2px;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(94,196,196,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== Sections ===== */
.section {
  padding: 110px 0;
  position: relative;
}
.section-dark {
  background: var(--navy-900);
  color: #fff;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,0.5); }
.section-dark .section-label { color: var(--teal-400); border-color: rgba(94,196,196,0.25); }

/* ===== Why Me ===== */
.section-why-me {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
}
.section-why-me .section-header h2 { color: #fff; }
.section-why-me .section-header p { color: rgba(255,255,255,0.55); }
.section-why-me .section-label {
  color: var(--teal-400);
  border-color: rgba(94,196,196,0.25);
}

.why-me-top {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 48px;
}

.why-me-profile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94,196,196,0.45);
  box-shadow: 0 0 24px rgba(94,196,196,0.2);
  flex-shrink: 0;
}
.profile-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.profile-role {
  font-size: 13px;
  color: var(--teal-300);
  font-weight: 500;
}
.profile-bio {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 24px;
  flex: 1;
}
.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.stat-item {
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-item strong small {
  font-size: 14px;
  font-weight: 700;
}
.stat-item span {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
.stat-highlight {
  background: rgba(94,196,196,0.1);
  border-color: rgba(94,196,196,0.25);
}
.stat-highlight strong {
  background: linear-gradient(135deg, var(--teal-300), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 26px;
}
.profile-xianyu {
  display: block;
  text-align: center;
  padding: 12px;
  background: rgba(94,196,196,0.12);
  border: 1px solid rgba(94,196,196,0.25);
  border-radius: var(--radius-sm);
  color: var(--teal-300);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.profile-xianyu:hover {
  background: rgba(94,196,196,0.2);
  transform: translateY(-1px);
}

.why-me-reviews {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.reviews-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.reviews-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.reviews-badge {
  flex-shrink: 0;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ff6b35, #ff4757);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,71,87,0.35);
  letter-spacing: 0.5px;
}
.reviews-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(94,196,196,0.3) transparent;
}
.reviews-track::-webkit-scrollbar { height: 4px; }
.reviews-track::-webkit-scrollbar-thumb {
  background: rgba(94,196,196,0.35);
  border-radius: 2px;
}
.review-shot {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  line-height: 0;
}
.review-shot:hover {
  transform: translateY(-8px) scale(1.12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 24px rgba(94,196,196,0.35);
  z-index: 5;
}
.review-shot img {
  width: 200px;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
}
.reviews-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 8px;
}

.why-me-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.point-card {
  padding: 24px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease);
}
.point-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(94,196,196,0.2);
  transform: translateY(-3px);
}
.point-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(94,196,196,0.12);
  border-radius: 10px;
  margin-bottom: 14px;
}
.point-icon svg {
  width: 20px; height: 20px;
  stroke: var(--teal-300);
}
.point-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.point-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 10, 20, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: min(90vw, 420px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-close {
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 32px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--navy-600));
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
}
.service-icon-wrap svg {
  width: 24px; height: 24px;
  stroke: var(--navy-700);
}
.service-icon-wrap.accent {
  background: linear-gradient(135deg, rgba(94,196,196,0.15), rgba(94,196,196,0.05));
}
.service-icon-wrap.accent svg { stroke: #2a9d9d; }
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--teal-400), #3aafaf);
}
.service-card:hover .service-icon-wrap svg { stroke: var(--navy-950); }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ===== Projects ===== */
.section-projects {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px 24px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(94,196,196,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(94,196,196,0.4);
  border-color: var(--teal-400);
}
.project-card:hover::after { opacity: 1; }
.project-featured {
  border-color: rgba(94,196,196,0.25);
  background: linear-gradient(160deg, rgba(94,196,196,0.06) 0%, var(--surface) 50%);
}
.project-featured::before {
  content: "热门";
  position: absolute;
  top: 16px; right: 16px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--teal-400), #3aafaf);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
}
.project-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-600);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.project-featured .project-badge {
  background: rgba(94,196,196,0.12);
  color: #2a9d9d;
}
.project-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.project-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 18px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.project-tags li {
  padding: 3px 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.projects-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
}
.projects-note a {
  color: var(--teal-400);
  font-weight: 600;
  filter: brightness(0.85);
}
.projects-note a:hover { text-decoration: underline; }

/* ===== Contact ===== */
.section-contact {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow-x: hidden;
  padding-bottom: 100px;
  color: #fff;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(94,196,196,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-intro {
  text-align: center;
  margin-bottom: 48px;
}
.contact-intro .section-label {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.contact-intro h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact-intro p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
}
.contact-intro .section-label {
  border-color: rgba(94,196,196,0.25);
}

.contact-channels {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  color: #fff;
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94,196,196,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,196,196,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.channel-card:hover::before { opacity: 1; }
.channel-main {
  background: linear-gradient(135deg, var(--navy-800) 0%, #1a4a5a 100%);
  border-color: rgba(94,196,196,0.25);
}
.channel-main:hover {
  box-shadow: 0 16px 48px rgba(94,196,196,0.15);
}
.channel-wechat {
  background: linear-gradient(135deg, rgba(7,193,96,0.12) 0%, rgba(255,255,255,0.04) 100%);
  border-color: rgba(7,193,96,0.25);
  padding: 20px 22px;
}
.channel-wechat:hover {
  border-color: rgba(7,193,96,0.4);
  box-shadow: 0 12px 40px rgba(7,193,96,0.12);
}
.channel-badge-wechat {
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: #fff;
  box-shadow: 0 4px 16px rgba(7,193,96,0.35);
}
.channel-icon-wechat {
  background: rgba(7,193,96,0.15) !important;
}
.channel-icon-wechat svg {
  width: 24px; height: 24px;
  fill: #07c160;
  stroke: none;
}
.wechat-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.wechat-info {
  flex: 1;
  min-width: 0;
}
.wechat-qr-btn {
  flex-shrink: 0;
  border: none;
  padding: 6px;
  background: #fff;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  line-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wechat-qr-btn img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
.wechat-qr-btn span {
  font-size: 10px;
  color: rgba(0,0,0,0.45);
  line-height: 1;
}
.wechat-qr-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.lightbox-img.lightbox-qr {
  max-width: min(88vw, 320px);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}
.channel-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--teal-400), #3aafaf);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 800;
  border-radius: 50px;
}
.channel-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
}
.channel-icon svg {
  width: 24px; height: 24px;
  stroke: var(--teal-300);
}
.channel-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
}
.channel-id {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-300);
  margin-bottom: 6px;
  position: relative;
}
.channel-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  flex: 1;
  position: relative;
}
.channel-go {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-300);
  position: relative;
}
.channel-copy {
  align-self: flex-start;
  margin-top: 14px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
  position: relative;
}
.channel-copy:hover {
  background: rgba(94,196,196,0.15);
  border-color: rgba(94,196,196,0.3);
  color: var(--teal-300);
}

.contact-compose {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.compose-header {
  margin-bottom: 28px;
}
.compose-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.compose-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}
.compose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group-full {
  grid-column: 1 / -1;
}
.contact-compose .form-group {
  margin-bottom: 0;
}
.contact-compose .form-group label {
  color: rgba(255,255,255,0.75);
}
.contact-compose .form-group input,
.contact-compose .form-group textarea,
.contact-compose .form-group select {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.contact-compose .form-group input:focus,
.contact-compose .form-group textarea:focus,
.contact-compose .form-group select:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(94,196,196,0.12);
}
.contact-compose .form-group input::placeholder,
.contact-compose .form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.compose-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.compose-actions .btn {
  flex: 1;
  min-width: 180px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.25s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(94,196,196,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* ===== Footer ===== */
.footer {
  background: var(--navy-950);
  padding: 20px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94,196,196,0.3);
}
.footer-brand strong {
  display: block;
  font-size: 13px;
  color: #fff;
}
.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-meta {
  text-align: right;
}
.footer-meta p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}
.footer-meta a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-meta a:hover {
  color: rgba(255,255,255,0.6);
}

/* ===== 友情链接 ===== */
.footer-friends {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  font-size: 12px;
}
.footer-friends-label {
  color: rgba(255,255,255,0.62);
}
.footer-friends a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-friends a:hover {
  color: var(--teal-300);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy-900);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 9999;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { transition-delay: 0.15s; }

/* ===== Mobile Nav CTA ===== */
.nav-mobile-cta { display: none; }

/* ===== Sub-page: Fixed header offset ===== */
/* 72px 避开固定导航，32px 内容间距（与首页 hero 顶距一致） */
.subpage .section:first-of-type {
  padding-top: calc(32px + 72px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; gap: 10px; }
  .hero-actions .btn { font-size: 14px; padding: 12px 20px; }
  .hero-trust { justify-content: center; }
  .hero-visual { width: 460px; height: 460px; }
  .chip-orbit .float-chip { --radius: 200px; }
  .float-chip-inner { font-size: 10px; padding: 6px 12px; }
  .hero-avatar-wrap { width: 200px; height: 200px; }
  .hero-scroll { display: none; }
  .why-me-top { grid-template-columns: 1fr; }
  .why-me-points { grid-template-columns: repeat(2, 1fr); }
  .contact-channels { grid-template-columns: 1fr 1fr; }
  .channel-main { grid-column: 1 / -1; }
  .channel-wechat { grid-column: 1 / -1; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav { height: 56px; }
  main { padding-top: 56px; padding-bottom: 72px; }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    padding: 16px 28px 24px;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
  }
  /* ── 深色主题统一深底 ── */
  .site-runner .nav-links {
    background: #160f28;
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  }
  .site-runner .nav-links li {
    border-bottom-color: rgba(255,255,255,0.08);
  }
  .header.hero-mode .nav-links {
    background: rgba(10,22,40,0.97);
  }
  .site-runner .header.hero-mode .nav-links {
    background: rgba(10,22,40,0.97);
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    color: #160f28;
    font-weight: 500;
  }
  .nav-links a:hover { color: #f97316; }
  /* 移动端隐藏桌面端下划线，避免与图标冲突（覆盖 theme 更高优先级） */
  .nav-links a::after,
  .site-runner .nav-links a::after,
  .header.hero-mode .nav-links a::after {
    display: none;
    width: 0;
  }
  /* ── 深色主题：浅色文字 ── */
  .site-runner .header .nav-links a { color: rgba(255,255,255,0.78); }
  .site-runner .header .nav-links a:hover { color: #ffffff; }
  /* ── hero-mode 同样浅色文字 ── */
  .header.hero-mode .nav-links a { color: rgba(255,255,255,0.85); }
  .header.hero-mode .nav-links a:hover { color: #ffffff; }
  .site-runner .header.hero-mode .nav-links a { color: rgba(255,255,255,0.85); }
  .site-runner .header.hero-mode .nav-links a:hover { color: #ffffff; }

  /* ── 当前页菜单高亮（橙色文字 + 背景条 + 右侧圆点） ── */
  .nav-links > li > a.active,
  .nav-dropdown-menu a.active,
  .site-runner .header .nav-links > li > a.active,
  .site-runner .header .nav-links .nav-dropdown-menu a.active,
  .header.hero-mode .nav-links > li > a.active,
  .site-runner .header.hero-mode .nav-links > li > a.active {
    color: #f97316;
    font-weight: 700;
    background: rgba(249, 115, 22, 0.14);
    border-radius: 8px;
    box-shadow: inset 3px 0 0 #f97316;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
  }
  .nav-links > li > a.active::after,
  .nav-dropdown-menu a.active::after,
  .site-runner .header .nav-links > li > a.active::after,
  .site-runner .header .nav-links .nav-dropdown-menu a.active::after {
    content: "";
    display: block;
    position: static;
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-radius: 50%;
    background: #f97316;
    transform: none;
    bottom: auto;
    left: auto;
  }
  .nav-dropdown.has-active > .nav-dropdown-toggle,
  .site-runner .header .nav-dropdown.has-active > .nav-dropdown-toggle {
    color: #f97316;
    font-weight: 700;
  }

  /* ── 移动端菜单图标（SVG mask，跟随文字色，零网络请求） ── */
  .nav-links > li > a::before,
  .nav-dropdown-toggle::before,
  .nav-dropdown-menu a::before,
  .nav-mobile-cta a::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: currentColor;
    opacity: 0.72;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }
  .nav-links > li > a[href="index.html"]::before,
  .nav-links > li > a[href="/"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5L12 4l8 6.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1v-9.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5L12 4l8 6.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1v-9.5z'/%3E%3C/svg%3E");
  }
  .nav-links > li > a[href="services.html"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6l-5 6 5 6M16 6l5 6-5 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6l-5 6 5 6M16 6l5 6-5 6'/%3E%3C/svg%3E");
  }
  .nav-links > li > a[href="projects.html"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  }
  .nav-links > li > a[href="about.html"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3h3l1.5 4.5-2 1.5a12 12 0 0 0 6 6l1.5-2L21 14.5v3a2 2 0 0 1-2.2 2A16 16 0 0 1 3.5 5.2 2 2 0 0 1 5.5 3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3h3l1.5 4.5-2 1.5a12 12 0 0 0 6 6l1.5-2L21 14.5v3a2 2 0 0 1-2.2 2A16 16 0 0 1 3.5 5.2 2 2 0 0 1 5.5 3z'/%3E%3C/svg%3E");
  }
  .nav-links > li > a[href="submit.html"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
  }
  .nav-dropdown-toggle::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.6 5.4L3 18l3 3 6.3-6.1a4 4 0 0 0 5.4-5.6l-2.5 2.5-3-3 2.5-2.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.6 5.4L3 18l3 3 6.3-6.1a4 4 0 0 0 5.4-5.6l-2.5 2.5-3-3 2.5-2.5z'/%3E%3C/svg%3E");
  }
  .nav-dropdown-menu a[href*="md2word"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8M8 17h5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8M8 17h5'/%3E%3C/svg%3E");
  }
  .nav-dropdown-menu a[href*="mermaid"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Ccircle cx='12' cy='18' r='2.5'/%3E%3Cpath d='M8.2 7.5l5.6 8M15.8 7.5l-5.6 8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Ccircle cx='12' cy='18' r='2.5'/%3E%3Cpath d='M8.2 7.5l5.6 8M15.8 7.5l-5.6 8'/%3E%3C/svg%3E");
  }
  .nav-mobile-cta a::before {
    opacity: 1;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4V5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4V5z'/%3E%3C/svg%3E");
  }
  .nav-links > li > a.active::before,
  .nav-links > li > a:hover::before,
  .nav-dropdown-menu a.active::before {
    opacity: 1;
  }
  .nav-dropdown-menu a.active {
    opacity: 1;
  }

  /* ── 移动端下拉子菜单 ── */
  .nav-dropdown-menu { display: none; }
  .nav-dropdown.open > .nav-dropdown-menu { display: block; }
  .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: #160f28;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .nav-dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 0; height: 0;
    margin-left: auto;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.25s;
    opacity: 0.5;
  }
  .nav-dropdown.open > .nav-dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .site-runner .header .nav-dropdown-toggle { color: rgba(255,255,255,0.78); }
  .header.hero-mode .nav-dropdown-toggle { color: rgba(255,255,255,0.85); }
  .nav-dropdown-menu {
    padding: 0 0 0 28px;
    list-style: none;
  }
  .nav-dropdown-menu li { border-bottom: none !important; }
  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 400;
    color: inherit;
    opacity: 0.85;
  }

  .nav-mobile-cta {
    display: flex !important;
    align-items: stretch;
    gap: 10px;
    margin: 12px 0 4px;
    border-bottom: none !important;
  }
  .nav-mobile-cta a {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 14px 8px !important;
    margin: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff !important;
    border: none;
  }
  .header.hero-mode .nav-mobile-cta a {
    background: var(--teal-400);
    color: var(--navy-950) !important;
  }
  .nav-mobile-close {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .nav-mobile-close:hover,
  .nav-mobile-close:active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
  }
  .nav-mobile-close::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-color: currentColor;
    opacity: 0.9;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .trust-divider { display: none; }
  .chip-orbit { display: none; }
  .hero-visual {
    width: 168px;
    height: 168px;
    max-width: 100%;
    margin: 0 auto;
    justify-self: center;
  }
  .hero-visual-ring { display: none; }
  .hero-avatar-wrap { width: 168px; height: 168px; margin: 0 auto; }
  .hero-tags-mobile { display: flex; justify-content: center; }
  .hero-tag {
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-actions {
    width: 100%;
    justify-content: center;
  }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .why-me-points { grid-template-columns: 1fr; }
  .review-shot { flex: 0 0 160px; }
  .review-shot img { width: 160px; }
  .wechat-inner { flex-direction: column; text-align: center; }
  .wechat-qr-btn img { width: 140px; height: 140px; }
  .compose-grid { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .compose-actions { flex-direction: column; }
  .compose-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-brand { justify-content: center; }
  .footer-meta { text-align: center; }
  .footer { padding-bottom: 88px; }
  .section { padding: 80px 0; }
  /* main 已有 56px 顶距避开固定导航，此处只保留内容间距，避免与导航偏移叠算 */
  .subpage .section:first-of-type {
    padding-top: 20px;
  }
  /* 窄屏隐藏闲鱼咨询，PC 网页保持入口 */
  a[href*="goofish.com"],
  a[href*="m.tb.cn"],
  .nav-mobile-cta > a[href*="goofish.com"],
  .hero-actions a[href*="goofish.com"],
  .profile-xianyu {
    display: none !important;
  }
}

/* 手机 UA（含横屏）同样隐藏闲鱼咨询 */
html.hide-xianyu a[href*="goofish.com"],
html.hide-xianyu a[href*="m.tb.cn"],
html.hide-xianyu .nav-mobile-cta > a[href*="goofish.com"],
html.hide-xianyu .hero-actions a[href*="goofish.com"],
html.hide-xianyu .profile-xianyu {
  display: none !important;
}

/* ══════ 页面加载进度条（纯 CSS，所有页面生效） ══════ */
#page-loader {
  position: fixed;
  top: 0; left: 0; z-index: 99999;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal-400, #5ec4c4), #f59e0b, var(--teal-400, #5ec4c4));
  background-size: 200% 100%;
  animation: loaderSlide 1.4s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.5s;
}
#page-loader.done {
  opacity: 0;
}
@keyframes loaderSlide {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ══════ 网络信号格（5 根竖条 + 扫频动画） ══════ */
.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
  position: relative;
  margin-right: 10px;
  flex-shrink: 0;
}
.signal-bar {
  width: 3px;
  border-radius: 2px;
  background: rgba(0,0,0,0.12);
  transition: background 0.5s, box-shadow 0.5s;
  transition: background 0.5s, box-shadow 0.5s;
}
.signal-bar:nth-child(1) { height: 30%; }
.signal-bar:nth-child(2) { height: 45%; }
.signal-bar:nth-child(3) { height: 60%; }
.signal-bar:nth-child(4) { height: 78%; }
.signal-bar:nth-child(5) { height: 100%; }
.signal-bar.on {
  background: linear-gradient(180deg, #34d399, #10b981);
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
}
.signal-scan-line {
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(52,211,153,0.9), transparent);
  animation: signalScan 2.2s ease-in-out infinite;
  border-radius: 2px;
  pointer-events: none;
}
.signal-bars.offline .signal-bar.on { background: rgba(255,255,255,0.15); box-shadow: none; }
.signal-bars.offline .signal-scan-line { animation-play-state: paused; opacity: 0.3; }
@keyframes signalScan {
  0%   { left: -3px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (max-width: 1024px) {
  .signal-bars { height: 14px; gap: 1.5px; margin-right: 6px; }
  .signal-bar { width: 2.5px; border-radius: 1.5px; }
}

/* ══════ 信号格详情面板 ══════ */
.signal-panel {
  position: fixed;
  z-index: 9999;
  min-width: 180px;
  background: rgba(22,15,40,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 14px;
  padding: 18px 20px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  color: #fff;
  font-size: 13px;
  animation: panelIn 0.2s ease-out;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.signal-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #34d399;
  margin-bottom: 12px;
}
.signal-panel-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.signal-panel-close:hover { color: #fff; }
.signal-panel table { width: 100%; border-collapse: collapse; }
.signal-panel td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.signal-panel td:first-child { color: rgba(255,255,255,0.5); width: 70px; }
.signal-panel td:last-child { font-weight: 600; text-align: right; }
.signal-panel-hint {
  margin-top: 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}
.signal-bars { cursor: pointer; }

/* ===== 移动端底部悬浮咨询条 ===== */
.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 10050;
  display: -webkit-flex;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #1a1028;
  border-top: 1px solid rgba(255,255,255,0.14);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
@media (min-width: 769px) {
  .floating-cta { display: none; }
}
.float-btn {
  -webkit-appearance: none;
  appearance: none;
  -webkit-flex: 1;
  flex: 1;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 4px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.15s, opacity 0.15s;
}
.float-btn:active { transform: scale(0.97); opacity: 0.9; }
.float-call { background: #0d9488; }
.float-wechat { background: #16a34a; }
.float-submit { background: #4f46e5; }

.float-tip {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.float-tip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 微信弹窗（二维码长按识别） ===== */
.wechat-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.wechat-modal.show { display: -webkit-flex; display: flex; }
.wechat-modal-mask {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.65);
}
.wechat-modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 20px;
  width: calc(100vw - 64px);
  max-width: 320px;
  text-align: center;
  animation: modalIn 0.22s ease-out;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.wechat-modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.wechat-modal-close:hover { color: #333; }
.wechat-modal-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1d23;
}
.wechat-modal-qr {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 12px;
  border-radius: 8px;
}
.wechat-modal-id {
  margin: 0 0 16px;
  font-size: 14px;
  color: #5f6775;
}
.wechat-modal-id b { color: #1a1d23; }
.wechat-modal-copy {
  display: block;
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.wechat-modal-copy:active { opacity: 0.9; }
.wechat-modal-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9aa3b2;
}

/* 微信内打开闲鱼小程序 Short Link */
.mp-open-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 10070;
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.mp-open-modal.show { display: -webkit-flex; display: flex; }
.mp-open-mask {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.65);
}
.mp-open-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 20px;
  width: calc(100vw - 48px);
  max-width: 340px;
  text-align: center;
  animation: modalIn 0.22s ease-out;
}
.mp-open-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.mp-open-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #1a1d23;
}
.mp-open-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: #5f6775;
}
.mp-open-link {
  margin: 0 0 12px;
  padding: 12px 10px;
  background: #f3f4f6;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #07c160;
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
}
.mp-open-go {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 13px 0;
  background: #07c160;
  color: #fff !important;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}
.mp-open-copy {
  display: block;
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.mp-open-copy:active { opacity: 0.9; }
.mp-open-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9aa3b2;
  line-height: 1.5;
}

.header.hero-mode .signal-bar { background: rgba(255,255,255,0.18); }
.header.hero-mode .signal-bars.offline .signal-bar.on { background: rgba(255,255,255,0.18); box-shadow: none; }

/* 暂时彻底隐藏 Tawk.to，防止缓存或第三方再次注入 */
iframe[src*="tawk.to"],
iframe[title*="chat"],
#tawkchat-container,
#tawkchat-minified-container,
#tawkchat-minified-wrapper,
.tawk-min-container,
.tawk-flex-vertical,
div[id^="tawk-"],
div[class*="tawk-"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
