/* ============================================================
   云托管 · 全站样式
   白色商务风 / 圆角卡片 / Lucide 图标
   ============================================================ */

:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e6eaf1;
  --line-2: #d5dbe6;
  --text: #1c2430;
  --muted: #667085;
  --faint: #98a2b3;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --primary-bg: #eff6ff;
  --green: #10b981;
  --green-bg: #ecfdf5;
  --amber: #f59e0b;
  --amber-bg: #fffbeb;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --violet: #8b5cf6;
  --violet-bg: #f5f3ff;
  --cyan: #0ea5e9;
  --cyan-bg: #f0f9ff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .07);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; line-height: 1.2;
  transition: all .18s ease; white-space: nowrap;
}
.btn i { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .25); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--red-bg); color: var(--red); border: 1px solid #fecaca; }
.btn-danger:hover { background: #fee2e2; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #059669; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ============ 卡片 ============ */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-pad { padding: 22px; }
.card-hover { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card-hover:hover { box-shadow: var(--shadow-lg); border-color: #cdd6e4; transform: translateY(-3px); }

/* ============ 徽章 / 标签 ============ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge i { width: 12px; height: 12px; }
.badge-blue { background: var(--primary-bg); color: var(--primary); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-gray { background: #f2f4f7; color: var(--muted); }
.badge-violet { background: var(--violet-bg); color: var(--violet); }

/* 套餐徽章 */
.plan-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.plan-free { background: #f2f4f7; color: var(--muted); }
.plan-pro { background: var(--primary-bg); color: var(--primary); }
.plan-enterprise { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; }

/* ============ 表单 ============ */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.textarea { min-height: 90px; resize: vertical; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--primary); }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.table th {
  text-align: left; padding: 11px 14px; font-size: 12.5px; font-weight: 600; color: var(--muted);
  background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fafbfd; }

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--nav-h);
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; color: var(--text); }
.brand-icon { width: 26px; height: 26px; color: var(--primary); }
.brand-icon svg { width: 100%; height: 100%; }
.nav-links { display: flex; gap: 22px; margin: 0 auto; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-auth { display: flex; gap: 10px; }
.nav-user { display: flex; align-items: center; gap: 12px; position: relative; }

.user-chip { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.user-chip:hover { border-color: var(--line-2); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.user-name { font-size: 13.5px; font-weight: 600; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { width: 14px; height: 14px; color: var(--faint); }

.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 99;
}
.dropdown.open { display: block; }
.dropdown a, .dropdown-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px;
  border-radius: 9px; font-size: 14px; color: var(--text); transition: background .12s;
}
.dropdown a:hover, .dropdown-item:hover { background: #f4f6f9; }
.dropdown a i, .dropdown-item i { width: 16px; height: 16px; color: var(--muted); }
.dropdown-item.logout { color: var(--red); }
.dropdown-item.logout i { color: var(--red); }

/* ============ 官网 ============ */
.hero { padding: calc(var(--nav-h) + 64px) 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--primary-bg); color: var(--primary); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-badge i { width: 15px; height: 15px; }
.hero h1 { font-size: 42px; line-height: 1.22; font-weight: 800; letter-spacing: -.5px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: 16.5px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; }
.hero-trust b { display: block; font-size: 20px; }
.hero-trust span { font-size: 13px; color: var(--muted); }

/* 官网右侧实时数据面板 */
.live-panel { position: relative; }
.live-panel .card { padding: 26px; }
.live-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.live-head h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.live-item { background: #f8fafc; border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
.live-item .l { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.live-item .l i { width: 15px; height: 15px; }
.live-item b { font-size: 22px; font-weight: 800; }
.live-item span { font-size: 12.5px; color: var(--faint); }
.live-bar { margin-top: 18px; }
.live-bar-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }

/* 区块标题 */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

/* 功能网格 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 26px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon i { width: 23px; height: 23px; }
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* 套餐 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; padding: 30px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--primary); box-shadow: 0 8px 30px rgba(37, 99, 235, .12); }
.price-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 999px; }
.price-name { font-size: 17px; font-weight: 800; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.price-amount { font-size: 34px; font-weight: 800; margin: 10px 0 4px; }
.price-amount small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.price-feats { list-style: none; flex: 1; margin-bottom: 22px; }
.price-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; padding: 6px 0; }
.price-feats li i { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.price-feats li.off { color: var(--faint); }
.price-feats li.off i { color: var(--faint); }

/* 积分 */
.points-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.points-card { padding: 24px; text-align: center; }
.points-card .p-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--amber-bg); color: var(--amber);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.points-card .p-icon i { width: 24px; height: 24px; }
.points-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.points-card p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.points-card b { color: var(--amber); font-size: 16px; }

/* 公告 */
.announce { border-left: 4px solid var(--primary); background: var(--primary-bg); border-radius: 12px; padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; }
.announce i { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.announce b { font-size: 14px; }
.announce p { font-size: 14px; color: #1e40af; margin-top: 2px; }

/* 页脚 */
.footer { background: #101828; color: #98a2b3; padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; font-size: 13.5px; }
.footer ul a { color: #98a2b3; }
.footer ul a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer .brand-icon { color: #fff; }
.footer-copy { border-top: 1px solid #1d2939; padding-top: 24px; text-align: center; font-size: 13px; }

/* ============ 模态框 ============ */
.modal-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(16, 24, 40, .5); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; max-width: 430px;
  max-height: calc(100vh - 60px); overflow-y: auto; position: relative; padding: 30px;
  animation: modalIn .22s ease;
}
.modal-lg { max-width: 560px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--faint); }
.modal-close:hover { background: #f2f4f7; color: var(--text); }
.modal-close i { width: 17px; height: 17px; }
.modal-head { text-align: center; margin-bottom: 22px; }
.modal-head .m-icon { width: 50px; height: 50px; border-radius: 15px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.modal-head .m-icon i { width: 23px; height: 23px; }
.modal-head h3 { font-size: 20px; font-weight: 800; }
.modal-head p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.modal-foot { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.modal-foot button { color: var(--primary); font-weight: 700; }

/* ============ Toast ============ */
.toast-wrap { position: fixed; top: 76px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: 14px; font-weight: 500;
  min-width: 240px; max-width: 360px; animation: toastIn .25s ease;
}
.toast i { width: 18px; height: 18px; flex-shrink: 0; }
.toast.success i { color: var(--green); }
.toast.error i { color: var(--red); }
.toast.info i { color: var(--primary); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ============ 提示条 ============ */
.alert { border-radius: 12px; padding: 13px 16px; font-size: 14px; margin-bottom: 18px; }
.alert-info { background: var(--primary-bg); color: #1e40af; border: 1px solid #bfdbfe; }
.alert-success { background: var(--green-bg); color: #065f46; border: 1px solid #a7f3d0; }
.alert-warning { background: var(--amber-bg); color: #92400e; border: 1px solid #fde68a; }
.alert-danger { background: var(--red-bg); color: #991b1b; border: 1px solid #fecaca; }

/* ============ 应用布局（控制台 / 后台） ============ */
.app { display: flex; min-height: 100vh; }
.app-side {
  width: 232px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line);
  padding: 22px 14px; position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto; z-index: 80;
}
.app-side .brand { padding: 2px 10px 20px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-link {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all .15s;
}
.side-link i { width: 18px; height: 18px; }
.side-link:hover { background: #f4f6f9; color: var(--text); }
.side-link.active { background: var(--primary-bg); color: var(--primary); }
.side-group { padding: 16px 12px 6px; font-size: 11.5px; font-weight: 700; color: var(--faint); letter-spacing: .06em; }

.app-main { flex: 1; margin-left: 232px; min-width: 0; }
.app-top {
  position: sticky; top: 0; z-index: 70; height: var(--nav-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 28px; gap: 18px;
}
.app-top .page-title { font-size: 17px; font-weight: 800; }
.app-top .spacer { flex: 1; }
.storage-pill { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 12px; background: #f4f6f9; border-radius: 999px; }
.storage-pill i { width: 15px; height: 15px; color: var(--primary); }

.app-body { padding: 28px; }
.view-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.view-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* 统计卡片 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.stat-card { padding: 20px; }
.stat-card .s-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.stat-icon i { width: 21px; height: 21px; }
.stat-card b { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.stat-card .s-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stat-card .s-trend { display: flex; align-items: center; gap: 5px; font-size: 12.5px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.stat-card .s-trend i { width: 14px; height: 14px; }

/* 进度条 */
.progress { height: 8px; background: #eef1f6; border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: var(--primary); transition: width .5s ease; }
.progress.warn > i { background: var(--amber); }
.progress.danger > i { background: var(--red); }
.progress.green > i { background: var(--green); }

/* 图表容器 */
.chart-box { height: 260px; }
.chart-box-sm { height: 220px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.panel { padding: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h3 { font-size: 15px; font-weight: 700; }
.panel-head .hint { font-size: 12.5px; color: var(--faint); }

/* 文件表格 */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .search { position: relative; flex: 1; min-width: 220px; }
.toolbar .search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); }
.toolbar .search input { padding-left: 36px; }
.file-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.file-name .f-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.file-name .f-icon i { width: 18px; height: 18px; }
.file-name .f-meta { min-width: 0; }
.file-name .f-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.file-name .f-sub { font-size: 12px; color: var(--faint); }
.icon-act { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: all .13s; }
.icon-act:hover { background: #f2f4f7; color: var(--text); }
.icon-act.danger:hover { background: var(--red-bg); color: var(--red); }
.icon-act i { width: 16px; height: 16px; }

/* 分页 */
.pager { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pager .pg {
  min-width: 34px; height: 34px; padding: 0 10px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line);
}
.pager .pg:hover { border-color: var(--primary); color: var(--primary); }
.pager .pg.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager .pg:disabled { opacity: .4; cursor: not-allowed; }

/* 空状态 */
.empty { text-align: center; padding: 54px 20px; }
.empty i { width: 44px; height: 44px; color: #cdd5e1; margin-bottom: 12px; }
.empty h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.empty p { font-size: 13.5px; color: var(--faint); }

/* 积分/升级卡片 */
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reward-card { padding: 20px; text-align: center; }
.reward-card .r-icon { width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.reward-card .r-icon i { width: 21px; height: 21px; }
.reward-card b { font-size: 17px; }
.reward-card p { font-size: 12.5px; color: var(--muted); margin: 4px 0 12px; }

/* 上传进度 */
.upload-progress { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 250; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 20px; width: 340px; display: none; }
.upload-progress.open { display: block; }
.upload-progress .up-name { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-progress .up-pct { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* 设置页 */
.setting-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: none; }
.setting-row .s-text h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.setting-row .s-text p { font-size: 13px; color: var(--muted); }
.invite-box { display: flex; gap: 10px; align-items: center; background: var(--primary-bg); border: 1px dashed #93c5fd; border-radius: 12px; padding: 12px 16px; margin-top: 10px; }
.invite-box code { font-size: 16px; font-weight: 800; color: var(--primary); letter-spacing: .08em; }

/* 分享页 */
.share-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(160deg, #eef4ff, #f5f7fa); }
.share-card { width: 100%; max-width: 420px; text-align: center; padding: 40px 34px; }
.share-card .f-big { width: 76px; height: 76px; border-radius: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.share-card .f-big i { width: 34px; height: 34px; }
.share-card h1 { font-size: 20px; font-weight: 800; word-break: break-all; margin-bottom: 6px; }
.share-card .meta { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }

/* 安装页 */
.install-body { min-height: 100vh; background: linear-gradient(160deg, #eef4ff, #f5f7fa); }
.install-wrap { max-width: 520px; padding: 48px 20px; }
.install-card { padding: 34px; }
.install-head { text-align: center; margin-bottom: 24px; }
.install-head .brand-icon { width: 44px; height: 44px; color: var(--primary); }
.install-head h1 { font-size: 22px; font-weight: 800; margin-top: 10px; }
.install-head p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.install-card form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.install-card form .input { margin-top: 6px; }
.install-card .check { margin-bottom: 10px; }
.install-card .check.danger { color: var(--red); }
.install-ok p { margin-bottom: 8px; font-size: 14.5px; }
.btn-row { display: flex; gap: 12px; margin-top: 18px; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .points-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .app-side { display: none; }
  .app-main { margin-left: 0; }
  .app-top { padding: 0 16px; }
  .app-body { padding: 18px 14px; }
  .mobile-nav {
    position: sticky; top: var(--nav-h); z-index: 60; background: #fff; border-bottom: 1px solid var(--line);
    display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px;
  }
  .mobile-nav .side-link { white-space: nowrap; padding: 8px 14px; font-size: 13.5px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero h1 { font-size: 31px; }
  .hero-trust { gap: 18px; flex-wrap: wrap; }
  .feature-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .points-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .reward-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 25px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}
