/* ==========================================================================
   Air 奥奇传说 · 高级极简官网视觉与响应式设计系统
   ========================================================================== */

:root {
  color-scheme: light;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Light Palette — Crisp Porcelain & Clear Sky */
  --bg: #f7f9fc;
  --bg-alt: #f1f5fb;
  --bg-elevated: #ffffff;
  --bg-subtle: #eff3f9;
  --bg-subtle-hover: #e5edf7;
  --glass: rgba(247, 249, 252, 0.82);
  --glass-border: rgba(15, 23, 42, 0.07);

  --text: #0f172a;
  --text-2: #475569;
  --text-3: #768599;

  --accent: #0a6cff;
  --accent-hover: #0056d8;
  --accent-soft: rgba(10, 108, 255, 0.09);
  --accent-soft-strong: rgba(10, 108, 255, 0.16);
  --accent-text: #0958cf;
  --accent-border: rgba(10, 108, 255, 0.25);
  --on-accent: #ffffff;

  --ok: #10b981;
  --ok-soft: rgba(16, 185, 129, 0.12);
  --ok-text: #047857;

  --border: rgba(15, 23, 42, 0.075);
  --border-strong: rgba(15, 23, 42, 0.13);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.025);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-accent: 0 8px 20px rgba(10, 108, 255, 0.2);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --container: 1160px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Desktop Control Panel Tokens */
  --rp-bg: #f4f6f9;
  --rp-surface: #ffffff;
  --rp-surface-2: #f9fafc;
  --rp-line: #e3e8ef;
  --rp-line-strong: #d2dae4;
  --rp-text: #1f2a37;
  --rp-text-2: #556578;
  --rp-text-3: #8b98a9;
  --rp-on-accent: #ffffff;
  --rp-accent: #087ac1;
  --rp-accent-hover: #0669a6;
  --rp-accent-soft: #e7f2fb;
  --rp-hover: #e9edf2;
  --rp-warn-bg: #fff6e8;
  --rp-warning: #945c12;
  --rp-danger: #c0392b;
  --rp-success: #237a46;

  /* Mobile Native UI Tokens */
  --mb-primary: #1f6fd1;
  --mb-on-primary: #ffffff;
  --mb-page: #f1f4f8;
  --mb-surface: #ffffff;
  --mb-neutral: #edf1f5;
  --mb-tonal: #dfeafb;
  --mb-on-tonal: #1559ad;
  --mb-text: #1b2733;
  --mb-body: #3a4756;
  --mb-hint: #7b8794;
  --mb-divider: #e3e8ee;
  --mb-amber: #b06a00;
  --mb-amber-bg: #fff3df;
  --mb-track-off: #c5ced8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0f17;
    --bg-alt: #0f1520;
    --bg-elevated: #121926;
    --bg-subtle: #182132;
    --bg-subtle-hover: #1f2b40;
    --glass: rgba(11, 15, 23, 0.82);
    --glass-border: rgba(255, 255, 255, 0.08);

    --text: #f1f5fb;
    --text-2: #a5b4c8;
    --text-3: #6e7f97;

    --accent: #3b8bff;
    --accent-hover: #5aa0ff;
    --accent-soft: rgba(59, 139, 255, 0.14);
    --accent-soft-strong: rgba(59, 139, 255, 0.22);
    --accent-text: #85bbff;
    --accent-border: rgba(90, 160, 255, 0.3);
    --on-accent: #ffffff;

    --ok-soft: rgba(16, 185, 129, 0.16);
    --ok-text: #34d399;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.44);
    --shadow-lg: 0 28px 66px rgba(0, 0, 0, 0.56);
    --shadow-accent: 0 8px 22px rgba(59, 139, 255, 0.26);

    --rp-bg: #20252d;
    --rp-surface: #292f39;
    --rp-surface-2: #252b34;
    --rp-line: #414955;
    --rp-line-strong: #576171;
    --rp-text: #e8edf4;
    --rp-text-2: #adb8c6;
    --rp-text-3: #8b98a9;
    --rp-on-accent: #10283e;
    --rp-accent: #75b9ff;
    --rp-accent-hover: #99caff;
    --rp-accent-soft: #29445d;
    --rp-hover: #343e4a;
    --rp-warn-bg: #3a3025;
    --rp-warning: #ffbd76;
    --rp-danger: #ff9797;
    --rp-success: #80d59c;

    --mb-primary: #7ab4ff;
    --mb-on-primary: #0b1f38;
    --mb-page: #14181d;
    --mb-surface: #1e242b;
    --mb-neutral: #2a313a;
    --mb-tonal: #1f3550;
    --mb-on-tonal: #a6ccff;
    --mb-text: #e7ebf0;
    --mb-body: #c4ccd6;
    --mb-hint: #8d98a5;
    --mb-divider: #2e353e;
    --mb-amber: #ffc069;
    --mb-amber-bg: #3a2c14;
    --mb-track-off: #4a5562;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0f17;
  --bg-alt: #0f1520;
  --bg-elevated: #121926;
  --bg-subtle: #182132;
  --bg-subtle-hover: #1f2b40;
  --glass: rgba(11, 15, 23, 0.82);
  --glass-border: rgba(255, 255, 255, 0.08);

  --text: #f1f5fb;
  --text-2: #a5b4c8;
  --text-3: #6e7f97;

  --accent: #3b8bff;
  --accent-hover: #5aa0ff;
  --accent-soft: rgba(59, 139, 255, 0.14);
  --accent-soft-strong: rgba(59, 139, 255, 0.22);
  --accent-text: #85bbff;
  --accent-border: rgba(90, 160, 255, 0.3);
  --on-accent: #ffffff;

  --ok-soft: rgba(16, 185, 129, 0.16);
  --ok-text: #34d399;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.44);
  --shadow-lg: 0 28px 66px rgba(0, 0, 0, 0.56);
  --shadow-accent: 0 8px 22px rgba(59, 139, 255, 0.26);

  --rp-bg: #20252d;
  --rp-surface: #292f39;
  --rp-surface-2: #252b34;
  --rp-line: #414955;
  --rp-line-strong: #576171;
  --rp-text: #e8edf4;
  --rp-text-2: #adb8c6;
  --rp-text-3: #8b98a9;
  --rp-on-accent: #10283e;
  --rp-accent: #75b9ff;
  --rp-accent-hover: #99caff;
  --rp-accent-soft: #29445d;
  --rp-hover: #343e4a;
  --rp-warn-bg: #3a3025;
  --rp-warning: #ffbd76;
  --rp-danger: #ff9797;
  --rp-success: #80d59c;

  --mb-primary: #7ab4ff;
  --mb-on-primary: #0b1f38;
  --mb-page: #14181d;
  --mb-surface: #1e242b;
  --mb-neutral: #2a313a;
  --mb-tonal: #1f3550;
  --mb-on-tonal: #a6ccff;
  --mb-text: #e7ebf0;
  --mb-body: #c4ccd6;
  --mb-hint: #8d98a5;
  --mb-divider: #2e353e;
  --mb-amber: #ffc069;
  --mb-amber-bg: #3a2c14;
  --mb-track-off: #4a5562;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Backdrop */
