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ux-diamants-to8-web/assets/thomson-8-bit-D3lEDmgi.ttf) format("truetype");font-display:block}:root{color-scheme:dark;background:#000;color:#f3f0df;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;min-width:320px;min-height:100%;margin:0}body{overflow-x:hidden;background:#000}button,input,select{font:inherit}button{min-height:34px;border:1px solid #6b6541;border-radius:4px;color:#fff5b8;background:#191815;cursor:pointer}button:hover{border-color:#f3d44d}.dev-gallery-shell{min-height:100vh}.dev-gallery-page{width:min(1180px,calc(100vw - 28px));margin:0 auto;padding:22px 0 34px}.dev-gallery-header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px;border-bottom:1px solid #38352a;padding-bottom:14px}.dev-gallery-eyebrow{margin:0 0 5px;color:#67ff68;font-size:12px;font-weight:700;text-transform:uppercase}.dev-gallery-title{margin:0;color:#fff7c4;font-size:28px;line-height:1.05}.dev-gallery-help{margin:8px 0 0;color:#bbb49b;font-size:12px}.dev-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.dev-gallery-card{display:grid;grid-template-columns:88px 1fr;grid-template-areas:"title title" "sprite controls" "sprite frames" "atlas atlas" "evidence evidence";gap:10px 12px;min-height:260px;border:1px solid #333022;border-radius:6px;padding:12px;background:#0e0e0df5;box-shadow:inset 0 1px #ffffff0a}.dev-gallery-card-title{grid-area:title;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;color:#f7f0c0;font-size:14px;font-weight:700;text-transform:capitalize}.dev-gallery-status-pill{flex:0 0 auto;border:1px solid #315c35;border-radius:999px;padding:3px 7px;color:#89ff8d;background:#0d2410;font-size:11px;text-transform:none}.dev-gallery-sprite-preview{grid-area:sprite;width:80px;height:80px;border:1px solid #454033;background:#000;image-rendering:pixelated;image-rendering:crisp-edges}.dev-gallery-card-controls{grid-area:controls;display:grid;grid-template-columns:74px 1fr;align-items:center;gap:10px}.dev-gallery-card-controls input{width:100%;accent-color:#f3d44d}.dev-gallery-frame-strip{grid-area:frames;display:flex;flex-wrap:wrap;align-content:start;gap:5px;max-height:68px;overflow:auto}.dev-gallery-frame-strip span{border:1px solid #3f3b2c;border-radius:4px;padding:2px 5px;color:#d7d0af;background:#111;font-size:11px}.dev-gallery-atlas-preview{grid-area:atlas;width:100%;height:44px;border:1px solid #3f3b2c;object-fit:contain;object-position:left center;background:#000;image-rendering:pixelated;image-rendering:crisp-edges}.dev-gallery-evidence{grid-area:evidence;min-height:38px;margin:0;color:#bbb49b;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:11px;line-height:1.35}#game-screen{display:block;margin:0 auto;width:var(--game-canvas-css-width, 640px);height:var(--game-canvas-css-height, 400px);max-width:none;aspect-ratio:auto;background:#000;image-rendering:pixelated;image-rendering:crisp-edges;outline:none}#game-screen:focus-visible{box-shadow:none;outline:none}body.startup-screen-fixed-aspect #game-screen{width:var(--game-canvas-fixed-aspect-css-width, 640px);height:var(--game-canvas-fixed-aspect-css-height, 400px)}.options-popin-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:16px;background:#00000094;pointer-events:none}.options-popin-overlay[hidden]{display:none}.options-popin{position:relative;width:min(880px,calc(100vw - 32px));height:auto;max-height:calc(100vh - 32px);border:3px solid #00ffff;padding:20px 24px 16px;background:#101018;box-shadow:inset 0 0 0 4px #0001fe,0 0 0 2px #000;color:#fff;font-family:"Thomson 8 Bit",monospace;font-synthesis:none;text-rendering:optimizeSpeed;-webkit-font-smoothing:none;pointer-events:auto}.options-popin__title{margin:0;border-bottom:3px solid #0001fe;padding:0 0 16px;color:#f3d44d;font-size:29px;font-weight:400;line-height:1;text-align:center}.options-popin__close{position:absolute;top:18px;right:22px;display:grid;place-items:center;width:30px;min-height:30px;border:2px solid #0001fe;border-radius:0;padding:0;background:#080810;color:#42d7ff;font-family:"Thomson 8 Bit",monospace;font-size:17px;font-weight:400;line-height:1}.options-popin__close:hover,.options-popin__close:focus-visible{border-color:#42c9ff;color:#fff;outline:none}.options-popin__body{display:grid;grid-template-columns:306px minmax(0,1fr);gap:22px;padding:20px 0 0}.options-popin__categories{display:flex;flex-direction:column;gap:6px;min-width:0}.options-popin__category{min-height:31px;overflow:visible;padding:4px 12px;color:#9b9ba3;cursor:pointer;font-size:21px;line-height:1.15;white-space:nowrap}.options-popin__category--selected{border:3px solid #42c9ff;padding-left:9px;padding-right:9px;background:#2b5ed8;color:#fff}.options-popin__category:focus-visible{outline:2px solid #f3d44d;outline-offset:2px}.options-popin__content{min-width:0;height:388px;border:3px solid #4a4a4f;padding:17px 20px;background:#080810}.options-popin__content-title{margin:0 0 14px;color:#fff;font-size:18px;font-weight:400;line-height:1}.options-popin__content-body{display:flex;flex-direction:column;gap:8px;color:#fff;font-size:13px;line-height:1.1}.options-popin__line{margin:0;min-height:15px;overflow:visible;white-space:nowrap}.options-popin__line--muted{color:#9b9ba3}.options-popin__line--cyan{color:#42d7ff}.options-popin__line--green{color:#6fff5f}.options-popin__line--spacer{min-height:14px}.options-popin__option-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,max-content);align-items:center;gap:10px;min-height:26px}.options-popin__option-label{min-width:0;overflow:hidden;color:#9b9ba3;text-overflow:ellipsis;white-space:nowrap}.options-popin__select,.options-popin__checkbox{min-height:24px;border:2px solid #0001fe;border-radius:0;padding:2px 8px;background:#080810;color:#42d7ff;font-family:"Thomson 8 Bit",monospace;font-size:13px;font-weight:400;line-height:1;text-align:center;white-space:nowrap}.options-popin__select:hover,.options-popin__checkbox:hover,.options-popin__select:focus-visible,.options-popin__checkbox:focus-visible{border-color:#42c9ff;outline:none}.options-popin__checkbox{min-width:54px;color:#6fff5f}.options-popin__link{color:inherit;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}.options-popin__link:focus-visible{outline:2px solid #f3d44d;outline-offset:3px}@media(max-width:760px){.options-popin{padding:18px 18px 14px}.options-popin__body{grid-template-columns:264px minmax(0,1fr);gap:16px}.options-popin__category{font-size:18px}.options-popin__content-body{font-size:14px}}#app{position:relative;min-height:100vh;margin:0;background:#000;display:grid;place-items:center}.debug-toolbar{position:fixed;top:0;left:0;right:0;z-index:80;display:flex;align-items:center;justify-content:flex-start;gap:5px;width:100%;border:1px solid #0001fe;border-top:0;border-left:0;border-right:0;border-radius:0;padding:5px 8px;background:linear-gradient(#0001fe26,#0001fe26),repeating-linear-gradient(90deg,rgba(0,1,254,.12) 0,rgba(0,1,254,.12) 1px,transparent 1px,transparent 4px),repeating-linear-gradient(0deg,rgba(0,1,254,.075) 0,rgba(0,1,254,.075) 1px,transparent 1px,transparent 4px),#101018a1;box-shadow:inset 0 0 0 2px #0001fed9,0 0 0 1px #000000bf;color:#0ff;font-family:"Thomson 8 Bit",monospace;font-size:13px;line-height:1;text-shadow:1px 1px 0 #0001fe;transition:transform .14s ease,opacity .14s ease;transform:translateY(0)}.debug-toolbar[data-pinned=false]{opacity:.72;transform:translateY(calc(-100% + 6px))}.debug-toolbar[data-pinned=false]:hover,.debug-toolbar[data-pinned=false]:focus-within{opacity:1;transform:translateY(0)}.debug-toolbar-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:22px;height:22px;color:#0ff}.debug-toolbar-icon svg{display:block;width:20px;height:20px;fill:currentColor}.debug-toolbar-pin-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:25px;min-width:25px;min-height:23px;margin-left:auto;border-color:#0001fe;border-radius:0;padding:2px;color:#0ff;background:#00000061}.debug-toolbar-pin-button svg{display:block;width:17px;height:17px;fill:currentColor}.debug-toolbar-pin-button[aria-pressed=true]{color:#000;background:#00ffffb8}.to8-dom-text{--to8-pixel-size: 1.25px;position:relative;display:inline-block;flex:0 0 auto;width:calc(var(--to8-text-columns) * var(--to8-pixel-size));height:calc(var(--to8-text-rows) * var(--to8-pixel-size));vertical-align:middle}.to8-dom-text__pixel{position:absolute;left:calc(var(--to8-pixel-x) * var(--to8-pixel-size));top:calc(var(--to8-pixel-y) * var(--to8-pixel-size));width:var(--to8-pixel-size);height:var(--to8-pixel-size);background:currentColor}.debug-level-select-shell{position:relative;display:inline-flex;align-items:center;flex:0 1 auto;min-width:188px;max-width:min(320px,calc(100vw - 24px));min-height:19px;color:#0ff}.debug-level-picker{display:inline-flex;align-items:center;justify-content:space-between;width:100%;min-height:19px;border-color:#0001fe;border-radius:0;overflow:hidden;padding:4px 22px 4px 7px;background:#00000061;color:#0ff;font-family:"Thomson 8 Bit",monospace;font-size:13px;line-height:1;text-align:left}.debug-level-picker-display{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.debug-level-select-arrow{position:absolute;right:5px;top:50%;color:#0ff;font-family:"Thomson 8 Bit",monospace;font-size:13px;pointer-events:none;transform:translateY(-50%)}.debug-level-menu{position:absolute;top:calc(100% + 4px);left:0;width:max-content;min-width:100%;max-width:min(320px,calc(100vw - 24px));max-height:min(260px,calc(100vh - 52px));overflow-x:hidden;overflow-y:auto;border:1px solid #0001fe;background:linear-gradient(#0001fe26,#0001fe26),#101018c7;box-shadow:inset 0 0 0 2px #0001fed9,0 0 0 1px #000000bf;z-index:26}.debug-level-menu-option{display:flex;position:relative;width:100%;min-height:19px;border:0;border-radius:0;padding:5px 7px;color:#0ff;font-family:"Thomson 8 Bit",monospace;font-size:13px;line-height:1;background:#00000061;text-align:left;white-space:nowrap}.debug-level-menu-option:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#0001fea6;pointer-events:none}.debug-level-menu-option--placeholder{color:#ffe050;background:#00000080;pointer-events:none}.debug-level-menu-option--placeholder:before{background:#ffe050e6}.debug-level-menu-option[aria-selected=true]{color:#000;background:#00ffffb8;text-shadow:none}.debug-level-menu-option[aria-selected=true]:before,.debug-level-menu-option:hover:before,.debug-level-menu-option:focus-visible:before{display:none}.debug-level-menu-option[aria-selected=true]:after,.debug-level-menu-option:hover:after,.debug-level-menu-option:focus-visible:after{content:"";position:absolute;inset:0;border-top:1px solid #ffe050;border-bottom:1px solid #ffe050;pointer-events:none}.debug-attract-button,.debug-showcase-button,.debug-character-button,.debug-options-button,.debug-ghost-button,.debug-editor-button{min-height:19px;border-color:#0001fe;border-radius:0;flex:0 0 auto;padding:4px 8px;color:#0ff;font-family:"Thomson 8 Bit",monospace;font-size:13px;line-height:1;background:#00000061}.debug-ghost-button[aria-pressed=true]{border-color:#0001fe;color:#000;background:#00ffffb8;text-shadow:none}.player-customization-panel{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:18px;background:#0000009e}.player-customization-panel[hidden]{display:none}.player-customization-card{width:min(640px,calc(100vw - 28px));max-height:calc(100vh - 36px);overflow:auto;border:3px solid #00ffff;box-shadow:0 0 0 3px #0001fe,0 18px 44px #00000094;padding:14px 16px;color:#f4f4f4;background:linear-gradient(#0001fe1f,#0001fe1f),repeating-linear-gradient(90deg,rgba(0,255,255,.08) 0,rgba(0,255,255,.08) 1px,transparent 1px,transparent 4px),#10111c;font-family:"Thomson 8 Bit",monospace}.player-customization-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:2px solid #0001fe;padding-bottom:8px}.player-customization-header h2{margin:0;color:#ffe060;font-size:26px;font-weight:700}.player-customization-card button{min-height:30px;border:2px solid #0001fe;padding:4px 10px;color:#0ff;background:#000000a3;font:inherit;font-size:14px}.player-customization-card button:hover,.player-customization-card button:focus-visible{border-color:#0ff;color:#fff;outline:none}.player-customization-preview{display:block;width:80px;height:80px;margin:10px auto 12px;image-rendering:pixelated;background:#000}.player-customization-field{display:grid;gap:5px;margin-top:10px;color:#0ff;font-size:14px}.player-customization-field input,.player-customization-field select,.player-customization-color-row input[type=text]{min-width:0;border:2px solid #0001fe;padding:5px 7px;color:#f4f4f4;background:#000000b3;font:inherit;font-size:14px}.player-customization-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:8px 14px;margin-top:12px}.player-customization-color-row{display:grid;grid-template-columns:104px 42px minmax(104px,1fr);align-items:center;gap:8px;color:#f4f4f4;font-size:13px}.player-customization-color-row input[type=color]{width:42px;height:30px;border:2px solid #0001fe;padding:0;background:#000}.player-customization-presets,.player-customization-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.player-customization-actions{justify-content:flex-end;border-top:2px solid #0001fe;padding-top:10px}@media(max-width:620px){.dev-gallery-header{align-items:stretch;flex-direction:column}.dev-gallery-card{grid-template-columns:74px 1fr}.dev-gallery-sprite-preview{width:72px;height:72px}}body.level-editor-active{--editor-bg: #12121e;--editor-panel: #1c1c2e;--editor-panel-2: #242438;--editor-panel-3: #0d0d1a;--editor-border: #3a3a5c;--editor-accent: #4488ff;--editor-accent-2: #22cc88;--editor-text: #ccd0e0;--editor-text-dim: #7788aa;--editor-danger: #ff4444;--editor-toolbar-height: 44px;--editor-status-height: 26px;--editor-left-width: 280px;--editor-right-width: 240px;overflow:hidden;background:var(--editor-bg);color:var(--editor-text)}body.level-editor-active #game-screen{position:fixed;left:calc(var(--editor-left-width) + (100vw - var(--editor-left-width) - var(--editor-right-width)) / 2);top:calc(var(--editor-toolbar-height) + (100vh - var(--editor-toolbar-height) - var(--editor-status-height)) / 2);z-index:11;width:var(--editor-canvas-css-width);height:var(--editor-canvas-css-height);aspect-ratio:auto;max-width:calc(100vw - var(--editor-left-width) - var(--editor-right-width));max-height:calc(100vh - var(--editor-toolbar-height) - var(--editor-status-height));object-fit:fill;margin:0;transform:translate(-50%,-50%);border:0;border-radius:0;box-shadow:none;background:#0d0d1a}.level-editor-modern-ui{position:fixed;inset:0;z-index:20;pointer-events:none;font-family:Segoe UI,system-ui,sans-serif;font-size:12px;color:var(--editor-text);user-select:none}.level-editor-toolbar{position:fixed;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;gap:6px;height:var(--editor-toolbar-height);padding:0 10px;pointer-events:auto;border-bottom:1px solid var(--editor-border);background:var(--editor-panel)}.level-editor-toolbar-brand{display:flex;align-items:center;margin-right:10px}.level-editor-toolbar-title{display:block;width:496px;height:16px;image-rendering:pixelated;image-rendering:crisp-edges}.level-editor-toolbar button,.level-editor-toolbar-toggle{display:inline-flex;align-items:center;gap:5px;min-height:28px;border:1px solid var(--editor-border);border-radius:4px;padding:4px 10px;color:var(--editor-text);background:var(--editor-panel-2);font-size:12px;white-space:nowrap}.level-editor-toolbar button:hover{border-color:var(--editor-accent);background:#2e2e4a}.level-editor-toolbar-primary{margin-left:auto;border-color:#22cc88a6!important;color:#eafff6!important;background:#12382d!important}.level-editor-toolbar-toggle{color:var(--editor-text-dim);cursor:pointer}.level-editor-toolbar-toggle input{width:14px;height:14px;accent-color:var(--editor-accent)}.level-editor-toolbar-separator{width:1px;height:22px;margin:0 4px;background:var(--editor-border)}.level-editor-zoom-label{min-width:42px;color:var(--editor-text-dim);text-align:center}.level-editor-workbench{position:fixed;inset:var(--editor-toolbar-height) 0 var(--editor-status-height);z-index:10;pointer-events:none;background:transparent}.level-editor-panel{position:fixed;top:0;bottom:0;z-index:32;width:var(--editor-left-width);padding:0;pointer-events:auto;overflow:auto;border:0;border-radius:0;background:var(--editor-panel);box-shadow:none}.level-editor-panel::-webkit-scrollbar{width:5px}.level-editor-panel::-webkit-scrollbar-thumb{border-radius:3px;background:var(--editor-border)}.level-editor-panel-left{left:0;top:var(--editor-toolbar-height);bottom:var(--editor-status-height);border-right:1px solid var(--editor-border)}.level-editor-panel-right{right:0;top:var(--editor-toolbar-height);bottom:var(--editor-status-height);width:var(--editor-right-width);border-left:1px solid var(--editor-border)}.level-editor-section{border-bottom:1px solid var(--editor-border);padding:10px}.level-editor-panel-header{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;margin-bottom:8px}.level-editor-panel-header span{color:var(--editor-text-dim);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.level-editor-panel-header small{color:var(--editor-accent-2);font-size:10px}.level-editor-tools-title{margin-top:0}.level-editor-palette,.level-editor-tools,.level-editor-actions{display:grid;gap:4px}.level-editor-tools{grid-template-columns:1fr 1fr}.level-editor-chip,.level-editor-tool-button,.level-editor-actions button{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;min-height:48px;width:100%;border:1.5px solid transparent;border-radius:4px;padding:5px 7px;color:var(--editor-text);background:transparent;font:inherit;font-size:12px;font-weight:500;letter-spacing:0;text-align:left;cursor:pointer;transition:border-color .1s ease,background .1s ease,color .1s ease}.level-editor-tool-button{display:flex;justify-content:flex-start;min-height:34px;gap:6px;background:var(--editor-panel-2)}.level-editor-tool-button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.level-editor-chip:hover,.level-editor-tool-button:hover,.level-editor-actions button:hover{border-color:var(--editor-accent);background:#2e2e4a}.level-editor-chip.is-active,.level-editor-tool-button.is-active{border-color:var(--editor-accent);color:var(--editor-accent);background:#1a2040;font-weight:700}.level-editor-chip svg,.level-editor-tool-button svg{width:22px;height:22px;color:currentColor}.level-editor-tool-button svg.level-editor-pixel-tool-icon{width:24px;height:24px;image-rendering:pixelated;image-rendering:crisp-edges}.level-editor-chip-label{display:block;min-width:0;overflow:hidden;color:var(--editor-text);font-size:12px;font-weight:700;line-height:1.15;text-overflow:ellipsis;white-space:normal}.level-editor-chip-text{display:grid;min-width:0;gap:2px}.level-editor-chip small{color:var(--editor-text-dim);font-size:10px;font-weight:400;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.level-editor-chip-preview{width:32px;height:32px;flex:0 0 auto;border:1px solid #333;border-radius:2px;background:#000;box-shadow:none;image-rendering:pixelated;image-rendering:crisp-edges}.level-editor-field{display:grid;gap:3px;margin-bottom:7px;color:var(--editor-text-dim);font-size:10px;font-weight:500;letter-spacing:0;text-transform:none}.level-editor-field input,.level-editor-field select{min-width:0;width:100%;border:1px solid var(--editor-border);border-radius:3px;padding:4px 6px;color:var(--editor-text);background:var(--editor-panel-3);font:inherit;font-size:12px;outline:none}.level-editor-field input:focus,.level-editor-field select:focus{border-color:var(--editor-accent);box-shadow:none}.level-editor-generator-panel{position:fixed;inset:0;z-index:45;display:grid;place-items:center;padding:calc(var(--editor-toolbar-height) + 12px) 12px calc(var(--editor-status-height) + 12px);pointer-events:auto;background:#00000073}.level-editor-generator-panel[hidden]{display:none}.level-editor-generator-card{width:min(360px,calc(100vw - 32px));border:2px solid var(--editor-accent);border-radius:4px;padding:14px;color:var(--editor-text);background:var(--editor-panel);box-shadow:0 0 0 2px #0001fe,0 16px 40px #00000080}.level-editor-generator-header,.level-editor-generator-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.level-editor-generator-header{margin-bottom:12px;border-bottom:1px solid var(--editor-border);padding-bottom:10px}.level-editor-generator-header h2{margin:0;color:var(--editor-accent);font-size:18px;font-weight:700}.level-editor-generator-card button{min-height:28px;border:1px solid var(--editor-border);border-radius:4px;padding:4px 10px;color:var(--editor-text);background:var(--editor-panel-2);font:inherit;font-size:12px}.level-editor-generator-card button:hover{border-color:var(--editor-accent);background:#2e2e4a}.level-editor-generator-actions{margin-top:12px;border-top:1px solid var(--editor-border);padding-top:12px}.level-editor-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.level-editor-actions{grid-template-columns:1fr;margin-top:7px}.level-editor-actions button{justify-content:center;color:#fff;background:var(--editor-accent)}.level-editor-toggle{display:flex;align-items:center;gap:.55rem;margin-top:.85rem;color:#d8fff3;font-size:.82rem;font-weight:700}.level-editor-toggle input{width:1rem;height:1rem;accent-color:#6fffd5}.level-editor-diagnostics{display:grid;gap:4px;margin-top:0}.level-editor-diagnostic{margin:0;border-radius:4px;padding:6px 8px;font-size:11px;line-height:1.25;background:var(--editor-panel-2)}.level-editor-diagnostic-error{color:#ffd8d8;border:1px solid rgba(255,91,91,.38)}.level-editor-diagnostic-warning{color:#fff1b8;border:1px solid rgba(255,212,93,.36)}.level-editor-statusbar{position:fixed;left:0;right:0;bottom:0;z-index:31;display:flex;align-items:center;gap:20px;height:var(--editor-status-height);padding:0 12px;pointer-events:auto;border-top:1px solid var(--editor-border);color:var(--editor-text-dim);background:var(--editor-panel);font-size:11px}.level-editor-statusbar span{white-space:nowrap}.level-editor-statusbar [data-editor-status-tool]{color:var(--editor-accent);font-weight:700}.level-editor-status-hint{margin-left:auto}body.level-showcase-active{overflow:auto;background:#000}body.level-showcase-active #game-screen{display:none}.level-showcase-shell{box-sizing:border-box;width:100%;min-height:100vh;padding:24px;color:#0ff;background:linear-gradient(rgba(0,1,254,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(0,1,254,.16) 1px,transparent 1px),#000;background-size:8px 8px;font-family:"Thomson 8 Bit",monospace}.level-showcase-header{display:flex;align-items:end;justify-content:space-between;gap:24px;width:min(1280px,100%);margin:0 auto 18px;border:2px solid #0001fe;padding:16px;background:#000000c7;box-shadow:inset 0 0 0 1px #00ffff47}.level-showcase-eyebrow{margin:0 0 8px;color:#58ff58;font-size:12px}.level-showcase-title{margin:0;color:#ffe45c;font-size:32px;font-weight:400;line-height:1}.level-showcase-subtitle{margin:10px 0 0;color:#00ffffd1;font-size:13px;line-height:1.5}.level-showcase-count{margin:0;color:#58ff58;font-size:14px;white-space:nowrap}.level-showcase-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(1280px,100%);margin:0 auto}.level-showcase-card{display:grid;grid-template-rows:auto 1fr;gap:12px;align-content:start;border:2px solid rgba(0,1,254,.92);padding:12px;background:#000000d1;box-shadow:inset 0 0 0 1px #00ffff38}.level-showcase-card[data-selected=true]{border-color:#0ff;box-shadow:inset 0 0 0 1px #0001fe,0 0 0 2px #00ffff3d}.level-showcase-preview-button{display:grid;place-items:center;align-self:start;min-height:0;border:1px solid rgba(0,255,255,.48);border-radius:0;padding:8px;background:#000000c7}.level-showcase-preview-button:focus-visible{outline:2px solid #58ff58;outline-offset:2px}.level-showcase-preview{display:block;max-width:100%;height:auto;image-rendering:pixelated}.level-showcase-card-body{min-width:0}.level-showcase-card-title{margin:0 0 10px;color:#fff;font-size:16px;font-weight:400;line-height:1.3;overflow-wrap:anywhere}.level-showcase-badge{display:inline-block;margin:0 0 10px;border:1px solid #58ff58;padding:4px 6px;color:#58ff58;background:#000000b8;font-size:10px}.level-showcase-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:0;color:#ffffffe0;font-size:10px;line-height:1.35}.level-showcase-meta dt{margin-bottom:2px;color:#00ffffad}.level-showcase-meta dd{min-width:0;margin:0;overflow-wrap:anywhere}.level-showcase-detail{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:#000000b8}.level-showcase-detail-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;width:min(1180px,100%);max-height:calc(100vh - 48px);border:2px solid #00ffff;padding:18px;background:linear-gradient(rgba(0,1,254,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(0,1,254,.14) 1px,transparent 1px),#000000f0;background-size:8px 8px;box-shadow:inset 0 0 0 2px #0001fe,0 16px 48px #000000b3}.level-showcase-detail-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:2px solid #0001fe;padding-bottom:12px}.level-showcase-detail-title{margin:0;color:#ffe45c;font-size:24px;font-weight:400;line-height:1.2}.level-showcase-detail-close,.level-showcase-play-button{min-height:34px;border:1px solid #00ffff;border-radius:0;padding:7px 12px;color:#0ff;background:#000000d1;font-family:"Thomson 8 Bit",monospace;font-size:12px}.level-showcase-detail-close{display:inline-grid;place-items:center;width:34px;min-width:34px;padding:0}.level-showcase-detail-close:focus-visible,.level-showcase-play-button:focus-visible{outline:2px solid #58ff58;outline-offset:2px}.level-showcase-detail-content{display:grid;grid-template-columns:minmax(320px,2fr) minmax(280px,1fr);gap:18px;min-height:0;overflow:auto}.level-showcase-detail-preview{align-self:start;justify-self:center;border:1px solid rgba(0,255,255,.52);background:#000}.level-showcase-detail-meta{display:grid;grid-template-columns:max-content minmax(0,1fr);align-content:start;gap:10px 14px;margin:0;border:1px solid rgba(0,1,254,.9);padding:14px;color:#ffffffeb;background:#000000c7;font-size:12px;line-height:1.35}.level-showcase-detail-meta dt{color:#00ffffb8}.level-showcase-detail-meta dd{min-width:0;margin:0;overflow-wrap:anywhere}.level-showcase-detail-actions{display:flex;justify-content:flex-end;border-top:2px solid #0001fe;padding-top:12px}.level-showcase-play-button{min-width:128px;color:#58ff58;border-color:#58ff58}.level-showcase-play-button:disabled{cursor:not-allowed;opacity:.48}@media(max-width:960px){.level-showcase-shell{padding:16px}.level-showcase-header{align-items:start;flex-direction:column}.level-showcase-list,.level-showcase-detail-content{grid-template-columns:1fr}.level-showcase-detail-preview{max-width:100%}}@media(max-width:640px){.level-showcase-shell,.level-showcase-header,.level-showcase-card,.level-showcase-detail-panel{padding:10px}.level-showcase-title{font-size:24px}.level-showcase-subtitle,.level-showcase-count{font-size:11px}.level-showcase-list{gap:10px}.level-showcase-preview-button{padding:6px}.level-showcase-card-title{font-size:15px}.level-showcase-meta,.level-showcase-detail-meta{grid-template-columns:1fr;gap:4px;font-size:10px}.level-showcase-detail{align-items:start;padding:10px;overflow:auto}.level-showcase-detail-panel{max-height:none}.level-showcase-detail-header{align-items:start;flex-direction:column}.level-showcase-detail-title{font-size:18px}.level-showcase-detail-actions{justify-content:stretch}.level-showcase-detail-close,.level-showcase-play-button{font-size:10px}.level-showcase-play-button{width:100%}}@media(max-width:760px){body.level-editor-active #game-screen{position:static;width:min(92vw,760px);margin:calc(var(--editor-toolbar-height) + 18rem) auto calc(var(--editor-status-height) + 1rem)}.level-editor-modern-ui{position:fixed}.level-editor-workbench{position:static}.level-editor-panel{position:static;width:auto;min-width:0;max-height:16rem}.level-editor-panel-left,.level-editor-panel-right{position:fixed;top:var(--editor-toolbar-height);bottom:auto;width:50vw;max-height:17rem}.level-editor-panel-left{left:0}.level-editor-panel-right{right:0}}@media(max-width:640px){body.level-editor-active #game-screen{width:96vw;margin-top:35rem}.level-editor-toolbar{overflow-x:auto}.level-editor-panel-left,.level-editor-panel-right{width:100vw;max-height:16rem}.level-editor-panel-right{top:calc(var(--editor-toolbar-height) + 16rem)}.level-editor-status-hint{display:none}}
