/* ============================================================================
   styles-lux.css —— 精致质感升级层（LUX）
   ----------------------------------------------------------------------------
   目标：在不改变任何 DOM 结构、页面布局、交互逻辑与业务流程的前提下，
        统一全局视觉语言，提升美观度与质感（桌面端 + 移动端协调）。

   设计参考：深色科技站的「精细多层阴影 / 统一圆角 / 清晰字体层级 /
             克制留白 / 青色科技点缀 / 发光圆形元素」，
             本站在保持「浅色默认」的前提下提炼以上质感原则。

   加载顺序：置于 styles-canvas.css 之后（最后一个样式），纯覆盖。
   回滚方式：删除 index.html 中本文件的 <link> 一行即可，零残留。

   约束：本文件仅调整 颜色 / 阴影 / 边框 / 圆角 / 字体 / 字距 / 视觉留白 /
        装饰性渐变与过渡；不改动 display / position / height / overflow /
        flex 等会影响布局与交互的属性。
   ============================================================================ */

/* ---------------------------------------------------------------- 1. 令牌 */
:root {
  /* 中性色板（冷调、干净） */
  --lux-ink:      #141922;
  --lux-ink-2:    #3b4555;
  --lux-muted:    #707c8f;
  --lux-faint:    #96a0b1;
  --lux-line:     #e7ebf2;
  --lux-line-2:   #dfe4ed;
  --lux-panel:    #ffffff;
  --lux-bg:       #eef1f6;

  /* 科技点缀：青色（呼应参考站） + 紫蓝（延续本站科技调） */
  --lux-teal:     #0d9488;
  --lux-teal-2:   #14b8a6;
  --lux-teal-ink: #0b7f76;
  --lux-indigo:   #5b5bd6;
  --lux-violet:   #7c4dff;
  --lux-grad:     linear-gradient(120deg, #0d9488 0%, #5b5bd6 58%, #7c4dff 100%);

  /* 精细阴影层级：柔散、分层、带极淡描边高光 */
  --lux-sh-1: 0 1px 2px rgba(18, 26, 42, .045), 0 1px 3px rgba(18, 26, 42, .03);
  --lux-sh-2: 0 2px 6px rgba(18, 26, 42, .05), 0 10px 24px rgba(18, 26, 42, .055);
  --lux-sh-3: 0 4px 12px rgba(18, 26, 42, .06), 0 22px 48px rgba(18, 26, 42, .085);
  --lux-sh-glow: 0 0 0 1px rgba(13, 148, 136, .10), 0 10px 28px rgba(13, 148, 136, .14);

  --lux-r-lg: 20px;
  --lux-r-md: 14px;
  --lux-r-sm: 10px;
  --lux-pill: 999px;
}
html[data-theme="dark"] {
  --lux-ink:      #f2f5fa;
  --lux-ink-2:    #cdd4e0;
  --lux-muted:    #909aab;
  --lux-faint:    #6c7688;
  --lux-line:     #262c37;
  --lux-line-2:   #323a47;
  --lux-panel:    #161a21;
  --lux-bg:       #0b0d12;
  --lux-teal:     #2dd4bf;
  --lux-teal-2:   #5eead4;
  --lux-teal-ink: #5eead4;
  --lux-grad:     linear-gradient(120deg, #2dd4bf 0%, #818cf8 58%, #a78bfa 100%);
  --lux-sh-1: 0 1px 2px rgba(0, 0, 0, .32);
  --lux-sh-2: 0 6px 20px rgba(0, 0, 0, .4);
  --lux-sh-3: 0 20px 48px rgba(0, 0, 0, .52);
  --lux-sh-glow: 0 0 0 1px rgba(45, 212, 191, .18), 0 10px 30px rgba(45, 212, 191, .16);
}

/* ------------------------------------------------- 2. 全局字体渲染与层级 */
body {
  color: var(--lux-ink) !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ------------------------------------------------------ 3. 背景：干净高级 */
/* 极淡细网格 + 柔和双色光晕，减少噪点，营造高端 SaaS 质感 */
html[data-bg="aurora"] .app-bg {
  background:
    radial-gradient(900px 520px at 84% -8%, rgba(13, 148, 136, .10), transparent 60%),
    radial-gradient(780px 520px at -6% 16%, rgba(91, 91, 214, .10), transparent 62%),
    radial-gradient(700px 480px at 48% 118%, rgba(124, 77, 255, .07), transparent 62%),
    linear-gradient(160deg, #f7f9fc 0%, #eef1f6 52%, #e9edf4 100%) !important;
}
html[data-bg="aurora"] .app-bg::before {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  filter: none !important;
  opacity: .55 !important;
  animation: none !important;
  background-image:
    linear-gradient(rgba(112, 124, 143, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 124, 143, .05) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 32%, transparent 82%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 32%, transparent 82%);
}
html[data-bg="aurora"] .app-bg::after {
  width: 560px !important;
  height: 560px !important;
  top: -160px !important;
  right: -120px !important;
  background: radial-gradient(circle, rgba(13, 148, 136, .16), transparent 68%) !important;
}
html[data-theme="dark"][data-bg="aurora"] .app-bg {
  background:
    radial-gradient(820px 520px at 84% -8%, rgba(13, 148, 136, .18), transparent 60%),
    radial-gradient(760px 500px at -6% 14%, rgba(91, 91, 214, .20), transparent 62%),
    linear-gradient(160deg, #0e1118 0%, #0a0c11 100%) !important;
}
html[data-theme="dark"][data-bg="aurora"] .app-bg::before { opacity: .22 !important; }

/* ----------------------------------------------------- 4. 顶栏 / 快捷栏 */
.topbar { padding: 14px 0 6px !important; }

.page-title {
  font-size: 26px !important;
  font-weight: 820 !important;
  letter-spacing: -.035em !important;
  color: var(--lux-ink) !important;
  line-height: 1.15 !important;
}
.page-title::before {
  width: 5px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: var(--lux-grad) !important;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .07) !important;
}

/* 快捷胶囊：细描边 + 柔光 + 悬浮微抬升 */
.quickbar { gap: 8px !important; }
.qbtn {
  height: 34px !important;
  padding: 0 14px !important;
  color: var(--lux-ink-2) !important;
  border: 1px solid var(--lux-line) !important;
  border-radius: var(--lux-pill) !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: var(--lux-sh-1) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, border-color .18s ease, color .18s ease !important;
}
.qbtn:hover {
  transform: translateY(-1px) !important;
  color: var(--lux-teal-ink) !important;
  border-color: rgba(13, 148, 136, .35) !important;
  box-shadow: var(--lux-sh-glow) !important;
}
.qbtn svg { color: var(--lux-teal) !important; }
html[data-theme="dark"] .qbtn {
  background: rgba(30, 35, 44, .82) !important;
  border-color: var(--lux-line) !important;
}
html[data-theme="dark"] .qbtn:hover { color: var(--lux-teal-2) !important; }

/* ------------------------------------------------------------ 5. 按钮 */
.btn, .chip, .icon-btn { font-weight: 680 !important; letter-spacing: .01em !important; }

.btn.primary {
  background: var(--lux-grad) !important;
  color: #fff !important;
  border-radius: var(--lux-pill) !important;
  box-shadow: 0 8px 22px rgba(91, 91, 214, .28), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, filter .18s ease !important;
}
.btn.primary:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(91, 91, 214, .36), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
  filter: saturate(1.08) !important;
}

.btn.recharge {
  border-radius: var(--lux-pill) !important;
  background: linear-gradient(180deg, #d9b25c, #b68a2f) !important;
  box-shadow: 0 8px 20px rgba(182, 138, 47, .26), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

.btn.ghost, .chip {
  border-radius: var(--lux-pill) !important;
  border-color: var(--lux-line-2) !important;
  background: rgba(255, 255, 255, .78) !important;
  color: var(--lux-ink) !important;
  box-shadow: var(--lux-sh-1) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn.ghost:hover:not(:disabled), .chip:hover {
  border-color: rgba(13, 148, 136, .4) !important;
  color: var(--lux-teal-ink) !important;
}
html[data-theme="dark"] .btn.ghost,
html[data-theme="dark"] .chip { background: rgba(30, 35, 44, .8) !important; }
html[data-theme="dark"] .btn.ghost:hover:not(:disabled),
html[data-theme="dark"] .chip:hover { color: var(--lux-teal-2) !important; }

/* ------------------------------------------------ 6. 面板 / 卡片：质感核心 */
.panel, .skws-panel, .card {
  background: rgba(255, 255, 255, .86) !important;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: var(--lux-r-lg) !important;
  box-shadow: var(--lux-sh-3), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .skws-panel,
html[data-theme="dark"] .card {
  background: rgba(22, 26, 33, .9) !important;
  border-color: var(--lux-line) !important;
  box-shadow: var(--lux-sh-3), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}
.panel-head { padding: 14px 22px !important; border-bottom-color: var(--lux-line) !important; }
.panel-head h2 {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: var(--lux-ink) !important;
}
.panel-body { padding: 16px 22px !important; }

/* --------------------------------------------------- 7. 头图 / 字体层级 */
.eyebrow {
  color: var(--lux-teal) !important;
  font-weight: 800 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
}
.eyebrow::before {
  width: 16px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--lux-teal) !important;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .1) !important;
}
.h-big {
  font-size: clamp(30px, 3vw, 38px) !important;
  font-weight: 860 !important;
  letter-spacing: -.05em !important;
  line-height: 1.14 !important;
  color: var(--lux-ink) !important;
}
.hero-note {
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  color: var(--lux-muted) !important;
}

/* ------------------------------------------------- 8. 模型广场：筛选区 */
.seg {
  border-radius: var(--lux-pill) !important;
  border-color: var(--lux-line) !important;
  background: rgba(233, 237, 244, .7) !important;
  padding: 4px !important;
  gap: 4px !important;
}
html[data-theme="dark"] .seg { background: rgba(255, 255, 255, .06) !important; }
.seg button {
  border-radius: var(--lux-pill) !important;
  font-weight: 650 !important;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease !important;
}
.seg button.is-active {
  background: var(--lux-panel) !important;
  color: var(--lux-teal-ink) !important;
  box-shadow: var(--lux-sh-2) !important;
}
html[data-theme="dark"] .seg button.is-active { color: var(--lux-teal-2) !important; }

/* 筛选系列胶囊（全部系列 / 万相 / GPT Image ...） */
.mfilter-chip, .filter-chip, .series-chip,
.form-row .chip, .panel .chip {
  border-radius: var(--lux-pill) !important;
  border-color: var(--lux-line) !important;
  background: rgba(255, 255, 255, .8) !important;
  box-shadow: var(--lux-sh-1) !important;
  color: var(--lux-ink-2) !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease !important;
}
.mfilter-chip:hover, .filter-chip:hover, .series-chip:hover,
.form-row .chip:hover, .panel .chip:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(13, 148, 136, .38) !important;
  color: var(--lux-teal-ink) !important;
  box-shadow: var(--lux-sh-2) !important;
}
html[data-theme="dark"] .mfilter-chip,
html[data-theme="dark"] .filter-chip,
html[data-theme="dark"] .series-chip,
html[data-theme="dark"] .form-row .chip,
html[data-theme="dark"] .panel .chip { background: rgba(30, 35, 44, .8) !important; }

/* ------------------------------------------------------- 9. 模型卡片 */
.model-card {
  border-radius: 18px !important;
  border: 1px solid var(--lux-line) !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: var(--lux-sh-2) !important;
  padding: 18px !important;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease !important;
}
html[data-theme="dark"] .model-card {
  background: rgba(22, 26, 33, .9) !important;
  border-color: var(--lux-line) !important;
}
.model-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(13, 148, 136, .34) !important;
  box-shadow: var(--lux-sh-3), var(--lux-sh-glow) !important;
}
.mc-icon {
  border-radius: 13px !important;
  background: linear-gradient(140deg, rgba(13, 148, 136, .14), rgba(124, 77, 255, .12)) !important;
  color: var(--lux-teal) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5) !important;
}
.mc-icon.is-video {
  background: linear-gradient(140deg, rgba(91, 91, 214, .16), rgba(46, 155, 255, .14)) !important;
  color: var(--lux-indigo) !important;
}
.mc-name {
  font-size: 14.5px !important;
  font-weight: 780 !important;
  letter-spacing: -.015em !important;
  color: var(--lux-ink) !important;
}
.mc-sku { color: var(--lux-muted) !important; font-size: 11.5px !important; letter-spacing: .02em !important; }
.mc-price { color: var(--lux-faint) !important; }
.mc-price-tag {
  color: var(--lux-teal-ink) !important;
  background: linear-gradient(135deg, rgba(13, 148, 136, .12), rgba(13, 148, 136, .04)) !important;
  border: 1px solid rgba(13, 148, 136, .22) !important;
  border-radius: var(--lux-pill) !important;
  font-weight: 750 !important;
  padding: 5px 11px !important;
}
html[data-theme="dark"] .mc-price-tag { color: var(--lux-teal-2) !important; }
.mc-desc { color: var(--lux-ink-2) !important; line-height: 1.65 !important; }
.spec-chip, .mc-stats .spec-chip, .trend ~ * .spec-chip {
  border-radius: var(--lux-pill) !important;
  border-color: var(--lux-line) !important;
  background: rgba(238, 241, 247, .7) !important;
  color: var(--lux-ink-2) !important;
  font-size: 11.5px !important;
}
html[data-theme="dark"] .spec-chip { background: rgba(255, 255, 255, .06) !important; color: var(--lux-ink-2) !important; }
.mc-stats b, .mc-foot .price { color: var(--lux-ink) !important; font-variant-numeric: tabular-nums !important; }
.trend i { border-radius: 2px !important; }
.trend i.ok { background: linear-gradient(180deg, #14b8a6, #0d9488) !important; }

/* 分组标题："GPT Image · 2 款模型" */
.mc-group-head, .model-group-head, .group-head {
  border-left: 3px solid transparent !important;
}
h3 { letter-spacing: -.02em !important; }

/* -------------------------------------------- 10. 侧栏导航（大模型面板） */
/* 仅视觉属性，保持 sn-* 的 flex / 高度 / overflow 完全不变 */
.sn-tabs {
  border-radius: 14px !important;
  background: rgba(233, 237, 244, .8) !important;
  padding: 4px !important;
  gap: 3px !important;
  box-shadow: inset 0 1px 2px rgba(18, 26, 42, .04) !important;
}
html[data-theme="dark"] .sn-tabs { background: rgba(255, 255, 255, .06) !important; }
.sn-tab {
  font-weight: 680 !important;
  border-radius: 10px !important;
  letter-spacing: -.01em !important;
}
.sn-tab.is-active {
  background: var(--lux-grad) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(91, 91, 214, .26) !important;
}

.sn-chip {
  border-radius: var(--lux-pill) !important;
  border-color: var(--lux-line) !important;
  font-weight: 620 !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease !important;
}
.sn-chip.is-active {
  background: var(--lux-teal) !important;
  border-color: var(--lux-teal) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(13, 148, 136, .26) !important;
}
html[data-theme="dark"] .sn-chip.is-active { color: #06201e !important; }

.sn-search-input {
  border-radius: var(--lux-pill) !important;
  border: 1px solid var(--lux-line) !important;
  background: rgba(255, 255, 255, .85) !important;
  box-shadow: inset 0 1px 2px rgba(18, 26, 42, .03) !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}
.sn-search-input:focus {
  border-color: var(--lux-teal) !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .12) !important;
  background: var(--lux-panel) !important;
}
html[data-theme="dark"] .sn-search-input { background: rgba(30, 35, 44, .85) !important; }

.sn-card {
  border-radius: 14px !important;
  border-color: var(--lux-line) !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: var(--lux-sh-1) !important;
  transition: background .16s ease, border-color .16s ease, transform .12s ease, box-shadow .16s ease !important;
}
html[data-theme="dark"] .sn-card { background: rgba(30, 35, 44, .7) !important; }
.sn-card:hover {
  border-color: rgba(13, 148, 136, .34) !important;
  box-shadow: var(--lux-sh-2) !important;
}
.sn-card.is-active {
  border-color: var(--lux-teal) !important;
  background: linear-gradient(135deg, rgba(13, 148, 136, .1), rgba(91, 91, 214, .06)) !important;
  box-shadow: var(--lux-sh-glow) !important;
}
.sn-card-ic {
  border-radius: 11px !important;
  background: linear-gradient(140deg, rgba(13, 148, 136, .14), rgba(124, 77, 255, .12)) !important;
  color: var(--lux-teal) !important;
}
.sn-card.is-active .sn-card-ic {
  background: var(--lux-grad) !important;
  color: #fff !important;
}
.sn-card-t { font-weight: 720 !important; letter-spacing: -.01em !important; color: var(--lux-ink) !important; }
.sn-card-badge {
  border-radius: var(--lux-pill) !important;
  background: rgba(13, 148, 136, .12) !important;
  color: var(--lux-teal-ink) !important;
  font-weight: 700 !important;
}
html[data-theme="dark"] .sn-card-badge { color: var(--lux-teal-2) !important; }
.sn-more {
  border-radius: 12px !important;
  border-style: dashed !important;
  border-color: var(--lux-line-2) !important;
  color: var(--lux-muted) !important;
}
.sn-more:hover { color: var(--lux-teal) !important; border-color: var(--lux-teal) !important; }

.sn-user {
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(13, 148, 136, .1), rgba(233, 237, 244, .7)) !important;
  box-shadow: var(--lux-sh-1) !important;
}
html[data-theme="dark"] .sn-user { background: rgba(255, 255, 255, .06) !important; }
.sn-avatar {
  border-radius: 50% !important;
  background: var(--lux-grad) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(91, 91, 214, .3) !important;
}
.sn-user-name { color: var(--lux-ink) !important; font-weight: 720 !important; }
.sn-login { border-radius: 11px !important; background: var(--lux-grad) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(91, 91, 214, .26) !important; }
.sn-recharge { border-radius: var(--lux-pill) !important; }

/* ------------------------------------------------------- 11. 表单控件 */
.input, .select, textarea, .form-row select, .form-row .select {
  border-radius: 12px !important;
  border-color: var(--lux-line-2) !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: inset 0 1px 2px rgba(18, 26, 42, .03) !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}
html[data-theme="dark"] .input,
html[data-theme="dark"] .select,
html[data-theme="dark"] textarea { background: rgba(24, 28, 36, .86) !important; border-color: var(--lux-line-2) !important; }
.input:focus, .select:focus, textarea:focus, .form-row select:focus {
  border-color: var(--lux-teal) !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .12) !important;
  outline: none !important;
}
.opt { border-radius: 12px !important; }
.opt.is-active { border-color: var(--lux-teal) !important; color: var(--lux-teal-ink) !important; }

/* ------------------------------------------------------ 12. 弹窗 / 登录 */
.modal {
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  box-shadow: 0 32px 80px rgba(16, 24, 42, .2), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}
html[data-theme="dark"] .modal { border-color: var(--lux-line) !important; box-shadow: 0 32px 80px rgba(0, 0, 0, .55) !important; }
.modal-root { background: rgba(16, 22, 36, .42) !important; -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.modal-head h2 { font-weight: 820 !important; letter-spacing: -.03em !important; color: var(--lux-ink) !important; }

.login-card {
  border-radius: 24px !important;
  box-shadow: 0 30px 80px rgba(16, 24, 42, .16), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}
.login-headline { font-weight: 860 !important; letter-spacing: -.05em !important; }
.login-submit {
  border-radius: var(--lux-pill) !important;
  background: var(--lux-grad) !important;
  box-shadow: 0 12px 30px rgba(91, 91, 214, .32), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}
.login-brand .lb-icon { box-shadow: 0 6px 16px rgba(13, 148, 136, .28) !important; }

/* ---------------------------------------------- 13. 品牌 Logo / 装饰细节 */
.side-logo {
  border-radius: 12px !important;
  background: var(--lux-grad) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(91, 91, 214, .3), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
}
.side-title { font-weight: 820 !important; letter-spacing: -.025em !important; color: var(--lux-ink) !important; }
.side-link.is-active { border-radius: 10px !important; }

/* ------------------------------------- 14. 滚动条 / 选中态 / 焦点环统一 */
::selection { background: rgba(13, 148, 136, .18) !important; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #c3cad7 !important; border-radius: 999px !important; border: 2px solid transparent; background-clip: padding-box !important; }
::-webkit-scrollbar-thumb:hover { background: #aab3c4 !important; background-clip: padding-box !important; }
::-webkit-scrollbar-track { background: transparent !important; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #3a424f !important; background-clip: padding-box !important; }
:focus-visible { outline: 2px solid var(--lux-teal) !important; outline-offset: 2px !important; }

/* --------------------------------------------------- 15. 移动端协调 */
@media (max-width: 860px) {
  .page-title { font-size: 22px !important; }
  .topbar { padding: 12px 0 6px !important; }
  .qbtn { height: 32px !important; padding: 0 11px !important; font-size: 12.5px !important; }
  .panel-head { padding: 12px 16px !important; }
  .panel-body { padding: 14px 16px !important; }
  .model-card { padding: 15px !important; border-radius: 16px !important; }
  .h-big { font-size: 27px !important; }
  .sn-card { padding: 10px !important; }
}
@media (max-width: 520px) {
  .page-title { font-size: 20px !important; }
  .h-big { font-size: 24px !important; }
  .chip, .btn { height: 38px !important; padding: 0 13px !important; font-size: 12.5px !important; }
}

/* ------------------------------------- 16. 注册成功信息卡：对比度可读性修复 */
/* 说明：styles.css 中注册成功卡片的 lc-srow / lc-sub / recovery-code 沿用了
   深色主题的浅色文字（如 #eef4f1），本站改为浅色默认后浅字落在浅底上会看不清。
   这里统一改用主题变量：浅色主题=深色字、深色主题=浅色字，两主题都清晰；
   并给信息卡加足对比度、边框与分层，仅调整颜色/对比度相关样式，不改结构与流程。 */
.login-card .lc-sub {
  color: var(--muted) !important;
  line-height: 1.75 !important;
}
.login-card .lc-summary {
  background: color-mix(in srgb, var(--panel-soft) 92%, var(--lux-teal) 8%) !important;
  border: 1px solid var(--lux-line-2) !important;
  border-radius: var(--lux-r-sm) !important;
  padding: 8px 14px !important;
}
.login-card .lc-srow {
  border-bottom-color: var(--line) !important;
}
.login-card .lc-srow span {
  color: var(--muted) !important;
  font-weight: 500 !important;
}
.login-card .lc-srow b {
  color: var(--ink) !important;
  font-weight: 750 !important;
  text-shadow: none !important;
}
.login-card .recovery-code {
  background: var(--accent-soft) !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--ink) !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
}
/* 确保复制 / 开始创作按钮在浅底上也有足够对比度 */
.login-card .lb-actions .btn.ghost {
  color: var(--ink) !important;
  border-color: var(--line-strong) !important;
}

/* 降低动效偏好：保留克制过渡 */
@media (prefers-reduced-motion: reduce) {
  .qbtn, .btn, .model-card, .sn-card, .mfilter-chip, .form-row .chip { transition: none !important; }
}
