/* 知空 · 样式 */

/* ---------- 设计令牌 ---------- */
:root {
    /* 品牌色 */
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --violet: #8B5CF6;
    --cyan: #06B6D4;
    --brand-grad: linear-gradient(135deg, #6366F1 0%, #8B5CF6 55%, #06B6D4 130%);
    --brand: #6366F1;   /* 品牌主色（legal.css 里的同名变量，index.html 不加载 legal.css，故在此补上）*/

    /* 中性色 */
    --bg: #F7F8FC;
    --surface: #FFFFFF;
    --surface-2: #F1F3F9;
    --text-1: #0F172A;
    --text-2: #475569;
    --text-3: #94A3B8;
    --border: #E6E8F0;
    --border-strong: #D8DBE8;

    /* 语义色 */
    --success: #10B981;
    --success-ink: #047857;
    --danger: #EF4444;
    --danger-ink: #B91C1C;

    /* 圆角 */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-full: 999px;

    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px -6px rgba(15, 23, 42, 0.10), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 24px 50px -12px rgba(79, 70, 229, 0.18), 0 10px 18px -8px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 12px 34px -6px rgba(99, 102, 241, 0.45);

    /* 字体 */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;

    /* 动效 */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --t-fast: 160ms;
    --t: 260ms;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    background: linear-gradient(170deg, #fbfcff 0%, #f1f4ff 38%, #f6f2ff 68%, #fdfbff 100%);
    background-attachment: fixed;
    color: var(--text-1);
    line-height: 1.55;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(99, 102, 241, 0.18); }

/* ---------- 通用原子 ---------- */
.hidden { display: none !important; }
.gradient-text {
    background: var(--brand-grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-600);
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.10));
    border: 1px solid rgba(99, 102, 241, 0.18);
    padding: 6px 14px;
    border-radius: var(--r-full);
    margin-bottom: 18px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--r-full);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
        background-color var(--t) var(--ease), border-color var(--t) var(--ease),
        color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.btn:focus-visible { outline: 3px solid rgba(99, 102, 241, 0.35); outline-offset: 2px; }

.btn-primary {
    background: var(--brand-grad);
    color: #fff;
    background-size: 180% auto;
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.5);
}
.btn-primary:hover { background-position: right center; box-shadow: var(--shadow-glow); transform: translateY(-1px); }

.btn-secondary { background: var(--surface); color: var(--text-1); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--text-3); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: rgba(15, 23, 42, 0.05); color: var(--text-1); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #DC2626; box-shadow: 0 8px 20px -6px rgba(239, 68, 68, 0.5); }

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 60px;
    padding: 0 clamp(16px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo-img { height: 36px; width: auto; border-radius: 6px; transition: transform var(--ease-spring) 0.4s; }
.logo:hover .logo-img { transform: translateY(-2px) scale(1.03); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
    padding: 8px 14px;
    border-radius: var(--r-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.nav-links > a:hover { background: rgba(15, 23, 42, 0.05); color: var(--text-1); }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Hero ---------- */
/* ---------- 液态玻璃材质（iOS 26 Liquid Glass 风格） ---------- */
.glass {
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.10), 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero {
    position: relative;
    padding: 140px 24px 90px;
    overflow: hidden;
    isolation: isolate;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    z-index: -1;
    pointer-events: none;
}
.hero-blob-1 { width: 520px; height: 520px; top: -160px; left: 50%; transform: translateX(-70%); background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 65%); animation: drift 14s ease-in-out infinite; }
.hero-blob-2 { width: 480px; height: 480px; top: -40px; right: 8%; background: radial-gradient(circle, rgba(139, 92, 246, 0.30), transparent 65%); animation: drift 18s ease-in-out infinite reverse; }
.hero-blob-3 { width: 460px; height: 460px; bottom: -180px; left: 10%; background: radial-gradient(circle, rgba(6, 182, 212, 0.28), transparent 65%); animation: drift 20s ease-in-out infinite; }
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(28px, -24px) scale(1.06); }
    66% { transform: translate(-20px, 18px) scale(0.97); }
}

/* ---------- Hero 两栏：左文案 / 右点阵地球 ---------- */
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    text-align: left;
}
.hero-left { min-width: 0; }
.hero-right { display: flex; align-items: center; justify-content: center; min-width: 0; }

.hero-icon {
    width: 76px; height: 76px;
    margin: 0 0 24px;
    display: flex; align-items: center; justify-content: center;
    animation: floaty 4s ease-in-out infinite;
}
.hero-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 18px; }
.hero p { font-size: clamp(15px, 1.6vw, 19px); color: var(--text-2); max-width: 520px; margin: 0 0 32px; }

.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
    margin-top: 40px;
    padding: 18px 26px;
    border-radius: var(--r-xl);
    flex-wrap: wrap;
    width: fit-content;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-label { font-size: 12px; color: var(--text-3); }
.stat-divider { width: 1px; height: 32px; background: rgba(148, 163, 184, 0.35); }

/* ---------- 点阵地球 ---------- */
.globe-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Hero 星空画布。
   注：兜底背景刻意【不】写在 canvas 上 —— 带背景的 canvas 每帧重绘都要连背景
   一起重新栅格化，会拖慢正常渲染。只在 WebGL 真失败时由 JS 加 .webgl-off。 */
.hero-sky {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  display: block; pointer-events: none;
}
/* WebGL 不可用时的 CSS 星空兜底（8 层星点 + 平铺，成本极低） */
.hero-sky.webgl-off {
  background-color: #070c1a;
  background-image:
    radial-gradient(1.6px 1.6px at 22px 34px, rgba(255, 255, 255, .85), transparent),
    radial-gradient(1.2px 1.2px at 96px 18px, rgba(255, 255, 255, .65), transparent),
    radial-gradient(1.4px 1.4px at 146px 88px, rgba(200, 225, 255, .75), transparent),
    radial-gradient(1px 1px at 58px 128px, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1.3px 1.3px at 12px 106px, rgba(255, 255, 255, .70), transparent),
    radial-gradient(1px 1px at 118px 142px, rgba(190, 215, 255, .60), transparent),
    radial-gradient(.9px .9px at 74px 62px, rgba(255, 255, 255, .50), transparent),
    radial-gradient(1.5px 1.5px at 168px 46px, rgba(255, 255, 255, .80), transparent);
  background-size: 180px 180px;
  background-repeat: repeat;
}

/* 银河画布。兜底同样只在 .webgl-off 时生效 */
.plans-galaxy {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  display: block; pointer-events: none;
}
/* WebGL 不可用时的 CSS 兜底 */
.plans-galaxy.webgl-off {
  background-color: #050814;
  background-image:
    radial-gradient(1.5px 1.5px at 30px 40px, rgba(255, 255, 255, .70), transparent),
    radial-gradient(1.1px 1.1px at 120px 90px, rgba(210, 225, 255, .55), transparent),
    radial-gradient(1.3px 1.3px at 74px 150px, rgba(255, 236, 210, .60), transparent),
    radial-gradient(1px 1px at 170px 24px, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1.2px 1.2px at 20px 178px, rgba(200, 220, 255, .50), transparent);
  background-size: 200px 200px;
  background-repeat: repeat;
}

.globe-canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.globe-wrap::before {
    content: '';
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, rgba(165, 180, 252, 0.45), rgba(196, 181, 253, 0.24) 46%, transparent 70%);
    filter: blur(28px);
    z-index: -1;
    pointer-events: none;
}
.globe-badge {
    position: absolute;
    right: -4px;
    bottom: 13%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    white-space: nowrap;
}
.globe-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16); animation: pulse 2s infinite; }

/* ---------- 分区通用 ---------- */
.section { padding: 80px 24px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(30px, 4.5vw, 42px); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px; }
.section-header p { font-size: 16px; color: var(--text-2); margin: 0; }

/* ---------- 波音747 机型价格板块（飞机剪影即外框） ---------- */
.plans-section { position: relative; overflow: hidden; }
.plans-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 8%, rgba(99, 102, 241, 0.12), transparent 46%),
        radial-gradient(circle at 84% 92%, rgba(6, 182, 212, 0.12), transparent 46%);
    pointer-events: none;
}

/* 飞机侧影框架：可点击容器 */
/* 机身后方柔光，让白色飞机在浅色背景上更立体 */
/* 飞机本体：航空公司涂装（透明底 PNG） */
/* 点击飞机：向左飞出（加速 + 轻微抬升/倾斜） */
/* 飞机下方的订阅 CTA */

/* 套餐内容区：位于转场场景层内 */

/* ---------- 套餐介绍框架页（转场圆形揭示层） ---------- */
.scene-back {
    position: fixed;
    top: 74px;
    left: clamp(16px, 4vw, 40px);
    z-index: 10;
    box-shadow: var(--shadow-xs);
}

/* ---------- 转场遮罩：圆形旋转放大 ---------- */
/* 三舱位内容层（在机身下方以卡片形式展示） */
/* 机身意象：连接三舱的横向光带 */

/* 顶部舱级色条 */

/* 推荐（商务舱）主推卡：放大 + 渐变描边 + 光晕 */

/* 舱段内容 */

/* 年付卡第二价格（如 229元/15个月 送3个月） */

/* 舷窗：对应核心权益，点亮态表示已包含 */

/* 购买按钮：点按区域充足，底部对齐 */

/* 驼峰旗舰标签 */

/* 机翼区域：增值服务 / 优惠说明 */

/* ---------- 特性卡片 ---------- */

/* ---------- CTA 横幅 ---------- */

/* ---------- 卡片（个人中心复用） ---------- */
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-xs); margin-bottom: 20px; }

.sub-info-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sub-info-row:last-child { border-bottom: none; }
.sub-info-row .label { color: var(--text-3); }
.sub-info-row .value { font-weight: 600; color: var(--text-1); }

