    :root {
      --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", sans-serif;
    }
    [data-theme="midnight"] {
      --simulator-bg: #030712;
      --app-bg: #0f172a;
      --app-surface: #1e293b;
      --app-card: #27354f;
      --app-border: #334155;
      --app-text: #f8fafc;
      --app-sub: #94a3b8;
      --primary: #38bdf8;
      --primary-rgb: 56, 189, 248;
      --accent: #6366f1;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --frame-titanium: #334155;
      --frame-outer: #1e293b;
      --frame-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    [data-theme="daylight"] {
      --simulator-bg: #e2e8f0;
      --app-bg: #f8fafc;
      --app-surface: #ffffff;
      --app-card: #f1f5f9;
      --app-border: #cbd5e1;
      --app-text: #0f172a;
      --app-sub: #64748b;
      --primary: #0284c7;
      --primary-rgb: 2, 132, 199;
      --accent: #4f46e5;
      --success: #059669;
      --warning: #d97706;
      --danger: #dc2626;
      --frame-titanium: #94a3b8;
      --frame-outer: #cbd5e1;
      --frame-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
    }
    [data-theme="eyecare"] {
      --simulator-bg: #e6dfd3;
      --app-bg: #f4efe6;
      --app-surface: #faf6ee;
      --app-card: #ece5d8;
      --app-border: #d5cbba;
      --app-text: #2d261e;
      --app-sub: #756a5c;
      --primary: #b45309;
      --primary-rgb: 180, 83, 9;
      --accent: #854d0e;
      --success: #15803d;
      --warning: #b45309;
      --danger: #b91c1c;
      --frame-titanium: #b0a390;
      --frame-outer: #c8bcab;
      --frame-shadow: 0 25px 60px -15px rgba(60, 50, 40, 0.25), 0 0 0 1px rgba(60, 50, 40, 0.1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: var(--font-family);
      background-color: var(--simulator-bg);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px 16px 80px 16px;
      overflow-x: hidden;
      transition: background-color 0.3s;
    }

    /* 顶部仿真器介绍横幅 */
    .simulator-banner {
      margin-bottom: 20px;
      text-align: center;
    }
    .sim-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: 20px;
      background: rgba(var(--primary-rgb), 0.15);
      border: 1px solid var(--primary);
      color: var(--primary);
      font-size: 11px;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .sim-title {
      font-size: 18px;
      font-weight: 800;
      color: var(--app-text);
    }
    .sim-desc {
      font-size: 12px;
      color: var(--app-sub);
    }

    /* 手机机壳容器 */
    .device-shell {
      position: relative;
      width: 393px;
      height: 840px;
      background: var(--frame-outer);
      border-radius: 54px;
      padding: 12px;
      box-shadow: var(--frame-shadow);
      border: 4px solid var(--frame-titanium);
    }

    /* 侧边物理按键微模拟 */
    .btn-volume-up, .btn-volume-down, .btn-power {
      position: absolute;
      background: var(--frame-titanium);
      border-radius: 4px;
    }
    .btn-volume-up { left: -7px; top: 160px; width: 4px; height: 50px; }
    .btn-volume-down { left: -7px; top: 225px; width: 4px; height: 50px; }
    .btn-power { right: -7px; top: 190px; width: 4px; height: 75px; }

    /* 屏幕内层视口 */
    .device-screen {
      position: relative;
      width: 100%;
      height: 100%;
      background: var(--app-bg);
      border-radius: 42px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      color: var(--app-text);
      user-select: none;
    }

    /* 原生顶部状态栏与灵动岛 */
    .status-bar {
      height: 48px;
      padding: 0 26px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      font-weight: 600;
      z-index: 50;
      background: var(--app-bg);
    }
    .dynamic-island {
      position: absolute;
      left: 50%;
      top: 10px;
      transform: translateX(-50%);
      width: 120px;
      height: 30px;
      background: #000000;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
      color: #fff;
      font-size: 10px;
      z-index: 60;
      box-shadow: 0 2px 8px rgba(0,0,0,0.5);
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .island-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 6px var(--success);
    }
    .island-label {
      font-size: 9px;
      color: #94a3b8;
    }

    /* 内部导航栏 */
    .app-header {
      padding: 10px 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--app-surface);
      border-bottom: 1px solid var(--app-border);
    }
    .app-header-title {
      font-size: 16px;
      font-weight: 800;
      color: var(--app-text);
    }
    .theme-capsule-mini {
      display: flex;
      background: var(--app-card);
      border: 1px solid var(--app-border);
      border-radius: 16px;
      padding: 2px;
      gap: 2px;
    }
    .theme-capsule-mini button {
      border: none;
      background: transparent;
      padding: 3px 6px;
      font-size: 10px;
      font-weight: 600;
      border-radius: 12px;
      color: var(--app-sub);
      cursor: pointer;
    }
    .theme-capsule-mini button.active {
      background: var(--primary);
      color: #fff;
    }

    /* 内容滚动区域 */
    .app-viewport {
      flex: 1;
      overflow-y: auto;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      scrollbar-width: none;
    }
    .app-viewport::-webkit-scrollbar { display: none; }

    /* Tab 页面容器 */
    .tab-page {
      display: none;
      flex-direction: column;
      gap: 12px;
      animation: fadeIn 0.25s ease-out;
    }
    .tab-page.active {
      display: flex;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* 原生底部导航栏 */
    .native-tabbar {
      height: 64px;
      background: var(--app-surface);
      border-top: 1px solid var(--app-border);
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding-bottom: 8px;
      z-index: 50;
    }
    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      font-size: 10px;
      font-weight: 600;
      color: var(--app-sub);
      cursor: pointer;
      flex: 1;
      transition: all 0.2s;
    }
    .tab-item.active {
      color: var(--primary);
    }
    .tab-item-icon {
      font-size: 18px;
    }

    /* 底部 Home 横条 */
    .home-indicator {
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
      width: 130px;
      height: 4px;
      background: var(--app-sub);
      opacity: 0.5;
      border-radius: 3px;
    }

    /* 卡片通用样式 */
    .native-card {
      background: var(--app-surface);
      border: 1px solid var(--app-border);
      border-radius: 14px;
      padding: 14px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .card-title-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .card-title {
      font-size: 13px;
      font-weight: 700;
    }

    /* 环形进度仪表与概览指标 */
    .gauge-row {
      display: flex;
      justify-content: space-around;
      text-align: center;
      padding: 8px 0;
    }
    .gauge-val {
      font-size: 20px;
      font-weight: 800;
      color: var(--primary);
    }
    .gauge-label {
      font-size: 11px;
      color: var(--app-sub);
      margin-top: 2px;
    }

    /* 席位网格 */
    .vdi-mini-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      max-height: 420px;
      overflow-y: auto;
    }
    .vdi-mini-card {
      background: var(--app-card);
      border: 1px solid var(--app-border);
      border-radius: 10px;
      padding: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .vdi-mini-card:active {
      transform: scale(0.97);
    }
    .vdi-mini-title {
      font-size: 11px;
      font-weight: 700;
      display: flex;
      justify-content: space-between;
    }
    .vdi-mini-role {
      font-size: 10px;
      color: var(--app-sub);
      margin-top: 2px;
    }

    /* 外置三端切换浮动条 */
    .desktop-switcher {
      position: fixed;
      bottom: 16px;
      background: var(--app-surface);
      border: 1px solid var(--app-border);
      border-radius: 28px;
      padding: 8px 20px;
      display: flex;
      gap: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      z-index: 200;
    }
    .desktop-switcher a {
      color: var(--app-sub);
      text-decoration: none;
      font-size: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s;
    }
    .desktop-switcher a.active {
      color: var(--primary);
    }
