/* ailuo.li unified site shell - brand bar + footer + adv fold.
   All design tokens live in /assets/ailuo-tokens.css (single source of truth,
   injected BEFORE this file). Changing either file requires bumping ?v= in the
   nginx sub_filter strings - see the checklist header in ailuo-tokens.css. */::selection{ background:#e6c65c; color:#2a1650; }body.shell-on input, body.shell-on select, body.shell-on textarea, body.shell-on button{ font-family:inherit; }body.shell-on input, body.shell-on select, body.shell-on textarea{ border-radius:8px; }body.shell-on :focus-visible{ outline:2px solid var(--ailuo-gold); outline-offset:1px; }.ailuo-bar{
  position:fixed; top:0; left:0; right:0; height:42px; z-index:9990;
  display:flex; align-items:center; gap:14px; padding:0 104px 0 14px;
  background:linear-gradient(90deg, var(--ailuo-purple), var(--ailuo-purple2));
  border-bottom:2px solid var(--ailuo-gold);
  color:#f3ead2; font-size:13px; line-height:1;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;
  box-sizing:border-box;
}.ailuo-bar--static{ position:static; }.ailuo-bar .ab-brand{ display:flex; align-items:center; gap:8px; color:#fff; text-decoration:none; font-weight:700; font-size:14px; letter-spacing:.5px; white-space:nowrap; }.ailuo-bar .ab-dot{ width:20px; height:20px; border-radius:50%; flex:none;
  background:radial-gradient(circle at 35% 35%, var(--ailuo-gold2), var(--ailuo-gold) 70%);
  display:inline-flex; align-items:center; justify-content:center; color:var(--ailuo-purple); font-size:12px; font-weight:900; }.ailuo-bar .ab-sub{ color:#cbb8ef; font-weight:400; font-size:11px; letter-spacing:1px; }.ailuo-bar nav{ margin-left:auto; display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; }.ailuo-bar nav::-webkit-scrollbar{ display:none; }.ailuo-bar nav a{ color:#e9defc; text-decoration:none; padding:6px 9px; border-radius:999px; white-space:nowrap; }.ailuo-bar nav a:hover{ background:rgba(230,198,92,.18); color:#fff; }body.shell-pad{ padding-top:42px !important; }.ailuo-foot{
  margin:34px auto 0; max-width:1080px; padding:20px 18px 26px;
  border-top:2px solid var(--ailuo-gold); color:#4a3f66; text-align:center;
  font-size:12.5px; line-height:1.9;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;
}.ailuo-foot .af-brand{ color:var(--ailuo-purple); font-weight:700; font-size:13.5px; }.ailuo-foot nav{ display:flex; flex-wrap:wrap; gap:6px 16px; justify-content:center; margin:6px 0; }.ailuo-foot nav a{ color:var(--ailuo-purple2); text-decoration:none; }.ailuo-foot nav a:hover{ color:var(--ailuo-gold); text-decoration:underline; }.ailuo-foot .af-note{ color:#8a7fa8; font-size:12px; }.shell-adv-toggle{
  display:flex; align-items:center; gap:8px; width:100%; margin:10px 0 0; padding:10px 14px;
  background:linear-gradient(90deg, rgba(42,22,80,.06), rgba(201,162,39,.10));
  border:1px solid rgba(59,29,110,.25); border-radius:10px; cursor:pointer;
  color:var(--ailuo-purple); font-size:13.5px; font-weight:600; text-align:left;
}.shell-adv-toggle .sat-arrow{ margin-left:auto; transition:transform .2s; color:var(--ailuo-gold); font-weight:900; }.shell-adv-toggle[aria-expanded="true"] .sat-arrow{ transform:rotate(180deg); }.shell-adv-toggle .sat-hint{ font-weight:400; color:#8a7fa8; font-size:12px; }.shell-adv-body{ padding-top:6px; }

/* ---- v3 (2026-11-10 unification): xuanji suite chrome trim ----
   The xuanji tool pages each carry their own .topbar (red seal + wordmark);
   a brand-gold rule under it ties the chrome to the shell bar above without
   touching any page's own theme colors or layout. Buttons across the suite
   share .btn, so one radius token aligns them with the rest of the site. */body.shell-on .topbar{ border-bottom:1px solid var(--ailuo-line); }
/* ---- v4 (2026-11-10): the suite AI block shows a config status chip
   ("已配置：1/1 个模型") - internal plumbing visitors should never see.
   It is a pure status readout; hiding it changes no behaviour. ---- */.ai-status{ display:none !important; }body.shell-on .topbar .seal svg circle{ fill:#3b1d6e; stroke:#c9a227; stroke-width:3 }

/* ---- v5.1 (2026-11-10): topbar active-nav underline and icon hovers were
   still suite red (#a5321f in base.css) after the v5 recolor - real-browser
   pixel QA caught them on bazi and laohuangli. Gold underline, purple hover. */.nav .nav-link.active::after,
.nav-group.has-active .nav-top::after{ background:var(--ailuo-gold) !important; }.ai-gear:hover, .ext-link:hover{ background:var(--ailuo-purple2) !important; }

/* ---- v7 (2026-11-10 mobile fixes, 390px real-device-width verified) ----
   1) .scroll-jump （回顶/回底浮钮） shrink-to-fit collapsed to a 9px sliver at
      the right edge on result pages; give it a real tappable size + inset.
   2) Suite options rows (.opts-row) force 93px/80px select widths under
      970px, clipping every long option label; on narrow screens let fields
      wrap two-per-row (one-per-row under 480px) with full-width selects. */.scroll-jump{ right:10px !important; min-width:36px; padding:6px 0;
  border:1px solid var(--line, #ddd3ba); border-radius:10px;
  box-shadow:0 2px 10px rgba(43,32,8,.16); }@media (max-width: 991px){body.shell-on .opts-row .field{ flex:1 1 44%; min-width:0; }body.shell-on .opts-row .field select{ width:100% !important; }
}@media (max-width: 480px){body.shell-on .opts-row .field{ flex:1 1 100%; }
}

/* 阶段2（2026-11-12）：suite 页自带页脚由壳页脚替代，避免双页脚。 */
body.shell-on footer#footer{ display:none; }

/* 阶段5（2026-11-12）：暗色收口——壳页脚与高级设置条在系统暗色下的文字色。 */