.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; }
.status-badge.active { background: rgba(16, 185, 129, 0.12); color: var(--success-ink); }
.status-badge.active .dot { background: var(--success); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.status-badge.expired { background: rgba(239, 68, 68, 0.1); color: var(--danger-ink); }
.status-badge.expired .dot { background: var(--danger); }
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.usage-bar > span { display: block; height: 100%; border-radius: var(--r-full); background: var(--brand-grad); transition: width 0.8s var(--ease); }

/* 个人中心「加载中… / 暂无数据」占位（JS 用 class="empty"，此前主站样式表未定义） */
.empty {
  text-align: center; padding: 40px 16px; color: var(--text-2); font-size: 14px; line-height: 1.7;
}
.empty-state { text-align: center; padding: 24px 0; }
.empty-state .empty-icon { font-size: 44px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.empty-state .empty-sub { color: var(--text-3); font-size: 13px; margin-bottom: 18px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 44px 24px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; }
.footer-logo { color: var(--text-1); }
.footer-logo .logo-img { height: 28px; width: auto; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-2); transition: color var(--t) var(--ease); }
.footer-links a:hover { color: var(--primary-600); }

/* ---------- 弹窗 ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    /* visibility 必须一起切换：只靠 opacity:0 的话元素仍可被 Tab 聚焦，
       键盘用户会跳进「看不见的」登录框/验证码/提现输入框 */
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; visibility: visible; }
.modal {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 34px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(24px) scale(0.96);
    transition: transform var(--t) var(--ease-spring);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: none; cursor: pointer; font-size: 14px; color: var(--text-2); display: flex; align-items: center; justify-content: center; transition: background-color var(--t) var(--ease); }
.modal-close:hover { background: var(--border); }
.modal-icon { width: 72px; height: 72px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; overflow: hidden; }
.modal-logo { width: 100%; height: 100%; object-fit: contain; }
.modal h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.modal-sub { color: var(--text-2); font-size: 14px; margin: 0 0 24px; }
.modal-hint { text-align: center; font-size: 12px; color: var(--text-3); margin: 14px 0 0; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-strong);
    font-size: 15px;
    font-family: var(--font);
    background: var(--surface-2);
    color: var(--text-1);
    outline: none;
    transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.form-group input:focus { border-color: var(--primary-500); background: #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14); }
.form-group input::placeholder { color: #B6BCCC; }

.form-error { display: none; color: var(--danger-ink); font-size: 13px; margin: 2px 0 12px; }
.form-error.show { display: block; }

.form-switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-2); }
.form-switch a { color: var(--primary-600); font-weight: 600; cursor: pointer; }
.form-switch a:hover { text-decoration: underline; }

.subscribe-detail { border: 1px solid var(--border); border-radius: var(--r-md); padding: 6px 16px; margin-bottom: 18px; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; bottom: 26px; left: 50%;
    transform: translateX(-50%) translateY(90px);
    z-index: 3000;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 13px 26px;
    border-radius: var(--r-full);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s var(--ease-spring);
    pointer-events: none;
    white-space: nowrap;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: rgba(5, 150, 105, 0.95); }
.toast.error { background: rgba(220, 38, 38, 0.95); }

/* ---------- 加载动画 ---------- */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 响应式（见文件末尾，必须位于所有基础样式之后） ---------- */

/* ---------- 个人中心（独立模块） ---------- */
.user-center {
    position: fixed; inset: 0; z-index: 1500;
    background: linear-gradient(165deg, #f6f5ff 0%, #eef2ff 48%, #ecfeff 100%);
    opacity: 0; visibility: hidden;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.65s var(--ease), opacity 0.35s var(--ease), visibility 0.65s;
    overflow-y: auto;
}
.user-center.open { opacity: 1; visibility: visible; clip-path: circle(150% at 50% 50%); }

.uc-header {
    position: sticky; top: 0; z-index: 5;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.uc-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.uc-brand .uc-logo { height: 38px; width: auto; }

.uc-body {
    display: flex; gap: 32px;
    max-width: 1600px; margin: 0 auto; padding: 36px clamp(20px, 4vw, 56px) 80px;
    align-items: flex-start;
}

.uc-sidebar {
    width: 320px; flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 108px;
}
.uc-user {
    display: flex; align-items: center; gap: 16px;
    padding-bottom: 22px; margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.uc-avatar {
    width: 60px; height: 60px; border-radius: 18px;
    background: var(--brand-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 26px; flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}
.uc-name { font-weight: 700; font-size: 16px; word-break: break-all; line-height: 1.3; }
.uc-meta { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.uc-nav { display: flex; flex-direction: column; gap: 6px; }
.uc-nav-item {
    display: flex; align-items: center; gap: 13px;
    width: 100%; text-align: left;
    padding: 14px 15px; border: none; background: transparent;
    border-radius: var(--r-md); font-size: 15px; font-weight: 600;
    color: var(--text-2); cursor: pointer;
    transition: background var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.uc-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.uc-nav-item:hover { background: var(--surface-2); color: var(--text-1); }
.uc-nav-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.14));
    color: #5b21b6;
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.28);
}

.uc-content { flex: 1; min-width: 0; }
.uc-section-head { margin-bottom: 26px; }
.uc-section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.uc-section-head h3 { font-size: 20px; font-weight: 700; margin: 6px 0 16px; }
.uc-section-head p { color: var(--text-2); font-size: 15px; margin: 0; }

/* 空状态：更大更饱满 */
.empty-state { text-align: center; padding: 70px 30px; background: rgba(255,255,255,0.55); border: 1px dashed var(--border-strong); border-radius: var(--r-xl); }
.empty-state .empty-icon { width: 80px; height: 80px; margin: 0 auto 18px; opacity: 0.85; }
.empty-state p { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.empty-state .empty-sub { color: var(--text-2); font-size: 15px; margin-bottom: 24px; }

/* 购买订阅：复用机舱卡片网格 */
/* 个人中心内套餐卡片：更大气 */

/* 个人中心内 dash-card 放大 */
.uc-content .dash-card { padding: 34px; border-radius: var(--r-xl); }
.uc-content .sub-info-row { padding: 14px 0; font-size: 15px; }
.uc-content .status-badge { padding: 7px 16px; font-size: 14px; }
/* 订阅格式选择 + 订阅链接 */
.sub-manager {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-xs);
    margin-bottom: 20px;
}
.sub-manager-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.sub-manager-title { font-size: 17px; font-weight: 700; }
.sub-manager-hint { font-size: 13px; color: var(--text-3); }
.sub-fmt {
    padding: 10px 18px; border-radius: var(--r-full);
    border: 1px solid var(--border-strong); background: var(--surface);
    font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer;
    transition: all var(--t) var(--ease);
}
.sub-fmt:hover { border-color: var(--primary-500); color: var(--text-1); background: var(--surface-2); }
.sub-fmt.active {
    background: var(--brand-grad); color: #fff; border-color: transparent;
    box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.55);
}
.sub-link-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.sub-link-input {
    flex: 1; min-width: 220px; padding: 13px 16px; border-radius: var(--r-md);
    border: 1px solid var(--border-strong); background: var(--surface-2);
    color: var(--text-1); font-size: 14px; font-family: var(--font);
}
.sub-link-input:focus { outline: 2px solid rgba(99, 102, 241, 0.3); outline-offset: 1px; }
.sub-link-row .btn { white-space: nowrap; }

/* 使用说明 */
.usage-guide { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-xs); margin-bottom: 20px; }
.guide-head { margin-bottom: 18px; }
.guide-head h3 { font-size: 18px; font-weight: 700; margin: 0; }
.guide-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-step { display: flex; gap: 14px; align-items: flex-start; }
.guide-num {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.16));
    color: #5b21b6; font-weight: 800; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.28);
}
.guide-title { font-weight: 700; font-size: 15px; }
.guide-desc { font-size: 13px; color: var(--text-2); margin-top: 2px; line-height: 1.5; }

/* 支持客户端墙 */
.client-wall { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-xs); }
.client-wall-head { margin-bottom: 18px; }
.client-wall-head h3 { font-size: 18px; font-weight: 700; margin: 0; }
.client-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.client-badge {
    padding: 9px 16px; border-radius: var(--r-md); font-size: 13.5px; font-weight: 600;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
    transition: all var(--t) var(--ease);
}
.client-badge:hover { border-color: var(--primary-500); color: var(--text-1); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* 工具下载 */
.dl-group { margin-bottom: 28px; }
.dl-group-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: var(--text-1); }
.dl-row { display: flex; flex-wrap: wrap; gap: 14px; }
.dl-row .dl-card { flex: 1 1 220px; max-width: 320px; margin-bottom: 0; }
.dl-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 18px 20px;
    box-shadow: var(--shadow-xs);
    text-decoration: none; color: inherit; cursor: pointer;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dl-go {
    margin-left: auto; flex-shrink: 0;
    font-size: 18px; font-weight: 700; color: var(--text-3);
    transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.dl-card:hover .dl-go { color: var(--primary-600); transform: translate(2px, -2px); }
.dl-icon {
    width: 52px; height: 52px; border-radius: 14px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.08);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.dl-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-card:hover .dl-icon { transform: scale(1.08); box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.28); }
.dl-info { flex: 1; min-width: 0; }
.dl-name { font-weight: 700; font-size: 15px; }
/* 系统公告（独立 Tab） */
.announcement-list { display: flex; flex-direction: column; gap: 14px; }
.announcement-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.announcement-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.announcement-card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--brand-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.4);
}
.announcement-card-icon svg { width: 20px; height: 20px; }
.announcement-card-body { flex: 1; min-width: 0; }
.announcement-card-head { display: flex; align-items: center; gap: 8px; }
.announcement-card-title { font-size: 15px; font-weight: 700; color: var(--text-1); }
.announcement-tag { font-size: 10px; padding: 1px 7px; border-radius: 999px; background: var(--danger); color: #fff; font-weight: 700; letter-spacing: 0.04em; }
.announcement-card-content { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.6; }
.announcement-card-date { font-size: 12px; color: var(--text-3); margin-top: 8px; }

/* 菜单项红点提示（公告） */
.uc-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); margin-left: auto; flex-shrink: 0; }

/* 客服模块（独立 Tab） */
/* 客服卡片：iOS 26 液态玻璃（与 TG 弹窗同一套语言） */
/* 客服卡片：iOS 26 液态玻璃
   要点：光斑层写在最前面（在底层），玻璃层写在后面（在上层），
   这样模糊与半透明才能"透出"彩色 —— 否则纯色背景下看不出玻璃效果。 */
/* 客服卡片：iOS 26 液态玻璃
   要点：光斑层写在最前（底层）、玻璃层在后（上层），玻璃才能"透出"彩色。
   光斑必须【上下对称、左右均匀】—— 否则某一块区域的底色会偏色，
   视觉上像"被选中"。同时少用靛紫，避免与紫色图标同色系糊在一起。 */
.cs-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    margin-bottom: 18px;
    overflow: hidden;
}
/* glare 斜向反光层 —— 液态玻璃「湿感」的来源 */
/* glare 斜向反光层 —— 液态玻璃「湿感」的来源，加强到肉眼可见 */
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); }
/* 每个客服项 = 一块小玻璃 */
/* 每个客服项 = 一块小玻璃（比外框略透，形成层次） */
/* 每个客服项 = 一块小玻璃
   item 提白一些 + 明确描边，减少"透到底层光斑"造成的偏色，
   保证三块的观感一致。 */
