*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#101918;color:#f2e6cd}body{font-family:system-ui,sans-serif}#stage,canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}header{position:absolute;top:clamp(18px,3vw,42px);left:clamp(18px,4vw,56px);display:flex;align-items:center;gap:14px;pointer-events:none;text-shadow:0 2px 16px #000}.mark{color:#d9bc82;font-size:34px;border:1px solid #d9bc8255;width:48px;height:48px;text-align:center;line-height:43px;border-radius:3px;background:#17211c80}h1{font:600 clamp(25px,4vw,47px)/1 Georgia,serif;margin:0;letter-spacing:-.055em}h1 em{font-weight:400;color:#e4bc7f}button{appearance:none;border:1px solid transparent;border-radius:4px;padding:9px 13px;color:inherit;background:transparent;font:inherit;font-size:14px;cursor:pointer}button:hover,button:focus-visible{background:#ffffff18;border-color:#bba27588}#notice{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);padding:12px 20px;background:#121a18;border-radius:5px;text-align:center}[hidden]{display:none!important}[data-vm-captured],[data-vm-captured] *{cursor:none!important}.v86-offscreen{position:fixed;left:-10000px;top:0;pointer-events:none}#vm-error{position:absolute;left:50%;bottom:70px;transform:translate(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;padding:8px 12px;border-radius:4px;background:#3b221d;color:#ffd7bf;font-size:14px}#boot{color:#f2e6cd;background:#18231f;border:1px solid #a68e65;border-radius:9px;width:min(440px,calc(100% - 32px));padding:24px}#boot::backdrop{background:#0b110dd0}#boot h2{font:600 25px Georgia,serif;margin:0 0 19px}#boot label,#boot input,#boot-system{display:block;width:100%;font-size:15px;margin:0 0 12px}#boot-system{min-height:42px;padding:8px 10px;border:1px solid #857458;border-radius:4px;background:#101918;color:inherit;font-family:inherit;color-scheme:dark}#boot-system:focus-visible{outline:2px solid #d5b581;outline-offset:2px}#boot-system:disabled{opacity:.5}#boot .boot-source{font-size:12px;color:#a9b5a7;margin:0 0 15px;word-break:break-all}#boot .boot-source code{font-size:12px;color:#d8c9a8}#boot .boot-toggle{display:flex;align-items:center;gap:8px;width:auto;font-size:14px;color:#d8cdb7;margin:14px 0 10px;cursor:pointer}#boot .boot-toggle input{display:inline-block;width:auto;margin:0;accent-color:#d5b581}#boot .boot-error{color:#f3b3a1;background:#3b221c;border:1px solid #864938;border-radius:4px;padding:8px 10px}#boot p{color:#c6bda9;font-size:14px}.boot-actions{display:flex;justify-content:flex-end;gap:8px}#start-boot{background:#d5b581;color:#1d251e}#start-boot:disabled{opacity:.55;cursor:progress}#vm-screen-prompt{position:absolute;z-index:1;left:clamp(68px,var(--crt-x,50%),calc(100% - 68px));top:calc(var(--crt-bottom,50%) + 8px);transform:translate(-50%);display:flex;white-space:nowrap;pointer-events:none}#vm-screen-prompt button{display:inline-flex;align-items:center;gap:.35em;height:44px;padding:0 12px;border:1px solid #a68e65;border-radius:4px;background:#18231f;color:#e4bc7f;font-size:14px;font-weight:600;line-height:1.35;box-shadow:0 2px 8px #10191880;pointer-events:auto}#vm-screen-prompt .vm-exit-hint{color:#f2e6cd;font-weight:400}#vm-screen-prompt button:hover{background:#29372e;border-color:#d5b581}#vm-screen-prompt button:focus-visible{outline:2px solid #e4bc7f;outline-offset:3px}.vm-exit-hint kbd{padding:2px 5px;border:1px solid #a68e6580;border-radius:3px;background:#101918;font:600 12px/1.15 ui-monospace,monospace}.static-preview{--static-screen-width:min(76vw,72vh);--static-screen-center:50%}@media(max-height:520px){.static-preview{--static-screen-center: calc(50% - 44px) }}.static-preview #vm-screen-prompt{--crt-bottom:calc(var(--static-screen-center) + var(--static-screen-width) * .375)}.static-preview .v86-offscreen.vm-running{left:50%;top:var(--static-screen-center);transform:translate(-50%,-50%);width:var(--static-screen-width);aspect-ratio:4/3;pointer-events:auto;background:#000;border:12px solid #bfaf90;border-radius:12px;overflow:hidden;box-shadow:0 8px 38px #000b}.static-preview .vm-running canvas{inset:auto;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;transform:none!important}#desk-controls{position:absolute;left:50%;bottom:clamp(18px,3.2vh,28px);transform:translate(-50%);z-index:1;display:flex;gap:8px}#desk-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;color:#e9dcc4}#desk-controls button:focus-visible{outline:2px solid #e4bc7f;outline-offset:-2px}#desk-controls button:disabled{opacity:.45;cursor:progress}[data-vm-running] #desk-controls .desk-power{color:#cde4ae}#desk-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 3px #101918dd);transition:transform .18s ease,filter .18s ease}#desk-controls button:not(:disabled):is(:hover,:focus-visible) svg{transform:translateY(-3px) scale(1.12);filter:drop-shadow(0 0 5px #f4d99a95) drop-shadow(0 1px 3px #101918dd)}#desk-controls button:not(:disabled):active svg{transform:scale(.95)}@media(prefers-reduced-motion:reduce){#desk-controls button svg{transition:none}#desk-controls button:not(:disabled):is(:hover,:focus-visible,:active) svg{transform:none}}#stage{overflow:hidden}.preview-frame{position:absolute;left:50%;top:50%;width:max(100vw,177.778vh);aspect-ratio:16/9;transform:translate(-50%,-50%)}.preview-frame img{display:block;width:100%}.preview-screen{position:absolute;top:27%;left:32.6%;width:18.1%;height:26.3%;padding:0;border:0;background:none}.preview-screen:hover,.preview-screen:focus-visible{background:none;border:0}.preview-screen:focus-visible{outline:2px solid currentColor}@media(max-width:700px)and (orientation:portrait){.preview-frame{width:min(100vw,177.778vh)}}.preview-power{top:50.7%;left:64.1%;width:4.3%;height:4%}