.ambient-bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(92px); }
.ambient-glow-blue {
  top: -220px; left: 50%; transform: translateX(-50%);
  width: min(1000px, 120vw); height: 480px;
  background: radial-gradient(ellipse at center, rgba(14, 132, 255, 0.12) 0%, rgba(14, 132, 255, 0.02) 56%, transparent 74%);
}
.ambient-glow-gold {
  top: -110px; left: calc(50% + 210px); width: 380px; height: 320px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.07) 0%, transparent 70%);
}
.ambient-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.32;
  -webkit-mask-image: radial-gradient(ellipse 75% 44% at 50% 0%, #000 10%, transparent 74%);
  mask-image: radial-gradient(ellipse 75% 44% at 50% 0%, #000 10%, transparent 74%);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 64px;
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
}
.site-header.scrolled {
  background: var(--glass);
  border-bottom-color: var(--glass-border);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; letter-spacing: -0.02em; flex: none; }
.brand-icon { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 2px 8px rgba(10, 108, 255, 0.16); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--text-2); transition: color 150ms ease, background 150ms ease;
}
.main-nav a:hover { color: var(--text); background: var(--bg-subtle); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.icon-btn:hover { background: var(--bg-subtle); color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn .icon-sun { display: none; }
.icon-btn .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .icon-moon { display: none; }
}
:root[data-theme="dark"] .icon-btn .icon-sun { display: block; }
:root[data-theme="dark"] .icon-btn .icon-moon { display: none; }

/* ==========================================================================
   Buttons & Segmented Switcher
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; line-height: 1; padding: 11px 20px;
  cursor: pointer; white-space: nowrap;
  transition: background 170ms var(--ease-out), border-color 170ms ease, color 170ms ease, transform 120ms ease, box-shadow 170ms ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn-sm { font-size: 13.5px; padding: 9px 15px; }
.btn-lg { font-size: 15px; padding: 13px 26px; min-height: 48px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-elevated); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: var(--bg-subtle); border-color: var(--accent-border); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); font-size: 13px; padding: 9px 14px; }
.btn-ghost:hover { background: var(--bg-subtle); color: var(--text); }

.segmented {
  display: inline-flex; align-items: center; padding: 4px; border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.seg-btn {
  border: none; background: transparent; color: var(--text-2);
  font-size: 13.5px; font-weight: 600; padding: 8px 18px; border-radius: 999px;
  cursor: pointer; white-space: nowrap; transition: background 160ms ease, color 160ms ease;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: var(--accent); color: var(--on-accent); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 56px 0 46px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-icon-stage { position: relative; margin-bottom: 18px; }
.hero-icon-halo {
  position: absolute; inset: -14px; border-radius: 28px;
  background: radial-gradient(circle, rgba(14, 132, 255, 0.24) 0%, rgba(245, 166, 35, 0.12) 55%, transparent 74%);
  filter: blur(16px);
}
.hero-app-icon {
  position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 19px;
  box-shadow: 0 16px 32px rgba(10, 108, 255, 0.19), 0 2px 6px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  font-size: 12.5px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }

.hero-title {
  margin: 0; font-size: clamp(2.15rem, 5vw, 3.85rem); font-weight: 700;
  line-height: 1.13; letter-spacing: -0.035em; color: var(--text);
}
.hero-title-accent {
  background: linear-gradient(128deg, var(--text) 6%, var(--accent-text) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  margin: 18px 0 0; max-width: 540px; font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.72; color: var(--text-2);
}
.hero-cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

.platform-strip {
  margin-top: 22px; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px; padding: 5px 8px; border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.strip-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  border: none; background: transparent; font-size: 13px; font-weight: 500; color: var(--text-2);
  cursor: pointer; transition: background 150ms ease, color 150ms ease;
}
.strip-item:hover { background: var(--bg-subtle); color: var(--text); }
.strip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
.strip-item.detected { color: var(--accent-text); background: var(--accent-soft); font-weight: 600; }
.strip-item.detected .strip-dot { background: var(--accent); }
.strip-sep { width: 1px; height: 12px; background: var(--border-strong); }

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-compact { padding: 54px 0 68px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.eyebrow {
  margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-text);
}
.section-title {
  margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.22; color: var(--text);
}
.section-desc { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }

/* ==========================================================================
   Section 1: Feature Exploration Workbench
   ========================================================================== */
.explore-header {
  position: relative; z-index: 30;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 22px;
}
.explore-header > div:first-child { max-width: 620px; }

.search-box { position: relative; z-index: 35; width: 310px; max-width: 100%; flex: none; }
.search-box svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--text-3); pointer-events: none;
}
.search-box input {
  width: 100%; height: 42px; padding: 0 14px 0 38px;
  border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--bg-elevated); font-size: 13.5px; color: var(--text);
  box-shadow: var(--shadow-xs); outline: none; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 6px;
  max-height: 320px; overflow-y: auto;
}
.search-result-item {
  width: 100%; text-align: left; border: none; background: transparent;
  padding: 9px 11px; border-radius: 9px; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px;
}
.search-result-item:hover { background: var(--bg-subtle); }
.search-result-item strong { font-size: 13px; color: var(--text); }
.search-result-item span { font-size: 11.5px; color: var(--text-3); }
.search-empty { padding: 12px; text-align: center; font-size: 12.5px; color: var(--text-3); }

