/* 中性炭灰夜间底色，保留琥珀强调与现有玻璃层次；不反转图片。 */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;font-size:11px;color:var(--muted);background:transparent;white-space:nowrap;transition:transform 180ms ease-out,opacity 180ms ease-out}.theme-toggle svg{width:18px;height:18px}.theme-toggle:active{transform:scale(.97)}.theme-toggle[aria-pressed=true]{color:var(--red)}.theme-toggle:focus-visible{outline:2px solid var(--red);outline-offset:4px}
html[data-theme=dark]{color-scheme:dark;--night-bg:#1b1c1e;--night-plum:#303236;--night-brown:#8c6553;--night-accent:#fca731;--night-panel:#252629;--night-soft:#303236;--red:#fca731;--red-dark:#ffbd61;--red-soft:#393126;--red-light:#393126;--ink:#f2f1ee;--muted:#bdbfc4;--line:#404247;--white:#252629;--surface:#252629;--shadow:0 8px 28px #00000033;--scroll-thumb:#8c6553;--scroll-thumb-hover:#fca731;--chat-border:#404247;--chat-paper:#252629;--chat-muted:#bdbfc4;--ui-bg:transparent;--ui-bg-soft:#1b1c1e;--ui-surface:#252629;--ui-surface-strong:#303236;--ui-surface-solid:#252629;--ui-surface-soft:#303236;--ui-border:#404247;--ui-border-strong:#8c6553;--ui-ink:#f2f1ee;--ui-muted:#bdbfc4;--ui-subtle:#a8abb2;--ui-primary:#fca731;--ui-primary-soft:#393126;--ui-primary-fill:#fca731;--ui-table-head:#303236;--theme-primary-rgb:252,167,49;--chrome-bg:#1b1c1e;--glass-panel:#252629;--glass-elevated:#303236;--glass-input:#1b1c1e;--login-border:#404247;color:var(--ink);background:var(--night-bg)}
html[data-theme=dark] body{background:var(--night-bg);color:var(--ink)}
html[data-theme=dark] :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-bottom,.detail-header,.access-pane,.access-card,.access-input,.login-shell,.instrument-mark,.spark-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.cloud-search,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.cx-sidebar,.cx-conversation,.cx-compose,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat){background:var(--night-panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] :is(dialog,.popover,.dropdown-menu){background:var(--night-panel);border-color:var(--line);color:var(--ink)}html[data-theme=dark] dialog::backdrop{background:#160f1caa}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--night-bg)!important;border-color:var(--line)!important;color:var(--ink)!important;caret-color:var(--night-accent)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#bfa397;opacity:1}
html[data-theme=dark] :is(.button.secondary,.farm-control,.state-badge,.outline-badge,.spark-status,.spark-filter,kbd,.avatar,.topbar-avatar,.module-icon,.detail-icon,.empty-icon,.dialog-icon,.chat-avatar){background:var(--night-soft);border-color:var(--line);color:var(--muted)}
html[data-theme=dark] :is(.button.primary,.farm-control-primary,.instrument-login .access-card .login-submit){background:var(--night-accent);border-color:var(--night-accent);color:var(--night-bg);box-shadow:none}
html[data-theme=dark] :is(.red,.text-link,.nav-list>a[aria-current=page],.spark-tabs button[aria-selected=true],.farm-page-tabs>button[aria-current=page],.dy-page-tabs>button[aria-current=page]){color:var(--night-accent)}
html[data-theme=dark] :is(.nav-list>a[aria-current=page],.nav-list>a:hover,.chat-group-link.selected,.cx-sidebar nav>button[aria-current=page],.segmented button[aria-pressed=true],.spark-filter[aria-pressed=true]){background:var(--night-soft);color:var(--night-accent);border-color:var(--line)}
html[data-theme=dark] :is(.notice,.chat-notice,.chat-setup-note,.cx-request,.spark-save-notice,.preview-test-banner,.spark-empty-state,.farm-opening,.douyin-data-opening,.login-connection){background:var(--night-soft);border-color:var(--night-brown);color:var(--ink)}html[data-theme=dark] .notice strong{color:var(--night-accent)}
html[data-theme=dark] :is(pre,code,.cx-userMessage,.chat-message.is-user .chat-bubble,.chat-message.is-summary .chat-bubble){background:var(--night-bg);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.breadcrumb,.breadcrumb-home,.workspace-label,.sidebar-help,.local-status,.page-footer,.profile small,.page-intro p,.module-copy p,.module-meta,.module-tag,.module-state,.module-action,.access-description,.brand-description,.brand-copyright,.access-security,.remember-note,.remember-login,.access-card-footer,.field-error,.spark-updated,.spark-edit-form label,.spark-edit-enabled small,.chat-muted,.chat-conversation-head small,.cx-sidebar small,.cx-note,.cx-empty,.cx-conversation-head p,.cx-item header){color:var(--muted)}
html[data-theme=dark] :is(.module-copy h2,.module-copy h3,.brand-copy h1,.access-card h2,.access-field label,.access-field-label label,.cx-empty strong){color:var(--ink)}
html[data-theme=dark] .instrument-login .brand-panel{background:var(--night-bg);border-color:var(--line)}html[data-theme=dark] .instrument-login .access-pane{background:var(--night-panel)}html[data-theme=dark] .instrument-login .access-card{box-shadow:none}html[data-theme=dark] .instrument-login .access-input{background:var(--night-bg);border-color:var(--line)}html[data-theme=dark] .instrument-login .access-input>input{background:transparent!important}html[data-theme=dark] .instrument-login .access-input svg{color:var(--muted)}
html[data-theme=dark] #ai-chat-content{--chat-border:#735645;--chat-paper:#332e2d;--chat-muted:#d6c8bb}html[data-theme=dark] :is(.chat-compose textarea,.chat-setting-form,.chat-provider-card,.chat-character-card,.chat-memory-card,.cx-item pre,.cx-request pre){background:var(--night-bg);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.codex-card .mini-node,.cloud-center,.hub-node,.hub-center,.node-main,.mini-node){background:var(--night-soft);border-color:var(--line);color:var(--night-accent)}
/* Naive UI 的局部内联变量也跟随全局主题，不依赖重新挂载农场。 */
html[data-theme=dark] :is(.n-card,.n-modal,.n-dialog,.n-drawer,.n-popover,.n-dropdown,.n-base-selection,.n-input,.n-input-number,.n-select,.n-data-table,.n-menu,.n-tabs,.n-button,.n-tag,.n-alert,.n-date-panel,.n-notification,.n-message){--n-color:var(--night-panel)!important;--n-color-modal:var(--night-panel)!important;--n-color-popover:var(--night-panel)!important;--n-color-hover:var(--night-soft)!important;--n-color-active:var(--night-soft)!important;--n-color-focus:var(--night-bg)!important;--n-text-color:var(--ink)!important;--n-text-color-disabled:var(--muted)!important;--n-title-text-color:var(--ink)!important;--n-description-text-color:var(--muted)!important;--n-placeholder-color:var(--muted)!important;--n-border-color:var(--line)!important;--n-border:1px solid var(--line)!important;--n-border-hover:1px solid var(--night-accent)!important;--n-border-focus:1px solid var(--night-accent)!important;--n-border-color-active:var(--night-accent)!important;--n-th-color:var(--night-soft)!important;--n-td-color:var(--night-panel)!important;--n-td-color-hover:var(--night-soft)!important;--n-td-text-color:var(--ink)!important;--n-th-text-color:var(--muted)!important;--n-item-color-active:var(--night-soft)!important;--n-item-text-color:var(--ink)!important;--n-item-text-color-active:var(--night-accent)!important}
html[data-theme=dark] .n-button--primary-type{--n-color:var(--night-accent)!important;--n-color-hover:var(--red-dark)!important;--n-color-pressed:var(--night-accent)!important;--n-text-color:var(--night-bg)!important;--n-text-color-hover:var(--night-bg)!important;--n-text-color-pressed:var(--night-bg)!important}
@media(hover:hover){.theme-toggle:hover{opacity:.8}}
@media(max-width:767px){.theme-toggle{padding:8px;min-width:44px}.topbar .theme-toggle span{display:none}.topbar-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
html[data-theme=dark] :is(.nav-list>a,.search-button,.search-button svg,.brand small,.profile small,.instrument-login #show-password,.access-message,.farm-first-account small){color:var(--muted)}
html[data-theme=dark] :is(.module-open,.module-open span){color:var(--night-accent);border-color:var(--line)}
html[data-theme=dark] :is(.pwa-notice,.pwa-offline,#pwa-dialog .pwa-cache-status){background:var(--night-panel);border-color:var(--night-brown);color:var(--ink)}html[data-theme=dark] .pwa-notice>strong{color:var(--night-accent)}html[data-theme=dark] .pwa-notice p{color:var(--muted)}
html[data-theme=dark] .access-nav .icon-button{background:var(--night-soft);border-color:var(--line);color:var(--muted)}

html[data-theme=dark] .theme-toggle[aria-pressed=true]{background:var(--night-plum)}

/* 模块 @scope 在本地定义变量，必须在同一作用域根同步主题。 */
html[data-theme=dark] :is(#farm-module,#farm-overlays,#douyin-live-module){color-scheme:dark;--white:var(--night-panel)!important;--surface:var(--night-panel)!important;--ui-bg:transparent!important;--ui-bg-soft:var(--night-bg)!important;--ui-surface:var(--night-panel)!important;--ui-surface-strong:var(--night-soft)!important;--ui-surface-solid:var(--night-panel)!important;--ui-surface-soft:var(--night-soft)!important;--ui-border:var(--line)!important;--ui-border-strong:var(--night-brown)!important;--ui-ink:var(--ink)!important;--ui-muted:var(--muted)!important;--ui-subtle:var(--muted)!important;--ui-primary:var(--night-accent)!important;--ui-primary-soft:var(--red-soft)!important;--ui-primary-fill:var(--night-accent)!important;--ui-table-head:var(--night-soft)!important;--chrome-bg:var(--night-bg)!important;--glass-panel:var(--night-panel)!important;--glass-elevated:var(--night-soft)!important;--glass-input:var(--night-bg)!important}
html[data-theme=dark] #farm-module [class*="text-gray-"]{color:var(--muted)}
html[data-theme=dark] #douyin-live-module .glass{background:var(--night-panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] :is(.syslogs-summary>div,.syslogs-list,.syslogs-tabs){background:var(--night-panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .syslogs-row{border-color:var(--line)}
html[data-theme=dark] .syslogs-tabs button[aria-pressed=true]{background:var(--red-soft);color:var(--night-accent)}
html[data-theme=dark] .syslog-role{background:#3a3136;color:#f1c7d8}
html[data-theme=dark] .syslog-module{background:var(--night-soft);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .syslog-status.ok,html[data-theme=dark] .syslog-badge.tone-ok{background:#1b3326;color:#74d99f}
html[data-theme=dark] .syslog-status.failed,html[data-theme=dark] .syslog-badge.tone-danger{background:#3c2026;color:#ff9ba9}
html[data-theme=dark] .syslog-badge.tone-info{background:#1f2c42;color:#8bb8ff}
html[data-theme=dark] .syslog-badge.tone-warn{background:#3c2e1c;color:#ffc46b}
html[data-theme=dark] .syslog-badge.tone-muted{background:var(--night-soft);color:var(--muted)}
/* 只在切换时过渡颜色，页面按钮持续可用。 */
html.theme-changing,html.theme-changing *,html.theme-changing *::before,html.theme-changing *::after{transition:background-color 300ms ease-out,color 300ms ease-out,border-color 300ms ease-out,box-shadow 300ms ease-out!important}
@media(prefers-reduced-motion:reduce){html.theme-changing,html.theme-changing *,html.theme-changing *::before,html.theme-changing *::after{transition:none!important}}
/* 续火花独立组件与农场语义色：背景、正文和辅助信息一起适配。 */
html[data-theme=dark] .spark-core{background:linear-gradient(145deg,var(--night-soft),var(--night-bg));border-color:var(--night-brown);color:var(--night-accent);box-shadow:0 10px 24px #17121055}

/* 续火花采用上游工作台的分组信息架构，叶子页面仍由玄枢统一承载。 */
.spark-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px;padding:0;background:transparent;border:0}
.spark-nav-group{min-width:0;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.spark-nav-group h3{margin:0 0 8px;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.spark-nav-group>div{display:flex;flex-wrap:wrap;gap:7px}
.spark-nav-group button{border:1px solid transparent;border-radius:10px;padding:8px 10px;background:transparent;color:var(--ink);font:inherit;cursor:pointer}
.spark-nav-group button:hover,.spark-nav-group button[aria-selected=true]{background:var(--red-soft);border-color:var(--line);color:var(--red)}
.spark-native-shell{display:grid;gap:14px}.spark-native-shell iframe{width:100%;height:clamp(680px,78vh,1080px);min-height:640px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
@media (max-width:760px){.spark-tabs{grid-template-columns:1fr}.spark-nav-group{padding:10px}.spark-native-shell iframe{height:calc(100dvh - 210px);min-height:540px}}
html[data-theme=dark] .spark-native-shell iframe{background:var(--night-bg);border-color:var(--line)}
html[data-theme=dark] .spark-nav-group{background:var(--night-panel);border-color:var(--line)}
html[data-theme=dark] .spark-nav-group button{color:var(--ink)}
html[data-theme=dark] .spark-nav-group button:hover,html[data-theme=dark] .spark-nav-group button[aria-selected=true]{background:var(--night-soft);color:var(--night-accent)}
html[data-theme=dark] .spark-ring{border-color:var(--night-brown);background:radial-gradient(ellipse at center,#7c8cff18,transparent 65%)}
html[data-theme=dark] .spark-ring.second{border-color:#4de1ff44;background:none}
html[data-theme=dark] :is(.spark-cross,.spark-caption){color:var(--muted)}
html[data-theme=dark] :is(#farm-module,#farm-overlays){--ui-warning:#ffc174!important;--ui-warning-soft:#493b2c!important;--ui-warning-fill:#ffc174!important;--ui-danger:#ff9b9f!important;--ui-danger-soft:#4b3034!important;--ui-danger-fill:#ff9b9f!important;--ui-violet:#d0baf5!important;--ui-violet-soft:#42394e!important;--ui-blue:#9bcbe8!important;--ui-blue-soft:#303f49!important;--ui-teal:#9bd7c5!important}
html[data-theme=dark] :is(#farm-module,#farm-overlays) .f-tag--weed{color:#f1d18a}
html[data-theme=dark] :is(.n-dialog,.n-alert,.n-notification,.n-message){--n-content-text-color:var(--ink)!important;--n-content-text-color-info:var(--ink)!important;--n-content-text-color-success:var(--ink)!important;--n-content-text-color-warning:var(--ink)!important;--n-content-text-color-error:var(--ink)!important;--n-close-icon-color:var(--muted)!important;--n-icon-color:#ffc174!important;--n-icon-color-info:#9bcbe8!important;--n-icon-color-success:#9bd7c5!important;--n-icon-color-warning:#ffc174!important;--n-icon-color-error:#ff9b9f!important;--n-action-text-color:var(--night-accent)!important}
/* 保持告警可辨认，主按钮仍使用琥珀强调色。 */
html[data-theme=dark] :is(.farm-login-warning,.spark-login-warning){background:#4b3034;border-color:#ab6971;color:#ffe4e6}
html[data-theme=dark] :is(.farm-login-warning,.spark-login-warning) :is(strong,p){color:inherit}
html[data-theme=dark] :is(.farm-login-warning .farm-control,.spark-login-warning .text-link){background:#56383e;color:#ffe4e6;border-color:#ab6971}
html[data-theme=dark] #farm-module .farm-control.farm-control-primary{background:var(--night-accent)!important;color:var(--night-bg);border-color:var(--night-accent)}
html[data-theme=dark] :is(#farm-module,#farm-overlays){--glass-highlight:#7c8cff44!important}
html[data-theme=dark] .n-tabs{--n-tab-text-color:var(--muted)!important;--n-tab-text-color-active:var(--night-accent)!important;--n-tab-text-color-hover:var(--night-accent)!important;--n-tab-text-color-disabled:var(--muted)!important;--n-pane-text-color:var(--ink)!important;--n-tab-border-color:var(--line)!important;--n-bar-color:var(--night-accent)!important;--n-color-segment:var(--night-bg)!important;--n-tab-color-segment:var(--night-soft)!important;--n-tab-color:var(--night-panel)!important}
/* 动态滑块负责选中背景，按钮透明，避免移动时露出第二层底色。 */
html[data-theme=dark]{--motion-surface:var(--night-soft)}
html[data-theme=dark] .segment-indicator{background:var(--motion-surface);box-shadow:0 2px 7px #180f1c33}
html[data-theme=dark] .segmented:has(>.segment-indicator)>button[aria-pressed=true]{background:transparent;box-shadow:none}
/* 土地等级保留色相，卡片表面与文字使用全站主题；不依赖旧组件的 .dark 根。 */
html[data-theme=dark] :is(#farm-module,#farm-overlays) .plot{--soil-tint:var(--muted);--soil-bg:color-mix(in srgb,var(--soil-tint) 8%,var(--ui-surface));--soil-line:color-mix(in srgb,var(--soil-tint) 32%,var(--ui-border));--soil-ink:var(--soil-tint);--soil-chip:color-mix(in srgb,var(--soil-tint) 16%,var(--ui-surface));box-shadow:none}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.plot--lv0,.plot--lv1){--soil-tint:#c9a867}
html[data-theme=dark] :is(#farm-module,#farm-overlays) .plot--lv2{--soil-tint:#e08a6e}
html[data-theme=dark] :is(#farm-module,#farm-overlays) .plot--lv3{--soil-tint:#aab1ba}
html[data-theme=dark] :is(#farm-module,#farm-overlays) .plot--lv4{--soil-tint:#e6c35a}
html[data-theme=dark] :is(#farm-module,#farm-overlays) .plot--lv5{--soil-tint:#b892f0}
/* Generated by scripts/build-night-surfaces.py; central legacy UI palette; explicit art and QR exceptions. */
html[data-theme=dark] :is(#farm-module, #farm-overlays) .activity-content,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .activity-header__badge[data-v-7dadbb74],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .activity-message,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .activity-message.success,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .activity-nav[data-v-aaca1669],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .activity-picker,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .activity-shell__frame[data-v-1113e7c8],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .autumn--happy[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .autumn[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .badge-bug[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .badge-harvest[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .badge-purple-crystal[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .badge-water[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .base-price[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-amber-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-amber-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-amber-50\/50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-amber-50\/60,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-amber-50\/70,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-amber-50\/80,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-blue-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-blue-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-cyan-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-emerald-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-emerald-50\/85,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-fuchsia-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-gray-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-gray-200,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-gray-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-gray-50\/70,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-green-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-green-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-green-50\/50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-indigo-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-lime-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-orange-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-pink-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-purple-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-red-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-red-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-rose-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-sky-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-sky-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-slate-200,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-teal-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-violet-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-violet-50,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-white,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-white\/75,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-white\/80,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bg-yellow-100,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .bridge-track span[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .charity-page[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .claim-action button[data-v-8a0932db]:disabled,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .claim-action[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .commands-section[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .confirm-actions .secondary[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .count-control button[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .count-control input[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .cup--locked[data-v-4523bfca],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .dark .dark\:bg-gray-600,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .day[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .dew-hint[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .employer[data-v-e12e555a],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .empty button[data-v-8094b213],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-button[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-charm-row>img[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-current-ribbon[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-dialog[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-equipped[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-error[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-feedback[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-icon-button[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-log-card[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-progress progress[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-reward-items span[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-scene[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-time[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-tools button[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .escort-treasure-card[data-v-44823b5c],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-account-strip,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-account-strip select,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-control,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-login-warning .farm-control,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-native-error,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-progress-fill[data-v-1a388269]:after,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-progress:after,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farm-progress[data-v-1a388269]:before,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .farming-action[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .fertilizer-action--normal[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .fertilizer-action--organic[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .friend-avatar-fallback[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .friend-avatar-fallback[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .friend-option.selected[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .friend-option.selected[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .friend-option[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .friend-option[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .gift-composer[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .gift-protocol-note[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .gift-section[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .global-band[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .global-track[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .goods-action[data-v-92bce07d],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .goods-card[data-v-92bce07d]:not(:disabled):focus-visible,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .goods-card[data-v-92bce07d]:not(:disabled):hover,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .goods-image[data-v-92bce07d],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .group-strip button.active[data-v-2e869e25],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .group-strip button[data-v-2e869e25],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .group-strip__done[data-v-2e869e25],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .group-strip__sync[data-v-2e869e25],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .hero__art[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .hero__stats>div[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .hover\:bg-gray-50:hover,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .hover\:bg-green-100:hover,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .hover\:bg-red-100:hover,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .icon-command[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .ingredient-choice.selected[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .ingredient-choice[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .inventory-item[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .item-box[data-v-4523bfca],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .item-box[data-v-71baff76],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .land-dead[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .land-locked[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .level-medal[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .light-action[data-v-2e869e25],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .milestone-claim[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .milestone-dot[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .milestone[data-v-518fb70f]:before,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .n-carousel .n-carousel__arrow,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .n-carousel .n-carousel__arrow:hover,
html[data-theme=dark] :is(#farm-module, #farm-overlays) .overview-band[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .overview-metrics>div[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .overview-metrics[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .panel[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-album__bar[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-back[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-button[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-card[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-charm strong small[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-chip--gold[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-chip[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-countdown[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-dialog[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-dialog__close[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-dialog__product img[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-diary[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-goods__item[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-goods__sold[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-goods__thumb[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-growth progress[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-header[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-hero[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-hero__art[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-message[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-nav[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-overview[data-v-702a8813],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-photo--locked .pet-photo__frame[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-photo--locked[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-photo[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-quantity button[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-quantity input[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-quick__item em[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-quote[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-refresh[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-solar__card[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-steal select[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-terms button[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-wallet-menu>summary[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .pet-wallet[data-v-8c2af6d5],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .progress-section[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .progress[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .qingmei-hero[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .qingmei-page[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .qingmei-panel[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .qixi-page[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .qixi-section[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .quantity button[data-v-8094b213],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .quantity-control input[data-v-f07fdd48],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .quick__icon[data-v-4523bfca],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .quote[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .ready .item-box[data-v-71baff76],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .research-node.active[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .research-node[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .resource-band[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .resource-item[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .rules-section[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .rung ul[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .rung--ready .tag[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .rung--ready ul[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .rung--ready[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .rung[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .rung__dot[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .search-field[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .search-field[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .segmented button[aria-selected=true][data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .selection-cue--disabled .selection-cue__label[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .selection-cue--disabled .selection-cue__mark[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .selection-cue__label[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .selection-cue__mark[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .selection-mark[data-v-3a6d504b],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .settlement-band[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .settlement-status.eligible[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .settlement-status[data-v-518fb70f],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .share-reward[data-v-71baff76],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .shelf[data-v-4523bfca],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .shop-categories button.active[data-v-92bce07d],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .slip[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .slip__rewards li[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .soil-level-0[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .soil-level-1[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .soil-level-2[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .soil-level-3[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .soil-level-4[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .soil-level-5[data-v-1a388269],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .solar-reward[data-v-d863edd0],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .stage-card--complete[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .stage-card[data-v-cd5da27e],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .star-reward[data-v-2e869e25],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .star-reward__title button[data-v-2e869e25],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .state[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .stick--active[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .stick[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .task--meter[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .task[data-v-59640dae],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .tea-dialog footer button[data-v-8094b213],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .tea-page[data-v-8094b213],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .tea-wallet__chip[data-v-8094b213],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .term-rail button.active[data-v-d863edd0],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .term-rail button[data-v-d863edd0],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .travel-progress[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .travel-progress__badge[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .travel-row.current[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .travel-row[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .travel-tip button[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .travel-tip[data-v-8a0932db],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .wallet__chip[data-v-4523bfca],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-item em[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-item--passive em[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-item--passive[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-item[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-page[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-status.active[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-status[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-status__badge[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-status__icon[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .weather-status__period[data-v-fc30f2a9],
html[data-theme=dark] :is(#farm-module, #farm-overlays) .work-choice.selected[data-v-e12e555a],
html[data-theme=dark] :is(#farm-module, #farm-overlays) article[data-v-92bce07d],
html[data-theme=dark] :is(#farm-module, #farm-overlays) button[data-v-4523bfca],
html[data-theme=dark] :is(#farm-module, #farm-overlays) button[data-v-e12e555a]{background:var(--night-panel)!important;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(#douyin-live-module) .analytics-controls select,
html[data-theme=dark] :is(#douyin-live-module) .analytics-search-form input,
html[data-theme=dark] :is(#douyin-live-module) .analytics-search-form select,
html[data-theme=dark] :is(#douyin-live-module) .analytics-user-list>button,
html[data-theme=dark] :is(#douyin-live-module) .dy-overview-metrics>div,
html[data-theme=dark] :is(#douyin-live-module) .dy-overview-rooms article,
html[data-theme=dark] :is(#douyin-live-module) .dy-realtime-heading select,
html[data-theme=dark] :is(#douyin-live-module) .live-controls input,
html[data-theme=dark] :is(#douyin-live-module) .live-event-filters input,
html[data-theme=dark] :is(#douyin-live-module) .live-event-filters select,
html[data-theme=dark] :is(#douyin-live-module) .monitor-quality article,
html[data-theme=dark] :is(#douyin-live-module) .watch-batch textarea,
html[data-theme=dark] :is(#douyin-live-module) .watch-inline input,
html[data-theme=dark] :is(#douyin-live-module) .watch-inline select,
html[data-theme=dark] :is(#douyin-live-module) .watch-member-form input:not([type=checkbox]){background:var(--night-panel)!important;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] #search-results>button:hover,
html[data-theme=dark] .access-card,
html[data-theme=dark] .access-divider:after,
html[data-theme=dark] .access-divider:before,
html[data-theme=dark] .access-field:has(input[aria-invalid=true]) .access-input,
html[data-theme=dark] .access-input,
html[data-theme=dark] .access-nav .icon-button,
html[data-theme=dark] .account-more>div,
html[data-theme=dark] .app-menu>div,
html[data-theme=dark] .avatar,
html[data-theme=dark] .boundary-panel,
html[data-theme=dark] .brand-panel,
html[data-theme=dark] .button.secondary,
html[data-theme=dark] .button.secondary:hover,
html[data-theme=dark] .cloud-center,
html[data-theme=dark] .cloud-message,
html[data-theme=dark] .cloud-note-preview,
html[data-theme=dark] .cloud-outline button,
html[data-theme=dark] .cloud-search input,
html[data-theme=dark] .connection-slots>div,
html[data-theme=dark] .console-features,
html[data-theme=dark] .current .step-dot,
html[data-theme=dark] .demo-notice,
html[data-theme=dark] .dialog-icon,
html[data-theme=dark] .empty-icon,
html[data-theme=dark] .empty-inline,
html[data-theme=dark] .empty-map,
html[data-theme=dark] .empty-map>div,
html[data-theme=dark] .entrance-status,
html[data-theme=dark] .facility-state progress,
html[data-theme=dark] .glass,
html[data-theme=dark] .hub-center,
html[data-theme=dark] .hub-node,
html[data-theme=dark] .icon-button:hover,
html[data-theme=dark] .instrument-mark,
html[data-theme=dark] .integration-steps li:not(:last-child):after,
html[data-theme=dark] .log-empty,
html[data-theme=dark] .login-card,
html[data-theme=dark] .login-divider:after,
html[data-theme=dark] .login-divider:before,
html[data-theme=dark] .login-page,
html[data-theme=dark] .map-marker,
html[data-theme=dark] .map-place,
html[data-theme=dark] .map-place.active,
html[data-theme=dark] .map-road,
html[data-theme=dark] .map-street,
html[data-theme=dark] .mini-node,
html[data-theme=dark] .module-card,
html[data-theme=dark] .module-icon,
html[data-theme=dark] .nav-list>a:hover,
html[data-theme=dark] .nav-list>a[aria-current=page],
html[data-theme=dark] .notice,
html[data-theme=dark] .orbit-label,
html[data-theme=dark] .overview-rule,
html[data-theme=dark] .person-avatar,
html[data-theme=dark] .placeholder-grid>div,
html[data-theme=dark] .plan-list li,
html[data-theme=dark] .platform-form input:not([type=checkbox]),
html[data-theme=dark] .platform-form textarea,
html[data-theme=dark] .platform-logs,
html[data-theme=dark] .preview-label,
html[data-theme=dark] .preview-test-banner,
html[data-theme=dark] .region-map,
html[data-theme=dark] .resource-item,
html[data-theme=dark] .resource-item meter,
html[data-theme=dark] .resources-panel,
html[data-theme=dark] .segmented,
html[data-theme=dark] .segmented button[aria-pressed=true],
html[data-theme=dark] .service-slot,
html[data-theme=dark] .sidebar,
html[data-theme=dark] .spark-account-filter select,
html[data-theme=dark] .spark-edit-form input:not([type=checkbox]),
html[data-theme=dark] .spark-edit-form textarea,
html[data-theme=dark] .spark-editor-footer,
html[data-theme=dark] .spark-filter,
html[data-theme=dark] .spark-filter:hover,
html[data-theme=dark] .spark-filter[aria-pressed=true],
html[data-theme=dark] .spark-friends,
html[data-theme=dark] .spark-friends-skeleton b,
html[data-theme=dark] .spark-friends-skeleton i,
html[data-theme=dark] .spark-friends-skeleton>span,
html[data-theme=dark] .spark-issues,
html[data-theme=dark] .spark-kpis>div,
html[data-theme=dark] .spark-login-desktop,
html[data-theme=dark] .spark-managed-account,
html[data-theme=dark] .spark-person,
html[data-theme=dark] .spark-ranking,
html[data-theme=dark] .spark-ranking-scopes,
html[data-theme=dark] .spark-ranking-scopes button[aria-pressed=true],
html[data-theme=dark] .spark-record-icon,
html[data-theme=dark] .spark-send-receipts,
html[data-theme=dark] .spark-send-toolbar,
html[data-theme=dark] .spark-skeleton span,
html[data-theme=dark] .spark-status,
html[data-theme=dark] .spark-status.attention,
html[data-theme=dark] .spark-tabs,
html[data-theme=dark] .spark-target-overflow span,
html[data-theme=dark] .spark-targets>span,
html[data-theme=dark] .spark-workspace-status,
html[data-theme=dark] .state-badge,
html[data-theme=dark] .step-dot,
html[data-theme=dark] .survivor-card,
html[data-theme=dark] .survivor-card.active,
html[data-theme=dark] .survivor-information,
html[data-theme=dark] .topbar,
html[data-theme=dark] .topbar-avatar,
html[data-theme=dark] .welcome-panel,
html[data-theme=dark] .world-command,
html[data-theme=dark] .world-error,
html[data-theme=dark] .world-fork-confirm,
html[data-theme=dark] .world-guide-card,
html[data-theme=dark] .world-guide-example,
html[data-theme=dark] .world-guide-progress,
html[data-theme=dark] .world-history-banner,
html[data-theme=dark] .world-live-notice,
html[data-theme=dark] .world-map-panel,
html[data-theme=dark] .world-warning,
html[data-theme=dark] body.instrument-login,
html[data-theme=dark] dialog,
html[data-theme=dark] input:not([type=range]),
html[data-theme=dark] kbd,
html[data-theme=dark] select{background:var(--night-panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] #instrument-date,
html[data-theme=dark] #instrument-time>span,
html[data-theme=dark] #search-results small,
html[data-theme=dark] .access-card h2,
html[data-theme=dark] .access-card-footer>p,
html[data-theme=dark] .access-description,
html[data-theme=dark] .access-field-label>.text-link,
html[data-theme=dark] .access-field-label>label,
html[data-theme=dark] .access-field>label,
html[data-theme=dark] .access-guest,
html[data-theme=dark] .access-input>#show-password,
html[data-theme=dark] .access-kicker,
html[data-theme=dark] .access-kicker>span,
html[data-theme=dark] .access-message[data-tone=info],
html[data-theme=dark] .access-nav .icon-button,
html[data-theme=dark] .access-nav>a,
html[data-theme=dark] .access-security,
html[data-theme=dark] .avatar,
html[data-theme=dark] .boundary-panel h2,
html[data-theme=dark] .boundary-panel p,
html[data-theme=dark] .brand small,
html[data-theme=dark] .brand-coordinate,
html[data-theme=dark] .brand-coordinate>span:first-child,
html[data-theme=dark] .brand-copy h1,
html[data-theme=dark] .brand-copyright,
html[data-theme=dark] .brand-description,
html[data-theme=dark] .brand-edition,
html[data-theme=dark] .breadcrumb,
html[data-theme=dark] .breadcrumb-home,
html[data-theme=dark] .button.secondary,
html[data-theme=dark] .clock-caption,
html[data-theme=dark] .clock-face,
html[data-theme=dark] .clock-zone,
html[data-theme=dark] .cloud-center,
html[data-theme=dark] .connection-slots>div>svg,
html[data-theme=dark] .console-features small,
html[data-theme=dark] .console-features strong,
html[data-theme=dark] .current .stage-label,
html[data-theme=dark] .empty-inline,
html[data-theme=dark] .entrance-latency small,
html[data-theme=dark] .entrance-latency>span,
html[data-theme=dark] .entrance-state strong,
html[data-theme=dark] .event-timeline li>span,
html[data-theme=dark] .event-timeline p,
html[data-theme=dark] .event-timeline small,
html[data-theme=dark] .eyebrow,
html[data-theme=dark] .facility-state p,
html[data-theme=dark] .facility-state>span,
html[data-theme=dark] .feature-glyph,
html[data-theme=dark] .footer-slash,
html[data-theme=dark] .hub-wordmark,
html[data-theme=dark] .instrument-brand small,
html[data-theme=dark] .instrument-eyebrow,
html[data-theme=dark] .instrument-login .access-input>input,
html[data-theme=dark] .instrument-login .access-input>input:autofill,
html[data-theme=dark] .integration-steps div>span,
html[data-theme=dark] .local-status,
html[data-theme=dark] .local-status small,
html[data-theme=dark] .log-empty p,
html[data-theme=dark] .login-caption,
html[data-theme=dark] .login-card form>label,
html[data-theme=dark] .login-divider,
html[data-theme=dark] .login-footer,
html[data-theme=dark] .login-header>.text-link,
html[data-theme=dark] .login-note,
html[data-theme=dark] .login-story>p,
html[data-theme=dark] .map-coordinate,
html[data-theme=dark] .map-place,
html[data-theme=dark] .map-place span,
html[data-theme=dark] .map-scale,
html[data-theme=dark] .map-sector,
html[data-theme=dark] .mini-node,
html[data-theme=dark] .mobile-brand-intro,
html[data-theme=dark] .mode-note,
html[data-theme=dark] .module-copy p,
html[data-theme=dark] .module-number,
html[data-theme=dark] .module-tag,
html[data-theme=dark] .nav-list>a,
html[data-theme=dark] .notice,
html[data-theme=dark] .orbit-label,
html[data-theme=dark] .overline,
html[data-theme=dark] .page-footer,
html[data-theme=dark] .password-field>button,
html[data-theme=dark] .password-label label,
html[data-theme=dark] .person-avatar,
html[data-theme=dark] .person-stats,
html[data-theme=dark] .person-stats b,
html[data-theme=dark] .place-info p,
html[data-theme=dark] .place-info>strong>span,
html[data-theme=dark] .placeholder-grid p,
html[data-theme=dark] .plan-list b,
html[data-theme=dark] .plan-list p,
html[data-theme=dark] .preview-label,
html[data-theme=dark] .profile small,
html[data-theme=dark] .profile>span:last-child,
html[data-theme=dark] .remember-login,
html[data-theme=dark] .remember-note,
html[data-theme=dark] .replay-control>label,
html[data-theme=dark] .resource-item small,
html[data-theme=dark] .resource-item>span,
html[data-theme=dark] .scenario-select,
html[data-theme=dark] .search-button,
html[data-theme=dark] .section-heading h2>span,
html[data-theme=dark] .section-heading p,
html[data-theme=dark] .section-heading>.small,
html[data-theme=dark] .section-mini-title,
html[data-theme=dark] .section-mini-title svg,
html[data-theme=dark] .segmented button,
html[data-theme=dark] .service-slot h3,
html[data-theme=dark] .setup-status p,
html[data-theme=dark] .sidebar-help,
html[data-theme=dark] .space-stats p,
html[data-theme=dark] .space-stats strong>span,
html[data-theme=dark] .spark-account-filter,
html[data-theme=dark] .spark-account-list article span,
html[data-theme=dark] .spark-account-list p,
html[data-theme=dark] .spark-edit-enabled small,
html[data-theme=dark] .spark-edit-form>label:not(.spark-edit-enabled),
html[data-theme=dark] .spark-edit-message,
html[data-theme=dark] .spark-edit-times>label,
html[data-theme=dark] .spark-filter,
html[data-theme=dark] .spark-friends>label,
html[data-theme=dark] .spark-handoff p,
html[data-theme=dark] .spark-kpis small,
html[data-theme=dark] .spark-kpis span,
html[data-theme=dark] .spark-loading p,
html[data-theme=dark] .spark-managed-account header p,
html[data-theme=dark] .spark-record p,
html[data-theme=dark] .spark-record-icon,
html[data-theme=dark] .spark-record-meta time,
html[data-theme=dark] .spark-section-title p,
html[data-theme=dark] .spark-setup li,
html[data-theme=dark] .spark-source small,
html[data-theme=dark] .spark-status,
html[data-theme=dark] .spark-workspace-guide span,
html[data-theme=dark] .spark-workspace-status dt,
html[data-theme=dark] .spark-workspace-status p,
html[data-theme=dark] .spark-workspace-status small,
html[data-theme=dark] .stage-label,
html[data-theme=dark] .state-badge,
html[data-theme=dark] .status-card-label,
html[data-theme=dark] .status-refresh,
html[data-theme=dark] .status-scope,
html[data-theme=dark] .step-dot,
html[data-theme=dark] .survivor-information dd,
html[data-theme=dark] .survivor-information dt,
html[data-theme=dark] .survivor-information h5 span,
html[data-theme=dark] .survivor-name small,
html[data-theme=dark] .survivor-name>svg,
html[data-theme=dark] .topbar-avatar,
html[data-theme=dark] .welcome-content p,
html[data-theme=dark] .workspace-label,
html[data-theme=dark] .world-command label,
html[data-theme=dark] .world-error,
html[data-theme=dark] .world-fork-confirm p,
html[data-theme=dark] .world-guide-copy p,
html[data-theme=dark] .world-history-banner,
html[data-theme=dark] .world-history-controls label,
html[data-theme=dark] .world-live-notice,
html[data-theme=dark] .world-principles,
html[data-theme=dark] .world-warning,
html[data-theme=dark] /* Keep small,
html[data-theme=dark] dialog>p,
html[data-theme=dark] input:not([type=range]),
html[data-theme=dark] kbd,
html[data-theme=dark] meaningful text legible on the light glass surfaces. */
.brand small,
html[data-theme=dark] select{color:var(--muted)}
html[data-theme=dark] .chat-avatar,
html[data-theme=dark] .chat-bubble,
html[data-theme=dark] .chat-code pre,
html[data-theme=dark] .chat-code>div,
html[data-theme=dark] .chat-composer textarea,
html[data-theme=dark] .chat-conversation,
html[data-theme=dark] .chat-dialog,
html[data-theme=dark] .chat-dialog :is(input,textarea,select),
html[data-theme=dark] .chat-filter-controls select,
html[data-theme=dark] .chat-group-link.selected,
html[data-theme=dark] .chat-groups,
html[data-theme=dark] .chat-markdown code,
html[data-theme=dark] .chat-members,
html[data-theme=dark] .chat-memory-preview,
html[data-theme=dark] .chat-message.is-user .chat-bubble,
html[data-theme=dark] .chat-model-grid article,
html[data-theme=dark] .chat-notice,
html[data-theme=dark] .chat-role-grid article,
html[data-theme=dark] .chat-setup-note,
html[data-theme=dark] .chat-status.is-error,
html[data-theme=dark] .chat-usage{background:var(--night-panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .chat-code>div,
html[data-theme=dark] .chat-dialog form>label,
html[data-theme=dark] .chat-dialog p,
html[data-theme=dark] .chat-eyebrow,
html[data-theme=dark] .chat-filter-controls [data-chat-filter-count],
html[data-theme=dark] .chat-filter-controls label,
html[data-theme=dark] .chat-invite-list label,
html[data-theme=dark] .chat-markdown blockquote,
html[data-theme=dark] .chat-model-grid p,
html[data-theme=dark] .chat-model-grid small,
html[data-theme=dark] .chat-notice,
html[data-theme=dark] .chat-price-fields label,
html[data-theme=dark] .chat-role-grid p,
html[data-theme=dark] .chat-setup-note,
html[data-theme=dark] .chat-thinking,
html[data-theme=dark] .chat-traits{color:var(--muted)}
html[data-theme=dark] .codex-card .mini-node,
html[data-theme=dark] .cx-compose textarea,
html[data-theme=dark] .cx-item pre,
html[data-theme=dark] .cx-layout,
html[data-theme=dark] .cx-request,
html[data-theme=dark] .cx-request input,
html[data-theme=dark] .cx-request pre,
html[data-theme=dark] .cx-sidebar,
html[data-theme=dark] .cx-sidebar nav>button[aria-current="page"],
html[data-theme=dark] .cx-sidebar select,
html[data-theme=dark] .cx-status [data-online="true"],
html[data-theme=dark] .cx-userMessage{background:var(--night-panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .cx-conversation-head p,
html[data-theme=dark] .cx-empty,
html[data-theme=dark] .cx-empty strong,
html[data-theme=dark] .cx-item header,
html[data-theme=dark] .cx-note,
html[data-theme=dark] .cx-sidebar nav small{color:var(--muted)}
html[data-theme=dark] #pwa-dialog .pwa-cache-status,
html[data-theme=dark] .pwa-countdown > div,
html[data-theme=dark] .pwa-instructions li,
html[data-theme=dark] .pwa-notice,
html[data-theme=dark] .pwa-offline,
html[data-theme=dark] .topbar{background:var(--night-panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] #pwa-dialog > p,
html[data-theme=dark] .pwa-browser-install > p,
html[data-theme=dark] .pwa-browser-install summary,
html[data-theme=dark] .pwa-countdown span,
html[data-theme=dark] .pwa-instructions span,
html[data-theme=dark] .pwa-instructions strong,
html[data-theme=dark] .pwa-maintenance-copy,
html[data-theme=dark] .pwa-maintenance-date,
html[data-theme=dark] .pwa-maintenance-footnote,
html[data-theme=dark] .pwa-notice p{color:var(--muted)}
html[data-theme=dark] :is(.spark-ranking-scopes button[aria-pressed=true],.spark-status.attention){background:var(--night-soft);color:var(--night-accent)}

/* Shared web frosted glass: retain each module's layout and semantic status colors. */
html:root {
  --hub-glass-fill:rgb(255 255 255 / .14);
  --hub-glass-sheen:rgb(255 255 255 / .09);
  --hub-glass-solid:#f8f5f6;
  --hub-glass-edge:rgb(255 255 255 / .55);
  --hub-glass-highlight:rgb(255 255 255 / .38);
  --hub-glass-shadow:0 2px 4px rgb(30 34 42 / .07),0 18px 42px -14px rgb(30 34 42 / .22),inset 0 1px 0 rgb(255 255 255 / .96),inset 1px 0 0 rgb(255 255 255 / .42),inset 0 -1px 0 rgb(32 36 44 / .10);
  --hub-glass-filter:blur(18px) saturate(115%);
}
html[data-theme=dark] {
  --hub-glass-fill:rgb(55 58 64 / .20);
  --hub-glass-sheen:rgb(255 255 255 / .045);
  --hub-glass-solid:#0f1118;
  --hub-glass-edge:rgb(220 226 236 / .16);
  --hub-glass-highlight:rgb(235 239 246 / .06);
  --hub-glass-shadow:0 2px 4px rgb(0 0 0 / .24),0 16px 36px -14px rgb(0 0 0 / .60),inset 0 1px 0 rgb(255 255 255 / .24),inset 1px 0 0 rgb(255 255 255 / .09),inset 0 -1px 0 rgb(0 0 0 / .32);
}
html body {
  background:radial-gradient(ellipse at 8% 12%,rgb(197 54 76 / .09),transparent 48%),radial-gradient(ellipse at 92% 72%,rgb(166 135 109 / .13),transparent 52%),#f5f2f3;
  background-attachment:fixed;
}
html[data-theme=dark] body {
  background:var(--night-bg);
  background-attachment:fixed;
}
html:root,html[data-theme=dark] {
  --ui-surface:var(--hub-glass-fill);--ui-surface-strong:var(--hub-glass-fill);--ui-surface-solid:var(--hub-glass-solid);
  --ui-surface-soft:var(--hub-glass-fill);--glass-panel:var(--hub-glass-fill);--glass-elevated:var(--hub-glass-fill);
  --glass-input:var(--hub-glass-fill);--chrome-bg:var(--hub-glass-fill);
}
html body :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-header,.detail-bottom,.welcome-panel,.progress-panel,.boundary-panel,.service-slot,.world-map-panel,.resources-panel,.survivor-card,.secondary-panel,.world-guide-card,.login-shell,.brand-panel,.access-pane,.access-card,.login-card,.spark-panel,.spark-session-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.spark-workspace-status,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.chat-composer,.chat-provider-card,.chat-character-card,.chat-memory-card,.chat-model-grid article,.chat-role-grid article,.cx-layout,.cx-sidebar,.cx-conversation,.cx-compose,.cx-request,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat,dialog,.popover,.dropdown-menu,#farm-module .n-card,#farm-overlays .n-card,#farm-overlays .n-dialog,#farm-module .glass-panel,#farm-module .glass-elevated,#farm-module .stat-card,#farm-module .setting-card,#farm-module .ov-card,#farm-module .farm-card,#farm-module .friend-card) {
  background-color:var(--hub-glass-fill)!important;
  background-image:linear-gradient(155deg,var(--hub-glass-sheen),transparent 40%,rgb(0 0 0 / .025))!important;
  border-color:var(--hub-glass-edge)!important;
  box-shadow:var(--hub-glass-shadow);
  backdrop-filter:var(--hub-glass-filter);
  -webkit-backdrop-filter:var(--hub-glass-filter);
}
/* A single active surface follows the pointer; content and hit areas stay still. */
@media(hover:hover) and (pointer:fine) {
  html body :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-header,.detail-bottom,.welcome-panel,.progress-panel,.boundary-panel,.service-slot,.world-map-panel,.resources-panel,.survivor-card,.secondary-panel,.world-guide-card,.login-shell,.brand-panel,.access-pane,.access-card,.login-card,.spark-panel,.spark-session-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.spark-workspace-status,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.chat-composer,.chat-provider-card,.chat-character-card,.chat-memory-card,.chat-model-grid article,.chat-role-grid article,.cx-layout,.cx-sidebar,.cx-conversation,.cx-compose,.cx-request,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat,dialog,.popover,.dropdown-menu,#farm-module .n-card,#farm-overlays .n-card,#farm-overlays .n-dialog,#farm-module .glass-panel,#farm-module .glass-elevated,#farm-module .stat-card,#farm-module .setting-card,#farm-module .ov-card,#farm-module .farm-card,#farm-module .friend-card).hub-glass-follow {
    background-image:radial-gradient(320px circle at var(--hub-pointer-x,50%) var(--hub-pointer-y,50%),var(--hub-glass-highlight),transparent 75%),linear-gradient(155deg,var(--hub-glass-sheen),transparent 40%,rgb(0 0 0 / .025))!important;
  }
}
@supports not (backdrop-filter:blur(1px)) {
  html body :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-header,.detail-bottom,.welcome-panel,.progress-panel,.boundary-panel,.service-slot,.world-map-panel,.resources-panel,.survivor-card,.secondary-panel,.world-guide-card,.login-shell,.brand-panel,.access-pane,.access-card,.login-card,.spark-panel,.spark-session-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.spark-workspace-status,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.chat-composer,.chat-provider-card,.chat-character-card,.chat-memory-card,.chat-model-grid article,.chat-role-grid article,.cx-layout,.cx-sidebar,.cx-conversation,.cx-compose,.cx-request,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat,dialog,.popover,.dropdown-menu,#farm-module .n-card,#farm-overlays .n-card,#farm-overlays .n-dialog,#farm-module .glass-panel,#farm-module .glass-elevated,#farm-module .stat-card,#farm-module .setting-card,#farm-module .ov-card,#farm-module .farm-card,#farm-module .friend-card){background-color:var(--hub-glass-solid)!important}
}
@media(prefers-reduced-transparency:reduce) {
  html body :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-header,.detail-bottom,.welcome-panel,.progress-panel,.boundary-panel,.service-slot,.world-map-panel,.resources-panel,.survivor-card,.secondary-panel,.world-guide-card,.login-shell,.brand-panel,.access-pane,.access-card,.login-card,.spark-panel,.spark-session-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.spark-workspace-status,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.chat-composer,.chat-provider-card,.chat-character-card,.chat-memory-card,.chat-model-grid article,.chat-role-grid article,.cx-layout,.cx-sidebar,.cx-conversation,.cx-compose,.cx-request,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat,dialog,.popover,.dropdown-menu,#farm-module .n-card,#farm-overlays .n-card,#farm-overlays .n-dialog,#farm-module .glass-panel,#farm-module .glass-elevated,#farm-module .stat-card,#farm-module .setting-card,#farm-module .ov-card,#farm-module .farm-card,#farm-module .friend-card){background-color:var(--hub-glass-solid)!important;backdrop-filter:none;-webkit-backdrop-filter:none}
  html body :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-header,.detail-bottom,.welcome-panel,.progress-panel,.boundary-panel,.service-slot,.world-map-panel,.resources-panel,.survivor-card,.secondary-panel,.world-guide-card,.login-shell,.brand-panel,.access-pane,.access-card,.login-card,.spark-panel,.spark-session-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.spark-workspace-status,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.chat-composer,.chat-provider-card,.chat-character-card,.chat-memory-card,.chat-model-grid article,.chat-role-grid article,.cx-layout,.cx-sidebar,.cx-conversation,.cx-compose,.cx-request,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat,dialog,.popover,.dropdown-menu,#farm-module .n-card,#farm-overlays .n-card,#farm-overlays .n-dialog,#farm-module .glass-panel,#farm-module .glass-elevated,#farm-module .stat-card,#farm-module .setting-card,#farm-module .ov-card,#farm-module .farm-card,#farm-module .friend-card).hub-glass-follow{background-image:none!important}
}
@media(prefers-reduced-motion:reduce),(hover:none),(pointer:coarse) {
  html body :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-header,.detail-bottom,.welcome-panel,.progress-panel,.boundary-panel,.service-slot,.world-map-panel,.resources-panel,.survivor-card,.secondary-panel,.world-guide-card,.login-shell,.brand-panel,.access-pane,.access-card,.login-card,.spark-panel,.spark-session-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.spark-workspace-status,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.chat-composer,.chat-provider-card,.chat-character-card,.chat-memory-card,.chat-model-grid article,.chat-role-grid article,.cx-layout,.cx-sidebar,.cx-conversation,.cx-compose,.cx-request,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat,dialog,.popover,.dropdown-menu,#farm-module .n-card,#farm-overlays .n-card,#farm-overlays .n-dialog,#farm-module .glass-panel,#farm-module .glass-elevated,#farm-module .stat-card,#farm-module .setting-card,#farm-module .ov-card,#farm-module .farm-card,#farm-module .friend-card).hub-glass-follow{background-image:none!important}
}
html.reduce-motion body :is(.sidebar,.topbar,.glass,.module-card,.app-menu>div,.detail-panel,.detail-header,.detail-bottom,.welcome-panel,.progress-panel,.boundary-panel,.service-slot,.world-map-panel,.resources-panel,.survivor-card,.secondary-panel,.world-guide-card,.login-shell,.brand-panel,.access-pane,.access-card,.login-card,.spark-panel,.spark-session-panel,.spark-account,.spark-managed-account,.spark-kpis>div,.spark-workspace-status,.cloud-note-list,.cloud-note-preview,.cloud-outline,.cloud-reader-head,.chat-groups,.chat-conversation,.chat-settings,.chat-bubble,.chat-compose,.chat-composer,.chat-provider-card,.chat-character-card,.chat-memory-card,.chat-model-grid article,.chat-role-grid article,.cx-layout,.cx-sidebar,.cx-conversation,.cx-compose,.cx-request,.live-room,.dy-ranking-card,.dy-shift-hour,.dy-shift-search-cards>.dy-shift-person,.analytics-user-list>button,.dy-overview-metrics>div,.dy-overview-rooms article,.monitor-quality article,.farm-account-strip,.farm-first-account,.pwa-install-card,.pwa-update-card,.pwa-update-banner,.platform-user,.platform-card,.platform-panel,.platform-form,.platform-user-card,.platform-config-card,.platform-stat,dialog,.popover,.dropdown-menu,#farm-module .n-card,#farm-overlays .n-card,#farm-overlays .n-dialog,#farm-module .glass-panel,#farm-module .glass-elevated,#farm-module .stat-card,#farm-module .setting-card,#farm-module .ov-card,#farm-module .farm-card,#farm-module .friend-card).hub-glass-follow{background-image:none!important}

/* 奶茶活动的局部纸张变量和旧组件渐变统一跟随夜间主题，不依赖构建哈希。 */
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-content,.tea-detail,.tea-dialog,.tea-mask){--wood:var(--ui-border-strong);--wood-dark:var(--ui-border);--paper:var(--ui-surface);--paper-hi:var(--ui-surface-strong);--edge:var(--ui-border);--ink:var(--ui-ink);--muted:var(--ui-muted);--slate:var(--ui-surface-strong);color:var(--ui-ink)}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) :is(button,input,select){color:var(--ui-ink);border-color:var(--ui-border);background:var(--ui-surface-strong);box-shadow:none}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) :is(.tea-tabs,.tea-wallet__chip,.wallet__chip,.paper,.sheet,.metrics--boxes span,.item-box,.shelf,.cup,.cup--locked,.goods-card,.receipt,.rank-no,.quick__icon,.tea-detail,.tea-dialog,.reward-list>span,.quantity input){color:var(--ui-ink);border-color:var(--ui-border);background:var(--ui-surface-strong)!important;box-shadow:none}
html[data-theme=dark] :is(#farm-module,#farm-overlays) .tea-page{background:var(--ui-surface)!important}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) :is(button.primary,button.green,.make__btn,.chip-btn.selected,.tea-tabs button.selected,.rank-no--top){color:var(--night-bg)!important;border-color:var(--red);background:var(--red)!important;box-shadow:none}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) :is(button:disabled,input:disabled,select:disabled){color:var(--ui-muted)!important;border-color:var(--ui-border);background:var(--ui-surface-soft)!important;box-shadow:none;opacity:1}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) :is(.signboard,.signboard__upgrade,.receipt__title,.dark-bar,.official-rule--title,.shelf__ribbon,.cup__stock,.tag){color:var(--ui-ink);border-color:var(--ui-border);background:var(--ui-surface-strong)!important;text-shadow:none;box-shadow:none}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) :is(h2,.fruit,.revenue__track){color:var(--ui-ink);background:var(--ui-surface-soft);border-color:var(--ui-border)}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) .revenue__track span{background:var(--red)}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) .quick__icon{color:var(--red)}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) .error{color:var(--ui-danger,#ffb4a9)}
html[data-theme=dark] :is(#farm-module,#farm-overlays) .tea-mask{background:color-mix(in srgb,var(--night-bg) 75%,transparent)}
html[data-theme=dark] :is(#farm-module,#farm-overlays) :is(.tea-page,.tea-mask) .close{color:var(--night-bg);background:var(--red);box-shadow:none}

/* Internal separators stay quieter than the glass surface outline. */
html:root{--hub-divider:color-mix(in srgb,var(--ink) 9%,transparent)}
html body :is(.topbar,.dy-user-dialog-heading,.announcement-dialog>header,.announcement-dialog>footer,.detail-header,.detail-bottom,.account-identity-foot,.membership-term,.account-benefit+.account-benefit,.account-setting+.account-setting,.spark-record,.spark-targets,.dy-reminder-destination,.dy-reminder-targets article,.dy-reminder-empty,.live-event,.analytics-recent article,.analytics-events article,.analytics-mini-table th,.analytics-mini-table td,.product-link){border-top-color:var(--hub-divider)!important;border-bottom-color:var(--hub-divider)!important}

/* Sparse account watermark: visual only, never intercepts page interaction. */
[data-user-watermark]{position:fixed;inset:0;z-index:90;pointer-events:none;user-select:none;background-repeat:repeat;background-position:center bottom;opacity:.075}
[data-theme="dark"] [data-user-watermark]{opacity:.085}
@media print{[data-user-watermark]{position:fixed}}
.spark-native-content{min-height:620px;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:clamp(14px,2.5vw,28px)}
.spark-native-content[aria-busy="true"]{display:grid;place-items:center;color:var(--muted)}
.spark-native-content .spark-native-loading{margin:auto;color:var(--muted)}
.spark-native-content .shell{min-height:auto;background:transparent}
.spark-native-content .shell>.rail,.spark-native-content .shell>.main>.mobile-top,.spark-native-content .tabbar{display:none}
.spark-native-content .shell>.main{width:100%;margin:0}
.spark-native-content .page{max-width:none;padding:0;background:transparent}
html[data-theme="dark"] .spark-native-content{background:var(--night-bg);border-color:var(--line)}
@media(max-width:760px){.spark-native-content{min-height:540px;padding:12px}}

.spark-native-content{min-height:620px;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:clamp(14px,2.5vw,28px)}
.spark-native-content[aria-busy="true"]{display:grid;place-items:center;color:var(--muted)}
.spark-native-content .spark-native-loading{margin:auto;color:var(--muted)}
.spark-native-content .shell{min-height:auto;background:transparent}
.spark-native-content .shell>.rail,.spark-native-content .shell>.main>.mobile-top,.spark-native-content .tabbar{display:none}
.spark-native-content .shell>.main{width:100%;margin:0}
.spark-native-content .page{max-width:none;padding:0;background:transparent}
html[data-theme="dark"] .spark-native-content{background:var(--night-bg);border-color:var(--line)}
@media(max-width:760px){.spark-native-content{min-height:540px;padding:12px}}

.spark-native-content{min-height:620px;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:clamp(14px,2.5vw,28px)}
.spark-native-content[aria-busy="true"]{display:grid;place-items:center;color:var(--muted)}
.spark-native-content .spark-native-loading{margin:auto;color:var(--muted)}
.spark-native-content .shell{min-height:auto;background:transparent}
.spark-native-content .shell>.rail,.spark-native-content .shell>.main>.mobile-top,.spark-native-content .tabbar{display:none}
.spark-native-content .shell>.main{width:100%;margin:0}
.spark-native-content .page{max-width:none;padding:0;background:transparent}
html[data-theme="dark"] .spark-native-content{background:var(--night-bg);border-color:var(--line)}
@media(max-width:760px){.spark-native-content{min-height:540px;padding:12px}}
#spark-native-content{display:block!important;visibility:visible!important;opacity:1!important;min-height:620px!important}
#spark-native-content>.page{display:block!important;visibility:visible!important;opacity:1!important;min-height:0!important}
#spark-native-content>.page>*{visibility:visible!important;opacity:1!important}
