/**
 * tech.css
 * BraCMS 科技风统一样式表
 * 合并自: tech-shared / tech-page-styles / tech-header / tech-footer / tech-theme-switcher / index-page
 * 由 base_front_layout 通过 <link> 引入，所有前台页面共享
 * 生成时间: 2026-02-08
 */

/* ═══════════════════════════════════════════════════════
   0. 防闪烁 — Vue 挂载前隐藏模板源码
   仅针对确实有 Vue 实例挂载的组件（挂载后 Vue 自动移除 v-cloak）
   ═══════════════════════════════════════════════════════ */
.theme-switcher[v-cloak],
#footer_app[v-cloak] { display: none !important; }

/* ═══════════════════════════════════════════════════════
   1. 全局共用 — CSS 变量、按钮、表单、链接
   ═══════════════════════════════════════════════════════ */

/* 变量与基础容器（仅用系统/本地字体，不依赖 Google 等外网） */
.tech-home,
.tech-navbar,
.tech-store,
:root {
    --tech-bg: #0a0e17;
    --tech-surface: rgba(15, 23, 42, 0.7);
    --tech-border: rgba(0, 212, 255, 0.15);
    --tech-accent: #00d4ff;
    --tech-accent-dim: rgba(0, 212, 255, 0.4);
    --tech-text: #e2e8f0;
    --tech-text-muted: #94a3b8;
    /* RGB 通道（用于 rgba(var(--xxx-rgb), alpha) 动态主题切换） */
    --tech-accent-rgb: 0, 212, 255;
    --tech-text-rgb: 226, 232, 240;
    --tech-surface-rgb: 15, 23, 42;
    --tech-bg-rgb: 10, 14, 23;
    --tech-text-muted-rgb: 148, 163, 184;
    /* 语义色：成功 / 危险 / VIP */
    --tech-success: #86efac;
    --tech-success-rgb: 34, 197, 94;
    --tech-danger: #fca5a5;
    --tech-danger-rgb: 239, 68, 68;
    --tech-danger-alt-rgb: 248, 113, 113;
    --tech-vip: #f59e0b;
    --tech-vip-rgb: 245, 158, 11;
    /* 辅助装饰色 */
    --tech-accent-secondary: #3b82f6;
    --tech-glow-secondary: #6366f1;
    --tech-purple-rgb: 139, 92, 246;
    /* 标题/品牌：系统字体，国内可访问 */
    --tech-font-title: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    /* 等宽/科技感正文 */
    --tech-font-mono: Consolas, 'Courier New', monospace;
    /* 导航栏高度（spacer / hero 计算统一引用） */
    --tech-navbar-h: 3.25rem;

    /* Layout tokens (统一间距/圆角/阴影，避免散落硬编码值) */
    --tech-space-1: 0.25rem;
    --tech-space-2: 0.5rem;
    --tech-space-3: 0.75rem;
    --tech-space-4: 1rem;
    --tech-space-5: 1.25rem;
    --tech-space-6: 1.5rem;
    --tech-radius-xs: 6px;
    --tech-radius-sm: 10px;
    --tech-radius-md: 12px;
    --tech-radius-lg: 16px;
    --tech-shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.18);
    --tech-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.25);
    /* 支付二维码等白底区域背景 */
    --tech-qr-bg: #fff;
    /* 过渡：切换主题时平滑渐变 */
    transition: background-color 0.35s ease, color 0.35s ease;
}
.tech-home {
    background: var(--tech-bg);
    min-height: 100vh;
    font-family: var(--tech-font-mono), monospace;
}
.tech-store {
    background: var(--tech-bg);
    min-height: 100vh;
    font-family: var(--tech-font-mono), monospace;
}
.tech-navbar {
    font-family: var(--tech-font-title), sans-serif;
}
/* 固定导航栏占位（is-fixed-top 导致内容被遮挡，由 header 末尾输出） */
.tech-navbar-spacer {
    height: var(--tech-navbar-h, 3.25rem);
}

