/* 深色 · 月夜靛蓝：由各页浅色样式按同一套规则推出的深色副本（开关在「我的 › 设置」侧栏，存 localStorage fc-theme）。
   只含颜色相关声明，全部挂在 html[data-fc-theme="dark"] 下；改浅色样式后用 scripts 外的生成脚本重新推导，或在文件末尾手动微调。 */

/* ── assets/fc-foundation.css ── */
html[data-fc-theme="dark"] .fc-app-header{--fc-header-line-color:rgba(221,224,233,0.085);--fc-header-shadow-color:rgba(221,224,233,0.076);--fc-header-surface:rgba(255,255,255,0.16)}
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--centered{border-bottom:1px solid transparent}
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--centered[data-fc-header-state="scrolled"]{border-bottom-color:var(--fc-header-line-color);box-shadow:0 14px 28px -26px var(--fc-header-shadow-color)}
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--immersive{border-bottom:1px solid transparent;background-color:transparent}
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--immersive[data-fc-header-state="scrolled"]{border-bottom-color:var(--fc-header-line-color);background-color:var(--fc-header-surface);box-shadow:0 14px 28px -24px var(--fc-header-shadow-color)}
html[data-fc-theme="dark"] .fc-app-header__title:is(a, button):focus-visible{outline:2px solid var(--fc-header-title-focus, rgba(221,224,233,0.399))}
html[data-fc-theme="dark"] .fc-icon-button:focus-visible{outline:2px solid var(--fc-icon-button-focus, rgba(217,88,74,0.864))}
html[data-fc-theme="dark"] .fc-app-header .fc-header-back{border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.109);box-shadow:inset 0 1px 0 rgba(255,255,255,0.16),
    0 8px 20px rgba(0,0,0,0.091);color:inherit}
html[data-fc-theme="dark"] .fc-app-header .fc-header-back:is(:hover, :focus-visible){background-color:rgba(255,255,255,0.16);box-shadow:inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 22px rgba(0,0,0,0.119)}
html[data-fc-theme="dark"] .fc-app-header .fc-header-back{--fc-icon-button-focus:rgba(221,224,233,0.399)}

/* ── assets/fc-shell-surfaces.css ── */
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--surface-paper{--fc-header-surface:rgba(255,255,255,0.16);--fc-header-line-color:rgba(221,224,233,0.095);--fc-header-shadow-color:rgba(221,224,233,0.095);background-color:var(--fc-header-surface)}
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--surface-brand{--fc-header-line-color:rgba(255,255,255,0.045);--fc-header-shadow-color:rgba(221,224,233,0.304)}
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--surface-legacy{--fc-header-surface:rgba(255,255,255,0.16);--fc-header-line-color:rgba(221,224,233,0.085);--fc-header-shadow-color:rgba(221,224,233,0.095)}

