@font-face{font-family:system-fallback;src:local('Apple SD Gothic Neo');font-display:swap}
:root{color-scheme:light;--paper:#f4f1e9;--ink:#25322b;--muted:#747970;--line:#dcded2;--amber:#e7aa49;--white:#fffdf7;--green:#58785b;--danger:#a34432;font-family:system-fallback,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #98702d;outline-offset:4px}button{touch-action:manipulation}[hidden]{display:none!important}.mono,.eyebrow,.edition,.screen-label,.screen-chin,.shelf-stamp,.game-number{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.skip-link{position:fixed;top:8px;left:8px;z-index:100;transform:translateY(-200%);padding:12px;background:var(--ink);color:white}.skip-link:focus{transform:none}.site-header{height:92px;margin:0 5.5%;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:28px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:750;font-size:21px;letter-spacing:-1px}.brand svg{width:33px;height:33px;fill:none;stroke:var(--ink);stroke-width:2}.brand-light{font-weight:400;margin-left:5px}.header-note{margin:auto;color:var(--muted);font-size:12px;letter-spacing:.2px}.small-dot{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;margin-right:8px}.edition{font-size:11px;letter-spacing:1px}.edition span{margin-left:20px;font-size:22px}main{flex:1;width:100%}.view{max-width:1250px;margin:auto;padding:0 40px}.library-heading{display:flex;align-items:center;justify-content:space-between;padding:65px 0 57px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:600;color:var(--muted);margin:0 0 18px}h1{font-size:48px;line-height:1.18;letter-spacing:-2.8px;margin:0;font-weight:680}.accent{color:#bd7b20}.intro{font-size:15px;line-height:1.85;color:var(--muted);margin:24px 0 0}.shelf-stamp{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;width:130px;height:130px;border:1px solid #b5bdac;border-radius:50%;transform:rotate(9deg);color:#727f64;box-shadow:inset 0 0 0 6px var(--paper),inset 0 0 0 7px #c8cebe}.shelf-stamp span{font-size:9px;letter-spacing:1.8px}.shelf-stamp strong{font-size:30px;font-weight:500;letter-spacing:-1px}.section-rule{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);padding:17px 0}.section-rule h2{font-size:14px;margin:0;font-weight:600}.section-rule .mono{color:var(--muted);font-size:10px;letter-spacing:1px}.catalog-status{font-size:14px;color:var(--muted);padding:35px 0}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:28px 0 0}.game-card{padding:24px;min-height:245px;background:var(--white);border:1px solid var(--line);display:flex;flex-direction:column;border-radius:3px;transition:transform .16s,border-color .16s}.game-card:hover{transform:translateY(-3px);border-color:#a7b39b}.game-number{color:#8b9684;letter-spacing:1px;font-size:11px}.game-card h3{font-size:23px;line-height:1.35;letter-spacing:-.7px;margin:30px 0 12px}.game-card p{color:var(--muted);font-size:13px;line-height:1.8;flex:1;margin:0 0 24px;white-space:pre-line}.game-card .button{align-self:flex-start}.empty-library{min-height:275px;text-align:center;border:1px dashed #c7ccbd;margin-top:28px;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:3px}.empty-library h3{font-size:17px;font-weight:550;margin:22px 0 10px}.empty-library p{font-size:13px;color:var(--muted);margin:0;padding:0 18px;line-height:1.8}.empty-disks{position:relative;width:70px;height:58px}.empty-disks span{position:absolute;width:42px;height:46px;background:var(--paper);border:1px solid #aab39e;left:14px;top:6px;transform:rotate(-12deg);border-radius:2px}.empty-disks span:nth-child(2){transform:rotate(10deg);left:24px;top:2px}.empty-disks span:last-child{transform:none;left:10px;top:10px;background:#e4e7d9}.empty-disks span:last-child:before{content:'';position:absolute;width:19px;height:14px;left:10px;top:0;border:1px solid #aab39e;border-top:0;background:var(--paper)}.empty-disks span:last-child:after{content:'';position:absolute;width:26px;height:10px;left:7px;bottom:5px;border:1px solid #aab39e;background:var(--paper)}.library-note{display:flex;align-items:center;gap:17px;padding:22px 0;margin:20px 0 30px}.note-symbol{border:1px solid #cbd0c0;color:#6a795d;font-size:23px;width:44px;height:44px;display:grid;place-items:center;border-radius:4px;flex-shrink:0}.library-note strong{font-size:12px;font-weight:600}.library-note p{margin:6px 0 0;font-size:12px;color:var(--muted);line-height:1.7}.site-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin:20px 5.5% 0;padding:24px 0 30px;font-size:10px;color:#868b7f;letter-spacing:.2px}.button{border:1px solid transparent;min-height:42px;border-radius:4px;padding:10px 17px;font-size:12px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.5;text-decoration:none}.primary{background:var(--amber);color:#2f2f20;border-color:#dc9b3a}.primary:hover:not(:disabled){background:#eeb95b}.secondary{border-color:#d2d7c9;background:transparent;color:var(--ink)}.secondary:hover:not(:disabled){background:#e8ebdf}.full{width:100%}.text-button{border:0;background:transparent;font-size:12px;padding:10px 0;color:var(--ink)}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.player-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:40px 0 30px}.player-heading h1{font-size:29px;letter-spacing:-1.2px}.player-heading .eyebrow{margin-bottom:10px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:28px;align-items:start}.screen-shell{background:#343c35;border-radius:9px;padding:0 12px;box-shadow:0 5px 0 #283229,0 14px 25px #25322b15}.screen-label{height:36px;display:flex;align-items:center;justify-content:space-between;color:#b9c2b3;font-size:8px;letter-spacing:1.3px;padding:0 4px}.screen-label i{width:4px;height:4px;background:#97b77d;border-radius:50%;display:inline-block;margin-right:6px}.frame-host{position:relative;aspect-ratio:4/3;background:#080b0b;border:1px solid #181f18;border-radius:3px;overflow:hidden;isolation:isolate}.dos-frame{width:100%;height:100%;border:0;position:absolute;inset:0;display:block}.screen-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center;background:#080b0b;z-index:3;color:#bccab3}.screen-message p{font-size:13px;line-height:1.9;max-width:360px}.screen-cursor{color:#a9c292;font:28px monospace;animation:blink 1.2s steps(1) infinite}.screen-chin{display:flex;align-items:center;justify-content:space-between;height:33px;font-size:8px;color:#9da897;letter-spacing:1.5px;padding:0 8px}.vent{font-size:17px;letter-spacing:-3px;opacity:.35}.screen-tools{display:flex;align-items:center;gap:22px;padding:15px 0 0}.tools-spacer{flex:1}.volume-control{display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap}.volume-control input{width:80px;accent-color:#62745b;cursor:pointer}.input-hint{font-size:11px;color:var(--muted);line-height:1.7;margin:8px 0}.save-panel{border:1px solid var(--line);background:var(--white);padding:26px 22px;border-radius:4px}.save-panel .eyebrow{font-size:9px;margin-bottom:12px}.save-panel h2{font-size:17px;font-weight:600;letter-spacing:-.5px;margin:0 0 26px}.save-state{display:flex;gap:10px;align-items:flex-start}.status-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#9aa28f;margin-top:6px}.status-dot.success{background:#668b5b}.status-dot.error{background:var(--danger)}.status-dot.saving{background:#c8973e;animation:blink 1s steps(2) infinite}.save-state strong{font-size:12px;font-weight:550;line-height:1.6}.save-state p{margin:4px 0 0;font-size:10px;line-height:1.8;color:var(--muted)}.save-explanation{font-size:11px;line-height:1.9;color:var(--muted);margin:18px 0 22px}.save-panel>.button{margin-bottom:9px;min-height:43px;font-size:11px}.backup-note{font-size:10px;line-height:1.85;color:var(--muted);margin:10px 0 20px}.panel-divider{border-top:1px solid var(--line)}.reset-button{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:10px;font-size:11px}.gamepad-status{font-size:10px;color:#8b9283;line-height:1.6;margin-top:20px}.notice{margin:24px 0;padding:17px 20px;border:1px solid #d9b5a2;background:#f6eade;border-radius:4px}.notice p{font-size:12px;line-height:1.8;margin:0;color:#804b39}.notice.info{background:#e8eddf;border-color:#b9c8a7}.notice.info p{color:#4b6544}.recovery-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px}.recovery-actions .button{min-height:34px;padding:6px 12px}.modal{border:1px solid var(--line);border-radius:9px;max-width:440px;width:calc(100% - 40px);padding:30px;background:var(--white);color:var(--ink);box-shadow:0 25px 100px #14271730}.modal::backdrop{background:#1b271c90;backdrop-filter:blur(3px)}.modal h2{font-size:21px;letter-spacing:-.7px;margin:0 0 16px}.modal p{font-size:13px;line-height:1.9;white-space:pre-line;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.controls-list{margin:25px 0}.controls-list>div{display:flex;align-items:center;gap:18px;margin-bottom:13px}.controls-list dt{min-width:92px;font:12px ui-monospace,monospace;background:#edefe5;padding:7px 10px;border-radius:3px;white-space:pre-wrap}.controls-list dd{font-size:13px;margin:0;line-height:1.7}.dialog-note{font-size:11px!important;margin:24px 0}.screen-shell:fullscreen{width:100%;height:100%;display:flex;flex-direction:column;border-radius:0;box-shadow:none}.screen-shell:fullscreen .frame-host{flex:1;aspect-ratio:auto}.screen-shell:fullscreen .screen-label,.screen-shell:fullscreen .screen-chin{flex-shrink:0}
@keyframes blink{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(min-width:1500px){.view{max-width:1360px}.library-heading{padding-top:85px;padding-bottom:70px}}
@media(max-width:1000px){.view{padding:0 30px}.play-layout{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.save-panel{padding:23px 17px}.game-grid{grid-template-columns:repeat(2,1fr)}.header-note{display:none}.edition{margin-left:auto}}
@media(max-width:760px){.site-header{height:75px;margin:0 22px}.view{padding:0 22px}.library-heading{padding:42px 0 35px}h1{font-size:35px;letter-spacing:-1.8px}.intro{font-size:13px;margin-top:18px}.shelf-stamp{width:88px;height:88px;margin-left:16px}.shelf-stamp strong{font-size:22px}.shelf-stamp span{font-size:7px;letter-spacing:1px}.library-heading .eyebrow{font-size:8px}.play-layout{grid-template-columns:1fr}.player-heading{margin-top:27px}.player-heading h1{font-size:23px}.save-panel{margin-top:5px}.screen-tools{gap:14px}.screen-tools .text-button{font-size:11px}.volume-control input{width:58px}.game-grid{gap:14px}.game-card{padding:19px}.game-card h3{font-size:20px}.site-footer{margin:25px 22px 0;flex-direction:column;gap:10px}.save-panel>.button{min-height:45px}.empty-library{min-height:260px}.library-note{align-items:flex-start}}
@media(max-width:430px){.game-grid{grid-template-columns:1fr}.shelf-stamp{display:none}.edition{font-size:9px}.brand{font-size:19px}.player-heading .button{font-size:11px;padding:9px 12px}.player-heading{gap:12px}}