.cs-item { display: flex; align-items: center; gap: 13px; padding: 21px 22px; background: var(--surface);
  transition: background var(--t) var(--ease), transform var(--t) var(--ease); cursor: pointer; }
.cs-item:hover { background: var(--surface-2); }
.cs-item-icon {
    width: 46px; height: 46px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    box-shadow: 0 3px 10px -2px rgba(15, 23, 42, 0.12); transition: transform var(--t) var(--ease);}
/* 显式锁定 SVG 尺寸与绘制方式，避免不同浏览器下 stroke 描边异常 */
.cs-item-icon svg { width: 21px; height: 21px; }
/* 移除 vector-effect：不同浏览器对 non-scaling-stroke 处理不一致，可能让描边变细 */
.cs-item-body { flex: 1; min-width: 0; }
/* 标题行：保持【块级】让文字正常横向排列。
   曾试图用 display:flex 解决徽章撑高行高，结果 flex 会把纯文本节点当成独立 item，
   导致文字被压成竖排（逐字换行）—— 已回退。
   正确做法：块级 + line-height 设得比徽章高度(18px)大即可。 */
.cs-item-name { font-size: 15px; font-weight: 700; color: var(--text-1); letter-spacing: .01em; }
.cs-item-value { font-size: 12.5px; color: var(--text-3); margin-top: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-item-arrow { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 15px; line-height: 1; color: var(--text-3); background: var(--surface-2);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease); }
/* 箭头悬停：只轻微右移 + 淡靛底，不再变【实心紫】——
   原来那个太抢眼，一个块被悬停时看起来像"选中态" */