/* ── assets/fc-buttons.css ── */
html[data-fc-theme="dark"] .fc-button{border:1px solid var(--fc-button-border, transparent);background:var(--fc-button-surface, transparent);color:var(--fc-button-color, currentColor)}
html[data-fc-theme="dark"] .fc-button:is(:hover, :focus-visible):not(:disabled, [aria-disabled="true"]){border-color:var(--fc-button-hover-border, var(--fc-button-border, transparent));background-color:var(--fc-button-hover-surface, var(--fc-button-surface, transparent));color:var(--fc-button-hover-color, var(--fc-button-color, currentColor))}
html[data-fc-theme="dark"] :is(.fc-button, .fc-button-behavior):focus-visible{outline:none;box-shadow:0 0 0 2px var(--fc-button-focus-surface, #131728),
    0 0 0 4px var(--fc-button-focus, rgba(0,0,0,0.588))}
html[data-fc-theme="dark"] .fc-button--primary{--fc-button-border:var(--fc-button-primary-border, #D5D7DF);--fc-button-surface:var(--fc-button-primary-surface, #D5D7DF);--fc-button-color:var(--fc-button-primary-color, #0F121F);--fc-button-hover-border:var(--fc-button-primary-hover-border, var(--fc-button-primary-border, #D5D7DF));--fc-button-hover-surface:var(--fc-button-primary-hover-surface, #E1E2E8);--fc-button-hover-color:var(--fc-button-primary-hover-color, var(--fc-button-primary-color, #0F121F))}
html[data-fc-theme="dark"] .fc-button--secondary{--fc-button-border:var(--fc-button-secondary-border, rgba(221,224,233,0.171));--fc-button-hover-border:var(--fc-button-secondary-hover-border, var(--fc-button-secondary-border, rgba(221,224,233,0.171)));--fc-button-hover-surface:var(--fc-button-secondary-hover-surface, rgba(255,255,255,0.16))}
html[data-fc-theme="dark"] .fc-button--danger{--fc-button-color:var(--fc-button-danger-color, #D9584A);--fc-button-hover-color:var(--fc-button-danger-hover-color, #D9584A);--fc-button-hover-border:var(--fc-button-danger-hover-border, rgba(217,88,74,0.544));--fc-button-hover-surface:var(--fc-button-danger-hover-surface, rgba(217,88,74,0.088))}
html[data-fc-theme="dark"] .fc-button > .fc-icon{color:currentColor}

/* ── assets/fc-form-controls.css ── */
html[data-fc-theme="dark"] .fc-field-control{color:var(--fc-field-color, currentColor);caret-color:var(--fc-field-caret, currentColor)}
html[data-fc-theme="dark"] .fc-field-control:focus{outline:none;border-color:var(--fc-field-focus-border, currentColor);background-color:var(--fc-field-focus-surface, transparent);box-shadow:var(--fc-field-focus-shadow, none)}
html[data-fc-theme="dark"] .fc-field-control[aria-invalid="true"]{border-color:var(--fc-field-invalid-border, #D9584A);background-color:var(--fc-field-invalid-surface, transparent);box-shadow:var(--fc-field-invalid-shadow, none)}

/* ── assets/fc-selection-controls.css ── */
html[data-fc-theme="dark"] .fc-selection-control{border:0;background:transparent;color:var(--fc-selection-color, rgba(221,224,233,0.684))}
html[data-fc-theme="dark"] .fc-selection-control:is(:hover, :focus-visible){color:var(--fc-selection-active-color, rgba(221,224,233,0.912));outline:none}
html[data-fc-theme="dark"] .fc-selection-control:focus-visible{box-shadow:0 0 0 2px var(--fc-selection-focus, rgba(0,0,0,0.588))}
html[data-fc-theme="dark"] .fc-selection-control--card:focus-visible{box-shadow:0 0 0 2px var(--fc-selection-focus-surface, #131728), 0 0 0 4px var(--fc-selection-focus, rgba(0,0,0,0.588))}
html[data-fc-theme="dark"] .fc-segmented-control{--fc-selection-selected-surface:rgba(255,255,255,0.16);--fc-selection-selected-shadow:0 1px 5px -1px rgba(221,224,233,0.152);border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.16)}
html[data-fc-theme="dark"] .fc-segmented-control > .fc-selection-control:is([aria-selected="true"], .is-selected){background:var(--fc-selection-selected-surface);box-shadow:var(--fc-selection-selected-shadow);color:var(--fc-selection-active-color, rgba(221,224,233,0.912))}
html[data-fc-theme="dark"] .fc-selection-control--underline::after{background:transparent}
html[data-fc-theme="dark"] .fc-selection-control--underline:is([aria-pressed="true"], [aria-selected="true"], .is-selected){color:var(--fc-selection-active-color, rgba(221,224,233,0.912))}
html[data-fc-theme="dark"] .fc-selection-control--underline:is([aria-pressed="true"], [aria-selected="true"], .is-selected)::after{background:var(--fc-selection-accent, #C4483A)}

/* ── assets/fc-header-account.css ── */
html[data-fc-theme="dark"] .fc-header-account{border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.109);box-shadow:inset 0 1px 0 rgba(255,255,255,0.16),
    0 8px 20px rgba(0,0,0,0.091);color:inherit}
html[data-fc-theme="dark"] .fc-header-account:is(:hover, :focus-visible){border-color:rgba(255,255,255,0.16);background:rgba(255,255,255,0.16);box-shadow:inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 22px rgba(0,0,0,0.119);color:inherit;outline:none}
html[data-fc-theme="dark"] .fc-header-account:focus-visible{outline:2px solid rgba(221,224,233,0.399)}

/* ── assets/fc-tab-bar.css ── */
@media (max-width: 900px){html[data-fc-theme="dark"] .fc-tab-bar,html[data-fc-theme="dark"] #mob-nav.fc-tab-bar{border:0 !important;background:transparent !important;box-shadow:none !important}
html[data-fc-theme="dark"] .fc-tab-bar__today,html[data-fc-theme="dark"] .fc-tab-bar__segments{border:1px solid rgba(255,255,255,0.058);background:rgba(4,6,18,0.85);box-shadow:inset 0 1px 0 rgba(255,255,255,0.058),
      inset 0 -1px 0 rgba(255,255,255,0.019),
      0 10px 28px rgba(0,0,0,0.252)}
html[data-fc-theme="dark"] .fc-tab-bar__today::before,html[data-fc-theme="dark"] .fc-tab-bar__segments::before{background:linear-gradient(155deg, rgba(255,255,255,0.038), transparent 38%)}
html[data-fc-theme="dark"] .fc-tab-bar__today,html[data-fc-theme="dark"] .fc-tab-bar__item{border:0;color:rgba(255,255,255,0.16)}
html[data-fc-theme="dark"] .fc-tab-bar__today{background:rgba(255,255,255,0.16);color:rgba(221,224,233,0.684)}
html[data-fc-theme="dark"] .fc-tab-bar__item{background:transparent}
html[data-fc-theme="dark"] .fc-tab-bar__item:is(:hover, :focus-visible){color:#0F121F}
html[data-fc-theme="dark"] .fc-tab-bar__today:is(:hover, :focus-visible){color:#DDDFE5}
html[data-fc-theme="dark"] .fc-tab-bar__today:focus-visible,html[data-fc-theme="dark"] .fc-tab-bar__item:focus-visible{outline:2px solid rgba(255,255,255,0.16)}
html[data-fc-theme="dark"] .fc-tab-bar__today:focus-visible{outline-color:rgba(221,224,233,0.456)}
html[data-fc-theme="dark"] .fc-tab-bar__item[aria-current="page"],html[data-fc-theme="dark"] .fc-tab-bar__item[aria-expanded="true"]{background:rgba(255,255,255,0.042);color:#0F121F;box-shadow:inset 0 1px 0 rgba(255,255,255,0.026)}
html[data-fc-theme="dark"] .fc-tab-bar__today[aria-current="page"]{background:rgba(255,255,255,0.16);color:rgba(221,224,233,0.836);box-shadow:inset 0 1px 0 rgba(255,255,255,0.16),
      0 10px 28px rgba(0,0,0,0.196)}
html[data-fc-theme="dark"] .fc-tab-bar__today[aria-current="page"]:is(:hover, :focus-visible){color:#DDDFE5}
}

/* ── journal/journal.css ── */
html[data-fc-theme="dark"] .fc-journal-btn{border:1px solid rgba(221,224,233,0.095);background:rgba(255,255,255,0.134);color:#CFD2DB;box-shadow:none}
html[data-fc-theme="dark"] .fc-journal-badge{background:#C4483A;color:#121627}
html[data-fc-theme="dark"] .fc-j-veil{background:rgba(4,6,18,0.384)}
html[data-fc-theme="dark"] .fc-j-sheet{background:#151A2D;color:#CFD2DB;box-shadow:0 -8px 24px rgba(0,0,0,0.168)}
html[data-fc-theme="dark"] .fc-j-grip{background:#1D243E}
html[data-fc-theme="dark"] .fc-j-tabs{background:rgba(221,224,233,0.057)}
html[data-fc-theme="dark"] .fc-j-tab{border:0;background:transparent;color:#9398AD}
html[data-fc-theme="dark"] .fc-j-tab[aria-selected="true"]{background:transparent;color:#0E1433}
html[data-fc-theme="dark"] .fc-j-date{border:0;background:transparent;color:#9398AD}
html[data-fc-theme="dark"] .fc-j-close{border:0;background:transparent;color:#9398AD}
html[data-fc-theme="dark"] .fc-j-label{color:#9398AD}
html[data-fc-theme="dark"] .fc-j-chip{border:1px solid #1D243E;background:transparent;color:#CFD2DB}
html[data-fc-theme="dark"] .fc-j-chip[aria-pressed="true"]{background:#CFD2DB;color:#14182A}
html[data-fc-theme="dark"] .fc-j-list{border-top:1px solid #1B2139}
html[data-fc-theme="dark"] .fc-j-row .t{color:#CFD2DB}
html[data-fc-theme="dark"] .fc-j-row .m{color:#737A96}
html[data-fc-theme="dark"] .fc-j-del{border:0;background:transparent;color:#737A96}
html[data-fc-theme="dark"] .fc-j-note{background:rgba(255,255,255,0.144);color:#9398AD}
html[data-fc-theme="dark"] .fc-j-note b{color:#CFD2DB}
html[data-fc-theme="dark"] .fc-j-note .hint{color:#D9584A}
html[data-fc-theme="dark"] .fc-j-seg{border:1px solid #1D243E}
html[data-fc-theme="dark"] .fc-j-seg button{border:0;background:transparent;color:#CFD2DB}
html[data-fc-theme="dark"] .fc-j-seg button[aria-pressed="true"]{background:#CFD2DB;color:#14182A}
html[data-fc-theme="dark"] .fc-j-sum{color:#9398AD}
html[data-fc-theme="dark"] .fc-j-sum span{color:#CFD2DB}
html[data-fc-theme="dark"] .fc-j-sum span.in{color:#D9584A}
html[data-fc-theme="dark"] .fc-j-amt input{border:1px solid #1D243E;outline:none;background:transparent;color:#CFD2DB}
html[data-fc-theme="dark"] .fc-j-amt input:focus-visible{border-color:#9EA2B5}
html[data-fc-theme="dark"] .fc-j-add{border:0;background:#CFD2DB;color:#14182A}
html[data-fc-theme="dark"] .fc-j-daysum{color:#9398AD}
html[data-fc-theme="dark"] .fc-j-toast{color:#9398AD}
html[data-fc-theme="dark"] .fc-j-cal{background:#131728;box-shadow:0 12px 30px rgba(0,0,0,0.252)}
html[data-fc-theme="dark"] .fc-j-calhead button{border:0;background:transparent;color:#9398AD}
html[data-fc-theme="dark"] .fc-j-week div{color:#737A96}
html[data-fc-theme="dark"] .fc-j-day{border:0;background:transparent}
html[data-fc-theme="dark"] .fc-j-day span.n{border:1px solid transparent;color:#CFD2DB}
html[data-fc-theme="dark"] .fc-j-day[aria-pressed="true"] span.n{background:#CFD2DB;color:#14182A}
html[data-fc-theme="dark"] .fc-j-day.is-today span.n{color:#D9584A}
html[data-fc-theme="dark"] .fc-j-day.is-today[aria-pressed="false"] span.n{border-color:#D9584A}
html[data-fc-theme="dark"] .fc-j-day.is-today[aria-pressed="true"] span.n{color:#14182A}
html[data-fc-theme="dark"] .fc-j-calfoot{border-top:1px solid rgba(221,224,233,0.076)}
html[data-fc-theme="dark"] .fc-j-calfoot button{border:0;background:transparent;color:#D9584A}
html[data-fc-theme="dark"] .fc-j-root :focus-visible{outline:2px solid rgba(221,224,233,0.475)}

/* ── assets/me.css ── */
html[data-fc-theme="dark"]{--paper:#131728;--paper-soft:#121625;--paper-wash:#161B2E;--ink:#D5D7DF;--ink-soft:#989DB1;--ink-faint:#6B728D;--red:#D9584A;--green:#AFBA96;--line:rgba(221,224,233,0.152);--line-soft:rgba(221,224,233,0.085)}
html[data-fc-theme="dark"]{background:#1E243F}
html[data-fc-theme="dark"] body{background:transparent;color:var(--ink)}
html[data-fc-theme="dark"] body::before{background:var(--paper);box-shadow:0 0 38px rgba(0,0,0,0.182)}
html[data-fc-theme="dark"] a{color:inherit}
html[data-fc-theme="dark"] button{color:inherit}
html[data-fc-theme="dark"] .skip-link{background:var(--ink);color:#0F121F}
html[data-fc-theme="dark"] .me-topbar-label{color:var(--ink)}
html[data-fc-theme="dark"] .me-topbar-settings{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-topbar-settings:hover{color:var(--red)}
html[data-fc-theme="dark"] .me-session-indicator{color:var(--ink-faint)}
html[data-fc-theme="dark"] .me-session-indicator.is-ready{color:var(--green)}
html[data-fc-theme="dark"] .visually-hidden{border:0!important}
html[data-fc-theme="dark"] .me-loading{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-loading-mark,html[data-fc-theme="dark"] .me-seal{border:1px solid rgba(221,224,233,0.342)}
html[data-fc-theme="dark"] .me-eyebrow,html[data-fc-theme="dark"] .me-kicker{color:var(--red)}
html[data-fc-theme="dark"] .me-locked>p:not(.me-eyebrow){color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-primary-action,html[data-fc-theme="dark"] .me-empty-action{--fc-button-primary-color:#111524;--fc-button-primary-hover-surface:#E6E8EC}
html[data-fc-theme="dark"] .me-identity .me-seal{border-color:rgba(221,224,233,0.323)}
html[data-fc-theme="dark"] .me-profile-status{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-profile-status i{color:var(--ink-faint)}
html[data-fc-theme="dark"] .me-action{border:0;background:rgba(255,255,255,0.16);color:var(--ink);box-shadow:0 8px 22px rgba(0,0,0,0.063)}
html[data-fc-theme="dark"] .me-action:hover{background:rgba(255,255,255,0.16);box-shadow:0 10px 24px rgba(0,0,0,0.098)}
html[data-fc-theme="dark"] .me-action.is-selected{background:var(--ink);color:#111524;box-shadow:0 10px 24px rgba(0,0,0,0.14)}
html[data-fc-theme="dark"] .me-action.is-selected .me-action-icon{color:#111524}
html[data-fc-theme="dark"] .me-action.is-selected small{color:rgba(255,255,255,0.16)}
html[data-fc-theme="dark"] .me-action-icon{color:var(--ink)}
html[data-fc-theme="dark"] .me-action-icon svg{fill:none;stroke:currentColor}
html[data-fc-theme="dark"] .me-action small{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-section-link{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-section-link:hover{color:var(--red)}
html[data-fc-theme="dark"] .me-archive-tile{background:var(--paper-wash)}
html[data-fc-theme="dark"] .me-archive-tile:nth-child(3n+2){background:#171C31}
html[data-fc-theme="dark"] .me-archive-tile:nth-child(3n){background:#15192C}
html[data-fc-theme="dark"] .me-archive-tile:hover{background:var(--paper-soft)}
html[data-fc-theme="dark"] .me-archive-type{color:var(--red)}
html[data-fc-theme="dark"] .me-pillar{color:var(--ink)}
html[data-fc-theme="dark"] .me-archive-meta{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-feature-record{background:rgba(255,255,255,0.147);box-shadow:0 8px 22px rgba(0,0,0,0.049)}
html[data-fc-theme="dark"] .me-feature-mark{background:var(--paper-wash);color:var(--red)}
html[data-fc-theme="dark"] .me-feature-copy small{color:var(--red)}
html[data-fc-theme="dark"] .me-feature-copy p{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-feature-record time{color:var(--ink-faint)}
html[data-fc-theme="dark"] .me-empty-icon{background:rgba(255,255,255,0.16);color:var(--ink)}
html[data-fc-theme="dark"] .me-empty-icon svg{fill:none;stroke:currentColor}
html[data-fc-theme="dark"] .me-empty p{color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-inline-status{color:var(--red)}
@media(max-width:760px){html[data-fc-theme="dark"]{background:var(--paper)}
html[data-fc-theme="dark"] body::before{box-shadow:none}
}
html[data-fc-theme="dark"] .me-drawer-backdrop{background:rgba(4,6,18,0.448)}
html[data-fc-theme="dark"] .me-drawer-panel{background:var(--paper);box-shadow:-12px 0 32px rgba(0,0,0,0.196);outline:none}
html[data-fc-theme="dark"] .me-drawer-head h2{color:var(--ink)}
html[data-fc-theme="dark"] .me-drawer-close{border:0;background:transparent;color:var(--ink-soft)}
html[data-fc-theme="dark"] .me-drawer-kicker{color:var(--ink-faint)}
html[data-fc-theme="dark"] .me-drawer-row{border-bottom:1px solid var(--line-soft)}
html[data-fc-theme="dark"] .me-drawer-row-copy strong{color:var(--ink)}
html[data-fc-theme="dark"] .me-drawer-row-copy small{color:var(--ink-faint)}
html[data-fc-theme="dark"] .me-switch{border:1px solid var(--line);background:var(--paper-wash)}
html[data-fc-theme="dark"] .me-switch-knob{background:#0F121F;box-shadow:0 1px 3px rgba(0,0,0,0.308)}
html[data-fc-theme="dark"] .me-switch[aria-checked="true"]{background:#BFC2CF;border-color:#BFC2CF}
html[data-fc-theme="dark"] .me-switch[aria-checked="true"] .me-switch-knob{background:#151A2D}
html[data-fc-theme="dark"] .me-switch:focus-visible{outline:2px solid var(--red)}
html[data-fc-theme="dark"] .me-drawer-link{color:var(--ink-soft)}

/* ── assets/me-settings.css ── */
html[data-fc-theme="dark"] .settings-back{color:var(--ink)}
html[data-fc-theme="dark"] .settings-back:hover{color:var(--red)}
html[data-fc-theme="dark"] .settings-intro{border-bottom:1px solid var(--line)}
html[data-fc-theme="dark"] .settings-intro>p:last-of-type{color:var(--ink-soft)}
html[data-fc-theme="dark"] .settings-account{border-top:1px solid var(--line-soft)}
html[data-fc-theme="dark"] .settings-account span{color:var(--ink-faint)}
html[data-fc-theme="dark"] .settings-account i{color:#99B89B}
html[data-fc-theme="dark"] .settings-list{border-top:1px solid var(--line)}
html[data-fc-theme="dark"] .settings-row{--fc-button-hover-surface:rgba(255,255,255,0.038);border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink)}
html[data-fc-theme="dark"] .settings-row-icon svg{fill:none;stroke:currentColor}
html[data-fc-theme="dark"] .settings-row-copy small{color:var(--ink-soft)}
html[data-fc-theme="dark"] .settings-row-arrow{color:var(--ink-soft)}
html[data-fc-theme="dark"] .settings-signout{--fc-button-color:#D9584A;--fc-button-hover-color:#D9584A;--fc-button-hover-surface:rgba(217,88,74,0.072);color:#D9584A}
html[data-fc-theme="dark"] .settings-status{color:var(--red)}
html[data-fc-theme="dark"] .settings-privacy{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
html[data-fc-theme="dark"] .settings-privacy>span{border:1px solid var(--line)}
html[data-fc-theme="dark"] .settings-privacy p{color:var(--ink-soft)}
html[data-fc-theme="dark"] .settings-privacy strong{color:var(--ink)}

/* ── 手调：自动推导后需要回到月夜配色的几处 ── */
html[data-fc-theme="dark"]{--paper:#0C1230;--paper-soft:#111837;--paper-wash:#1A2347;background:#070B1E;}
html[data-fc-theme="dark"] .fc-app-header.fc-app-header--surface-paper{--fc-header-surface:rgba(12,18,48,.82);--fc-header-line-color:rgba(221,224,233,.08);--fc-header-shadow-color:rgba(0,0,0,.3);}
html[data-fc-theme="dark"] .fc-app-header .fc-header-back{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.10);color:#DDE0E9;}
@media (max-width: 900px){
  html[data-fc-theme="dark"] .fc-tab-bar__today,html[data-fc-theme="dark"] .fc-tab-bar__segments{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.07);box-shadow:none;}
  html[data-fc-theme="dark"] .fc-tab-bar__today::before,html[data-fc-theme="dark"] .fc-tab-bar__segments::before{background:none;}
  html[data-fc-theme="dark"] .fc-tab-bar__today,html[data-fc-theme="dark"] .fc-tab-bar__item{color:#DDE0E9;}
  html[data-fc-theme="dark"] .fc-tab-bar__item:is(:hover, :focus-visible),html[data-fc-theme="dark"] .fc-tab-bar__today:is(:hover, :focus-visible){color:#F4F5F8;}
  html[data-fc-theme="dark"] .fc-tab-bar__item[aria-current="page"],html[data-fc-theme="dark"] .fc-tab-bar__today[aria-current="page"]{background:rgba(255,255,255,.14);color:#F4F5F8;}
  html[data-fc-theme="dark"] .fc-tab-bar__today:focus-visible,html[data-fc-theme="dark"] .fc-tab-bar__item:focus-visible{outline-color:rgba(221,224,233,.5);}
}
html[data-fc-theme="dark"] .me-drawer-backdrop{background:rgba(4,6,18,.6);}
html[data-fc-theme="dark"] .me-drawer-panel{box-shadow:-12px 0 32px rgba(0,0,0,.4);}
html[data-fc-theme="dark"] .me-switch[aria-checked="true"]{background:#27386A;border-color:#27386A;}
html[data-fc-theme="dark"] .fc-j-sheet{background:#111837;box-shadow:0 -8px 24px rgba(0,0,0,.4);}
html[data-fc-theme="dark"] .fc-j-cal{background:#18214A;}
html[data-fc-theme="dark"] .fc-journal-btn{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.10);color:#DDE0E9;}
/* 记事面板：滑动胶囊与「自己写」 */
html[data-fc-theme="dark"] .fc-j-tabind{background:#DDE0E9;}
html[data-fc-theme="dark"] .fc-j-tabs:has(.fc-j-tabind) .fc-j-tab[aria-selected="true"]{background:transparent;color:#0E1433;}
html[data-fc-theme="dark"] .fc-j-custom{border-color:#3A4266;color:#939AB0;}
html[data-fc-theme="dark"] .fc-j-customfield{border-color:#DDE0E9;}
html[data-fc-theme="dark"] .fc-j-customfield input{color:#DDE0E9;}
html[data-fc-theme="dark"] .fc-j-customadd{background:#DDE0E9;color:#0E1433;}
/* 记事面板：可改时间、规律进度、本月汇总、未来日期 */
html[data-fc-theme="dark"] .fc-j-time{background:rgba(255,255,255,.06);color:#939AB0;}
html[data-fc-theme="dark"] .fc-j-timefield input{background:#18214A;border-color:#DDE0E9;color:#DDE0E9;color-scheme:dark;}
html[data-fc-theme="dark"] .fc-j-notehead em{color:#CFD2DB;}
html[data-fc-theme="dark"] .fc-j-notehead em.in,html[data-fc-theme="dark"] .fc-j-roads .huang strong{color:#D9584A;}
html[data-fc-theme="dark"] .fc-j-learn strong{color:#CFD2DB;}
html[data-fc-theme="dark"] .fc-j-count,html[data-fc-theme="dark"] .fc-j-learn span{color:#7E83A0;}
html[data-fc-theme="dark"] .fc-j-bar .c,html[data-fc-theme="dark"] .fc-j-bar .v,html[data-fc-theme="dark"] .fc-j-roads strong{color:#CFD2DB;}
html[data-fc-theme="dark"] .fc-j-bar .track{background:rgba(221,224,233,.10);}
html[data-fc-theme="dark"] .fc-j-bar .track i{background:#DDE0E9;}
html[data-fc-theme="dark"] .fc-j-bar .p,html[data-fc-theme="dark"] .fc-j-private{color:#737A96;}
html[data-fc-theme="dark"] .fc-j-roads div{background:rgba(255,255,255,.06);}
html[data-fc-theme="dark"] .fc-j-day[disabled] span.n{color:#4A5378;}
