:root{--reader-size:18px;--reader-leading:1.9;--reader-width:68ch;--reader-font:inherit}
html[data-theme=night]{color-scheme:dark;--paper:#151b19;--ink:#e8eee5;--muted:#b9c4b6;--line:#526057;--blue:#a8bdff;--orange:#ff9a75;--yellow:#3d412b}
html[data-theme=reading]{color-scheme:light;--paper:#f6eedc;--ink:#342c21;--muted:#655b4d;--line:#c8bca5;--blue:#364c86;--orange:#a34122;--yellow:#e4d9b9}
#display-open{border:1px solid currentColor;padding:6px 10px;background:transparent;font-size:11px;white-space:nowrap}.masthead nav{flex-wrap:wrap}
#display-panel{width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 30px);overflow:auto;padding:28px;box-shadow:8px 8px 0 var(--blue)}#display-panel h2{font-size:29px;margin:0 40px 12px 0;letter-spacing:-.04em}#display-panel .display-intro{font-size:13px;line-height:1.65;margin-bottom:20px}#display-panel label{font-size:14px;font-weight:600;display:block;margin:0 0 6px}#display-panel select{width:100%;background:var(--paper);color:var(--ink);border:1px solid var(--ink);padding:10px;font:inherit;font-size:14px;border-radius:0;min-height:44px}.display-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.display-grid .display-theme{grid-column:1/-1}.display-checks{display:grid;gap:13px;margin:22px 0}.display-checks label{display:flex!important;align-items:flex-start;gap:10px;line-height:1.5;font-weight:400!important}.display-checks input{margin-top:4px;width:18px;height:18px;flex:none;accent-color:var(--blue)}.display-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px}.display-actions button{padding:10px 15px;border:1px solid var(--ink);background:var(--paper);color:var(--ink);font-size:13px}.display-actions .display-done{background:var(--ink);color:var(--paper)}#display-panel .display-close{position:absolute;right:18px;top:16px;border:0;background:transparent;font-size:22px;padding:5px}#display-panel .display-note{font-size:11px;line-height:1.65;margin:12px 0 0}#display-panel :focus-visible{outline:3px solid var(--orange);outline-offset:3px}
html .prose{font-size:var(--reader-size);line-height:var(--reader-leading);font-family:var(--reader-font);max-width:min(100%,var(--reader-width))}html .article{width:min(calc(var(--reader-width) + 4rem),calc(100% - 44px))}html .article .prose{margin-inline:auto}html .prose h2{font-size:1.55em;line-height:1.25}html .prose pre,html .prose code{font-family:Consolas,monospace}html .prose pre{max-width:100%;overflow:auto}.prose p{overflow-wrap:break-word}html[data-underline=true] main a{text-decoration:underline;text-underline-offset:3px}html[data-contrast=true]{--ink:#101710;--muted:#303c30;--line:#576057;--blue:#103cae}html[data-theme=night][data-contrast=true]{--ink:#fff;--muted:#e0e9dd;--line:#a9b5a5;--blue:#c3d1ff}html[data-focus=true] .announcement,html[data-focus=true] footer,html[data-focus=true] .footnote,html[data-focus=true] .reading-meter,html[data-focus=true] .about-portrait,html[data-focus=true] .fan-reaction,html[data-focus=true] .chamber,html[data-focus=true] .humor-portrait,html[data-focus=true] .archive-heading>img,html[data-focus=true] .error-prop,html[data-focus=true] .incident-scene{display:none}html[data-focus=true] .hero,html[data-focus=true] .error-split,html[data-focus=true] .incident-intro{grid-template-columns:1fr}html[data-focus=true] .article{padding-top:30px}.reading-guide{position:fixed;inset-inline:0;height:2.2rem;top:45vh;transform:translateY(-50%);border-top:2px solid #c46120;border-bottom:2px solid #c46120;background:#eebc5e18;z-index:45;pointer-events:none}.reading-guide[hidden]{display:none!important}
html[data-theme=night] .announcement,html[data-theme=night] .chamber-top,html[data-theme=night] .primary,html[data-theme=night] .incident-primary{background:#a8bdff;color:#101612}html[data-theme=night] .chamber,html[data-theme=night] .specimen,html[data-theme=night] .pinned,html[data-theme=night] .prose pre,html[data-theme=night] .page-aside,html[data-theme=night] .recovery-file,html[data-theme=night] .error-drawer{background:#242e29;color:var(--ink)}html[data-theme=night] .graphic-details,html[data-theme=night] .contact-notice,html[data-theme=night] .contact-form input,html[data-theme=night] .contact-form textarea,html[data-theme=night] .recovery-file button{background:#1e2822;color:var(--ink);border-color:var(--blue)}html[data-theme=night] .graphic-show,html[data-theme=night] .graphic-hide,html[data-theme=night] .graphic-details{color:var(--blue)}html[data-theme=night] .work-list article,html[data-theme=night] .maintenance-list li,html[data-theme=night] .story-empty{border-color:var(--blue)}html[data-theme=night] .story-empty{box-shadow:6px 6px 0 var(--blue)}html[data-theme=night] .error-prop{background:#303c35;color:var(--ink);border-color:var(--ink);box-shadow:12px 12px 0 #738de0}html[data-theme=night] .error-code,html[data-theme=night] .error-object,html[data-theme=night] .external-address,html[data-theme=night] .error-label{color:var(--ink)}html[data-theme=night] .rubber-stamp{background:#ffb292;color:#171d19}html[data-theme=night] .error-letterhead,html[data-theme=night] .error-bottom,html[data-theme=night] .error-directory a{border-color:var(--line)}html[data-theme=night] .incident-page{--paper:#151b19;--ink:#e8eee5;--cobalt:#a8bdff}html[data-theme=night] .incident-label,html[data-theme=night] .incident-path code,html[data-theme=night] .evidence-label strong{color:var(--blue)}html[data-theme=night] .loose-page{background:#f3ead2;color:#202920}html[data-theme=night] .loose-page span:last-child{color:#183cb0}html[data-theme=night] .file-tab{color:#171d19}html[data-theme=night] .fan-statement,html[data-theme=night] .incident-path{border-color:var(--line)}html[data-theme=night] .error-directory strong{color:var(--blue)}
html[data-theme=reading] .announcement{background:#364c86}html[data-theme=reading] .chamber,html[data-theme=reading] .pinned,html[data-theme=reading] .page-aside{background:#e8ddc5}html[data-theme=reading] .article .prose{font-family:var(--reader-font,Georgia,serif)}html[data-theme=reading] .reading-meter{display:none}html[data-theme=reading] .prose pre{background:#e5dbc6}html[data-theme=reading] .graphic-details{background:#f6eedc}html[data-theme=reading] .article h1{font-size:clamp(32px,4.8vw,56px)}
html[data-theme=early]{color-scheme:light;--paper:#c0c0c0;--ink:#000;--muted:#222;--line:#777;--blue:#0000ee;--orange:#800000;--yellow:#fff}html[data-theme=early] body{font-family:"Times New Roman",Times,serif;background:#c0c0c0;color:#000}html[data-theme=early] main{font-family:"Times New Roman",Times,serif}html[data-theme=early] .masthead{border-bottom:2px groove #fff;box-shadow:none}html[data-theme=early] .identity{flex-basis:190px;width:190px}html[data-theme=early] .identity svg{max-width:190px}html[data-theme=early] .announcement{background:#c0c0c0;color:#000;border-bottom:2px groove #fff}html[data-theme=early] a{color:#0000ee;text-decoration:underline}html[data-theme=early] a:visited{color:#551a8b}html[data-theme=early] main h1{font:700 36px/1.15 "Times New Roman",Times,serif;letter-spacing:normal;text-transform:none;margin:1rem 0}html[data-theme=early] main h2{font:700 25px/1.25 "Times New Roman",Times,serif;letter-spacing:normal}html[data-theme=early] main h3{font-family:"Times New Roman",Times,serif;letter-spacing:normal}html[data-theme=early] button,html[data-theme=early] .primary,html[data-theme=early] .incident-primary{border:3px outset #e0e0e0;background:#c0c0c0;color:#000;box-shadow:none;border-radius:0}html[data-theme=early] button:active{border-style:inset}html[data-theme=early] .primary,html[data-theme=early] .incident-primary{color:#0000ee}html[data-theme=early] .hero,html[data-theme=early] .writing-zone{gap:30px}html[data-theme=early] .hero h1 .outline{color:#000;-webkit-text-stroke:0}html[data-theme=early] .chamber,html[data-theme=early] .pinned,html[data-theme=early] .page-aside,html[data-theme=early] .graphic-details,html[data-theme=early] .story-empty,html[data-theme=early] .error-prop,html[data-theme=early] .recovery-file,html[data-theme=early] .error-drawer{background:#c0c0c0;box-shadow:none;border:2px groove #fff;color:#000}html[data-theme=early] .error-prop,html[data-theme=early] .loose-page{transform:none;animation:none}html[data-theme=early] .prose pre{background:#eee;border:1px solid #777}html[data-theme=early] .post-row{border-top:1px solid #777}html[data-theme=early] .kicker,html[data-theme=early] .category{font-family:"Times New Roman",Times,serif;letter-spacing:normal}html[data-theme=early] footer{background:#c0c0c0;color:#000;border-top:2px groove #fff}html[data-theme=early] .graphic-show,html[data-theme=early] .graphic-hide{color:#0000ee}html[data-theme=early] *,html[data-theme=early] *:before,html[data-theme=early] *:after{animation:none!important;transition:none!important}html[data-theme=early] .early-web-note{display:block;padding:8px 20px;text-align:center;font:14px "Times New Roman",Times,serif;border-bottom:2px groove #fff}.early-web-note{display:none}html[data-theme=early] #display-panel{font-family:Arial,sans-serif;background:#c0c0c0;box-shadow:none}html[data-theme=early] .prose{font-family:var(--reader-font)}html[data-theme=early] .display-theme select{background:#fff;color:#000}html[data-reduce-motion=true] *,html[data-reduce-motion=true] *:before,html[data-reduce-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:700px){#display-open{font-size:11px;padding:5px 8px}.display-grid{grid-template-columns:1fr}.display-grid .display-theme{grid-column:auto}#display-panel{padding:24px 20px}.masthead nav{gap:12px}.reading-guide{height:2rem}html .article{width:calc(100% - 38px)}html[data-theme=early] .masthead .identity{flex-basis:180px;width:180px}html[data-theme=early] .hero{padding-top:20px}}
@media(forced-colors:active){.reading-guide{background:transparent;border-color:Highlight}#display-panel select,#display-panel button{forced-color-adjust:auto}}

html[data-theme=night] footer{background:#0c120f;color:var(--ink)}html[data-theme=night] .incident-scene{border-color:var(--line)}html[data-theme=night] #display-panel{border-color:var(--line)}

html[data-theme=night] .afterthought-logo{--logo-ink:#e8eee5;--logo-insert:#a8bdff;--logo-accent:#ff9a75}html[data-theme=reading] .afterthought-logo{--logo-ink:#342c21;--logo-insert:#364c86}html[data-theme=night] .error-drawer summary,html[data-theme=night] .error-bottom a{color:var(--ink)}