.view-bar { margin-bottom: 18px; }

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.88fr);
  gap: 20px;
  align-items: start;
}
.workbench-stage { min-width: 0; }
.stage-view { display: none; }
.stage-view.active { display: block; animation: fadeIn 200ms var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Desktop Shell */
.desk-shell {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: var(--rp-bg);
}
.desk-win-chrome {
  height: 34px; padding: 0 14px;
  background: var(--rp-surface-2); border-bottom: 1px solid var(--rp-line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--rp-text-2);
}
.chrome-dots { display: flex; gap: 6px; width: 48px; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--rp-line-strong); }
.chrome-title { font-weight: 600; }
.chrome-spacer { width: 48px; }

/* Authentic Interactive Desktop Panel */
.real-panel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: 44px minmax(0, 1fr) auto;
  grid-template-areas: "header header" "nav main" "footer footer";
  height: 556px;
  background: var(--rp-bg);
  color: var(--rp-text);
  font-size: 13px;
  line-height: 1.55;
}
.rp-header {
  grid-area: header;
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  border-bottom: 1px solid var(--rp-line); background: var(--rp-bg);
}
.rp-brand-icon { width: 22px; height: 22px; border-radius: 5px; flex: none; }
.rp-version {
  font-size: 11px; font-variant-numeric: tabular-nums;
  color: var(--rp-text-2); background: var(--rp-surface);
  border: 1px solid var(--rp-line); border-radius: 5px; padding: 0 6px; line-height: 1.6;
}
.rp-heading { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.rp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.rp-nav {
  grid-area: nav;
  display: flex; flex-direction: column; gap: 3px; padding: 6px 0;
  background: var(--rp-bg); border-right: 1px solid var(--rp-line);
  overflow-y: auto; scrollbar-width: none;
}
.rp-nav::-webkit-scrollbar { display: none; }
.rp-nav-btn {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
  padding: 5px 0; min-height: 52px; flex-shrink: 0;
  background: transparent; border: 0; color: var(--rp-text-2);
  position: relative; font-size: 11px; cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.rp-nav-btn:hover { background: var(--rp-hover); color: var(--rp-text); }
.rp-nav-btn svg {
  width: 19px; height: 19px; stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.rp-nav-btn.active { color: var(--rp-accent); background: var(--rp-accent-soft); font-weight: 600; }
.rp-nav-btn.active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  background: var(--rp-accent); border-radius: 0 2px 2px 0;
}

.rp-main {
  grid-area: main;
  padding: 12px 14px 16px;
  overflow-y: auto;
  min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
}

.rp-footer {
  grid-area: footer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 30px; padding: 0 14px;
  background: var(--rp-accent); color: var(--rp-on-accent);
  font-size: 11.5px; white-space: nowrap; overflow: hidden;
}
.rp-footer[hidden] { display: none; }
.rp-status-progress { display: flex; align-items: center; gap: 14px; overflow: hidden; }
.rp-status-facts { font-weight: 600; flex: none; }

/* Real Panel Cards & Controls */
.rp-subtabs {
  display: inline-flex; align-self: flex-start; gap: 4px; padding: 3px;
  border-radius: 8px; background: var(--rp-surface); border: 1px solid var(--rp-line);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; flex-shrink: 0;
}
.rp-subtabs::-webkit-scrollbar { display: none; }
.rp-subtab {
  border: none; background: transparent; color: var(--rp-text-2);
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap;
}
.rp-subtab.active { background: var(--rp-accent-soft); color: var(--rp-accent); }

.rp-pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex-shrink: 0; }

.rp-card {
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; flex-shrink: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.rp-card:hover { border-color: var(--rp-line-strong); }
.rp-card.selected {
  border-color: var(--rp-accent);
  box-shadow: 0 0 0 2px var(--rp-accent-soft);
}
.rp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rp-card-title { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--rp-text); display: inline-flex; align-items: center; gap: 6px; }
.rp-action-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.rp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 12px; font-weight: 500; min-height: 28px; padding: 3px 10px;
  border-radius: 6px; border: 1px solid var(--rp-line-strong);
  background: var(--rp-surface); color: var(--rp-text); cursor: pointer; white-space: nowrap;
}
.rp-btn:hover { background: var(--rp-hover); }
.rp-btn-primary { background: var(--rp-accent); border-color: var(--rp-accent); color: var(--rp-on-accent); font-weight: 600; }
.rp-btn-primary:hover { background: var(--rp-accent-hover); }
.rp-btn-danger { color: var(--rp-danger); }
.rp-btn-xs { min-height: 25px; padding: 2px 9px; font-size: 11.5px; }

.rp-form { display: flex; flex-direction: column; gap: 8px; }
.rp-form-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rp-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.rp-field-inline { display: inline-flex; align-items: center; gap: 6px; }
.rp-label { font-size: 12.5px; color: var(--rp-text-2); }

