/* 接力豆 (jielidou.xyz) Design System
   Editorial minimalist infrastructure + Xiaodou sky-blue tactile AI craft
   Palette locked to pure monochrome + Xiaodou Sky Blue (#3B82F6) */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-alt: #fafafa;
  --ink: #111111;
  --ink-strong: #000000;
  --muted: #666666;
  --subtle: #999999;
  --border: #e7e9ee;
  --border-strong: #d4d8e0;

  /* Single locked brand accent: Xiaodou Sky Blue */
  --accent: #3b82f6;
  --accent-dark: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-border: #bfdbfe;
  --live: #22c55e;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --danger: #dc2626;
  --danger-soft: #fef2f2;

  /* Shape consistency lock */
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  /* Tinted delicate shadows */
  --shadow-sm: 0 4px 16px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 12px 36px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 64px rgba(17, 24, 39, 0.12);

  --font-sans: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1280px;
  --nav-h: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Floating Sticky Header (with Dark-Section Auto-Inversion) ────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  pointer-events: none;
}

.header-inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  padding: 6px 12px 6px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(17, 17, 17, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 9px;
}

.brand-divider {
  width: 1px;
  height: 14px;
  background: rgba(17, 17, 17, 0.16);
  transition: background 0.3s ease;
}

.brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.site-header.is-dark .brand-domain {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(147, 197, 253, 0.35);
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--ink);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: rgba(243, 244, 246, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.nav-pill a {
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3f434a;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-pill a:hover,
.nav-pill a.active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.nav-auth-btn:hover {
  background: #222222;
  box-shadow: var(--shadow-sm);
}

.nav-auth-btn:active {
  transform: scale(0.97);
}

.nav-auth-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav-user-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: center;
}

/* Header Auto-Inversion over Dark Section */
.site-header.is-dark .brand-group {
  background: rgba(24, 26, 30, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header.is-dark .brand-divider {
  background: rgba(255, 255, 255, 0.2);
}

.site-header.is-dark .brand-badge {
  background: #ffffff;
  color: #111111;
}

.site-header.is-dark .nav-pill {
  background: rgba(32, 34, 38, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-header.is-dark .nav-pill a {
  color: rgba(255, 255, 255, 0.78);
}

.site-header.is-dark .nav-pill a:hover,
.site-header.is-dark .nav-pill a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header.is-dark .nav-auth-btn {
  background: #ffffff;
  color: #111111;
}

.site-header.is-dark .nav-auth-btn:hover {
  background: #e9ecef;
}

/* ─── Hero Section (Airy Alipay AI Pay Rhythm) ─────────────────────── */
.hero {
  position: relative;
  min-height: min(94dvh, 880px);
  padding: calc(var(--nav-h) + 46px) 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

/* Ultra-subtle ambient sky-blue aura behind the H1 */
.hero::before {
  content: '';
  position: absolute;
  top: 44%;
  left: 50%;
  width: min(980px, 110vw);
  height: 520px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 42% 48% at 34% 48%, rgba(59, 130, 246, 0.11), transparent 72%),
    radial-gradient(ellipse 38% 46% at 66% 52%, rgba(147, 197, 253, 0.14), transparent 70%),
    radial-gradient(ellipse 32% 40% at 50% 40%, rgba(254, 243, 199, 0.18), transparent 68%);
  filter: blur(44px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Signature Rotating Slot-Pill Headline */
.hero-headline {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 16px;
}

.slot-wheel {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.38em;
  min-width: 5.5em;
  padding: 0 4px;
  vertical-align: middle;
}

.slot-item {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.14em 0.56em 0.16em 0.34em;
  border-radius: var(--radius-pill);
  font-size: 0.86em;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease,
              filter 0.55s ease,
              box-shadow 0.55s ease;
  pointer-events: none;
  user-select: none;
}

.slot-icon {
  width: 0.92em;
  height: 0.92em;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slot-icon svg {
  width: 56%;
  height: 56%;
}

.slot-item.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(59, 130, 246, 0.24);
  color: #1e40af;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 3;
}

.slot-item.is-active .slot-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.slot-item.is-prev {
  transform: translate(-50%, calc(-50% - 1.38em)) scale(0.88);
  opacity: 0.2;
  filter: grayscale(1) blur(0.4px);
  color: #6b7280;
  background: transparent;
  z-index: 1;
}

.slot-item.is-next {
  transform: translate(-50%, calc(-50% + 1.38em)) scale(0.88);
  opacity: 0.2;
  filter: grayscale(1) blur(0.4px);
  color: #6b7280;
  background: transparent;
  z-index: 1;
}

.hero-sub {
  margin: 54px auto 0;
  max-width: 740px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 400;
}

section[id],
#relay-card-anchor {
  scroll-margin-top: 86px;
}

.hero-sub strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Primary & Secondary Capsule Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.14s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.14);
}

.btn-primary:hover:not(:disabled) {
  background: #24262b;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.2);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.28);
}

.btn-accent:hover:not(:disabled) {
  background: var(--accent-dark);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface);
  border-color: var(--border-strong);
}

.btn-text {
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  height: 46px;
}

.btn-text:hover {
  color: var(--ink);
}

.btn-white {
  background: #ffffff;
  color: var(--ink);
}

.btn-white:hover:not(:disabled) {
  background: #f1f3f5;
}

.btn-dark-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-dark-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Cute Floating Bean Mascot + Dark Live Status Capsule */
.hero-telemetry {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.bean-mascot {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.24);
  animation: mascotFloat 3.6s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.bean-eye {
  transform-origin: center;
  animation: beanBlink 4.8s ease-in-out infinite;
}

@keyframes beanBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.12); }
}

.live-capsule {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 8px 10px 8px 10px;
  border-radius: var(--radius-pill);
  background: #141518;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-capsule-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: #e5e7eb;
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseRing 2s infinite;
}

.pulse-dot.is-wait {
  background: #fbbf24;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.live-capsule-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-capsule-copy {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.live-capsule-copy:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ─── Section 2: Interactive Guided Relay Stage (50/50 Split) ──────── */
.relay-section {
  padding: 56px 0 112px;
}

.relay-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.relay-guide-col {
  padding-top: 12px;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.section-desc {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 540px;
}

.section-desc strong {
  color: var(--ink);
  font-weight: 600;
}

/* Guided 3-Step Interactive Track */
.guided-steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guided-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  opacity: 0.62;
}

.guided-step.is-active {
  background: var(--surface);
  border-color: var(--border);
  opacity: 1;
}

.guided-step.is-done {
  opacity: 0.85;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
  margin-top: 1px;
}

.guided-step.is-active .step-num {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.guided-step.is-done .step-num {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-border);
}

.step-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.step-body p {
  margin: 5px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* 2-Up Editorial Rule Cards (Alipay Vibe Pay Comparison Pattern) */
.rule-pair {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rule-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.rule-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rule-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.micro-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--ink);
  color: #ffffff;
  letter-spacing: 0.04em;
}

.rule-card p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Right Column: Painterly Art Backdrop + Frosted Glass Interactive Card */
.relay-stage-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.art-stage {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: url('/assets/relay-backdrop.jpg') center / cover no-repeat;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Subtle organic scrim so glass card always maintains AA contrast */
.art-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(16, 42, 34, 0.12));
  pointer-events: none;
}

.glass-workspace {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 44px rgba(17, 36, 28, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (prefers-reduced-transparency: reduce) {
  .glass-workspace {
    background: #ffffff;
  }
}

.stage-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.stage-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stage-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.stage-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-user-meta {
  min-width: 0;
}

.stage-user-meta strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-user-meta small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.stage-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.stage-status-pill.is-emerald {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent-border);
}

.stage-status-pill.is-warn {
  background: var(--warn-soft);
  color: #b45309;
  border-color: #fde68a;
}

/* Workspace States */
.ws-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ws-desc {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.ws-checklist {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ws-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #2f343b;
}

.ws-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.ws-full-btn {
  width: 100%;
  height: 48px;
  font-size: 15px;
}

.ws-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.ws-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  background: var(--warn-soft);
  color: #92400e;
  border: 1px solid #fde68a;
}

.ws-alert.is-error {
  background: var(--danger-soft);
  color: #991b1b;
  border-color: #fecaca;
}

.ws-alert.is-info {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

/* Minimalist Editorial 2-Channel Login UI (SMS OTP + X OAuth) */
.auth-guest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.auth-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #787774;
}

.auth-stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f4f2;
  color: #111111;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}

.auth-stock-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 3px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: #f4f4f2;
  border: 1px solid #eaeae8;
}

.auth-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #787774;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.auth-mode-btn:hover {
  color: #111111;
}

.auth-mode-btn.is-active {
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.auth-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111111;
}

.auth-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #787774;
  line-height: 1.5;
}

.phone-input-group {
  display: flex;
  align-items: center;
  border-radius: 11px;
  border: 1px solid #e2e4e9;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.phone-input-group:focus-within {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.phone-prefix {
  padding: 0 12px 0 14px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: #52525b;
  border-right: 1px solid #ececee;
  user-select: none;
  flex-shrink: 0;
}

.phone-input-group input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  height: 44px;
  padding: 0 12px;
  font-size: 14.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: #111111;
}

.sms-challenge-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.sms-challenge-img-btn {
  flex-shrink: 0;
  padding: 2px 4px;
  border-radius: 11px;
  border: 1px solid #e2e4e9;
  background: #f8f8f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease;
}

.sms-challenge-img-btn:hover {
  border-color: #111111;
}

.sms-challenge-img-btn img {
  display: block;
  height: 38px;
  width: 108px;
  border-radius: 7px;
}

.sms-challenge-row .field-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 11px;
  font-family: var(--font-mono);
}

.email-login-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 18px;
}

.email-otp-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.email-otp-row .field-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
}

.otp-send-btn {
  flex-shrink: 0;
  padding: 0 15px;
  border-radius: 11px;
  border: 1px solid #e2e4e9;
  background: #f8f8f7;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.otp-send-btn:hover:not(:disabled) {
  background: #efeff0;
  border-color: #111111;
}

.otp-send-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-x-facts {
  margin: 18px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fafaf9;
  border: 1px solid #ededeb;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #52525b;
}

.auth-x-facts span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-x-facts strong {
  color: #111111;
  font-weight: 600;
}

.auth-foot-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

/* Assigned Code Box */
.code-vault {
  margin: 18px 0 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: #111317;
  color: #ffffff;
  position: relative;
}

