/* ============================================================
   AI 求职大师 · UI 美化（移动优先 Mobile First）
   设计系统：深邃蓝 #0F172A + 星云紫 var(--purple) / 背景 #F8FAFC
   卡片 16px 圆角 / 紫渐变按钮 / 翡翠绿 #10B981 / 琥珀黄 #F59E0B
   ============================================================ */
:root {
  /* 高保真配色：中性专业紫灰 */
  --deep: #2D2545;          /* 主文字 深紫灰 */
  --purple: #5B4B8A;        /* 主色 深紫灰（导航/标题/按钮左端） */
  --purple-dark: #4A3D73;   /* 主色加深 */
  --lavender: #B8A9E3;      /* 辅色 薰衣草紫（高亮/图标/按钮右端/渐变条右端） */
  --lavender-soft: #F1EDFB;
  --purple-soft: rgba(91, 75, 138, 0.10);
  --bg: #F7F5FC;            /* 页面背景 极浅紫灰 */
  --card: #FFFFFF;
  --text: #2D2545;
  --muted: #7A6F94;         /* 次文字 中灰紫 */
  --border: #E6E1F0;
  --emerald: #10B981;
  --emerald-soft: #ECFDF5;
  --amber: #F59E0B;
  --amber-soft: #FFFBEB;
  --danger: #DC2626;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(45, 37, 69, 0.08);
  --grad: linear-gradient(90deg, #5B4B8A, #B8A9E3); /* 横向渐变：深紫灰→薰衣草紫 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* 任何带 hidden 属性的元素必须隐藏（防止 display 规则覆盖 hidden） */
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------------- 导航栏（毛玻璃） ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 225, 240, 0.6);
}
.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
}
.nav.open { display: flex; }
.nav-item {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-family: inherit;
  color: var(--deep);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-item:hover { background: var(--purple-soft); color: var(--purple); }
.nav-item.active { background: var(--grad); color: #fff; font-weight: 700; }
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* 防止空间紧张时按钮被压缩消失 */
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--deep);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* 手机/平板（<768px）：右上角三条横线汉堡菜单；电脑端（≥768px）展开内联导航 */
@media (max-width: 767.98px) {
  /* 移动端导航栏：☰ + Logo + 右上角蓝钻（手机号/充值入口仍在个人中心页） */
  .nav-userbox { display: none !important; }
  /* 蓝钻与汉堡图标左右互换：Logo 左 → 蓝钻中 → 汉堡右 */
  .topbar-inner .brand { order: 1; }
  .topbar-inner .nav-user { order: 2; }
  .topbar-inner .hamburger { order: 3; }
  /* 汉堡菜单按钮与模块导航按钮统一：字体/大小/颜色/间距一致 */
  .nav-menu-profile {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-family: inherit;
    color: var(--deep);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .nav-menu-profile:hover { background: var(--purple-soft); color: var(--purple); }
}
@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: none;
    padding: 0;
  }
  /* PC 端：汉堡菜单内「个人中心」隐藏（右上角 nav-userbox 已有个人中心） */
  .nav-menu-profile { display: none !important; }
}

/* ---------------- 布局与视图切换 ---------------- */
.container { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 24px 16px 48px; }
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.view-head { margin-bottom: 16px; }
.view-title { font-size: 22px; font-weight: 800; color: var(--deep); }
.view-sub { color: var(--muted); font-size: 14px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  margin-bottom: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10); }
}

/* ---------------- 首页 ---------------- */
.slogan {
  text-align: center;
  font-size: 48px; /* 主标题加大：>=48px */
  font-weight: 800;
  color: var(--purple);
  line-height: 1.3;
  padding: 28px 8px 8px;
  letter-spacing: 1px;
}
.slogan-sub { text-align: center; color: var(--muted); font-size: 15px; padding-bottom: 22px; }

@media (min-width: 768px) {
  .slogan { font-size: 60px; }
}

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.module-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 26px;
}
/* 卡片顶部细横向渐变装饰条：深紫灰 → 薰衣草紫 */
.module-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5B4B8A, #B8A9E3);
}
.module-icon { font-size: 38px; }
.module-card h3 { font-size: 18px; margin: 8px 0 6px; color: var(--deep); }
.module-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 12px;
  padding: 12px 26px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, opacity 0.2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(91, 75, 138, 0.28); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-ghost:hover { background: var(--purple-soft); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 13px 32px; font-size: 16px; }
.btn:active { transform: scale(0.97); }

/* 水波纹 */
.ripple { position: relative; overflow: hidden; }
.ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 10%, transparent 10.5%);
  background-size: 500% 500%;
  opacity: 0;
  transition: background 0.5s, opacity 0.3s;
}
.ripple:active::after {
  background-size: 100% 100%;
  opacity: 1;
  transition: 0s;
}

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.field-sub { margin-top: 14px; }
.field-sub label { font-weight: 400; color: var(--muted); font-size: 14px; }
input[type="text"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
input[type="text"]:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(91, 75, 138, 0.16); /* 紫光晕 */
}
input[type="file"] { font-size: 14px; color: var(--muted); }