.rp-select, .rp-input {
  font-size: 12px; height: 28px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--rp-line-strong); background: var(--rp-surface-2); color: var(--rp-text);
  font-variant-numeric: tabular-nums; max-width: 100%;
}
.rp-select { padding-right: 20px; }

.rp-switch {
  position: relative; width: 36px; height: 21px; border-radius: 999px;
  background: var(--rp-line-strong); border: none; padding: 0; cursor: pointer; flex: none;
  transition: background 150ms ease;
}
.rp-switch::before {
  content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px;
  border-radius: 50%; background: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  transition: transform 150ms ease;
}
.rp-switch.on { background: var(--rp-accent); }
.rp-switch.on::before { transform: translateX(15px); }

.rp-note { font-size: 12px; color: var(--rp-text-2); line-height: 1.55; }
.rp-note-mono {
  font-family: var(--font-mono); font-size: 11px; padding: 8px 10px; border-radius: 6px;
  background: var(--rp-surface-2); border: 1px solid var(--rp-line); color: var(--rp-text-2);
  white-space: pre-wrap; word-break: break-all;
}
.rp-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.rp-metric { padding: 7px 9px; border-radius: 7px; background: var(--rp-surface-2); border: 1px solid var(--rp-line); }
.rp-metric small { display: block; font-size: 11px; color: var(--rp-text-3); }
.rp-metric strong { display: block; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--rp-text); margin-top: 1px; }

.rp-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.rp-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--rp-text); cursor: pointer; user-select: none; }
.rp-check input { width: 14px; height: 14px; accent-color: var(--rp-accent); margin: 0; flex: none; }

.rp-tag { font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: var(--rp-accent-soft); color: var(--rp-accent); font-weight: 600; }
.rp-tag-ok { background: var(--ok-soft); color: var(--ok-text); }
.rp-tag-warn { background: var(--rp-warn-bg); color: var(--rp-warning); }

.rp-table-wrap { border: 1px solid var(--rp-line); border-radius: 7px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.rp-table th, .rp-table td { padding: 6px 7px; border-bottom: 1px solid var(--rp-line); text-align: left; white-space: nowrap; }
.rp-table th { color: var(--rp-text-3); font-weight: 600; background: var(--rp-surface-2); }
.rp-table tr:last-child td { border-bottom: none; }

/* ==========================================================================
   Web-Native Client Window (All 11 In-Game Enhancements)
   ========================================================================== */
.native-game-window {
  display: flex;
  flex-direction: column;
}
.ngw-toolbar {
  min-height: 38px;
  padding: 5px 12px;
  background: var(--rp-surface-2);
  border-bottom: 1px solid var(--rp-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ngw-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ngw-app-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex: none;
}
.ngw-win-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--rp-text);
  white-space: nowrap;
}
.ngw-scene-tag {
  font-size: 11px;
  color: var(--rp-text-2);
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.ngw-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
}
.ngw-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--rp-line-strong);
  background: var(--rp-surface);
  color: var(--rp-text);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.ngw-tool-btn:hover {
  background: var(--rp-hover);
}
.ngw-tool-btn.active {
  background: var(--rp-accent-soft);
  border-color: var(--rp-accent);
  color: var(--rp-accent);
}
.ngw-tool-btn svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.ngw-tool-btn.spinning svg {
  animation: ngwSpin 650ms linear infinite;
}
@keyframes ngwSpin {
  to { transform: rotate(360deg); }
}

.ngw-viewport {
  position: relative;
  background: #0d131d;
  aspect-ratio: 1200 / 700;
  overflow: hidden;
}
.ngw-canvas-wrap {
  position: absolute;
  inset: 0;
}
.ngw-canvas-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ngw-toast-pill {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  z-index: 8;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 19, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f4f8ff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}
.ngw-toast-pill[hidden] {
  display: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 18, 28, 0.64);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 140ms ease;
}
.gallery-arrow:hover { background: rgba(12, 18, 28, 0.88); }
.gallery-arrow:active { transform: translateY(-50%) scale(0.95); }
.gallery-arrow svg { width: 17px; height: 17px; }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }

/* 11-Item Horizontal Switcher Strip */
.ngw-strip {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: var(--rp-surface);
  border-top: 1px solid var(--rp-line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ngw-strip-item {
  flex: 0 0 112px;
  padding: 0;
  border: 1.5px solid var(--rp-line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--rp-surface-2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: border-color 150ms ease, transform 140ms ease, box-shadow 150ms ease;
}
.ngw-strip-item:hover {
  transform: translateY(-1px);
  border-color: var(--rp-line-strong);
}
.ngw-strip-item.active {
  border-color: var(--rp-accent);
  box-shadow: 0 0 0 2px var(--rp-accent-soft);
}
.ngw-strip-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101724;
}
.ngw-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ngw-strip-num {
  position: absolute;
  left: 5px;
  top: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(10, 16, 26, 0.72);
  color: #f3f7ff;
  font-size: 9.5px;
  font-family: var(--font-mono);
  font-weight: 700;
}
.ngw-strip-label {
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--rp-text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--rp-surface);
}
.ngw-strip-item.active .ngw-strip-label {
  color: var(--rp-accent);
}

/* ==========================================================================
   100% Web-Native Interactive Formation Window (Theme-Synced)
   ========================================================================== */
.nf-window {
  display: flex;
  flex-direction: column;
  background: var(--rp-bg);
  color: var(--rp-text);
  font-size: 12.5px;
}
.nf-header {
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--rp-line);
  background: var(--rp-bg);
}
.nf-header .rp-version {
  margin-left: auto;
}
.nf-body {
  display: grid;
  grid-template-columns: minmax(175px, 31%) minmax(0, 1fr);
  min-height: 516px;
}
.nf-source {
  padding: 12px;
  border-right: 1px solid var(--rp-line);
  background: var(--rp-surface);
  display: flex;
  flex-direction: column;
  gap: 9px;
  cursor: pointer;
}
.nf-source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.nf-source-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
.nf-drop-zone {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rp-line-strong);
  background: var(--rp-surface-2);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.nf-drop-zone:hover,
