@layer home-night {
/*
 * 静夜天文台 · 首页夜间主题
 * ------------------------------------------------------------------
 * 开关：<html data-theme="dark">（未启用 cosmic 皮肤时生效）
 * 仅在首页（body.page-home）生效；宇宙皮肤开启时自动让位。
 * 与星空主题共用布局，只替换石墨/香槟铜材质。
 */

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home {
  --night-ground: #08090c !important;
  --night-surface: #141519 !important;
  --night-raised: #1a1b1f !important;
  --night-inset: #0a0a0d !important;
  --night-hover: #24242a !important;
  --night-line: rgba(255, 240, 222, .16) !important;
  --night-control-line: rgba(230, 190, 150, .30) !important;
  --night-ink: #f2f0eb !important;
  --night-soft: #cbc6bd !important;
  --night-muted: #928c82 !important;
  --night-accent: #dc9f5e !important;
  --night-accent-hover: #f2c896 !important;
  --night-on-accent: #1b1208 !important;
  --night-accent-soft: rgba(220, 159, 94, .13) !important;
  --main-bg: #08090c !important;
  --main-surface: #141519 !important;
  --main-surface-soft: #1a1b1f !important;
  --text: #f2f0eb !important;
  --text-main: #f2f0eb !important;
  --text-soft: #cbc6bd !important;
  --text-muted: #928c82 !important;
  --ink: #f2f0eb !important;
  --soft: #cbc6bd !important;
  --muted: #928c82 !important;
  --line: rgba(255, 240, 222, .16) !important;
  --line-strong: rgba(230, 190, 150, .30) !important;
  --primary: #dc9f5e !important;
  --primary-dark: #b5824f !important;
  --primary-light: #f2c896 !important;
  --primary-hover: #f2c896 !important;
  --primary-soft: rgba(220, 159, 94, .13) !important;
  --primary-glow: rgba(220, 159, 94, .22) !important;
  --shadow-card: 0 20px 50px -30px rgba(0, 0, 0, .9), 0 0 32px -14px rgba(210, 150, 95, .22) !important;
  --shadow: 0 26px 60px -32px rgba(0, 0, 0, .92) !important;
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .95) !important;
  --sidebar-bg: #0b0c10 !important;
  --sidebar-surface: #141519 !important;
  --sidebar-border: rgba(255, 240, 222, .16) !important;
  --sidebar-text: #928c82 !important;
  --sidebar-text-hover: #f2f0eb !important;
  --sidebar-text-active: #f2c896 !important;
  --sidebar-accent: #dc9f5e !important;
  --sidebar-accent-glow: rgba(220, 159, 94, .12) !important;
  --cxai-ink: #f2f0eb !important;
  --cxai-line: rgba(255, 240, 222, .16) !important;
  --cxai-surface: #141519 !important;
  --cxai-accent: #dc9f5e !important;
  background: #08090c !important;
}

