/* ============================================================
   BeeMatra Design System v1.0 —— 白色简约 · 橙色点睛
   色板: Brand#F7931E Hover#E07B0A Soft#FFF3E6 Ink1#1D1D1F
         Ink2#515154 Ink3#86868B Line#E8E8ED SoftBg#F7F8FA Success#34C759
   字阶: Display42/H1-32/H2-24/H3-18/Body15/Caption13
   ============================================================ */
:root {
  --brand: #F7931E;
  --brand-hover: #E07B0A;
  --soft: #FFF3E6;
  --ink1: #1D1D1F;
  --ink2: #515154;
  --ink3: #86868B;
  --line: #E8E8ED;
  --white: #FFFFFF;
  --softbg: #F7F8FA;
  --success: #34C759;
  --danger: #E5484D;
  --r-sm: 10px; --r-md: 14px; --r-lg: 16px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(29,29,31,.04), 0 8px 24px rgba(29,29,31,.05);
  --shadow-pop: 0 12px 40px rgba(29,29,31,.14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--ink1); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; color: var(--ink1); }
.hide { display: none !important; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ---------- 字阶 ---------- */
.t-display { font-size: 42px; font-weight: 700; line-height: 1.25; letter-spacing: -.5px; }
.t-h1 { font-size: 32px; font-weight: 600; line-height: 1.3; }
.t-h2 { font-size: 24px; font-weight: 500; line-height: 1.35; }
.t-h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.t-body { font-size: 15px; font-weight: 400; }
.t-cap  { font-size: 13px; font-weight: 400; color: var(--ink3); }
@media (max-width: 768px) {
  .t-display { font-size: 30px; }
  .t-h1 { font-size: 26px; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1; padding: 13px 28px;
  transition: all .18s ease; white-space: nowrap; user-select: none;
}
.btn-primary { background: var(--ink1); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-primary:active { transform: none; }
.btn-outline { background: #fff; color: var(--ink1); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink3); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-hover); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn-block { width: 100%; }

/* ---------- 输入 ---------- */
.input {
  width: 100%; padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; outline: none; transition: border-color .15s;
}
.input:focus { border-color: var(--ink2); }
.input::placeholder { color: #B9BDC4; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink2); margin-bottom: 6px; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
}
.card-soft { background: var(--softbg); border: 1px solid transparent; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .hd-in {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 26px; width: auto; display: block; }
.hd-nav { display: flex; gap: 28px; margin-left: 12px; }
.hd-nav a { font-size: 14px; color: var(--ink2); padding: 6px 2px; }
.hd-nav a:hover, .hd-nav a.on { color: var(--ink1); }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hd-right .login-link { font-size: 14px; color: var(--ink2); }
.hd-right .login-link:hover { color: var(--ink1); }
.hd-user {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--softbg); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--ink2); overflow: hidden;
}
.hd-user img { width: 100%; height: 100%; object-fit: cover; }
.hd-burger { display: none; background: none; border: none; padding: 8px; }
.hd-burger svg { display: block; }
.hd-mobile-menu {
  display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px 20px 16px;
}
.hd-mobile-menu a { display: block; padding: 12px 4px; font-size: 15px; color: var(--ink1); border-bottom: 1px solid var(--softbg); }
@media (max-width: 1024px) {
  .hd-nav { display: none; }
  .hd-burger { display: block; }
  .site-header.menu-open .hd-mobile-menu { display: block; }
}
@media (max-width: 560px) {
  .hd-right .login-link { display: none; }
}

/* ---------- 语言切换下拉 ---------- */
.lang-dd { position: relative; }
.ld-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--ink1); font-family: inherit; line-height: 1;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ld-btn:hover { border-color: #d3d8df; box-shadow: 0 1px 4px rgba(16,24,40,.06); }
.ld-btn .lf-ic { width: 20px; height: 20px; }
.ld-chev { color: var(--ink2); transition: transform .18s ease; }
.lang-dd.open .ld-chev { transform: rotate(180deg); }
.ld-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 176px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16,24,40,.14);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 90;
}
.lang-dd.open .ld-menu { opacity: 1; visibility: visible; transform: none; }
.ld-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: var(--ink2); white-space: nowrap;
}
.ld-item .lf-ic { width: 20px; height: 20px; }
.ld-item:hover { background: var(--softbg); color: var(--ink1); }
.ld-item.on { color: var(--ink1); font-weight: 600; background: var(--softbg); }
@media (max-width: 560px) {
  .ld-btn { padding: 6px 8px; }
  .ld-btn .ld-name { display: none; }
}