.nf-source.selected .nf-drop-zone {
  border-color: var(--rp-accent);
  box-shadow: 0 0 0 2px var(--rp-accent-soft);
}
.nf-drop-zone img {
  width: 100%;
  height: auto;
  display: block;
}
.nf-hint {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--rp-text-2);
}
.nf-source-status {
  margin-top: auto;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--rp-surface-2);
  border: 1px solid var(--rp-line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--rp-text-2);
  font-variant-numeric: tabular-nums;
}

.nf-main {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.nf-control-card {
  padding: 10px 12px;
  gap: 8px;
}
.nf-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.nf-select-row .rp-select {
  height: 26px;
  font-size: 11.5px;
}
.nf-apply-feedback {
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--ok-soft);
  color: var(--ok-text);
  font-size: 11.5px;
  font-weight: 600;
}
.nf-apply-feedback[hidden] {
  display: none;
}

.nf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.nf-slot {
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: 9px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.nf-slot:hover {
  border-color: var(--rp-line-strong);
}
.nf-slot.is-lead {
  border-color: var(--rp-accent);
}
.nf-slot.is-missing {
  background: var(--rp-warn-bg);
}
.nf-slot.is-empty {
  background: var(--rp-surface-2);
}
.nf-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.nf-pos {
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--rp-text-3);
}
.nf-slot-act {
  border: 1px solid var(--rp-line-strong);
  background: var(--rp-surface-2);
  color: var(--rp-text-2);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.nf-slot-act:hover {
  color: var(--rp-accent);
  border-color: var(--rp-accent);
}
.nf-slot-body {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}
.nf-avatar {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--rp-line);
  flex: none;
}
.nf-slot-text {
  min-width: 0;
  flex: 1;
}
.nf-pet-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--rp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nf-slot.is-empty .nf-pet-name {
  color: var(--rp-text-3);
  font-weight: 600;
}
.nf-slot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}
.nf-state-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 0 5px;
  border-radius: 4px;
  line-height: 1.6;
  white-space: nowrap;
}
.nf-state-pill.ok { background: var(--ok-soft); color: var(--ok-text); }
.nf-state-pill.warn { background: rgba(217, 119, 6, 0.16); color: var(--rp-warning); }
.nf-state-pill.role { background: var(--rp-accent-soft); color: var(--rp-accent); }

/* ==========================================================================
   Right Column: Focus Feature Card (Zero Compression, Always Complete)
   ========================================================================== */
