/* LOSTBYTE recovery environment — entirely local, no external fonts or services. */
:root{color-scheme:dark;--bg:#0a0c0e;--panel:#111518;--panel-raised:#191e22;--edge:#353b3f;--edge-soft:#242b2f;--text:#d6d6cf;--muted:#8e9597;--amber:#e6a347;--amber-dim:#7d5930;--mono:"Lucida Console","SFMono-Regular",Consolas,"Liberation Mono",monospace;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
html{font-size:16px;min-width:280px;background:var(--bg)}
body{margin:0;min-height:100svh;color:var(--text);font-family:var(--mono);font-size:.875rem;line-height:1.5;background:radial-gradient(ellipse at 60% 42%,#22201733 0%,transparent 65%),var(--bg)}
body::after{content:"";position:fixed;inset:0;z-index:100;pointer-events:none;background:repeating-linear-gradient(to bottom,transparent 0,transparent 2px,#000 2px,#000 3px);opacity:.13}
body.effects-off::after{display:none}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible{outline:2px solid var(--amber);outline-offset:5px;position:relative;z-index:1}
button:disabled{cursor:default}
button svg,svg use{pointer-events:none}
button::-moz-focus-inner{border:0}
img{display:block;max-width:100%;height:auto}
h1,h2,p{margin:0}
[hidden]{display:none!important}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
.small-icon,.folder-icon{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:square;stroke-linejoin:miter;flex:none}
.small-icon{width:20px;height:20px}
.folder-icon{width:23px;height:23px}
.skip-link{position:fixed;left:20px;top:-90px;background:var(--amber);color:#111;padding:14px;z-index:300}
.skip-link:focus{top:14px}
.environment{width:min(1240px,100% - 88px);min-height:100svh;margin:auto;display:flex;flex-direction:column}
.masthead{padding:36px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--edge-soft)}
.identity h1{font-size:1.875rem;line-height:1.15;letter-spacing:.12em;font-weight:700;color:#eeeae0}
.identity-cursor{color:var(--amber)}
.identity p{font-size:.75rem;letter-spacing:.12em;margin-top:8px;color:var(--muted)}
.system-status{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:.75rem;letter-spacing:.04em;color:#a2a6a4}
.status-light{width:5px;height:5px;background:var(--amber);box-shadow:0 0 8px #e6a34735}
.status-divider{color:#687176;margin:0 4px}
.read-only{color:#757f82}
.desktop{display:grid;grid-template-columns:166px minmax(0,1fr);gap:34px;margin:42px 0 24px;flex:1;align-content:center}
.directory-nav{padding-top:0}
.rail-heading{height:38px;display:flex;justify-content:space-between;align-items:flex-start;color:var(--muted);font-size:.75rem;letter-spacing:.06em;border-bottom:1px solid var(--edge-soft)}
.rail-heading span:last-child{color:#657075}
.directory-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.directory{min-height:56px;padding:8px 10px;display:grid;grid-template-columns:24px minmax(0,1fr) 14px;align-items:center;gap:9px;background:transparent;text-align:left;color:#959f9f;border:1px solid transparent;transition:background .16s,color .16s,border-color .16s}
.directory>span:nth-child(2){font-size:.8125rem;letter-spacing:-.03em}
.directory-count{font-size:.75rem;color:#737d81}
.directory:hover,.directory:focus-visible{background:#171b1e;color:#e0dfd5}
.directory.active{color:var(--amber);border-color:#6c522e;background:#e6a3470c;box-shadow:inset 2px 0 var(--amber)}
.directory.active .directory-count{color:#b48547}
.directory.active .folder-icon{fill:#e6a34715}
.drive-label{display:flex;gap:12px;align-items:center;border-top:1px solid var(--edge-soft);margin-top:34px;padding:22px 7px;color:#7d8588}
.drive-label strong,.drive-label span{display:block;font-size:.6875rem;letter-spacing:.025em;font-weight:400}
.drive-label div span{font-size:.625rem;margin-top:5px;color:#637076}
.drive-glyph{width:25px;height:15px;flex:none;border:1px solid #56636b;position:relative}
.drive-glyph::after{content:"";position:absolute;bottom:3px;right:3px;height:2px;width:4px;background:#8a7556}
.workbench{min-width:0}
.address-bar{display:flex;align-items:flex-start;gap:16px;min-height:38px;font-size:.75rem;letter-spacing:.015em;color:#969e9f}
.address-label{color:#627076;font-size:.625rem;border:1px solid #354148;padding:1px 4px;margin-top:-2px}
.path-slash{margin:0 6px;color:#5d676a}
.address-end{margin-left:auto;font-size:.625rem;white-space:nowrap;color:#7a8588}
.file-window{border:1px solid #535b5d;background:var(--panel);box-shadow:0 0 0 3px #080b0d,0 0 0 4px #242b2e,14px 18px 0 #00000020,0 22px 65px #0007}
.window-titlebar{display:flex;align-items:center;gap:9px;min-height:43px;padding:5px 8px 5px 12px;background:linear-gradient(90deg,#363e41,#252d32);border-bottom:1px solid #545c5d;box-shadow:inset 0 1px #85898120;color:#ecebdf}
.window-titlebar>.small-icon{color:#bcc1b7;width:18px;height:18px}
.window-titlebar h2{font-size:.9375rem;font-weight:400;letter-spacing:.025em;line-height:1.3;overflow-wrap:anywhere}
.window-tag{font-size:.625rem;color:#a0aaa9;margin-left:auto;padding:0 8px;white-space:nowrap}
.square-button{height:28px;width:30px;display:grid;place-items:center;background:#394044;border:1px solid #68706e;box-shadow:inset 1px 1px #989b8526,inset -1px -1px #0b0e1066;flex:none}
.square-button:hover{background:#4b5355;color:var(--amber)}
.square-button .small-icon{width:17px;height:17px}
.file-surface{display:grid;grid-template-columns:minmax(0,1fr) 208px;min-height:430px}
.visual-panel{min-width:0;display:flex;flex-direction:column;background:#080b0d;overflow:hidden}
.visual-topline,.visual-bottomline{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#839092;font-size:.625rem;letter-spacing:.07em;padding:13px 20px}
.visual-topline{border-bottom:1px solid #20282c;background:#0b1013}
.signal-caption{color:#c6924e;white-space:nowrap}
.character-preview{background:#080c12;width:100%;display:grid;place-items:center;padding:0;position:relative;flex:1;isolation:isolate;overflow:hidden}
.character-preview img{width:100%;max-width:495px;aspect-ratio:1;object-fit:contain;transition:filter .35s;filter:brightness(.91);mix-blend-mode:screen}
.character-preview:hover img{filter:brightness(1.06)}
.character-preview::after{content:attr(data-open-label);position:absolute;bottom:17px;left:50%;transform:translateX(-50%) translateY(4px);border:1px solid #d79c525c;padding:8px 16px;background:#080c10eb;opacity:0;transition:opacity .15s,transform .15s;font-size:.75rem;color:var(--amber);white-space:nowrap;pointer-events:none}
.character-preview:hover::after,.character-preview:focus-visible::after{opacity:1;transform:translateX(-50%) translateY(0)}
.visual-bottomline{padding:12px 20px;border-top:1px solid #20282c;background:#0b1013}
.visual-bottomline span:last-child{color:#b8b3a2;display:inline-flex;align-items:center;white-space:nowrap}
.file-inspector{padding:22px 20px;background:repeating-linear-gradient(90deg,#ffffff01 0px,#ffffff01 1px,transparent 1px,transparent 4px),#141a1e;border-left:1px solid #343d40;display:flex;flex-direction:column;align-items:stretch}
.inspector-header{display:flex;gap:7px;align-items:center;font-size:.6875rem;color:#a7afab;letter-spacing:.02em;padding-bottom:18px;border-bottom:1px solid #303a3e}
.inspector-header .small-icon{height:17px;width:17px;color:#7e8c90}
.properties{margin:23px 0 22px}
.properties>div+div{margin-top:20px}
.properties dt{font-size:.625rem;letter-spacing:.08em;color:#839095;line-height:1.3}
.properties dd{margin:7px 0 0;font-size:.8125rem;color:#dfd8c9;letter-spacing:.03em}
.properties .muted-value{color:#a0aaa9;font-size:.75rem}
.properties .amber-value{color:var(--amber)}
.memory-block{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
.memory-block span{height:8px;border:1px solid #3c443e;background:#29302e}
.memory-block span:nth-child(2),.memory-block span:nth-child(3),.memory-block span:nth-child(8),.memory-block span:nth-child(11),.memory-block span:nth-child(15),.memory-block span:nth-child(18),.memory-block span:nth-child(22){background:#c28c4375;border-color:#aa7845}
.memory-block span:nth-child(5),.memory-block span:nth-child(14),.memory-block span:nth-child(23){background:transparent;border-color:#4d4740;border-style:dashed}
.memory-caption{font-size:.625rem;letter-spacing:.035em;color:#85918f;margin-top:9px}
.inspector-bottom{margin-top:auto;padding-top:27px}
.file-warning{display:block;font-size:.625rem;letter-spacing:.05em;color:#829092;margin-bottom:10px}
.open-button{display:flex;justify-content:space-between;align-items:center;min-height:42px;width:100%;padding:10px 12px;font-size:.75rem;background:#b88237;color:#100f0b;box-shadow:inset 1px 1px #efd5a374,inset -1px -1px #51321b;border:1px solid #d9a656;font-weight:700;letter-spacing:.015em}
.open-button:hover{background:#e6a347}
.open-button span{font-size:1rem;line-height:1;font-weight:400}
.window-statusbar{min-height:31px;padding:6px 13px;background:#252d31;border-top:1px solid #455053;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#b3b8af;font-size:.5625rem;letter-spacing:.04em}
.window-statusbar>span{display:flex;align-items:center;gap:7px}
.window-statusbar>span:last-child{color:#93a0a3}
.status-square{height:5px;width:5px;background:#bd8a42}
.below-window{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:28px;padding-left:1px}
.mystery-line{font-size:.875rem;color:#b9b8aa;letter-spacing:.015em}
.checksum{font-size:.6875rem;letter-spacing:.12em;color:#5b696e;white-space:nowrap}
.cursor{display:inline-block;width:7px;height:1em;margin-left:9px;background:var(--amber);vertical-align:-1px;animation:blink 1.45s steps(1) infinite;flex:none}
.cursor.small{width:5px;height:8px;margin-left:7px}
.system-footer{display:flex;align-items:center;gap:26px;margin-top:20px;padding:21px 0 28px;border-top:1px solid var(--edge-soft)}
.footer-status{display:flex;align-items:center;gap:13px;color:#8c9799;font-size:.625rem;letter-spacing:.06em}
.footer-terminal{color:#b4915f;font-size:.875rem}
.social-links{display:flex;align-items:center;gap:24px}
.social-links a{display:flex;align-items:center;gap:7px;color:#a7ada8;font-size:.6875rem;min-height:34px;letter-spacing:.065em}
.social-links a:hover{color:var(--amber)}
.link-corner{height:6px;width:6px;border-top:1px solid currentColor;border-right:1px solid currentColor;opacity:.45}
.effects-button{margin-left:auto;border:1px solid #354044;background:transparent;color:#b0b7b0;font-size:.625rem;letter-spacing:.06em;padding:5px 8px;min-height:32px;white-space:nowrap}
.effects-button span{color:#d0a567;margin-left:8px}
.effects-button[aria-pressed="false"] span{color:var(--muted)}
.effects-button:hover{border-color:#b08c58;color:var(--amber)}
.noscript-note{font-family:var(--sans);font-size:1rem;color:var(--muted);margin-top:16px}
.boot-screen{position:fixed;z-index:250;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#030506;color:#bec0b5;transition:opacity .25s ease-out}
.boot-screen.is-leaving{opacity:0;pointer-events:none}
.boot-terminal{width:min(590px,100% - 48px)}
.boot-label{font-size:.75rem;color:#6e7e7d;letter-spacing:.09em;margin-bottom:40px}
.boot-lines{font-size:1rem;line-height:2.5}
.boot-line{opacity:0;transform:translateY(2px);transition:opacity .1s,transform .1s;display:flex;align-items:center;gap:0;flex-wrap:wrap}
.boot-line.visible{opacity:1;transform:none}
.boot-result{font-size:.75rem;color:#728984;margin-left:auto;padding-left:20px}
.boot-alert{color:var(--amber)}
.boot-progress{height:3px;background:#16201f;margin-top:40px;overflow:hidden}
.boot-progress>span{display:block;background:#a2753b;width:0;height:100%;transition:width .6s linear}
.boot-skip{position:absolute;bottom:36px;right:40px;background:transparent;color:#9a9e92;font-size:.75rem;letter-spacing:.05em;min-height:44px;padding:8px}
kbd{font:inherit;border:1px solid #4d595d;padding:2px 4px;font-size:.625rem;color:#afb6ab}
.boot-skip kbd{margin-left:14px}
.file-dialog{width:min(680px,calc(100% - 36px));max-height:calc(100svh - 48px);padding:0;color:var(--text);background:#101619;border:1px solid #636b69;box-shadow:0 0 0 3px #111719,0 0 0 4px #515b5a,0 25px 110px #000b;overflow:visible}
.file-dialog::backdrop{background:#030709bd;backdrop-filter:blur(4px)}
.dialog-frame{display:flex;flex-direction:column;max-height:calc(100svh - 50px)}
.dialog-titlebar{flex:none}
.dialog-titlebar h2{font-size:.875rem}
.close-button{margin-left:auto}
.dialog-content{overflow:auto;min-height:160px;padding:26px}
.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex:none;border-top:1px solid #344145;color:#a1aeaa;padding:11px 17px;background:#1b2428;font-size:.625rem;letter-spacing:.045em}
.dialog-footer kbd{margin-right:6px}
.folder-path{font-size:.75rem;color:#8e9b98;margin-bottom:23px}
.folder-table-heading{display:flex;justify-content:space-between;border-bottom:1px solid #394448;color:#7c8c90;font-size:.625rem;letter-spacing:.08em;padding:0 10px 10px}
.file-row{background:#182227;border:1px solid #37484d;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;min-height:67px;text-align:left;margin-top:11px;padding:12px;color:#d7d6c9}
.file-row .small-icon{color:#b69058}
.file-row:hover{border-color:#ac814b;background:#242923}
.file-row-name{font-size:.875rem;overflow-wrap:anywhere}
.file-row-state{font-size:.625rem;color:#c19a64;letter-spacing:.04em;white-space:nowrap}
.file-row-helper{color:#7d8d90;font-size:.75rem;margin-top:19px}
.empty-folder{padding:28px 3px 35px;color:#afbbb6;font-size:1rem;line-height:1.7}
.empty-folder span{display:block;font-size:.75rem;color:#849593;margin-top:12px}
.opened-file{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:24px}
.dialog-character{width:100%;height:auto;border:1px solid #303d3e}
.opened-file-copy .file-eyebrow{font-size:.6875rem;color:#b58a4f;letter-spacing:.08em;margin-bottom:14px}
.opened-file-copy p:last-child{font-size:1rem;line-height:1.7;color:#d9d7c9}
.terminal-file{padding:14px 8px 21px;min-height:150px}
.terminal-file .file-eyebrow{font-size:.6875rem;letter-spacing:.08em;color:#b58a4f;margin-bottom:29px}
.terminal-message{font-size:1.0625rem;color:#d8d8c9;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.terminal-subline{margin-top:23px;font-size:.75rem;color:#819692}
.back-button{margin-bottom:23px;padding:8px 10px;border:1px solid #405058;background:#202a2f;color:#a6b5b0;font-size:.6875rem;min-height:36px}
.back-button:hover{border-color:#b4915f;color:#e4c08a}
.visual-panel.signal-glitch .character-preview img{animation:signal-glitch .22s steps(1) 1}
body.effects-off .cursor{animation:none;opacity:.75}
@keyframes blink{0%,58%{opacity:1}59%,100%{opacity:0}}
@keyframes signal-glitch{0%,100%{transform:none;filter:brightness(.91)}20%{transform:translateX(2px);filter:brightness(1.08)}45%{transform:translateX(-1px)}70%{transform:none;filter:brightness(.96)}}
@media(min-width:1440px){.environment{width:min(1340px,100% - 128px)}.desktop{grid-template-columns:180px minmax(0,1fr);gap:46px;margin-top:48px;margin-bottom:38px}.file-surface{grid-template-columns:minmax(0,1fr) 246px}.file-inspector{padding:29px 25px}.character-preview img{max-width:555px}.directory>span:nth-child(2){font-size:.875rem}.directory-count{font-size:.75rem}.directory{padding-left:12px;padding-right:12px}.properties>div+div{margin-top:25px}.inspector-header{font-size:.75rem}.properties dt{font-size:.6875rem}.properties dd{font-size:.9375rem}.visual-topline,.visual-bottomline{font-size:.6875rem}.window-statusbar{font-size:.625rem}}
@media(max-width:1050px){.environment{width:calc(100% - 48px)}.desktop{grid-template-columns:145px minmax(0,1fr);gap:22px}.file-surface{grid-template-columns:minmax(0,1fr) 176px;min-height:360px}.file-inspector{padding:18px 14px}.directory{gap:7px;padding:8px 5px;grid-template-columns:21px minmax(0,1fr) 12px}.folder-icon{width:21px;height:21px}.directory>span:nth-child(2){font-size:.75rem}.directory-count{font-size:.625rem}.inspector-header{font-size:.625rem;gap:5px}.properties>div+div{margin-top:18px}.properties{margin-top:20px;margin-bottom:20px}.memory-block{gap:3px}.memory-block span{height:7px}.visual-topline,.visual-bottomline{padding:11px 14px}.window-tag{font-size:.5625rem}.address-bar{gap:10px}.address-end{display:none}.checksum{font-size:.625rem}}
@media(max-width:780px){.environment{width:calc(100% - 36px)}.masthead{padding:25px 0 22px}.identity h1{font-size:1.625rem}.identity p{font-size:.625rem;margin-top:7px}.system-status{font-size:.625rem;gap:8px}.system-status .read-only,.system-status .status-divider{display:none}.desktop{grid-template-columns:1fr;gap:20px;margin:23px 0 23px;align-content:start}.directory-nav{display:flex;flex-direction:column}.rail-heading{height:auto;border:0;align-items:center;font-size:.625rem;margin-bottom:10px}.rail-heading span:last-child{font-size:.625rem}.directory-list{margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.directory{display:flex;flex-direction:column;gap:6px;justify-content:center;align-items:center;padding:10px 3px;min-height:69px;border-color:#293236;background:#101619}.directory.active{box-shadow:inset 0 -2px var(--amber)}.directory>span:nth-child(2){font-size:.625rem;letter-spacing:0}.directory-count{display:none}.drive-label{display:none}.address-bar{height:28px;min-height:28px;font-size:.625rem;gap:10px}.address-label{font-size:.5625rem}.file-surface{grid-template-columns:minmax(0,1fr) 190px}.character-preview img{max-width:500px}.window-titlebar{min-height:40px}.window-titlebar h2{font-size:.8125rem}.window-tag{font-size:.5625rem}.file-inspector{padding:22px 17px}.properties>div+div{margin-top:23px}.below-window{margin-top:24px}.mystery-line{font-size:.8125rem}.system-footer{gap:20px;padding-top:17px;margin-top:auto}.social-links{gap:21px}.footer-status{font-size:.5625rem;gap:9px}.social-links a{font-size:.625rem}.checksum{display:none}}
@media(max-width:570px){.file-surface{grid-template-columns:1fr}.visual-topline,.visual-bottomline{font-size:.625rem;padding:10px 13px}.character-preview img{max-width:none}.file-inspector{border-left:0;border-top:1px solid #354247;display:grid;grid-template-columns:1fr auto;padding:16px 14px;gap:15px 20px}.inspector-header{display:none}.properties{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:15px 18px;grid-column:1/-1}.properties>div+div{margin-top:0}.properties dt{font-size:.5625rem}.properties dd,.properties .muted-value{font-size:.6875rem;margin-top:5px}.properties>div:nth-child(4) dd{font-size:.625rem}.memory-block,.memory-caption{display:none}.inspector-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 0;margin:0;grid-column:1/-1;border-top:1px solid #2d393c}.file-warning{font-size:.5625rem;margin:0;white-space:nowrap}.open-button{max-width:155px;min-height:40px;font-size:.6875rem}.window-statusbar{font-size:.5rem;padding:7px 10px;gap:10px}.window-statusbar>span{gap:5px}.window-tag{display:none}.expand-button{margin-left:auto}.file-window{box-shadow:0 0 0 2px #080b0d,0 0 0 3px #293338,0 17px 38px #0005}.below-window{margin:22px 0 6px}.mystery-line{font-size:.8125rem}.system-footer{gap:12px;flex-wrap:wrap;padding-bottom:20px}.footer-status{display:none}.social-links{gap:21px}.social-links a{min-height:40px;font-size:.6875rem}.effects-button{font-size:.5625rem;min-height:32px}.effects-button span{margin-left:5px}.dialog-content{padding:20px 17px}.opened-file{grid-template-columns:1fr;gap:21px}.dialog-character{max-width:300px;margin:auto}.opened-file-copy{padding-bottom:4px}.opened-file-copy .file-eyebrow{margin-bottom:7px}.opened-file-copy p:last-child{font-size:.9375rem}.file-row{gap:8px;padding:10px;grid-template-columns:20px minmax(0,1fr)}.file-row-state{grid-column:2;font-size:.5625rem;margin-top:-6px}.file-row-name{font-size:.8125rem}.folder-table-heading{font-size:.5625rem}.boot-label{font-size:.625rem;letter-spacing:.03em}.boot-lines{font-size:.75rem}.boot-result{font-size:.625rem;padding-left:8px}.boot-skip{right:18px;bottom:20px}.boot-alert .cursor{width:5px}}
@media(max-width:360px){.environment{width:calc(100% - 26px)}.identity h1{font-size:1.375rem}.system-status{font-size:.5625rem}.directory-list{gap:5px}.directory>span:nth-child(2){font-size:.5625rem}.directory{min-height:62px}.window-titlebar h2{font-size:.75rem}.social-links{gap:14px}.social-links a{font-size:.625rem}.effects-button{padding:5px 6px}.visual-topline,.visual-bottomline{font-size:.5625rem}.window-statusbar>span:last-child{font-size:.4375rem}.file-dialog{width:calc(100% - 26px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.cursor{opacity:.75}.boot-screen{display:none!important}}

/* Readable controls and metadata at narrow widths and enlarged text settings. */
.directory>span:nth-child(2),.social-links a,.open-button{font-size:.875rem}
.social-links a,.effects-button,.square-button{min-height:44px}
.square-button{width:36px}
.identity p,.system-status,.rail-heading,.directory-count,.drive-label strong,.drive-label span,.drive-label div span,.address-label,.address-end,.window-tag,.visual-topline,.visual-bottomline,.inspector-header,.properties dt,.memory-caption,.file-warning,.window-statusbar,.footer-status,.effects-button,.checksum,.dialog-footer,.file-eyebrow,.folder-table-heading,.file-row-state,.back-button{font-size:.75rem}
.properties dd,.properties .muted-value,.properties>div:nth-child(4) dd,.folder-path,.file-row-helper,.terminal-subline{font-size:.875rem}
.window-titlebar h2{font-size:.9375rem}
.window-statusbar{flex-wrap:wrap}
.directory{min-width:0}
.address-bar{min-height:38px;font-size:.75rem}
.drive-label div span{margin-top:5px}
.mystery-line{font-size:1rem}
.boot-label,.boot-result,.boot-skip{font-size:.875rem}
.recovery-sequence{min-height:240px;display:flex;flex-direction:column;justify-content:center;gap:13px}
.recovery-sequence p{font-size:.875rem;color:#a8b4b0}
.recovery-sequence p:last-of-type{color:var(--amber)}
.recovery-meter{height:5px;background:#303936;overflow:hidden;margin-top:15px}
.recovery-meter span{display:block;width:15%;height:100%;background:var(--amber);transition:width .35s linear}
.recovery-skip{align-self:flex-start;background:transparent;border:1px solid #58615b;color:#bcc0b4;min-height:44px;padding:8px 12px;font-size:.75rem;margin-top:10px}
.discovery-eyebrow{font-size:.75rem;letter-spacing:.055em;color:#c49659;margin:4px 0 20px}
.discovery-record{background:#0b1012;border:1px solid #35423f;border-left:2px solid #ac8245;padding:22px 20px;white-space:pre-wrap}
.discovery-message{font-size:1.125rem;line-height:1.8;color:#dedacb;margin:14px 0 24px;max-width:33ch}
.discovery-source{font-size:.75rem;color:#9aaca3}
.founding-marker{display:flex;flex-direction:column;gap:7px;margin-top:25px;border-top:1px solid #35423f;padding-top:20px;color:var(--amber);font-size:.875rem;letter-spacing:.025em}
.founding-marker span{font-size:.75rem;color:#9fada6;letter-spacing:0}
.discovery-next{margin-top:20px;color:#9ca9a4;font-size:.875rem}
.discovery-asset{display:none}
.missing-file{max-width:680px;margin:22svh auto 0;padding:24px;line-height:1.8}
.missing-file h1{font-size:clamp(1.5rem,7vw,2.5rem);color:#dedacb}
.missing-file .back-button{display:inline-flex;align-items:center;margin-top:30px;min-height:44px;font-size:.875rem;text-decoration:none}
@media(max-width:780px){.directory>span:nth-child(2){font-size:.8125rem}.directory-list{grid-template-columns:repeat(5,minmax(0,1fr))}.directory{gap:8px}.window-titlebar h2{font-size:.875rem}.address-label{font-size:.75rem}.identity p,.system-status,.rail-heading{font-size:.75rem}.properties>div{min-width:0}.properties dd{overflow-wrap:anywhere}.system-footer{flex-wrap:wrap}.social-links a{font-size:.875rem}.visual-topline,.visual-bottomline{font-size:.75rem}.window-statusbar>span:last-child{font-size:.75rem}.boot-lines{font-size:.875rem}}
@media(max-width:570px){.directory-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.directory>span:nth-child(2){font-size:.8125rem}.directory{min-height:70px}.system-status{font-size:.75rem}.social-links{gap:17px;flex-wrap:wrap}.window-titlebar h2{font-size:.875rem}.square-button{width:34px}.file-warning,.window-statusbar,.window-statusbar>span:last-child,.effects-button,.properties dt,.properties>div:nth-child(4) dd,.visual-topline,.visual-bottomline{font-size:.75rem}.effects-button{min-height:44px}.properties{gap:18px}.open-button{font-size:.875rem;min-height:44px}.window-statusbar{gap:8px}.dialog-content{padding:20px 16px}.boot-label,.boot-result{font-size:.75rem}.file-row-name{font-size:.875rem}.file-row-state,.folder-table-heading{font-size:.75rem}.file-row-helper{font-size:.875rem}.discovery-record{padding:20px 15px}.discovery-message{font-size:1rem}.founding-marker{font-size:.8125rem}.system-footer{column-gap:10px}.footer-status{display:none}}

/* Optional languages share one interface; identifiers keep their original direction. */
.masthead{flex-wrap:wrap;gap:20px}
.identity{min-width:0}
.header-controls{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex-wrap:wrap;min-width:0;margin-inline-start:auto}
.language-control{display:flex;align-items:center;gap:9px;font-size:.75rem;color:var(--muted);max-width:100%;line-height:1.5}
.language-control select{font:14px/1.5 var(--sans);color:var(--text);background:#11181b;border:1px solid #455052;padding:8px 30px 8px 10px;min-height:44px;min-width:128px;max-width:100%;border-radius:0;color-scheme:dark;cursor:pointer}
.language-control select:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
.system-status{white-space:normal;flex-wrap:wrap;max-width:100%}
.file-inspector,.properties>div{min-width:0}
.properties dt,.properties dd,.memory-caption,.file-warning,.window-tag,.inspector-header{overflow-wrap:anywhere}
.window-tag{white-space:normal;max-width:190px;text-align:end}
.visual-topline,.visual-bottomline{flex-wrap:wrap}
.visual-bottomline span:last-child{white-space:normal}
.open-button{gap:10px}
.open-button>span:first-child{font-size:inherit;font-weight:700;line-height:1.4}
.window-statusbar>span{flex-wrap:wrap;min-width:0}
.dialog-footer{flex-wrap:wrap}
.dialog-close-hint{white-space:nowrap}
.file-row{text-align:start}
.file-row-state{white-space:normal;max-width:190px;overflow-wrap:anywhere}
.empty-folder .empty-message{font-size:inherit;color:inherit;margin:0}
.empty-folder .empty-detail{font-size:.875rem}
.founding-marker>span:first-child{font-size:inherit;color:var(--amber);letter-spacing:inherit}
.founding-marker .local-record-note{font-size:.75rem;color:#9fada6;letter-spacing:0}
html[lang="zh-Hans"] body{font-family:"Microsoft YaHei","PingFang SC",var(--mono)}
html[lang="ar"] body{font-family:Tahoma,Arial,sans-serif;line-height:1.7}
html[lang="ar"] [data-i18n],html[lang="zh-Hans"] [data-i18n]{letter-spacing:0}
html[lang="ar"] [dir="ltr"],html[lang="zh-Hans"] [dir="ltr"]{font-family:var(--mono)}
html[dir="rtl"] .directory{text-align:start}
html[dir="rtl"] .address-end,html[dir="rtl"] .window-tag,html[dir="rtl"] .close-button,html[dir="rtl"] .effects-button{margin-left:0;margin-inline-start:auto}
html[dir="rtl"] .file-inspector{border-left:0;border-inline-start:1px solid #343d40}
html[dir="rtl"] .discovery-record{border-left-width:1px;border-right:2px solid #ac8245}
html[dir="rtl"] .directory.active{box-shadow:inset -2px 0 var(--amber)}
html[dir="rtl"] .cursor{margin-left:0;margin-inline-start:9px}
html[dir="rtl"] .cursor.small{margin-inline-start:7px}
html[dir="rtl"] .effects-button span{margin-left:0;margin-inline-start:8px}
html[dir="rtl"] .boot-result{margin-left:0;margin-inline-start:auto;padding-left:0;padding-inline-start:20px}
html[dir="rtl"] .boot-skip{right:auto;inset-inline-end:40px}
html[dir="rtl"] .boot-skip kbd{margin-left:0;margin-inline-start:14px}
html[dir="rtl"] .dialog-footer kbd{margin-right:0;margin-inline-end:6px}
@media(max-width:780px){.header-controls{gap:14px}.window-tag{max-width:150px}html[dir="rtl"] .directory.active{box-shadow:inset 0 -2px var(--amber)}}
@media(max-width:570px){.masthead{gap:16px}.identity{width:100%}.header-controls{width:100%;justify-content:space-between;gap:12px}.language-control{flex-wrap:wrap}.language-control select{min-width:124px}.system-status{font-size:.75rem}.file-warning{white-space:normal;max-width:44%}.dialog-footer{gap:10px}.file-row-state{max-width:100%}html[dir="rtl"] .file-inspector{border-inline-start:0}html[dir="rtl"] .boot-skip{inset-inline-end:18px}}
