html[data-theme="light"]{color-scheme:light;background:#f5f5f1}
html[data-theme="dark"]{color-scheme:dark;background:#10120f}
html[data-theme="dark"] body,html[data-theme="dark"] dialog{background:#10120f;color:#eceee8}
html[data-theme="dark"] .identity span,html[data-theme="dark"] nav button,html[data-theme="dark"] .dialog-head span,html[data-theme="dark"] #empty p,html[data-theme="dark"] #subnav button,html[data-theme="dark"] #versions button{color:#9b9f94}
html[data-theme="dark"] nav button[aria-pressed="true"],html[data-theme="dark"] #versions button[aria-pressed="true"]{color:#eceee8;border-color:#eceee8}
html[data-theme="dark"] nav button:hover,html[data-theme="dark"] #subnav button[aria-pressed="true"],html[data-theme="dark"] #versions button:hover{color:#eceee8}
html[data-theme="dark"] .caption span:last-child{color:#9b9f94}
html[data-theme="dark"] .image{background:#20241d}
html[data-theme="dark"] .unavailable-still{color:#a4aa9c}
html[data-theme="dark"] footer{border-color:#34392e;color:#9b9f94}
html[data-theme="dark"] dialog::backdrop{background:#000d}
html[data-theme="dark"] ::selection{background:#d9e1cb;color:#10120f}
/* One accessible sun/moon switch in the header, without changing media colors. */
header{position:relative;padding-right:140px}
.theme-switch{position:absolute;top:27px;right:30px;width:86px;height:44px;padding:5px;display:grid;place-items:center;border-radius:24px;color:#73786d}
.theme-switch-track{width:76px;height:34px;border:1px solid #bfc5b7;border-radius:20px;position:relative;display:flex;align-items:center;justify-content:space-around;background:#e5e8df}
.theme-switch-thumb{position:absolute;left:2px;top:2px;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .2s ease,background .2s ease}
.theme-switch svg{width:19px;height:19px;position:relative;z-index:1;pointer-events:none}
.theme-switch-sun{color:#252c1e}.theme-switch-moon{color:#737c68}
.theme-switch:focus-visible{outline:2px solid currentColor;outline-offset:3px}
html[data-theme="dark"] .theme-switch-track{background:#1b2116;border-color:#4b5540}
html[data-theme="dark"] .theme-switch-thumb{transform:translateX(40px);background:#d6e0c6;box-shadow:none}
html[data-theme="dark"] .theme-switch-sun{color:#a5ad9a}
html[data-theme="dark"] .theme-switch-moon{color:#1a2411}
@media(max-width:800px){header{padding-right:20px}.identity{display:inline-block;max-width:calc(100% - 90px)}.theme-switch{top:20px;right:14px}header nav{padding-right:0}}
@media(prefers-reduced-motion:reduce){.theme-switch-thumb{transition:none}}