.workbench-detail {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  min-height: 590px;
}
.detail-top {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--border);
  flex: none;
}
.detail-heading {
  margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text);
}
.detail-summary {
  margin: 7px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--text-2);
}
.detail-chips {
  margin-top: 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.detail-chip {
  border: 1px solid var(--border); background: var(--bg-subtle); color: var(--text-2);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.detail-chip:hover { color: var(--text); border-color: var(--border-strong); }
.detail-chip.active {
  background: var(--accent); color: var(--on-accent); border-color: var(--accent);
}

.detail-card {
  flex: 1 0 auto;
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.detail-card-title {
  font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; color: var(--text);
}
.detail-card-what {
  margin: 0; font-size: 14px; line-height: 1.68; color: var(--text); font-weight: 500;
}
.detail-bullets {
  margin: 4px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.detail-bullets li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; line-height: 1.65; color: var(--text-2);
}
.detail-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.detail-footer {
  padding: 13px 22px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex: none;
}
.detail-counter { font-size: 12.5px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.detail-pager { display: flex; gap: 8px; }
.pager-btn {
  border: 1px solid var(--border-strong); background: var(--bg-subtle); color: var(--text);
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.pager-btn:hover { background: var(--bg-subtle-hover); border-color: var(--accent-border); }

/* ==========================================================================
   Section 2: Mobile Offline Native UI Styles
   ========================================================================== */
.mobile-controls { margin-bottom: 20px; }
.mobile-stage { display: flex; flex-direction: column; align-items: center; }
.mobile-pane { display: none; width: 100%; max-width: 840px; }
.mobile-pane.active { display: block; animation: fadeIn 200ms var(--ease-out); }

.device-frame {
  width: 100%; border-radius: 26px; padding: 11px;
  background: #141922; border: 2px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-lg); position: relative;
}
.device-phone { max-width: 760px; margin: 0 auto; border-radius: 32px; padding: 10px 13px; }
.phone-notch {
  position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 70px; border-radius: 999px; background: #070a0f; z-index: 4;
}
.device-ipad, .device-android { margin: 0 auto; }

.mob-backdrop {
  position: relative; border-radius: 20px; overflow: hidden; padding: 16px 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(59, 139, 255, 0.24), transparent 55%),
    linear-gradient(145deg, rgba(13, 22, 38, 0.94), rgba(18, 32, 56, 0.94));
  min-height: 344px; display: flex; align-items: center; justify-content: center;
}
.mob-card {
  width: 100%; border-radius: 20px; overflow: hidden;
  background: var(--mb-page); color: var(--mb-text);
  border: 1px solid var(--mb-divider);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  font-size: 12.5px;
}
.mob-ios-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); min-height: 312px; }

.mob-rail {
  padding: 8px 6px 10px 10px; border-right: 1px solid var(--mb-divider);
  display: flex; flex-direction: column; gap: 6px; background: var(--mb-page);
}
.mob-rail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mob-compact-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 6px; border-radius: 9px;
  background: var(--mb-neutral); color: var(--mb-text);
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.mob-rail-list { display: flex; flex-direction: column; gap: 3px; }
.mob-rail-item {
  padding: 7px 10px; border-radius: 10px; font-size: 12px; font-weight: 600;
  color: var(--mb-body); cursor: pointer; border: none; background: transparent; text-align: left;
}
.mob-rail-item.active { background: var(--mb-tonal); color: var(--mb-on-tonal); }

.mob-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mob-seg-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: var(--mb-neutral); }
.mob-seg { text-align: center; padding: 5px 4px; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: var(--mb-body); white-space: nowrap; }
.mob-seg.active { background: var(--mb-primary); color: var(--mb-on-primary); }

.mob-surface-card {
  background: var(--mb-surface); border: 1px solid var(--mb-divider);
  border-radius: 14px; padding: 11px 13px; display: flex; flex-direction: column; gap: 8px;
}
.mob-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mob-card-head strong { font-size: 13px; color: var(--mb-text); }
.mob-card-note { font-size: 11.5px; color: var(--mb-hint); }
.mob-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 9px; background: var(--mb-primary); color: var(--mb-on-primary);
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.mob-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--mb-body); min-height: 28px; }
.mob-switch { width: 40px; height: 24px; border-radius: 999px; background: var(--mb-track-off); position: relative; flex: none; }
.mob-switch::before {
  content: ""; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.mob-switch.on { background: var(--mb-primary); }
.mob-switch.on::before { transform: translateX(16px); }
.mob-select { padding: 4px 10px; border-radius: 8px; background: var(--mb-neutral); color: var(--mb-text); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.mob-gear-fab {
  position: absolute; right: 10px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(20, 26, 34, 0.8); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* iPad Formation */
.mob-ipad-formation { display: flex; flex-direction: column; padding: 10px 12px; gap: 10px; }
.mob-tool-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mob-tool-header strong { font-size: 14px; }
.mob-tool-spacer { flex: 1; }
.mob-form-split { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.mob-form-left { display: flex; flex-direction: column; gap: 8px; }
.mob-photo-box {
  flex: 1; border-radius: 14px; padding: 12px;
  background: linear-gradient(155deg, #13223c, #1a335c); color: #e2eeff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.mob-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mob-photo-grid span {
  aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-family: var(--font-mono); font-weight: 700;
  background: rgba(59, 139, 255, 0.26); border: 1px solid rgba(133, 187, 255, 0.36);
}
.mob-photo-grid span.lead { background: rgba(245, 158, 11, 0.3); border-color: rgba(251, 191, 36, 0.6); }
.mob-photo-grid span.empty { background: rgba(255, 255, 255, 0.04); border-style: dashed; border-color: rgba(255, 255, 255, 0.16); }
.mob-photo-label { font-size: 11px; text-align: center; opacity: 0.85; }
.mob-progress-line { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--mb-hint); }
.mob-bar { height: 5px; border-radius: 999px; background: var(--mb-divider); overflow: hidden; }
.mob-bar i { display: block; height: 100%; background: var(--mb-primary); }

.mob-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.mob-cell {
  background: var(--mb-surface); border: 1px solid var(--mb-divider); border-radius: 11px;
  padding: 8px 9px; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.mob-cell span { font-size: 10px; font-family: var(--font-mono); color: var(--mb-hint); }
.mob-cell strong { font-size: 12px; color: var(--mb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-cell em { font-style: normal; font-size: 10.5px; color: var(--mb-primary); font-weight: 600; }
.mob-cell.lead { border-color: var(--mb-primary); }
.mob-cell.missing { background: var(--mb-amber-bg); }
.mob-cell.missing em { color: var(--mb-amber); }
.mob-cell.empty { background: var(--mb-neutral); opacity: 0.78; }
.mob-cell.empty em { color: var(--mb-hint); }
.mob-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mob-footer-group { display: flex; gap: 6px; flex-wrap: wrap; }

/* Android Scene */
.mob-android-scene {
  border-radius: 18px; overflow: hidden; min-height: 344px;
  background: linear-gradient(145deg, #101d35, #182f54);
  display: grid; grid-template-columns: minmax(200px, 0.88fr) minmax(0, 1.35fr); gap: 14px;
  padding: 16px; align-items: stretch;
}
.mob-android-game {
  position: relative; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 34, 0.45); padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 14px;
}
.android-game-badge {
  font-size: 11px; color: rgba(226, 238, 255, 0.85);
  background: rgba(255, 255, 255, 0.1); padding: 4px 10px; border-radius: 999px;
}
.android-dpad {
  display: grid; grid-template-columns: repeat(3, 38px); grid-template-rows: repeat(3, 38px); gap: 4px;
  align-self: center;
}
.dpad-key, .dpad-drag {
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9); font-size: 12px;
}
.dpad-drag { border-radius: 50%; background: rgba(59, 139, 255, 0.32); border-color: rgba(133, 187, 255, 0.5); }
.android-float-ball {
  align-self: flex-end; padding: 5px 11px; border-radius: 999px;
  background: rgba(31, 111, 209, 0.88); color: #fff; font-size: 11px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.mob-android-drawer { display: grid; grid-template-columns: 114px minmax(0, 1fr); }
.mob-action-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* ==========================================================================
   Section 3: Clean 4-Platform Downloads
   ========================================================================== */
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.platform-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 15px;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease;
}
.platform-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.platform-card.is-current { border-color: var(--accent-border); }
.platform-card.is-highlighted { animation: focusPulse 950ms var(--ease-out); }
@keyframes focusPulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 108, 255, 0.32); border-color: var(--accent); }
  55% { box-shadow: 0 0 0 10px rgba(10, 108, 255, 0); border-color: var(--accent); }
  100% { box-shadow: var(--shadow-sm); }
}

.platform-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.platform-identity { display: flex; align-items: center; gap: 13px; }
.platform-icon-box {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--bg-subtle); border: 1px solid var(--border); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.platform-card.is-current .platform-icon-box { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-text); }
.platform-icon-box svg { width: 22px; height: 22px; }
.platform-name { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.platform-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--text-3); }

.card-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: var(--bg-subtle); color: var(--text-2); border: 1px solid var(--border);
}
.pill-accent { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }

