/* Infinity Studio 设计系统（渲染稿与正式站共用）
 * 结构与动效基准：mineradio.cn —— 动态暗幕、紧排大标题、胶囊按钮、低透明玻璃卡片、浅色反转下载带。
 * 配色来源：客户端开屏动画 —— 暖黑底 #0e0c11 + 珍珠虹彩（象牙 / 玫瑰灰 / 钢灰 / 香槟）、胶片遮幅与光线扫掠。
 * 禁用：蓝紫、蓝绿、黑金。字号：正文 15–17px，最小 13px；按钮 14–15px。
 */
:root {
  --bg: #0b0a0e;
  --bg-raise: #121015;
  --surface-0: rgba(236, 227, 214, .02);
  --surface-1: rgba(236, 227, 214, .032);
  --surface-2: rgba(236, 227, 214, .05);
  --surface-3: rgba(236, 227, 214, .075);
  --surface-solid: #141217;
  --surface-pop: rgba(22, 20, 25, .97);
  --card-grad: linear-gradient(180deg, rgba(236, 227, 214, .06), rgba(236, 227, 214, .018));
  --line-1: rgba(236, 227, 214, .07);
  --line-2: rgba(236, 227, 214, .09);
  --line-3: rgba(236, 227, 214, .13);
  --line-4: rgba(236, 227, 214, .2);
  --text-1: #f3eee8;
  --text-2: #e4ddd5;
  --text-3: #cbc3bb;
  --text-4: #a0989d;
  --text-5: #7d767f;
  --pearl: linear-gradient(100deg, #f3eadf 0%, #e6d3cb 28%, #cdb4b0 50%, #bcc4cf 72%, #e8dec6 100%);
  --pearl-text: linear-gradient(100deg, #f6efe6 0%, #e9d6cd 30%, #d2b9b4 52%, #c2cad6 74%, #ece2cb 100%);
  --accent: #e3cfc7;
  --accent-soft: rgba(227, 207, 199, .12);
  --accent-ring: rgba(227, 207, 199, .42);
  --accent-ink: #6a4c46;
  --rose: #d39e95;
  --steel: #9eacc0;
  --ivory: #ece3d6;
  --champagne: #d6c89f;
  --ok: #a9c39a;
  --warn: #e2b56f;
  --bad: #e88c84;
  --info: #a9b6c9;
  --mint: var(--ok);
  --sky: var(--info);
  --amber: var(--warn);
  --light-bg: #f2ede6;
  --light-card: #e7e0d6;
  --light-text: #16131a;
  --light-text-2: rgba(22, 19, 26, .6);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-1); font-family: var(--font);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(227, 207, 199, .3); }
:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; border-radius: 6px; }

/* ── 动态暗幕背景 ─────────────────────────────────────────── */
.veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); overflow: hidden; }
.veil canvas { width: 100%; height: 100%; display: block; }
.veil::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 70% 20%, rgba(211, 158, 149, .07), transparent 60%), linear-gradient(180deg, rgba(11, 10, 14, .1), rgba(11, 10, 14, .55));
}
.veil::after {
  content: ""; position: absolute; inset: 0; opacity: .05;
  background-image: linear-gradient(rgba(236, 227, 214, .9) 1px, transparent 1px);
  background-size: 100% 4px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 85%);
  mask-image: radial-gradient(circle at center, #000, transparent 85%);
}
.veil--calm canvas { opacity: .55; }
.page { position: relative; z-index: 1; }

