/* Fragment navigation: keep Markdown footnotes, backlinks, Gutenberg heading
   anchors and skip links visible below the sticky header.  Using the browser's
   native scroll-padding preserves history, keyboard links and smooth scrolling
   without click interception or extra JavaScript. */
html {
  --da2-anchor-top: calc(var(--da2-header-h, 61px) + 16px);
  scroll-padding-top: var(--da2-anchor-top);
}
/* WordPress admin toolbar adds another fixed band above the sticky header. */
html:has(> body.admin-bar) {
  --da2-anchor-top: calc(var(--da2-header-h, 61px) + 48px);
}
/* The existing non-sticky option needs only breathing room (and admin toolbar). */
html:has(> body.da2-header-separate) {
  --da2-anchor-top: 16px;
}
html:has(> body.admin-bar.da2-header-separate) {
  --da2-anchor-top: 48px;
}
@media (max-width: 782px) {
  html:has(> body.admin-bar) {
    --da2-anchor-top: calc(var(--da2-header-h, 61px) + 62px);
  }
  html:has(> body.admin-bar.da2-header-separate) {
    --da2-anchor-top: 62px;
  }
}


/* Header/content separation — opt-in only. The shared Ei Foundation keeps
   its sticky default; Da2 owns this layout choice, including sidebar tracking. */
body.da2-header-separate .site-header {
  position: relative;
  top: auto;
}
body.da2-header-separate .site-sidebar__inner {
  top: 0;
  max-height: 100vh;
}
body.admin-bar.da2-header-separate .site-sidebar__inner {
  top: 32px;
  max-height: calc(100vh - 32px);
}

/* ---------- Da2-only chrome moved out of Ei Foundation ---------- */
.da2-window-icon {
  width: 30px;
  height: 27px;
  display: inline-grid;
  place-items: end center;
  position: relative;
  border: 2px solid #23272b;
  border-radius: 2px;
  background: #fff;
  font: 700 9px/1 var(--da2-mono);
  padding-bottom: 4px;
}

.da2-window-icon { width: 27px; height: 25px; }

.da2-window-icon::before {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 4px;
  height: 4px;
  border-top: 2px solid #58bde7;
  border-bottom: 2px solid #f06f61;
}

.mobile-nav__archive { margin: 3px 0 8px; }
.mobile-nav__archive > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  padding: 13px 38px 13px 12px;
  border-radius: 6px;
  color: #24282c;
  font-size: 17px;
}
.mobile-nav__archive-label { display: inline; }
.mobile-nav__archive-back { display: none; }
.mobile-nav__archive-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--da2-muted);
  font-size: 24px;
}
.mobile-nav__archive > summary:hover { background: var(--da2-surface); color: var(--da2-accent); font-weight: 700; }
.mobile-nav__archive[open] > summary {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  min-height: 58px;
  padding: 18px 18px 14px;
  border-radius: 0;
  border-bottom: 1px solid var(--da2-border);
  background: var(--da2-surface);
  color: var(--da2-text);
  font-weight: 800;
}
.mobile-nav__archive[open] > summary .mobile-nav__archive-label,
.mobile-nav__archive[open] > summary .mobile-nav__archive-chevron { display: none; }
.mobile-nav__archive[open] > summary .mobile-nav__archive-back { display: inline; }
.mobile-nav__archive-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 72px 0 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
}
.mobile-nav__archive-title {
  display: block;
  margin: 0 16px 4px;
  padding: 10px 12px;
  border: 1px solid var(--da2-border);
  background: var(--da2-surface);
  color: var(--da2-text);
  text-decoration: none;
  font-weight: 800;
}
.mobile-nav__archive-layer .sidebar-archive { padding: 4px 28px 12px; }
.mobile-nav__archive-layer .sidebar-archive-year { margin-bottom: 24px; }
.mobile-nav__archive-layer .sidebar-archive-year-title { font-size: 22px; margin-top: 18px; }
.mobile-nav__archive-layer .sidebar-archive-month-title { font-size: 15px; }
.mobile-nav__archive-layer .sidebar-archive-day-title { font-size: 13px; }
.mobile-nav__archive-layer .sidebar-archive-posts a { padding: 7px 0; font-size: 16px; line-height: 1.45; }
.mobile-nav__archive-extra { margin: 8px 28px 0; padding-top: 14px; border-top: 1px dotted var(--da2-border); }
.mobile-nav__archive-extra a { color: var(--da2-muted); }