.platform-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 13px;
  border-radius: 11px; background: var(--bg-subtle);
  font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums;
}
.meta-key { font-style: normal; color: var(--text-3); margin-right: 4px; }
.platform-desc { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--text-2); }

.platform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.platform-actions .btn-primary { flex: 1 1 180px; min-height: 44px; font-size: 14px; }
.platform-actions .btn-secondary { min-height: 44px; font-size: 13.5px; }

.platform-extra-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mini-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-subtle); color: var(--text-2);
  font-size: 12px; font-weight: 500; cursor: pointer;
}
.mini-link:hover { border-color: var(--accent-border); color: var(--accent-text); }

.release-notes-box { border-top: 1px solid var(--border); padding-top: 11px; }
.release-notes-box summary {
  cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; justify-content: space-between;
}
.release-notes-box summary::-webkit-details-marker { display: none; }
.release-notes-box summary::after { content: "查看更新内容"; font-size: 12px; color: var(--accent-text); }
.release-notes-box[open] summary::after { content: "收起"; }
.release-notes-body {
  margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: var(--bg-subtle); font-size: 12.5px; line-height: 1.65; color: var(--text-2);
  white-space: pre-wrap; max-height: 210px; overflow-y: auto;
}

/* ==========================================================================
   Section 1.5: Embedded Bilibili Fluency Video
   ========================================================================== */