.cs-item:hover .cs-item-arrow { transform: translateX(2px); background: var(--primary-500); color: #fff; }
.cs-item:hover .cs-item-icon { transform: translateY(-1px) scale(1.03); transition: transform var(--t) var(--ease);}
.cs-service-time {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    background: var(--surface-2);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    font-size: 13px; color: var(--text-2);
}
.cs-service-time svg { width: 16px; height: 16px; color: var(--primary-600); flex-shrink: 0; }

/* 列表卡片（订单 / 工单 / 钱包明细） */
.order-status, .ticket-status { font-size: 13px; font-weight: 600; padding: 4px 13px; border-radius: 999px; white-space: nowrap; }
.order-status.paid, .ticket-status.resolved { background: rgba(16, 185, 129, 0.12); color: var(--success-ink); }
.order-status.pending { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.order-status.cancelled { background: rgba(100, 116, 139, 0.14); color: #475569; }
.ticket-status.pending { background: rgba(245, 158, 11, 0.14); color: #b45309; }
/* 工单卡 / 表单 / 折叠 */
.ticket-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 18px; box-shadow: var(--shadow-xs); overflow: hidden; }
.ticket-card-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.ticket-card-head .ticket-head-title { font-weight: 700; font-size: 16px; flex: 1; }
.ticket-head-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.ticket-head-icon.submit { background: linear-gradient(135deg, #f97316, #fb923c); }
.ticket-head-icon.list { background: linear-gradient(135deg, #f97316, #fb923c); }
.ticket-toggle { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-2); cursor: pointer; font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background var(--t) var(--ease); }
.ticket-toggle:hover { background: var(--border); }
.ticket-card-body { padding: 18px 20px 22px; }

.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin: 14px 0 8px; }
.form-label:first-child { margin-top: 0; }
.form-input { width: 100%; padding: 11px 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-1); font-size: 14px; font-family: inherit; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.form-input:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-hint { font-size: 12px; color: var(--text-3); margin: 8px 0 16px; }

.btn-warning { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: none; border-radius: var(--r-md); background: linear-gradient(135deg, #f97316, #fb923c); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), filter var(--t) var(--ease); box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28); }
.btn-warning:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-warning:active { transform: translateY(0); }

.ticket-empty { padding: 60px 20px; text-align: center; color: var(--text-3); font-size: 14px; background: var(--surface-2); border-radius: var(--r-md); border: 1px dashed var(--border-strong); }
.ticket-status { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.ticket-status.pending { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.ticket-status.resolved { background: rgba(16, 185, 129, 0.12); color: var(--success-ink); }
/* 订单表格 */
.order-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.order-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.order-table th, .order-table td { padding: 14px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.order-table th { background: var(--surface-2); font-weight: 700; color: var(--text-2); white-space: nowrap; }
.order-table tbody tr:last-child td { border-bottom: none; }
.order-table tbody tr:hover { background: rgba(99, 102, 241, 0.04); }
.order-table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text-2); }
.order-table .col-amt { font-weight: 800; color: var(--text-1); white-space: nowrap; }
.order-table .col-time { color: var(--text-3); white-space: nowrap; }
.order-table .col-ops { white-space: nowrap; }
.link-btn { background: none; border: none; color: var(--primary-600); font-weight: 600; font-size: 13px; cursor: pointer; padding: 5px 9px; border-radius: 8px; transition: background var(--t) var(--ease); }
.link-btn:hover { background: rgba(99, 102, 241, 0.12); }
.link-btn.danger { color: var(--danger); }
.link-btn.danger:hover { background: rgba(239, 68, 68, 0.12); }
.order-detail { margin: 10px 0 20px; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 4px 18px; background: var(--surface-2); }

/* 邀请返利 */
.invite-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.invite-stat { display: flex; align-items: center; gap: 18px; padding: 26px 24px; border-radius: var(--r-lg); border: 1px solid; background: var(--surface); }
.invite-stat-blue { border-color: rgba(99, 102, 241, 0.22); background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.06)); }
.invite-stat-green { border-color: rgba(16, 185, 129, 0.22); background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(52,211,153,0.06)); }
.invite-stat-orange { border-color: rgba(249, 115, 22, 0.22); background: linear-gradient(135deg, rgba(249,115,22,0.06), rgba(251,146,60,0.06)); }
.invite-stat-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; color: #fff; }
.invite-stat-blue .invite-stat-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.invite-stat-green .invite-stat-icon { background: linear-gradient(135deg, #10b981, #34d399); }
.invite-stat-orange .invite-stat-icon { background: linear-gradient(135deg, #f97316, #fb923c); }
.invite-stat-text { display: flex; flex-direction: column; }
.invite-num { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-1); line-height: 1.1; }
.invite-lbl { font-size: 13px; color: var(--text-2); margin-top: 6px; }

.invite-field { margin-bottom: 14px; }
.invite-field:last-child { margin-bottom: 0; }
.invite-field-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.invite-input-row { display: flex; gap: 10px; align-items: center; }
.invite-input-row .form-input { flex: 1; min-width: 0; padding: 11px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.invite-input-row .btn { flex-shrink: 0; padding: 11px 20px; font-size: 14px; }

.ticket-empty-cell { padding: 50px 20px !important; text-align: center; color: var(--text-3); font-size: 14px; }

/* 知空钱包 */
.wallet-actions .btn { padding: 11px 22px; font-size: 14px; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); color: var(--text-1); font-weight: 700; font-size: 14px; cursor: pointer; transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--primary-500); transform: translateY(-1px); }
.tx-amount { font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.tx-amount.in { color: var(--success-ink); }
.tx-amount.out { color: var(--danger); }

/* 在线充值弹窗 */
.recharge-modal { padding: 0 !important; overflow: hidden; }
.recharge-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px 16px; border-bottom: 1px solid var(--border); }
.recharge-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.recharge-modal .modal-close { position: absolute; top: 18px; right: 18px; }
.recharge-body { padding: 22px 28px 8px; max-height: 70vh; overflow-y: auto; }

.recharge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 4px; }
.recharge-amt { padding: 22px 0; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--surface); color: var(--primary-600); font-size: 22px; font-weight: 800; cursor: pointer; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform var(--t) var(--ease); }
.recharge-amt:hover { border-color: #f97316; transform: translateY(-1px); }
.recharge-amt.active { border-color: #f97316; background: rgba(249, 115, 22, 0.08); color: #f97316; box-shadow: inset 0 0 0 2px rgba(249, 115, 22, 0.18); }

.recharge-pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 10px; padding: 14px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
.pay-method input { display: none; }
.pay-method-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; overflow: hidden; background: #f1f3f9; }
.pay-method-icon img, .pay-method-icon svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.pay-method-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
.pay-method:hover { border-color: var(--primary-500); }
.pay-method.active { border-color: #f97316; background: rgba(249, 115, 22, 0.04); box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.28); }

.recharge-hint { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-md); background: rgba(249, 115, 22, 0.08); color: #b45309; font-size: 13px; margin: 8px 0 18px; }

/* ============ 我的钱包 ============ */
/* Hero 余额卡：暖黑底 + 金色光晕 + 品牌紫光晕 */
.wallet-hero {
    position: relative; overflow: hidden;
    border-radius: var(--r-xl);
    padding: 30px 30px 26px;
    color: #fff;
    background:
        radial-gradient(140% 200% at 100% 0%, rgba(251, 191, 36, 0.16) 0%, rgba(251, 191, 36, 0) 46%),
        radial-gradient(120% 160% at 0% 100%, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0) 54%),
        linear-gradient(140deg, #1c1917 0%, #292524 52%, #0c0a09 100%);
    box-shadow: 0 26px 55px -24px rgba(28, 25, 23, 0.62);
    margin-bottom: 24px;
}
.wallet-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 38%); pointer-events: none; }
.wallet-hero-coins { position: absolute; top: 24px; right: 26px; width: 96px; height: 96px; opacity: .96; pointer-events: none; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35)); }
.wallet-hero-lbl { font-size: 13px; color: rgba(255,255,255,0.68); letter-spacing: .04em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.wallet-hero-lbl .dot { width: 6px; height: 6px; border-radius: 50%; background: #FBBF24; box-shadow: 0 0 8px rgba(251,191,36,0.8); }
.wallet-hero-amt { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.wallet-hero-amt .cur { font-size: 24px; font-weight: 600; color: #FBBF24; margin-right: 6px; vertical-align: 6px; }
.wallet-hero-amt .frac { font-size: 24px; font-weight: 600; color: rgba(255,255,255,0.6); }
.wallet-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-rule-btn { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 600; padding: 7px 15px; border-radius: var(--r-full); cursor: pointer; backdrop-filter: blur(6px); transition: background var(--t) var(--ease), border-color var(--t) var(--ease); }
.wallet-rule-btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.26); }
.wallet-withdraw-btn { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); color: #1c1917; border: none; font-size: 14px; font-weight: 700; padding: 10px 22px; border-radius: var(--r-full); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 10px 26px -8px rgba(245, 158, 11, 0.55); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.wallet-withdraw-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(245, 158, 11, 0.65); }
.wallet-withdraw-btn svg { width: 15px; height: 15px; }
.wallet-hero-actions { display: flex; gap: 10px; margin-top: 18px; }
.wallet-hero-actions .btn-secondary { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; flex: 1; padding: 10px 0; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.wallet-hero-actions .btn-secondary svg { width: 15px; height: 15px; }
.wallet-hero-actions .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); }

/* 钱包 Tab 胶囊 */
.wallet-tabs { display: flex; background: var(--surface); border-radius: var(--r-full); padding: 5px; margin-bottom: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.wallet-tab { flex: 1; padding: 10px 0; background: transparent; border: none; color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; border-radius: var(--r-full); transition: background var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.wallet-tab:hover { color: var(--text-1); }
.wallet-tab.active { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.5); }

/* 交易/提现卡片 */
.tx-list { display: flex; flex-direction: column; gap: 12px; }
.tx-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-xs); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.tx-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.tx-card-main { display: flex; align-items: center; gap: 14px; }
.tx-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.tx-icon svg { width: 20px; height: 20px; }
.tx-icon.in { background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(52,211,153,0.14)); color: #047857; }
.tx-icon.out { background: linear-gradient(135deg, rgba(239,68,68,0.12), rgba(248,113,113,0.12)); color: #B91C1C; }
.tx-icon.withdraw { background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(139,92,246,0.14)); color: #5B21B6; }
.tx-body { flex: 1; min-width: 0; }
.tx-title { font-weight: 600; font-size: 15px; color: var(--text-1); }
.tx-time { font-size: 12px; color: var(--text-3); margin-top: 3px; font-variant-numeric: tabular-nums; }
.tx-amount { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.tx-amount.in { color: #047857; }
.tx-amount.out { color: #B91C1C; }
.tx-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; margin-top: 4px; }
.tx-status .st-dot { width: 6px; height: 6px; border-radius: 50%; }
.tx-status.success { color: #047857; }
.tx-status.success .st-dot { background: #10B981; }
.tx-status.processing .st-dot { background: #F59E0B; }
.tx-status.pending { color: #B45309; }
.tx-status.pending .st-dot { background: #F59E0B; }
.tx-status.failed { color: #B91C1C; }
/* 购买订阅 · 双卡（免费版/会员版） */
.plan-gem svg { width: 15px; height: 15px; }
.plan-price .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-1); }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
/* 会员版钻石 VIP 视觉 */
.plan-ribbon svg { width: 20px; height: 20px; margin: 6px 6px 0 0; }
/* 退款政策弹窗 */
.refund-policy { background: var(--surface-2); border-radius: var(--r-md); padding: 14px 16px; margin: 12px 0 16px; }
.refund-policy p { margin: 0 0 8px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.refund-policy ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.refund-policy li { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.refund-policy b { color: var(--text-1); }
/* （已移除 .plans-duo 相关规则：该旧套餐布局已废弃） */

/* 订阅链接未配置提示 */
.sub-link-empty { flex: 1; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); color: var(--text-3); font-size: 13px; text-align: center; }

/* 图片验证码 */.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row input { flex: 1; }
.captcha-img { width: 132px; height: 44px; flex-shrink: 0; border-radius: 8px; overflow: hidden; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); }
.captcha-img svg { display: block; }
.captcha-img:hover { border-color: var(--primary-600); }

/* 为什么选择知空 */.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(99, 102, 241, 0.3); }
.why-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.2);
}
.why-icon svg { width: 24px; height: 24px; }
.why-icon-1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.why-icon-2 { background: linear-gradient(135deg, #06B6D4, #0EA5E9); }
.why-icon-3 { background: linear-gradient(135deg, #10B981, #059669); }
.why-icon-4 { background: linear-gradient(135deg, #F59E0B, #F97316); }
.why-icon-5 { background: linear-gradient(135deg, #EC4899, #DB2777); }
.why-icon-6 { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.why-title { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.why-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.tx-card-meta { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: var(--text-3); }
.tx-card-meta .mi { display: flex; align-items: center; gap: 5px; }
.tx-card-meta .mi b { color: var(--text-2); font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.tx-card-copy { cursor: pointer; color: var(--text-3); transition: color var(--t) var(--ease); display: inline-flex; align-items: center; }
.tx-card-copy:hover { color: var(--primary-600); }
.tx-card-copy svg { width: 13px; height: 13px; }
.tx-card-notice { display: flex; align-items: flex-start; gap: 8px; padding: 11px 14px; background: rgba(245, 158, 11, 0.08); border-radius: var(--r-md); margin-top: 12px; font-size: 12px; color: #B45309; line-height: 1.55; }
.tx-card-notice svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.tx-card-foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.tx-card-cs { background: var(--brand-grad); color: #fff; border: none; padding: 8px 18px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; cursor: pointer; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 6px 16px -6px rgba(99, 102, 241, 0.5); }
.tx-card-cs:hover { transform: translateY(-1px); }
.tx-card-cs svg { width: 14px; height: 14px; }

/* 钱包常见问题 */
.wallet-faq { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 20px 0 8px; font-size: 13px; color: var(--text-2); }
.wallet-faq-icon { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.wallet-faq a { color: var(--text-2); cursor: pointer; text-decoration: none; transition: color var(--t) var(--ease); }
.wallet-faq a:hover { color: var(--primary-600); }

/* 提现弹窗 */
.withdraw-account-list { display: flex; flex-direction: column; gap: 10px; }
.withdraw-account { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.withdraw-account:hover { border-color: var(--primary-500); }
.withdraw-account.active { border-color: var(--primary-500); background: rgba(99, 102, 241, 0.04); box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.3); }
.withdraw-account input { display: none; }
.withdraw-account-icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; flex-shrink: 0; }
.withdraw-account-info { flex: 1; min-width: 0; }
.withdraw-account-name { font-weight: 700; font-size: 14px; }
.withdraw-account-detail { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* 订阅弹窗支付方式 */
.sub-pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 4px 0 12px; }
.sub-pay { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
.sub-pay input { display: none; }
.sub-pay:hover { border-color: var(--primary-500); }
.sub-pay.active { border-color: #f97316; background: rgba(249, 115, 22, 0.04); box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.28); }
.sub-wallet-hint { font-size: 12px; color: var(--text-3); margin: 2px 0 8px; }
.recharge-hint::before { content: 'ⓘ'; font-size: 16px; color: #f97316; }

.recharge-foot { display: flex; gap: 12px; padding: 16px 28px 22px; border-top: 1px solid var(--border); background: var(--surface-2); }
.btn-recharge-cancel { flex: 1; padding: 12px 0; border: 1px solid #f97316; border-radius: var(--r-md); background: transparent; color: #f97316; font-weight: 700; font-size: 14px; cursor: pointer; transition: background var(--t) var(--ease); }
.btn-recharge-cancel:hover { background: rgba(249, 115, 22, 0.08); }
.btn-recharge-confirm { flex: 1; padding: 12px 0; border: none; border-radius: var(--r-md); background: linear-gradient(135deg, #f97316, #fb923c); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28); transition: transform var(--t) var(--ease), filter var(--t) var(--ease); }
.btn-recharge-confirm:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* 知空钱包 */
/* 个人资料 */
.profile-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 10px 24px;
    box-shadow: var(--shadow-xs); margin-bottom: 20px;
}
.profile-row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 15px;
}
.profile-row:last-child { border-bottom: none; }
.profile-row .label { color: var(--text-3); }
.profile-row .value { font-weight: 600; word-break: break-all; text-align: right; }
.profile-form { max-width: 460px; margin-bottom: 20px; }

/* 个人中心内容内通用按钮间距 */
.uc-content .btn-block { width: 100%; }
.uc-content > .btn { margin-top: 6px; }

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   在线客服聊天
   ============================================================ */
.cs-item-badge { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; margin-left: 8px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; text-align: center; vertical-align: 1px; }

.chat-panel { position: fixed; right: 24px; bottom: 24px; width: 360px; height: 520px; max-height: calc(100vh - 48px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.35); display: none; flex-direction: column; overflow: hidden; z-index: 1800; }
.chat-panel.open { display: flex; animation: chatIn 0.22s var(--ease); }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.chat-head-l { display: flex; align-items: center; gap: 8px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.chat-title { font-weight: 700; font-size: 15px; }
.chat-close { border: none; background: transparent; font-size: 22px; line-height: 1; color: var(--text-3); cursor: pointer; padding: 0 4px; }
.chat-close:hover { color: var(--text-1); }

.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.chat-loading, .chat-empty { margin: auto; text-align: center; color: var(--text-3); font-size: 13px; line-height: 1.7; }
.chat-msg { display: flex; }
.chat-msg.mine { justify-content: flex-end; }
.chat-bubble { max-width: 78%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.55; word-break: break-word; background: var(--surface); border: 1px solid var(--border); }
.chat-msg.mine .chat-bubble { background: var(--brand-grad); color: #fff; border-color: transparent; }
/* 客服消息：头像 + 工号（与后台记录的是同一位客服，两边算法一致） */
.chat-msg.has-avatar { align-items: flex-start; gap: 8px; }
.chat-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 78%; }
.chat-msg.has-avatar .chat-bubble { max-width: 100%; }
.chat-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; display: block; border: 1px solid var(--border); background: var(--surface); }
.chat-agent { font-size: 11px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
/* 智能助手的自动回复：虚线边框 + 浅灰底，明确区别于真人客服（真人带头像+工号） */
.chat-msg.ai-msg { flex-direction: column; align-items: flex-start; }
.chat-msg.ai-msg .chat-bubble { background: var(--surface-2); border-style: dashed; color: var(--text-2); }
.chat-ai-tag { font-size: 11px; color: var(--text-3); margin-top: 4px; font-style: italic; }
.chat-text { white-space: pre-wrap; }
.chat-img { display: block; max-width: 100%; border-radius: 10px; margin-bottom: 6px; cursor: zoom-in; }

.chat-preview { display: none; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-preview img { height: 54px; border-radius: 8px; }
.chat-preview-x { margin-left: auto; border: none; background: transparent; font-size: 18px; color: var(--text-3); cursor: pointer; }

.chat-foot { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-img-btn { flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-img-btn:hover { background: var(--surface-2); color: var(--primary-600); }
.chat-img-btn svg { width: 19px; height: 19px; }
.chat-input { flex: 1; resize: none; max-height: 96px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text-1); font-size: 14px; font-family: inherit; line-height: 1.5; }
.chat-input:focus { outline: none; border-color: var(--primary-600); }
.chat-input:disabled { opacity: 0.6; cursor: not-allowed; background: var(--surface-2); }
.chat-send:disabled, .chat-img-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-send { flex-shrink: 0; padding: 9px 16px; border: none; border-radius: 10px; background: var(--brand-grad); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.chat-send:hover { filter: brightness(1.06); }
/* iOS Safari：消除 300ms 点击延迟与点击高亮 */
.chat-close, .chat-img-btn, .chat-send, .chat-preview-x { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* ============================================================
   移动端适配（必须放在所有基础样式之后，否则会被覆盖）
   ============================================================ */
@media (max-width: 768px) {
    /* 顶部导航 */
    .navbar { height: 56px; padding: 0 14px; }
    .nav-actions { gap: 6px; }
    .nav-actions .btn-sm { padding: 7px 11px; font-size: 12px; }

    /* 首页 Hero：改为上下排列，地球居中缩小 */
    .hero { padding: 104px 16px 60px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-left { display: flex; flex-direction: column; align-items: center; }
    .hero-icon { width: 64px; height: 64px; margin: 0 auto 18px; }
    .hero h1 { font-size: 32px; }
    .hero p { margin: 0 auto 26px; }
    .cta-group { justify-content: center; }
    .stat-value { font-size: 22px; }
    .hero-stats { justify-content: center; width: 100%; margin-top: 30px; padding: 14px 18px; gap: 16px; }
    .globe-wrap { max-width: 320px; padding: 0; }
    .globe-badge { right: 50%; transform: translateX(50%); bottom: -6px; font-size: 12px; padding: 7px 13px; }
    /* 移动端关闭毛玻璃（安卓 GPU 开销高） */
    .glass { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(255, 255, 255, 0.88); }
    .section { padding: 48px 16px; }
    .section-header { margin-bottom: 32px; }
    .footer-inner { flex-direction: column; text-align: center; gap: 16px; }

    /* 个人中心：侧边栏改为顶部横排 */
    .uc-header { padding: 12px 16px; }
    .uc-brand { font-size: 15px; gap: 8px; }
    .uc-brand .uc-logo { height: 28px; }
    .uc-body { flex-direction: column; gap: 18px; padding: 16px 14px 64px; }
    .uc-sidebar { width: 100%; position: static; padding: 16px; border-radius: var(--r-lg); }
    .uc-user { padding-bottom: 14px; margin-bottom: 14px; }
    .uc-avatar { width: 46px; height: 46px; font-size: 20px; border-radius: 14px; }
    .uc-name { font-size: 15px; }
    .uc-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .uc-nav-item { width: auto; flex: 1 1 46%; padding: 10px 12px; font-size: 13px; gap: 8px; }
    .uc-nav-item svg { width: 16px; height: 16px; }
    .uc-content { width: 100%; }
    .uc-section-head { margin-bottom: 18px; }
    .uc-section-head h2 { font-size: 21px; }
    .uc-section-head h3 { font-size: 17px; }
    .uc-section-head p { font-size: 13px; }
    .uc-content .dash-card { padding: 18px; border-radius: var(--r-lg); }
    .uc-content .sub-info-row { padding: 10px 0; font-size: 14px; }
    /* 表格：横向滚动，避免撑破布局 */
    .order-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .order-table { min-width: 620px; }
    .ticket-card-body { padding: 14px; }

    /* 套餐双卡 */
    /* 钱包 */
    .wallet-hero { padding: 22px 18px; }
    .wallet-hero-amt { font-size: 34px; }
    .wallet-hero-actions, .wallet-hero-foot { flex-direction: column; gap: 10px; }
    .wallet-hero-actions .btn, .wallet-hero-foot button { width: 100%; }

    /* 弹窗 */
    .modal-overlay { padding: 14px; align-items: flex-start; overflow-y: auto; }
    .modal { padding: 24px 18px; max-height: 90vh; overflow-y: auto; }
    .modal h2 { font-size: 20px; }
    .sub-link-row { flex-direction: column; }
    .sub-link-row .btn { width: 100%; }

    /* 其他 */
    .invite-stats { grid-template-columns: 1fr; }
    .guide-steps { grid-template-columns: 1fr; gap: 14px; }
    .empty-state { padding: 40px 20px; }
    .empty-state .empty-icon { width: 64px; height: 64px; }
    .captcha-row { flex-direction: column; }
    .captcha-img { width: 100%; }

    /* 在线客服：移动端全屏（避免键盘遮挡与浮窗过小） */
    .chat-panel { right: 0; bottom: 0; width: 100%; height: 100%; max-height: 100%; border-radius: 0; border: none; }
    .chat-bubble { max-width: 86%; }
    .chat-col { max-width: 86%; }

    /* ---------- 移动端性能优化（安卓 GPU 对 backdrop-filter / 大半径 blur 开销极高） ---------- */
    .navbar, .uc-header, .modal-overlay, .toast {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .navbar { background: rgba(255, 255, 255, 0.97); }
    .uc-header { background: rgba(255, 255, 255, 0.99); }
    .modal-overlay { background: rgba(15, 23, 42, 0.55); }

    /* 光斑：缩小 + 降低模糊 + 停止无限动画 */
    .hero-blob { filter: blur(34px); animation: none !important; opacity: 0.42; }
    .hero-blob-1 { width: 300px; height: 300px; }
    .hero-blob-2 { width: 260px; height: 260px; }
    .hero-blob-3 { width: 240px; height: 240px; }

    /* 个人中心：用淡入替代 clip-path 圆形揭示（安卓 clip-path 动画掉帧严重） */
    .user-center {
        clip-path: none;
        transition: opacity 0.2s var(--ease), visibility 0.2s;
    }
    .user-center.open { clip-path: none; }

    /* 降低阴影开销 */
    .uc-sidebar, .dash-card, .ticket-card, .wallet-hero { box-shadow: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 27px; }
    .uc-nav-item { flex: 1 1 100%; }
    .why-grid { grid-template-columns: 1fr; }
    .uc-content .dash-card { padding: 14px; }
    .recharge-grid { grid-template-columns: 1fr 1fr; }
    .modal { padding: 20px 14px; }
}
/* ---------- 注册：同意条款 ---------- */
.agree-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 16px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-3);
    cursor: pointer;
    text-align: left;
}
.agree-row input[type="checkbox"] {
    width: 15px; height: 15px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: var(--brand);
    cursor: pointer;
}
.agree-row a { color: var(--brand); font-weight: 600; text-decoration: none; }
.agree-row a:hover { text-decoration: underline; }

/* ---------- 订阅：流量使用进度条 ---------- */
.sub-usage-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.14);
    overflow: hidden;
    margin: 4px 0 14px;
}
.sub-usage-bar > i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width .4s ease;
}

/* ==================================================================
   液态玻璃套餐卡（用户设计稿落地版）
   - 舞台一 极光星空 → 99 两个月
   - 舞台二 清澈吊坠 → 399 一年
   说明：每张卡自带深色舞台，可直接放在浅色页面上。
   星星用纯 CSS 径向渐变绘制（不依赖 JS，避免 innerHTML 注入后脚本不执行）。
================================================================== */
/* 三卡并排（99 + 399 + 免费）；窄屏自动降为单列 */
.lg-duo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
@media (max-width: 1100px) { .lg-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .lg-duo { grid-template-columns: 1fr; } }
/* 舞台：高度由内容决定（不再固定长宽比，避免特性多时溢出） */
.lg-stage { position: relative; border-radius: 22px; overflow: hidden;
  padding: 34px 30px 30px;
  container-type: inline-size; box-shadow: 0 30px 70px -24px rgba(4, 10, 30, .55); }
.lg-label { position: absolute; top: 13px; left: 17px; z-index: 30; color: rgba(200, 220, 255, .5); font-size: 10px; letter-spacing: .25em; font-weight: 500; }

/* ---------- 卡片骨架 ---------- */
.lg-card { position: relative; width: 100%; z-index: 10; overflow: hidden; }
.lg-rim { position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; z-index: 6; pointer-events: none; }
.lg-rim::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lg-topshine { position: absolute; left: 10%; right: 10%; top: 0; height: 22%; z-index: 5; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .4), transparent 72%); }
.lg-content { position: relative; z-index: 8; width: 100%; min-height: 300px; display: flex; flex-direction: column; }
.lg-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 4; pointer-events: none; }

.lg-plan-name { font-weight: 700; letter-spacing: .12em; }
.lg-price { display: flex; align-items: baseline; line-height: 1; }
.lg-price .yen { font-weight: 600; }
.lg-price .num { font-weight: 800; letter-spacing: -.02em; }
.lg-price .per { font-weight: 400; }
.lg-features { list-style: none; margin: 0; padding: 0; }
.lg-features li { font-weight: 500; }
.lg-btn { border: none; cursor: pointer; font-family: inherit; font-weight: 600; letter-spacing: .08em;
  position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.lg-btn:hover { transform: translateY(-2px); }
/* 卡片上的「退款政策」入口（弹窗一直存在，之前只是没有入口能打开它）。
   卡片是深色背景，所以用白色半透明 + 虚线下划线，点击可读性更好。 */
.lg-refund { margin: 10px 0 0; text-align: center; }
.lg-refund a { display: inline-block; font-size: 12px; line-height: 1.5; cursor: pointer;
    color: rgba(255,255,255,0.72); text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.38); padding-bottom: 1px;
    transition: color .2s var(--ease), border-color .2s var(--ease); }
.lg-refund a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.8); }
.lg-btn:active { transform: translateY(0); }

/* ==================================================================
   舞台一：极光星空（99 两个月）
================================================================== */
.lg-aurora { background: radial-gradient(120% 90% at 50% 18%, #0d2148 0%, #08122e 42%, #030716 100%); }
.lg-aurora .lg-milky { position: absolute; width: 150%; height: 60%; left: -30%; top: -6%;
  background: radial-gradient(ellipse at center, rgba(150, 180, 255, .16), rgba(120, 150, 255, .05) 45%, transparent 70%);
  transform: rotate(-28deg); filter: blur(6px); }
/* 纯 CSS 星点（多层径向渐变叠加） */
.lg-stars { position: absolute; inset: 0; z-index: 2; opacity: .95;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.95), transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.8px 1.8px at 44% 12%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 58% 33%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 22%, rgba(255,255,255,.95), transparent 60%),
    radial-gradient(1px 1px at 86% 47%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1.3px 1.3px at 18% 66%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 34% 82%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 52% 74%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 68% 88%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1.4px 1.4px at 82% 68%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 94% 82%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 8% 88%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 64% 55%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 60%, rgba(255,255,255,.85), transparent 60%); }
.lg-aurora .lg-card { border-radius: 30px;
  background: linear-gradient(158deg, rgba(120,200,255,.16), rgba(40,90,170,.08) 38%, rgba(30,50,110,.12) 70%, rgba(140,90,220,.14));
  backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(190, 235, 255, .28);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(45,200,225,.28),
              inset 0 1px 1px rgba(255,255,255,.55), inset 0 -26px 50px rgba(30,90,180,.22); }
.lg-aurora .lg-rim::before {
  background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(120,235,255,.55) 28%, rgba(150,110,255,.5) 68%, rgba(255,255,255,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.lg-aurora .lg-aurora-field { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.lg-aurora .lg-aurora-field span { position: absolute; border-radius: 50%; mix-blend-mode: screen; filter: blur(26px); }
.lg-aurora .au1 { width: 120%; height: 72%; left: -28%; top: -16%; background: radial-gradient(ellipse at 60% 18%, rgba(80,252,224,.95), rgba(50,205,228,.42) 50%, transparent 72%); }
.lg-aurora .au2 { width: 110%; height: 42%; left: -15%; top: 32%; background: radial-gradient(ellipse at center, rgba(60,150,255,.5), transparent 70%); }
.lg-aurora .au3 { width: 110%; height: 82%; right: -32%; top: -4%; background: radial-gradient(ellipse at 35% 28%, rgba(230,100,255,.82), rgba(145,82,238,.42) 52%, transparent 72%); }
.lg-aurora .au4 { width: 130%; height: 42%; left: -25%; bottom: -12%; background: radial-gradient(ellipse at center, rgba(90,130,255,.55), rgba(185,85,235,.32) 58%, transparent 72%); }
.lg-aurora .lg-ribbon { position: absolute; height: 1.5cqw; width: 170%; left: -35%; z-index: 3; border-radius: 50%; filter: blur(.6cqw); opacity: .85; }
.lg-aurora .rb1 { top: 50%; background: linear-gradient(90deg, transparent, rgba(110,245,230,.95), rgba(90,160,255,.6), transparent); transform: rotate(-7deg); }
.lg-aurora .rb2 { top: 57%; background: linear-gradient(90deg, transparent, rgba(120,180,255,.8), rgba(200,110,255,.7), transparent); transform: rotate(-5deg); }
.lg-aurora .rb3 { top: 64%; background: linear-gradient(90deg, transparent, rgba(205,110,255,.8), rgba(80,200,250,.6), transparent); transform: rotate(-9deg); }
.lg-aurora .rb4 { top: 71%; background: linear-gradient(90deg, transparent, rgba(90,220,235,.75), rgba(150,120,255,.55), transparent); transform: rotate(-4deg); }
.lg-aurora .lg-content { padding: 8% 7%; align-items: center; }
/* 会员版卡片标题：QQ SVIP 那种金黄（渐变描金 + 柔光晕）
   用 @supports 兜底：不支持渐变文字的环境退化为纯金色，不会变成透明。 */
.lg-aurora .lg-plan-name { color: #FFD54A; font-size: clamp(13px, 4.2cqw, 24px); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .lg-aurora .lg-plan-name {
        background: linear-gradient(180deg, #FFFCE8 0%, #FFE886 26%, #FFC61A 56%, #F0A400 80%, #FFE9A0 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        filter: drop-shadow(0 0 12px rgba(255, 196, 0, .5)) drop-shadow(0 1px 3px rgba(110, 65, 0, .45));
    }
}
.lg-aurora .lg-price { margin-top: 5%; }
.lg-aurora .lg-price .yen { font-size: clamp(14px, 5cqw, 28px); color: #fff; }
.lg-aurora .lg-price .num { font-size: clamp(28px, 10cqw, 60px); color: #fff; text-shadow: 0 6px 26px rgba(120,180,255,.4); }
.lg-aurora .lg-price .per { font-size: clamp(10px, 3.4cqw, 18px); color: rgba(220,235,255,.85); margin-left: 4px; }
.lg-aurora .lg-features { margin-top: 6%; width: 100%; text-align: left; }
.lg-aurora .lg-features li { color: #d7e6ff; font-size: clamp(10px, 3.4cqw, 17px); letter-spacing: .01em; line-height: 1.5; margin-bottom: 3.8%; text-align: left; text-shadow: 0 2px 10px rgba(80,150,255,.35); }
.lg-aurora .lg-btn { margin-top: auto; align-self: center; padding: 3% 8%; border-radius: 60px; font-size: clamp(11px, 3.1cqw, 18px); color: #fff;
  background: linear-gradient(100deg, #22d3ee 0%, #3b82f6 50%, #a855f7 100%);
  box-shadow: 0 8px 26px rgba(60,150,240,.5), inset 0 1px 1px rgba(255,255,255,.6); }
.lg-aurora .lg-floor { background: radial-gradient(ellipse at 50% 100%, rgba(60,210,230,.5), rgba(60,120,220,.18) 45%, transparent 75%); }

/* ==================================================================
   舞台二：清澈玻璃吊坠（399 一年）
================================================================== */
.lg-clear { background: radial-gradient(120% 90% at 50% 28%, #10254d 0%, #081431 48%, #030614 100%); }
.lg-clear .lg-bokeh { position: absolute; inset: 0; z-index: 2; }
.lg-clear .lg-bokeh span { position: absolute; border-radius: 50%; filter: blur(30px); }
.lg-clear .bk1 { width: 34%; height: 30%; left: -6%; top: 30%; background: radial-gradient(circle, rgba(45,220,200,.7), transparent 70%); }
.lg-clear .bk2 { width: 30%; height: 26%; left: 2%; bottom: 14%; background: radial-gradient(circle, rgba(60,110,230,.65), transparent 70%); }
.lg-clear .bk3 { width: 30%; height: 28%; right: -4%; top: 14%; background: radial-gradient(circle, rgba(130,90,235,.6), transparent 70%); }
.lg-clear .bk4 { width: 32%; height: 30%; right: -2%; bottom: 18%; background: radial-gradient(circle, rgba(225,110,220,.55), transparent 70%); }
.lg-clear .bk5 { width: 24%; height: 22%; right: 8%; top: 44%; background: radial-gradient(circle, rgba(80,120,235,.5), transparent 70%); }
.lg-clear .lg-card { border-radius: 30px;
  background: linear-gradient(162deg, rgba(255,255,255,.22), rgba(255,255,255,.07) 40%, rgba(130,175,255,.1) 72%, rgba(255,255,255,.06));
  backdrop-filter: blur(23px) saturate(145%); -webkit-backdrop-filter: blur(23px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 1px 1px rgba(255,255,255,.75),
              inset 0 -30px 50px rgba(110,155,225,.2), inset 0 0 44px rgba(255,255,255,.08); }
.lg-clear .lg-rim::before {
  background: linear-gradient(155deg, rgba(255,255,255,.95), rgba(180,220,255,.5) 32%, rgba(150,180,255,.35) 66%, rgba(255,255,255,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.lg-clear .lg-arc-shine { position: absolute; right: -30%; top: 6%; width: 56%; height: 88%; border-radius: 50%; z-index: 5; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(255,255,255,.42) 63%, rgba(255,255,255,.1) 66%, transparent 71%);
  filter: blur(1.6px); opacity: .8; }
.lg-clear .lg-arc-glow { position: absolute; right: 14%; top: 20%; width: 2.4%; height: 46%; z-index: 5; border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,.55), transparent); filter: blur(2.2px); pointer-events: none; }
.lg-clear .lg-content { padding: 8% 7%; align-items: flex-start; }
.lg-clear .lg-plan-name { color: #fff; font-size: clamp(13px, 4.2cqw, 24px); text-shadow: 0 2px 14px rgba(180,210,255,.4); }
.lg-clear .lg-price { margin-top: 5.5%; }
.lg-clear .lg-price .yen { font-size: clamp(14px, 5cqw, 28px); color: #fff; }
.lg-clear .lg-price .num { font-size: clamp(28px, 10cqw, 60px); color: #fff; text-shadow: 0 6px 24px rgba(180,205,255,.35); }
.lg-clear .lg-price .per { font-size: clamp(10px, 3.4cqw, 18px); color: rgba(225,238,255,.9); margin-left: 4px; }
.lg-clear .lg-features { margin-top: 6%; width: 100%; }
.lg-clear .lg-features li { display: flex; align-items: flex-start; gap: 3.5%; color: #dce9ff; font-size: clamp(10px, 3.4cqw, 17px); letter-spacing: .01em; line-height: 1.5; margin-bottom: 3.8%; }
.lg-check { width: clamp(12px, 3.9cqw, 21px); height: clamp(12px, 3.9cqw, 21px); margin-top: .35em; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(255,255,255,.55), rgba(150,190,255,.22));
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.85), 0 3px 9px rgba(80,130,220,.35); }
.lg-check svg { width: 62%; height: 62%; }
.lg-check path { stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lg-clear .lg-btn { margin-top: auto; align-self: center; padding: 3% 9%; border-radius: 60px; font-size: clamp(11px, 3.1cqw, 18px); color: #fff;
  text-shadow: 0 1px 4px rgba(18,38,80,.5);
  background: linear-gradient(160deg, rgba(255,255,255,.4), rgba(255,255,255,.13));
  border: 1px solid rgba(255, 255, 255, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 9px 24px rgba(120,160,230,.34); }
.lg-clear .lg-floor { background: radial-gradient(ellipse at 50% 100%, rgba(214,226,255,.4), rgba(150,165,210,.14) 46%, transparent 76%); }

/* 免费版：沿用浅色小卡（在三卡布局中作为次要入口） */
/* 免费卡与玻璃卡等高（同一行并排） */
/* ---------- 点阵地球：地名标签层（由 js/globe.js 动态插入） ---------- */
.zh-lbls { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; border-radius: inherit; }
.zh-lbls .lbl { position: absolute; left: 0; top: 0; font-size: 9px; font-weight: 500; letter-spacing: .08em;
  color: #d3ecff; opacity: 0; pointer-events: none; white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .85); will-change: transform, opacity; }
@media (max-width: 820px) { .zh-lbls .lbl { font-size: 8px; } }

/* ============================================================
   首页 Hero 区星空背景（由 js/sky.js 渲染）
   —— 背景变深，所以 hero 内文字/分隔线改用浅色（仅限 .hero 作用域）
   ============================================================ */
/* Hero 星空兜底：WebGL 不可用时由这层 CSS 顶上。
   用「8 层星点 + background-size 平铺」代替 90 层独立渐变 ——
   平铺对 GPU 友好，90 层各自绘制在手机上会严重掉帧。
   放在 canvas 自己的 background 上：有 WebGL 时被绘制内容盖住，无感。 */


/* 仅当 JS 检测到 WebGL 不可用并加上 .webgl-off 时才显示这层兜底。
   放在这里而不是直接写在 canvas 上：带背景的 canvas 每帧重绘都要连背景一起
   重新栅格化，会拖慢正常渲染。 */


/* 文字改浅色 */
.hero h1 { color: #eef3ff; }
.hero p { color: rgba(206, 219, 245, .78); }
.hero .eyebrow { color: #8fd4ff; }

/* 统计条：改成深色玻璃，避免在星空上过亮 */
.hero .hero-stats { background: rgba(12, 20, 42, .42); border: 1px solid rgba(140, 180, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero .stat-label { color: rgba(190, 208, 240, .62); }
.hero .stat-divider { background: rgba(150, 180, 235, .22); }

/* 光斑在深色底上降低存在感（星空已是主视觉） */
.hero .hero-blob { opacity: .28; }

/* 不支持 WebGL 时 js/sky.js 会自动铺一层渐变兜底，这里保证底色不至于纯白 */
.hero { background: #050a16; }
@media (max-width: 820px) { .hero { padding-top: 120px; } }

/* ============================================================
   「为什么选择知空」区块 · 银河纵深背景（由 js/galaxy.js 渲染）
   暖色银心 + 银河带 + 暗尘埃带；带 z 深度的透视星点做前景。
   前景卡片按原设计稿建议改为深色玻璃。
   ============================================================ */
/* 银河区块兜底：同样由 CSS 顶上，成本极低 */


/* 仅当 JS 检测到 WebGL 不可用并加上 .webgl-off 时才显示这层兜底。
   放在这里而不是直接写在 canvas 上：带背景的 canvas 每帧重绘都要连背景一起
   重新栅格化，会拖慢正常渲染。 */


/* WebGL 不可用时的兜底底色（与夜海基色一致） */
.plans-section { background: #04070e; isolation: isolate; }

/* 区块标题改浅色（仅限本区块） */
.plans-section .section-header h2 { color: #eef3ff; }
.plans-section .section-header p { color: rgba(200, 216, 245, .72); }
.plans-section .eyebrow { color: #8fd4ff; }

/* 特性卡片：深色玻璃（配置取自设计稿注释） */
.plans-section .why-card {
  background: rgba(9, 17, 32, .55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(127, 216, 255, .16);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, .72);
}
.plans-section .why-card:hover {
  border-color: rgba(127, 216, 255, .34);
  box-shadow: 0 22px 54px -20px rgba(0, 0, 0, .82), 0 0 0 1px rgba(127, 216, 255, .10);
}
.plans-section .why-title { color: #e9f3ff; }
.plans-section .why-desc { color: rgba(196, 214, 242, .70); }

/* 地球容器：去掉白圈，改用与星空协调的深色玻璃 */
.globe-wrap { background: rgba(9, 17, 32, .38); border: 1px solid rgba(127, 216, 255, .14); }
.globe-wrap::before { opacity: .55; }   /* 圆外光晕压暗一点，避免像白框 */

/* ============================================================
   订阅页舞台三：FREE（免费版 · 晨雾）
   —— 排版规则严格对齐 .lg-clear（同一套 cqw 响应式尺寸），仅替换配色。
   注意：尺寸一律用 cqw，才能与另两张卡同步缩放。
   ============================================================ */

/* 舞台底色：墨青绿深空，比另两张略亮，显得轻盈 */
.lg-free {
  background: radial-gradient(120% 90% at 50% 22%, #0c2b30 0%, #071a1f 46%, #030c0f 100%);
}

/* 装饰一：左上柔光雾团 */
.lg-free-glow {
  position: absolute; width: 150%; height: 62%; left: -28%; top: -8%; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 42% 46%, rgba(94, 234, 212, .16), rgba(45, 212, 191, .05) 46%, transparent 72%);
}

/* 装饰二：浮尘（radial-gradient 小点，零额外请求） */
.lg-free-dust {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 24%, rgba(203, 255, 245, .80), transparent),
    radial-gradient(1.1px 1.1px at 72% 16%, rgba(180, 245, 235, .65), transparent),
    radial-gradient(1.3px 1.3px at 38% 68%, rgba(215, 255, 250, .72), transparent),
    radial-gradient(1.0px 1.0px at 86% 58%, rgba(170, 235, 225, .58), transparent),
    radial-gradient(1.2px 1.2px at 56% 88%, rgba(200, 250, 242, .66), transparent),
    radial-gradient(1.0px 1.0px at 26% 46%, rgba(160, 230, 220, .52), transparent),
    radial-gradient(1.1px 1.1px at 64% 40%, rgba(190, 248, 238, .56), transparent);
}

/* ---------- 卡片玻璃（对应 .lg-clear .lg-card） ---------- */
.lg-free .lg-card {
  border-radius: 30px;
  background: linear-gradient(162deg, rgba(94, 234, 212, .16), rgba(30, 110, 100, .07) 40%, rgba(45, 212, 191, .09) 72%, rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
}

/* ---------- 描边（对应 .lg-clear .lg-rim::before） ---------- */
.lg-free .lg-rim::before {
  background: linear-gradient(150deg, rgba(255,255,255,.85), rgba(110, 240, 215, .50) 30%, rgba(45, 212, 191, .40) 68%, rgba(255,255,255,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- 排版：严格照抄 clear 的尺寸，只改颜色 ---------- */
.lg-free .lg-content { padding: 8% 7%; align-items: flex-start; }

.lg-free .lg-plan-name {
  color: #7ff0dc; font-size: clamp(13px, 4.2cqw, 24px);
  text-shadow: 0 0 22px rgba(60, 240, 200, .5);
}

.lg-free .lg-price { margin-top: 5.5%; }
.lg-free .lg-price .num {
  font-size: clamp(28px, 10cqw, 60px); font-weight: 800; letter-spacing: -.02em;
  color: #ffffff; text-shadow: 0 6px 24px rgba(52, 211, 153, .42);
}

/* 存储规格小字 */
.lg-free .lg-free-storage {
  margin-top: 3.5%; font-size: clamp(10px, 3.4cqw, 17px);
  letter-spacing: .01em; color: rgba(190, 240, 232, .78); line-height: 1.5;
}

.lg-free .lg-features { margin-top: 6%; width: 100%; }
.lg-free .lg-features li {
  display: flex; align-items: flex-start; gap: 3.5%;
  color: #d4f0ea; font-size: clamp(10px, 3.4cqw, 17px); letter-spacing: .01em;
  line-height: 1.5; margin-bottom: 3.8%; text-align: left;
  text-shadow: 0 2px 10px rgba(20, 90, 80, .35);
}
.lg-free .lg-features .lg-check svg { stroke: #5eead4; }

.lg-free .lg-btn {
  margin-top: auto; align-self: center; padding: 3% 9%; border-radius: 60px;
  font-size: clamp(11px, 3.1cqw, 18px); color: #ffffff;
  background: linear-gradient(150deg, rgba(45, 212, 191, .85), rgba(16, 185, 129, .78));
  box-shadow: 0 8px 26px rgba(16, 185, 129, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.lg-free .lg-btn:hover {
  background: linear-gradient(150deg, rgba(94, 234, 212, .95), rgba(45, 212, 191, .88));
  box-shadow: 0 12px 32px rgba(45, 212, 191, .48), inset 0 1px 0 rgba(255, 255, 255, .45);
}

/* 免费版价格文字（JS 输出的类名是 .lg-free-num，此前漏了定义 → 继承 body 近黑色，在深青卡上看不清） */
.lg-free .lg-free-num,
.lg-free-num {
  font-size: clamp(28px, 10cqw, 60px); font-weight: 800; letter-spacing: -.01em; line-height: 1;
  color: #ffffff; text-shadow: 0 6px 24px rgba(52, 211, 153, .45);
  display: inline-block;
}

/* 免费版规格小字 */
.lg-free .lg-free-storage {
  margin-top: 3.5%; font-size: clamp(10px, 3.4cqw, 17px);
  letter-spacing: .01em; color: rgba(190, 240, 232, .78); line-height: 1.5;
}

/* 免费版特性列表 */
.lg-free .lg-features-free { margin-top: 6%; width: 100%; }
.lg-free .lg-features-free li {
  display: flex; align-items: flex-start; gap: 3.5%;
  color: #d4f0ea; font-size: clamp(10px, 3.4cqw, 17px); letter-spacing: .01em;
  line-height: 1.5; margin-bottom: 3.8%; text-align: left;
}
.lg-free .lg-features-free .lg-check svg { stroke: #5eead4; }

/* 免费版按钮 */
.lg-free .lg-btn-free {
  background: linear-gradient(150deg, rgba(45, 212, 191, .85), rgba(16, 185, 129, .78));
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(16, 185, 129, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.lg-free .lg-btn-free:hover {
  background: linear-gradient(150deg, rgba(94, 234, 212, .95), rgba(45, 212, 191, .88));
  box-shadow: 0 12px 32px rgba(45, 212, 191, .48), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.lg-free .lg-floor {
  background: linear-gradient(to top, rgba(45, 212, 191, .12), transparent);
}

/* 客服页：窄屏改竖排，避免三列挤压 */
@media (max-width: 900px) { .cs-grid { grid-template-columns: 1fr; } }

/* 服务时间提示条：与卡片信息层级拉开 */
.cs-service-time { font-size: 13.5px; color: var(--text-2); }

/* ============================================================
   TG 客服分类弹窗 —— iOS 26 Liquid Glass（液态玻璃）
   做法：强模糊 + 高饱和 + 多层 inset 高光 + 斜向 glare 反光层 + 大圆角。
   ============================================================ */

/* 遮罩：轻微压暗 + 模糊背景，突出玻璃层 */
.tg-mask {
  position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(18, 26, 48, .30);
  -webkit-backdrop-filter: blur(7px) saturate(120%); backdrop-filter: blur(7px) saturate(120%);
  opacity: 0; transition: opacity .26s ease;
}
.tg-mask.open { opacity: 1; }

/* 玻璃面板 */
.tg-sheet {
  position: relative; width: 100%; max-width: 420px; overflow: hidden;
  border-radius: 34px; padding: 24px 22px 20px;
  /* 半透明底 + 强模糊 + 提亮，是液态玻璃的核心 */
  background: linear-gradient(140deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.44) 48%, rgba(255,255,255,.52) 100%);
  -webkit-backdrop-filter: blur(44px) saturate(210%) brightness(1.06);
  backdrop-filter: blur(44px) saturate(210%) brightness(1.06);
  border: 1px solid rgba(255,255,255,.62);
  /* 外层投影 + 四边内高光：营造「有厚度的玻璃块」 */
  box-shadow:
    0 32px 80px -26px rgba(10, 20, 45, .48),
    0 8px 24px -12px rgba(10, 20, 45, .22),
    inset 0 1.5px 1px rgba(255, 255, 255, .95),
    inset 0 -1.5px 1px rgba(255, 255, 255, .40),
    inset 1.5px 0 1px rgba(255, 255, 255, .55),
    inset -1.5px 0 1px rgba(255, 255, 255, .55);
  transform: translateY(18px) scale(.96);
  opacity: 0; transition: transform .30s cubic-bezier(.22,1,.36,1), opacity .26s ease;
}
.tg-mask.open .tg-sheet { transform: translateY(0) scale(1); opacity: 1; }

/* 斜向 glare 反光层 —— 液态玻璃的「湿感」来源 */
.tg-sheet-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background:
    linear-gradient(118deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 64%, rgba(255,255,255,.34) 100%),
    radial-gradient(120% 60% at 20% -10%, rgba(255,255,255,.75), rgba(255,255,255,0) 62%);
  mix-blend-mode: screen;
}
.tg-sheet > *:not(.tg-sheet-glare) { position: relative; z-index: 1; }

/* 关闭按钮 */
.tg-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: rgba(30, 41, 70, .68); font-size: 19px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 8px -2px rgba(10,20,45,.25);
  transition: background .2s ease, transform .2s ease;
}
.tg-close:hover { background: rgba(255,255,255,.68); transform: scale(1.06); }

/* 头部 */
.tg-head { display: flex; align-items: center; gap: 12px; margin: 2px 34px 18px 2px; }
.tg-head-ico {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  box-shadow: 0 6px 18px -4px rgba(34, 158, 217, .58), inset 0 1px 0 rgba(255,255,255,.4);
}
.tg-head-ico svg { width: 22px; height: 22px; }
.tg-head-txt h3 { margin: 0; font-size: 17px; font-weight: 800; color: #16233d; letter-spacing: .01em; }
.tg-head-txt p { margin: 3px 0 0; font-size: 12.5px; color: rgba(30, 45, 75, .62); }

/* 分类列表 */
.tg-topics { display: flex; flex-direction: column; gap: 7px; }
.tg-topic {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 13px; border-radius: 17px; cursor: pointer; font-family: inherit;
  border: 1px solid rgba(255,255,255,.52);
  background: rgba(255,255,255,.34);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tg-topic:hover {
  background: rgba(255,255,255,.58); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 20px -10px rgba(10,20,45,.32);
}
.tg-topic-ico {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #2AABEE; background: rgba(42, 171, 238, .14);
  border: 1px solid rgba(42, 171, 238, .20);
}
.tg-topic-ico svg { width: 18px; height: 18px; }
.tg-topic-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tg-topic-txt b { font-size: 14.5px; font-weight: 700; color: #16233d; }
.tg-topic-txt em { font-style: normal; font-size: 12px; color: rgba(30, 45, 75, .58); }
.tg-topic-go { color: rgba(30, 45, 75, .34); font-size: 15px; flex-shrink: 0; transition: transform .18s ease; }
.tg-topic:hover .tg-topic-go { transform: translateX(2px); }

/* 底部 Telegram 主按钮 */
.tg-cta {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 15px; padding: 14px 20px; border-radius: 17px; text-decoration: none;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  box-shadow: 0 12px 28px -10px rgba(34, 158, 217, .72), inset 0 1px 0 rgba(255,255,255,.42);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tg-cta svg { width: 19px; height: 19px; }
.tg-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -10px rgba(34, 158, 217, .85), inset 0 1px 0 rgba(255,255,255,.5); }
.tg-cta:active { transform: translateY(0); }

/* 底部小提示 */
.tg-tip { margin: 11px 0 0; text-align: center; font-size: 11.5px; line-height: 1.5; color: rgba(30, 45, 75, .52); }

/* 在线客服的时间徽章 */
/* 时间徽章：原来用靛色，在垫了靛紫光斑的卡片上同样会淡 —— 改用与在线客服图标同色系（绿） */
/* 时间徽章：现位于描述行（与 value 并排），因此字号更小、更贴近正文 */
.cs-item-time {
  display: inline-block; margin-left: 7px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .02em; vertical-align: 1px;
  color: var(--primary-600); background: rgba(99, 102, 241, .10);
  border: 1px solid rgba(99, 102, 241, .18); transition: transform .18s ease;
}
.cs-item:hover .cs-item-time { transform: translateY(-1px); }

/* 窄屏：玻璃面板铺得更满，圆角略收 */
@media (max-width: 480px) {
  .tg-sheet { border-radius: 28px; padding: 20px 16px 16px; max-width: 100%; }
  .tg-head { margin-right: 30px; }
  .tg-topic { padding: 11px 12px; border-radius: 15px; }
}

/* 深色系统偏好下，玻璃改用深色底，避免刺眼 */
@media (prefers-color-scheme: dark) {
  .tg-mask { background: rgba(6, 10, 22, .48); }
  .tg-sheet {
    background: linear-gradient(140deg, rgba(38, 46, 68, .78) 0%, rgba(26, 33, 52, .68) 48%, rgba(34, 42, 62, .74) 100%);
    border-color: rgba(255, 255, 255, .16);
  }
  .tg-head-txt h3, .tg-topic-txt b { color: #eaf1ff; }
  .tg-head-txt p, .tg-topic-txt em, .tg-tip { color: rgba(214, 226, 248, .62); }
  .tg-topic { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); }
  .tg-topic:hover { background: rgba(255, 255, 255, .13); }
  .tg-close { background: rgba(255, 255, 255, .12); color: rgba(230, 238, 255, .8); border-color: rgba(255,255,255,.16); }
}

/* 弹窗内的「知空会员享 24 小时在线服务」提示条 */
/* 做成暖金色，与蓝色系分类项拉开层级，一眼能看到 */
.tg-member {
  display: flex; align-items: center; gap: 9px; margin-bottom: 14px;
  padding: 11px 14px; border-radius: 15px;
  background: linear-gradient(120deg, rgba(251, 191, 36, .20), rgba(245, 158, 11, .12));
  border: 1px solid rgba(251, 191, 36, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}
.tg-member-ico {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #b45309; background: rgba(251, 191, 36, .34);
}
.tg-member-ico svg { width: 15px; height: 15px; }
.tg-member-txt { font-size: 13px; font-weight: 600; color: #92610c; letter-spacing: .01em; }
.tg-member-txt b { font-weight: 800; color: #7a4d05; }

/* 深色模式下的会员条 */
@media (prefers-color-scheme: dark) {
  .tg-member {
    background: linear-gradient(120deg, rgba(251, 191, 36, .16), rgba(245, 158, 11, .09));
    border-color: rgba(251, 191, 36, .26);
  }
  .tg-member-ico { color: #fcd34d; background: rgba(251, 191, 36, .20); }
  .tg-member-txt { color: #fcd34d; }
  .tg-member-txt b { color: #fde68a; }
}

/* 客服项可能是 <a>（TG 项用它做降级）—— 去掉链接默认样式 */
a.cs-item { text-decoration: none; color: inherit; }
a.cs-item:visited { color: inherit; }
a.cs-item:hover { text-decoration: none; }
a.cs-item:focus-visible { outline: 2px solid var(--primary-500); outline-offset: -2px; }

/* 导航栏未读红点（常驻，不依赖是否进过客服页） */
.nav-chat-badge {
  position: absolute; top: -5px; right: -5px; z-index: 5;
  min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; text-align: center;
  box-shadow: 0 0 0 2px var(--surface); pointer-events: none;
}


/* 订单/工单表格的序号列 */
.col-seq, .col-no { width: 52px; text-align: center; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* 使用引导正文 */
.guide-body { font-size: 14px; line-height: 1.8; color: var(--text-2); }

/* 地球渲染失败时的降级文案 */
/* WebGL 不可用时的静态地球兜底（纯 CSS，观感接近真实渲染） */
.globe-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; gap: 12px;
  pointer-events: none;
}
/* 球体：斜向光源 + 边缘大气辉光 */
/* 球体：WebGL 不可用时的静态替代。
   ★ 不再用大半径外阴影（0 0 46px / 0 0 90px）——
     在手机 GPU 上，大元素 + 大 blur 会在滚动/重绘时严重掉帧。
     改用「纯渐变 + 极轻内阴影」，视觉接近但成本几乎为零。 */
.globe-fallback::before {
  content: ''; display: block; width: 74%; aspect-ratio: 1 / 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(168, 214, 255, .62) 0%, rgba(78, 146, 236, .40) 32%, rgba(20, 46, 104, .88) 66%, rgba(8, 18, 46, .97) 100%);
  box-shadow: inset -10px -12px 28px rgba(0, 0, 0, .42), inset 8px 10px 22px rgba(130, 195, 255, .22);
}
/* 文字缩小、降低存在感 */
.globe-fallback { font-size: 11px; letter-spacing: .14em; color: rgba(180, 210, 255, .5); text-align: center; }
/* 银河兜底：WebGL 不可用时给「为什么选择知空」区块一个深色渐变，避免整块留白 */
.plans-section.galaxy-fallback {
  background: #050814;
}

/* 补回：这批状态样式曾被误删，但代码仍在使用 */
.order-status.refunding { background: rgba(99, 102, 241, 0.14); color: #5b21b6; }

/* 补回：这批状态样式曾被误删，但代码仍在使用 */
.ticket-status.closed { background: rgba(100, 116, 139, 0.14); color: #475569; }

/* 补回：这批状态样式曾被误删，但代码仍在使用 */
.tx-status.processing { color: #B45309; }
