/* ============================================================
   小智工具箱 · 设计系统
   品牌色沿用会员端（蓝 → 青渐变），风格：浅色底 + 大圆角 + 轻投影 + 玻璃质感顶栏
   ============================================================ */
:root {
  --brand-1: #2e5cff;
  --brand-2: #17c3b2;
  --brand-grad: linear-gradient(135deg, #2e5cff 0%, #17c3b2 100%);
  --grad-deep: linear-gradient(135deg, #1b2a6b 0%, #2e5cff 45%, #17c3b2 100%);

  --bg: #f4f6fb;
  --bg-soft: #eef1f8;
  --card: #ffffff;
  --line: #e6eaf5;
  --line-strong: #d9e0f0;
  --txt: #131c33;
  --txt-2: #4a5570;
  --mut: #8890a8;
  --pri: var(--brand-1);
  --acc: var(--brand-2);
  --warn: #ff8f1f;
  --err: #f4484a;
  --ok: #12b886;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --sh-1: 0 1px 2px rgba(19, 28, 51, .04), 0 2px 8px rgba(19, 28, 51, .04);
  --sh-2: 0 6px 20px rgba(31, 41, 90, .06);
  --sh-3: 0 16px 40px rgba(31, 41, 90, .12);
  --sh-brand: 0 10px 26px rgba(46, 92, 255, .28);

  --nav-h: 64px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pri); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cfd6e6; border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #b7c0d6; background-clip: content-box; }

/* ==================== 顶栏 ==================== */
.topbar {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 28px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 11px; background: var(--brand-grad);
  display: grid; place-items: center; color: #fff; box-shadow: var(--sh-brand);
}
.brand .logo svg { width: 20px; height: 20px; }
.brand .name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.brand .sub { font-size: 11px; color: var(--mut); margin-left: 2px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 8px 14px; border-radius: var(--r-full); font-size: 14px; color: var(--txt-2);
  white-space: nowrap; transition: .18s; text-decoration: none;
}
.nav a:hover { background: var(--bg-soft); color: var(--txt); text-decoration: none; }
.nav a.active { background: #eaf0ff; color: var(--pri); font-weight: 600; }

.userbar { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand-grad); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.user-menu { position: relative; }
.user-menu .trigger { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px; border-radius: var(--r-full); transition: .18s; }
.user-menu .trigger:hover { background: var(--bg-soft); }
.user-menu .dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 8px; display: none;
}
.user-menu.open .dropdown { display: block; }
.user-menu .dropdown a, .user-menu .dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 9px 12px; border: none; background: none; border-radius: var(--r-sm);
  font-size: 14px; color: var(--txt-2); cursor: pointer; font-family: inherit;
}
.user-menu .dropdown a:hover, .user-menu .dropdown button:hover { background: var(--bg-soft); color: var(--txt); text-decoration: none; }
.user-menu .dropdown .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.user-menu .dropdown .muted-line { padding: 6px 12px; font-size: 12px; color: var(--mut); }

/* ==================== 通用容器 ==================== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 24px 28px 64px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 24px 28px 64px; }

.page-head { margin-bottom: 20px; }
.page-head h2 { font-size: 24px; }
.page-head p { color: var(--mut); font-size: 14px; margin-top: 6px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--sh-1); margin-bottom: 18px;
}
.card.tight { padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h3 { font-size: 16px; }
.card-head .hint { margin: 0; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.grid-tool { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 18px; align-items: start; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
@media (max-width: 980px) {
  .grid-2, .grid-tool { grid-template-columns: minmax(0, 1fr); }
  .wrap, .wrap-narrow { padding: 18px 16px 56px; }
  .topbar { padding: 0 14px; gap: 12px; }
  .nav a { padding: 7px 11px; font-size: 13px; }
}

/* ==================== 首页 Hero ==================== */
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--grad-deep); color: #fff; padding: 52px 48px; margin-bottom: 28px;
  box-shadow: var(--sh-3);
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35;
}
.hero::before { width: 300px; height: 300px; right: -60px; top: -120px; background: radial-gradient(circle, rgba(255,255,255,.6), transparent 65%); }
.hero::after { width: 380px; height: 380px; right: 120px; bottom: -240px; background: radial-gradient(circle, rgba(23,195,178,.7), transparent 62%); }
.hero .hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { font-size: 38px; line-height: 1.18; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #b9e9ff, #8ff0e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.82); }
.hero .hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.hero .stat b { display: block; font-size: 22px; }
.hero .stat span { font-size: 12px; color: rgba(255,255,255,.72); }
@media (max-width: 720px) { .hero { padding: 34px 22px; } .hero h1 { font-size: 27px; } }

/* ==================== 工具卡片 ==================== */
.tool-card {
  position: relative; display: block; padding: 20px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1);
  color: inherit; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s;
  text-decoration: none;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: #dbe4ff; text-decoration: none; }
.tool-card .t-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: #eef2ff; color: var(--pri);
}
.tool-card .t-icon svg { width: 24px; height: 24px; }
.tool-card.t-teal .t-icon { background: #e6f8f5; color: #0f9e8f; }
.tool-card.t-orange .t-icon { background: #fff2e2; color: #e07b12; }
.tool-card.t-purple .t-icon { background: #f2ecff; color: #7a4bff; }
.tool-card.t-pink .t-icon { background: #ffecf3; color: #e0417c; }
.tool-card.t-blue .t-icon { background: #e9f1ff; color: #2e5cff; }
.tool-card h4 { font-size: 16px; margin-bottom: 6px; }
.tool-card p { font-size: 13px; color: var(--mut); line-height: 1.55; min-height: 40px; }
.tool-card .t-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--mut); }
.tool-card.is-off { opacity: .55; }
.tool-card .off-badge {
  position: absolute; right: 14px; top: 14px; font-size: 11px; padding: 2px 9px;
  border-radius: var(--r-full); background: #f2f4fa; color: var(--mut); border: 1px solid var(--line);
}
.section-title { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; }
.section-title h3 { font-size: 17px; }
.section-title .line { flex: 1; height: 1px; background: var(--line); }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--r-full); border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: inherit; color: #fff; background: var(--brand-grad);
  transition: .18s; white-space: nowrap;
}
.btn:hover { filter: brightness(1.05); box-shadow: var(--sh-brand); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--txt); border: 1px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--pri); color: var(--pri); box-shadow: none; filter: none; }
.btn.soft { background: #eef2ff; color: var(--pri); }
.btn.soft:hover { background: #e3ecff; box-shadow: none; filter: none; }
.btn.danger { background: #fff; color: var(--err); border: 1px solid #ffd9d9; }
.btn.danger:hover { background: #fff5f5; border-color: var(--err); box-shadow: none; filter: none; }
.btn.sm { padding: 6px 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn-link { background: none; border: none; color: var(--pri); cursor: pointer; font-size: 13px; font-family: inherit; padding: 2px 4px; }
.btn-link:hover { text-decoration: underline; }
.btn-link.danger { color: var(--err); }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.actions .spacer { flex: 1; }

/* ==================== 表单 ==================== */
.field { margin-bottom: 16px; }
.field > label, .field-label { display: block; font-size: 13px; font-weight: 600; color: var(--txt-2); margin-bottom: 7px; }
.field .desc { font-size: 12px; color: var(--mut); margin-top: 6px; }
input[type=text], input[type=password], input[type=number], input[type=email], input[type=date], select, textarea {
  width: 100%; padding: 11px 13px; font-size: 14px; font-family: inherit; color: var(--txt);
  background: #f7f9fd; border: 1px solid var(--line); border-radius: var(--r-sm); transition: .18s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pri); background: #fff; box-shadow: 0 0 0 3px rgba(46,92,255,.1); }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input[type=range] { width: 100%; accent-color: var(--pri); }
input[type=color] { width: 46px; height: 36px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.inline { display: flex; gap: 10px; align-items: center; }
.inline > * { min-width: 0; }
.row-between { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.row-value { font-size: 13px; font-weight: 700; color: var(--pri); }
.marks { display: flex; justify-content: space-between; font-size: 11px; color: #aab0c4; margin-top: 4px; }
.counter { font-size: 12px; color: var(--mut); }
.switch { position: relative; display: inline-block; width: 44px; height: 25px; flex-shrink: 0; }
.switch input { display: none; }
.switch span { position: absolute; inset: 0; background: #dfe4f0; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: var(--sh-1); }
.switch input:checked + span { background: var(--brand-grad); }
.switch input:checked + span::after { transform: translateX(19px); }

/* ==================== chips / tabs / tag ==================== */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 8px 15px; border-radius: var(--r-full); font-size: 13px; color: var(--txt-2);
  background: #f2f4fa; border: 1px solid transparent; cursor: pointer; transition: .16s; user-select: none;
}
.chip:hover { background: #e9edf8; }
.chip.active { color: var(--pri); background: #eef2ff; border-color: #cfdcff; font-weight: 600; }
.chips.sm .chip { padding: 6px 12px; font-size: 12px; }

.tabs { display: flex; gap: 6px; background: #f2f4fa; border-radius: var(--r-full); padding: 5px; }
.tabs .tab { flex: 1; text-align: center; padding: 9px 0; font-size: 14px; color: var(--txt-2); border-radius: var(--r-full); cursor: pointer; transition: .16s; }
.tabs .tab.active { background: #fff; color: var(--txt); font-weight: 700; box-shadow: var(--sh-1); }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 10px; border-radius: var(--r-full); background: #f2f4fa; border: 1px solid var(--line); color: var(--mut); white-space: nowrap; }
.tag.pri { color: var(--pri); background: #eef2ff; border-color: #dbe6ff; }
.tag.ok { color: #0f9e8f; background: #e6f8f5; border-color: #c9f0ea; }
.tag.warn { color: #b57210; background: #fff6e8; border-color: #ffe2bd; }
.tag.err { color: var(--err); background: #fff1f1; border-color: #ffdcdc; }
.tag.gold { color: #a1730a; background: linear-gradient(135deg,#fff4d6,#ffe9b0); border-color: #ffe2a6; font-weight: 600; }

/* ==================== 额度条 ==================== */
.quota-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 11px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--txt-2); margin-bottom: 16px; box-shadow: var(--sh-1);
}
.quota-bar b { color: var(--pri); }
.quota-bar .q-right { display: flex; align-items: center; gap: 8px; }

/* ==================== 上传区 / 画布舞台 ==================== */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 230px; border: 2px dashed var(--line-strong); border-radius: var(--r-lg);
  background: #fafbff; cursor: pointer; transition: .18s; color: var(--mut); text-align: center; padding: 24px;
}
.dropzone:hover, .dropzone.drag { border-color: var(--pri); background: #f4f7ff; color: var(--pri); }
.dropzone svg { width: 34px; height: 34px; }
.dropzone .dz-title { font-size: 15px; font-weight: 600; color: var(--txt); }
.dropzone .dz-sub { font-size: 12px; }
.stage {
  position: relative; display: grid; place-items: center; min-height: 300px;
  border-radius: var(--r-lg); background: #f7f9fd; border: 1px solid var(--line); overflow: hidden;
}
.stage canvas, .stage img { max-width: 100%; max-height: 66vh; display: block; }
.stage.checker { background-image: linear-gradient(45deg,#eef1f8 25%,transparent 25%),linear-gradient(-45deg,#eef1f8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef1f8 75%),linear-gradient(-45deg,transparent 75%,#eef1f8 75%); background-size: 22px 22px; background-position: 0 0,0 11px,11px -11px,-11px 0; }
.stage .overlay {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 10px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(3px); font-size: 14px; color: var(--txt-2);
}
.spinner { width: 30px; height: 30px; border: 3px solid #e3e9f7; border-top-color: var(--pri); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tool-strip { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }

/* ==================== 列表 / 记录 ==================== */
.list { display: flex; flex-direction: column; }
.list-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: none; }
.list-row .thumb {
  width: 62px; height: 62px; border-radius: var(--r-sm); object-fit: cover; background: #eef1f8; flex-shrink: 0;
}
.list-row .thumb.audio { display: grid; place-items: center; background: linear-gradient(135deg,#eef3ff,#e6f8f5); color: var(--pri); }
.list-row .main { flex: 1; min-width: 0; }
.list-row .title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row .sub { font-size: 12px; color: var(--mut); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row .side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.work-cell { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; background: #eef1f8; cursor: pointer; }
.work-cell img { width: 100%; height: 100%; object-fit: cover; }
.work-cell .mask { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); color: #fff; font-size: 11px; display: flex; justify-content: space-between; }
.work-cell .badge { position: absolute; right: 8px; top: 8px; font-size: 11px; padding: 2px 8px; border-radius: var(--r-full); background: rgba(0,0,0,.5); color: #fff; }
.work-cell .check { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.28); }
.work-cell.selected .check { background: var(--pri); border-color: var(--pri); color: #fff; display: grid; place-items: center; font-size: 13px; }
.work-cell.selected { outline: 3px solid var(--pri); outline-offset: -1px; }
.work-cell .audio-body { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: linear-gradient(135deg,#eef3ff,#e6f8f5); }
.work-cell .audio-title { font-size: 12px; color: var(--txt-2); text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ==================== 空态 / 提示 ==================== */
.empty { padding: 54px 20px; text-align: center; color: var(--mut); }
.empty svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: .5; }
.empty .e-title { font-size: 15px; color: var(--txt-2); font-weight: 600; }
.empty .e-sub { font-size: 13px; margin-top: 6px; }
.hint { font-size: 12px; color: var(--mut); line-height: 1.65; }
.tip { display: block; margin-top: 10px; font-size: 12px; color: #b57210; background: #fff8ee; border: 1px solid #ffe7c7; padding: 9px 12px; border-radius: var(--r-sm); line-height: 1.6; }
.tip.err { color: #b3261e; background: #fff3f3; border-color: #ffdcdc; }
.tip.ok { color: #0f7a6d; background: #eefbf8; border-color: #cdf1e9; }
.compliance { padding: 12px 15px; border-radius: var(--r-sm); background: #fff8ee; border: 1px solid #ffe7c7; font-size: 12px; color: #a86a1c; line-height: 1.7; }

/* ==================== 弹窗 / Toast ==================== */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(17, 24, 45, .48); backdrop-filter: blur(3px); }
.modal.open { display: flex; }
.modal .box {
  width: 100%; max-width: 420px; max-height: 88vh; overflow: auto; background: #fff;
  border-radius: var(--r-xl); padding: 30px; box-shadow: var(--sh-3); animation: pop .18s ease-out;
}
.modal .box.wide { max-width: 760px; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.modal h3 { font-size: 20px; margin-bottom: 6px; }
.modal .sub { font-size: 13px; color: var(--mut); margin-bottom: 20px; }
.modal .close { position: absolute; right: 22px; top: 20px; }
.auth-tabs { display: flex; gap: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.auth-tabs .t { padding-bottom: 10px; font-size: 15px; color: var(--mut); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs .t.active { color: var(--txt); font-weight: 700; border-bottom-color: var(--pri); }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; }

.toast {
  position: fixed; left: 50%; top: 22px; transform: translateX(-50%); z-index: 120;
  padding: 11px 20px; border-radius: var(--r-full); font-size: 14px; display: none; max-width: 88vw;
  box-shadow: var(--sh-3); background: #fff; border: 1px solid var(--line);
}
.toast.ok { background: #eafaf5; color: #0f8f7f; border-color: #bdeee4; }
.toast.err { background: #fff2f2; color: #d92d2d; border-color: #ffd5d5; }
.toast.info { background: #eef3ff; color: #2b4fd6; border-color: #d7e2ff; }

/* ==================== 会员/积分 ==================== */
.member-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 30px; border-radius: var(--r-xl); background: var(--grad-deep); color: #fff; margin-bottom: 18px;
  box-shadow: var(--sh-3);
}
.member-hero .m-left { display: flex; align-items: center; gap: 16px; }
.member-hero .m-avatar { width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 22px; font-weight: 800; border: 1px solid rgba(255,255,255,.3); }
.member-hero .m-name { font-size: 19px; font-weight: 700; }
.member-hero .m-sub { font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 4px; }
.member-hero .m-right { display: flex; gap: 26px; }
.member-hero .m-item { text-align: right; }
.member-hero .m-item b { display: block; font-size: 24px; }
.member-hero .m-item span { font-size: 12px; color: rgba(255,255,255,.72); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat-card { padding: 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.stat-card b { font-size: 22px; display: block; }
.stat-card span { font-size: 12.5px; color: var(--mut); }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tier-card { padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; text-align: center; box-shadow: var(--sh-1); }
.tier-card .price { font-size: 22px; font-weight: 800; color: var(--txt); }
.tier-card .price small { font-size: 13px; font-weight: 600; }
.tier-card .pt { font-size: 13px; color: var(--pri); font-weight: 600; margin-top: 4px; }

/* ==================== 分段进度（签到）==================== */
.sign-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.sign-cell { padding: 10px 4px; border-radius: var(--r-sm); background: #f5f7fc; text-align: center; font-size: 12px; color: var(--mut); }
.sign-cell.done { background: linear-gradient(135deg,#e8f4ff,#e2f8f3); color: #0f8e80; font-weight: 700; }
.sign-cell.today { outline: 2px solid var(--pri); outline-offset: -2px; }

/* ==================== 表格 ==================== */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12.5px; color: var(--mut); font-weight: 600; background: #fafbfe; }
.table tr:last-child td { border-bottom: none; }
.table td.num { font-variant-numeric: tabular-nums; }

/* ==================== 页脚 ==================== */
.footer { margin-top: 40px; padding: 26px 0; border-top: 1px solid var(--line); color: var(--mut); font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