/* ── 布局 ─────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 150px 24px; }
.section--tight { padding: 100px 24px; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 96px 20px; } }

/* ── 字体层级 ─────────────────────────────────────────────── */
.eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; background: var(--pearl-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow--mint { background: none; color: var(--steel); }
.h-hero { margin: 0; font-size: clamp(54px, 8.2vw, 116px); font-weight: 700; line-height: 1.04; letter-spacing: -.075em; }
.h-hero span { display: block; }
.h-section { margin: 0; font-size: clamp(40px, 5.8vw, 80px); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; }
.h-block { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.h-card { margin: 0; font-size: 23px; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; }
.h-sm { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lead { margin: 0; font-size: 18px; line-height: 1.75; color: var(--text-4); }
.lead strong { color: var(--text-3); font-weight: 600; }
.muted { color: var(--text-4); }
.faint { color: var(--text-5); }
.tagline { font-size: 15px; font-weight: 600; color: var(--rose); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.mono { font-family: var(--mono); font-size: max(13px, .92em); }

/* ── 按钮（胶囊）──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px;
  padding: 0 24px; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--pearl); background-size: 160% 100%; background-position: 0 0; color: #16131a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn--primary:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 34px rgba(211, 158, 149, .28); }
.btn--light { background: var(--text-1); color: #16131a; }
.btn--light:hover { background: #fff; }
.btn--ghost { background: rgba(236, 227, 214, .03); border-color: rgba(236, 227, 214, .22); color: var(--text-1); }
.btn--ghost:hover { background: rgba(236, 227, 214, .07); border-color: rgba(236, 227, 214, .34); }
.btn--quiet { background: transparent; color: var(--text-3); padding: 0 12px; }
.btn--quiet:hover { color: var(--text-1); background: var(--surface-2); }
.btn--danger { background: rgba(232, 140, 132, .1); border-color: rgba(232, 140, 132, .3); color: var(--bad); }
.btn--sm { height: 36px; padding: 0 18px; font-size: 14px; }
.btn--xs { height: 30px; padding: 0 13px; font-size: 13px; }
.btn--lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text-1); border-bottom: 1.5px solid var(--rose); padding-bottom: 2px; }

/* ── 导航 ─────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .45s, border-color .45s, backdrop-filter .45s; }
.nav.is-scrolled { background: rgba(11, 10, 14, .74); border-bottom-color: var(--line-1); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.brand__mark { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.brand__word b { font-weight: 700; }
.brand__word span { color: var(--text-4); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav__links a { color: #cfc7bf; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid rgba(236, 227, 214, .22); border-radius: var(--r-pill); overflow: hidden; font-size: 13px; }
.seg button { border: 0; background: transparent; color: var(--text-4); padding: 5px 12px; cursor: pointer; }
.seg button.is-on { background: var(--text-1); color: #16131a; font-weight: 600; }
@media (max-width: 960px) { .nav__links { display: none; } }

/* ── 卡片 ─────────────────────────────────────────────────── */
.card { background: var(--surface-1); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.card--grad { background: var(--card-grad); }
.card--lg { border-radius: var(--r-xl); }
.card--pad { padding: 28px; }
.card--pad-lg { padding: 40px; }
.card--glass { background: rgba(10, 11, 20, .55); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); }
.card--hover { transition: transform .35s var(--ease), border-color .35s, background .35s; }
.card--hover:hover { transform: translateY(-3px); border-color: var(--line-4); background: var(--surface-2); }
.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-solid); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(236, 227, 214, .03); }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 15px; border-radius: var(--r-pill); border: 1px solid var(--line-3); background: var(--surface-1); font-size: 14px; color: var(--text-2); white-space: nowrap; }
.chip--sm { height: 28px; padding: 0 11px; font-size: 13px; }
.chip--accent { border-color: rgba(227, 207, 199, .4); color: var(--accent); background: var(--accent-soft); }
.chip--mint { border-color: rgba(169, 195, 154, .32); color: var(--ok); background: rgba(169, 195, 154, .1); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── 统计条 ───────────────────────────────────────────────── */
.stats { border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); background: var(--surface-0); }
.stats__row { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__cell { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line-1); }
.stats__cell:last-child { border-right: 0; }
.stats__value { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.stats__label { margin-top: 4px; font-size: 14px; color: var(--text-4); }

/* ── 浅色反转带（下载）────────────────────────────────────── */
.band-light { background: var(--light-bg); color: var(--light-text); }
.band-light .h-section { color: var(--light-text); }
.band-light .lead { color: var(--light-text-2); }
.dl-card { background: var(--light-card); border-radius: 22px; padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.dl-card:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(17, 17, 19, .1); }
.dl-card.is-recommend { background: #fbf8f4; box-shadow: 0 0 0 1.5px rgba(106, 76, 70, .32), 0 18px 50px rgba(22, 19, 26, .08); }
.dl-card h3 { margin: 14px 0 4px; font-size: 22px; letter-spacing: -.02em; }
.dl-card p { margin: 0; font-size: 14.5px; color: var(--light-text-2); }
.dl-card .get { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 15px; color: var(--light-text); border-bottom: 2px solid #c99a92; padding-bottom: 1px; }
.reco { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.reco::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }

/* ── 表单 ─────────────────────────────────────────────────── */
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; color: var(--text-3); font-weight: 500; }
.field .hint { font-size: 13px; color: var(--text-5); }
.input, .select, .textarea {
  width: 100%; height: 42px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-3);
  background: rgba(236, 227, 214, .04); color: var(--text-1); font: inherit; font-size: 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 96px; padding: 10px 14px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--text-5); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: rgba(227, 207, 199, .6); background: rgba(236, 227, 214, .06); box-shadow: 0 0 0 4px rgba(227, 207, 199, .12); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a0989d 50%), linear-gradient(135deg, #a0989d 50%, transparent 50%); background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text-3); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.switch { position: relative; display: inline-block; vertical-align: middle; width: 38px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(236, 227, 214, .16); transition: background .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--pearl); }
.switch input:checked + span::after { transform: translateX(16px); background: #16131a; }

/* ── 徽标 / 状态 ──────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface-3); color: var(--text-3); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.badge--ok { color: var(--ok); background: rgba(169, 195, 154, .13); }
.badge--warn { color: var(--warn); background: rgba(226, 181, 111, .13); }
.badge--bad { color: var(--bad); background: rgba(232, 140, 132, .13); }
.badge--info { color: var(--info); background: rgba(169, 182, 201, .13); }
.badge--accent { color: var(--accent); background: var(--accent-soft); }
.badge--plain::before { display: none; }

/* ── 标签页 / 分段 ────────────────────────────────────────── */
.tabs { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-1); }
.tabs button { height: 34px; padding: 0 17px; border: 0; border-radius: 999px; background: transparent; color: var(--text-4); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--text-1); }
.tabs button.is-on { background: var(--text-1); color: #16131a; font-weight: 600; }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill-tabs button { height: 40px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-3); background: var(--surface-1); color: var(--text-3); font-size: 15px; cursor: pointer; }
.pill-tabs button.is-on { border-color: rgba(236, 227, 214, .45); background: rgba(236, 227, 214, .09); color: var(--text-1); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 22px 4px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--text-4); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--rose); }
.faq details p { margin: 14px 0 0; color: var(--text-4); font-size: 16px; line-height: 1.8; }