/* ---------- Chronological sidebar archive ---------- */
.sidebar-archive { padding: 2px 18px 8px; }
.sidebar-archive-year { margin: 0 0 18px; }
.sidebar-archive-year-title,
.sidebar-archive-month-title,
.sidebar-archive-day-title { margin: 0; line-height: 1.35; }
.sidebar-archive-year-title { margin-top: 15px; margin-bottom: 7px; font-size: 18px; font-weight: 800; }
.sidebar-archive-month-title { margin: 11px 0 5px; font-size: 15px; font-weight: 750; }
.sidebar-archive-day-title { margin: 7px 0 2px; font-size: 12px; font-weight: 700; }
.sidebar-archive-year-title a,
.sidebar-archive-month-title a,
.sidebar-archive-day-title a {
  color: var(--da2-text);
  text-decoration: none;
}
.sidebar-archive-month-title a { color: var(--da2-text); }
.sidebar-archive-day-title a { color: var(--da2-muted); }
.sidebar-archive-year-title a:hover,
.sidebar-archive-month-title a:hover,
.sidebar-archive-day-title a:hover { color: var(--da2-accent); text-decoration: underline; }
/* Monthly separators make a long year of posts visibly scannable without JS. */
.sidebar-archive-month { margin-left: 0; }
.sidebar-archive-month + .sidebar-archive-month { margin-top: 11px; padding-top: 8px; border-top: 1px dotted var(--da2-border); }
.sidebar-archive-day { margin-left: 10px; }
.sidebar-archive-posts { list-style: none; margin: 0; padding: 0; }
.sidebar-archive-posts li { margin: 0; }
.sidebar-archive-posts a {
  display: block;
  padding: 4px 0;
  color: var(--da2-text);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sidebar-archive-posts a:hover { color: var(--da2-accent); text-decoration: underline; }
.sidebar-archive-posts .is-current > a {
  color: var(--da2-accent);
  font-weight: 750;
}
.sidebar-archive-empty { margin: 12px 18px; color: var(--da2-muted); font-size: 13px; }

/* Da2 preset: lean into the old personal-homepage / text-index feel. */
body.da2-style-da2 .sidebar-archive-year-title,
body.da2-style-da2 .sidebar-archive-month-title,
body.da2-style-da2 .sidebar-archive-day-title { font-family: var(--da2-mono); }
body.da2-style-da2 .sidebar-archive-posts a { color: #41484b; }
body.da2-style-da2 .sidebar-archive-posts a:hover,
body.da2-style-da2 .sidebar-archive-posts .is-current > a { color: #075f69; }

/* ========================================================================== 
   達二 Visual Presets v0.2.4
   --------------------------------------------------------------------------
   11 個精選視覺語言（含達二風）。全部只使用這一份 CSS：
   - 0 額外 HTTP asset
   - 0 webfont
   - 0 theme JavaScript
   - 0 圖片材質
   風格差異來自 CSS 變數、邊框、排版與原生 gradient。
   ========================================================================== */

/* 00. 達二風 da2：80% 極簡閱讀 + 15% 90 年代個人網站 + 5% 達二細節。 */
body.da2-style-da2 {
  --da2-bg: #f8fbff;
  --da2-surface: #eef5fb;
  --da2-surface-2: #dceaf6;
  --da2-text: #172033;
  --da2-muted: #65758a;
  --da2-border: #9fb4c8;
  --da2-accent: #1769aa;
  --da2-accent-hover: #0b3d6d;
  --da2-footer: #dceaf6;
  --da2-footer-text: #17263a;
  --da2-radius: 2px;
  --da2-shadow: none;
  --da2-font: Verdana, Tahoma, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background-color: var(--da2-bg);
  background-image:
    linear-gradient(rgba(19,74,122,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,74,122,.018) 1px, transparent 1px);
  background-size: 24px 24px;
}
body.da2-style-da2 .site-header {
  background: rgba(248,251,255,.97);
  border-top: 3px solid #163f67;
  border-bottom-color: #9fb4c8;
  box-shadow: 0 1px 0 #fff;
}
body.da2-style-da2 .site-brand,
body.da2-style-da2 .site-brand:hover,
body.da2-style-da2 .primary-nav a,
body.da2-style-da2 .entry-title,
body.da2-style-da2 .page-title,
body.da2-style-da2 .post-list__title a,
body.da2-style-da2 .breadcrumbs__home { color: #172033; }
body.da2-style-da2 .primary-nav a:hover,
body.da2-style-da2 .primary-nav .current-menu-item > a,
body.da2-style-da2 .primary-nav .current_page_item > a { color: #1769aa; text-decoration: underline; font-weight: 700; }
body.da2-style-da2 a:hover:not(.site-brand) { font-weight: 700; }
body.da2-style-da2 .da2-window-icon {
  border: 1px solid #587895;
  border-radius: 0;
  background: #e8f2fa;
  color: #123f68;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #9eb2c4;
  font-family: var(--da2-mono);
}
body.da2-style-da2 .header-search .search-field {
  border: 1px solid #9fb4c8;
  border-radius: 0;
  background: #fff;
  box-shadow: inset 1px 1px 0 #e0ebf4;
}
body.da2-style-da2 .site-sidebar {
  background: #eef5fb;
  border-right-color: #9fb4c8;
}
body.da2-style-da2 .sidebar-title {
  margin-top: 2px;
  border: 1px solid #9fb4c8;
  border-radius: 0;
  background: #dceaf6;
  color: #163f67;
  box-shadow: inset 1px 1px 0 #fff;
  font-family: var(--da2-mono);
  font-weight: 700;
}
body.da2-style-da2 .sidebar-list a { color: #34475c; }
body.da2-style-da2 .sidebar-list a::after { color: #7c91a5; }
body.da2-style-da2 .sidebar-list a:hover { background: #dceaf6; color: #0b3d6d; text-decoration: underline; font-weight: 700; }
body.da2-style-da2 .sidebar-list .current-cat > a,
body.da2-style-da2 .sidebar-list .current_page_item > a {
  background: #d7e8f6;
  color: #123f68;
  font-weight: 700;
}
body.da2-style-da2 .sidebar-divider { border-top-style: dotted; border-top-color: #829bb1; }
body.da2-style-da2 .breadcrumb-chip {
  border: 1px solid #aec0d0;
  border-radius: 2px;
  background: #edf5fb;
  color: #1769aa;
  font-family: var(--da2-mono);
}
body.da2-style-da2 .entry-title,
body.da2-style-da2 .page-title { letter-spacing: -.025em; }
body.da2-style-da2 .entry-meta,
body.da2-style-da2 .post-list__meta,
body.da2-style-da2 .compact-post-list time {
  font-family: var(--da2-mono);
  letter-spacing: 0;
}
body:is(.da2-style-da2,.da2-style-windows95) .entry-content a:where(:not(.wp-element-button,.wp-block-button__link,.da2-w95-button,.breadcrumb-chip)) {
  color: #1769aa;
  text-decoration: none;
}
body:is(.da2-style-da2,.da2-style-windows95) .entry-content a:is(:hover,:focus-visible):where(:not(.wp-element-button,.wp-block-button__link,.da2-w95-button,.breadcrumb-chip)) {
  color: #0b3d6d;
  font-weight: 700;
  text-decoration: underline;
}
body.da2-style-da2 .entry-content h2 {
  padding-bottom: .24em;
  border-bottom: 1px dotted #9fb4c8;
}
body.da2-style-da2 .entry-content blockquote {
  border-left: 3px solid #1769aa;
  background: #edf6fd;
  color: #29394d;
}
body.da2-style-da2 .entry-content code {
  border-radius: 0;
  background: #eaf2f8;
  border-color: #b6c8d8;
}
body.da2-style-da2 .entry-content pre {
  border-radius: 0;
  border-color: #a9bdcf;
  background: #edf4f9;
  box-shadow: inset 1px 1px 0 #fff;
}
body.da2-style-da2 .entry-content hr { border-top-style: dotted; }
body.da2-style-da2 .post-list__item { border-bottom-style: dotted; border-bottom-color: #bed0df; }
body.da2-style-da2 .post-list__title a:hover { text-decoration: underline; font-weight: 700; }
body.da2-style-da2 .pagination a,
body.da2-style-da2 .pagination span,
body.da2-style-da2 .post-nav a,
body.da2-style-da2 .mobile-nav summary,
body.da2-style-da2 .mobile-nav__panel .search-submit {
  border-radius: 0;
  border-color: #9fb4c8;
  background: #e7f0f7;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #b9cad8;
}
body.da2-style-da2 .post-nav a:hover,
body.da2-style-da2 .pagination a:hover { border-color: #6486a3; color: #0b3d6d; font-weight: 700; }
body.da2-style-da2 .pagination .current {
  background: #1769aa;
  border-color: #0f5388;
  color: #fff;
  box-shadow: none;
}
body.da2-style-da2 .random-bridge {
  padding-top: 12px;
  border-top: 1px dotted #9fb4c8;
  font-family: var(--da2-mono);
}
body.da2-style-da2 .mobile-nav__panel {
  border-radius: 0;
  background: #f8fbff;
}
body.da2-style-da2 .mobile-nav__panel a { border-radius: 0; }
body.da2-style-da2 .comment-respond input[type="text"],
body.da2-style-da2 .comment-respond input[type="email"],
body.da2-style-da2 .comment-respond input[type="url"],
body.da2-style-da2 .comment-respond textarea {
  border-radius: 0;
  background: #fff;
}
body.da2-style-da2 .comment-respond .submit {
  border-radius: 0;
  border-color: #0f5388;
  background: #1769aa;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.45), inset -1px -1px 0 rgba(0,0,0,.12);
}
body.da2-style-da2 .site-footer {
  border-top: 3px double #7e9ab2;
  background: #dceaf6;
  color: #17263a;
}
body.da2-style-da2 .site-footer h2 { color: #172033; font-family: var(--da2-mono); }
body.da2-style-da2 .site-footer a { color: #1769aa; text-decoration: underline; }
body.da2-style-da2 .site-footer a:hover { color: #0b3d6d; font-weight: 700; }
body.da2-style-da2 .site-footer__fineprint { color: #65758a; border-top: 1px dotted #9fb4c8; }

/* 01. 極簡 minimal：v0.1 原始語言，保留 Wiwi 式資訊閱讀感。 */
body.da2-style-minimal {
  --da2-bg: #ffffff;
  --da2-surface: #f7f8f9;
  --da2-surface-2: #eef0f2;
  --da2-text: #202124;
  --da2-muted: #687078;
  --da2-border: #d9dde2;
  --da2-accent: #24894f;
  --da2-accent-hover: #176c3b;
  --da2-footer: #303846;
  --da2-footer-text: #f2f4f7;
  --da2-radius: 8px;
}

/* 02. Ei 世界風：深藍世界介面＋金色節點，穩重、不做重動畫。 */
body.da2-style-ei_world {
  --da2-bg: #0c1420;
  --da2-surface: #121d2b;
  --da2-surface-2: #192638;
  --da2-text: #e8edf4;
  --da2-muted: #9eacbc;
  --da2-border: #2b3c51;
  --da2-accent: #d6b469;
  --da2-accent-hover: #f0d08a;
  --da2-footer: #07101a;
  --da2-footer-text: #ecf1f7;
  --da2-radius: 7px;
  background: radial-gradient(circle at 78% 12%, #172945 0, #0c1420 38%, #09111a 100%);
}
body.da2-style-ei_world .site-header { background: rgba(12,20,32,.96); border-top-color: #d6b469; }
body.da2-style-ei_world .site-sidebar { background: #0f1926; }
body.da2-style-ei_world .site-brand,
body.da2-style-ei_world .site-brand:hover,
body.da2-style-ei_world .primary-nav a,
body.da2-style-ei_world .entry-title,
body.da2-style-ei_world .page-title,
body.da2-style-ei_world .post-list__title a,
body.da2-style-ei_world .breadcrumbs__home { color: #f2f5f8; }
body.da2-style-ei_world .sidebar-title,
body.da2-style-ei_world .breadcrumb-chip { background: #172538; }
body.da2-style-ei_world .sidebar-list a { color: #c7d0da; }
body.da2-style-ei_world .sidebar-list a:hover,
body.da2-style-ei_world .sidebar-list .current-cat > a { background: #192a3c; color: #f0d08a; }
body.da2-style-ei_world .entry-content blockquote { background: #111f2e; color: #dce4ec; border-left-color: #d6b469; }
body.da2-style-ei_world .entry-content code,
body.da2-style-ei_world .entry-content pre { background: #08111b; color: #d7e2ed; border-color: #31465c; }
body.da2-style-ei_world .post-list__excerpt,
body.da2-style-ei_world .post-nav a { color: #cbd3dc; }
body.da2-style-ei_world .post-nav a { background: #101c29; border-color: #31445a; }
body.da2-style-ei_world .da2-window-icon { background: #142338; color: #f0d08a; border-color: #d6b469; }
body.da2-style-ei_world .comment-respond input,
body.da2-style-ei_world .comment-respond textarea { background: #101b28; color: #edf2f7; }

/* 03. 像素遊戲：硬邊、等寬、像素陰影；沒有圖片與 bitmap font。 */
body.da2-style-pixel {
  --da2-bg: #17181a;
  --da2-surface: #202226;
  --da2-surface-2: #292c31;
  --da2-text: #f2f1e8;
  --da2-muted: #aaa99f;
  --da2-border: #575a60;
  --da2-accent: #75e58a;
  --da2-accent-hover: #a3f4b1;
  --da2-footer: #0d0e10;
  --da2-footer-text: #f7f5e9;
  --da2-radius: 0;
  --da2-font: var(--da2-mono);
  image-rendering: pixelated;
}
body.da2-style-pixel .site-header { background: #17181a; border-top: 3px solid #75e58a; box-shadow: 0 3px 0 #000; }
body.da2-style-pixel .site-sidebar { background: #1b1d20; border-right: 2px solid #575a60; }
body.da2-style-pixel .site-brand,
body.da2-style-pixel .site-brand:hover,
body.da2-style-pixel .primary-nav a,
body.da2-style-pixel .entry-title,
body.da2-style-pixel .page-title,
body.da2-style-pixel .post-list__title a,
body.da2-style-pixel .breadcrumbs__home { color: #fffef2; }
body.da2-style-pixel .sidebar-title,
body.da2-style-pixel .breadcrumb-chip,
body.da2-style-pixel .entry-content code { border: 1px solid #575a60; border-radius: 0; background: #25282c; }
body.da2-style-pixel .sidebar-list a { color: #e2e0d6; }
body.da2-style-pixel .sidebar-list a:hover,
body.da2-style-pixel .sidebar-list .current-cat > a { background: #2b2f33; color: #75e58a; }
body.da2-style-pixel .post-nav a,
body.da2-style-pixel .pagination a,
body.da2-style-pixel .pagination span { border-width: 2px; border-radius: 0; box-shadow: 3px 3px 0 #000; color: #eeeadd; background: #202226; }
body.da2-style-pixel .entry-content blockquote { background: #202b23; color: #e8efe9; border-left: 5px solid #75e58a; }
body.da2-style-pixel .entry-content pre { background: #0d0e10; color: #8ff29f; border: 2px solid #575a60; border-radius: 0; }
body.da2-style-pixel .da2-window-icon { border-radius: 0; box-shadow: 2px 2px 0 #000; }

/* 04. 勇鬥風 dq：經典深藍對話框語言，內容仍保持長文可讀性。 */
body.da2-style-dq {
  --da2-bg: #081b54;
  --da2-surface: #102d78;
  --da2-surface-2: #17398c;
  --da2-text: #ffffff;
  --da2-muted: #c7d6ff;
  --da2-border: #f6f7ff;
  --da2-accent: #ffe36d;
  --da2-accent-hover: #fff2a8;
  --da2-footer: #03102f;
  --da2-footer-text: #ffffff;
  --da2-radius: 4px;
}
body.da2-style-dq .site-header,
body.da2-style-dq .site-sidebar { background: #0b2468; }
body.da2-style-dq .site-header { border-top: 3px solid #ffffff; border-bottom: 2px solid #ffffff; }
body.da2-style-dq .site-sidebar { border-right: 2px solid #fff; }
body.da2-style-dq .site-brand,
body.da2-style-dq .site-brand:hover,
body.da2-style-dq .primary-nav a,
body.da2-style-dq .entry-title,
body.da2-style-dq .page-title,
body.da2-style-dq .post-list__title a,
body.da2-style-dq .breadcrumbs__home { color: #fff; text-shadow: 1px 1px 0 #020817; }
body.da2-style-dq .reading-column { padding: 22px 24px; border: 3px double #fff; background: #102d78; box-shadow: 4px 4px 0 #020817; }
body.da2-style-dq .sidebar-title,
body.da2-style-dq .breadcrumb-chip { background: #17398c; color: #ffe36d; border: 1px solid #fff; }
body.da2-style-dq .sidebar-list a { color: #fff; }
body.da2-style-dq .sidebar-list a:hover,
body.da2-style-dq .sidebar-list .current-cat > a { background: #17398c; color: #ffe36d; }
body.da2-style-dq .entry-content blockquote,
body.da2-style-dq .entry-content pre,
body.da2-style-dq .entry-content code { background: #071b53; color: #fff; border-color: #fff; }
body.da2-style-dq .post-list__excerpt,
body.da2-style-dq .post-nav a { color: #edf2ff; }
body.da2-style-dq .post-nav a { background: #0b2468; border: 2px solid #fff; }
body.da2-style-dq .da2-window-icon { background: #fff; color: #0b2468; border-color: #fff; }

/* 05. 玻璃柔光 glass：少量 backdrop-filter，無粒子、無動畫。 */
body.da2-style-glass {
  --da2-bg: #edf4f8;
  --da2-surface: rgba(255,255,255,.58);
  --da2-surface-2: rgba(255,255,255,.72);
  --da2-text: #20303d;
  --da2-muted: #637583;
  --da2-border: rgba(93,120,139,.28);
  --da2-accent: #287da0;
  --da2-accent-hover: #195f7c;
  --da2-footer: rgba(25,43,57,.92);
  --da2-footer-text: #f5fbff;
  --da2-radius: 14px;
  background: linear-gradient(135deg, #e8f5f7 0%, #f7f2f9 52%, #edf6ef 100%);
}
body.da2-style-glass .site-header { background: rgba(255,255,255,.68); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body.da2-style-glass .site-sidebar { background: rgba(255,255,255,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.da2-style-glass .sidebar-title,
body.da2-style-glass .breadcrumb-chip,
body.da2-style-glass .post-nav a,
body.da2-style-glass .entry-content blockquote,
body.da2-style-glass .entry-content pre { background: rgba(255,255,255,.58); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 8px 24px rgba(50,72,86,.06); }
body.da2-style-glass .site-brand,
body.da2-style-glass .site-brand:hover,
body.da2-style-glass .primary-nav a,
body.da2-style-glass .entry-title,
body.da2-style-glass .page-title,
body.da2-style-glass .post-list__title a { color: #172936; }
body.da2-style-glass .da2-window-icon { background: rgba(255,255,255,.62); }

/* 06. RPG 金邊 rpg：深棕皮革感以純色＋邊框完成，不載材質圖。 */
body.da2-style-rpg {
  --da2-bg: #241b16;
  --da2-surface: #30241d;
  --da2-surface-2: #3a2b22;
  --da2-text: #f0e3ca;
  --da2-muted: #bba98b;
  --da2-border: #765d3b;
  --da2-accent: #d7b05f;
  --da2-accent-hover: #f0cf82;
  --da2-footer: #17110e;
  --da2-footer-text: #f3e5cc;
  --da2-radius: 5px;
  background: linear-gradient(#241b16, #1e1713);
}
body.da2-style-rpg .site-header { background: #2a201a; border-top: 3px solid #d7b05f; border-bottom-color: #765d3b; }
body.da2-style-rpg .site-sidebar { background: #281f19; border-right-color: #765d3b; }
body.da2-style-rpg .site-brand,
body.da2-style-rpg .site-brand:hover,
body.da2-style-rpg .primary-nav a,
body.da2-style-rpg .entry-title,
body.da2-style-rpg .page-title,
body.da2-style-rpg .post-list__title a,
body.da2-style-rpg .breadcrumbs__home { color: #f6ead3; }
body.da2-style-rpg .sidebar-title,
body.da2-style-rpg .breadcrumb-chip,
body.da2-style-rpg .post-nav a { background: #352820; border: 1px solid #765d3b; box-shadow: inset 0 0 0 1px #3f3025; }
body.da2-style-rpg .sidebar-list a { color: #e1d0b4; }
body.da2-style-rpg .sidebar-list a:hover,
body.da2-style-rpg .sidebar-list .current-cat > a { background: #3a2c22; color: #f0cf82; }
body.da2-style-rpg .entry-content blockquote { background: #30251d; color: #eadcc4; border-left-color: #d7b05f; }
body.da2-style-rpg .entry-content pre,
body.da2-style-rpg .entry-content code { background: #17120f; color: #edd7aa; border-color: #765d3b; }
body.da2-style-rpg .post-list__excerpt,
body.da2-style-rpg .post-nav a { color: #ddcfba; }
body.da2-style-rpg .da2-window-icon { background: #3a2b22; color: #f0cf82; border-color: #d7b05f; }

/* 07. 羊皮紙 parchment：暖紙、棕墨、細框，完全 CSS。 */
body.da2-style-parchment {
  --da2-bg: #f3e6c8;
  --da2-surface: #ead8b3;
  --da2-surface-2: #e0c99f;
  --da2-text: #493824;
  --da2-muted: #7c684d;
  --da2-border: #bda276;
  --da2-accent: #8a4d2d;
  --da2-accent-hover: #65351f;
  --da2-footer: #493824;
  --da2-footer-text: #f4e6c7;
  --da2-radius: 3px;
  --da2-font: Georgia, "Noto Serif TC", "PMingLiU", serif;
  background: linear-gradient(90deg, rgba(112,75,37,.035), transparent 18%, rgba(255,255,255,.13) 54%, transparent 82%), #f3e6c8;
}
body.da2-style-parchment .site-header { background: rgba(243,230,200,.97); border-top-color: #8a4d2d; }
body.da2-style-parchment .site-sidebar { background: #ecdcbb; }
body.da2-style-parchment .site-brand,
body.da2-style-parchment .site-brand:hover,
body.da2-style-parchment .primary-nav a,
body.da2-style-parchment .entry-title,
body.da2-style-parchment .page-title,
body.da2-style-parchment .post-list__title a,
body.da2-style-parchment .breadcrumbs__home { color: #3e2e1e; }
body.da2-style-parchment .sidebar-title,
body.da2-style-parchment .breadcrumb-chip { background: #e3cda4; }
body.da2-style-parchment .sidebar-list a { color: #5e4932; }
body.da2-style-parchment .sidebar-list a:hover,
body.da2-style-parchment .sidebar-list .current-cat > a { background: #e1c89c; color: #8a4d2d; }
body.da2-style-parchment .entry-content blockquote { background: rgba(255,255,255,.18); color: #55402a; }
body.da2-style-parchment .entry-content pre,
body.da2-style-parchment .entry-content code { background: #e7d4ad; color: #493824; border-color: #bda276; }
body.da2-style-parchment .post-list__excerpt,
body.da2-style-parchment .post-nav a { color: #624d35; }
body.da2-style-parchment .post-nav a { background: rgba(255,255,255,.12); }
body.da2-style-parchment .da2-window-icon { background: #f8edda; color: #493824; border-color: #8a4d2d; }

/* 08. 終端機 terminal：黑底綠字，純等寬；適合技術／筆記氣質。 */
body.da2-style-terminal {
  --da2-bg: #050806;
  --da2-surface: #09100b;
  --da2-surface-2: #0d1710;
  --da2-text: #a8e7b2;
  --da2-muted: #6fa77a;
  --da2-border: #25472d;
  --da2-accent: #62f486;
  --da2-accent-hover: #a2ffb6;
  --da2-footer: #020403;
  --da2-footer-text: #9ce9aa;
  --da2-radius: 0;
  --da2-font: var(--da2-mono);
}
body.da2-style-terminal .site-header { background: #050806; border-top: 2px solid #62f486; border-bottom-color: #25472d; }
body.da2-style-terminal .site-sidebar { background: #070c08; }
body.da2-style-terminal .site-brand,
body.da2-style-terminal .site-brand:hover,
body.da2-style-terminal .primary-nav a,
body.da2-style-terminal .entry-title,
body.da2-style-terminal .page-title,
body.da2-style-terminal .post-list__title a,
body.da2-style-terminal .breadcrumbs__home { color: #8cff9f; }
body.da2-style-terminal .site-brand::before { content: ">"; color: #62f486; }
body.da2-style-terminal .sidebar-title,
body.da2-style-terminal .breadcrumb-chip { background: #0b130d; border: 1px solid #25472d; border-radius: 0; }
body.da2-style-terminal .sidebar-list a { color: #9bcba3; }
body.da2-style-terminal .sidebar-list a:hover,
body.da2-style-terminal .sidebar-list .current-cat > a { background: #0d1710; color: #62f486; }
body.da2-style-terminal .entry-content blockquote { background: #07100a; color: #9ed7a8; border-left-color: #62f486; }
body.da2-style-terminal .entry-content pre,
body.da2-style-terminal .entry-content code { background: #010201; color: #62f486; border-color: #25472d; border-radius: 0; }
body.da2-style-terminal .post-list__excerpt,
body.da2-style-terminal .post-nav a { color: #8fbd97; }
body.da2-style-terminal .post-nav a { background: #070c08; border-color: #25472d; border-radius: 0; }
body.da2-style-terminal .da2-window-icon { background: #050806; color: #62f486; border-color: #62f486; border-radius: 0; }

/* Windows 95 tokens are shared by the selected preset and the two new surfaces. */
body.da2-style-windows95, .da2-desktop, .da2-right-panel {
  --w95-desktop: #008080;
  --w95-gray: #c0c0c0;
  --w95-warm: #d4d0c8;
  --w95-navy: #000080;
  --w95-ink: #000;
  --w95-light: #fff;
  --w95-mid: #808080;
  --w95-dark: #404040;
  --w95-raised: var(--w95-light) var(--w95-dark) var(--w95-dark) var(--w95-light);
  --w95-inset: var(--w95-mid) var(--w95-light) var(--w95-light) var(--w95-mid);
  --w95-font: Tahoma, "MS Sans Serif", "Microsoft JhengHei", "PingFang TC", sans-serif;
}
body.da2-style-windows95 {
  --da2-bg: var(--w95-warm);
  --da2-surface: var(--w95-light);
  --da2-surface-2: var(--w95-gray);
  --da2-text: var(--w95-ink);
  --da2-muted: var(--w95-dark);
  --da2-border: var(--w95-mid);
  --da2-accent: var(--w95-navy);
  --da2-accent-hover: #0000aa;
  --da2-footer: var(--w95-gray);
  --da2-footer-text: var(--w95-ink);
  --da2-radius: 0;
  --da2-font: var(--w95-font);
  --ei-bg: var(--da2-bg);
  --ei-page-bg: var(--da2-bg);
  --ei-bg-strong: var(--w95-light);
  --ei-surface: var(--da2-surface);
  --ei-surface-2: var(--da2-surface-2);
  --ei-text: var(--da2-text);
  --ei-muted: var(--da2-muted);
  --ei-border: var(--da2-border);
  --ei-accent: var(--da2-accent);
  --ei-accent-hover: var(--da2-accent-hover);
  --ei-accent-text: var(--w95-light);
  --ei-footer: var(--da2-footer);
  --ei-footer-text: var(--da2-footer-text);
  --ei-breadcrumb-bg: var(--w95-gray);
  --ei-breadcrumb-text: var(--w95-ink);
  --ei-font: var(--w95-font);
  --ei-radius: 0;
  --ei-shadow: none;
  background: var(--da2-bg);
  color: var(--da2-text);
  font-family: var(--da2-font);
}
body.da2-style-windows95 :is(.site-header, .site-sidebar, .site-footer, .mobile-nav__panel, .mobile-nav__archive-layer) {
  background: var(--w95-gray);
  color: var(--w95-ink);
  box-shadow: none;
}
body.da2-style-windows95 :is(.site-header, .site-footer) { border-block: 2px solid; border-color: var(--w95-light) var(--w95-dark) var(--w95-dark) var(--w95-light); }
body.da2-style-windows95 .site-sidebar { border-right: 2px solid var(--w95-dark); }
body.da2-style-windows95 .reading-column {
  padding: clamp(10px, 2.2vw, 30px);
  background: var(--w95-light);
  border: 2px solid;
  border-color: var(--w95-inset);
}
body.da2-style-windows95 .entry-content { line-height: 1.8; }
body.da2-style-windows95 .entry-content :is(blockquote,pre,code):where(:not(.has-background):not(.has-text-color)) { border-radius: 0; }
body.da2-style-windows95 .entry-content .wp-block-table { overflow-x: auto; }
body.da2-style-windows95 .entry-content > table { display: block; overflow-x: auto; }
body.da2-style-windows95 :is(.entry-title,.page-title,.da2-stream-title,.entry-content) { overflow-wrap: anywhere; }
body.da2-style-windows95 :is(.site-footer h2,.site-footer a,.site-footer__fineprint,.site-brand,.primary-nav a,.mobile-nav__panel a) { color: var(--w95-ink); }
body.da2-style-windows95 :is(.site-brand,.sidebar-title) { background: var(--w95-navy); color: var(--w95-light); border-radius: 0; }
body.da2-style-windows95 :is(.site-brand,.site-brand:hover,.site-brand:visited) { color: var(--w95-light); padding: 4px 8px; }
body.da2-style-windows95 .sidebar-title { margin-top: 4px; }
body.da2-style-windows95 :is(.sidebar-list .current-cat > a,.sidebar-archive-posts .is-current > a,[aria-current=page]:where(.notes-sidebar-nav a)) { background: var(--w95-navy); color: var(--w95-light); }
body.da2-style-windows95 .da2-gb {
  --da2-gb-radius: 0;
  --da2-gb-border: var(--w95-mid);
  --da2-gb-surface: var(--w95-warm);
  --da2-gb-surface-2: var(--w95-light);
  --da2-gb-text: var(--w95-ink);
  --da2-gb-accent: var(--w95-navy);
}
body.da2-style-windows95 :is(.da2-gb-comment, .da2-gb-form-wrap, .notes-mobile-index, .ei-notes-topic-card) { border-radius: 0; }
body.da2-style-windows95 :is(.search-field,.da2-gb-field input,.da2-gb-field textarea,.comment-form input:not([type=checkbox]):not([type=submit]),.comment-form textarea),
.da2-desktop .search-field {
  background: var(--w95-light); color: var(--w95-ink); border: 2px solid;
  border-color: var(--w95-inset); border-radius: 0; box-shadow: none;
}
body.da2-style-windows95 :is(.primary-nav a,.search-submit,.mobile-nav > summary,.post-nav a,.pagination .page-numbers,.da2-blog-pagination a,.da2-gb-submit,.da2-gb-reply-link,.comment-form input[type=submit],.da2-window-icon,.breadcrumb-chip),
.da2-w95-button {
  border: 2px solid; border-color: var(--w95-raised); border-radius: 0;
  background: var(--w95-gray); color: var(--w95-ink); box-shadow: none; text-shadow: none;
  font-family: var(--w95-font);
}
body.da2-style-windows95 :is(.search-submit,.da2-gb-submit) { -webkit-text-fill-color: currentColor; }
body.da2-style-windows95 .header-search form { display: flex; gap: 4px; }
body.da2-style-windows95 .header-search .search-field { flex: 1; min-width: 0; }
body.da2-style-windows95 .header-search .search-submit { position: static; width: auto; height: auto; clip: auto; padding-inline: 7px; white-space: nowrap; }
body.da2-style-windows95 :is(.post-nav a,.pagination a,.da2-blog-pagination a,.search-submit,.primary-nav a,.mobile-nav > summary,.da2-gb-submit):hover,
.da2-w95-button:hover { background: var(--w95-warm); color: var(--w95-ink); }
body.da2-style-windows95 :is(.post-nav a,.pagination a,.da2-blog-pagination a,.search-submit,.primary-nav a,.mobile-nav > summary,.da2-gb-submit):active,
.da2-w95-button:active, .da2-desktop__start[open] > summary { border-color: var(--w95-inset); }
body.da2-style-windows95 .pagination .current { background: var(--w95-navy); color: var(--w95-light); }
@media (min-width: 1021px) {
  html:has(> body.da2-style-windows95), body.da2-style-windows95 {
    --da2-header-h: max(61px, calc(var(--da2-nav-height, 42px) + 14px));
  }
}
/* Header shortcuts match the console buttons, with room for wrapped labels. */
body.da2-style-windows95 .primary-nav { overflow: auto; padding: 3px; }
body.da2-style-windows95 .primary-nav ul { gap: 6px; }
body.da2-style-windows95 .primary-nav li { flex: none; }
body.da2-style-windows95 .primary-nav a {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  box-sizing: border-box; width: var(--da2-nav-width, 118px); min-height: var(--da2-nav-height, 42px); padding: 4px 6px;
  font-size: 14px; line-height: 1.3; text-align: center;
  white-space: normal; overflow-wrap: anywhere;
}
body.da2-style-windows95 .primary-nav [aria-current=page] {
  background: var(--w95-warm); border-color: var(--w95-inset);
}
body.da2-style-windows95 :is(.primary-nav,.mobile-nav__main) a > .da2-w95-icon {
  width: 16px; height: 16px;
}
body.da2-style-windows95 .mobile-nav__main a > .da2-w95-icon { margin-inline-end: 5px; }
body.da2-style-windows95 :is(button,input):disabled { color: #555; background: var(--w95-warm); cursor: not-allowed; }
body.da2-style-windows95 :is(a,button,input,textarea,summary):focus-visible,
:is(.da2-desktop,.da2-right-panel) :is(a,button,input,summary):focus-visible {
  outline: 2px dotted currentColor;
  outline-offset: 2px;
}

/* Shared window components: no document-level overrides for other presets. */
.da2-w95-window {
  padding: 3px; color: var(--w95-ink); background: var(--w95-gray);
  border: 2px solid; border-color: var(--w95-raised);
  font: 14px/1.5 var(--w95-font);
}
.da2-w95-title {
  display: flex; align-items: center; gap: 7px; margin: 0; padding: 6px 8px;
  background: var(--w95-navy); color: var(--w95-light);
  font: 700 15px/1.35 var(--w95-font); overflow-wrap: anywhere;
}
.da2-w95-title .da2-w95-icon { width: 18px; height: 18px; }
.da2-w95-icon { display: inline-block; flex: none; vertical-align: middle; }
.da2-w95-window__body { padding: 11px; }
.da2-w95-button {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 5px 7px; min-height: 42px; min-width: 0; overflow-wrap: anywhere;
  text-align: center; text-decoration: none; font-size: 14px; line-height: 1.3;
}
.da2-w95-button .da2-w95-icon { width: 16px; height: 16px; }
.da2-right-panel .da2-w95-button:visited { color: var(--w95-ink); }
.da2-panel-copy > :first-child { margin-top: 0; }
.da2-panel-copy > :last-child { margin-bottom: 0; }
.da2-panel-buttons { display: grid; gap: 6px; margin-top: 9px; }
.da2-panel-buttons--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.da2-panel-buttons--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.da2-panel-buttons--3 .da2-w95-button { padding-inline: 4px; gap: 3px; }

/* The inherited shell contains sidebar, main, tools and footer in source order. */
.da2-right-panel {
  min-width: 0; width: min(100% - 28px, 760px);
  margin: 0 auto 28px; grid-column: 2;
  color: var(--da2-text); overflow-wrap: anywhere;
  font-family: var(--w95-font);
}
.da2-right-panel__heading { font: 700 clamp(21px,2.1vw,30px)/1.25 var(--w95-font); margin: 0 0 13px; }
.da2-right-panel > section + section { margin-top: 12px; }
.da2-right-panel time { display: block; margin-top: 6px; }
:is(body.da2-has-right-panel,body.da2-style-windows95) .entry-content :is(.alignfull,.alignwide) { width: 100%; max-width: 100%; margin-inline: 0; }
body.da2-has-right-panel .site-sidebar { grid-row: 1 / 3; }
@media (min-width: 1280px) {
  body.da2-has-right-panel .site-shell { grid-template-columns: clamp(230px,17vw,260px) minmax(0,1fr) clamp(280px,23vw,430px); }
  body.da2-has-right-panel .site-sidebar { grid-row: auto; }
  body.da2-has-right-panel .reading-column { margin-inline: auto; }
  .da2-right-panel { grid-column: 3; width: auto; margin: 0; padding: 30px clamp(12px,2vw,30px) 32px 0; }
  .da2-right-panel--sticky {
    --da2-panel-top: calc(var(--da2-header-h, 61px) + 16px);
    position: sticky;
    top: var(--da2-panel-top);
    align-self: start;
    box-sizing: border-box;
    max-height: calc(100vh - var(--da2-panel-top) - 12px);
    max-height: calc(100dvh - var(--da2-panel-top) - 12px);
    overflow-y: auto;
    padding-bottom: 12px;
  }
  body.admin-bar .da2-right-panel--sticky { --da2-panel-top: calc(var(--da2-header-h, 61px) + 48px); }
  body.da2-header-separate .da2-right-panel--sticky { --da2-panel-top: 16px; }
  body.admin-bar.da2-header-separate .da2-right-panel--sticky { --da2-panel-top: 48px; }
}
@media (max-width: 1020px) {
  .da2-right-panel { grid-column: 1; }
}
@media (max-width: 380px) {
  .da2-panel-buttons--3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (pointer: coarse) { .da2-w95-button { min-height: 44px; } }

/* Homepage explorer and native disclosure menu. */
body.da2-desktop-front .site-shell { grid-template-columns: minmax(0,1fr); }
.da2-desktop {
  min-width: 0; padding: clamp(24px,5vw,70px) max(14px,calc((100% - 1080px) / 2)) 20px;
  background: var(--w95-desktop); color: var(--w95-light);
  font: 15px/1.55 var(--w95-font);
}
.da2-desktop__identity { display: flex; align-items: center; gap: 17px; margin: 0 0 clamp(20px,4vw,48px); }
.da2-desktop__identity > svg { width: clamp(34px,7vw,64px); height: auto; }
.da2-desktop__identity p { margin: 0 0 3px; letter-spacing: .12em; }
.da2-desktop__identity h1 { color: inherit; font: 700 clamp(27px,5vw,60px)/1.12 var(--w95-font); margin: 0; overflow-wrap: anywhere; }
.da2-desktop__menubar { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; }
.da2-desktop__menubar a { padding: 4px 8px; color: var(--w95-ink); }
.da2-desktop__address { display: flex; align-items: center; gap: 8px; margin: 0 4px 5px; }
.da2-desktop__address span { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; background: var(--w95-light); border: 2px solid; border-color: var(--w95-inset); padding: 3px 6px; overflow-wrap: anywhere; }
.da2-desktop__address svg { width: 15px; height: 15px; }
.da2-desktop__files {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(118px,100%),1fr)); align-content: start; gap: 8px;
  min-height: 178px; padding: clamp(8px,3vw,32px); background: var(--w95-light);
  border: 2px solid; border-color: var(--w95-inset);
}
.da2-desktop__files a { display: flex; flex-direction: column; align-items: center; justify-content: start; gap: 8px; min-height: 90px; min-width: 0; padding: 10px 4px; color: var(--w95-ink); text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.da2-desktop__files svg { width: 40px; height: 40px; color: var(--w95-navy); fill: #e6ebfb; }
.da2-desktop__files :is(.da2-icon-folder,.da2-icon-folder-open) { fill: #ffe287; }
.da2-desktop__files :is(.da2-icon-notebook,.da2-icon-document) { fill: #e6f1ff; }
.da2-desktop__files .da2-icon-message { fill: #e5ffdb; }
.da2-desktop__files a:hover, .da2-desktop__files a:focus-visible, .da2-desktop__start nav a:hover, .da2-desktop__menubar a:hover { background: var(--w95-navy); color: var(--w95-light); }
.da2-desktop__files a:focus-visible { outline-offset: -4px; }
.da2-desktop__search { padding: 9px 5px; }
.da2-desktop__search form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
.da2-desktop__search .search-field { width: 100%; min-height: 38px; padding: 4px 6px; }
.da2-desktop__search .search-submit { min-height: 38px; background: var(--w95-gray); border: 2px solid; border-color: var(--w95-raised); color: var(--w95-ink); -webkit-text-fill-color: currentColor; }
.da2-desktop__status { margin: 0; padding: 3px 8px; border: 2px solid; border-color: var(--w95-inset); }
.da2-desktop__taskbar {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 5px;
  background: var(--w95-gray); color: var(--w95-ink); border: 2px solid; border-color: var(--w95-raised);
}
.da2-desktop__task { display: flex; align-items: center; gap: 6px; color: var(--w95-ink); background: var(--w95-warm); padding: 5px; border: 2px solid; border-color: var(--w95-inset); text-decoration: none; }
.da2-desktop__start { position: relative; }
.da2-desktop__start > summary { list-style: none; cursor: pointer; padding-inline: 12px; font-weight: 700; }
.da2-desktop__start > summary::-webkit-details-marker { display: none; }
.da2-desktop__start > nav { position: absolute; z-index: 4; bottom: calc(100% + 4px); left: 0; width: 210px; max-width: calc(100vw - 46px); }
.da2-desktop__start nav a { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 8px; color: var(--w95-ink); text-decoration: none; }

/* The selected maximum never exceeds the central grid track. */
body.da2-style-windows95 .reading-column {
  width: min(100%, var(--da2-window-width, 860px));
  margin-inline: auto;
}
body.da2-style-windows95.da2-reading-width-780 { --da2-window-width: 780px; }
body.da2-style-windows95.da2-reading-width-960 { --da2-window-width: 960px; }
body.da2-style-windows95.da2-reading-width-1080 { --da2-window-width: 1080px; }
@media (min-width: 1280px) {
  body.da2-style-windows95 .site-main > .content-wrap {
    width: min(var(--da2-shell), calc(100% - 32px));
  }
}

/* Reading windows use the same raised shell and blue title as Explorer. */
body.da2-style-windows95 .reading-column.da2-reading-window {
  padding: 3px;
  border-color: var(--w95-raised);
  background: var(--w95-gray);
}
.da2-reading-window__title {
  font-size: clamp(17px, 2.4vw, 23px);
  padding: 8px 10px;
}
.da2-reading-window__title span { min-width: 0; overflow-wrap: anywhere; }
.da2-reading-window__body {
  min-width: 0;
  padding: clamp(10px, 2.2vw, 30px);
  background: var(--w95-light);
  border: 2px solid;
  border-color: var(--w95-inset);
  margin-top: 3px;
}
.da2-reading-window__body .entry-meta { margin-top: 0; }
body.da2-style-windows95 .notes-main .reading-column {
  background: var(--w95-light);
  border-color: var(--w95-raised);
  box-shadow: inset 0 0 0 3px var(--w95-gray);
}
body.da2-style-windows95 .notes-main :is(.page-title,.entry-title) {
  padding: 7px 10px;
  background: var(--w95-navy);
  color: var(--w95-light);
  font: 700 clamp(17px,2.4vw,23px)/1.35 var(--w95-font);
}
body.da2-style-windows95 .notes-main {
  --einb-border: var(--w95-mid);
  --einb-surface: var(--w95-light);
  --einb-surface-2: var(--w95-gray);
  --einb-text: var(--w95-ink);
  --einb-muted: var(--w95-dark);
  --einb-accent: var(--w95-navy);
  --einb-radius: 0px;
}
body.da2-style-windows95 .ei-notes-topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 8px;
}
body.da2-style-windows95 .ei-notes-topic-card {
  align-items: center;
  padding: 8px;
  border: 2px solid;
  border-color: var(--w95-raised);
  background: var(--w95-gray);
  color: var(--w95-ink);
  overflow-wrap: anywhere;
}
body.da2-style-windows95 .ei-notes-topic-card:hover { background: var(--w95-warm); }
body.da2-style-windows95 .ei-notes-topic-card:active { border-color: var(--w95-inset); }
body.da2-style-windows95 .ei-notes-topic-card__visual {
  width: 36px; height: 36px; background: var(--w95-light);
  border: 2px solid; border-color: var(--w95-inset);
}
body.da2-style-windows95 .ei-notes-topic-card__visual .ei-notes-topic-visual__emoji { font-size: 20px; }
body.da2-style-windows95 :is(.notes-sidebar,.notes-main) .da2-w95-icon {
  width: 16px; height: 16px;
}
body.da2-style-windows95 :is(.notes-sidebar,.notes-main) :is(.notes-sidebar-home,.notes-sidebar-summary-label,.notes-sidebar-leaf,summary,.breadcrumb-chip,.page-title,.sidebar-title) > .da2-w95-icon {
  margin-inline-end: 6px;
}
body.da2-style-windows95 .notes-main :is(.ei-notes-topic-card__visual,.ei-notes-topic-hero__visual):has(.da2-w95-icon) {
  border: 0; background: transparent; width: 20px; height: 20px; color: var(--w95-ink);
}
body.da2-style-windows95 .ei-notes-topic-card__title { color: var(--w95-ink); margin: 0; }
body.da2-style-windows95 .ei-notes-content-list__source { border-radius: 0; }

/* Guestbook: distinguish thread structure with rails and flat white reading panes. */
body.da2-style-windows95 .da2-gb .da2-gb-form-wrap {
  padding: 3px;
  border: 2px solid; border-color: var(--w95-raised);
  background: var(--w95-gray);
}
body.da2-style-windows95 .da2-gb :is(.da2-gb-form-wrap,.da2-gb-list-head) > h2 {
  margin: 0; padding: 6px 9px;
  background: var(--w95-navy); color: var(--w95-light);
  font: 700 15px/1.35 var(--w95-font);
}
body.da2-style-windows95 .da2-gb .da2-gb-form-wrap > h2 {
  background: transparent;
  color: var(--w95-ink);
}
body.da2-style-windows95 .da2-gb .da2-gb-list-head { display: block; margin-bottom: 10px; }
body.da2-style-windows95 .da2-gb .da2-gb-form-note { margin: 9px 10px 0; }
body.da2-style-windows95 .da2-gb .da2-gb-form { padding: 10px; }
body.da2-style-windows95 .entry-content .da2-gb :is(.da2-gb-list,.da2-gb-replies) {
  padding: 0; margin: 0; gap: 0;
}
body.da2-style-windows95 .entry-content .da2-gb .da2-gb-list { gap: 14px; }
body.da2-style-windows95 .entry-content .da2-gb .da2-gb-item { margin: 0; min-width: 0; }
body.da2-style-windows95 .da2-gb .da2-gb-list > .da2-gb-item {
  border: 1px solid var(--w95-mid);
  background: var(--w95-light);
}
body.da2-style-windows95 .da2-gb .da2-gb-comment {
  padding: 0; border: 0; background: transparent;
}
body.da2-style-windows95 .da2-gb .da2-gb-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 2px 10px; padding: 6px 12px;
  border: 0; background: var(--w95-gray); color: var(--w95-ink);
  font: 700 14px/1.4 var(--w95-font);
}
body.da2-style-windows95 .da2-gb .da2-gb-author { min-width: 0; overflow-wrap: anywhere; }
body.da2-style-windows95 .da2-gb .da2-gb-meta time { margin: 0; font-size: 12px; font-weight: 400; }
body.da2-style-windows95 .da2-gb .da2-gb-content { padding: 9px 12px 11px; font-size: 16px; line-height: 1.6; }
body.da2-style-windows95 .da2-gb .da2-gb-content > p { margin: 0 0 .45em; }
body.da2-style-windows95 .da2-gb .da2-gb-content > :last-child { margin-bottom: 0; }
body.da2-style-windows95 .entry-content .da2-gb .da2-gb-replies {
  border: 0;
  background: #f1f0ec;
}
body.da2-style-windows95 .da2-gb .da2-gb-item--reply > .da2-gb-comment {
  border-block-start: 1px solid var(--w95-gray);
  padding-inline-start: clamp(4px, 1vw, 12px);
}
body.da2-style-windows95 .da2-gb .da2-gb-item--reply .da2-gb-meta {
  background: transparent; padding-block-end: 0;
}
body.da2-style-windows95 .da2-gb .da2-gb-item--reply .da2-gb-content { padding-block-start: 4px; }
body.da2-style-windows95 .da2-gb .da2-gb-item--reply .da2-gb-author::before {
  content: "↳"; margin-inline-end: 5px; color: var(--w95-navy);
}
body.da2-style-windows95 .da2-gb .da2-gb-pagination a { border: 2px solid; border-color: var(--w95-raised); background: var(--w95-gray); color: var(--w95-ink); }
body.da2-style-windows95 .da2-gb .da2-gb-pagination a:active { border-color: var(--w95-inset); }

/* A narrow desktop remains usable as a two-column launcher. */
@media (max-width: 600px) {
  .da2-desktop__files { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* 10. 侘寂 wabisabi：低彩度、紙灰與土色，留白大於裝飾。 */
body.da2-style-wabisabi {
  --da2-bg: #eeeae1;
  --da2-surface: #e7e1d6;
  --da2-surface-2: #dcd5c9;
  --da2-text: #383630;
  --da2-muted: #777268;
  --da2-border: #c5bdb0;
  --da2-accent: #65735c;
  --da2-accent-hover: #46533f;
  --da2-footer: #3d3b35;
  --da2-footer-text: #eeeae1;
  --da2-radius: 2px;
  --da2-font: Georgia, "Noto Serif TC", "PMingLiU", serif;
}
body.da2-style-wabisabi .site-header { background: rgba(238,234,225,.96); border-top: 1px solid #777268; box-shadow: none; }
body.da2-style-wabisabi .site-sidebar { background: #ebe6dc; }
body.da2-style-wabisabi .site-brand,
body.da2-style-wabisabi .site-brand:hover,
body.da2-style-wabisabi .primary-nav a,
body.da2-style-wabisabi .entry-title,
body.da2-style-wabisabi .page-title,
body.da2-style-wabisabi .post-list__title a,
body.da2-style-wabisabi .breadcrumbs__home { color: #34322d; }
body.da2-style-wabisabi .sidebar-title,
body.da2-style-wabisabi .breadcrumb-chip { background: transparent; border-bottom: 1px solid #c5bdb0; border-radius: 0; }
body.da2-style-wabisabi .sidebar-list a { color: #555148; }
body.da2-style-wabisabi .sidebar-list a:hover,
body.da2-style-wabisabi .sidebar-list .current-cat > a { background: #e3ddd2; color: #46533f; }
body.da2-style-wabisabi .entry-content blockquote { background: transparent; color: #555148; border-left: 2px solid #8b9482; }
body.da2-style-wabisabi .entry-content pre,
body.da2-style-wabisabi .entry-content code { background: #e6e0d5; color: #3f3c36; border-color: #c5bdb0; }
body.da2-style-wabisabi .post-list__excerpt,
body.da2-style-wabisabi .post-nav a { color: #5d594f; }
body.da2-style-wabisabi .post-nav a { background: transparent; }
body.da2-style-wabisabi .da2-window-icon { background: transparent; color: #383630; border-color: #777268; }

/* Common dark-form/readability normalization for explicit dark presets. */
body.da2-style-ei_world .header-search .search-field,
body.da2-style-pixel .header-search .search-field,
body.da2-style-dq .header-search .search-field,
body.da2-style-rpg .header-search .search-field,
body.da2-style-terminal .header-search .search-field,
body.da2-style-ei_world .comment-respond input,
body.da2-style-ei_world .comment-respond textarea,
body.da2-style-pixel .comment-respond input,
body.da2-style-pixel .comment-respond textarea,
body.da2-style-dq .comment-respond input,
body.da2-style-dq .comment-respond textarea,
body.da2-style-rpg .comment-respond input,
body.da2-style-rpg .comment-respond textarea,
body.da2-style-terminal .comment-respond input,
body.da2-style-terminal .comment-respond textarea {
  background: var(--da2-surface);
  color: var(--da2-text);
  border-color: var(--da2-border);
}

/* Minimal alone follows OS dark mode; explicit presets stay deterministic. */
@media (prefers-color-scheme: dark) {
  body.da2-style-minimal {
    --da2-bg: #17191b;
    --da2-surface: #202327;
    --da2-surface-2: #282c31;
    --da2-text: #e4e7ea;
    --da2-muted: #9aa3ab;
    --da2-border: #353a40;
    --da2-accent: #62c989;
    --da2-accent-hover: #86dda6;
    --da2-footer: #111419;
  }
  body.da2-style-minimal,
  body.da2-style-minimal .mobile-nav__panel { background: var(--da2-bg); color: var(--da2-text); }
  body.da2-style-minimal .site-header { background: rgba(23,25,27,.97); }
  body.da2-style-minimal .site-brand,
  body.da2-style-minimal .site-brand:hover,
  body.da2-style-minimal .primary-nav a,
  body.da2-style-minimal .breadcrumbs__home,
  body.da2-style-minimal .entry-title,
  body.da2-style-minimal .page-title,
  body.da2-style-minimal .post-list__title a { color: #f0f2f4; }
  body.da2-style-minimal .da2-window-icon { background: #f4f4f4; color: #111; }
  body.da2-style-minimal .header-search .search-field,
  body.da2-style-minimal .entry-content code { background: #262a2e; color: #e8eaed; }
  body.da2-style-minimal .site-sidebar { background: #1a1c1f; }
  body.da2-style-minimal .sidebar-title,
  body.da2-style-minimal .breadcrumb-chip { background: #23272b; }
  body.da2-style-minimal .sidebar-list a { color: #c8cdd2; }
  body.da2-style-minimal .sidebar-list a:hover { background: #23272b; color: #fff; }
  body.da2-style-minimal .entry-content blockquote { background: #1c2420; color: #d5ddd8; }
  body.da2-style-minimal .entry-content pre { background: #111315; border-color: #353a40; }
  body.da2-style-minimal .entry-content th { background: #23262a; }
  body.da2-style-minimal .post-list__excerpt { color: #c6ccd1; }
  body.da2-style-minimal .post-nav a { color: #d7dce0; }
  body.da2-style-minimal .comment-respond input,
  body.da2-style-minimal .comment-respond textarea { background: #202327; color: #e4e7ea; }
  body.da2-style-minimal ::selection { background: #285d3d; color: #fff; }
}


/* Mobile search uses the parent theme's native <button.search-submit>.
   Explicit appearance and fill prevent iOS from borrowing white button text. */
body.da2-style-da2 .site-header .mobile-nav__panel form.search-form button.search-submit {
  -webkit-appearance: none;
  appearance: none;
  color: #17324f !important;
  -webkit-text-fill-color: #17324f !important;
  background: #e7f0f7;
  background-image: none;
  text-shadow: none !important;
  opacity: 1 !important;
}
body.da2-style-da2 .site-header .mobile-nav__panel form.search-form button.search-submit:hover,
body.da2-style-da2 .site-header .mobile-nav__panel form.search-form button.search-submit:focus-visible,
body.da2-style-da2 .site-header .mobile-nav__panel form.search-form button.search-submit:active {
  color: #0b3d6d !important;
  -webkit-text-fill-color: #0b3d6d !important;
  background: #dceaf6;
}

/* Blog stream (/blog/) — full posts in one continuous reading surface. */
.da2-blog-stream { width: 100%; }
.da2-stream-article { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--da2-border); }
.da2-stream-article:last-of-type { margin-bottom: 20px; }
/* The full-post stream must use the same heading scale as a single post.
   The title remains a link, but inherits the article's heading color. */
.da2-stream-title {
  margin: 0 0 8px;
  color: var(--da2-text);
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
body.da2-style-da2 .da2-stream-title { letter-spacing: -.025em; }
/* Stream titles are links: retain the single-post title scale, but blue
   underlined link affordance (including visited links) on the blog stream. */
body.da2-style-da2 .da2-blog-stream h2.da2-stream-title > a,
body.da2-style-da2 .da2-blog-stream h2.da2-stream-title > a:visited {
  color: #1769aa !important;
  text-decoration: underline !important;
  text-decoration-thickness: .065em;
  text-underline-offset: .14em;
}
.da2-stream-title a:hover,
.da2-stream-title a:focus-visible {
  color: var(--da2-accent-hover);
  text-decoration: underline;
}
.da2-stream-meta { margin: 0 0 18px; color: var(--da2-muted); font-size: 13px; line-height: 1.7; display: block; }
.da2-stream-meta time { white-space: nowrap; }
.da2-stream-content { margin-bottom: 0; }
.da2-blog-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; margin: 28px 0 8px; }
.da2-blog-pagination__prev, .da2-blog-pagination__next { display: block; border: 1px solid var(--da2-border); padding: 12px 14px; text-decoration: none; background: var(--da2-surface); border-radius: var(--da2-radius); }
.da2-blog-pagination__next { text-align: right; }
.da2-blog-pagination a:hover { border-color: var(--da2-accent); }
body.da2-style-da2 .da2-stream-article { border-bottom-style: dotted; border-bottom-color: #c7cbcb; }
body.da2-style-da2 .da2-blog-pagination__prev, body.da2-style-da2 .da2-blog-pagination__next { border-style: dotted; border-radius: 0; }
body.da2-style-pixel .da2-blog-pagination__prev, body.da2-style-pixel .da2-blog-pagination__next,
body.da2-style-terminal .da2-blog-pagination__prev, body.da2-style-terminal .da2-blog-pagination__next { border-radius: 0; }
@media (max-width: 720px) {
  .da2-stream-article { padding-bottom: 26px; margin-bottom: 26px; }
  .da2-blog-pagination { grid-template-columns: 1fr; }
  .da2-blog-pagination__next { text-align: left; }
}

/* Foundation switches .entry-title to 2rem at 782px, NOT 620px.
   Match that exact breakpoint on the stream so tablets/phones agree. */
@media (max-width: 782px) {
  body.da2-style-da2 .da2-blog-stream h2.da2-stream-title {
    font-size: 2rem !important;
    line-height: 1.2;
  }
}

/* Blog Tools emits one article per post. Give each its own reading window. */
body.da2-style-windows95 .reading-column:has(> .da2-blog-stream) {
  padding: 0;
  border: 0;
  background: transparent;
}
body.da2-style-windows95 .da2-blog-stream > .da2-stream-article {
  --da2-stream-inset: clamp(10px, 2.2vw, 30px);
  padding: 3px;
  margin-bottom: 20px;
  border: 2px solid;
  border-color: var(--w95-raised);
  background: var(--w95-gray);
}
body.da2-style-windows95 .da2-stream-article > .da2-stream-header > .da2-stream-title {
  margin: 0 0 3px;
  padding: 8px 10px;
  background: var(--w95-navy);
  font: 700 clamp(17px, 2.4vw, 23px)/1.35 var(--w95-font);
}
body.da2-style-windows95 .da2-stream-title > a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--w95-light);
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.da2-style-windows95 .da2-stream-title > a::before {
  content: "";
  width: 10px;
  height: 13px;
  flex: none;
  border: 1px solid currentColor;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 3px) center / 5px 5px no-repeat;
}
body.da2-style-windows95 .da2-stream-title > a:is(:hover,:focus-visible) { text-decoration: underline; }
body.da2-style-windows95 .da2-stream-article :is(.da2-stream-meta,.da2-stream-content) {
  background: var(--w95-light);
  border-inline: 2px solid;
  border-inline-color: var(--w95-mid) var(--w95-light);
  padding-inline: var(--da2-stream-inset);
}
body.da2-style-windows95 .da2-stream-article .da2-stream-meta {
  margin: 0;
  padding-block: var(--da2-stream-inset) 0;
  border-top: 2px solid var(--w95-mid);
}
body.da2-style-windows95 .da2-stream-article .da2-stream-content {
  display: flow-root;
  padding-block: 8px var(--da2-stream-inset);
  border-bottom: 2px solid var(--w95-light);
}
/* The stream already spaces the metadata from the first content block. */
body.da2-style-windows95 .da2-stream-content > :is(h1,h2,h3,h4,h5,h6):first-child,
body.da2-style-windows95 .da2-stream-content > :is(.ei-md-sized-content,.ei-md-author-content):first-child > :is(h1,h2,h3,h4,h5,h6):first-child {
  margin-block-start: 0;
}


/* ---------- Da2 Notes ---------- */
.notes-sidebar-nav { padding: 8px 8px 26px; font-size: 14px; }
.notes-sidebar-home {
  display: block;
  padding: 8px 10px;
  margin: 0 0 4px;
  border-radius: 4px;
  color: var(--da2-text);
  font-weight: 750;
  text-decoration: none;
}
.notes-sidebar-home:hover,
.notes-sidebar-home.is-current { background: var(--da2-surface-2); color: var(--da2-accent); }
.notes-sidebar-group { margin: 1px 0; }
.notes-sidebar-group > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 7px 28px 7px 10px;
  min-height: 36px;
  color: var(--da2-text);
  font-weight: 650;
  border-radius: 4px;
}
.notes-sidebar-group > summary::-webkit-details-marker { display: none; }
.notes-sidebar-group > summary::after {
  content: "›";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--da2-muted);
  font: 700 22px/1 Georgia, serif;
}
.notes-sidebar-group[open] > summary::after { transform: translateY(-50%) rotate(90deg); }
.notes-sidebar-group > summary:hover { background: var(--da2-surface); color: var(--da2-accent); }
.notes-sidebar-summary-label { display: block; overflow-wrap: anywhere; }
.notes-sidebar-topic-index {
  display: block;
  margin: 0 8px 2px 24px;
  padding: 3px 7px;
  color: var(--da2-muted);
  font-size: 12px;
  text-decoration: none;
}
.notes-sidebar-topic-index:hover,
.notes-sidebar-topic-index.is-current { color: var(--da2-accent); text-decoration: underline; font-weight: 700; }
.notes-sidebar-notes { list-style: none; margin: 0; padding: 0 0 3px 20px; }
.notes-sidebar-notes li { margin: 0; }
.notes-sidebar-notes a {
  display: block;
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--da2-text);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.notes-sidebar-notes a:hover,
.notes-sidebar-notes .is-current > a { background: var(--da2-surface); color: var(--da2-accent); font-weight: 700; }
.notes-sidebar-group .notes-sidebar-group { margin-left: 14px; }
.notes-sidebar-leaf { padding: 6px 10px; }
.notes-sidebar-leaf a { color: var(--da2-text); text-decoration: none; }
.notes-sidebar-leaf a:hover,
.notes-sidebar-leaf a.is-current { color: var(--da2-accent); font-weight: 700; text-decoration: underline; }
.notes-topic-emoji { display: inline-block; width: 1.45em; text-align: center; }

.notes-home-intro,
.notes-topic-description { margin: 0 0 28px; color: var(--da2-text); }
.notes-section-title { margin: 30px 0 10px; font-size: 1.05rem; }
.notes-recent-list,
.notes-topic-list { margin: 0; padding-left: 1.2em; }
.notes-recent-list li { margin: .55em 0; }
.notes-recent-list time {
  display: inline-block;
  min-width: 7.2em;
  margin-right: .5em;
  color: var(--da2-muted);
  font: 12px/1.5 var(--da2-mono);
}
.notes-topic-list { list-style: none; padding: 0; }
.notes-topic-list li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dotted var(--da2-border); }
.notes-topic-list li > a { flex: 1 1 auto; font-weight: 650; text-decoration: none; }
.notes-topic-list time { flex: 0 0 auto; color: var(--da2-muted); font: 11px/1.4 var(--da2-mono); }
.note-meta { font-family: var(--da2-mono); }
.breadcrumb-current { color: var(--da2-muted); }
.notes-mobile-index { display: none; }

body.da2-style-da2 .notes-sidebar-home,
body.da2-style-da2 .notes-sidebar-group > summary,
body.da2-style-da2 .notes-sidebar-notes a { color: #34475c; }
body.da2-style-da2 .notes-sidebar-home:hover,
body.da2-style-da2 .notes-sidebar-home.is-current,
body.da2-style-da2 .notes-sidebar-group > summary:hover,
body.da2-style-da2 .notes-sidebar-notes a:hover,
body.da2-style-da2 .notes-sidebar-notes .is-current > a { color: #0b3d6d; background: #dceaf6; }
body.da2-style-da2 .notes-sidebar-home:hover,
body.da2-style-da2 .notes-sidebar-group > summary:hover,
body.da2-style-da2 .notes-sidebar-notes a:hover { font-weight: 700; }

@media (max-width: 1020px) {
  .notes-mobile-index { display: block; margin: 0 0 24px; border: 1px solid var(--da2-border); border-radius: var(--da2-radius); background: var(--da2-surface); }
  .notes-mobile-index > summary { cursor: pointer; padding: 9px 12px; font-weight: 750; }
  .notes-mobile-index__body { border-top: 1px solid var(--da2-border); max-height: min(68vh, 560px); overflow: auto; }
  .notes-mobile-index__body .notes-sidebar-nav { padding: 8px; }
}

@media (max-width: 620px) {
  .notes-topic-list li { display: block; }
  .notes-topic-list time { display: block; margin-top: 3px; }
  .notes-recent-list time { display: block; min-width: 0; margin: 0 0 2px; }
}

/* v0.3.2 — mobile two-level navigation: WP menu ↔ chronological article index. */
body.da2-style-da2 .mobile-nav__archive > summary,
body.da2-style-da2 .mobile-nav__archive-title { color: #17324f; }
body.da2-style-da2 .mobile-nav__archive > summary:hover,
body.da2-style-da2 .mobile-nav__archive-title:hover { color: #0b3d6d; background: #dceaf6; font-weight: 700; }
body.da2-style-da2 .mobile-nav__archive-layer { background: #f8fbff; }
body.da2-style-da2 .mobile-nav__archive[open] > summary { background: #eef5fb; border-bottom-color: #9ab5cc; }


/* v0.3.2 — Da2 mobile/navigation hardening.
   Explicit structural styling avoids old cached CSS + new markup mismatches. */
@media (max-width: 1020px) {
  body.da2-style-da2 .mobile-nav > summary {
    border-color: #9fb4c8;
    background: #e7f0f7;
    color: #17324f;
  }
  body.da2-style-da2 .mobile-nav__panel {
    background: #f8fbff;
    border-right-color: #9fb4c8;
  }
  body.da2-style-da2 .mobile-nav__panel .menu > li > a,
  body.da2-style-da2 .mobile-nav__archive > summary { color: #17324f; }
  body.da2-style-da2 .mobile-nav__panel .menu > li > a:hover,
  body.da2-style-da2 .mobile-nav__panel .menu > .current-menu-item > a,
  body.da2-style-da2 .mobile-nav__panel .menu > .current_page_item > a,
  body.da2-style-da2 .mobile-nav__archive > summary:hover {
    background: #dceaf6;
    color: #0b3d6d;
  }
}

/* Desktop update log and optional notice windows. */
.da2-desktop__extra { margin-top: 16px; }
.da2-desktop__updates,
.da2-desktop__notice {
  margin-top: 3px;
  padding: 10px 12px;
  background: var(--w95-light);
  color: var(--w95-ink);
  border: 2px solid;
  border-color: var(--w95-inset);
  overflow-wrap: anywhere;
}
.da2-desktop__updates {
  max-height: 188px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-color: var(--w95-gray) var(--w95-warm);
}
.da2-desktop__log { max-width: 560px; margin-inline: auto; }
.da2-desktop__welcome { margin: 0 0 8px; text-align: center; font-weight: 700; }
.da2-desktop__welcome-star { color: #ffe66d; text-shadow: 1px 1px #404040; }
.da2-desktop__welcome-viewport { margin: 0; font-size: var(--da2-welcome-size, 15px); overflow-wrap: anywhere; }
.da2-desktop__welcome-controls { display: flex; justify-content: flex-end; padding: 4px 6px 2px; }
.da2-desktop__welcome-controls label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; cursor: pointer; }
.da2-desktop__welcome-pause { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .da2-desktop__welcome--marquee .da2-desktop__welcome-viewport { overflow: hidden; text-align: start; }
  .da2-desktop__welcome--marquee .da2-desktop__welcome-text {
    display: inline-block;
    white-space: nowrap;
    margin-inline-start: 100%;
    animation: da2-welcome-marquee 16s linear infinite;
  }
  .da2-desktop__welcome--marquee .da2-desktop__welcome-viewport:hover .da2-desktop__welcome-text { animation-play-state: paused; }
  .da2-desktop__log:has(.da2-desktop__welcome-pause:checked) .da2-desktop__welcome-viewport { text-align: center; }
  .da2-desktop__log:has(.da2-desktop__welcome-pause:checked) .da2-desktop__welcome-viewport .da2-desktop__welcome-text {
    margin-inline-start: 0;
    white-space: normal;
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .da2-desktop__welcome-controls { display: none; }
}
@keyframes da2-welcome-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); margin-inline-start: 0; }
}

.da2-desktop__log .da2-w95-title {
  background: var(--da2-log-title-bg);
  color: var(--da2-log-title-fg);
  padding: 3px 6px;
}
.da2-desktop__log .da2-desktop__updates {
  block-size: 128px;
  padding: 5px 7px;
  font-size: 13px;
  line-height: 1.5;
}
.da2-desktop__extra-copy { white-space: pre-wrap; }
.da2-desktop__updates > p { margin: 0 0 6px; }

.da2-desktop__log-text { white-space: pre-wrap; overflow-wrap: anywhere; }

body.da2-style-windows95 .da2-image-alt-tooltip {
  position: fixed;
  z-index: 200;
  box-sizing: border-box;
  max-width: min(360px, calc(100vw - 16px));
  padding: 6px 9px;
  border: 1px solid #151515;
  background: #ffffe1;
  color: #111;
  box-shadow: 2px 2px 0 #666;
  font: 600 14px/1.45 var(--w95-font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
body.da2-style-windows95 .da2-image-alt-tooltip[hidden] { display: none; }
body.da2-style-windows95 .entry-content img[tabindex]:focus-visible {
  outline: 2px dotted var(--w95-navy);
  outline-offset: 3px;
}

body.da2-style-windows95 .da2-image-alt-tooltip {
  max-height: calc(100vh - 16px);
  overflow: auto;
}
.da2-image-alt-tooltip__open {
  display: block;
  margin-top: 6px;
  padding: 4px 8px;
  border: 2px solid;
  border-color: #fff #555 #555 #fff;
  background: #c0c0c0;
  color: #111;
  font: inherit;
  cursor: pointer;
}
.da2-image-alt-tooltip__open[hidden] { display: none; }