/* ---------- 区块 ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--softbg); }
.sec-head { margin-bottom: 44px; }
.sec-head .t-h2 { margin-bottom: 8px; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

/* ---------- 首页 hero ---------- */
.hero { padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-sub { color: var(--ink2); font-size: 17px; margin: 18px 0 36px; }
.hero-cta { display: flex; align-items: center; gap: 28px; }
.hero-demo-link { font-size: 15px; color: var(--ink2); }
.hero-demo-link:hover { color: var(--ink1); }
.hero-visual {
  background: var(--softbg); border-radius: 24px; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
@media (max-width: 1024px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* hero 内动画（Lottie 位：纯 CSS 材质球演示） */
.hero-anim { position: relative; width: 200px; height: 200px; }
.hero-anim .sphere {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFE3C2 0%, var(--brand) 42%, #B96A0D 100%);
  box-shadow: 0 24px 60px rgba(247,147,30,.35);
  animation: hfloat 4.5s ease-in-out infinite;
}
.hero-anim .ring {
  position: absolute; inset: -26px; border-radius: 50%;
  border: 1.5px dashed rgba(247,147,30,.45);
  animation: hspin 14s linear infinite;
}
.hero-anim .cube {
  position: absolute; right: -34px; bottom: -10px; width: 64px; height: 64px;
  border-radius: 12px; background: var(--ink1);
  box-shadow: 0 16px 36px rgba(29,29,31,.25);
  animation: hfloat 4.5s ease-in-out infinite reverse;
}
.hero-anim .cube::after {
  content: ""; position: absolute; inset: 12px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.35);
}
@keyframes hfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes hspin { to { transform: rotate(360deg); } }

/* ---------- 功能卡 / 步骤卡 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.feat-card .ic {
  width: 52px; height: 52px; border-radius: 50%; background: var(--softbg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-size: 22px;
}
.feat-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--ink3); line-height: 1.55; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; position: relative;
}
.step-card .num { font-size: 56px; font-weight: 700; color: var(--softbg); line-height: 1;
  -webkit-text-stroke: 1px var(--line); margin-bottom: 18px; }
.step-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--ink3); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 大 CTA ---------- */
.big-cta { text-align: center; padding: 104px 0; }
.big-cta .t-h1 { margin-bottom: 12px; }
.big-cta .t-body { color: var(--ink3); margin-bottom: 36px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--softbg); border-top: 1px solid var(--line); padding: 56px 0 32px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.ft-brand { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ft-col h4 { font-size: 13px; color: var(--ink3); font-weight: 500; margin-bottom: 14px; }
.ft-col a { display: block; font-size: 14px; color: var(--ink2); padding: 5px 0; }
.ft-col a:hover { color: var(--ink1); }
.ft-copy { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--ink3); }
@media (max-width: 768px) { .ft-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 标签 chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--soft); color: var(--brand-hover);
  font-size: 13px; font-weight: 500; border-radius: var(--r-pill); padding: 6px 14px;
}
.chip-file {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 13px; color: var(--ink2); padding: 7px 14px; max-width: 320px;
}
.chip-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 进度条 ---------- */
.prog-track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.prog-fill { height: 100%; background: var(--ink1); border-radius: 999px; width: 0; transition: width .8s cubic-bezier(.22,.61,.36,1); }
.prog-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink3); margin-top: 8px; }

/* ---------- 状态徽标 ---------- */
.st { font-size: 13px; font-weight: 500; }
.st-ok { color: var(--success); }
.st-run { color: var(--brand-hover); }
.st-fail { color: var(--danger); }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 400; color: var(--ink3); font-size: 13px;
  padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--softbg); color: var(--ink2); }
.tbl td:first-child { color: var(--ink1); font-weight: 500; }
.tbl tr:last-child td { border-bottom: none; }

