:root {
      --bg: #F8F9FC;
      --card-bg: #FFFFFF;
      --card-border: rgba(226, 232, 240, 0.85);
      --text-title: #334155;
      --text-body: #5B6B80;
      --text-sub: #718096;
      --text-muted: #94A3B8;
      --spotlight-color: rgba(0, 112, 243, 0.08);
      --badge-bg: rgba(241, 245, 249, 0.9);
      --badge-border: rgba(226, 232, 240, 0.9);
      --blue: #0070F3;
      --green: #10B981;
      --light-green: #34D399;
      --purple: #7C3AED;
      --amber: #D97706;
      --cyan: #0284C7;
      --rose: #E11D48;
      --prog-track: #E2E8F0;
    }

    body[data-theme="dark"] {
      --bg: #090D16;
      --card-bg: #111827;
      --card-border: rgba(255, 255, 255, 0.08);
      --text-title: #E2E8F0;
      --text-body: #B6C2D2;
      --text-sub: #8FA0B5;
      --text-muted: #64748B;
      --spotlight-color: rgba(0, 223, 216, 0.1);
      --badge-bg: rgba(30, 41, 59, 0.8);
      --badge-border: rgba(255, 255, 255, 0.1);
      --prog-track: #1E293B;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif;
      background-color: var(--bg);
      color: var(--text-title);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      padding: 32px 24px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      transition: background-color 0.3s ease, color 0.3s ease;
      position: relative;
    }

    /* 暗黑模式「暗流环境网格」(Cyber Ambient Mesh) */
    body[data-theme="dark"]::before {
      content: "";
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
      background-size: 32px 32px;
      mask-image: radial-gradient(circle 600px at var(--global-mouse-x, 50%) var(--global-mouse-y, 30%), black 10%, transparent 80%);
      -webkit-mask-image: radial-gradient(circle 600px at var(--global-mouse-x, 50%) var(--global-mouse-y, 30%), black 10%, transparent 80%);
      pointer-events: none;
      z-index: 0;
    }
    @supports not (mask-image: radial-gradient(circle, black, transparent)) {
      body[data-theme="dark"]::before {
        -webkit-mask-image: none;
        mask-image: none;
        opacity: 0.32;
      }
    }
    body.modal-open { overflow: hidden; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 24px;
      position: relative;
      z-index: 2;
    }

    /* 1. 页头与自由形态彩虹标识：控制品牌区、时钟和主题按钮的稳定排版 */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      flex-wrap: wrap;
      gap: 16px;
    }
    .brand { display: flex; align-items: center; gap: 14px; }

    .brand-logo-freeform {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      filter: drop-shadow(0 6px 14px rgba(255, 0, 128, 0.22)) drop-shadow(0 2px 8px rgba(0, 153, 255, 0.28));
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .brand-logo-freeform:hover { transform: scale(1.08) rotate(-2deg); }
    .brand-logo-freeform svg { width: 100%; height: 100%; overflow: visible; }

    .brand-text h1 { font-size: 17px; font-weight: 680; letter-spacing: 0.7px; color: var(--text-title); line-height: 1.2; }
    .brand-text p { font-size: 10px; color: var(--text-muted); font-weight: 700; letter-spacing: 1.6px; margin-top: 1px; }

    .nav-right { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-sub); flex-wrap: wrap; }
    .nav-right > div, #liveClock { white-space: nowrap; }
    .live-clock { display: inline-flex; align-items: center; gap: 7px; padding-left: 14px; position: relative; font-variant-numeric: tabular-nums; }
    .live-clock::before { content: ""; position: absolute; left: 0; width: 1px; height: 20px; background: var(--card-border); }
    .clock-orbit { width: 18px; height: 18px; border: 1px solid var(--badge-border); border-radius: 50%; position: relative; }
    .clock-orbit::before { content: ""; position: absolute; inset: 2px; border: 1.5px solid transparent; border-top-color: var(--blue); border-right-color: var(--green); border-radius: 50%; animation: clockOrbit 4s linear infinite; }
    .clock-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--blue); box-shadow: 0 0 6px rgba(0, 112, 243, .5); }
    .clock-date { color: var(--text-muted); font-size: 10px; letter-spacing: .35px; }
    .clock-time { color: var(--text-body); font-size: 12.5px; font-weight: 620; letter-spacing: .45px; }
    .clock-colon { display: inline-block; animation: clockColon 1s ease-in-out infinite; }
    @keyframes clockOrbit { to { transform: rotate(360deg); } }
    @keyframes clockColon { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

    .header-pill-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 20px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      color: var(--text-sub);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,0.03);
      transition: all 0.2s ease;
      user-select: none;
    }
    .header-pill-btn:hover {
      color: var(--blue);
      border-color: var(--blue);
      transform: translateY(-1px);
    }
    .header-pill-btn kbd {
      font-size: 10px;
      padding: 1px 5px;
      border-radius: 4px;
      background: var(--badge-bg);
      border: 1px solid var(--badge-border);
      color: var(--text-muted);
      font-family: inherit;
    }

    /* 慢呼吸指示灯 */
    .system-status { display: inline-flex; align-items: center; font-weight: 600; color: #059669; }
    .main-status-dot {
      display: inline-block;
      width: 9px;
      height: 9px;
      background-color: #34D399;
      border-radius: 50%;
      margin-right: 7px;
      animation: slowBreathMain 2.8s ease-in-out infinite;
    }
    @keyframes slowBreathMain {
      0%, 100% { opacity: 0.85; transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55), 0 0 6px rgba(52, 211, 153, 0.6); }
      50% { opacity: 1; transform: scale(1.18); box-shadow: 0 0 0 5px rgba(52, 211, 153, 0), 0 0 12px rgba(52, 211, 153, 0.9); }
    }
    .kpi-dot {
      display: inline-block;
      width: 6.5px;
      height: 6.5px;
      background-color: #10B981;
      border-radius: 50%;
      margin-right: 5px;
      animation: slowBreathSub 2.4s ease-in-out infinite;
    }
    @keyframes slowBreathSub {
      0%, 100% { opacity: 0.6; transform: scale(0.9); box-shadow: 0 0 2px rgba(16, 185, 129, 0.4); }
      50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 7px rgba(52, 211, 153, 0.8); }
    }

    /* 2. 主视觉区：说明门户定位，不承载真实运行状态判断 */
    .hero { text-align: center; margin: 10px 0 14px; width: 100%; }
    .hero h2 { font-size: 36px; font-weight: 640; letter-spacing: -0.65px; margin-bottom: 6px; color: var(--text-title); }
    .hero p { font-size: 14.5px; color: var(--text-sub); letter-spacing: 0.2px; }
    .hero-line {
      width: 80px; height: 4px; border-radius: 2px;
      background: linear-gradient(90deg, #3B82F6 50%, #10B981 50%);
      margin: 14px auto 0;
    }

    /* Apple 3D Parallax Tilt + Spotlight 流光卡片 */
    .tilt-card {
      position: relative;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      overflow: hidden;
      transform-style: preserve-3d;
      transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.25s ease;
    }
    .tilt-card.is-interacting { will-change: transform, box-shadow; }
    .tilt-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(360px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), var(--spotlight-color), transparent 70%);
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      z-index: 1;
    }
    .tilt-card:hover::before { opacity: 1; }

    /* 3. 顶部指标行：当前数值属于页面展示模型，事实边界见 README */
    .kpi-row {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px;
      width: 100%;
    }
    @media (max-width: 1024px) { .kpi-row { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 640px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 420px) { .kpi-row { grid-template-columns: 1fr; } }

    .kpi-card {
      border-radius: 16px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 14px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
      cursor: pointer;
    }
    .kpi-icon-box {
      width: 44px;
      height: 44px;
      border-radius: 50% !important;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      flex-shrink: 0;
      position: relative;
      z-index: 2;
      box-shadow: inset 0 1px 1.5px rgba(255,255,255,0.4), 0 4px 10px rgba(0,0,0,0.12);
      transition: transform 0.25s ease;
    }
    .kpi-text { position: relative; z-index: 2; min-width: 0; flex: 1; }
    .kpi-text h4 { font-size: 11px; font-weight: 700; color: var(--text-muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.6px; }
    .kpi-text .stat { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: #059669; }
    .kpi-text .val { font-size: 12px; color: var(--text-title); font-weight: 600; margin-top: 1px; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 4px; }
    .kpi-text .val:hover { color: var(--blue); }

    /* Security 动态主动防御波形 */
    .sec-defense-wrap { display: flex; flex-direction: column; gap: 3px; margin-top: 1px; }
    .sec-wave-box { display: flex; align-items: center; gap: 8px; }
    .sec-pulse-svg { width: 62px; height: 14px; overflow: visible; }
    .sec-pulse-path {
      stroke: #10B981;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 100;
      animation: secWaveScan 2.4s linear infinite;
    }
    .sec-scan-dot { animation: secDotFollow 2.4s linear infinite; filter: drop-shadow(0 0 3px #34D399); }
    .sec-matrix-grid { display: inline-flex; align-items: center; gap: 2.5px; }
    .sec-block {
      width: 4px; height: 7px; border-radius: 1.5px; background: #10B981; opacity: 0.25;
      animation: secBlockPulse 1.6s ease-in-out infinite;
    }
    .sec-block:nth-child(1) { animation-delay: 0s; }
    .sec-block:nth-child(2) { animation-delay: 0.25s; }
    .sec-block:nth-child(3) { animation-delay: 0.5s; }
    .sec-block:nth-child(4) { animation-delay: 0.75s; }

    @keyframes secWaveScan { 0% { stroke-dashoffset: 200; opacity: 0.4; } 50% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0.4; } }
    @keyframes secDotFollow { 0%, 100% { transform: translateX(0); opacity: 0.3; } 50% { transform: translateX(36px); opacity: 1; } }
    @keyframes secBlockPulse { 0%, 100% { opacity: 0.2; transform: scaleY(0.85); } 50% { opacity: 1; transform: scaleY(1.2); background: #34D399; } }

    /* 4. 六个真实服务入口卡片：跳转地址由 app.js 的唯一注册表注入 */
    .cards-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      width: 100%;
    }
    @media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

    .card {
      border-radius: 20px;
      padding: 24px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 215px;
      cursor: pointer;
    }
    .card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; position: relative; z-index: 2; }
    .card-top-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
    .card-app-icon {
      width: 50px; height: 50px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      color: #FFFFFF; flex-shrink: 0; position: relative; overflow: hidden;
    }
    .card-app-icon::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 48%;
      background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
      border-top-left-radius: 14px; border-top-right-radius: 14px;
    }

    .card-ping-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 9.5px;
      font-weight: 700;
      color: #059669;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.25);
      padding: 3px 6px;
      border-radius: 12px;
      letter-spacing: 0.2px;
      font-variant-numeric: tabular-nums;
    }
    .card-ping-badge .ping-dot { width: 5px; height: 5px; border-radius: 50%; background: #10B981; animation: slowBreathSub 2s infinite; }

    .card-title { min-width: 0; }
    .card-title h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.25px; color: var(--text-title); white-space: nowrap; }
    [data-service="camera"] .card-title h3 { font-size: 16.5px; letter-spacing: -0.4px; }
    .card-title p { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; font-weight: 500; }
    .card-desc { font-size: 12.5px; color: var(--text-sub); line-height: 1.6; margin-bottom: 18px; position: relative; z-index: 2; }
    .card-footer {
      display: flex; justify-content: space-between; align-items: center;
      font-size: 12.5px; font-weight: 600; position: relative; z-index: 2;
    }
    .card-enter-arrow { width: 28px; height: 14px; display: inline-block; position: relative; animation: enterArrowFlow 1.8s ease-in-out infinite; }
    .card-enter-arrow::before { content: ""; position: absolute; left: 2px; right: 5px; top: 6px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: .72; }
    .card-enter-arrow::after { content: ""; position: absolute; right: 3px; top: 3px; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
    .card:hover .card-enter-arrow { animation-duration: .8s; }
    @keyframes enterArrowFlow { 0%, 100% { transform: translateX(-2px); opacity: .55; } 50% { transform: translateX(3px); opacity: 1; } }
    .card *, .card svg { pointer-events: none; }

    /* 5. 底部规格区：使用网格保持桌面和移动端信息层级一致 */
    .bottom-box {
      border-radius: 20px;
      padding: 26px 20px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
      display: grid;
      grid-template-columns: minmax(0, 2.65fr) minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(220px, 1.25fr);
      gap: 18px;
      width: 100%;
      min-height: 240px;
    }
    @media (max-width: 992px) {
      .bottom-box { grid-template-columns: 1fr 1fr; }
      .bottom-col.col-bordered { border-left: none !important; padding-left: 0 !important; }
    }
    @media (max-width: 600px) { .bottom-box { grid-template-columns: 1fr; } }

    .bottom-col {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      z-index: 2;
    }
    .bottom-col h5 { font-size: 10px; font-weight: 650; color: var(--text-muted); letter-spacing: 1.55px; margin-bottom: 15px; }

    .node-showcase {
      display: grid;
      grid-template-columns: 148px minmax(0, 1fr);
      align-items: center;
      gap: 8px;
      height: 100%;
    }
    .edge-node-icon-wrap {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      background: transparent;
      padding: 0;
      margin-left: 8px;
    }
    .edge-node-photo {
      width: 100%;
      max-width: 146px;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.12));
    }

    .node-specs {
      display: grid;
      grid-template-rows: repeat(5, minmax(0, 1fr));
      height: 100%;
      min-width: 0;
      gap: 0;
      padding: 0 0 0 8px;
    }
    .hw-line {
      display: grid;
      grid-template-columns: 88px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
    }
    .hw-vendor-logo {
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-body);
      opacity: 0.88;
    }
    .hw-vendor-logo svg {
      width: 82px;
      height: 22px;
      max-width: 82px;
      display: block;
      transform-origin: center;
    }
    .hw-line:nth-child(1) .hw-vendor-logo svg { transform: scale(0.58); }
    .hw-line:nth-child(2) .hw-vendor-logo svg { transform: scale(0.7); }
    .hw-line:nth-child(3) .hw-vendor-logo svg { transform: scale(0.87); }
    .hw-spec-desc {
      font-size: 11.5px;
      font-weight: 480;
      color: var(--text-sub);
      font-family: inherit;
      letter-spacing: 0.05px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.35;
    }

    /* 资源占用展示：只表达设计档案，不作为生产监控证据 */
    .prog-item { margin-bottom: 12px; }
    .prog-header { display: flex; justify-content: space-between; font-size: 11px; font-weight: 500; letter-spacing: 0.12px; margin-bottom: 6px; color: var(--text-sub); }
    .prog-header span:last-child { color: var(--text-body); font-weight: 620; font-variant-numeric: tabular-nums; }
    .prog-bar { height: 7px; background: var(--prog-track); border-radius: 4px; overflow: hidden; position: relative; }
    .prog-fill {
      position: relative;
      height: 100%;
      border-radius: 3px;
      transition: width 1.15s cubic-bezier(.22, .8, .24, 1);
      overflow: hidden;
      box-shadow: 0 0 8px rgba(56, 189, 248, 0.18);
    }
    @supports (color: color-mix(in srgb, white 50%, transparent)) {
      .prog-fill { box-shadow: 0 0 9px color-mix(in srgb, currentColor 32%, transparent); }
    }
    .prog-fill::after {
      content: "";
      position: absolute;
      inset: 0;
      width: 42%;
      transform: translateX(-140%);
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
      animation: metricShimmer 2.2s ease-in-out infinite;
    }
    @keyframes metricShimmer { 0% { transform: translateX(-140%); } 70%, 100% { transform: translateX(340%); } }

    /* 网络结构展示：保持专业基础设施语义，同时避免额外运行时依赖 */
    .net-box { text-align: center; }
    .net-icon-box {
      width: 76px; height: 76px; margin: -4px auto 4px; display: flex; align-items: center; justify-content: center; background: transparent;
    }
    .network-transparent-anim { width: 100%; height: 100%; overflow: visible; }
    .net-orbit-ring { transform-origin: 32px 32px; animation: orbitRotate 6.5s linear infinite; }
    .net-orbit-ring-rev { transform-origin: 32px 32px; animation: orbitRotateRev 9.5s linear infinite; }
    .net-wave-pulse { transform-origin: 32px 32px; animation: wavePulse 2.2s ease-out infinite; }
    @keyframes orbitRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    @keyframes orbitRotateRev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
    @keyframes wavePulse { 0% { r: 8; opacity: 0.75; } 100% { r: 25; opacity: 0; } }

    .net-speed {
      display: flex; align-items: baseline; justify-content: center; gap: 4px; font-size: 11px; font-weight: 700; line-height: 1.6; font-variant-numeric: tabular-nums; white-space: nowrap;
    }
    .speed-value { min-width: 58px; text-align: right; }
    .speed-unit { color: var(--text-muted); font-size: 9px; min-width: 28px; text-align: left; }
    .net-capacity { margin-top: 3px; font-size: 8px; color: var(--text-muted); letter-spacing: .4px; font-weight: 700; text-transform: uppercase; }

    /* 系统信息展示：与真实后台认证、健康状态相互独立 */
    .info-row { display: flex; justify-content: space-between; gap: 14px; font-size: 11.5px; letter-spacing: 0.05px; margin-bottom: 9px; }
    .info-lbl { color: var(--text-muted); white-space: nowrap; }
    .info-val { font-weight: 520; color: var(--text-body); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
    .system-heading { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
    .system-heading h5 { margin-bottom: 0; }
    .truenas-badge {
      display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; background: linear-gradient(135deg, #0B6E99, #112D4E); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .4px; box-shadow: 0 3px 8px rgba(11, 110, 153, .22);
    }
    .truenas-mark { width: 15px; height: 15px; }

    /* 页脚：备案、版权与外部社交链接的收口位置 */
    footer {
      display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); width: 100%; padding-top: 10px; position: relative; z-index: 2;
    }
    @media (max-width: 850px) { footer { flex-direction: column; gap: 12px; text-align: center; } }
    .footer-left p { line-height: 1.55; }
    .footer-brandline { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
    .footer-copyright { color: var(--text-body); font-size: 13.5px; font-weight: 680; letter-spacing: -.1px; }
    .footer-brand-divider { width: 1px; height: 14px; background: var(--card-border); }
    .footer-motto { color: var(--text-sub); font-size: 10.5px; font-weight: 540; letter-spacing: .72px; }
    .footer-icp { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
    .footer-icp a, .footer-icp span {
      color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 0.3s ease, text-shadow 0.3s ease, opacity 0.3s ease;
    }
    .footer-icp a:hover { color: var(--text-body); text-shadow: 0 0 6px rgba(0, 112, 243, 0.28); opacity: 0.95; }
    .filing-icon, .police-icon { width: 15px; height: 15px; vertical-align: middle; flex-shrink: 0; }
    .filing-divider { width: 1px; height: 13px; background: var(--card-border); }
    @media (max-width: 850px) {
      .footer-brandline, .footer-icp { justify-content: center; }
    }
    .social-links { display: flex; gap: 10px; }
    .social-btn {
      width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFFFFF; text-decoration: none; transition: transform 0.2s, opacity 0.2s;
    }
    .social-btn:hover { transform: scale(1.1); opacity: 0.9; }
    .btn-gmail { background: #EA4335; }
    .btn-ins { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
    .btn-fb { background: #1877F2; }
    .btn-youtube { background: #FF0000; }
    .btn-github { background: #111827; }

    /* OpenClaw Mascot */
    .openclaw-lobster {
      position: fixed; left: 0; top: 0; width: clamp(125px, 9vw, 140px); aspect-ratio: 1 / 1;
      z-index: 90; cursor: grab; user-select: none; display: flex; align-items: center; justify-content: center;
      transform-origin: 50% 50%; will-change: transform; touch-action: none;
      filter: drop-shadow(0 14px 24px rgba(127, 29, 29, 0.22)) drop-shadow(0 0 16px rgba(239, 68, 68, 0.14));
    }
    .openclaw-lobster:active { cursor: grabbing; }
    .openclaw-lobster:hover { filter: drop-shadow(0 18px 28px rgba(127, 29, 29, 0.28)) drop-shadow(0 0 20px rgba(239, 68, 68, 0.22)); }
    .openclaw-lobster svg { width: 100%; height: 100%; overflow: visible; pointer-events: none; }
    .openclaw-lobster .lobster-body { transform-origin: 110px 112px; animation: ocBodyBob 0.55s ease-in-out infinite alternate; }
    .openclaw-lobster .tail-group { transform-origin: 110px 162px; animation: ocTailFlick 0.9s ease-in-out infinite alternate; }
    .openclaw-lobster .antenna-left { transform-origin: 103px 61px; animation: ocAntennaL 1.15s ease-in-out infinite alternate; }
    .openclaw-lobster .antenna-right { transform-origin: 117px 61px; animation: ocAntennaR 1.15s ease-in-out infinite alternate; }
    .openclaw-lobster .claw-left { transform-origin: 62px 82px; animation: ocClawL 0.95s ease-in-out infinite alternate; }
    .openclaw-lobster .claw-right { transform-origin: 158px 82px; animation: ocClawR 0.95s ease-in-out infinite alternate; }
    .openclaw-lobster .leg { transform-box: fill-box; transform-origin: center top; }
    .openclaw-lobster .leg.l1, .openclaw-lobster .leg.l3, .openclaw-lobster .leg.r2, .openclaw-lobster .leg.r4 {
      animation: ocLegA 0.46s ease-in-out infinite alternate;
    }
    .openclaw-lobster .leg.l2, .openclaw-lobster .leg.l4, .openclaw-lobster .leg.r1, .openclaw-lobster .leg.r3 {
      animation: ocLegB 0.46s ease-in-out infinite alternate;
    }

    @keyframes ocBodyBob { from { transform: translateY(-2px) rotate(-1.2deg); } to { transform: translateY(2px) rotate(1.2deg); } }
    @keyframes ocTailFlick { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(4deg) translateY(1px); } }
    @keyframes ocAntennaL { from { transform: rotate(-4deg); } to { transform: rotate(3deg); } }
    @keyframes ocAntennaR { from { transform: rotate(4deg); } to { transform: rotate(-3deg); } }
    @keyframes ocClawL { from { transform: rotate(-6deg) translateY(0); } to { transform: rotate(4deg) translateY(1px); } }
    @keyframes ocClawR { from { transform: rotate(6deg) translateY(0); } to { transform: rotate(-4deg) translateY(1px); } }
    @keyframes ocLegA { from { transform: rotate(-14deg) translateY(-1px); } to { transform: rotate(18deg) translateY(2px); } }
    @keyframes ocLegB { from { transform: rotate(16deg) translateY(2px); } to { transform: rotate(-14deg) translateY(-1px); } }

    .openclaw-lobster.is-paused .leg { animation-duration: 1.15s !important; }
    .openclaw-lobster.is-paused .lobster-body { animation: ocIdleBody 1.05s ease-in-out infinite alternate; }
    .openclaw-lobster.is-paused .tail-group { animation: ocIdleTail 1.1s ease-in-out infinite alternate; }
    .openclaw-lobster.is-backstep .leg { animation-direction: reverse !important; animation-duration: 0.34s !important; }
    .openclaw-lobster.is-backstep .lobster-body { animation: ocBackstepBody 0.34s ease-in-out infinite alternate !important; }

    @keyframes ocIdleBody { from { transform: translateY(-1px) rotate(-3deg); } to { transform: translateY(1px) rotate(3deg); } }
    @keyframes ocIdleTail { from { transform: rotate(-7deg) translateY(0); } to { transform: rotate(7deg) translateY(1px); } }
    @keyframes ocBackstepBody { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(2px) rotate(1deg); } }

    /* OpenClaw Mini Cyber Terminal (SRE 极客交互命令行) */
    .openclaw-terminal-modal {
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(0.96);
      width: min(540px, calc(100vw - 32px));
      background: #090D16;
      border: 1px solid rgba(56, 189, 248, 0.35);
      border-radius: 16px;
      box-shadow: 0 30px 90px rgba(0,0,0,0.6), 0 0 30px rgba(16, 185, 129, 0.15);
      z-index: 350;
      opacity: 0;
      pointer-events: none;
      transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }
    .openclaw-terminal-modal.open {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%) scale(1);
    }
    .term-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #111827;
      padding: 10px 16px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .term-dots { display: flex; gap: 6px; }
    .term-dot { width: 10px; height: 10px; border-radius: 50%; }
    .term-title { font-size: 11px; font-weight: 700; color: #94A3B8; letter-spacing: 0.5px; }
    .term-body {
      padding: 16px;
      color: #38BDF8;
      font-size: 12px;
      line-height: 1.6;
      max-height: 290px;
      overflow-y: auto;
    }
    .term-line { margin-bottom: 6px; }
    .term-prompt { color: #34D399; font-weight: 700; }
    .term-input-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
    .term-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: #F8FAFC;
      font-family: inherit;
      font-size: 12.5px;
    }

    /* Copy Feedback Float Badge */
    .copy-toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: #0F172A;
      color: #FFFFFF;
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      opacity: 0;
      pointer-events: none;
      transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
      z-index: 200;
    }
    .copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* ⌘K Command Palette Modal */
    .cmdk-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 300;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding-top: 15vh;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }
    .cmdk-overlay.open { opacity: 1; pointer-events: auto; }
    .cmdk-box {
      width: min(560px, calc(100vw - 32px));
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      box-shadow: 0 25px 60px rgba(0,0,0,0.3);
      overflow: hidden;
      transform: scale(0.96);
      transition: transform 0.2s ease;
    }
    .cmdk-overlay.open .cmdk-box { transform: scale(1); }
    .cmdk-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 18px;
      border-bottom: 1px solid var(--card-border);
    }
    .cmdk-input {
      flex: 1;
      border: none;
      background: transparent;
      font-size: 15px;
      color: var(--text-title);
      outline: none;
      font-family: inherit;
    }
    .cmdk-input::placeholder { color: var(--text-muted); }
    .cmdk-list { max-height: 320px; overflow-y: auto; padding: 8px; }
    .cmdk-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      border-radius: 12px;
      font-size: 13px;
      color: var(--text-title);
      cursor: pointer;
      transition: background 0.15s ease;
    }
    .cmdk-item.active, .cmdk-item:hover, .cmdk-item[aria-selected="true"] { background: var(--badge-bg); color: var(--blue); }
    .cmdk-item-left { display: flex; align-items: center; gap: 10px; font-weight: 550; }
    .cmdk-item-tag { font-size: 11px; color: var(--text-muted); }
    .cmdk-footer {
      display: flex;
      justify-content: space-between;
      padding: 10px 18px;
      background: var(--badge-bg);
      border-top: 1px solid var(--card-border);
      font-size: 11px;
      color: var(--text-muted);
    }

    :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
    @media (hover: none) and (pointer: coarse) and (any-hover: none) {
      .tilt-card { will-change: auto; }
      .tilt-card:hover::before { opacity: 0; }
      .openclaw-lobster { width: 118px; }
    }