.code-vault-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.code-vault-value {
  margin: 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.code-chars {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.copy-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.copy-code-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.copy-code-btn.is-copied {
  background: var(--accent);
  border-color: var(--accent);
}

.code-vault-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.regen-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.regen-link:disabled {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  cursor: not-allowed;
}

/* Return Form inside Glass Workspace */
.return-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: #767c87;
}

.field-input:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.detect-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  font-size: 12.5px;
  font-weight: 600;
}

.detect-preview code {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ws-footer-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover {
  color: var(--ink);
}

/* Completed Celebration Box */
.completed-card {
  text-align: center;
  padding: 12px 4px;
}

.completed-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.impact-strip {
  margin: 18px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.impact-cell {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(246, 247, 249, 0.9);
  border: 1px solid var(--border);
}

.impact-cell small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.impact-cell strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink);
}

/* Bottom Segmented Glass Progress Dock (Signature Alipay Motif) */
.stage-dock {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.dock-item {
  text-align: center;
  padding: 9px 8px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.dock-item.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
}

.dock-item.is-done {
  color: var(--accent-dark);
}

/* ─── Section 3: Giant Editorial Scale Metrics ─────────────────────── */
.metrics-section {
  padding: 96px 0 112px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.metrics-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.metrics-giant {
  margin: 12px 0 16px;
  font-family: var(--font-sans);
  font-size: clamp(56px, 9vw, 108px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.metrics-giant span {
  color: var(--accent);
}

.metrics-sub {
  margin: 0 auto;
  max-width: 500px;
  font-size: 15px;
  color: var(--muted);
}

.metrics-row {
  margin: 56px auto 0;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric-cell {
  padding: 28px 16px;
  position: relative;
}

.metric-cell + .metric-cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--border);
}

.metric-cell strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.metric-cell span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ─── Section 4: Full-Bleed #000000 Dark Live Inventory Band ───────── */
.dark-pool-section {
  background: #000000;
  color: #ffffff;
  padding: 112px 0;
  position: relative;
}

.dark-pool-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.dark-art-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-art-box img {
  width: min(390px, 100%);
  height: auto;
  display: block;
  border-radius: 24px;
  user-select: none;
}

.dark-title {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #ffffff;
}

.dark-lead {
  margin: 18px 0 0;
  font-size: 16px;
  color: #a1a7b3;
  line-height: 1.75;
  max-width: 540px;
}

.dark-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.dark-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pool-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
}

.pool-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pool-bar-left h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.pool-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.34);
  font-size: 12px;
  font-weight: 600;
}

.pool-bar-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #9ca3af;
}

.pool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pool-card {
  padding: 20px;
  border-radius: 18px;
  background: #101114;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pool-card:hover {
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-2px);
}

.pool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pool-slot {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9ca3af;
}

.pool-donor {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pool-donor small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #7c8492;
}

.pool-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pool-bars {
  display: inline-flex;
  gap: 5px;
}

.pool-bars i {
  display: block;
  width: 22px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.pool-bars i.is-filled {
  background: #60a5fa;
}

.pool-remain {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #93c5fd;
}

.pool-empty {
  grid-column: 1 / -1;
  padding: 44px 24px;
  text-align: center;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: #9ca3af;
}

/* ─── Section 5: Activation Guide & Trust Bento (Light Canvas) ─────── */
.guide-section {
  padding: 112px 0 96px;
}

.guide-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.bento-card.is-tinted {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.bento-card.is-white {
  background: #ffffff;
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }

.bento-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.bento-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.bento-card p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.bento-card.is-tinted .bento-icon-box {
  background: #ffffff;
  border-color: var(--accent-border);
  color: var(--accent-dark);
}

.bento-tip {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #374151;
}

/* ─── Section 6: Minimalist FAQ ────────────────────────────────────── */
.faq-section {
  padding: 40px 0 112px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  list-style: none;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--ink);
  color: #ffffff;
}

.faq-list details p {
  margin: 0;
  padding: 0 0 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
}

/* ─── Section 7: Closing CTA Monolith + Floating White Footer Sheet ── */
.closing-wrap {
  padding: 0 24px 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 45%, #f5f6f8 100%);
}

.closing-cta {
  max-width: var(--container);
  margin: 0 auto 28px;
  padding: 64px 36px;
  border-radius: 32px;
  background: #111215;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  width: 620px;
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.28), transparent 70%);
  pointer-events: none;
}

.closing-cta h2 {
  position: relative;
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.closing-cta p {
  position: relative;
  margin: 14px auto 30px;
  max-width: 520px;
  font-size: 15.5px;
  color: #a1a7b3;
}

.closing-cta .hero-ctas {
  position: relative;
  margin-top: 0;
}

.footer-sheet {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 44px 28px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--subtle);
}

.build-public-bar {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.build-public-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

/* ─── Modal & Toast ────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 19, 23, 0.56);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: #141518;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ─── Subpages: Members & Admin ────────────────────────────────────── */
.subpage-main {
  padding: calc(var(--nav-h) + 48px) 0 96px;
  min-height: 80dvh;
}

.subpage-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.tab-group {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  gap: 4px;
}

.tab-btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn.active {
  background: var(--ink);
  color: #ffffff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box input {
  width: 240px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-size: 13.5px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.member-card {
  position: relative;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.member-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.member-rank {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.member-card h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-card p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-card-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.status-dot-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.status-dot-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot-tag.completed { color: var(--accent-dark); }
.status-dot-tag.completed i { background: var(--accent); }
.status-dot-tag.received { color: #2563eb; }
.status-dot-tag.received i { background: #3b82f6; }
.status-dot-tag.expired { color: #b45309; }
.status-dot-tag.expired i { background: #f59e0b; }

.pagination {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Admin Panels */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.panel-card {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.panel-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.panel-card .sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
}

.toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

table.data-table th,
table.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

table.data-table th {
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

table.data-table tr:last-child td {
  border-bottom: none;
}

.code-chip {
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Real-time Activity Ticker below Hero Telemetry */
.activity-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(680px, 100%);
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.activity-pill-tag {
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.activity-ticker-msg {
  color: #2f343b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-ticker-msg strong {
  color: var(--ink);
  font-weight: 700;
}

.activity-ticker-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--subtle);
  white-space: nowrap;
}

/* Dark 1 -> (2 + 1) Intuitive Relay Diagram Card */
.relay-diagram-card {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, #12141a 0%, #0b0c10 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.rd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rd-chip {
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.32);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.rd-domain {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.rd-source {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rd-source img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.rd-source strong {
  display: block;
  font-size: 15.5px;
  color: #ffffff;
}

.rd-source small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: #9ca3af;
}

.rd-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 12px;
  color: #60a5fa;
  font-style: normal;
}

.rd-arrow i {
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.rd-arrow span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.35), transparent);
}

.rd-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rd-branch {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.rd-branch.is-pool {
  border-color: rgba(59, 130, 246, 0.38);
  background: rgba(59, 130, 246, 0.09);
}

.rd-branch-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 6px;
}

.rd-branch.is-keep .rd-branch-num {
  color: #fcd34d;
}

.rd-branch strong {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
}

.rd-branch p {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #9ca3af;
}

/* Pledge ("传火契约") Modal */
.pledge-card {
  max-width: 520px;
}

.pledge-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pledge-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.pledge-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
}

.pledge-header h3 {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 800;
}

.pledge-list {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: pledge;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pledge-list li {
  counter-increment: pledge;
  position: relative;
  padding: 12px 14px 12px 44px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.pledge-list li::before {
  content: '0' counter(pledge);
  position: absolute;
  left: 12px;
  top: 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.pledge-list strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.pledge-list span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.pledge-agree-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-size: 13px;
  line-height: 1.55;
  color: #1e3a8a;
  cursor: pointer;
}

.pledge-agree-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* Floating Bottom-Left Live Community Event Notification */
.live-pop {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.14);
  animation: popSlideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes popSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-pop-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}

.live-pop-body {
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.45;
}

.live-pop-body strong {
  display: block;
  font-size: 12px;
  color: var(--accent-dark);
}

.live-pop-body span {
  display: block;
  color: var(--ink);
}

.live-pop-close {
  border: none;
  background: transparent;
  color: var(--subtle);
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
  margin-left: 4px;
}

.live-pop-close:hover {
  color: var(--ink);
}

@media (max-width: 768px) {
  .rd-branches {
    grid-template-columns: 1fr;
  }
  .live-pop {
    left: 14px;
    right: 14px;
    bottom: 16px;
    max-width: none;
  }
  .activity-ticker {
    border-radius: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ─── Section 3: Light Airy Living Capsule Pool (NO BLACK!) ────────── */
.capsule-pool-section {
  padding: 96px 0 104px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 48%, #f8fbff 100%);
  border-top: 1px solid #e6eef9;
  border-bottom: 1px solid #e6eef9;
  overflow: hidden;
  position: relative;
}

.pool-light-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 48px;
}

.pool-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--accent-border);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
}

.light-loop-card {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.07);
}

.llc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.llc-top img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.llc-top strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.llc-top small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.llc-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.llc-box {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.llc-box.is-blue {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.llc-box.is-warm {
  background: #fffbeb;
  border-color: #fde68a;
}

.llc-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent-dark);
}

.llc-box.is-warm strong {
  color: #b45309;
}

.llc-box span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: #4b5563;
}

.llc-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Kinetic Multi-Row Capsule River */
.capsule-river-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.capsule-lane {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
}

.capsule-lane.lane-left {
  animation: capsuleLeft 38s linear infinite;
}

.capsule-lane.lane-right {
  animation: capsuleRight 44s linear infinite;
}

.capsule-lane.lane-left-fast {
  animation: capsuleLeft 32s linear infinite;
}

.capsule-river-wrap:hover .capsule-lane {
  animation-play-state: paused;
}

@keyframes capsuleLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes capsuleRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Individual Tactile Glass Code Capsule */
.code-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.07), inset 0 1px 0 #ffffff;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.code-capsule:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.42);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
}

.cap-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cap-info {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.25;
}

.cap-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.cap-mask {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface);
  color: #6b7280;
}

.cap-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.cap-energy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.cap-energy.is-low {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.cap-dots {
  display: inline-flex;
  gap: 4px;
}

.cap-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.22);
  display: block;
}

.cap-dots i.on {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.55);
}