/* ── 页脚 ─────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line-2); padding: 48px 24px 60px; }
.footer__row { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { margin: 0 0 14px; font-size: 14px; color: var(--text-3); font-weight: 600; }
.footer a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--text-4); }
.footer a:hover { color: var(--text-1); }
.footer__legal { max-width: var(--container); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--line-1); display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--text-5); }
@media (max-width: 960px) { .footer__row { grid-template-columns: 1fr 1fr; } }

/* ── 动效 ─────────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes caret { 50% { opacity: 0; } }
.rise { animation: rise .8s var(--ease) both; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .14s; } .d3 { animation-delay: .22s; } .d4 { animation-delay: .3s; } .d5 { animation-delay: .38s; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }

/* ── 控制台（用户中心 / 管理后台）────────────────────────── */
.app { position: relative; z-index: 1; display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; border-right: 1px solid var(--line-1); background: rgba(14, 12, 17, .78); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.side .brand { padding: 4px 8px 18px; }
.side__group { margin-top: 14px; padding: 0 10px 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--text-5); text-transform: uppercase; }
.side__item { display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 12px; border-radius: 11px; font-size: 15px; color: var(--text-3); transition: background .2s, color .2s; position: relative; }
.side__item svg { width: 17px; height: 17px; flex: none; opacity: .8; }
.side__item:hover { background: var(--surface-2); color: var(--text-1); }
.side__item.is-on { background: rgba(236, 227, 214, .08); color: var(--text-1); font-weight: 600; }
.side__item.is-on::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pearl); }
.side__item .count { margin-left: auto; font-size: 13px; color: var(--text-5); }
.side__foot { margin-top: auto; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-1); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 32px; border-bottom: 1px solid var(--line-1); background: rgba(11, 10, 14, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.topbar__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.topbar__crumb { color: var(--text-5); font-weight: 500; }
.topbar__tools { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) {
  .topbar { height: auto; min-height: 62px; flex-wrap: wrap; padding: 10px 18px; }
  .topbar__tools { flex-wrap: wrap; justify-content: flex-end; }
}
.search { position: relative; width: 280px; }
.search input { padding-left: 36px; height: 38px; border-radius: 999px; font-size: 14.5px; }
.search svg { position: absolute; left: 13px; top: 10px; width: 16px; height: 16px; color: var(--text-5); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #16131a; background: var(--pearl); flex: none; }
.avatar--lg { width: 56px; height: 56px; font-size: 20px; }
.content { padding: 30px 32px 64px; max-width: 1360px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.page-head p { margin: 6px 0 0; color: var(--text-4); font-size: 15px; }
.panel { background: var(--surface-1); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-1); }
.panel__head h2 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.panel__body { padding: 20px 22px; }
.panel__foot { padding: 14px 22px; border-top: 1px solid var(--line-1); display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-4); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--card-grad); }
.kpi__label { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--text-4); }
.kpi__value { margin-top: 10px; font-size: 32px; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.kpi__value small { font-size: 14px; font-weight: 600; color: var(--text-4); margin-left: 4px; letter-spacing: 0; }
.kpi__meta { margin-top: 6px; font-size: 13.5px; color: var(--text-5); }
.delta { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.delta--up { color: var(--ok); background: rgba(169, 195, 154, .13); }
.delta--down { color: var(--bad); background: rgba(232, 140, 132, .13); }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 500; font-size: 13.5px; color: var(--text-5); padding: 12px 16px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line-1); color: var(--text-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: rgba(236, 227, 214, .03); }
.table .r { text-align: right; }
.cell-user { display: flex; align-items: center; gap: 11px; }
.cell-user .avatar { width: 30px; height: 30px; font-size: 13px; }
.cell-user b { display: block; font-weight: 600; color: var(--text-1); font-size: 14.5px; }
.cell-user span { display: block; font-size: 13px; color: var(--text-5); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.toolbar .input, .toolbar .select { height: 38px; font-size: 14.5px; width: auto; }
.toolbar .spacer { flex: 1; }
.pager { display: flex; gap: 6px; }
.pager button { min-width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-1); color: var(--text-3); font-size: 14px; cursor: pointer; }
.pager button.is-on { background: var(--text-1); color: #16131a; border-color: transparent; font-weight: 600; }
.row { display: flex; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 24px; }
.divider { height: 1px; background: var(--line-1); margin: 18px 0; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 12px 18px; font-size: 15px; }
.kv dt { color: var(--text-4); }
.kv dd { margin: 0; color: var(--text-1); }
.empty { padding: 48px 20px; text-align: center; color: var(--text-5); font-size: 15px; }
.chart { width: 100%; height: 220px; }
.legend { display: flex; gap: 16px; font-size: 13.5px; color: var(--text-4); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 6px; vertical-align: 1px; }
.progress { height: 6px; border-radius: 999px; background: rgba(236, 227, 214, .08); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--pearl); }
.code { font-family: var(--mono); font-size: 13px; padding: 2px 7px; border-radius: 6px; background: rgba(236, 227, 214, .07); color: var(--text-2); }
.modal-mask { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; }
.modal { width: min(520px, 100%); border-radius: var(--r-xl); border: 1px solid var(--line-3); background: var(--surface-pop); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.modal__head { padding: 22px 24px 8px; }
.modal__head h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.modal__body { padding: 8px 24px 20px; color: var(--text-3); font-size: 15px; }
.modal__foot { padding: 16px 24px 22px; display: flex; justify-content: flex-end; gap: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-3); background: var(--surface-pop); font-size: 14.5px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }

/* 认证页 */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 100px 20px 60px; position: relative; z-index: 1; }
.auth__card { width: min(440px, 100%); padding: 36px 34px 30px; border-radius: var(--r-xl); border: 1px solid var(--line-3); background: rgba(18, 16, 21, .66); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); box-shadow: 0 40px 140px rgba(0, 0, 0, .55); }
.auth__card h1 { margin: 18px 0 6px; font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.auth__card .sub { margin: 0 0 24px; color: var(--text-4); font-size: 15px; }
.auth__switch { margin-top: 20px; text-align: center; font-size: 14.5px; color: var(--text-4); }
.auth__switch a { color: var(--text-1); font-weight: 600; border-bottom: 1px solid var(--rose); }

/* ── 会员档位材质（官网定价页 / 用户中心共用）──────────────────
 * 参照保时捷式排版：只做层次，不叠颜色。档位越高 —— 线条越细越亮、卡面底色越沉、留白越整、
 * 强调色越单一。全程无投影堆叠、无渐变滥用；旗舰档用深底 + 1px 金色细线表达最高档。
 * 修饰类：.plan--tier-1 / .plan--tier-2 / .plan--tier-3 / .plan--flagship，任何卡片容器都可套。 */
:root {
  --tier-line-1: rgba(236, 227, 214, .10);
  --tier-line-2: rgba(236, 227, 214, .16);
  --tier-line-3: rgba(236, 227, 214, .26);
  --tier-fill-1: linear-gradient(180deg, rgba(236, 227, 214, .05), rgba(236, 227, 214, .015));
  --tier-fill-2: linear-gradient(180deg, rgba(236, 227, 214, .065), rgba(236, 227, 214, .02));
  --tier-fill-3: linear-gradient(180deg, rgba(236, 227, 214, .085), rgba(236, 227, 214, .025));
  --tier-fill-flagship: linear-gradient(180deg, #131017 0%, #0d0b10 100%);
  --tier-ink-1: var(--text-4);
  --tier-ink-2: var(--text-3);
  --tier-ink-3: var(--text-2);
  --flag-gold: #c9ab74;
  --flag-gold-soft: rgba(201, 171, 116, .16);
  --flag-gold-line: rgba(201, 171, 116, .55);
}
.plan { position: relative; display: flex; flex-direction: column; gap: 0; padding: 30px 26px 24px; border-radius: var(--r-xl); border: 1px solid var(--tier-line-1); background: var(--tier-fill-1); scroll-margin-top: 110px; }
.plan--tier-2 { border-color: var(--tier-line-2); background: var(--tier-fill-2); }
.plan--tier-3 { border-color: var(--tier-line-3); background: var(--tier-fill-3); }
.plan--flagship { border-color: var(--flag-gold-line); background: var(--tier-fill-flagship); }
/* 档位修饰类带优先级，页面自带的 .plan 底色不会把材质盖掉 */
.plan.plan--tier-2 { border-color: var(--tier-line-2); background: var(--tier-fill-2); }
.plan.plan--tier-3 { border-color: var(--tier-line-3); background: var(--tier-fill-3); }
.plan.plan--flagship { border-color: var(--flag-gold-line); background: var(--tier-fill-flagship); }
/* 旗舰：1px 金色细线（设备支持 mask 时用渐变描边，颜色只在四角收束，不喧哗） */
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .plan--flagship { border-color: transparent; }
  .plan--flagship::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(150deg, rgba(201, 171, 116, .85), rgba(201, 171, 116, .18) 38%, rgba(201, 171, 116, .05) 62%, rgba(201, 171, 116, .55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
}
.plan.is-current { border-color: rgba(169, 195, 154, .42); }
.plan.is-current.plan--flagship { border-color: var(--flag-gold-line); }
.plan.is-hot { border-color: var(--accent-ring); }
.plan.is-hot.plan--flagship { border-color: var(--flag-gold-line); }

/* 档位标签：宽字距大写小标签，档位越高越亮 */
.plan__tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; margin-bottom: 18px; }
.plan__kind { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--tier-ink-1); }
.plan--tier-2 .plan__kind { color: var(--tier-ink-2); }
.plan--tier-3 .plan__kind { color: var(--tier-ink-3); }
.plan--flagship .plan__kind { color: var(--flag-gold); }

/* 安静的角标：当前套餐 / 首期折扣，只占一行小字，不做胶囊大色块 */
.plain-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--text-4); white-space: nowrap; }
.plain-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .8; }
.plain-badge--save { color: var(--rose); }
.plain-badge--ok { color: var(--ok); }
.plain-badge--gold { color: var(--flag-gold); }