/* 校验失败红框 */
.field-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15) !important;
}

.checkbox-group { display: flex; gap: 16px; flex-wrap: wrap; }
.checkbox { display: flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; }
.checkbox input { width: 17px; height: 17px; accent-color: var(--purple); }

.toolbar { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.inline-status { font-size: 13px; color: var(--muted); }
.inline-status.ok { color: var(--emerald); }
.inline-status.err { color: var(--danger); }

/* ---------------- 职业导航：进度条 / 每题一卡 ---------------- */
.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #E9E4F2;
  overflow: hidden;
  margin-top: 12px;
}
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
  width: 0%;
  transition: width 0.4s ease;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
  100% { filter: brightness(1); }
}
.progress-text { font-size: 13px; color: var(--muted); margin-top: 6px; }
.progress-text b { color: var(--purple); }

.q-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.q-card { margin-bottom: 0; }
.q-card .q-no { font-weight: 800; color: var(--purple); }
.q-card label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 15px; }

/* AI 思考中 + 三点跳动 */
.thinking { display: inline-flex; align-items: center; gap: 8px; }
.dots { display: inline-flex; gap: 4px; }
.dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: bounce 1.2s infinite ease-in-out;
}
.dots span:nth-child(2) { animation-delay: 0.18s; }
.dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* ---------------- 结果区 / 报告 ---------------- */
.result-area { margin-top: 8px; }
.report { animation: slideIn 0.45s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.report-section { background: #F1F5F9; border-radius: 12px; padding: 16px 18px; margin: 12px 0; }
.report-section h4 { color: var(--purple-dark); margin-bottom: 6px; font-size: 16px; }

.stream-status { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }

/* ---------------- 简历优化：虚线输入区 / OCR ---------------- */
.dashed-zone {
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 0;
  background: #fff;
}
.ocr-zone {
  margin-top: 10px;
  border: 1.5px dashed #C9BEF0;
  border-radius: 12px;
  background: #F4F1FC;
  padding: 13px;
  text-align: center;
  color: var(--purple);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.ocr-zone:hover { border-color: var(--purple); background: var(--lavender-soft); }
kbd {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13px;
  font-family: inherit;
}

/* 半环分数仪表盘 */
.gauge-wrap { text-align: center; margin: 6px 0 18px; }
.gauge {
  position: relative;
  width: 190px;
  height: 95px;
  margin: 0 auto;
  overflow: hidden;
}
.gauge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 270deg, var(--purple) var(--fill, 0deg), #E9E4F2 0);
  border-radius: 190px 190px 0 0 / 95px 95px 0 0;
}
.gauge .inner {
  position: absolute;
  left: 14px; right: 14px; top: 14px;
  height: 81px;
  background: #fff;
  border-radius: 190px 190px 0 0 / 81px 81px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2px;
}
.gauge .score { font-size: 34px; font-weight: 800; color: var(--deep); line-height: 1; }
.gauge .level { font-size: 14px; font-weight: 700; }
.level-excellent { color: var(--emerald); }
.level-good { color: var(--purple); }
.level-fair { color: var(--amber); }
.level-poor { color: var(--danger); }

/* 技能标签两列 */
.tags-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.tag-col h5 { font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; margin: 3px 4px 3px 0; }
.tag-hit { background: var(--emerald-soft); color: #047857; }
.tag-miss { background: var(--amber-soft); color: #B45309; }

/* 修改建议时间线 */
.timeline { position: relative; padding-left: 22px; margin: 12px 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--lavender));
  border-radius: 2px;
}
.timeline li {
  position: relative;
  margin: 12px 0;
  color: var(--deep);
  font-size: 14px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -22px; top: 7px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(91, 75, 138, 0.3);
}

/* ---------------- 模拟面试 ---------------- */
.q-stage { position: relative; text-align: center; }
.iv-progress { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.iv-q-title { font-size: 15px; font-weight: 700; color: var(--muted); margin: 2px 0 4px; }
.q-no-big { font-size: 40px; font-weight: 800; color: var(--deep); }
.q-no-big small { font-size: 16px; color: var(--muted); font-weight: 600; }
.iv-question-text { font-size: 17px; font-weight: 600; margin: 14px auto 18px; max-width: 560px; padding: 14px 16px; background: #F8FAFC; border-radius: 12px; border: 1px solid var(--border); }
.caret {
  display: inline-block;
  width: 2px; height: 1.05em;
  background: var(--purple);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.batch-dot {
  position: absolute;
  top: 12px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--purple);
}
.batch-dot .dots span { background: var(--purple); }

/* 整体评价勋章 */
.medal-wrap { text-align: center; margin: 8px 0 16px; }
.medal {
  width: 104px; height: 104px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.25);
}
.medal .m-label { font-size: 11px; opacity: 0.9; }
.medal .m-level { font-size: 22px; font-weight: 800; }
.medal-excellent { background: radial-gradient(circle at 32% 28%, #34D399, #059669 70%); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35), inset 0 0 0 5px rgba(255, 255, 255, 0.25); }
.medal-good { background: radial-gradient(circle at 32% 28%, var(--lavender), var(--purple-dark) 70%); box-shadow: 0 8px 24px rgba(91, 75, 138, 0.35), inset 0 0 0 5px rgba(255, 255, 255, 0.25); }
.medal-fair { background: radial-gradient(circle at 32% 28%, #FBBF24, #D97706 70%); box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35), inset 0 0 0 5px rgba(255, 255, 255, 0.25); }
.medal-poor { background: radial-gradient(circle at 32% 28%, #94A3B8, #475569 70%); box-shadow: 0 8px 24px rgba(100, 116, 139, 0.35), inset 0 0 0 5px rgba(255, 255, 255, 0.25); }

/* 逐题复盘折叠 */
details.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0;
}
details.review summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.review summary::-webkit-details-marker { display: none; }
details.review summary::after { content: "▾"; color: var(--muted); transition: transform 0.2s; }
details.review[open] summary::after { transform: rotate(180deg); }
details.review .rv-body { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 14px; }
.rv-body b { color: var(--purple); }

/* ---------------- Markdown 报告 ---------------- */
.markdown-report { line-height: 1.8; }
.markdown-report h1 { font-size: 24px; margin: 18px 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--purple-soft); }
.markdown-report h2 { font-size: 20px; margin: 16px 0 8px; color: var(--purple-dark); }
.markdown-report h3 { font-size: 17px; margin: 14px 0 6px; }
.markdown-report p { margin: 8px 0; }
.markdown-report ul, .markdown-report ol { padding-left: 24px; margin: 8px 0; }
.markdown-report li { margin: 4px 0; }
.markdown-report blockquote { border-left: 4px solid var(--purple); background: var(--purple-soft); padding: 8px 14px; border-radius: 0 8px 8px 0; margin: 10px 0; }
.markdown-report pre { background: #1E293B; color: #E2E8F0; padding: 14px 16px; border-radius: 12px; overflow-x: auto; margin: 10px 0; }
.markdown-report code { background: transparent; padding: 0; }
.markdown-report pre code { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
.markdown-report table { border-collapse: collapse; margin: 10px 0; width: 100%; }
.markdown-report th, .markdown-report td { border: 1px solid var(--border); padding: 8px 12px; }
.markdown-report th { background: #F8FAFC; }

/* ---------------- 加载遮罩与提示 ---------------- */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(247, 245, 252, 0.78);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.loading-box { text-align: center; background: #fff; padding: 28px 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.loading-box p { margin-top: 14px; color: var(--muted); }
.spinner {
  width: 40px; height: 40px;
  margin: 0 auto;
  border: 4px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 模态框（充值成功等） ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 37, 69, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 20px;
}
.modal-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(45, 37, 69, 0.28);
  width: min(92vw, 360px);
  padding: 30px 24px 22px;
  text-align: center;
  animation: modal-in 0.22s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-icon { font-size: 46px; line-height: 1; margin-bottom: 12px; }
.modal-box h3 { font-size: 22px; color: var(--deep); margin: 0 0 14px; }
.modal-info { font-size: 15px; color: var(--text); margin: 8px 0; line-height: 1.6; }
.modal-info b { color: var(--purple); font-size: 16px; }
.modal-actions { margin-top: 20px; }
.modal-actions .btn { width: 100%; }
.modal-actions-row { display: flex; gap: 12px; }
.modal-actions-row .btn { flex: 1; }

.toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 14px;
  z-index: 1000;
  max-width: 82vw;
  text-align: center;
  animation: fadeIn 0.2s ease;
}
.toast.error { background: var(--danger); }
.toast.success { background: var(--emerald); }

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid rgba(230, 225, 240, 0.6);
  padding: 18px 16px 26px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 10px;
  background: #fff;
}

/* ---------------- 平板 / 桌面增强 ---------------- */
@media (min-width: 640px) {
  .container { padding: 28px 24px 56px; }
}

/* ---------------- V2.0a：导航用户区 / 认证页 ---------------- */
.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-points {
  display: inline-block;
  font-size: 14px;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  text-decoration: none; /* 去掉 a 标签下划线 */
  cursor: pointer;       /* 悬停手型，提示可点击跳转充值 */
  transition: background 0.2s;
}
.nav-points:hover { background: var(--lavender-soft, var(--purple-soft)); }
.nav-userbox { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.nav-userbox button {
  border: none;
  background: transparent;
  color: var(--purple);
  cursor: pointer;
  font-size: 13px;
}
.auth-body { background: var(--bg); }
.auth-container { max-width: 440px; }
.auth-card { padding: 32px 28px; }
.auth-title { font-size: 26px; font-weight: 800; color: var(--purple); text-align: center; margin-bottom: 6px; }
.auth-link { text-align: center; margin-top: 14px; font-size: 14px; color: var(--muted); }
.auth-link a { color: var(--purple); text-decoration: none; }
.forget-link { color: #B0A8C4 !important; cursor: not-allowed; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-row img {
  width: 120px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