/* 按钮：统一基础与变体 */
.tech-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--tech-radius-xs, 6px);
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.tech-btn-primary {
    background: var(--tech-accent);
    color: var(--tech-bg, #0a0e17);
}
.tech-btn-primary:hover { background: var(--tech-accent); color: var(--tech-bg, #0a0e17); filter: brightness(0.88); box-shadow: 0 0 24px var(--tech-accent-dim); }
.tech-btn-ghost {
    color: var(--tech-accent);
    border-color: var(--tech-border);
    background: transparent;
}
.tech-btn-ghost:hover:not(:disabled) { background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.08); border-color: var(--tech-accent-dim); }
.tech-btn-ghost:disabled { opacity: 0.5; cursor: not-allowed; }
.tech-btn-block { width: 100%; }

/* 导航栏内小按钮：仅在此处缩小，避免与正文大按钮冲突 */
.tech-navbar .tech-nav-buttons .tech-btn {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}
.tech-navbar .tech-nav-buttons .tech-btn-ghost-sm {
    color: var(--tech-text, #e2e8f0);
    border: 1px solid rgba(var(--tech-accent-rgb, 0, 212, 255), 0.25);
    background: transparent;
}
.tech-navbar .tech-nav-buttons .tech-btn-ghost-sm:hover { color: var(--tech-accent, #00d4ff); background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.08); }
.tech-navbar .tech-nav-buttons .tech-btn-primary-sm {
    background: var(--tech-accent, #00d4ff);
    color: var(--tech-bg, #0a0e17);
    border: 1px solid transparent;
}
.tech-navbar .tech-nav-buttons .tech-btn-primary-sm:hover { background: var(--tech-accent); color: var(--tech-bg, #0a0e17); filter: brightness(0.88); box-shadow: 0 0 20px rgba(var(--tech-accent-rgb, 0, 212, 255), 0.3); }

/* 链接 */
.tech-link { color: var(--tech-accent); text-decoration: none; }
.tech-link:hover { text-decoration: underline; }

/* 表单基础（登录/注册等共用） */
.tech-field { margin-bottom: 1.25rem; }
.tech-label {
    display: block;
    color: rgba(var(--tech-text-rgb, 226, 232, 240), 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.tech-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(var(--tech-surface-rgb, 15, 23, 42), 0.8);
    border: 1px solid rgba(var(--tech-accent-rgb, 0, 212, 255), 0.25);
    border-radius: 8px;
    color: var(--tech-text, #f8fafc);
    font-size: 0.95rem;
    font-family: inherit;
}
.tech-input::placeholder { color: rgba(var(--tech-text-rgb, 226, 232, 240), 0.4); }
.tech-input:focus {
    outline: none;
    border-color: var(--tech-accent, #00d4ff);
    box-shadow: 0 0 0 2px rgba(var(--tech-accent-rgb, 0, 212, 255), 0.15);
}

/* ═══════════════════════════════════════════════════════
   2. 页面级公共 — hero、section、card、content、process
   ═══════════════════════════════════════════════════════ */

.tech-page-hero { min-height: 40vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; position: relative; background: var(--tech-bg, #0a0e17); border-bottom: 1px solid var(--tech-border); }
.tech-page-hero h1 { font-family: var(--tech-font-title), sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--tech-text, #e2e8f0); margin-bottom: 0.5rem; }
.tech-page-hero p { color: var(--tech-text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.tech-section { padding: 4rem 1.5rem; background: var(--tech-bg); }
.tech-section .container,
.tech-section .tech-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.tech-section-alt { background: var(--tech-surface, #0f172a); }
.tech-section-title { font-family: var(--tech-font-title), sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--tech-text, #e2e8f0); text-align: center; margin-bottom: 2rem; }
.tech-section-desc { text-align: center; color: var(--tech-text-muted); margin-bottom: 2.5rem; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.tech-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.tech-card { background: var(--tech-surface); border: 1px solid var(--tech-border); border-radius: 12px; padding: 2rem; transition: border-color 0.2s, box-shadow 0.2s; }
.tech-card:hover { border-color: var(--tech-accent-dim); box-shadow: 0 0 30px rgba(var(--tech-accent-rgb, 0, 212, 255), 0.06); }
.tech-card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.1); border-radius: 10px; color: var(--tech-accent); font-size: 1.25rem; margin-bottom: 1.25rem; }
.tech-card-title { font-family: var(--tech-font-title), sans-serif; font-size: 1.1rem; color: var(--tech-text, #e2e8f0); margin-bottom: 0.5rem; }
.tech-card-text { color: var(--tech-text-muted); font-size: 0.9rem; line-height: 1.5; }
.tech-content { max-width: 800px; margin: 0 auto; color: var(--tech-text-muted); line-height: 1.7; }
.tech-content h3 { color: var(--tech-text, #e2e8f0); font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.tech-content p { margin-bottom: 1rem; }
.tech-process { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; }
.tech-process-item { flex: 1 1 200px; max-width: 240px; text-align: center; padding: 1.5rem; background: var(--tech-surface); border: 1px solid var(--tech-border); border-radius: 12px; }
.tech-process-num { display: block; font-family: var(--tech-font-title), sans-serif; font-size: 1.5rem; color: var(--tech-accent); margin-bottom: 0.5rem; }
.tech-process-item h4 { color: var(--tech-text, #e2e8f0); font-size: 1rem; margin-bottom: 0.25rem; }
.tech-process-item p { color: var(--tech-text-muted); font-size: 0.85rem; line-height: 1.4; }
.tech-content-page .tech-section-title { text-align: left; margin-bottom: 1rem; }
.tech-content-page .tech-content { margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════
   3. 导航栏 — 覆盖 Bulma 默认、移动端适配
   ═══════════════════════════════════════════════════════ */

/* 完全覆盖 Bulma 默认白色导航栏，统一为当前主题色 */
.tech-navbar,
.tech-navbar.navbar,
.tech-navbar.is-black {
    box-sizing: border-box;
    min-height: var(--tech-navbar-h, 3.25rem);
    background: linear-gradient(180deg, var(--tech-bg, #0a0e17) 0%, var(--tech-surface, #0f172a) 100%) !important;
    border-bottom: 1px solid var(--tech-border, rgba(0, 212, 255, 0.15));
    box-shadow: none !important;
    transition: background 0.35s ease, border-color 0.35s ease;
}
.tech-navbar .container,
.tech-navbar .navbar-brand,
.tech-navbar .navbar-menu,
.tech-navbar .navbar-start,
.tech-navbar .navbar-end {
    background: transparent !important;
}
.tech-navbar .container { max-width: 1200px; }
.tech-brand { padding: 0.5rem 0; background: transparent !important; overflow: hidden; }
.tech-brand-text {
    font-family: var(--tech-font-title), sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--tech-accent, #00d4ff);
    letter-spacing: 0.05em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60vw;
}
/* 覆盖 public.css 的旧版 navbar-item 渐变，统一主题色 */
.tech-navbar .navbar-item,
.tech-navbar .navbar-link {
    color: var(--tech-text, #e2e8f0) !important;
    font-weight: 500;
    background: transparent !important;
    background-image: none !important;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tech-navbar a.navbar-item:hover,
.tech-navbar .navbar-item.is-active {
    color: var(--tech-accent, #00d4ff) !important;
    background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.08) !important;
    background-image: none !important;
    border-left-color: var(--tech-accent, #00d4ff);
    box-shadow: inset 0 0 24px rgba(var(--tech-accent-rgb, 0, 212, 255), 0.08);
}

/* Dropdown menu (Products -> Store/Apps) */
.tech-navbar .navbar-dropdown {
    background: rgba(var(--tech-surface-rgb), 0.98) !important;
    border-top: 1px solid rgba(var(--tech-text-muted-rgb), 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.tech-navbar .navbar-dropdown .navbar-item {
    border-left: none;
    border-radius: 10px;
}
.tech-navbar .navbar-dropdown .navbar-item:hover,
.tech-navbar .navbar-dropdown .navbar-item.is-active {
    color: var(--tech-accent, #00d4ff) !important;
    background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.10) !important;
    box-shadow: inset 0 0 18px rgba(var(--tech-accent-rgb, 0, 212, 255), 0.08);
}

/* Bulma 语义色隔离层（前台主题作用域内覆盖 Bulma 彩色类，避免破坏主题色系统） */
.tech-home .button.is-info,
.tech-store .button.is-info,
.tech-home .button.is-primary,
.tech-store .button.is-primary,
.tech-home .button.is-link,
.tech-store .button.is-link,
.tech-home .button.is-success,
.tech-store .button.is-success,
.tech-home .button.is-warning,
.tech-store .button.is-warning,
.tech-home .button.is-danger,
.tech-store .button.is-danger {
    background: linear-gradient(135deg, var(--tech-accent) 0%, var(--tech-accent-secondary) 100%) !important;
    color: var(--tech-bg, #0a0e17) !important;
    border-color: transparent !important;
}

.tech-home .button.is-light,
.tech-store .button.is-light,
.tech-home .button.is-white,
.tech-store .button.is-white {
    background: rgba(var(--tech-surface-rgb), 0.82) !important;
    color: var(--tech-text, #e2e8f0) !important;
    border-color: rgba(var(--tech-text-muted-rgb), 0.25) !important;
}

.tech-home .tag.is-info,
.tech-store .tag.is-info,
.tech-home .tag.is-primary,
.tech-store .tag.is-primary,
.tech-home .tag.is-link,
.tech-store .tag.is-link,
.tech-home .tag.is-success,
.tech-store .tag.is-success,
.tech-home .tag.is-warning,
.tech-store .tag.is-warning,
.tech-home .tag.is-danger,
.tech-store .tag.is-danger {
    background: rgba(var(--tech-accent-rgb), 0.14) !important;
    color: var(--tech-accent, #00d4ff) !important;
    border: 1px solid rgba(var(--tech-accent-rgb), 0.32) !important;
}

.tech-home .notification.is-info,
.tech-store .notification.is-info,
.tech-home .notification.is-primary,
.tech-store .notification.is-primary,
.tech-home .notification.is-link,
.tech-store .notification.is-link,
.tech-home .notification.is-success,
.tech-store .notification.is-success,
.tech-home .notification.is-warning,
.tech-store .notification.is-warning,
.tech-home .notification.is-danger,
.tech-store .notification.is-danger {
    background: rgba(var(--tech-surface-rgb), 0.82) !important;
    color: var(--tech-text, #e2e8f0) !important;
    border: 1px solid rgba(var(--tech-accent-rgb), 0.22) !important;
}

.tech-home .has-text-primary,
.tech-store .has-text-primary,
.tech-home .has-text-link,
.tech-store .has-text-link,
.tech-home .has-text-info,
.tech-store .has-text-info,
.tech-home .has-text-success,
.tech-store .has-text-success,
.tech-home .has-text-warning,
.tech-store .has-text-warning,
.tech-home .has-text-danger,
.tech-store .has-text-danger {
    color: var(--tech-accent, #00d4ff) !important;
}

.tech-home .has-background-primary,
.tech-store .has-background-primary,
.tech-home .has-background-link,
.tech-store .has-background-link,
.tech-home .has-background-info,
.tech-store .has-background-info,
.tech-home .has-background-success,
.tech-store .has-background-success,
.tech-home .has-background-warning,
.tech-store .has-background-warning,
.tech-home .has-background-danger,
.tech-store .has-background-danger {
    background-color: rgba(var(--tech-accent-rgb), 0.12) !important;
    color: var(--tech-text, #e2e8f0) !important;
}
.tech-nav-buttons { display: flex; gap: 0.75rem; align-items: center; }
.tech-btn-vip-sm {
    background: linear-gradient(135deg, rgba(var(--tech-vip-rgb), 0.15), rgba(var(--tech-accent-rgb, 0, 212, 255), 0.15));
    border: 1px solid rgba(var(--tech-vip-rgb), 0.35);
    color: var(--tech-vip) !important;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.tech-btn-vip-sm:hover { background: linear-gradient(135deg, rgba(var(--tech-vip-rgb), 0.25), rgba(var(--tech-accent-rgb, 0, 212, 255), 0.25)); border-color: rgba(var(--tech-vip-rgb), 0.6); }
.tech-burger span { background-color: var(--tech-text, #e2e8f0); }
.tech-navbar .navbar-burger.is-active span { background-color: var(--tech-accent, #00d4ff); }
.tech-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--tech-border, rgba(0, 212, 255, 0.2));
    color: var(--tech-text, #e2e8f0);
    background: var(--tech-surface, rgba(15, 23, 42, 0.6));
    text-decoration: none;
    transition: all 0.2s ease;
}
.tech-cart-link:hover { color: var(--tech-accent, #00d4ff); border-color: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.5); }
.tech-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--tech-accent, #00d4ff);
    color: var(--tech-bg, #0b1220);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.15rem 0.4rem;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 6px 14px rgba(var(--tech-accent-rgb, 0, 212, 255), 0.35);
}

/* 移动端：强制深色背景与浅色字，覆盖 Bulma 白底 */
@media screen and (max-width: 1023px) {
    .tech-navbar .navbar-menu,
    .tech-navbar .navbar-menu.is-active,
    .tech-navbar .navbar-start,
    .tech-navbar .navbar-end {
        background: var(--tech-bg, #0a0e17) !important;
    }
    .tech-nav-menu.navbar-menu {
        background: var(--tech-bg, #0a0e17) !important;
        border-top: 1px solid var(--tech-border, rgba(0, 212, 255, 0.2));
        box-shadow: 0 8px 24px rgba(var(--tech-bg-rgb), 0.4);
    }
    .tech-navbar .navbar-item,
    .tech-navbar a.navbar-item {
        color: var(--tech-text, #e2e8f0) !important;
        background: transparent !important;
        background-image: none !important;
        border-bottom: 1px solid rgba(var(--tech-text-rgb, 226, 232, 240), 0.06);
        border-left: 3px solid transparent;
    }
    .tech-navbar a.navbar-item:hover,
    .tech-navbar .navbar-item.is-active {
        color: var(--tech-accent, #00d4ff) !important;
        background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.1) !important;
        border-left-color: var(--tech-accent, #00d4ff);
        border-bottom-color: rgba(var(--tech-text-rgb, 226, 232, 240), 0.06);
    }
    .tech-navbar .navbar-end .navbar-item {
        border-bottom: none;
        justify-content: flex-start;
        padding-left: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════
   4. 页脚 — 品牌、链接、社交、语言切换、备案标签
   ═══════════════════════════════════════════════════════ */

.tech-footer {
    background: var(--tech-bg, #0a0e17);
    color: var(--tech-text-muted, #94a3b8);
    transition: background 0.35s ease, color 0.35s ease;
}
.tech-footer-main {
    padding: 3.5rem 1.5rem 2.5rem;
    border-top: 1px solid rgba(var(--tech-accent-rgb, 0, 212, 255), 0.12);
}
.tech-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.tech-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
@media (max-width: 768px) {
    .tech-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .tech-footer-grid { grid-template-columns: 1fr; }
}
.tech-footer-logo {
    font-family: var(--tech-font-title), sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--tech-accent, #00d4ff);
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.tech-footer-logo:hover { color: var(--tech-accent, #00d4ff); opacity: 0.9; }
.tech-footer-tagline {
    font-size: 0.85rem;
    color: var(--tech-text-muted, #64748b);
    margin-bottom: 1rem;
}
.tech-footer-addr {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
    color: var(--tech-text-muted, #94a3b8);
}
.tech-footer-email {
    color: var(--tech-text-muted, #94a3b8);
    text-decoration: none;
    transition: color 0.2s;
}
.tech-footer-email:hover { color: var(--tech-accent, #00d4ff); }
.tech-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.tech-footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--tech-accent-rgb, 0, 212, 255), 0.2);
    border-radius: 50%;
    color: var(--tech-text-muted, #94a3b8);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tech-footer-social-link:hover {
    color: var(--tech-accent, #00d4ff);
    border-color: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.4);
    background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.06);
}
.tech-footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tech-text-muted, #64748b);
    margin-bottom: 1rem;
}
.tech-footer-links ul { list-style: none; margin: 0; padding: 0; }
.tech-footer-links li { margin-bottom: 0.5rem; }
.tech-footer-links a {
    color: var(--tech-text, #e2e8f0);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.tech-footer-links a:hover { color: var(--tech-accent, #00d4ff); }
.tech-footer-bottom {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(var(--tech-text-rgb, 226, 232, 240), 0.06);
}
.tech-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.tech-footer-lang .dropdown { position: relative; }
.tech-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.06);
    border: 1px solid rgba(var(--tech-accent-rgb, 0, 212, 255), 0.2);
    border-radius: 6px;
    color: var(--tech-text, #e2e8f0);
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.tech-lang-btn:hover { border-color: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.4); background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.1); }
.tech-dropdown-content {
    background: var(--tech-surface, #0f172a);
    border: 1px solid rgba(var(--tech-accent-rgb, 0, 212, 255), 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 140px;
}
.tech-dropdown-content .dropdown-item {
    color: var(--tech-text, #e2e8f0);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}
.tech-dropdown-content .dropdown-item:hover { background: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.1); color: var(--tech-accent, #00d4ff); }
.tech-footer-copy { font-size: 0.8rem; color: var(--tech-text-muted, #64748b); margin: 0; }
.tech-footer-icp { margin: 0.5rem 0 0; font-size: 0.8rem; }
.tech-footer-icp .bra-tag.is-light { margin-right: 0.75rem; }
.tech-footer .bra-tag.is-light {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(var(--tech-text-rgb, 226, 232, 240), 0.06);
    border: 1px solid rgba(var(--tech-accent-rgb, 0, 212, 255), 0.2);
    border-radius: 4px;
    color: var(--tech-text-muted, #94a3b8);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}
.tech-footer .bra-tag.is-light:hover { color: var(--tech-accent, #00d4ff); border-color: rgba(var(--tech-accent-rgb, 0, 212, 255), 0.4); }

/* ═══════════════════════════════════════════════════════
   5. 主题切换器 — FAB 按钮、面板、主题卡片网格
   ═══════════════════════════════════════════════════════ */

/* ─── 浮动按钮 ─── */
.theme-switcher { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: var(--tech-font-title, system-ui, sans-serif), sans-serif; }
.theme-switcher-fab {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--tech-accent, #00d4ff); color: var(--tech-bg, #0a0e17);
    border: none; cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(var(--tech-bg-rgb),0.3), 0 0 16px var(--tech-accent-dim, rgba(0,212,255,0.3));
    transition: all 0.25s ease;
}
.theme-switcher-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(var(--tech-bg-rgb),0.4), 0 0 24px var(--tech-accent-dim, rgba(0,212,255,0.5));
}

/* ─── 面板 ─── */
.theme-switcher-panel {
    position: absolute; bottom: 60px; right: 0;
    width: 280px; max-height: 400px; overflow-y: auto;
    background: var(--tech-surface, rgba(15,23,42,0.95));
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--tech-border, rgba(0,212,255,0.15));
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(var(--tech-bg-rgb),0.5);
}
.theme-panel-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--tech-border, rgba(0,212,255,0.1));
}
.theme-panel-title {
    color: var(--tech-text, #e2e8f0);
    font-weight: 600; font-size: 0.95rem;
}
.theme-panel-title i { margin-right: 6px; color: var(--tech-accent, #00d4ff); }
.theme-panel-body { padding: 12px; }

/* ─── 主题网格 ─── */
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px 8px 10px;
    background: rgba(var(--tech-text-rgb), 0.04);
    border: 1px solid var(--tech-border, rgba(0,212,255,0.1));
    border-radius: 10px; cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    color: var(--tech-text-muted, #94a3b8);
}
.theme-card:hover {
    background: rgba(var(--tech-text-rgb), 0.08);
    border-color: var(--tech-accent, #00d4ff);
    color: var(--tech-text, #e2e8f0);
    transform: translateY(-2px);
}
.theme-card-active {
    border-color: var(--tech-accent, #00d4ff) !important;
    background: rgba(var(--tech-accent-rgb, 0,212,255),0.08) !important;
    color: var(--tech-text, #e2e8f0) !important;
    box-shadow: 0 0 12px var(--tech-accent-dim, rgba(0,212,255,0.2));
}

/* ─── 颜色预览 ─── */
.theme-preview {
    width: 44px; height: 44px; border-radius: 50%;
    border: 2px solid; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}
.theme-preview-accent {
    width: 18px; height: 18px; border-radius: 50%;
}
.theme-card-name { font-size: 0.78rem; font-weight: 500; text-align: center; line-height: 1.2; }
.theme-check {
    position: absolute; top: 6px; right: 6px;
    font-size: 0.65rem; color: var(--tech-accent, #00d4ff);
}

/* ─── Vue 过渡动画 ─── */
.theme-panel-enter-active, .theme-panel-leave-active { transition: all 0.25s ease; }
.theme-panel-enter, .theme-panel-leave-to { opacity: 0; transform: translateY(12px) scale(0.95); }

/* 移动端适配 */
@media (max-width: 480px) {
    .theme-switcher { bottom: 16px; right: 16px; }
    .theme-switcher-fab { width: 42px; height: 42px; font-size: 1rem; }
    .theme-switcher-panel { width: 250px; right: -8px; }
}

/* ═══════════════════════════════════════════════════════
   6. 首页独有 — hero、advantages、stack、testimonials、CTA
   ═══════════════════════════════════════════════════════ */

/* 变量与按钮见 tech_shared，此处仅首页独有 */
.tech-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.tech-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--tech-accent-rgb), 0.08) 0%, transparent 50%),
                linear-gradient(180deg, var(--tech-bg) 0%, var(--tech-surface, #0f172a) 100%);
}
.tech-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.tech-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
}
.tech-glow-1 { top: -100px; right: 10%; background: var(--tech-accent); }
.tech-glow-2 { bottom: -100px; left: 10%; background: var(--tech-glow-secondary); }
.tech-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 1.5rem;
}
.tech-hero-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--tech-accent);
    margin-bottom: 1rem;
}
.tech-hero-title {
    font-family: var(--tech-font-title), sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--tech-text);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-shadow: 0 0 40px var(--tech-accent-dim);
}
.tech-hero-sub {
    max-width: 560px;
    margin: 0 auto 2.5rem;
    color: var(--tech-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}
.tech-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 首页 section 间距比内页略大 */
.tech-home .tech-section {
    padding: 5rem 1.5rem;
}

.tech-process-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--tech-border), var(--tech-accent-dim));
    margin-top: 2.5rem;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .tech-process-line { width: 1px; height: 24px; margin: 0 auto; background: linear-gradient(180deg, var(--tech-border), var(--tech-accent-dim)); }
}

.tech-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.tech-adv-card {
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s;
}
.tech-adv-card:hover { border-color: var(--tech-accent-dim); }
.tech-adv-card i {
    font-size: 1.75rem;
    color: var(--tech-accent);
    margin-bottom: 1rem;
}
.tech-adv-card h4 {
    color: var(--tech-text);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.tech-adv-card p {
    color: var(--tech-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 2rem;
}
.tech-stack-item {
    padding: 0.5rem 1rem;
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 6px;
    color: var(--tech-text-muted);
    font-size: 0.9rem;
}
.tech-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.tech-partner-logo {
    opacity: 0.7;
    filter: grayscale(1);
    transition: opacity 0.2s, filter 0.2s;
}
.tech-partner-logo:hover { opacity: 1; filter: grayscale(0); }
.tech-partner-logo img { max-height: 36px; max-width: 140px; object-fit: contain; }

.tech-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.tech-testimonial {
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    padding: 2rem;
}
.tech-testimonial blockquote {
    color: var(--tech-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.tech-testimonial cite { color: var(--tech-text-muted); font-size: 0.9rem; }

.tech-cta {
    position: relative;
    padding: 5rem 1.5rem;
}
.tech-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(var(--tech-accent-rgb), 0.06) 0%, transparent 60%);
}
.tech-cta-inner { position: relative; z-index: 1; }
.tech-cta-title { margin-bottom: 0.5rem; }
.tech-contact-phone {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--tech-text);
}
.tech-contact-phone i {
    color: var(--tech-accent);
    margin-right: 0.5rem;
}
.tech-contact-phone a {
    color: var(--tech-accent);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.tech-contact-phone a:hover {
    text-decoration: underline;
}
.tech-contact-box {
    max-width: 560px;
    margin: 0 auto;
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 16px;
    padding: 2rem;
}
.tech-form-msg {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.tech-form-msg-success {
    background: rgba(var(--tech-success-rgb), 0.15);
    border: 1px solid rgba(var(--tech-success-rgb), 0.3);
    color: var(--tech-success);
}
.tech-form-msg-error {
    background: rgba(var(--tech-danger-rgb), 0.15);
    border: 1px solid rgba(var(--tech-danger-rgb), 0.3);
    color: var(--tech-danger);
}
.tech-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.tech-input, .tech-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(var(--tech-surface-rgb), 0.8);
    border: 1px solid var(--tech-border);
    border-radius: 8px;
    color: var(--tech-text);
    font-family: inherit;
    font-size: 0.95rem;
}
.tech-input::placeholder, .tech-textarea::placeholder { color: var(--tech-text-muted); }
.tech-input:focus, .tech-textarea:focus {
    outline: none;
    border-color: var(--tech-accent-dim);
    box-shadow: 0 0 0 2px rgba(var(--tech-accent-rgb), 0.1);
}
.tech-textarea { resize: vertical; margin-top: 1rem; }
.tech-form .tech-btn { margin-top: 1.25rem; }


/* ═══════════════════════════════════════════════════════
   7. 商店页共用 — store-hero / store-empty 基础
   ═══════════════════════════════════════════════════════ */
.tech-store .store-hero { min-height: 20vh; padding: 2.5rem 1.5rem; }
.tech-store .store-hero h1 { color: var(--tech-text); }
.tech-store .store-hero p { color: rgba(var(--tech-text-rgb), 0.85); }

/* ── 8a. 商品列表 — product_list ───────────────── */
.tech-store .tech-page-hero {
            min-height: 22vh;
            padding: 2.5rem 1.5rem;
        }
        .tech-store .tech-section {
            padding-top: 3rem;
        }
        .tech-store .store-search {
            max-width: 720px;
            margin: 0 auto 1.25rem;
        }
        .tech-store .store-search-box .input {
            background: var(--tech-bg);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2);
            color: var(--tech-text);
        }
        .tech-store .store-search-box .input::placeholder {
            color: rgba(var(--tech-text-muted-rgb), 0.6);
        }
        .tech-store .store-search-box .button {
            border-color: rgba(var(--tech-accent-rgb), 0.4);
        }
        .tech-store .store-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin: 0 auto 2rem;
            max-width: 960px;
            justify-content: center;
        }
        .tech-store .store-category-chip {
            display: inline-flex;
            align-items: center;
            padding: 0.4rem 0.9rem;
            border-radius: 999px;
            border: 1px solid rgba(var(--tech-accent-rgb), 0.2);
            color: var(--tech-text);
            text-decoration: none;
            font-size: 0.85rem;
            background: rgba(var(--tech-surface-rgb), 0.7);
            transition: all 0.2s ease;
        }
        .tech-store .store-category-chip:hover {
            border-color: rgba(var(--tech-accent-rgb), 0.5);
            color: var(--tech-accent);
            transform: translateY(-1px);
        }
        .tech-store .store-category-chip.is-active {
            background: rgba(var(--tech-accent-rgb), 0.15);
            border-color: rgba(var(--tech-accent-rgb), 0.6);
            color: var(--tech-accent);
            box-shadow: 0 6px 16px rgba(var(--tech-accent-rgb), 0.12);
        }
        .tech-store .store-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 1.75rem;
        }
        @media (max-width: 1200px) {
            .tech-store .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
        @media (max-width: 900px) {
            .tech-store .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 640px) {
            .tech-store .store-grid { grid-template-columns: 1fr; }
        }
        .tech-store .store-card {
            display: flex;
            flex-direction: column;
            background: linear-gradient(180deg, rgba(var(--tech-surface-rgb), 0.9) 0%, rgba(var(--tech-bg-rgb), 0.9) 100%);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.18);
            border-radius: 16px;
            overflow: hidden;
            text-decoration: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            position: relative;
        }
        .tech-store .store-card:hover {
            transform: translateY(-4px);
            border-color: rgba(var(--tech-accent-rgb), 0.4);
            box-shadow: 0 18px 40px rgba(var(--tech-bg-rgb), 0.55);
        }
        .tech-store .store-card-media {
            position: relative;
            background: var(--tech-bg);
            aspect-ratio: 4 / 3;
            height: 220px;
            overflow: hidden;
        }
        .tech-store .store-card-media::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(var(--tech-bg-rgb), 0) 40%, rgba(var(--tech-bg-rgb), 0.55) 100%);
            pointer-events: none;
        }
        .tech-store .store-card-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }
        .tech-store .store-card-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(var(--tech-text-muted-rgb), 0.7);
            font-size: 2rem;
            background: rgb(var(--tech-surface-rgb));
        }
        .tech-store .store-card-body {
            padding: 1.25rem 1.25rem 1.4rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .tech-store .store-card-title {
            color: var(--tech-text);
            font-size: 1.05rem;
            font-weight: 600;
            margin: 0;
            line-height: 1.4;
            min-height: 2.8em;
        }
        .tech-store .store-card-desc {
            color: rgba(var(--tech-text-muted-rgb), 0.85);
            font-size: 0.85rem;
            line-height: 1.5;
            margin: 0;
            min-height: 2.6em;
        }
        .tech-store .store-card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
        }
        .tech-store .store-card-actions {
            margin-top: var(--tech-space-3, 0.75rem);
        }
        .tech-store .store-card-price {
            color: var(--tech-accent);
            font-weight: 700;
            font-size: 1.05rem;
            background: rgba(var(--tech-accent-rgb), 0.12);
            padding: 0.25rem 0.6rem;
            border-radius: 999px;
            border: 1px solid rgba(var(--tech-accent-rgb), 0.35);
        }
        .tech-store .store-card-stock {
            font-size: 0.75rem;
            padding: 0.25rem 0.6rem;
            border-radius: 999px;
            border: 1px solid transparent;
            color: var(--tech-text);
        }
        .tech-store .store-card-stock.is-in {
            background: rgba(var(--tech-success-rgb), 0.15);
            border-color: rgba(var(--tech-success-rgb), 0.35);
            color: var(--tech-success);
        }
        .tech-store .store-card-stock.is-out {
            background: rgba(var(--tech-danger-alt-rgb), 0.12);
            border-color: rgba(var(--tech-danger-alt-rgb), 0.35);
            color: var(--tech-danger);
        }
        .tech-store .store-empty {
            text-align: center;
            color: var(--tech-text-muted);
            padding: 3rem 1rem;
            border: 1px dashed rgba(var(--tech-text-muted-rgb), 0.3);
            border-radius: 14px;
            background: rgba(var(--tech-surface-rgb), 0.6);
        }
        .tech-store .store-empty i {
            font-size: 2rem;
            margin-bottom: 0.75rem;
            color: rgba(var(--tech-text-muted-rgb), 0.6);
        }
        .tech-store .store-empty .tech-vip-empty-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: rgba(var(--tech-accent-rgb), 0.3);
        }
        .tech-store .store-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-top: 2.5rem;
        }
        .tech-store .store-page-info {
            color: var(--tech-text-muted);
        }
        .tech-store .tech-btn.is-disabled {
            pointer-events: none;
            opacity: 0.5;
        }

/* ── 8a. App 订阅页 — subscribe/plans ───────────── */
.tech-store .app-subscribe-hero-actions {
            margin-top: var(--tech-space-4, 1rem);
            display: flex;
            flex-wrap: wrap;
            gap: var(--tech-space-3, 0.75rem);
        }
        .tech-store .app-subscribe-status {
            display: flex;
            gap: var(--tech-space-4, 1rem);
            align-items: center;
            background: rgba(var(--tech-surface-rgb), 0.86);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.25);
            border-radius: var(--tech-radius-lg, 16px);
            padding: 1rem 1.1rem;
            margin-bottom: var(--tech-space-5, 1.25rem);
            box-shadow: var(--tech-shadow-sm, 0 6px 18px rgba(0, 0, 0, 0.18));
        }
        .tech-store .app-subscribe-status-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--tech-accent);
            background: rgba(var(--tech-accent-rgb), 0.12);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.28);
        }
        .tech-store .app-subscribe-status-title {
            color: var(--tech-text);
            font-weight: 700;
            font-size: 0.95rem;
        }
        .tech-store .app-subscribe-status-text {
            color: rgba(var(--tech-text-rgb), 0.75);
            font-size: 0.85rem;
            margin-top: 0.2rem;
        }

        .tech-store .app-subscribe-grid {
            align-items: stretch;
        }
        .tech-store .app-subscribe-card {
            position: relative;
            overflow: hidden;
        }
        .tech-store .app-subscribe-card::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 120px;
            height: 120px;
            background: radial-gradient(circle at center, rgba(var(--tech-accent-rgb), 0.2) 0%, rgba(var(--tech-accent-rgb), 0) 65%);
            pointer-events: none;
        }
        .tech-store .app-subscribe-card.is-current {
            border-color: rgba(var(--tech-accent-rgb), 0.5);
            box-shadow: 0 0 0 1px rgba(var(--tech-accent-rgb), 0.25) inset, 0 14px 28px rgba(var(--tech-accent-rgb), 0.16);
        }
        .tech-store .app-subscribe-card-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: var(--tech-space-3, 0.75rem);
        }
        .tech-store .app-subscribe-badges {
            display: inline-flex;
            gap: 0.4rem;
        }
        .tech-store .app-subscribe-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.2rem 0.55rem;
            font-size: 0.75rem;
            border-radius: 999px;
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.25);
            color: rgba(var(--tech-text-rgb), 0.8);
            background: rgba(var(--tech-text-muted-rgb), 0.1);
            white-space: nowrap;
        }
        .tech-store .app-subscribe-badge.is-current {
            color: var(--tech-accent);
            border-color: rgba(var(--tech-accent-rgb), 0.45);
            background: rgba(var(--tech-accent-rgb), 0.12);
        }
        .tech-store .app-subscribe-badge.is-recommend {
            color: var(--tech-vip);
            border-color: rgba(var(--tech-vip-rgb), 0.45);
            background: rgba(var(--tech-vip-rgb), 0.12);
        }

        .tech-store .app-subscribe-price {
            margin: 0.5rem 0 0.75rem;
            display: flex;
            align-items: baseline;
            gap: 0.5rem;
        }
        .tech-store .app-subscribe-price-value {
            font-size: 1.45rem;
            margin-bottom: 0;
        }
        .tech-store .app-subscribe-price-unit {
            font-size: 0.85rem;
        }

        .tech-store .app-subscribe-form {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
        .tech-store .app-plan-radio {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.55rem;
        }
        .tech-store .app-subscribe-pay-item {
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.24);
            border-radius: var(--tech-radius-sm, 10px);
            padding: 0.55rem 0.65rem;
            background: rgba(var(--tech-surface-rgb), 0.48);
            cursor: pointer;
            transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
        }
        .tech-store .app-subscribe-pay-item:hover {
            border-color: rgba(var(--tech-accent-rgb), 0.5);
            background: rgba(var(--tech-accent-rgb), 0.08);
            transform: translateY(-1px);
        }
        .tech-store .app-subscribe-pay-item input[type="radio"] {
            margin-right: 0.45rem;
        }
        .tech-store .app-subscribe-pay-item input[type="radio"]:checked + .app-subscribe-pay-text {
            color: var(--tech-accent);
        }
        .tech-store .app-subscribe-pay-text {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            color: var(--tech-text);
            font-size: 0.85rem;
        }

        .tech-store .app-subscribe-trust {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
            margin-top: 0.4rem;
            color: rgba(var(--tech-text-rgb), 0.72);
            font-size: 0.78rem;
        }
        .tech-store .app-subscribe-trust span {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }
        .tech-store .app-subscribe-submit {
            margin-top: 0.6rem;
        }

        @media screen and (max-width: 768px) {
            .tech-store .app-plan-radio {
                grid-template-columns: 1fr;
            }
            .tech-store .app-subscribe-card-head {
                flex-direction: column;
            }
        }

/* ── 8b. 商品详情 — product_detail ───────────────── */
.tech-store .store-hero { min-height: 22vh; padding: 2.5rem 1.5rem; }
        .tech-store .store-breadcrumb {
            color: rgba(var(--tech-text-muted-rgb), 0.8);
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        .tech-store .store-breadcrumb a { color: var(--tech-text); text-decoration: none; }
        .tech-store .store-breadcrumb a:hover { color: var(--tech-accent); }
        .tech-store .store-detail {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 2.5rem;
        }
        @media (max-width: 960px) {
            .tech-store .store-detail { grid-template-columns: 1fr; }
        }
        .tech-store .store-detail-cover {
            background: var(--tech-bg);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.18);
            height: 360px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .tech-store .store-detail-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .tech-store .store-detail-gallery {
            margin-top: 1rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
            gap: 0.75rem;
        }
        .tech-store .store-detail-thumb {
            background: var(--tech-bg);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.16);
            height: 86px;
        }
        .tech-store .store-detail-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .tech-store .store-detail-info {
            background: linear-gradient(180deg, rgba(var(--tech-surface-rgb), 0.9) 0%, rgba(var(--tech-bg-rgb), 0.9) 100%);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.18);
            border-radius: 16px;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .tech-store .store-detail-price {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--tech-accent);
        }
        .tech-store .store-detail-meta {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
            color: var(--tech-text);
            font-size: 0.9rem;
        }
        .tech-store .store-detail-meta .label {
            display: block;
            color: rgba(var(--tech-text-muted-rgb), 0.8);
            font-size: 0.75rem;
            margin-bottom: 0.25rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        .tech-store .store-detail-specs { display: flex; flex-direction: column; gap: 0.75rem; }
        .tech-store .store-spec .spec-label { color: rgba(var(--tech-text-muted-rgb), 0.8); font-size: 0.8rem; margin-bottom: 0.35rem; }
        .tech-store .store-spec .spec-values { display: flex; flex-wrap: wrap; gap: 0.5rem; }
        .tech-store .store-spec .spec-value {
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.35);
            color: var(--tech-text);
            background: rgba(var(--tech-surface-rgb), 0.6);
            border-radius: 10px;
            padding: 0.35rem 0.75rem;
            cursor: pointer;
        }
        .tech-store .store-spec .spec-value.is-active {
            border-color: rgba(var(--tech-accent-rgb), 0.7);
            color: var(--tech-accent);
            box-shadow: 0 6px 18px rgba(var(--tech-accent-rgb), 0.2);
        }
        .tech-store .store-spec .spec-value.is-disabled {
            opacity: 0.45;
            cursor: not-allowed;
            border-style: dashed;
        }
        .tech-store .store-detail-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
        .tech-store .store-qty { display: flex; flex-direction: column; gap: 0.35rem; color: rgba(var(--tech-text-muted-rgb), 0.85); font-size: 0.8rem; }
        .tech-store .store-qty-control { display: inline-flex; align-items: center; border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2); border-radius: 10px; overflow: hidden; background: rgba(var(--tech-surface-rgb), 0.6); }
        .tech-store .qty-btn { width: 32px; height: 32px; color: var(--tech-text); background: rgba(var(--tech-surface-rgb), 0.9); border: none; cursor: pointer; }
        .tech-store .qty-btn:hover { background: rgba(var(--tech-bg-rgb), 0.9); color: var(--tech-accent); }
        .tech-store .qty-input { width: 56px; height: 32px; text-align: center; border: none; background: transparent; color: var(--tech-text); }
        .tech-store .store-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
        .tech-store .store-cta .tech-btn-primary {
            background: linear-gradient(135deg, var(--tech-accent) 0%, var(--tech-accent-secondary) 100%);
            color: var(--tech-bg);
            border: none;
            box-shadow: 0 10px 24px rgba(var(--tech-accent-rgb), 0.2);
        }
        .tech-store .store-cta .tech-btn-ghost {
            border-color: rgba(var(--tech-text-muted-rgb), 0.4);
            color: var(--tech-text);
            background: rgba(var(--tech-surface-rgb), 0.6);
        }
        .tech-store .store-cta .tech-btn-ghost:hover {
            border-color: rgba(var(--tech-accent-rgb), 0.6);
            color: var(--tech-accent);
        }
        .tech-store .store-detail-content {
            margin-top: 2.5rem;
            background: rgba(var(--tech-surface-rgb), 0.7);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.12);
            border-radius: 16px;
            padding: 2rem;
        }
        .tech-store .store-detail-content h2 {
            font-family: var(--tech-font-title), sans-serif;
            font-size: 1.35rem;
            color: var(--tech-text);
            margin-bottom: 1rem;
        }
        .tech-store .store-detail-text {
            color: rgba(var(--tech-text-rgb), 0.85);
            line-height: 1.7;
        }

/* ── 9d. 支付 — pay_page ───────────────── */
.store-pay { display: flex; justify-content: center; }
        .store-pay-card {
            background: rgba(var(--tech-surface-rgb), 0.95);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.25);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            max-width: 420px;
            width: 100%;
        }
        .store-pay-qr img {
            width: 240px;
            height: 240px;
            background: var(--tech-qr-bg, #fff);
            padding: 12px;
            border-radius: 12px;
        }
        .store-pay-status { margin-top: 1rem; color: var(--tech-text); }
        .store-pay-guide {
            text-align: left;
            margin-bottom: 1.25rem;
            padding: 0.9rem 1rem;
            border-radius: 12px;
            background: rgba(var(--tech-text-muted-rgb), 0.08);
            color: var(--tech-text);
            border: 1px dashed rgba(var(--tech-text-muted-rgb), 0.35);
        }
        .store-pay-guide-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .store-pay-guide-list {
            margin: 0;
            padding-left: 1.1rem;
            color: rgba(var(--tech-text-rgb), 0.85);
            line-height: 1.6;
        }
        .store-pay-info {
            text-align: left;
            margin-bottom: 1.25rem;
            padding: 0.9rem 1rem;
            border-radius: 12px;
            background: rgba(var(--tech-surface-rgb), 0.6);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2);
        }
        .store-pay-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            padding: 0.45rem 0;
            border-bottom: 1px dashed rgba(var(--tech-text-muted-rgb), 0.2);
        }
        .store-pay-row:last-child { border-bottom: none; }
        .store-pay-label {
            color: rgba(var(--tech-text-rgb), 0.7);
            font-size: 0.95rem;
            min-width: 92px;
        }
        .store-pay-value {
            color: var(--tech-text);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-align: right;
            flex: 1;
            justify-content: flex-end;
        }
        .store-pay-value-strong { font-weight: 700; font-size: 1.05rem; }
        .store-pay-address span {
            max-width: 230px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .store-pay-copy {
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.35);
            background: transparent;
            color: var(--tech-text);
            font-size: 0.85rem;
            padding: 0.2rem 0.6rem;
            border-radius: 999px;
            cursor: pointer;
        }

/* ── 9c. 订单 — order_page ───────────────── */
.tech-store .store-orders { display: flex; flex-direction: column; gap: 1.5rem; }
        .tech-store .store-order-card {
            background: rgba(var(--tech-surface-rgb), 0.92);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.22);
            border-radius: 16px;
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .tech-store .store-order-header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
        .tech-store .store-order-no { color: var(--tech-text); font-weight: 600; }
        .tech-store .store-order-time { color: rgba(var(--tech-text-rgb), 0.75); font-size: 0.9rem; }
        .tech-store .store-order-status {
            padding: 0.2rem 0.75rem;
            border-radius: 999px;
            font-size: 0.85rem;
            background: rgba(var(--tech-text-muted-rgb), 0.2);
            color: var(--tech-text);
        }
        .tech-store .store-order-items { display: flex; flex-direction: column; gap: 0.75rem; }
        .tech-store .store-order-item { display: grid; grid-template-columns: 80px 1fr; gap: 0.75rem; align-items: center; }
        .tech-store .store-order-cover { width: 80px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--tech-bg); }
        .tech-store .store-order-cover img { width: 100%; height: 100%; object-fit: cover; }
        .tech-store .store-order-info h4 { color: var(--tech-text); margin: 0 0 0.25rem; }
        .tech-store .store-order-meta { color: rgba(var(--tech-text-rgb), 0.85); font-size: 0.9rem; display: flex; gap: 1rem; flex-wrap: wrap; }
        .tech-store .store-order-footer { display: flex; justify-content: flex-end; gap: 0.5rem; color: var(--tech-text); }
        .tech-store .store-order-footer strong { color: var(--tech-accent); font-size: 1.05rem; }
        .tech-store .store-order-more { text-align: center; margin-top: 1rem; }
        .tech-store .store-empty { text-align: center; color: rgba(var(--tech-text-rgb), 0.85); padding: 2rem 1rem; }

/* ── 9b. 结算 — checkout_page ───────────────── */
.tech-store .store-checkout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
        @media (max-width: 960px) { .tech-store .store-checkout { grid-template-columns: 1fr; } }
        .tech-store .store-panel {
            background: rgba(var(--tech-surface-rgb), 0.92);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.22);
            border-radius: 16px;
            padding: 1.25rem;
            margin-bottom: 1.25rem;
        }
        .tech-store .store-panel h3 { color: var(--tech-text); margin: 0 0 1rem; }
        .tech-store .store-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
        @media (max-width: 700px) { .tech-store .store-form-grid { grid-template-columns: 1fr; } }
        .tech-store .store-form-field label { display: block; color: rgba(var(--tech-text-rgb), 0.9); margin-bottom: 0.35rem; }
        .tech-store .store-form-full { grid-column: 1 / -1; }
        .tech-store .store-checkout-list { display: flex; flex-direction: column; gap: 1rem; }
        .tech-store .store-checkout-item { display: grid; grid-template-columns: 90px 1fr 120px; gap: 1rem; align-items: center; }
        @media (max-width: 700px) { .tech-store .store-checkout-item { grid-template-columns: 1fr; } }
        .tech-store .store-checkout-cover { width: 90px; height: 70px; border-radius: 12px; overflow: hidden; background: var(--tech-bg); }
        .tech-store .store-checkout-cover img { width: 100%; height: 100%; object-fit: cover; }
        .tech-store .store-checkout-info h4 { color: var(--tech-text); margin: 0 0 0.5rem; }
        .tech-store .store-checkout-subtotal { color: var(--tech-accent); font-weight: 700; text-align: right; }
        .tech-store .store-checkout-summary {
            background: rgba(var(--tech-surface-rgb), 0.95);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.25);
            border-radius: 16px;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            height: fit-content;
            box-shadow: 0 12px 30px rgba(var(--tech-bg-rgb), 0.45);
        }
        .tech-store .summary-row { display: flex; justify-content: space-between; color: var(--tech-text); font-size: 1rem; }
        .tech-store .summary-row strong { color: var(--tech-text); font-size: 1.25rem; text-shadow: 0 2px 8px rgba(var(--tech-bg-rgb), 0.35); }
        .tech-store .summary-hint { color: rgba(var(--tech-text-muted-rgb), 0.9); font-size: 0.85rem; margin-top: -0.4rem; }
        .tech-store .balance-input { max-width: 140px; text-align: right; }
        .tech-store .store-cart-meta { color: rgba(var(--tech-text-rgb), 0.9); display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.92rem; }
        .tech-store .store-cart-meta span { background: rgba(var(--tech-surface-rgb), 0.7); padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2); }
        .tech-store .tech-input {
            background: rgba(var(--tech-bg-rgb), 0.65);
            color: var(--tech-text);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.4);
            border-radius: 8px;
            padding: 0.4rem 0.6rem;
        }
        .tech-store .tech-btn-primary { background: linear-gradient(135deg, var(--tech-accent) 0%, var(--tech-accent-secondary) 100%); color: var(--tech-bg); font-weight: 700; }
        .tech-store .store-empty { text-align: center; color: rgba(var(--tech-text-rgb), 0.85); padding: 2rem 1rem; }

/* ── 9a. 购物车 — cart_page ───────────────── */
.tech-store .store-cart { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
        @media (max-width: 960px) { .tech-store .store-cart { grid-template-columns: 1fr; } }
        .tech-store .store-cart-list { display: flex; flex-direction: column; gap: 1rem; }
        .tech-store .store-cart-select {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            color: rgba(var(--tech-text-rgb), 0.9);
            padding: 0.25rem 0.5rem;
        }
        .tech-store .store-cart-select label { display: flex; align-items: center; gap: 0.5rem; }
        .tech-store .store-cart-select-tip { font-size: 0.9rem; opacity: 0.8; }
        .tech-store .store-cart-item {
            display: grid;
            grid-template-columns: 32px 120px 1fr 120px;
            gap: 1rem;
            align-items: center;
            background: rgba(var(--tech-surface-rgb), 0.92);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.22);
            border-radius: 16px;
            padding: 1rem;
        }
        @media (max-width: 700px) { .tech-store .store-cart-item { grid-template-columns: 1fr; } }
        .tech-store .store-cart-check { display: flex; align-items: center; justify-content: center; }
        .tech-store .store-cart-cover {
            width: 120px;
            height: 90px;
            border-radius: 12px;
            overflow: hidden;
            background: var(--tech-bg);
        }
        .tech-store .store-cart-cover img { width: 100%; height: 100%; object-fit: cover; }
        .tech-store .store-cart-info h3 { color: var(--tech-text); margin: 0 0 0.5rem; font-weight: 600; }
        .tech-store .store-cart-meta { color: rgba(var(--tech-text-rgb), 0.9); display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.92rem; }
        .tech-store .store-cart-meta span { background: rgba(var(--tech-surface-rgb), 0.7); padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2); }
        .tech-store .store-cart-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
        .tech-store .store-cart-qty .qty-btn { width: 32px; height: 32px; border: none; border-radius: 8px; background: rgba(var(--tech-surface-rgb), 0.95); color: var(--tech-text); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(var(--tech-text-muted-rgb),0.25); }
        .tech-store .store-cart-qty .qty-btn:hover { color: var(--tech-accent); box-shadow: inset 0 0 0 1px rgba(var(--tech-accent-rgb),0.6); }
        .tech-store .store-cart-qty .qty-input { width: 64px; height: 32px; border: 1px solid rgba(var(--tech-text-muted-rgb), 0.3); border-radius: 8px; background: rgba(var(--tech-surface-rgb), 0.7); color: var(--tech-text); text-align: center; }
        .tech-store .store-cart-qty .qty-remove { border: 1px solid rgba(var(--tech-danger-alt-rgb), 0.9); color: var(--tech-text); background: rgba(var(--tech-danger-rgb), 0.35); border-radius: 8px; padding: 0.3rem 0.6rem; cursor: pointer; }
        .tech-store .store-cart-qty .qty-remove:hover { background: rgba(var(--tech-danger-rgb), 0.5); }
        .tech-store .store-cart-subtotal { color: var(--tech-accent); font-weight: 700; text-align: right; }
        .tech-store .store-cart-summary {
            background: rgba(var(--tech-surface-rgb), 0.95);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.25);
            border-radius: 16px;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            height: fit-content;
            box-shadow: 0 12px 30px rgba(var(--tech-bg-rgb), 0.45);
        }
        .tech-store .summary-row { display: flex; justify-content: space-between; color: var(--tech-text); font-size: 1rem; }
        .tech-store .summary-row strong { color: var(--tech-text); font-size: 1.25rem; text-shadow: 0 2px 8px rgba(var(--tech-bg-rgb), 0.35); }
        .tech-store .tech-input {
            background: rgba(var(--tech-bg-rgb), 0.65);
            color: var(--tech-text);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.4);
            border-radius: 8px;
            padding: 0.4rem 0.6rem;
        }
        .tech-store .tech-btn-primary {
            background: linear-gradient(135deg, var(--tech-accent) 0%, var(--tech-accent-secondary) 100%);
            color: var(--tech-bg);
            font-weight: 700;
        }
        .tech-store .tech-btn-primary:hover {
            filter: brightness(1.05);
        }
        .tech-store .store-empty { text-align: center; color: rgba(var(--tech-text-rgb), 0.85); padding: 3rem 1rem; }

/* ── 10a. 登录 — login ───────────────── */
/* 按钮、链接、表单基础见 tech_shared，此处仅登录页独有 */
        .tech-login-page { min-height: 100vh; }
        .tech-login-section {
            position: relative;
            padding: 4rem 1.5rem 6rem;
            min-height: calc(100vh - 3.25rem - 280px);
        }
        .tech-login-bg {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }
        .tech-login-bg .tech-grid {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px);
            background-size: 48px 48px;
        }
        .tech-login-bg .tech-glow {
            position: absolute;
            width: 60%;
            height: 60%;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.15;
        }
        .tech-login-bg .tech-glow-1 {
            top: -20%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--tech-accent);
        }
        .tech-login-inner { position: relative; z-index: 1; }
        .tech-login-card {
            max-width: 420px;
            margin: 0 auto;
            background: rgba(var(--tech-surface-rgb), 0.6);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.2);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 8px 32px rgba(var(--tech-bg-rgb), 0.3);
        }
        .tech-login-title {
            font-family: var(--tech-font-title), sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--tech-accent);
            margin-bottom: 0.5rem;
        }
        .tech-login-sub {
            color: rgba(var(--tech-text-rgb), 0.7);
            font-size: 0.95rem;
            margin-bottom: 1.75rem;
        }
        .tech-login-error, .tech-login-success {
            padding: 0.75rem 1rem;
            border-radius: 8px;
            margin-bottom: 1.25rem;
            font-size: 0.9rem;
        }
        .tech-login-error {
            background: rgba(var(--tech-danger-rgb), 0.15);
            border: 1px solid rgba(var(--tech-danger-rgb), 0.3);
            color: var(--tech-danger);
        }
        .tech-login-error.is-visible { display: block !important; }
        .tech-login-success {
            background: rgba(var(--tech-success-rgb), 0.15);
            border: 1px solid rgba(var(--tech-success-rgb), 0.3);
            color: var(--tech-success);
        }
        .tech-login-submit {
            width: 100%;
            margin-top: 0.5rem;
            padding: 0.85rem 1.5rem;
            font-weight: 600;
        }
        .tech-login-links {
            margin-top: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
            color: rgba(var(--tech-text-rgb), 0.6);
        }
        .tech-login-sep { margin: 0 0.5rem; }

/* ── 10b. 注册 — register ───────────────── */
/* 与登录页一致：按钮、链接、表单基础见 tech_shared，此处仅注册页独有 */
        .tech-register-page { min-height: 100vh; }
        .tech-register-section {
            position: relative;
            padding: 4rem 1.5rem 6rem;
            min-height: calc(100vh - 3.25rem - 280px);
        }
        .tech-register-bg {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }
        .tech-register-bg .tech-grid {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px);
            background-size: 48px 48px;
        }
        .tech-register-bg .tech-glow {
            position: absolute;
            width: 60%;
            height: 60%;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.15;
        }
        .tech-register-bg .tech-glow-1 {
            top: -20%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--tech-accent);
        }
        .tech-register-inner { position: relative; z-index: 1; }
        .tech-register-card {
            max-width: 420px;
            margin: 0 auto;
            background: rgba(var(--tech-surface-rgb), 0.6);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.2);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 8px 32px rgba(var(--tech-bg-rgb), 0.3);
        }
        .tech-register-title {
            font-family: var(--tech-font-title), sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--tech-accent);
            margin-bottom: 0.5rem;
        }
        .tech-register-sub {
            color: rgba(var(--tech-text-rgb), 0.7);
            font-size: 0.95rem;
            margin-bottom: 1.75rem;
        }
        .tech-register-error, .tech-register-success {
            padding: 0.75rem 1rem;
            border-radius: 8px;
            margin-bottom: 1.25rem;
            font-size: 0.9rem;
        }
        .tech-register-error {
            background: rgba(var(--tech-danger-rgb), 0.15);
            border: 1px solid rgba(var(--tech-danger-rgb), 0.3);
            color: var(--tech-danger);
        }
        .tech-register-error-item { margin: 0 0 0.25rem 0; }
        .tech-field-row {
            display: flex;
            gap: 0.75rem;
        }
        .tech-input-code { flex: 1; }
        .tech-btn-send { flex-shrink: 0; white-space: nowrap; }
        .tech-field-checkbox { margin-bottom: 1rem; }
        .tech-checkbox-label {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            color: rgba(var(--tech-text-rgb), 0.8);
            font-size: 0.9rem;
            cursor: pointer;
        }
        .tech-checkbox-label input { margin-top: 0.25rem; }
        .tech-register-submit {
            width: 100%;
            margin-top: 0.5rem;
            padding: 0.85rem 1.5rem;
            font-weight: 600;
        }
        .tech-register-links {
            margin-top: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
            color: rgba(var(--tech-text-rgb), 0.6);
        }
        .tech-register-sep { margin: 0 0.5rem; }

/* ── 10c. 忘记密码 — forgot password ───────────────── */
        .tech-forgot-page { min-height: 100vh; }
        .tech-forgot-section {
            position: relative;
            padding: 4rem 1.5rem 6rem;
            min-height: calc(100vh - 3.25rem - 280px);
        }
        .tech-forgot-bg {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }
        .tech-forgot-bg .tech-grid {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(var(--tech-accent-rgb), 0.03) 1px, transparent 1px);
            background-size: 48px 48px;
        }
        .tech-forgot-bg .tech-glow {
            position: absolute;
            width: 60%;
            height: 60%;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.15;
        }
        .tech-forgot-bg .tech-glow-1 {
            top: -20%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--tech-accent);
        }
        .tech-forgot-inner { position: relative; z-index: 1; }
        .tech-forgot-card {
            max-width: 420px;
            margin: 0 auto;
            background: rgba(var(--tech-surface-rgb), 0.6);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.2);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 8px 32px rgba(var(--tech-bg-rgb), 0.3);
        }
        .tech-forgot-title {
            font-family: var(--tech-font-title), sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--tech-accent);
            margin-bottom: 0.5rem;
        }
        .tech-forgot-sub {
            color: rgba(var(--tech-text-rgb), 0.7);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
        /* 步骤指示器 */
        .tech-forgot-steps {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            margin-bottom: 2rem;
        }
        .tech-forgot-step {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            opacity: 0.4;
            transition: opacity 0.3s;
        }
        .tech-forgot-step.active { opacity: 1; }
        .tech-forgot-step.done .tech-forgot-step-num {
            background: var(--tech-success);
            border-color: var(--tech-success);
        }
        .tech-forgot-step-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 2px solid var(--tech-accent);
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--tech-accent);
            flex-shrink: 0;
        }
        .tech-forgot-step.active .tech-forgot-step-num {
            background: var(--tech-accent);
            color: var(--tech-bg);
        }
        .tech-forgot-step-text {
            font-size: 0.85rem;
            color: var(--tech-text);
        }
        .tech-forgot-step-line {
            width: 40px;
            height: 2px;
            background: rgba(var(--tech-accent-rgb), 0.2);
            margin: 0 0.75rem;
            transition: background 0.3s;
        }
        .tech-forgot-step-line.active {
            background: var(--tech-accent);
        }
        /* 表单 */
        .tech-forgot-submit {
            width: 100%;
            margin-top: 0.5rem;
            padding: 0.85rem 1.5rem;
            font-weight: 600;
        }
        .tech-forgot-form-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }
        .tech-forgot-back {
            flex: 0 0 auto;
            padding: 0.85rem 1.5rem;
        }
        .tech-forgot-submit-half {
            flex: 1;
            padding: 0.85rem 1.5rem;
            font-weight: 600;
        }
        .tech-forgot-links {
            margin-top: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
            color: rgba(var(--tech-text-rgb), 0.6);
        }
        .tech-forgot-sep { margin: 0 0.5rem; }

/* ── 11a. VIP 套餐 — vip_page ───────────────── */
.tech-store .vip-overview-strip {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.9rem;
            margin-bottom: 1.25rem;
        }
        .tech-store .vip-overview-item {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            padding: 0.9rem 1rem;
            border-radius: 12px;
            background: rgba(var(--tech-surface-rgb), 0.92);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.16);
        }
        .tech-store .vip-overview-label {
            color: rgba(var(--tech-text-rgb), 0.62);
            font-size: 0.8rem;
        }
        .tech-store .vip-overview-value {
            color: var(--tech-text);
            font-size: 1rem;
            line-height: 1.2;
            font-weight: 700;
        }
        .tech-store .vip-overview-trust {
            grid-column: 1 / -1;
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            color: rgba(var(--tech-text-rgb), 0.76);
            font-size: 0.85rem;
        }
        .tech-store .vip-overview-trust i {
            color: var(--tech-accent);
            margin-right: 0.35rem;
        }
.vip-plans {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        .vip-plan-card {
            position: relative;
            background: rgba(var(--tech-surface-rgb), 0.92);
            border: 2px solid rgba(var(--tech-text-muted-rgb), 0.15);
            border-radius: 16px;
            padding: 2rem 1.5rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .vip-plan-card:hover { border-color: rgba(var(--tech-accent-rgb), 0.3); box-shadow: 0 0 30px rgba(var(--tech-accent-rgb), 0.06); }
        .vip-plan-card.vip-selected { border-color: var(--tech-accent); box-shadow: 0 0 40px rgba(var(--tech-accent-rgb), 0.12); }
        .vip-plan-card.vip-current { border-color: rgba(var(--tech-vip-rgb), 0.4); }
        .vip-plan-badge {
            position: absolute;
            top: -1px;
            right: 1rem;
            background: var(--tech-vip);
            color: var(--tech-bg);
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.2rem 0.6rem;
            border-radius: 0 0 8px 8px;
        }
        .vip-plan-icon { margin-bottom: 1rem; }
        .vip-plan-icon img { width: 56px; height: 56px; border-radius: 50%; }
        .vip-plan-icon i { font-size: 2.5rem; color: var(--tech-vip); }
        .vip-plan-name { color: var(--tech-text); font-size: 1.2rem; margin: 0 0 0.75rem; }
        .vip-plan-price { margin-bottom: 0.5rem; }
        .vip-plan-currency { color: var(--tech-accent); font-size: 1rem; vertical-align: top; }
        .vip-plan-amount { color: var(--tech-accent); font-size: 2rem; font-weight: 700; }
        .vip-plan-period { color: rgba(var(--tech-text-rgb), 0.6); font-size: 0.85rem; }
        .vip-plan-discount { color: var(--tech-vip); font-size: 0.85rem; margin-bottom: 0.75rem; }
        .vip-plan-desc { color: rgba(var(--tech-text-rgb), 0.65); font-size: 0.85rem; line-height: 1.4; margin-bottom: 1rem; min-height: 2.8rem; }
        .vip-plan-btn { width: 100%; }

        .vip-purchase-panel {
            background: rgba(var(--tech-surface-rgb), 0.92);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.2);
            border-radius: 16px;
            padding: 2rem;
            margin-top: 1rem;
        }
        .vip-purchase-title {
            color: var(--tech-text);
            font-size: 1.1rem;
            margin: 0 0 0.4rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .vip-purchase-title i { color: var(--tech-accent); }
        .tech-store .vip-purchase-hint {
            margin: 0 0 1.2rem;
            color: rgba(var(--tech-text-rgb), 0.62);
            font-size: 0.9rem;
        }

        .vip-duration-row,
        .vip-pay-row,
        .vip-total-row,
        .vip-action-row {
            margin-bottom: 1.25rem;
        }
        .vip-duration-row label,
        .vip-pay-row label {
            display: block;
            color: rgba(var(--tech-text-rgb), 0.8);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        .vip-duration-options,
        .vip-pay-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        .vip-duration-btn {
            padding: 0.75rem 1.25rem;
            border-radius: 10px;
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2);
            background: rgba(var(--tech-surface-rgb), 0.6);
            color: var(--tech-text);
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.9rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
            min-width: 120px;
        }
        .vip-duration-btn:hover { border-color: rgba(var(--tech-accent-rgb), 0.4); }
        .vip-duration-btn.active {
            background: rgba(var(--tech-accent-rgb), 0.1);
            border-color: var(--tech-accent);
            color: var(--tech-accent);
        }
        .vip-opt-days { font-weight: 600; font-size: 0.95rem; }
        .vip-opt-price { font-size: 1.1rem; font-weight: 700; color: var(--tech-accent); }
        .vip-opt-text { font-size: 0.75rem; color: rgba(var(--tech-text-rgb), 0.5); }
        .vip-duration-btn.active .vip-opt-price { color: var(--tech-accent); }

        .vip-pay-btn {
            padding: 0.5rem 1.25rem;
            border-radius: 8px;
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2);
            background: rgba(var(--tech-surface-rgb), 0.6);
            color: var(--tech-text);
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }
        .vip-pay-btn:hover { border-color: rgba(var(--tech-accent-rgb), 0.4); }
        .vip-pay-btn.active {
            background: rgba(var(--tech-accent-rgb), 0.1);
            border-color: var(--tech-accent);
            color: var(--tech-accent);
        }
        .tech-store .vip-pay-empty {
            border: 1px dashed rgba(var(--tech-text-muted-rgb), 0.28);
            border-radius: 10px;
            padding: 0.75rem 0.9rem;
            color: rgba(var(--tech-text-rgb), 0.68);
            font-size: 0.86rem;
            background: rgba(var(--tech-surface-rgb), 0.5);
        }

        .vip-total-row {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: rgba(var(--tech-text-rgb), 0.8);
            font-size: 0.95rem;
            padding: 1rem 0;
            border-top: 1px solid rgba(var(--tech-text-muted-rgb), 0.1);
        }
        .vip-total-price { color: var(--tech-accent); font-size: 1.5rem; }
        .vip-total-days { color: rgba(var(--tech-text-rgb), 0.5); font-size: 0.85rem; }

        .vip-action-row { text-align: center; padding-top: 0.5rem; }
        .tech-btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }

        @media screen and (max-width: 768px) {
            .tech-store .vip-overview-strip { grid-template-columns: 1fr; }
            .vip-plans { grid-template-columns: 1fr; }
            .vip-duration-options { flex-direction: column; }
            .vip-duration-btn { min-width: auto; width: 100%; }
        }

/* ── 11b. VIP 仪表盘 — dashboard ───────────────── */
.tech-store .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }
        .tech-store .dash-card {
            background: rgba(var(--tech-surface-rgb), 0.92);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.15);
            border-radius: var(--tech-radius-lg, 16px);
            padding: 1.5rem;
        }
        .tech-store .dash-card-header {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 1.25rem;
            color: var(--tech-text);
            font-size: 1.05rem;
        }
        .tech-store .dash-card-header i { color: var(--tech-accent); }
        .tech-store .dash-card-header h3 { margin: 0; font-size: 1.05rem; }

        .tech-store .dash-profile {
            grid-column: 1 / -1;
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }
        .tech-store .dash-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(var(--tech-accent-rgb), 0.3); }
        .tech-store .dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .tech-store .dash-avatar-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(var(--tech-accent-rgb), 0.1); color: var(--tech-accent); font-size: 2rem; }
        .tech-store .dash-profile-info h2 { color: var(--tech-text); margin: 0 0 0.25rem; font-size: 1.25rem; }
        .tech-store .dash-email { color: rgba(var(--tech-text-rgb), 0.7); margin: 0 0 0.5rem; font-size: 0.9rem; }
        .tech-store .dash-level-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 600;
            background: linear-gradient(135deg, rgba(var(--tech-accent-rgb), 0.15), rgba(var(--tech-purple-rgb), 0.15));
            color: var(--tech-accent);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.25);
        }
        .tech-store .dash-level-badge .fa-crown { color: var(--tech-vip); }
        .tech-store .dash-level-free { background: rgba(var(--tech-text-muted-rgb), 0.1); color: var(--tech-text-muted); border-color: rgba(var(--tech-text-muted-rgb), 0.2); }
        .tech-store .dash-discount { background: rgba(var(--tech-accent-rgb), 0.2); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.75rem; }

        .tech-store .dash-vip-level { color: var(--tech-accent); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
        .tech-store .dash-vip-meta { color: rgba(var(--tech-text-rgb), 0.75); font-size: 0.9rem; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
        .tech-store .dash-vip-days { color: var(--tech-vip); font-weight: 600; }
        .tech-store .dash-vip-empty { text-align: center; padding: 1rem 0; }
        .tech-store .dash-vip-empty p { color: rgba(var(--tech-text-rgb), 0.6); margin-bottom: 1rem; }

        .tech-store .dash-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
        .tech-store .dash-link-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            padding: 1rem 0.5rem;
            border-radius: 12px;
            background: rgba(var(--tech-accent-rgb), 0.04);
            border: 1px solid rgba(var(--tech-accent-rgb), 0.1);
            color: var(--tech-text);
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .tech-store .dash-link-item:hover { background: rgba(var(--tech-accent-rgb), 0.1); border-color: rgba(var(--tech-accent-rgb), 0.3); color: var(--tech-accent); }
        .tech-store .dash-link-item i { font-size: 1.25rem; color: var(--tech-accent); }
        .tech-store .dash-link-item span { font-size: 0.85rem; }

        .tech-store .dash-ledger { grid-column: auto; }
        .tech-store .dash-subscriptions { grid-column: auto; }
        .tech-store .dash-subscriptions-body { display: flex; flex-direction: column; gap: 0.75rem; }
        .tech-store .dash-subscription-list { display: flex; flex-direction: column; gap: 0.75rem; }
        .tech-store .dash-subscription-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.75rem 1rem;
            border-radius: 12px;
            background: rgba(var(--tech-accent-rgb), 0.04);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.12);
            transition: all 0.2s ease;
        }
        .tech-store .dash-subscription-row:hover { background: rgba(var(--tech-accent-rgb), 0.08); border-color: rgba(var(--tech-accent-rgb), 0.25); }
        .tech-store .dash-subscription-main { display: flex; flex-direction: column; gap: 0.35rem; }
        .tech-store .dash-subscription-title { color: var(--tech-text); font-weight: 600; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
        .tech-store .dash-subscription-plan { color: rgba(var(--tech-text-rgb), 0.7); font-size: 0.85rem; }
        .tech-store .dash-subscription-meta { color: rgba(var(--tech-text-rgb), 0.6); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
        .tech-store .dash-subscription-status { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
        .tech-store .dash-subscription-price { font-weight: 700; color: var(--tech-accent); }
        .tech-store .dash-subscription-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.15rem 0.6rem;
            border-radius: 999px;
            font-size: 0.75rem;
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2);
            background: rgba(var(--tech-text-muted-rgb), 0.08);
            color: rgba(var(--tech-text-rgb), 0.7);
        }
        .tech-store .dash-subscription-badge.is-active {
            background: rgba(var(--tech-accent-rgb), 0.15);
            border-color: rgba(var(--tech-accent-rgb), 0.35);
            color: var(--tech-accent);
        }
        .tech-store .dash-ledger-body { display: flex; flex-direction: column; gap: 0.75rem; }
        .tech-store .dash-ledger-list { display: flex; flex-direction: column; gap: 0.75rem; }
        .tech-store .dash-ledger-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            border-radius: 12px;
            background: rgba(var(--tech-accent-rgb), 0.04);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.12);
            transition: all 0.2s ease;
        }
        .tech-store .dash-ledger-row:hover { background: rgba(var(--tech-accent-rgb), 0.08); border-color: rgba(var(--tech-accent-rgb), 0.25); }
        .tech-store .dash-ledger-main { display: flex; flex-direction: column; gap: 0.2rem; }
        .tech-store .dash-ledger-note { color: var(--tech-text); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
        .tech-store .dash-ledger-time { color: rgba(var(--tech-text-rgb), 0.6); font-size: 0.8rem; }
        .tech-store .dash-ledger-amount { font-weight: 700; font-size: 0.95rem; }
        .tech-store .dash-ledger-amount.is-credit { color: var(--tech-accent); }
        .tech-store .dash-ledger-amount.is-debit { color: var(--tech-text); }
        .tech-store .dash-ledger-biz {
            display: inline-flex;
            align-items: center;
            padding: 0.1rem 0.5rem;
            border-radius: 999px;
            font-size: 0.75rem;
            color: rgba(var(--tech-text-rgb), 0.7);
            border: 1px solid rgba(var(--tech-text-muted-rgb), 0.2);
            background: rgba(var(--tech-text-muted-rgb), 0.08);
        }
        .tech-store .dash-empty { color: rgba(var(--tech-text-rgb), 0.6); font-size: 0.9rem; }

        @media screen and (max-width: 768px) {
            .tech-store .dashboard-grid { grid-template-columns: 1fr; }
            .tech-store .dash-profile { flex-direction: column; text-align: center; }
            .tech-store .dash-subscription-row { flex-direction: column; align-items: flex-start; }
            .tech-store .dash-subscription-status { align-items: flex-start; }
        }

/* ═══════════════════════════════════════════════════════
   异常/错误提示页 — 全部使用主题变量，与前台主题同步
   ═══════════════════════════════════════════════════════ */
body.tech-home.exception-page,
body.tech-store.exception-page {
    font-family: var(--tech-font-title), sans-serif;
    margin: 0;
    padding: 0;
    background: var(--tech-bg);
    color: var(--tech-text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.tech-home .message-container,
.tech-store .message-container {
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 24px rgba(var(--tech-bg-rgb), 0.4);
    text-align: center;
    max-width: 400px;
    width: 90%;
    color: var(--tech-text);
}
.tech-home .message-icon,
.tech-store .message-icon {
    font-size: 48px;
    color: var(--tech-accent);
    margin-bottom: 1.25rem;
}
.tech-home .message-title,
.tech-store .message-title {
    font-size: 1.25rem;
    color: var(--tech-text);
    margin-bottom: 1rem;
    font-weight: 700;
}
.tech-home .message-text,
.tech-store .message-text {
    font-size: 1rem;
    color: var(--tech-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.tech-home .countdown,
.tech-store .countdown {
    font-size: 0.875rem;
    color: var(--tech-text-muted);
    margin-bottom: 1.25rem;
}
.tech-home .btn-login,
.tech-store .btn-login {
    background: var(--tech-accent);
    color: var(--tech-bg);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: filter 0.2s;
}
.tech-home .btn-login:hover,
.tech-store .btn-login:hover {
    filter: brightness(0.9);
}
.tech-home .progress-bar,
.tech-store .progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(var(--tech-accent-rgb), 0.2);
    border-radius: 2px;
    margin: 1.25rem 0;
    overflow: hidden;
}
.tech-home .progress-fill,
.tech-store .progress-fill {
    height: 100%;
    width: 100%;
    background: var(--tech-accent);
    border-radius: 2px;
}
@keyframes exception-countdown {
    from { width: 100%; }
    to { width: 0; }
}

.tech-home .btn-back,
.tech-store .btn-back {
    background: var(--tech-accent);
    color: var(--tech-bg);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin: 0 0.25rem;
    transition: filter 0.2s;
}
.tech-home .btn-back:hover,
.tech-store .btn-back:hover {
    filter: brightness(0.9);
}
.tech-home .btn-home,
.tech-store .btn-home {
    background: var(--tech-success);
    color: var(--tech-bg);
}
.tech-home .btn-home:hover,
.tech-store .btn-home:hover {
    filter: brightness(0.9);
}

.tech-home .error-container,
.tech-store .error-container {
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 24px rgba(var(--tech-bg-rgb), 0.4);
    color: var(--tech-text);
    max-width: 800px;
    margin: 0 auto;
}
.tech-home .error-header,
.tech-store .error-header {
    color: var(--tech-danger);
    border-bottom: 2px solid var(--tech-danger);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.tech-home .error-header h1,
.tech-store .error-header h1 {
    margin: 0;
    font-size: 1.5rem;
}
.tech-home .error-time,
.tech-store .error-time {
    color: var(--tech-text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.tech-home .error-message,
.tech-store .error-message {
    background: rgba(var(--tech-danger-rgb), 0.1);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--tech-danger);
}
.tech-home .error-message h2,
.tech-store .error-message h2 {
    margin-top: 0;
    color: var(--tech-danger);
}
.tech-home .error-details,
.tech-store .error-details {
    background: rgba(var(--tech-accent-rgb), 0.06);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.tech-home .error-details h3,
.tech-store .error-details h3 {
    margin-top: 0;
    color: var(--tech-text);
}
.tech-home .error-info,
.tech-store .error-info {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.tech-home .error-label,
.tech-store .error-label {
    font-weight: 600;
    color: var(--tech-text-muted);
}
.tech-home .error-value,
.tech-store .error-value {
    color: var(--tech-text-muted);
    word-break: break-all;
}
.tech-home .error-trace,
.tech-store .error-trace {
    background: var(--tech-bg);
    color: var(--tech-text-muted);
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.tech-home .error-trace h3,
.tech-store .error-trace h3 {
    margin-top: 0;
    color: var(--tech-text);
}
.tech-home .error-trace pre,
.tech-store .error-trace pre {
    margin: 0;
    font-family: var(--tech-font-mono), monospace;
    font-size: 0.8125rem;
    line-height: 1.4;
    white-space: pre-wrap;
}
.tech-home .back-button,
.tech-store .back-button {
    background: var(--tech-accent);
    color: var(--tech-bg);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: filter 0.2s;
}
.tech-home .back-button:hover,
.tech-store .back-button:hover {
    filter: brightness(0.9);
}
.tech-home .exception-actions,
.tech-store .exception-actions {
    text-align: center;
    margin-top: 1.5rem;
}
.tech-home .exception-actions .exception-actions-home,
.tech-store .exception-actions .exception-actions-home {
    margin-left: 0.5rem;
}
@media (max-width: 768px) {
    .tech-home .error-info,
    .tech-store .error-info {
        grid-template-columns: 1fr;
    }
}