.plan__title { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; color: var(--text-1); }
.plan__desc { margin: 7px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-4); min-height: 1.6em; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.plan__price b { font-size: 46px; font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--text-1); }
.plan__price span { font-size: 14px; color: var(--text-5); }
.plan__price s { font-size: 15px; color: var(--text-5); text-decoration-thickness: 1px; }
.plan__credits { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.plan__credits b { font-weight: 600; }
.plan__notes { margin-top: 4px; font-size: 13px; color: var(--text-5); }
.plan__feats { margin: 20px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line-1); display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
.plan__feats li { display: flex; gap: 9px; align-items: flex-start; }
.plan__feats svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--text-4); }
.plan--tier-2 .plan__feats svg { color: var(--text-3); }
.plan--tier-3 .plan__feats svg { color: var(--rose); }
.plan--flagship .plan__feats svg { color: var(--flag-gold); }
.plan--flagship .plan__feats { border-top-color: rgba(236, 227, 214, .08); }
.plan__cta { margin-top: auto; padding-top: 22px; }
.plan--flagship .plan__cta .btn--ghost { border-color: var(--flag-gold-line); color: #f3eadf; }
.plan--flagship .plan__cta .btn--ghost:hover { background: var(--flag-gold-soft); border-color: rgba(201, 171, 116, .8); }

/* 三档横向排列 + 旗舰横条（旗舰单列一条，避免四列挤压） */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-grid > .empty, .plan-grid > .site-fail { grid-column: 1 / -1; }
.plan-flagship { margin-top: 16px; }
.plan-flagship .plan {
  display: grid; gap: 0 40px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(220px, .8fr);
  grid-template-areas: "tier tier tier" "title feats cta" "desc feats cta" "price feats cta" "credits feats cta" "notes feats cta";
  padding: 28px 30px 24px;
}
.plan-flagship .plan__tier { grid-area: tier; margin-bottom: 16px; }
.plan-flagship .plan__title { grid-area: title; font-size: 24px; }
.plan-flagship .plan__desc { grid-area: desc; }
.plan-flagship .plan__price { grid-area: price; margin-top: 16px; }
.plan-flagship .plan__credits { grid-area: credits; }
.plan-flagship .plan__notes { grid-area: notes; }
.plan-flagship .plan__feats { grid-area: feats; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; border-top: 0; align-self: start; }
.plan-flagship .plan__cta { grid-area: cta; align-self: center; padding-top: 0; }
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-flagship .plan { grid-template-columns: 1fr; grid-template-areas: none; gap: 0; }
  .plan-flagship .plan > * { grid-area: auto; }
  .plan-flagship .plan__feats { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-1); }
  .plan-flagship .plan__cta { margin-top: 20px; }
}
@media (max-width: 680px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px 20px; }
  .plan__price b { font-size: 38px; }
  .plan-flagship .plan__feats { grid-template-columns: 1fr; }
}
.device { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-1); }
.device__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.steps { display: grid; gap: 10px; margin: 18px 0; }
.steps li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-3); }
.steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 2px; background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--rose); }
.steps li.is-done::before { background: var(--pearl); }