/* ── 原生外壳：把橙色点缀换成香槟铜 ────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-brand {
  border-color: rgba(255, 240, 222, .22) !important;
  background: linear-gradient(180deg, rgba(30, 30, 34, .94), rgba(14, 14, 17, .96)) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4), 0 1px 0 rgba(245, 225, 205, .08) inset !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-brand::after {
  background: linear-gradient(90deg, transparent, #dc9f5e 40%, #b5824f 76%, transparent) !important;
  box-shadow: 0 0 8px rgba(220, 159, 94, .55), 0 2px 12px rgba(181, 130, 79, .3) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-brand-name {
  color: #f2f0eb !important;
  text-shadow: 0 2px 8px rgba(220, 159, 94, .22) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-mark {
  border-color: rgba(230, 190, 150, .24) !important;
  background: linear-gradient(180deg, #1a1a1e, #0a0a0d) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 1px 0 rgba(245, 225, 205, .1) inset !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-chevron {
  border: 1px solid rgba(220, 159, 94, .42) !important;
  background: #141519 !important;
  color: #f2c896 !important;
  box-shadow: 0 0 12px rgba(220, 159, 94, .25) !important;
  animation: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-mark::after {
  border-color: rgba(220, 159, 94, .42) !important;
  background: #141519 !important;
  box-shadow: 0 0 12px rgba(220, 159, 94, .22) !important;
  animation: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-panel {
  border-color: rgba(255, 240, 222, .22) !important;
  background: linear-gradient(160deg, rgba(24, 24, 28, .95), rgba(9, 9, 12, .97)) !important;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95), 0 0 40px -18px rgba(210, 155, 100, .28) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-group {
  border-bottom-color: rgba(255, 240, 222, .12) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-group:nth-child(odd) {
  border-right-color: rgba(255, 240, 222, .12) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-item:hover {
  border-color: rgba(220, 159, 94, .32) !important;
  background: rgba(220, 159, 94, .1) !important;
  color: #f2f0eb !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-item:hover > svg {
  color: #f2c896 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-item:focus-visible {
  border-color: rgba(220, 159, 94, .45) !important;
  background: rgba(220, 159, 94, .1) !important;
  box-shadow: 0 0 0 2px rgba(220, 159, 94, .35) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-item.is-active,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-item[aria-current="page"] {
  border-color: rgba(220, 159, 94, .35) !important;
  background: rgba(220, 159, 94, .12) !important;
  color: #f2f0eb !important;
  box-shadow: inset 2px 0 0 #dc9f5e !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-item.is-active > svg,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-item[aria-current="page"] > svg {
  color: #f2c896 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-theme-group {
  border-color: rgba(220, 159, 94, .18) !important;
  background: rgba(220, 159, 94, .05) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-theme-group.is-open {
  border-color: rgba(220, 159, 94, .3) !important;
  background: rgba(220, 159, 94, .08) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-theme-current {
  background: rgba(220, 159, 94, .16) !important;
  color: #f2c896 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-user-zone {
  border-color: rgba(255, 240, 222, .16) !important;
  background: rgba(255, 255, 255, .028) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-user-avatar {
  border-color: rgba(220, 159, 94, .4) !important;
  background: rgba(220, 159, 94, .14) !important;
  color: #f6d2a8 !important;
  box-shadow: 0 0 0 3px rgba(220, 159, 94, .08) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-user-profile:focus-visible {
  box-shadow: 0 0 0 2px rgba(220, 159, 94, .5) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-user-actions a:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-user-actions a:focus-visible {
  color: #f2c896 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-toggle:hover .home-logo-nav-brand,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-toggle[aria-expanded="true"] .home-logo-nav-brand {
  border-color: rgba(220, 159, 94, .45) !important;
  background: linear-gradient(180deg, rgba(30, 30, 33, .96), rgba(14, 14, 17, .96)) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-toggle:hover .home-logo-nav-mark,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-logo-nav-toggle[aria-expanded="true"] .home-logo-nav-mark {
  border-color: rgba(220, 159, 94, .45) !important;
  background: linear-gradient(180deg, #262421, #0a0a0d) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .task-notification-bell {
  border-color: rgba(255, 240, 222, .18) !important;
  background: rgba(16, 16, 19, .7) !important;
  color: #cbc6bd !important;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .task-notification-bell:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .task-notification-bell.has-unread {
  border-color: rgba(220, 159, 94, .4) !important;
  color: #fff3e2 !important;
  box-shadow: 0 0 22px -6px rgba(220, 159, 94, .45) !important;
}

/* ── 静夜背景 ─────────────────────────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-atmosphere {
  background:
    radial-gradient(1000px 620px at 12% -12%, rgba(220, 159, 94, .12), transparent 60%),
    radial-gradient(900px 600px at 86% -8%, rgba(120, 135, 160, .10), transparent 62%),
    radial-gradient(1000px 560px at 50% 116%, rgba(40, 42, 48, .22), transparent 66%),
    linear-gradient(180deg, #07080b 0%, #0a0b0f 46%, #07080b 100%) !important;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-atmosphere::before {
  opacity: .38 !important;
  filter: blur(var(--home-bg-blur, 0px)) saturate(.7) brightness(.78) !important;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-atmosphere-ambient {
  background:
    radial-gradient(ellipse at 20% 16%, rgba(220, 159, 94, .10), transparent 46%),
    radial-gradient(ellipse at 80% 56%, rgba(120, 135, 160, .08), transparent 50%),
    radial-gradient(ellipse at 48% 96%, rgba(40, 42, 48, .16), transparent 54%) !important;
  animation: home-night-ambient 52s ease-in-out infinite alternate !important;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-atmosphere-spotlight {
  background: radial-gradient(circle, rgba(240, 200, 150, .07) 0%, rgba(220, 159, 94, .035) 26%, rgba(220, 159, 94, .01) 52%, transparent 70%) !important;
}

@keyframes home-night-ambient {
  from { transform: translate3d(-1%, -1%, 0) scale(1); opacity: .55; }
  to { transform: translate3d(2%, 2%, 0) scale(1.04); opacity: .9; }
}

/* ── 页面骨架 ─────────────────────────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-dashboard {
  width: min(100%, 1180px) !important;
  gap: 18px !important;
  padding-top: 8px !important;
}

/* ── 精选轮播 ─────────────────────────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-hero-grid {
  position: relative;
  isolation: isolate;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-card {
  border: 1px solid rgba(240, 210, 175, .26) !important;
  border-radius: 18px !important;
  background: #0d0e11 !important;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9), 0 0 40px -14px rgba(200, 140, 85, .24) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(245, 225, 205, .10), rgba(0, 0, 0, 0) 34%);
  box-shadow: inset 0 0 0 1px rgba(250, 235, 220, .16);
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-card[data-orbit-position="0"] {
  border-color: rgba(245, 215, 180, .40) !important;
  box-shadow: 0 46px 88px -36px rgba(0, 0, 0, .95), 0 0 64px -10px rgba(215, 160, 105, .5) !important;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-arrow {
  width: 38px !important;
  height: 46px !important;
  border: 1px solid rgba(255, 240, 222, .26) !important;
  border-radius: 13px !important;
  background: rgba(16, 16, 19, .74) !important;
  color: #cbc6bd !important;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9) !important;
  backdrop-filter: blur(12px) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-arrow:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-arrow:focus-visible {
  border-color: rgba(220, 159, 94, .46) !important;
  color: #fff3e2 !important;
  box-shadow: 0 0 26px -8px rgba(220, 159, 94, .55) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-progress button {
  background: rgba(170, 160, 150, .28) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-progress button.is-active {
  background: linear-gradient(90deg, #dc9f5e, #b5824f) !important;
  box-shadow: 0 0 14px rgba(220, 170, 115, .55) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-featured-orbit-progress button:focus-visible {
  outline: 2px solid #dc9f5e !important;
}

/* 移动端的两个入口卡 */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-feature-card {
  border: 1px solid rgba(255, 240, 222, .18) !important;
  border-radius: 18px !important;
  background: linear-gradient(160deg, rgba(24, 24, 28, .72), rgba(9, 9, 12, .78)) !important;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9) !important;
  backdrop-filter: blur(16px) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-feature-card:hover {
  border-color: rgba(235, 190, 150, .36) !important;
  box-shadow: 0 24px 54px -28px rgba(0, 0, 0, .9), 0 0 32px -14px rgba(210, 155, 100, .3) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-feature-card strong {
  color: #f2f0eb !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-feature-card small,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-feature-kicker {
  color: #928c82 !important;
}

/* ── AI 创作台 ────────────────────────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console {
  width: min(100%, 900px) !important;
  border: 1px solid rgba(255, 240, 222, .22) !important;
  border-radius: 26px !important;
  background: linear-gradient(160deg, rgba(28, 28, 32, .84), rgba(10, 10, 13, .92)) !important;
  box-shadow: 0 36px 80px -46px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(245, 225, 205, .07) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: -1px;
  z-index: 2;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(220, 159, 94, 0), rgba(220, 159, 94, .5), rgba(181, 130, 79, .45), rgba(181, 130, 79, 0));
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console-head {
  padding: 18px 22px 12px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console-head h3 {
  color: #f2f0eb !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: .1em !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console-head .sub {
  margin-top: 5px !important;
  color: #928c82 !important;
  letter-spacing: .04em !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console-body {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console-body::before,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console-body::after {
  content: none !important;
  background: none !important;
  animation: none !important;
}

/* 模式切换 */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-mode-tabs {
  gap: 3px !important;
  padding: 4px !important;
  border: 1px solid rgba(255, 240, 222, .18) !important;
  border-radius: 999px !important;
  background: rgba(9, 9, 12, .72) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-mode-tabs button {
  min-height: 30px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #928c82 !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-mode-tabs button:hover {
  color: #f2f0eb !important;
  background: rgba(30, 30, 34, .6) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-mode-tabs button.active {
  background: linear-gradient(120deg, rgba(220, 159, 94, .32), rgba(181, 130, 79, .34)) !important;
  color: #fff3e2 !important;
  font-weight: 600 !important;
  box-shadow: inset 0 0 0 1px rgba(245, 215, 180, .52), 0 0 24px -8px rgba(220, 159, 94, .7) !important;
}

/* 提示词输入区 */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-prompt-shell {
  border: 1px solid rgba(230, 200, 170, .12) !important;
  border-radius: 18px !important;
  background: rgba(8, 8, 10, .78) !important;
  box-shadow: inset 0 1px 0 rgba(245, 225, 205, .04) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-prompt-shell:focus-within {
  border-color: rgba(220, 159, 94, .4) !important;
  background: rgba(10, 10, 12, .9) !important;
  box-shadow: 0 0 0 4px rgba(220, 159, 94, .07), 0 0 34px -14px rgba(220, 159, 94, .4) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homePrompt {
  color: #f2f0eb !important;
  caret-color: #dc9f5e !important;
  background: transparent !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homePrompt::placeholder {
  color: #7c776f !important;
  opacity: 1 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-prompt-expand,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-prompt-polish {
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-prompt-expand:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-prompt-polish:hover {
  border-color: rgba(255, 240, 222, .18) !important;
  background: rgba(30, 30, 34, .7) !important;
  color: #fff3e2 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console #homeGenerateButton.home-prompt-send {
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(120deg, #dc9f5e 0%, #e6b07a 46%, #b5824f 100%) !important;
  color: #1b1208 !important;
  box-shadow: 0 12px 26px -10px rgba(210, 150, 95, .75), inset 0 1px 0 rgba(255, 255, 255, .45) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console #homeGenerateButton.home-prompt-send:not(:disabled):hover {
  background: linear-gradient(120deg, #f2c896 0%, #e8b77c 46%, #d9a05e 100%) !important;
  box-shadow: 0 16px 30px -10px rgba(210, 150, 95, .85) !important;
  transform: translateY(-1px) scale(1.02) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console #homeGenerateButton.home-prompt-send:disabled {
  border: 1px solid rgba(255, 240, 222, .16) !important;
  background: rgba(30, 30, 34, .8) !important;
  color: #6f6a63 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console #homeGenerateButton::before,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console #homeGenerateButton::after {
  content: none !important;
}

/* 工具栏 */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-file-tool {
  min-height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(220, 159, 94, .32) !important;
  border-radius: 999px !important;
  background: rgba(220, 159, 94, .10) !important;
  color: #f0c186 !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-file-tool:hover {
  background: rgba(220, 159, 94, .16) !important;
  border-color: rgba(220, 159, 94, .5) !important;
  box-shadow: 0 0 20px -6px rgba(220, 159, 94, .4) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-compact-tool-button,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homePromptPresetBtn,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homePolishBtn {
  min-height: 32px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(255, 240, 222, .18) !important;
  border-radius: 999px !important;
  background: rgba(22, 22, 26, .62) !important;
  color: #cbc6bd !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-compact-tool-button:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homePromptPresetBtn:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homePolishBtn:hover {
  border-color: rgba(230, 190, 150, .34) !important;
  background: rgba(30, 30, 34, .85) !important;
  color: #fff3e2 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-tool-model-icon {
  background: linear-gradient(135deg, #dc9f5e, #b5824f) !important;
  box-shadow: 0 0 12px -2px rgba(220, 159, 94, .55) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-tool-model-icon.has-logo {
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-cost-hint {
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #928c82 !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-cost-hint strong,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-cost-hint b {
  color: #f0c186 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeInlineStatus.hint,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-prompt-resize-handle {
  color: #928c82 !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home :is(.home-tool-popover, .home-model-menu-option, .home-capability-group, .home-mode-picker-menu, .home-reference-bank) {
  border-color: rgba(255, 240, 222, .2) !important;
  background: #141418 !important;
  color: #f2f0eb !important;
}

/* ── 创作工具 ────────────────────────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-strip {
  width: min(100%, 900px) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-section-title span {
  color: #8a847b !important;
  letter-spacing: .3em !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-section-title span::before {
  content: "✦";
  margin-right: 8px;
  color: #e7b174;
  letter-spacing: 0;
  text-shadow: 0 0 8px rgba(220, 159, 94, .7);
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-section-title strong {
  color: #f2f0eb !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55) !important;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card {
  min-height: 62px !important;
  border: 1px solid rgba(255, 240, 222, .18) !important;
  border-radius: 16px !important;
  background: linear-gradient(160deg, rgba(24, 24, 28, .72), rgba(9, 9, 12, .78)) !important;
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, .9) !important;
  backdrop-filter: blur(16px) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card:hover {
  border-color: rgba(235, 190, 150, .30) !important;
  background: linear-gradient(160deg, rgba(30, 30, 34, .84), rgba(12, 12, 15, .86)) !important;
  box-shadow: 0 22px 50px -26px rgba(0, 0, 0, .9), 0 0 30px -14px rgba(210, 155, 100, .32) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-copy {
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #f2f0eb !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card:hover .home-workflow-copy {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-copy::before {
  content: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-copy > strong {
  color: #f2f0eb !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-copy > span {
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-copy::after {
  border: 1px solid rgba(230, 190, 150, .22) !important;
  border-radius: 9px !important;
  background: rgba(220, 159, 94, .10) !important;
  color: #e7b174 !important;
  box-shadow: inset 0 0 12px rgba(220, 159, 94, .08) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--agent .home-workflow-copy {
  background: transparent !important;
  color: #f2f0eb !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--agent .home-workflow-copy > span {
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--agent .home-workflow-copy::after {
  color: #e7b174 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--canvas .home-workflow-copy {
  background: transparent !important;
  color: #f2f0eb !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--canvas .home-workflow-copy > span {
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--canvas .home-workflow-copy::after {
  border-color: rgba(181, 130, 79, .28) !important;
  background: rgba(181, 130, 79, .12) !important;
  color: #c49a6b !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--gallery .home-workflow-copy {
  background: transparent !important;
  color: #f2f0eb !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--gallery .home-workflow-copy > span {
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--gallery .home-workflow-copy::after {
  border-color: rgba(220, 175, 135, .24) !important;
  background: rgba(220, 175, 135, .10) !important;
  color: #d0a878 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--records .home-workflow-copy {
  background: transparent !important;
  color: #f2f0eb !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--records .home-workflow-copy > span {
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-workflow-card--records .home-workflow-copy::after {
  border-color: rgba(245, 225, 205, .18) !important;
  background: rgba(245, 225, 205, .08) !important;
  color: #e5cbb0 !important;
}

/* ── 精选广场 ────────────────────────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-main {
  border: 1px solid rgba(255, 240, 222, .2) !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, rgba(22, 22, 26, .80), rgba(9, 9, 12, .90)) !important;
  box-shadow: 0 36px 80px -46px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(245, 225, 205, .07) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-main::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: -1px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 240, 222, 0), rgba(235, 190, 150, .32), rgba(255, 240, 222, 0));
  pointer-events: none;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .card-v3-head {
  border-bottom: 1px solid rgba(255, 240, 222, .12) !important;
  background: transparent !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace h3 {
  color: #f2f0eb !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .sub {
  margin-top: 6px !important;
  color: #928c82 !important;
  letter-spacing: .04em !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-title {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-search-inline {
  width: min(360px, 42vw) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-search-inline input {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(255, 240, 222, .18) !important;
  border-radius: 999px !important;
  background: rgba(8, 8, 10, .7) !important;
  color: #f2f0eb !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-search-inline input::placeholder {
  color: #7c776f !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-search-inline input:focus {
  border-color: rgba(220, 159, 94, .4) !important;
  background: rgba(10, 10, 12, .9) !important;
  box-shadow: 0 0 0 4px rgba(220, 159, 94, .06) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-head-actions .btn {
  min-height: 34px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(230, 190, 150, .28) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #cbc6bd !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-showcase-head-actions .btn:hover {
  border-color: rgba(220, 159, 94, .4) !important;
  background: rgba(220, 159, 94, .1) !important;
  color: #f0c186 !important;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-type-nav {
  gap: 6px !important;
  margin-bottom: 10px !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-type-nav button,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-gallery-tag-nav button {
  min-height: 32px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 240, 222, .16) !important;
  border-radius: 999px !important;
  background: rgba(16, 16, 19, .5) !important;
  color: #cbc6bd !important;
  font-size: 11.5px !important;
  letter-spacing: .03em !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-type-nav button:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-gallery-tag-nav button:hover {
  border-color: rgba(230, 190, 150, .32) !important;
  color: #f2f0eb !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-type-nav button.active {
  border-color: rgba(235, 195, 155, .46) !important;
  background: rgba(220, 165, 110, .22) !important;
  color: #fff3e2 !important;
  box-shadow: 0 0 22px -8px rgba(220, 165, 110, .65) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-gallery-tag-nav button.active {
  border-color: rgba(220, 159, 94, .38) !important;
  background: rgba(220, 159, 94, .12) !important;
  color: #f0c186 !important;
  box-shadow: 0 0 18px -7px rgba(220, 159, 94, .45) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-gallery-tag-nav {
  gap: 6px !important;
  border-bottom: 1px solid rgba(255, 240, 222, .12) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-masonry {
  column-gap: 16px !important;
}

html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-card {
  border: 1px solid rgba(255, 240, 222, .18) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(24, 24, 28, .78), rgba(9, 9, 12, .88)) !important;
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .9) !important;
  overflow: hidden !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-card:hover,
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-card:focus-visible {
  border-color: rgba(235, 190, 150, .36) !important;
  box-shadow: 0 24px 54px -26px rgba(0, 0, 0, .9), 0 0 34px -14px rgba(210, 155, 100, .35) !important;
  outline: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-media {
  background: #0b0b0e !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-body {
  border-top: 1px solid rgba(245, 225, 205, .14) !important;
  background: linear-gradient(180deg, rgba(9, 9, 12, .72), rgba(5, 8, 16, .94)) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-prompt {
  color: #f2f0eb !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-tags span {
  border: 1px solid rgba(220, 159, 94, .14) !important;
  background: rgba(220, 159, 94, .08) !important;
  color: #e5b57d !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-meta {
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-likes {
  color: #8f887e !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-card-actions {
  border-top: 1px solid rgba(245, 225, 205, .12) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-card-actions > strong {
  color: #f0c186 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-card-actions .btn {
  border: 1px solid rgba(230, 190, 150, .26) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #cbc6bd !important;
  box-shadow: none !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-marketplace-card-actions .btn:hover {
  border-color: rgba(220, 159, 94, .42) !important;
  background: rgba(220, 159, 94, .12) !important;
  color: #f0c186 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home #homeFeaturedMarketplace .home-public-gallery-state {
  color: #928c82 !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-gallery-refreshing {
  background: rgba(8, 8, 10, .7) !important;
}
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-gallery-refreshing span {
  border: 1px solid rgba(255, 240, 222, .2) !important;
  background: #141418 !important;
  color: #cbc6bd !important;
}

/* ── 焦点与滚动 ──────────────────────────────────── */
html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid #dc9f5e !important;
  outline-offset: 3px !important;
}

/* 移动端保留原有结构，只换色 */
@media (max-width: 720px) {
  html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console {
    width: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-console-body,
  html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-create-form {
    background: transparent !important;
    box-shadow: none !important;
  }
  html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-mode-tabs {
    padding: 3px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-atmosphere::after,
  html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-atmosphere-ambient,
  html[data-theme="dark"]:not([data-home-skin="cosmic"]):not([data-home-skin="christmas"]) body.page-home .home-atmosphere-ambient::after {
    animation: none !important;
  }
}
}