.video-card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0f18;
  overflow: hidden;
}
.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0a0f18;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}
.video-facade:hover .video-poster {
  transform: scale(1.02);
}
.video-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 12, 22, 0.16) 0%, rgba(8, 12, 22, 0.42) 100%);
  transition: background 200ms ease;
}
.video-facade:hover .video-scrim {
  background: radial-gradient(circle at center, rgba(8, 12, 22, 0.08) 0%, rgba(8, 12, 22, 0.34) 100%);
}
.video-play-btn {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms var(--ease-out), background 180ms ease, border-color 180ms ease;
}
.video-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 2px;
}
.video-facade:hover .video-play-btn {
  transform: scale(1.08);
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.75);
}
.video-facade:active .video-play-btn {
  transform: scale(0.98);
}
.video-bar {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.video-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.video-ext-link:hover {
  background: var(--bg-subtle-hover);
  border-color: var(--accent-border);
  color: var(--accent-text);
}
.video-ext-link svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Section 4: Compact Equal-Tier 15 Player QQ Groups & Creator Channels
   ========================================================================== */
.community-panel {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.community-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.community-sub { margin: 0; max-width: 440px; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

.qq-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.qq-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  height: 40px; padding: 0 11px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--bg-subtle);
  cursor: pointer; text-align: left; min-width: 0;
  transition: background 140ms ease, border-color 140ms ease, transform 120ms ease;
}
.qq-chip:hover { background: var(--bg-subtle-hover); border-color: var(--accent-border); transform: translateY(-1px); }
.qq-chip:active { transform: scale(0.985); }
.qq-chip.copied { border-color: rgba(16, 185, 129, 0.45); background: var(--ok-soft); }

.qq-chip-left { display: flex; align-items: center; gap: 6px; min-width: 0; }
.qq-idx {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 5px; flex: none;
}
.qq-num {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qq-copy-svg { width: 13px; height: 13px; color: var(--text-3); flex: none; }
.qq-chip:hover .qq-copy-svg { color: var(--accent-text); }
.qq-chip.copied .qq-copy-svg { color: var(--ok-text); }

.creator-channels {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.creator-title {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  min-width: 0;
  transition: background 150ms ease, border-color 150ms ease, transform 140ms ease;
}
.social-card:hover {
  background: var(--bg-subtle-hover);
  border-color: var(--accent-border);
  transform: translateY(-1px);
}
.social-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.social-icon-box svg {
  width: 19px;
  height: 19px;
}
.social-bilibili .social-icon-box {
  background: rgba(251, 114, 153, 0.14);
  color: #e54d7d;
}
.social-douyin .social-icon-box {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .social-bilibili .social-icon-box {
    background: rgba(251, 114, 153, 0.18);
    color: #ff8aad;
  }
  :root:not([data-theme="light"]) .social-douyin .social-icon-box {
    background: rgba(255, 255, 255, 0.11);
    color: #f1f5fb;
  }
}
:root[data-theme="dark"] .social-bilibili .social-icon-box {
  background: rgba(251, 114, 153, 0.18);
  color: #ff8aad;
}
:root[data-theme="dark"] .social-douyin .social-icon-box {
  background: rgba(255, 255, 255, 0.11);
  color: #f1f5fb;
}
.social-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.social-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.social-arrow svg {
  width: 13px;
  height: 13px;
}
.social-card:hover .social-arrow {
  color: var(--accent-text);
  border-color: var(--accent-border);
  transform: translate(1px, -1px);
}

/* ==========================================================================
   Footer, Toast & Reveal
   ========================================================================== */
.site-footer { padding: 32px 0 46px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: flex-start; gap: 11px; max-width: 540px; }
.footer-icon { width: 24px; height: 24px; border-radius: 6px; margin-top: 2px; flex: none; }
.footer-name { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.footer-ver {
  font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px;
  background: var(--bg-subtle); color: var(--text-2); font-variant-numeric: tabular-nums;
}
.footer-note { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.footer-links a:hover { color: var(--accent-text); }

.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom));
  transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  background: rgba(15, 23, 42, 0.94); color: #f8fafc;
  padding: 10px 17px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28); font-size: 13px; font-weight: 500;
  max-width: calc(100vw - 32px); text-align: center;
  transition: opacity 150ms ease, transform 170ms var(--ease-out); z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.noscript-note { grid-column: 1 / -1; padding: 16px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border); }

/* ==========================================================================
   Responsive — Tablet & Mobile First-Class Polish
   ========================================================================== */
@media (max-width: 1024px) {
  .workbench { grid-template-columns: 1fr; }
  .workbench-detail { min-height: 0; }
  .qq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .platform-grid { grid-template-columns: 1fr; }

  /* Transform Desktop Panel Side Rail into Horizontal Scrollable Top Bar on Mobile */
  .real-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 42px auto minmax(0, 1fr) auto;
    grid-template-areas: "header" "nav" "main" "footer";
    height: 490px;
  }
  .rp-nav {
    flex-direction: row;
    padding: 5px 8px;
    gap: 4px;
    border-right: none;
    border-bottom: 1px solid var(--rp-line);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .rp-nav-btn {
    flex-direction: row;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 8px;
    gap: 5px;
    font-size: 12px;
  }
  .rp-nav-btn svg { width: 15px; height: 15px; }
  .rp-nav-btn.active::before { display: none; }

  /* Native formation & in-game overlays adapt cleanly on tablets/phones */
  .nf-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .nf-source {
    border-right: none;
    border-bottom: 1px solid var(--rp-line);
  }
  .nf-drop-zone img {
    max-height: 170px;
    object-fit: cover;
  }

  /* Mobile UI Showcase adapts cleanly to phone width */
  .mob-form-split,
  .mob-android-scene { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .site-header { height: 58px; }
  .brand-name { font-size: 15px; }
  .btn-sm { padding: 8px 13px; font-size: 13px; }

  .hero { padding: 34px 0 28px; }
  .hero-app-icon { width: 68px; height: 68px; border-radius: 17px; }
  .hero-cta-row { width: 100%; flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .platform-strip { border-radius: 16px; padding: 6px; gap: 4px; }
  .strip-sep { display: none; }
  .strip-item { padding: 5px 10px; font-size: 12.5px; }

  .section { padding: 48px 0; }
  .section-compact { padding: 40px 0 52px; }
  .search-box { width: 100%; }
  .segmented { display: flex; width: 100%; }
  .seg-btn { flex: 1 1 0; padding: 8px 8px; font-size: 12.5px; text-align: center; }

  .rp-pair-grid, .rp-check-grid { grid-template-columns: 1fr; }
  .rp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-footer { font-size: 11px; padding: 0 10px; }
  .rp-status-facts { display: none; }

  /* Native Client Window mobile adaptation */
  .ngw-toolbar { padding: 6px 10px; }
  .ngw-toolbar .chrome-dots,
  .ngw-scene-tag { display: none; }
  .ngw-tool-btn { height: 26px; padding: 0 7px; font-size: 11px; }
  .ngw-strip-item { flex: 0 0 104px; }

  /* Native Formation mobile 3x3 compact grid */
  .nf-grid { gap: 6px; }
  .nf-slot { padding: 6px; gap: 4px; }
  .nf-slot-body { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; }
  .nf-avatar { width: 34px; height: 34px; }
  .nf-pet-name { font-size: 11px; }
  .nf-slot-act { padding: 1px 4px; font-size: 9.5px; }

  .gallery-arrow { width: 30px; height: 30px; }
  .gallery-arrow.prev { left: 8px; }
  .gallery-arrow.next { right: 8px; }

  .detail-top, .detail-card { padding: 16px; }
  .detail-footer { padding: 12px 16px; }

  /* Strip heavy outer bezel on narrow phones so preview stays crisp and zero-overflow */
  .device-frame, .device-phone {
    padding: 0; border: none; background: transparent; box-shadow: none; border-radius: 18px;
  }
  .phone-notch, .mob-gear-fab { display: none; }
  .mob-backdrop { padding: 10px; border-radius: 18px; min-height: 0; overflow: visible; }
  .mob-card { border-radius: 16px; }
  .mob-ios-card, .mob-android-drawer { grid-template-columns: 92px minmax(0, 1fr); min-height: 280px; }
  .mob-rail { padding: 6px 4px 8px 6px; }
  .mob-rail-actions { grid-template-columns: 1fr; gap: 4px; }
  .mob-compact-btn { font-size: 10.5px; padding: 5px 4px; }
  .mob-rail-item { padding: 6px 7px; font-size: 11.5px; }
  .mob-body { padding: 10px; gap: 8px; }
  .mob-seg { font-size: 10.5px; padding: 5px 2px; }
  .mob-surface-card { padding: 9px 10px; }
  .mob-row { font-size: 11.5px; }
  .mob-select { font-size: 10.5px; padding: 4px 7px; }
  .mob-photo-grid { max-width: 144px; margin: 0 auto; }
  .mob-form-grid { gap: 5px; }
  .mob-cell { padding: 6px; border-radius: 9px; }
  .mob-cell strong { font-size: 11px; }
  .mob-android-scene { padding: 10px; gap: 10px; border-radius: 18px; }

  .platform-card { padding: 18px; gap: 13px; }
  .video-card { border-radius: 16px; }
  .video-bar { padding: 12px 14px; }
  .video-title { font-size: 13px; }
  .video-ext-link { width: 100%; justify-content: center; }
  .community-panel { padding: 20px 16px; border-radius: 18px; }
  .qq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .qq-chip { height: 38px; padding: 0 9px; }
  .qq-idx { font-size: 10.5px; padding: 1px 4px; }
  .qq-num { font-size: 12px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .social-card { padding: 10px; gap: 7px; }
  .social-icon-box { width: 28px; height: 28px; border-radius: 8px; }
  .social-icon-box svg { width: 16px; height: 16px; }
  .social-name { font-size: 13px; }
  .social-arrow { width: 22px; height: 22px; }
  .social-arrow svg { width: 11px; height: 11px; }
}