.cap-energy.is-low .cap-dots i.on {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.capsule-empty-light {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 24px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed var(--accent-border);
  color: var(--muted);
}

.pool-light-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ─── Section 4: AI Frontline Community (WeChat + QQ Showcase) ─────── */
.community-section {
  padding: 96px 0 32px;
}

.community-shell {
  padding: 44px;
  border-radius: 32px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid #e2ecfa;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.community-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 700;
}

.community-perks {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.community-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.perk-dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--accent-border);
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.community-perks strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.community-perks small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.community-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qr-card {
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.qr-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.1);
}

.qr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qr-platform {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.qr-platform.is-wx {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.qr-platform.is-qq {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
}

.qr-hint {
  font-size: 11.5px;
  color: var(--subtle);
}

.qr-img-btn {
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.qr-img-btn:hover {
  border-color: var(--accent);
}

.qr-img-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.qr-card-foot {
  text-align: center;
}

.qr-card-foot strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.qr-card-foot small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.qq-copy-pill {
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.qq-copy-pill:hover {
  background: var(--accent);
  color: #ffffff;
}

/* Warm Emotional Pledge Heart Box */
.pledge-heart-box {
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.pledge-heart-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #334155;
}

.pledge-heart-box p + p {
  margin-top: 10px;
}

.pledge-heart-box strong {
  color: var(--ink);
}

/* Light Luminous Closing CTA (No heavy black block!) */
.closing-cta-light {
  max-width: var(--container);
  margin: 0 auto 28px;
  padding: 64px 36px;
  border-radius: 32px;
  background: linear-gradient(135deg, #edf5ff 0%, #f8fbff 50%, #e4efff 100%);
  border: 1px solid #d5e5fb;
  color: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-cta-light h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.closing-cta-light p {
  margin: 14px auto 30px;
  max-width: 560px;
  font-size: 15.5px;
  color: var(--muted);
}

/* Inline Post-Claim Community Banner inside Glass Workspace */
.ws-group-nudge {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #1e3a8a;
}

.ws-group-nudge button {
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .pool-light-header,
  .community-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .community-shell {
    padding: 24px 18px;
    border-radius: 24px;
  }
  .community-qr-grid,
  .llc-split {
    grid-template-columns: 1fr;
  }
  .closing-cta-light {
    padding: 44px 20px;
  }
}

/* ─── Section 5B: Unreturned Members Showcase (Avatar + Name) ──────── */
.unreturned-section {
  padding: 20px 0 64px;
}

.unreturned-shell {
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.unreturned-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.unreturned-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
}

.unreturned-pill.is-all-clear {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.unreturned-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.unreturned-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.unreturned-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.unreturned-card.is-expired {
  background: #fffdf7;
  border-color: #fde68a;
}

.ur-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--accent-dark);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ur-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ur-body {
  min-width: 0;
  flex: 1;
}

.ur-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ur-name-row strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ur-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--subtle);
  flex-shrink: 0;
}

.ur-handle {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ur-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ur-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.ur-tag.expired {
  background: #fef3c7;
  color: #b45309;
}

.ur-tag.received {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.ur-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--subtle);
}

.unreturned-empty {
  grid-column: 1 / -1;
  padding: 36px 20px;
  text-align: center;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px dashed var(--accent-border);
  color: var(--muted);
  font-size: 14px;
}

/* ─── Section 5A: Editorial Rescue Leaderboard ("救急榜" — Zero AI Slop) ─ */
.rescue-section {
  padding: 24px 0 36px;
}

.rescue-frame {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e7e7e5;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
}

.rescue-header {
  padding: 28px 32px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid #ededeb;
}

.rescue-header-left {
  min-width: 0;
  max-width: 620px;
}

.rescue-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #787774;
}

.rescue-heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #111111;
}

.rescue-sub {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.rescue-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.rescue-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: #f5f5f4;
  border: 1px solid #e7e7e5;
}

.rescue-seg-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 7px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #787774;
  transition: background 0.16s ease, color 0.16s ease;
}

.rescue-seg-btn.is-active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.rescue-donate-cta {
  height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s ease, transform 0.12s ease;
}

.rescue-donate-cta:hover {
  background: #2b2b2b;
}

.rescue-donate-cta:active {
  transform: scale(0.98);
}

/* Top 3 Architectural Hairline Strip (No gradients, no nested boxes) */
.rescue-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #ededeb;
}

.rf-cell {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: background 0.16s ease;
}

.rf-cell + .rf-cell {
  border-left: 1px solid #ededeb;
}

.rf-cell:hover {
  background: #fbfbfa;
}

.rf-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rf-rank {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #1f2328;
  font-variant-numeric: tabular-nums;
}

.rf-rank.is-first {
  color: #9a6b16;
}

.rf-kind {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4f4f2;
  color: #57534e;
}

.rf-kind.is-donate {
  background: #fbf3db;
  color: #956400;
}

.rf-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rf-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #111111;
  border: 1px solid #e7e7e5;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.rf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rf-identity {
  min-width: 0;
  flex: 1;
}

.rf-identity strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rf-identity span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: #787774;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rf-foot {
  padding-top: 14px;
  border-top: 1px solid #f2f2f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #787774;
  font-variant-numeric: tabular-nums;
}

.rf-foot strong {
  color: #111111;
  font-family: var(--font-mono);
}

.rf-helped {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #111111;
}

/* Rank #04+ Clean Hairline Contributor Ledger */
.rescue-ledger {
  display: flex;
  flex-direction: column;
}

.rl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 32px;
  border-bottom: 1px solid #f2f2f0;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.rl-row:last-child {
  border-bottom: none;
}

.rl-row:hover {
  background: #fbfbfa;
}

.rl-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.rl-rank {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #9ca3af;
  width: 24px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.rl-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f4f4f2;
  color: #2f3437;
  border: 1px solid #eaeae8;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.rl-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rl-who {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.rl-who strong {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rl-who span {
  font-size: 12.5px;
  color: #787774;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rl-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.rl-kind {
  color: #787774;
}

.rl-kind.is-donate {
  color: #956400;
  font-weight: 600;
}

.rl-helped {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #111111;
  min-width: 72px;
  text-align: right;
}

.rl-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9ca3af;
  min-width: 56px;
  text-align: right;
}

.rl-arrow {
  color: #9ca3af;
  font-size: 12px;
}

.rl-row:hover .rl-arrow {
  color: #111111;
}

.rescue-foot-bar {
  padding: 16px 32px;
  background: #fbfbfa;
  border-top: 1px solid #ededeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #787774;
}

.rescue-foot-link {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rescue-empty-box {
  padding: 52px 28px;
  text-align: center;
}

.rescue-empty-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #956400;
  margin-bottom: 10px;
}

.rescue-empty-box h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.02em;
}

.rescue-empty-box p {
  margin: 0 auto 20px;
  max-width: 440px;
  font-size: 13.5px;
  color: #787774;
  line-height: 1.6;
}

.nav-rescue-link {
  color: #111111 !important;
  font-weight: 700 !important;
}

/* Prominent Creator X Profile Pill (Hero + Desktop Header) */
.nav-owner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e4e9;
  color: #111111;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.14s ease;
}

.nav-owner-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

.nav-owner-btn:hover {
  border-color: #111111;
  background: #ffffff;
  transform: translateY(-1px);
}

.creator-hero-pill {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 64px;
  padding: 5px 6px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  color: #111111;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.creator-hero-pill:hover {
  border-color: #111111;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.creator-pill-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.creator-pill-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creator-pill-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1;
}

.creator-pill-role {
  font-size: 11.5px;
  color: #787774;
}

.creator-pill-meta strong {
  font-weight: 700;
  color: #111111;
}

.creator-pill-handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #52525b;
}

.creator-pill-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .nav-owner-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .creator-hero-pill {
    margin-bottom: 44px;
    gap: 7px;
    padding: 4px 5px 4px 5px;
    max-width: 100%;
  }
  .creator-pill-role {
    display: none;
  }
  .creator-pill-meta {
    gap: 5px;
    font-size: 12.5px;
  }
  .creator-pill-action {
    padding: 5px 10px;
    font-size: 11.5px;
  }
}

@media (max-width: 960px) {
  .rescue-featured {
    grid-template-columns: 1fr;
  }
  .rf-cell + .rf-cell {
    border-left: none;
    border-top: 1px solid #ededeb;
  }
}

@media (max-width: 768px) {
  .rescue-section {
    padding: 12px 0 24px;
  }
  .rescue-frame {
    border-radius: 16px;
  }
  .rescue-header {
    padding: 20px 18px 18px;
    gap: 14px;
  }
  .rescue-header-right {
    width: 100%;
    justify-content: space-between;
  }
  .rf-cell {
    padding: 16px 18px;
    gap: 12px;
  }
  .rf-rank {
    font-size: 20px;
  }
  .rf-avatar {
    width: 36px;
    height: 36px;
  }
  .rf-foot {
    padding-top: 10px;
  }
  .rl-row {
    padding: 12px 18px;
    gap: 10px;
  }
  .rl-who {
    flex-direction: column;
    gap: 1px;
  }
  .rl-kind,
  .rl-time,
  .rl-arrow {
    display: none;
  }
  .rl-helped {
    min-width: auto;
  }
  .rescue-foot-bar {
    padding: 14px 18px;
    font-size: 12.5px;
  }
}

/* ─── Section 6: Real Screenshot 3-Step Guide Cards ────────────────── */
.guide-shots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-shot-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.guide-shot-card.is-highlight {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.guide-shot-top h3 {
  margin: 8px 0 6px;
  font-size: 18.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.guide-shot-top p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.guide-shot-top strong {
  color: var(--ink);
}

.guide-shot-frame {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  overflow: hidden;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.guide-shot-frame:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.14);
}

.guide-shot-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  border-radius: 13px;
  display: block;
}

.guide-shot-frame img.shot-step-3 {
  object-position: center 72%;
}

.shot-zoom-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(17, 19, 23, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .unreturned-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-shots-grid {
    grid-template-columns: 1fr;
  }
  .guide-shot-frame img {
    height: auto;
    max-height: 460px;
    object-fit: contain;
    background: #fafafa;
  }
}

@media (max-width: 768px) {
  .unreturned-shell {
    padding: 22px 18px;
  }
  .unreturned-grid {
    grid-template-columns: 1fr;
  }
}

.btn-soft-accent {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.08);
}

.btn-soft-accent:hover:not(:disabled) {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.24);
}

.nav-unreturned-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: #f59e0b;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Compact 3-Step Return How-To Strip inside Pledge Modal */
.pledge-card {
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
}