/* ── 珍珠虹彩与开屏动画元素 ───────────────────────────────── */
.pearl-word { background: var(--pearl-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pearlFlow 9s ease-in-out infinite; }
@keyframes pearlFlow { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.cinebar { position: fixed; left: 0; right: 0; height: 6vh; background: #060508; z-index: 70; pointer-events: none; transition: transform 1.2s cubic-bezier(.7, .05, .3, 1) 1.6s; }
.cinebar--top { top: 0; } .cinebar--bot { bottom: 0; }
.is-opened .cinebar--top { transform: translateY(-100%); } .is-opened .cinebar--bot { transform: translateY(100%); }
.streak { position: absolute; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(236, 227, 214, .7), transparent); filter: drop-shadow(0 0 6px rgba(211, 158, 149, .6)); opacity: 0; animation: streak 7.5s linear infinite; }
@keyframes streak { 0% { transform: translateX(-30vw); opacity: 0; } 8% { opacity: .9; } 30% { opacity: 0; transform: translateX(80vw); } 100% { opacity: 0; transform: translateX(80vw); } }
.spaced { letter-spacing: .32em; text-indent: .32em; font-weight: 500; }
.spaced i { font-style: normal; display: inline-block; opacity: 0; transform: translateY(7px); animation: spacedIn .7s var(--ease) forwards; }
@keyframes spacedIn { to { opacity: .92; transform: none; } }