/* ---------- 任务页 ---------- */
.task-wrap { padding: 40px 0 80px; }
.task-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
@media (max-width: 1024px) { .task-grid { grid-template-columns: 1fr; } }
.canvas-panel {
  background: var(--softbg); border-radius: var(--r-lg); min-height: 480px;
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.canvas-panel img#tc-img { max-width: 100%; max-height: 620px; user-select: none; -webkit-user-drag: none; }
.drop-hint { text-align: center; color: var(--ink3); cursor: pointer; padding: 60px 20px; }
.drop-hint .big { font-size: 44px; margin-bottom: 14px; }
.drop-hint.drag { outline: 2px dashed var(--brand); outline-offset: -14px; }
.sel-rect {
  position: absolute; border: 1.5px dashed var(--ink1); pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(255,255,255,.45);
}
.sel-rect .grip {
  position: absolute; right: -11px; bottom: -11px; width: 22px; height: 22px;
  background: #fff; border: 1.5px solid var(--ink1); border-radius: 50%;
  pointer-events: auto; cursor: nwse-resize;
}
.upload-chip { position: absolute; left: 14px; top: 14px; z-index: 5; }
.mode-row { display: flex; gap: 8px; margin-bottom: 16px; }
.mode-btn {
  flex: 1; padding: 9px 0; text-align: center; font-size: 13px; color: var(--ink2);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.mode-btn.on { border-color: var(--ink1); color: var(--ink1); font-weight: 500; }
.range-row { margin: 14px 0 6px; }
.range-row input[type=range] { width: 100%; accent-color: var(--ink1); }
.range-row .lr { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink3); margin-bottom: 4px; }
.steps-mini { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink3); margin: 4px 0 18px; }
.steps-mini b { color: var(--ink1); font-weight: 500; }
.steps-mini .arr { color: var(--line); }

/* 进度页 */
.wait-card { max-width: 560px; margin: 48px auto; text-align: center; padding: 64px 48px; }
.spinner {
  width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%;
  border: 2px dashed var(--ink3); animation: hspin 9s linear infinite; position: relative;
}
.spinner::after {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFE3C2, var(--brand) 60%, #C4720E);
  animation: hfloat 3.2s ease-in-out infinite;
}
.wait-pct { font-size: 56px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
.wait-sub { color: var(--ink3); font-size: 14px; margin: 8px 0 30px; }
.wait-eta { margin-top: 26px; font-size: 13px; color: var(--ink3); }

/* 成果页 */
.result-hero {
  background: var(--softbg); border-radius: 24px; padding: 48px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px;
}
.rv-slot { position: relative; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rv-slot .rv-label { font-size: 14px; font-weight: 500; color: var(--ink2); margin-top: 14px; }
.rv-slot .rv-mount { width: 100%; max-width: 430px; height: 360px; position: relative; }
.rv-slot .rv-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink3); font-size: 13px; }
@media (max-width: 1024px) { .result-hero { grid-template-columns: 1fr; } .rv-slot .rv-mount { height: 320px; } }
.result-cap { text-align: center; color: var(--ink3); font-size: 13px; margin-bottom: 48px; }
.maps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.map-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.map-card .im { aspect-ratio: 1; background: var(--softbg); }
.map-card .im img { width: 100%; height: 100%; object-fit: cover; }
.map-card .nm { padding: 12px 14px; font-size: 13px; color: var(--ink2); border-top: 1px solid var(--line); }
@media (max-width: 1024px) { .maps-grid { grid-template-columns: repeat(2, 1fr); } }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }

/* WBallViewer 内嵌模式适配 */
.wbv-inline { position: relative; width: 100%; height: 100%; }
.wbv-inline canvas { width: 100% !important; height: 100% !important; touch-action: none; display: block; }