.pledge-howto {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.pledge-howto-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.pledge-howto-head strong {
  font-size: 12.5px;
  color: var(--ink);
}

.pledge-howto-head span {
  font-size: 11.5px;
  color: var(--muted);
}

.pledge-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pledge-thumb {
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pledge-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pledge-thumb img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  display: block;
}

.pledge-thumb img.shot-step-3 {
  object-position: center 72%;
}

.pledge-thumb span {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}

/* Console Traffic Trend Bars */
.trend-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.trend-day {
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.trend-day:hover,
.trend-day.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.trend-day small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.trend-day strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
}

.trend-day span {
  display: block;
  font-size: 11px;
  color: var(--accent-dark);
}

@media (max-width: 768px) {
  .trend-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bean-mascot, .bean-eye, .pulse-dot { animation: none; }
}

/* ─── Responsive Breakpoints ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .relay-split,
  .dark-pool-hero,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .relay-stage-wrap {
    position: static;
    order: -1;
  }

  .pool-grid,
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-4, .span-5, .span-6, .span-7 {
    grid-column: span 6;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .brand-group {
    padding: 4px 10px 4px 5px;
    box-shadow: none;
    background: transparent;
    border-color: transparent;
  }

  .container,
  .header-inner {
    padding: 0 16px;
  }

  .nav-pill {
    display: none;
  }

  .brand-badge {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 26px) 16px 36px;
  }

  .hero-headline {
    font-size: 28px;
    gap: 8px;
  }

  .hero-sub {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-ctas {
    margin-top: 22px;
    gap: 8px;
  }

  .hero-ctas .btn {
    height: 44px;
    padding: 0 18px;
    font-size: 13.5px;
  }

  .hero-ctas .btn-primary {
    width: 100%;
  }

  .hero-telemetry {
    margin-top: 26px;
  }

  .live-capsule {
    border-radius: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 9px 12px;
    gap: 6px;
  }

  .live-capsule-text {
    white-space: normal;
    text-align: center;
    font-size: 12px;
  }

  .art-stage {
    padding: 12px;
    min-height: auto;
    border-radius: 20px;
  }

  .glass-workspace {
    padding: 18px 16px;
  }

  .relay-section {
    padding: 16px 0 44px;
  }

  .relay-guide-col {
    padding-top: 0;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.24;
  }

  .section-desc {
    font-size: 13.5px;
    margin-top: 8px;
  }

  .guided-steps {
    margin-top: 16px;
    gap: 8px;
  }

  .guided-step {
    padding: 12px 13px;
    gap: 10px;
  }

  .guided-step h3 {
    font-size: 14px;
  }

  .guided-step p {
    font-size: 12px;
  }

  .rule-pair {
    margin-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rule-card {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .rule-card h4 {
    font-size: 12.5px;
  }

  .rule-card p {
    font-size: 11.5px;
    margin-top: 4px;
    line-height: 1.45;
  }

  .rule-card .micro-pill {
    display: none;
  }

  .code-chars {
    font-size: 24px;
  }

  /* Compact 2x2 Metrics Grid on Mobile (replaces awkward 4-row vertical stack!) */
  .metrics-section {
    padding: 44px 0 36px;
  }

  .metrics-giant {
    font-size: 48px;
    margin: 8px 0 10px;
  }

  .metrics-sub {
    font-size: 13.5px;
  }

  .metrics-row {
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #ffffff;
    overflow: hidden;
  }

  .metric-cell {
    padding: 16px 10px;
  }

  .metric-cell strong {
    font-size: 24px;
  }

  .metric-cell span {
    font-size: 11.5px;
    margin-top: 4px;
  }

  .metric-cell + .metric-cell::before {
    display: none;
  }

  .metric-cell:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .metric-cell:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  /* Compact Capsule Pool & Community Section on Mobile */
  .capsule-pool-section {
    padding: 44px 0 40px;
  }

  .community-section {
    padding: 24px 0 36px;
  }

  .community-shell {
    padding: 20px 16px;
    border-radius: 20px;
    gap: 20px;
  }

  .community-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .qr-card {
    padding: 10px;
    border-radius: 16px;
  }

  .qr-card-head {
    margin-bottom: 8px;
  }

  .qr-hint {
    display: none;
  }

  .qr-card-foot strong {
    font-size: 12px;
  }

  .qr-card-foot small {
    font-size: 11px;
  }

  .qq-copy-pill {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Compact Unreturned Wall on Mobile */
  .unreturned-section {
    padding: 12px 0 36px;
  }

  .unreturned-shell {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .unreturned-head {
    margin-bottom: 16px;
    gap: 12px;
  }

  .unreturned-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .unreturned-card {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .ur-avatar {
    width: 38px;
    height: 38px;
  }

  /* Horizontal Swipe Carousel for 3-Step Guide Screenshots on Mobile */
  .guide-section {
    padding: 40px 0 44px;
  }

  .guide-head {
    margin-bottom: 20px;
  }

  .guide-shots-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
  }

  .guide-shot-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    padding: 16px;
    border-radius: 18px;
    gap: 12px;
  }

  .guide-shot-top h3 {
    font-size: 16px;
  }

  .guide-shot-frame img {
    max-height: 290px;
  }

  .bento-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .faq-section {
    padding: 20px 0 48px;
  }

  .faq-list summary {
    padding: 16px 0;
    font-size: 14.5px;
  }

  .pool-grid,
  .members-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .span-4, .span-5, .span-6, .span-7 {
    grid-column: span 12;
  }

  .closing-wrap {
    padding: 0 14px 24px;
  }

  .closing-cta-light {
    padding: 32px 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .footer-sheet {
    padding: 24px 18px 18px;
    border-radius: 22px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding-bottom: 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .closing-cta {
    padding: 44px 22px;
  }
}


/* ─── Dual-Community Conversion Funnel & 3-Tab Passcode Login ────────── */
.auth-mode-tabs.is-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-mode-tabs.is-3col .auth-mode-btn {
  padding: 0 6px;
  font-size: 12.5px;
  gap: 4px;
}

.auth-free-pill {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #1d4ed8;
}

.passcode-nudge-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: #f0f7ff;
  color: #1e3a8a;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.passcode-nudge-btn:hover {
  background: #e0f0ff;
  border-color: #93c5fd;
}

.passcode-nudge-btn strong {
  flex-shrink: 0;
  color: #2563eb;
  font-weight: 700;
}

.auth-switch-hint {
  margin-top: 10px;
  text-align: center;
}

.auth-switch-hint .link-btn {
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
}

.qr-img-frame {
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #edf0f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-img-frame img {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.qr-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.qq-copy-pill.is-ghost {
  background: #f4f4f5;
  color: #374151;
  border-color: #e5e7eb;
}

.qq-copy-pill.is-wx-id {
  margin-top: 6px;
  width: 100%;
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.pledge-community-hint {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  color: #475569;
}

.pledge-community-hint .link-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
}

/* Dual-Community Modal */
.dual-qr-modal {
  max-width: 600px !important;
  text-align: left !important;
}

.dual-qr-banner {
  margin: 12px 0 14px;
  padding: 10px 13px;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  font-size: 12.5px;
  line-height: 1.55;
  color: #1e3a8a;
}

.dual-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dual-qr-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dual-qr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.dual-qr-img-box {
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dual-qr-img-box img {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.dual-qr-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dual-qr-btn {
  width: 100%;
  height: 38px !important;
  padding: 0 12px !important;
  font-size: 12.5px !important;
}

.dual-wx-id-bar {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #065f46;
}

/* Workspace Rescue Banner & Embedded Community Cards */
.ws-rescue-banner {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #bfdbfe;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ws-rescue-banner.is-urgent {
  background: #fff7ed;
  border-color: #fed7aa;
}

.ws-rescue-banner strong {
  display: block;
  font-size: 13.5px;
  color: #111827;
}

.ws-rescue-banner span {
  display: block;
  font-size: 12px;
  color: #4b5563;
  margin-top: 2px;
  line-height: 1.5;
}

.ws-community-card {
  margin-top: 16px;
  padding: 12px;
  border-radius: 15px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-community-thumb {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  object-fit: contain;
  cursor: pointer;
}

.ws-community-body {
  min-width: 0;
  flex: 1;
}

.ws-community-body strong {
  display: block;
  font-size: 13.5px;
  color: #111111;
}

.ws-community-body span {
  display: block;
  font-size: 11.5px;
  color: #4b5563;
  margin-top: 2px;
  line-height: 1.45;
}

.ws-community-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ws-cm-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.ws-cm-btn:hover {
  background: #f3f4f6;
}

.ws-cm-btn.is-primary {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.ws-cm-btn.is-primary:hover {
  background: #27272a;
}

.ws-completed-community {
  margin: 14px 0 4px;
  padding: 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  text-align: left;
}

.ws-cc-head strong {
  display: block;
  font-size: 13.5px;
  color: #111111;
}

.ws-cc-head span {
  display: block;
  font-size: 12px;
  color: #4b5563;
  margin-top: 2px;
}

.ws-cc-qrs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ws-cc-box {
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ws-cc-box img {
  width: 100%;
  max-width: 118px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.ws-cc-box .ws-cm-btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

/* Floating Bottom-Right Dual-Community Pill */
.community-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.community-fab[hidden],
.community-fab.is-auto-hidden {
  display: none !important;
}

.community-fab-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 14px;
  border: none;
  background: transparent;
  color: #111111;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.community-fab-close {
  width: 32px;
  height: 40px;
  border: none;
  border-left: 1px solid #edf0f5;
  background: transparent;
  color: #9ca3af;
  font-size: 16px;
  cursor: pointer;
}

.community-fab-close:hover {
  color: #111111;
}

@media (max-width: 768px) {
  /* Slimmer mobile hero so Douyin traffic reaches login/claim faster */
  .hero {
    padding: calc(var(--nav-h) + 14px) 16px 20px !important;
  }

  .creator-hero-pill {
    margin-bottom: 36px !important;
  }

  .hero-sub {
    margin-top: 18px !important;
    font-size: 13.5px !important;
  }

  .hero-ctas {
    margin-top: 16px !important;
  }

  .hero-telemetry {
    margin-top: 18px !important;
  }

  .dual-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dual-qr-card {
    padding: 10px;
  }

  .dual-qr-btn {
    font-size: 11.5px !important;
    height: 34px !important;
    padding: 0 8px !important;
  }

  .auth-mode-tabs.is-3col .auth-mode-btn {
    font-size: 11.5px;
    padding: 0 4px;
  }

  .auth-free-pill {
    display: none;
  }

  .community-fab {
    right: 12px;
    bottom: 12px;
  }

  .community-fab-main {
    height: 36px;
    font-size: 12px;
    padding: 0 10px 0 12px;
  }

  .community-fab-close {
    height: 36px;
    width: 28px;
  }
}


/* ─── Single-Focus QQ Group Card, Modal & One-Click Join Link ────────── */
.community-qr-grid.is-single {
  grid-template-columns: minmax(0, 360px) !important;
  justify-content: center;
}

.qr-card.is-single-qq {
  width: 100%;
  max-width: 360px;
}

.qq-direct-join-btn {
  width: 100%;
  height: 42px !important;
  padding: 0 16px !important;
  font-size: 13.5px !important;
  margin-top: 10px;
  text-decoration: none;
}

.passcode-nudge-btn {
  text-decoration: none;
}

.passcode-sub-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -4px 0 12px;
  font-size: 12px;
  color: #9ca3af;
}

.passcode-sub-links .link-btn {
  font-size: 12px;
  color: #4b5563;
  font-weight: 600;
}

.passcode-sub-links .link-btn:hover {
  color: #111111;
}

.qq-single-modal {
  max-width: 420px !important;
  text-align: left !important;
}

.qq-modal-join-cta {
  text-decoration: none;
  margin-bottom: 14px;
}

.qq-single-qr-wrap {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  text-align: center;
}

.qq-single-qr-wrap img {
  width: 100%;
  max-width: 224px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  border: 1px solid #eef0f4;
  display: block;
  margin: 0 auto;
}

.qq-single-num {
  margin-top: 10px;
  font-size: 13.5px;
  color: #374151;
}

.qq-single-num strong {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #111111;
}

.qq-single-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ws-cm-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ws-cc-single {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-cc-single img {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.ws-cc-single-actions {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 768px) {
  .community-qr-grid.is-single {
    grid-template-columns: 1fr !important;
  }

  .qr-card.is-single-qq {
    max-width: 100%;
  }

  .ws-cc-single {
    flex-direction: column;
    align-items: stretch;
  }

  .ws-cc-single img {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Dual-Project Architecture (Xiaodou Sky Blue + MUSE Cobalt-Indigo)
   + Native-Grade Mobile UX Overhaul (v24)
   ═══════════════════════════════════════════════════════════════════════ */

/* Subtle Project Token Shift for MUSE (Zero clutter, single accent lock) */
body[data-project="muse"] {
  --accent: #4f46e5;
  --accent-dark: #3730a3;
  --accent-soft: #eef2ff;
  --accent-border: #c7d2fe;
}

body[data-project="muse"] .hero::before {
  background:
    radial-gradient(ellipse 42% 48% at 34% 48%, rgba(79, 70, 229, 0.11), transparent 72%),
    radial-gradient(ellipse 38% 46% at 66% 52%, rgba(99, 102, 241, 0.14), transparent 70%),
    radial-gradient(ellipse 32% 40% at 50% 40%, rgba(199, 210, 254, 0.2), transparent 68%);
}

/* Dual-Project Segmented Switcher */
.project-switcher {
  margin-top: 24px;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 600px;
  padding: 6px;
  border-radius: 20px;
  background: #f3f5f8;
  border: 1px solid #e5e8ef;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.proj-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 15px;
  border: 1px solid transparent;
  background: transparent;
  color: #4b5563;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.14s ease;
}

.proj-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.proj-tab.is-active {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(17, 24, 39, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.proj-tab-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.proj-tab-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proj-tab-info strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.proj-tab-info small {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proj-tag {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.proj-tag.is-muse {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.proj-tab-stock {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  white-space: nowrap;
}

.proj-tab-stock.has-stock {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.auth-stock-chip.is-empty {
  background: #fff7ed;
  color: #b45309;
  border-color: #fed7aa;
}

.auth-stock-chip.is-empty i {
  background: #f59e0b;
}

/* MUSE Guide 3-Card Editorial Row */
.muse-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.muse-step-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.muse-step-card.is-highlight {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.muse-step-card h3 {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.muse-step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.muse-step-card strong {
  color: var(--ink);
}

/* Pledge MUSE Steps */
.pledge-muse-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pledge-muse-steps > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 12.5px;
  color: #27272a;
}

.pledge-muse-steps > div span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Workspace MUSE Components: Cross-Project Lock, 48h Eligibility, Redeem Tip & Share Picker */
.ws-cross-lock {
  padding: 16px;
  border-radius: 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.ws-cross-lock-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.muse-elig-box {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-size: 12.5px;
  line-height: 1.55;
  color: #1e1b4b;
  cursor: pointer;
}

.muse-elig-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.muse-redeem-tip {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-size: 12.5px;
  line-height: 1.5;
  color: #312e81;
}

.muse-share-picker {
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.muse-sp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.muse-sp-num {
  width: 68px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

.muse-sp-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.muse-sp-pill {
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  transition: all 0.16s ease;
}

.muse-sp-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.cross-proj-cta {
  margin-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.16s ease, transform 0.14s ease;
}

.cross-proj-cta:hover {
  transform: translateY(-1px);
}

.cross-proj-cta strong {
  font-weight: 800;
  white-space: nowrap;
}

/* Donate Modal Project Pills */
.donate-proj-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.donate-proj-btn {
  height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.16s ease;
}

.donate-proj-btn.is-active {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Daily Capped ("今天已上限，明天可再来领" — Warm Reassuring Recovery Card) */
.stage-status-pill.is-cap {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent-border);
}

.daily-cap-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.daily-cap-callout {
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.daily-cap-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.daily-cap-desc strong {
  color: var(--ink);
}

.daily-cap-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
}

.daily-cap-timer strong {
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 700;
}

.daily-cap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.daily-cap-actions .btn {
  flex: 1;
  min-width: 140px;
  height: 44px;
  padding: 0 16px;
  font-size: 13.5px;
}

/* Mobile Bottom Navigation Dock (Hidden on Desktop) */
.mobile-tabbar {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   Native-Grade Mobile UX Overhaul (<= 768px)
   Goal: Project Switcher + Live Stock + Login/Claim Workspace ALL visible
   immediately in Screen 1 on 390x844 phones, thumb-first bottom dock,
   bottom-sheet modals, 16px inputs (no iOS zoom), zero horizontal overflow.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --nav-h: 56px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  section[id],
  #relay-card-anchor {
    scroll-margin-top: 66px;
  }

  /* Slim Native-Style Mobile Top Bar */
  .site-header {
    height: var(--nav-h);
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .header-inner {
    padding: 0 14px;
    gap: 8px;
  }

  .brand-group {
    padding: 0;
    gap: 8px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .brand-divider,
  .brand-domain,
  .brand-badge {
    display: none !important;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .nav-auth-btn {
    height: 34px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  /* Ultra-Compact Screen-1 Mobile Hero -> Workspace Appears Immediately! */
  .hero {
    min-height: auto !important;
    padding: calc(var(--nav-h) + 12px) 14px 10px !important;
  }

  .hero::before {
    height: 260px;
    top: 32%;
  }

  .creator-hero-pill {
    margin-bottom: 10px !important;
    padding: 3px 4px 3px 4px;
    gap: 6px;
    box-shadow: none;
  }

  .creator-pill-avatar {
    width: 22px;
    height: 22px;
    font-size: 10.5px;
  }

  .creator-pill-meta {
    font-size: 11.5px;
  }

  .creator-pill-handle {
    font-size: 11px;
  }

  .creator-pill-action {
    padding: 4px 8px;
    font-size: 10.5px;
  }

  .hero-headline {
    font-size: 21px !important;
    line-height: 1.3;
    gap: 4px 6px !important;
  }

  .slot-wheel {
    height: auto !important;
    min-width: auto !important;
    padding: 0 !important;
    display: inline-flex;
  }

  .slot-item {
    position: static !important;
    transform: none !important;
    display: none !important;
    font-size: 14px !important;
    padding: 3px 10px 3px 6px !important;
    gap: 5px !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12) !important;
  }

  .slot-item.is-active {
    display: inline-flex !important;
  }

  .slot-icon {
    width: 18px;
    height: 18px;
  }

  /* Hide redundant Hero clutter on mobile so Project Switcher + Workspace start in Screen 1 */
  .hero-sub,
  .hero-ctas,
  .bean-mascot,
  .activity-ticker {
    display: none !important;
  }

  /* Tactile Mobile Dual-Project Segmented Switcher */
  .project-switcher {
    margin-top: 12px;
    padding: 4px;
    gap: 5px;
    border-radius: 16px;
  }

  .proj-tab {
    padding: 8px 9px;
    gap: 7px;
    border-radius: 12px;
    flex-wrap: wrap;
  }

  .proj-tab-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .proj-tab-info strong {
    font-size: 13px;
    gap: 4px;
  }

  .proj-tab-info small {
    display: none;
  }

  .proj-tag {
    font-size: 9.5px;
    padding: 2px 5px;
  }

  .proj-tab-stock {
    width: 100%;
    text-align: center;
    font-size: 10.5px;
    padding: 3px 6px;
    margin-top: 1px;
  }

  /* Slim 1-Line Live Stock Bar right above Workspace */
  .hero-telemetry {
    margin-top: 10px !important;
    width: 100%;
    gap: 0;
  }

  .live-capsule {
    width: 100%;
    padding: 6px 10px;
    border-radius: 12px;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  }

  .live-capsule-badge {
    padding: 3px 8px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .live-capsule-text {
    font-size: 11.5px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }

  .live-capsule-copy {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  /* Workspace Card Immediately Below Hero */
  .relay-section {
    padding: 6px 0 32px !important;
  }

  .container {
    padding: 0 14px;
  }

  .art-stage {
    padding: 10px;
    border-radius: 20px;
  }

  .glass-workspace {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .stage-dock {
    margin-top: 8px;
    gap: 4px;
    padding: 4px;
  }

  .dock-item {
    font-size: 11px;
    padding: 6px 4px;
  }

  /* Prevent iOS Safari Auto-Zoom on ALL Mobile Inputs */
  .field-input,
  .field-textarea,
  .search-box input,
  .muse-sp-num {
    font-size: 16px !important;
  }

  .field-input {
    height: 44px;
  }

  .auth-title {
    font-size: 17px;
  }

  .auth-sub {
    font-size: 12.5px;
  }

  .auth-mode-btn {
    height: 38px;
    font-size: 13px;
  }

  .passcode-nudge-btn {
    padding: 10px 11px;
    font-size: 12px;
    margin: 10px 0 10px;
  }

  .code-vault-value {
    flex-wrap: wrap;
    gap: 10px;
  }

  .code-chars {
    font-size: 22px;
    word-break: break-all;
  }

  .copy-code-btn {
    width: 100%;
    height: 40px;
  }

  .muse-sp-pills {
    gap: 5px;
  }

  .muse-sp-pill {
    font-size: 11.5px;
    height: 34px;
  }

  /* Compact Horizontal Scroll Strip for Unreturned Wall (saves 1000px+ vertical scroll) */
  .unreturned-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 6px;
  }

  .unreturned-card {
    flex: 0 0 248px;
    scroll-snap-align: start;
  }

  .unreturned-empty {
    flex: 1 0 100%;
  }

  /* Horizontal Snap-Scroll Carousel for MUSE Guide Cards */
  .muse-guide-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
  }

  .muse-step-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    padding: 18px 16px;
    border-radius: 18px;
  }

  /* Pool Light Header Tighter */
  .pool-light-header {
    gap: 18px;
  }

  .light-loop-card {
    padding: 16px;
    border-radius: 18px;
  }

  .pool-light-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .pool-light-actions .btn {
    width: 100%;
    height: 44px;
  }

  /* Native Bottom-Sheet Modals on Mobile */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card,
  .qq-single-modal,
  .pledge-card {
    max-width: 100% !important;
    width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    max-height: 88dvh;
    overflow-y: auto;
    border-bottom: none;
  }

  .modal-card::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 99px;
    background: #d4d8e0;
    margin: -4px auto 14px;
  }

  /* Hide Floating Overlays on Mobile (Replaced by Fixed Native Bottom Dock) */
  .community-fab,
  .live-pop {
    display: none !important;
  }

  /* Native-Grade Fixed 4-Tab Mobile Bottom Navigation Dock */
  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.05);
  }

  .m-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 48px;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.16s ease, background 0.16s ease;
  }

  .m-tab svg {
    width: 20px;
    height: 20px;
  }

  .m-tab.is-active {
    color: var(--accent-dark);
    font-weight: 700;
  }

  .m-tab.is-active svg {
    stroke: var(--accent);
  }

  .m-tab.is-accent {
    color: var(--accent-dark);
    font-weight: 700;
  }

  .m-tab.is-accent svg {
    stroke: var(--accent);
  }

  /* Prevent instant anchor jumps from showing faded/hidden content on mobile */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .auth-x-facts > span > span {
    white-space: nowrap;
  }

  .community-qr-grid .qq-direct-join-btn {
    height: 34px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
    margin-top: 8px;
  }

  /* Lift Toast Cleanly Above Mobile Bottom Dock */
  .toast {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   High-Density Editorial Rescue Board v28 (Compact 3-Col Podium + Dense Grid)
   ═══════════════════════════════════════════════════════════════════════ */
.rescue-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #ededeb;
  background: #ffffff;
}

.rescue-podium.is-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rescue-podium.is-cols-1 {
  grid-template-columns: 1fr;
}

.rp-tile {
  position: relative;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: background 0.16s ease;
}

.rp-tile + .rp-tile {
  border-left: 1px solid #f0f0ee;
}

.rp-tile:hover {
  background: #fafaf9;
}

.rp-tile.is-gold {
  background: linear-gradient(180deg, rgba(254, 249, 195, 0.28) 0%, rgba(255, 255, 255, 0) 64%);
  box-shadow: inset 0 2px 0 #d97706;
}

.rp-tile.is-silver {
  box-shadow: inset 0 2px 0 #94a3b8;
}

.rp-tile.is-bronze {
  box-shadow: inset 0 2px 0 #c27848;
}

.rp-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 2px;
}

.rp-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
}

.rp-rank.is-gold {
  background: #fef3c7;
  color: #92400e;
}

.rp-rank.is-silver {
  background: #f1f5f9;
  color: #475569;
}

.rp-rank.is-bronze {
  background: #ffedd5;
  color: #9a3412;
}

.rp-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #6b7280;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f4f4f5;
}

.rp-tag.is-donate {
  background: #fef9c3;
  color: #854d0e;
}

.rp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.rp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rp-name {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.rp-handle {
  display: block;
  width: 100%;
  font-size: 11.5px;
  color: #787774;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rp-stat {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #111111;
  background: #f6f7f9;
  border: 1px solid #eceef2;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Desktop 2-Column High-Density Ledger (#04+) */
.rescue-ledger.is-dense {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rescue-ledger.is-dense .rl-row {
  padding: 10px 20px;
  gap: 10px;
  border-bottom: 1px solid #f2f2f0;
}

.rescue-ledger.is-dense .rl-row:nth-child(odd) {
  border-right: 1px solid #f2f2f0;
}

.rescue-ledger.is-dense .rl-left {
  gap: 9px;
}

.rescue-ledger.is-dense .rl-rank {
  width: 20px;
  font-size: 11.5px;
}

.rescue-ledger.is-dense .rl-avatar {
  width: 28px;
  height: 28px;
  font-size: 11.5px;
}

.rescue-ledger.is-dense .rl-who {
  gap: 6px;
}

.rescue-ledger.is-dense .rl-who strong {
  font-size: 13px;
}

.rescue-ledger.is-dense .rl-who span {
  font-size: 11.5px;
}

.rescue-ledger.is-dense .rl-right {
  gap: 8px;
}

.rl-badge-donate {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  white-space: nowrap;
}

.rescue-ledger.is-dense .rl-helped {
  min-width: auto;
  font-size: 12px;
  color: #374151;
}

.rescue-more-bar {
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid #f2f2f0;
  background: #ffffff;
}

.rescue-more-btn {
  width: 100%;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
}

.rescue-more-btn:hover {
  background: #f3f4f6;
  color: #111111;
}

@media (max-width: 768px) {
  /* Ultra-scannable Mobile Rescue Board: Top 3 side-by-side + 10+ dense rows in Screen 1 */
  .rescue-header {
    padding: 12px 14px 10px !important;
    gap: 8px !important;
  }

  .rescue-kicker {
    display: none;
  }

  .rescue-heading {
    font-size: 18px !important;
    line-height: 1.2;
  }

  .rescue-sub {
    font-size: 11.5px !important;
    margin-top: 3px !important;
  }

  .rescue-seg {
    padding: 2px;
  }

  .rescue-seg-btn {
    padding: 4px 10px;
    font-size: 11.5px;
  }

  .rescue-donate-cta {
    height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .rp-tile {
    padding: 9px 6px 8px;
    gap: 3px;
  }

  .rp-top {
    margin-bottom: 1px;
  }

  .rp-rank {
    font-size: 10px;
    padding: 1px 5px;
  }

  .rp-tag {
    font-size: 9.5px;
    padding: 1px 4px;
  }

  .rp-avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .rp-name {
    font-size: 12px;
  }

  .rp-handle {
    font-size: 10px;
  }

  .rp-stat {
    font-size: 10px;
    padding: 1px 6px;
    margin-top: 2px;
  }

  .rescue-ledger.is-dense {
    grid-template-columns: 1fr;
  }

  .rescue-ledger.is-dense .rl-row {
    padding: 8px 12px !important;
    gap: 8px !important;
    border-right: none !important;
  }

  .rescue-ledger.is-dense .rl-avatar {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .rescue-ledger.is-dense .rl-who {
    flex-direction: row !important;
    align-items: center;
    gap: 5px !important;
  }

  .rescue-ledger.is-dense .rl-who strong {
    font-size: 12.5px;
  }

  .rescue-ledger.is-dense .rl-who span {
    font-size: 11px;
    max-width: 96px;
  }

  .rescue-ledger.is-dense .rl-helped {
    font-size: 11.5px;
  }

  .rescue-foot-bar {
    padding: 10px 14px !important;
    font-size: 11.5px !important;
    gap: 6px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   v29: Clean Separation — Pure Claiming Card (/) + Dedicated Login Page (/login)
   ═══════════════════════════════════════════════════════════════════════ */
.claim-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.claim-proj-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.claim-proj-badge img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.claim-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.25;
}

.claim-card-sub {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.claim-card-sub strong {
  color: var(--ink);
}

.claim-highlights {
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ch-item {
  padding: 11px 8px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ch-item strong {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.ch-item span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.claim-primary-cta {
  height: 48px !important;
  font-size: 15px !important;
  text-decoration: none;
}

.claim-sec-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.claim-sec-row .btn {
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  text-decoration: none;
}

/* ─── Dedicated /login Page ────────────────────────────────────────── */
.login-page-body {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 65% 42% at 50% 0%, rgba(59, 130, 246, 0.08), transparent 70%),
    #fafbfc;
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}

body.login-page-body[data-project="muse"] {
  background:
    radial-gradient(ellipse 65% 42% at 50% 0%, rgba(79, 70, 229, 0.09), transparent 70%),
    #fafbfc;
}

.login-topbar {
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.login-topbar-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.login-back-btn:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.login-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.login-brand-mini img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 40px;
}

.login-shell {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-proj-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--accent-border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.login-proj-strip img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}

.login-proj-text {
  min-width: 0;
  flex: 1;
}

.login-proj-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.login-proj-text small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--accent-dark);
  font-weight: 600;
}

.login-proj-switch {
  flex-shrink: 0;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.16s ease;
}

.login-proj-switch:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-dark);
}

.login-card {
  padding: 26px 24px 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}

.login-card-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.login-card-head p {
  margin: 6px 0 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.login-x-points {
  margin: 16px 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: #374151;
}

.login-x-points > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-x-points > div span {
  color: var(--accent-dark);
  font-weight: 800;
}

.login-bottom-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.login-bottom-note a {
  color: var(--accent-dark);
  font-weight: 700;
}

@media (max-width: 768px) {
  .claim-card-title {
    font-size: 19px;
  }

  .claim-card-sub {
    font-size: 12.5px;
  }

  .claim-highlights {
    margin: 14px 0;
    gap: 6px;
  }

  .ch-item {
    padding: 9px 6px;
    border-radius: 12px;
  }

  .ch-item strong {
    font-size: 13px;
  }

  .ch-item span {
    font-size: 10.5px;
  }

  .claim-primary-cta {
    height: 46px !important;
    font-size: 14.5px !important;
  }

  .login-main {
    align-items: flex-start;
    padding: 18px 14px 32px;
  }

  .login-card {
    padding: 20px 16px 18px;
    border-radius: 20px;
  }

  .login-card-head h1 {
    font-size: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   v30: Multi-Service App Architecture
   1) Clean Platform Hub Homepage (/) — Service Directory Cards + Dual Community
   2) Dedicated Business Subpages (/xiaodou, /muse) — Back Bar + Focused Flow
   ═══════════════════════════════════════════════════════════════════════ */
.hub-page-body {
  background: #fafbfc;
}

.hub-hero {
  padding: calc(var(--nav-h) + 34px) 0 32px;
  background:
    radial-gradient(ellipse 68% 46% at 50% 0%, rgba(59, 130, 246, 0.08), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.hub-hero-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-creator-pill {
  margin-bottom: 18px !important;
}

.hub-title {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--ink);
}

.hub-sub {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Service Directory Cards (Clean 2-Col Desktop / Stacked Mobile) */
.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.hub-service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e6e9f0;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hub-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.hub-service-card.is-xiaodou:hover {
  border-color: #93c5fd;
}

.hub-service-card.is-muse:hover {
  border-color: #a5b4fc;
}

.hsc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hsc-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.hsc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.hsc-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.hsc-title-row h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hsc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

.hsc-badge.is-muse {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.hsc-tagline {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.hsc-stock {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  white-space: nowrap;
}

.hsc-stock.has-stock {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hsc-stock.has-stock.is-muse {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.hsc-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hsc-perks span {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background: #f6f7f9;
  border: 1px solid #eceef2;
  padding: 5px 10px;
  border-radius: 10px;
}

.hsc-foot {
  padding-top: 14px;
  border-top: 1px solid #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hsc-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.hsc-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.16s ease;
}

.hub-service-card:hover .hsc-enter-btn {
  background: #2563eb;
}

.hub-service-card.is-muse:hover .hsc-enter-btn.is-muse {
  background: #4f46e5;
}

/* Compact Platform Stats + Quick Actions Strip */
.hub-action-strip {
  max-width: 980px;
  margin: 18px auto 0;
  padding: 16px 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e6e9f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.has-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.has-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.has-stats strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.has-stats span {
  font-size: 11.5px;
  color: var(--muted);
}

.has-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.has-btn {
  height: 40px !important;
  padding: 0 18px !important;
  font-size: 13px !important;
}

/* Concise 3-Item How-It-Works Strip on Hub */
.hub-how-section {
  padding: 8px 0 24px;
}

.hub-how-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-how-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #eceef2;
}

.hhc-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: 999px;
}

.hub-how-card h3 {
  margin: 10px 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.hub-how-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Dedicated Single-Business Subpage (/xiaodou, /muse) ───────────── */
.relay-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.sub-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e5ec;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.sub-back-pill:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.sub-biz-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sub-biz-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
}

.sub-biz-brand strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.biz-banner {
  padding: calc(var(--nav-h) + 18px) 0 14px;
}

.biz-banner-card {
  padding: 18px 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.biz-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.biz-banner-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.biz-banner-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.biz-banner-title-row h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
}

.biz-banner-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
}

.biz-banner-info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.biz-banner-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.biz-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.biz-stock-pill.is-empty {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.biz-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.biz-share-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.biz-relay-section {
  padding: 10px 0 44px !important;
}

@media (max-width: 768px) {
  .hub-hero {
    padding: calc(var(--nav-h) + 14px) 0 14px;
  }

  .hub-hero-head {
    margin-bottom: 16px;
  }

  .hub-creator-pill {
    margin-bottom: 10px !important;
  }

  .hub-title {
    font-size: 22px;
  }

  .hub-sub {
    margin-top: 6px;
    font-size: 12.5px;
  }

  .hub-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hub-service-card {
    padding: 16px 15px 14px;
    border-radius: 20px;
    gap: 12px;
  }

  .hsc-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .hsc-title-row h2 {
    font-size: 17px;
  }

  .hsc-tagline {
    font-size: 12px;
  }

  .hsc-stock {
    font-size: 11px;
    padding: 4px 8px;
  }

  .hsc-perks {
    gap: 6px;
  }

  .hsc-perks span {
    font-size: 11px;
    padding: 4px 8px;
  }

  .hsc-foot {
    padding-top: 10px;
  }

  .hsc-meta {
    font-size: 11px;
  }

  .hsc-enter-btn {
    height: 32px;
    padding: 0 13px;
    font-size: 12px;
  }

  .hub-action-strip {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    gap: 12px;
  }

  .has-stats {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .has-stats strong {
    font-size: 17px;
  }

  .has-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .has-btn {
    width: 100%;
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
  }

  .hub-how-section {
    padding: 4px 0 12px;
  }

  .hub-how-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 4px;
  }

  .hub-how-card {
    flex: 0 0 74%;
    scroll-snap-align: start;
    padding: 14px;
    border-radius: 16px;
  }

  /* Subpage (/xiaodou, /muse) Mobile Compact Banner */
  .sub-back-pill {
    height: 32px;
    padding: 0 10px 0 7px;
    font-size: 12.5px;
  }

  .sub-biz-icon {
    width: 22px;
    height: 22px;
  }

  .sub-biz-brand strong {
    font-size: 14px;
  }

  .biz-banner {
    display: none;
  }

  .biz-relay-section {
    padding: calc(var(--nav-h) + 12px) 0 24px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   v33: Iconic Slot-Wheel Desktop Hero + Scalable Multi-Business Grid
        + Mobile-Only App-Grade Polish (Alipay Hero Rhythm & Animation,
          Horizontal Cards, Concise Sections, Original Sky-Blue Brand Theme)
   ═══════════════════════════════════════════════════════════════════════ */
.hero.hub-hero-stage {
  min-height: auto;
  padding: calc(var(--nav-h) + 56px) 24px 44px;
}

.hub-hero-stage .creator-hero-pill {
  margin-bottom: 58px;
}

.hub-hero-stage .hub-hero-sub {
  margin-top: 52px;
  max-width: 680px;
}

.hub-hero-stage .hub-hero-ctas {
  margin-top: 30px;
  gap: 14px;
}

/* Concise Claim Donate Secondary Button */
.claim-donate-btn {
  margin-top: 9px;
  height: 42px;
  font-size: 13.5px;
}

/* Desktop keeps full 4-col footer; mobile mini links stay hidden on Desktop */
.footer-mobile-mini {
  display: none;
}

/* Concise Desktop Community alignment */
body.hub-page-body .community-shell {
  align-items: center;
}

/* Scalable Multi-Business Directory Section (Ready for 2, 6, 12+ AI Businesses) */
.hub-entries-section {
  padding: 6px 0 44px;
}

.hub-entries-head {
  max-width: 1040px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hub-entries-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hub-entries-title-wrap h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hub-entries-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
}

.hub-entries-donate {
  border: none;
  background: transparent;
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  transition: opacity 0.16s ease;
}

.hub-entries-donate:hover {
  opacity: 0.78;
}

/* Desktop Scalable 3-Column Compact Card Grid */
.hub-biz-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.hub-biz-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 15px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e6ebf2;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.035);
  text-decoration: none;
  text-align: left;
  color: inherit;
  width: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hub-biz-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.09);
  border-color: #93c5fd;
}

.hub-biz-card.is-muse:hover {
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.09);
  border-color: #a5b4fc;
}

.hub-biz-card.is-upcoming {
  background: rgba(248, 250, 252, 0.78);
  border: 1.5px dashed #d5dde8;
  box-shadow: none;
}

.hub-biz-card.is-upcoming:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.08);
}

.hbc-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.hbc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.hbc-icon-plus {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hbc-info {
  flex: 1;
  min-width: 0;
}

.hbc-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hbc-title-row h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.hbc-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

.hbc-tag.is-muse {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.hbc-tag.is-muted {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

.hbc-desc {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hbc-right {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.hbc-stock {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  white-space: nowrap;
}

.hbc-stock.has-stock {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hbc-stock.has-stock.is-muse {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.hbc-stock.is-muted {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.hbc-arrow {
  display: none;
}

.hbc-foot {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hbc-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hbc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.16s ease;
}

.hub-biz-card:hover .hbc-cta {
  background: #2563eb;
}

.hub-biz-card.is-muse:hover .hbc-cta.is-muse {
  background: #4f46e5;
}

.hbc-cta.is-muted {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.hub-biz-card.is-upcoming:hover .hbc-cta.is-muted {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 980px) {
  .hub-biz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile-ONLY (<= 768px):
   - Bold 3-Line Stacked Slot-Wheel Hero with Real Silky Vertical Motion (图3 Scale & Motion)
   - Full-Width Stacked Pill Buttons in Our Sky-Blue / Black Theme
   - True Horizontal Business Cards (横的框框)
   - Ultra-Concise App-Grade Community, Subpages & Footer (Zero Text Walls!)
   (Desktop > 768px is 100% untouched by everything inside this block.)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body.hub-page-body .container,
  body.relay-subpage-body .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* ── 1. Mobile Homepage (/): Bold Stacked Slot-Wheel Hero (Alipay Scale + Our Sky-Blue Theme) ── */
  .hero.hub-hero-stage {
    min-height: auto !important;
    padding: calc(var(--nav-h) + 28px) 20px 30px !important;
  }

  .hub-hero-stage::before {
    height: 320px;
    top: 40%;
  }

  .hub-hero-stage .creator-hero-pill {
    margin-bottom: 22px !important;
    padding: 3px 5px 3px 4px;
    gap: 6px;
  }

  .hub-hero-stage .creator-pill-role {
    display: none;
  }

  /* 3-Line Bold Vertical Hero matching 图3 typography scale & rhythm */
  .hub-hero-stage .hero-headline {
    flex-direction: column;
    font-size: 34px !important;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    gap: 6px !important;
  }

  /* Restore real silky vertical 3D slide + soft ghost fade animation on Mobile! */
  .hub-hero-stage .slot-wheel {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 62px !important;
    width: 230px !important;
    min-width: 230px !important;
    margin: 6px 0 !important;
    padding: 0 !important;
  }

  .hub-hero-stage .slot-item {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px !important;
    height: 52px;
    padding: 0 22px 0 12px !important;
    border-radius: 999px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.56s ease,
                filter 0.56s ease,
                box-shadow 0.56s ease !important;
  }

  .hub-hero-stage .slot-icon {
    width: 30px !important;
    height: 30px !important;
  }

  .hub-hero-stage .slot-item.is-active {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    filter: none !important;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
    border: 1.5px solid rgba(59, 130, 246, 0.34) !important;
    color: #1e40af !important;
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2), inset 0 1px 0 #ffffff !important;
    z-index: 3 !important;
  }

  .hub-hero-stage .slot-item.is-prev {
    transform: translate(-50%, calc(-50% - 44px)) scale(0.84) !important;
    opacity: 0.13 !important;
    filter: grayscale(0.7) blur(1px) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #64748b !important;
    z-index: 1 !important;
  }

  .hub-hero-stage .slot-item.is-next {
    transform: translate(-50%, calc(-50% + 44px)) scale(0.84) !important;
    opacity: 0.13 !important;
    filter: grayscale(0.7) blur(1px) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #64748b !important;
    z-index: 1 !important;
  }

  .hub-hero-stage .hub-hero-sub {
    display: block !important;
    margin: 18px auto 0 !important;
    max-width: 300px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
  }

  /* Full-width sleek stacked pill buttons matching 图3 */
  .hub-hero-stage .hub-hero-ctas {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    width: 100%;
    max-width: 336px;
    margin-top: 24px !important;
  }

  .hub-hero-stage .hub-hero-ctas .btn {
    width: 100%;
    height: 49px;
    padding: 0 20px;
    font-size: 15.5px;
    font-weight: 700;
    gap: 7px;
  }

  /* ── 2. Mobile Scalable Horizontal Business List (横的框框) ── */
  .hub-entries-section {
    padding: 12px 0 36px;
  }

  .hub-entries-head {
    margin-bottom: 12px;
  }

  .hub-entries-title-wrap h2 {
    font-size: 15px;
  }

  .hub-entries-donate {
    font-size: 12.5px;
  }

  .hub-biz-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hub-biz-card {
    flex-direction: row;
    align-items: center;
    padding: 14px 14px;
    border-radius: 18px;
    gap: 0;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.055);
  }

  .hub-biz-card.is-muse {
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.055);
  }

  .hub-biz-card.is-upcoming {
    padding: 11px 14px;
    border-radius: 16px;
    box-shadow: none;
  }

  .hbc-main {
    width: 100%;
    align-items: center;
    gap: 12px;
  }

  .hbc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .hbc-icon-plus {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hbc-title-row h3 {
    font-size: 15.5px;
  }

  .hbc-desc {
    margin-top: 3px;
    font-size: 12px;
  }

  .hbc-stock {
    font-size: 11px;
    padding: 4px 8px;
  }

  .hbc-arrow {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    color: #94a3b8;
    margin-left: 1px;
  }

  .hbc-foot {
    display: none;
  }

  /* ── 3. Mobile Community Section (图1: Ultra-Short Header + Side-by-Side QR Cards!) ── */
  body.hub-page-body .community-section {
    padding: 28px 0 36px;
    border-top: 1px solid #f1f5f9;
  }

  body.hub-page-body .community-shell {
    padding: 20px 14px;
    border-radius: 20px;
    gap: 16px;
  }

  body.hub-page-body .community-copy {
    text-align: center;
  }

  body.hub-page-body .community-eyebrow {
    display: none;
  }

  body.hub-page-body .community-copy .section-title {
    margin: 0 !important;
    font-size: 19px;
    line-height: 1.3;
  }

  body.hub-page-body .community-copy .section-desc {
    margin: 6px auto 0 !important;
    font-size: 12.5px;
    line-height: 1.5;
  }

  body.hub-page-body .community-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.hub-page-body .qr-card {
    padding: 12px 10px !important;
    border-radius: 16px !important;
  }

  body.hub-page-body .qr-card-head {
    margin-bottom: 8px;
    gap: 4px;
  }

  body.hub-page-body .qr-platform {
    font-size: 11px;
    padding: 2px 7px;
  }

  body.hub-page-body .qr-hint {
    font-size: 10.5px;
  }

  body.hub-page-body .qr-img-frame {
    padding: 6px !important;
    border-radius: 12px !important;
  }

  body.hub-page-body .qr-img-frame img {
    max-width: 126px !important;
    margin: 0 auto;
  }

  body.hub-page-body .qr-card-foot {
    margin-top: 8px;
    gap: 5px;
  }

  body.hub-page-body .qr-card-foot strong {
    font-size: 12.5px;
  }

  body.hub-page-body .qr-card-foot small {
    display: none;
  }

  body.hub-page-body .qq-direct-join-btn {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    margin-top: 2px;
  }

  body.hub-page-body .qr-action-row {
    gap: 5px;
  }

  body.hub-page-body .qq-copy-pill {
    padding: 5px 7px;
    font-size: 11px;
  }

  /* ── 4. Mobile Footer (图4: Hide 15-Link Desktop Sitemap -> Clean ~84px App Footer!) ── */
  body.hub-page-body .closing-wrap {
    padding: 0 18px 24px;
  }

  body.hub-page-body .footer-sheet {
    padding: 18px 16px !important;
    border-radius: 18px !important;
  }

  body.hub-page-body .footer-top {
    display: none !important;
  }

  body.hub-page-body .footer-mobile-mini {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 10px;
  }

  body.hub-page-body .fmm-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted);
  }

  body.hub-page-body .fmm-links a {
    color: var(--ink-soft);
    font-weight: 600;
  }

  body.hub-page-body .footer-bottom {
    padding-top: 0 !important;
    border-top: none !important;
    justify-content: center;
    text-align: center;
    font-size: 11.5px;
  }

  body.hub-page-body .footer-bottom-extra {
    display: none;
  }

  /* ── 5. Mobile Business Subpages (/xiaodou, /muse) — App-Grade Conciseness (图5)! ── */
  body.relay-subpage-body .biz-banner {
    display: none;
  }

  body.relay-subpage-body .biz-relay-section {
    padding: calc(var(--nav-h) + 14px) 0 24px !important;
  }

  body.relay-subpage-body .relay-split {
    gap: 16px !important;
  }

  body.relay-subpage-body .art-stage {
    padding: 12px;
    border-radius: 22px;
  }

  body.relay-subpage-body .glass-workspace {
    padding: 20px 16px;
    border-radius: 16px;
  }

  body.relay-subpage-body .stage-dock {
    display: none;
  }

  body.relay-subpage-body .claim-card-title {
    font-size: 20px;
    margin-top: 12px;
  }

  body.relay-subpage-body .claim-card-sub {
    font-size: 12.5px;
    margin: 5px 0 14px;
    line-height: 1.5;
  }

  body.relay-subpage-body .claim-highlights {
    gap: 8px;
    margin-bottom: 14px;
  }

  body.relay-subpage-body .ch-item {
    padding: 9px 6px;
    border-radius: 12px;
  }

  body.relay-subpage-body .ch-item strong {
    font-size: 14px;
  }

  body.relay-subpage-body .claim-donate-btn {
    height: 40px;
    font-size: 13px;
  }

  /* Collapse 680px text wall of '三步完成接力' + Rule Cards into ONE crisp 3-pill strip on Mobile! */
  body.relay-subpage-body .relay-guide-col .section-title,
  body.relay-subpage-body .relay-guide-col .section-desc,
  body.relay-subpage-body .relay-guide-col .rule-pair {
    display: none !important;
  }

  body.relay-subpage-body .guided-steps {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }

  body.relay-subpage-body .guided-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 6px !important;
    gap: 5px !important;
    border-radius: 14px !important;
  }

  body.relay-subpage-body .guided-step .step-num {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  body.relay-subpage-body .guided-step .step-body h3 {
    font-size: 11.5px !important;
    line-height: 1.3;
    justify-content: center;
  }

  body.relay-subpage-body .guided-step .step-body p,
  body.relay-subpage-body .guided-step .step-tag {
    display: none !important;
  }

  /* Concise Rescue Board, Capsule Pool, Guide & Unreturned Wall on Mobile */
  body.relay-subpage-body .rescue-section,
  body.relay-subpage-body .capsule-pool-section,
  body.relay-subpage-body .guide-section,
  body.relay-subpage-body .unreturned-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  body.relay-subpage-body .rescue-kicker {
    display: none;
  }

  body.relay-subpage-body .pool-light-left .section-desc,
  body.relay-subpage-body .light-loop-card,
  body.relay-subpage-body .pool-light-actions {
    display: none !important;
  }

  body.relay-subpage-body .pool-light-header {
    margin-bottom: 14px !important;
  }

  body.relay-subpage-body .guide-head .section-desc,
  body.relay-subpage-body .guide-shot-top p {
    display: none !important;
  }

  body.relay-subpage-body .guide-head {
    margin-bottom: 16px !important;
  }

  body.relay-subpage-body .guide-shot-top {
    padding: 12px 14px 10px !important;
  }

  body.relay-subpage-body .guide-shot-top h3 {
    font-size: 14px !important;
    margin: 5px 0 0 !important;
  }

  body.relay-subpage-body .unreturned-head .section-desc {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   v34: Concise Desktop Subpages (/xiaodou, /muse) & Polish
   ═══════════════════════════════════════════════════════════════════════ */
.qr-platform.is-wechat {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.biz-banner {
  padding: calc(var(--nav-h) + 14px) 0 10px;
}

.biz-banner-card {
  padding: 13px 18px;
  border-radius: 18px;
}

.biz-banner-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.biz-banner-title-row h1 {
  font-size: 19px;
}

.biz-banner-info p {
  margin-top: 2px;
  font-size: 12.5px;
}

body.relay-subpage-body .relay-split {
  align-items: center;
  gap: 44px;
}

body.relay-subpage-body .relay-guide-col .section-title {
  font-size: clamp(24px, 2.8vw, 32px);
}

body.relay-subpage-body .relay-guide-col .section-desc {
  margin-top: 6px;
  font-size: 14px;
}

body.relay-subpage-body .guided-steps {
  margin-top: 20px;
  gap: 10px;
}

body.relay-subpage-body .guided-step {
  padding: 13px 15px;
}

body.relay-subpage-body .guided-step .step-body p {
  margin-top: 3px;
  font-size: 13px;
}

.rule-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rule-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5eaf1;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.rule-chip i {
  font-style: normal;
  color: var(--accent);
}

@media (max-width: 768px) {
  body.relay-subpage-body .rule-chips {
    display: none !important;
  }
}