/* ---------- 开放平台 / 个人中心 布局 ---------- */
.doc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.side-menu { padding: 14px; }
.side-menu a {
  display: block; padding: 11px 14px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink2); position: relative;
}
.side-menu a.on { color: var(--ink1); font-weight: 500; background: var(--softbg); }
.side-menu a.on::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  background: var(--brand); border-radius: 2px;
}
@media (max-width: 1024px) { .doc-grid { grid-template-columns: 1fr; } }
.page-title { padding: 56px 0 36px; }
.page-title .t-h1 { margin-bottom: 10px; }
.code-inline {
  background: var(--softbg); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 18px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px;
  display: flex; align-items: center; gap: 14px; overflow-x: auto;
}
.method-badge {
  background: var(--ink1); color: #fff; font-size: 12px; font-weight: 600;
  border-radius: 6px; padding: 4px 10px; letter-spacing: .5px; flex-shrink: 0;
}
.code-dark {
  background: #1D1D1F; color: #E8E8ED; border-radius: var(--r-md);
  padding: 22px 26px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13.5px; line-height: 1.7; overflow-x: auto; white-space: pre;
}
.param-tbl td:first-child { font-family: ui-monospace, Consolas, monospace; }
.param-tbl td:nth-child(2) { color: var(--ink3); font-size: 13px; }

.acc-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
@media (max-width: 1024px) { .acc-grid { grid-template-columns: 1fr; } }
.avatar-big {
  width: 84px; height: 84px; border-radius: 50%; background: var(--softbg);
  border: 1px solid var(--line); margin: 8px auto 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 600; color: var(--ink2); cursor: pointer;
}
.avatar-big img { width: 100%; height: 100%; object-fit: cover; }
.balance-num { font-size: 44px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
.finance-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ---------- 管理后台 ---------- */
.admin-body { display: flex; min-height: 100vh; background: #fff; }
.admin-side {
  width: 220px; flex-shrink: 0; background: var(--softbg);
  padding: 24px 14px; display: flex; flex-direction: column; min-height: 100vh;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .ft-brand { padding: 0 10px 22px; }
.admin-side a {
  display: block; padding: 11px 14px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink2); position: relative; margin-bottom: 2px;
}
.admin-side a.on { color: var(--ink1); font-weight: 500; background: #fff; }
.admin-side a.on::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  background: var(--brand); border-radius: 2px;
}
.admin-main { flex: 1; padding: 40px 44px; min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.stat-card .lb { font-size: 13px; color: var(--ink3); margin-bottom: 10px; }
.stat-card .vl { font-size: 30px; font-weight: 700; letter-spacing: -.5px; }
.stat-card .dt { font-size: 12px; color: var(--ink3); margin-top: 8px; }
.stat-card .dt.up { color: var(--success); }
@media (max-width: 1024px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .admin-main { padding: 28px 20px; } }
@media (max-width: 768px)  { .admin-side { width: 64px; } .admin-side a { font-size: 0; padding: 12px; } .admin-side .ft-brand { font-size: 0; } .admin-side a.on::before { left: -2px; } }

/* ---------- 登录页 ---------- */
.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--softbg); }
.auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px; }
.auth-card .t-h2 { text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--ink3); font-size: 14px; margin-bottom: 28px; }
.auth-tabs { display: flex; background: var(--softbg); border-radius: var(--r-pill); padding: 4px; margin-bottom: 26px; }
.auth-tabs button {
  flex: 1; border: none; background: none; padding: 9px 0; border-radius: var(--r-pill);
  font-size: 14px; color: var(--ink3);
}
.auth-tabs button.on { background: #fff; color: var(--ink1); font-weight: 500; box-shadow: 0 1px 4px rgba(29,29,31,.08); }
.auth-err { background: #FDECEC; color: var(--danger); font-size: 13px; border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 16px; }
.auth-ok { background: #EAF7EF; color: #1F7A43; font-size: 13px; border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 16px; }
.auth-tip { text-align: center; font-size: 13px; color: var(--ink3); margin-top: 18px; }
.auth-tip b { color: var(--brand-hover); font-weight: 500; }

/* ---------- 弹层（通用，防 display 覆盖教训：禁内联 display） ---------- */
.ovl { position: fixed; inset: 0; z-index: 200; background: rgba(20,21,24,.55); }
.ovl.hide { display: none; }
.ovl-panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: #fff; border-radius: 18px; padding: 30px; max-width: 480px; width: calc(100% - 40px);
  box-shadow: var(--shadow-pop); max-height: 86vh; overflow-y: auto;
}
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  background: var(--ink1); color: #fff; font-size: 14px; border-radius: var(--r-pill);
  padding: 11px 22px; z-index: 300; box-shadow: var(--shadow-pop);
}
