:root{--paper:#f6f5ef;--ink:#193d35;--muted:#7a8078;--line:#dcded4;--lime:#d8ed8d;--soft:#eeeee6;--green:#31594b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{outline-offset:5px}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{cursor:default;opacity:.35}button,a{ -webkit-tap-highlight-color:transparent}button{transition:background .18s,transform .18s}button:hover:not(:disabled){filter:brightness(.96)}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:'Chakra Petch',Arial,sans-serif}button:focus-visible,a:focus-visible{outline:2px solid #598444}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.header{height:90px;padding:0 4.6%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:700;letter-spacing:-1px;text-decoration:none}.brand-dot{font-size:10px;align-self:flex-start;margin-top:9px;margin-left:-5px}.brand-symbol{width:30px;height:30px;background:var(--ink);color:var(--paper);font-size:37px;line-height:24px;overflow:hidden;position:relative;font-family:Arial;font-weight:900;padding-left:5px;letter-spacing:0}.brand-symbol span{position:absolute;right:0;bottom:0;width:12px;height:5px;background:var(--lime)}nav{display:flex;gap:27px;height:100%;align-items:center}.nav{font-size:13px;color:#81877c;height:100%;position:relative;padding:0 3px}.nav.active{color:var(--ink);font-weight:700}.nav.active:after{content:'';position:absolute;height:3px;background:var(--ink);bottom:0;left:0;right:0}.nav span{margin-left:5px;font-size:11px}.local-status{font-size:9px;font-weight:600;letter-spacing:1px;display:flex;gap:8px;align-items:center}.local-status i,.session-status i{width:6px;height:6px;border-radius:50%;background:#678052}.local-status i{box-shadow:0 0 0 4px #e6ebdc}main{max-width:1560px;margin:auto;padding:0 4.6%}.hero{padding:52px 0 45px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:650;display:flex;align-items:center;gap:10px}.tiny-bars{display:flex;gap:2px;transform:skew(-15deg)}.tiny-bars i{display:block;width:5px;height:11px;background:#e39864}.tiny-bars i:nth-child(2){background:#d7b95c}.tiny-bars i:nth-child(3){background:#94a46c}.tiny-bars i:nth-child(4){background:#668d86}h1{font-size:clamp(42px,4.3vw,67px);letter-spacing:-3px;line-height:1.12;font-weight:500;margin:15px 0}h1 em{font-style:normal;color:#6c8261}.hero p{color:#7b8078;line-height:1.75;font-size:13px}.hero-stamp{border-left:1px solid var(--line);padding-left:30px;margin-right:2px;align-self:center;color:#657769}.hero-stamp>span{font-family:monospace;font-size:8px;letter-spacing:1.3px}.hero-stamp div{font-family:'Chakra Petch',sans-serif;font-size:45px;letter-spacing:-2px;margin:6px 0}.hero-stamp div span{font-size:28px;color:#a4b298;padding:0 14px}.hero-stamp>span:last-child{display:block;max-width:220px;line-height:1.7}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px;min-height:23px}h2{font-size:17px;letter-spacing:-.5px;font-weight:500;display:flex;align-items:center;gap:11px}.step{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;background:#e7e9df;border-radius:50%;font-size:9px;font-weight:500;letter-spacing:0;color:#6e7d69}.section-aside{font-size:11px;color:#8b8f84}.machines{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.machine-card{display:block;border:1px solid #dcded3;border-radius:10px;overflow:hidden;text-align:left;position:relative;padding:0;background:#efeee8;transition:border-color .2s,box-shadow .2s,transform .2s}.machine-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #173c350a}.machine-card.selected{border:1.5px solid var(--ink);box-shadow:0 0 0 3px #173c3508}.machine-top{position:absolute;top:16px;left:18px;right:17px;display:flex;justify-content:space-between;align-items:center;font:10px monospace;color:#7b8175;z-index:1}.selection-ring{width:17px;height:17px;border-radius:50%;border:1px solid #c7cabd;background:#f8f7f1;font-size:11px;display:flex;align-items:center;justify-content:center;color:transparent}.selected .selection-ring{background:var(--ink);color:var(--lime);border-color:var(--ink)}.machine-image{height:167px;overflow:hidden;display:flex;align-items:center;margin-top:24px}.machine-image img{width:100%;mix-blend-mode:multiply;object-fit:contain;transform:scale(1.06)}.machine-copy{padding:12px 18px 16px}.machine-copy h3{font-size:20px;font-weight:500;letter-spacing:-.7px;display:flex;justify-content:space-between;align-items:center}.machine-copy h3 span{font-family:monospace;font-size:8px;padding:4px 6px;border:1px solid #d5d8cb;border-radius:3px;color:#74806e;letter-spacing:0}.machine-copy p{font-size:10px;color:#8a8d82;margin:7px 0 17px}.machine-spec{display:flex;gap:13px;border-top:1px solid #dcddd2;padding-top:11px;color:#657360;font-size:9px;font-family:monospace}.machine-spec span{display:flex;align-items:center;gap:5px}.machine-spec span:before{content:'';display:block;width:4px;height:4px;background:#9aa48a}.setup-grid{display:grid;grid-template-columns:315px 1fr;gap:32px;margin-top:37px}.monitor-list{display:grid;gap:9px}.monitor-card{display:flex;align-items:center;gap:9px;background:#efeee8;border:1px solid var(--line);border-radius:7px;padding:6px 12px 6px 4px;text-align:left;position:relative;min-height:88px}.monitor-card.selected{border-color:var(--ink);background:#e9eddf}.monitor-card img{width:89px;height:75px;object-fit:contain;mix-blend-mode:multiply}.monitor-card .monitor-copy{flex:1}.monitor-card strong{font-size:12px;font-weight:550;display:block}.monitor-card small{display:block;font-size:9px;color:#85907e;margin-top:6px}.monitor-card .selection-ring{width:14px;height:14px;font-size:9px;flex-shrink:0}.recommended{font-size:7px!important;letter-spacing:.7px;text-transform:uppercase;color:#5c744d!important;margin-top:5px!important}.crt-setting{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.crt-setting strong{font-size:11px;display:block;font-weight:550}.crt-setting div>span{font-size:10px;color:#8b9084;display:block;margin-top:5px}.switch{width:32px;height:19px;border-radius:20px;background:#c5c9ba;padding:3px;flex-shrink:0}.switch span{display:block;background:#f9faee;width:13px;height:13px;border-radius:50%;transition:transform .2s}.switch.on{background:var(--ink)}.switch.on span{transform:translateX(13px);background:var(--lime)}.monitor-note{font-size:9px;color:#919789;line-height:1.7;margin-top:12px}.session-status{display:flex;align-items:center;gap:7px;font-family:monospace;font-size:9px;letter-spacing:1px;color:#738065}.workspace-inner{background:#e8e9df;border:1px solid #d8dbcf;border-radius:9px;overflow:hidden}.workspace-top,.workspace-bottom{display:flex;align-items:center;justify-content:space-between;padding:10px 17px;font:8px monospace;letter-spacing:1px;color:#7f8977}.workspace-top{border-bottom:1px solid #d7dacc}.icon-btn{font:20px Arial,sans-serif;padding:0 4px}.workspace-bottom{border-top:1px solid #d7dacc;padding:10px 17px;min-height:43px}.workspace-bottom>div{display:flex;gap:15px;align-items:center}.small-link{font-family:'DM Sans',sans-serif;font-size:10px;letter-spacing:0;display:flex;gap:15px}.monitor-stage{display:flex;flex-direction:column;align-items:center;padding:21px 30px 8px;background:radial-gradient(ellipse at center,#f2f1e8,#e7e8de)}.crt-housing{width:100%;max-width:600px;padding:15px 18px 0;border-radius:17px 17px 10px 10px;background:linear-gradient(135deg,#d8d3bd 0%,#e3dfca 18%,#ccc6af 100%);box-shadow:inset 1px 1px 2px #fffbeb,inset -3px -2px 3px #a7a18a,0 12px 16px #333d2b19;border:1px solid #c9c5ae}.crt-housing.philips{background:linear-gradient(135deg,#dfdfd2,#eeeede 25%,#c9cbbb)}.crt-housing.c1702{background:linear-gradient(135deg,#c7baa1,#d4c9af 25%,#baab90)}.screen{aspect-ratio:4/3;border:9px solid #30372e;border-bottom-width:11px;border-radius:25px/19px;background:#102b24;position:relative;overflow:hidden;box-shadow:0 0 0 3px #a9a58f,0 0 0 4px #e4dec8,inset 0 0 35px #000c;color:#d9edb1}.screen:after{content:'';pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 45px #0008;border-radius:14px;z-index:4}.screen.scanlines:before{content:'';pointer-events:none;position:absolute;inset:0;background:repeating-linear-gradient(0deg,#0000,#0000 2px,#0002 3px);z-index:5}.idle-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;inset:0;padding:20px;text-align:center;background:radial-gradient(ellipse at 50% 40%,#284539,#122e26)}.screen-kicker{font:7px monospace;letter-spacing:2px;color:#91a779;margin-top:0}.pixel-disk{font-family:monospace;font-size:54px;margin:10px 0 2px;line-height:1;color:#b7cb92;text-shadow:2px 2px #a5c48c33}.idle-screen h3{font-size:16px;font-weight:500;margin-bottom:9px;letter-spacing:-.4px}.idle-screen p{font-size:10px;line-height:1.7;color:#a4b99a}.primary{display:inline-flex;justify-content:center;align-items:center;gap:15px;border-radius:5px;background:var(--ink);color:var(--paper);padding:13px 22px;font-size:12px;font-weight:550}.primary.light{background:var(--lime);color:var(--ink);padding:11px 20px;margin-top:18px;font-size:11px;z-index:6}.text-btn{font-size:9px;color:#bdc8a6;margin-top:13px;position:relative;z-index:6}.text-btn span{margin-left:10px}.monitor-chin{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 8px}.monitor-wordmark{font-size:11px;color:#6b6b5b;font-weight:700;letter-spacing:-.5px}.monitor-wordmark b{font-size:9px;letter-spacing:0;margin-left:4px;font-weight:500}.power-led{width:5px;height:5px;background:#9f5a31;border-radius:50%;box-shadow:0 0 0 2px #bbb19b}.monitor-foot{width:32%;max-width:175px;height:12px;background:linear-gradient(#b6b09c,#c9c3ac);border-radius:0 0 8px 8px;box-shadow:0 5px 6px #27352316}.privacy-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:9px;color:#8b9282;margin-top:11px}.bottom-strip{margin:36px 0 0;padding:25px 0;display:flex;align-items:center;gap:16px;border-top:1px solid var(--line)}.strip-icon{font-size:31px;color:#7d8c6f}.bottom-strip h3{font-size:14px;font-weight:500}.bottom-strip p{font-size:11px;color:#8b9085;margin-top:6px}.outline{border:1px solid #c8cebc;border-radius:5px;padding:12px 16px;font-size:10px;display:flex;gap:25px;margin-left:auto}footer{max-width:1560px;display:flex;justify-content:space-between;align-items:center;padding:24px 4.6%;margin:0 auto;border-top:1px solid var(--line);color:#8a9382;font-size:9px}.brand-small{font-family:'Chakra Petch',sans-serif;color:#63775c;font-size:11px;font-weight:700;letter-spacing:.5px}footer button{font-size:9px}#emulator{position:absolute;inset:0;border:0;width:100%;height:100%;z-index:3;background:#000}.monitor-stage:fullscreen{background:#202c24;padding:25px;justify-content:center}.monitor-stage:fullscreen .crt-housing{max-width:min(90vw,calc(120vh - 150px))}.monitor-stage:fullscreen .screen{max-height:85vh}dialog{border:1px solid #cbd0c1;border-radius:14px;box-shadow:0 25px 90px #0a211840;background:var(--paper);color:var(--ink);padding:28px;width:min(540px,calc(100% - 28px));max-height:90vh}dialog::backdrop{background:#142d2366;backdrop-filter:blur(7px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.close{font-size:26px;line-height:1}.dialog-top .eyebrow{font-size:8px}dialog h2{display:block;font-size:29px;letter-spacing:-1px;margin-bottom:10px}dialog p{font-size:12px;color:#7a8570;line-height:1.7}.dropzone{display:flex;flex-direction:column;align-items:center;padding:25px 15px;border:1px dashed #aab597;border-radius:8px;background:#eef0e5;margin-top:20px;cursor:pointer;gap:7px;text-align:center}.dropzone.drag{background:#dce8c8;border-color:var(--ink)}.dropzone strong{font-size:13px;font-weight:500}.dropzone>span:not(.upload-icon){font-size:11px;color:#89927c}.dropzone small{font:9px monospace;color:#7e8e70;letter-spacing:1px;margin-top:7px}.upload-icon{font-size:26px}.chosen-file{font-size:12px;background:#e1e9d2;padding:12px;border-radius:6px;margin-top:12px;overflow-wrap:anywhere}.bios-heading{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.bios-heading h3{font-size:14px}.bios-heading span{font:10px monospace;color:#849176}#bios-description{font-size:11px;margin-top:6px}.bios-upload{display:flex;align-items:center;gap:10px;padding:13px 10px;border:1px solid #cdd4c0;border-radius:6px;margin:10px 0 7px;cursor:pointer;font-size:11px}.bios-upload span:nth-child(2){flex:1;overflow-wrap:anywhere}.bios-upload b{font-size:10px;font-weight:500}.bios-upload+input+small{font-size:9px;line-height:1.6;display:block;color:#92977f}.remember{display:flex;align-items:center;gap:8px;margin:18px 0;font-size:11px;color:#748263}input[type=checkbox]{accent-color:var(--ink)}.wide{width:100%;justify-content:space-between}.dialog-note{font-size:9px!important;margin-top:13px}.error{background:#f3e1d6;color:#8d4228;padding:10px;border-radius:6px;margin-top:12px}#help-content h3{margin:24px 0 6px;font-size:14px}#help-content p{margin-top:7px}#help-content a{color:var(--ink)}#help-content kbd{font-size:10px;padding:2px 5px;background:#e2e6d9;border-radius:3px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:#eaf2de;padding:15px 23px;border-radius:7px;font-size:12px;z-index:50;box-shadow:0 5px 20px #16372b20;max-width:90vw}.library-description{font-size:12px;color:#859077;margin:0 0 25px}.library-toolbar{display:flex;border:1px solid var(--line);border-radius:7px;padding:8px 15px;align-items:center;gap:12px;margin-bottom:24px}.library-toolbar input{background:none;border:0;flex:1;padding:8px;min-width:0;color:var(--ink)}.library-toolbar select{border:0;border-left:1px solid var(--line);padding:5px 10px;background:transparent;color:var(--ink);font-size:12px}.library-empty{padding:70px 20px;text-align:center;background:var(--soft);border-radius:10px;margin-bottom:80px}.library-empty h3{font-size:22px;font-weight:500;margin:14px 0}.library-empty p{font-size:12px;color:#86907a}.library-item{display:flex;gap:17px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0}.library-item .disk{height:48px;width:48px;border-radius:6px;background:#e4e8d8;display:grid;place-items:center;font-size:27px;flex-shrink:0}.library-item .lib-info{flex:1;min-width:0}.lib-info strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.lib-info small{display:block;font-size:10px;color:#8c947f;margin-top:6px}.library-item .delete{padding:9px;color:#8a937e;font-size:18px}.library-item .primary{padding:10px 16px;font-size:11px}#library-view{min-height:600px;padding:6px 0 35px}
@media(min-width:1500px){.machine-image{height:200px}.screen{aspect-ratio:4/3}.idle-screen h3{font-size:19px}}
@media(max-width:1100px){.local-status{display:none}.hero-stamp{padding-left:20px}.hero-stamp div{font-size:34px}.hero-stamp>span:last-child{max-width:170px}.setup-grid{grid-template-columns:270px 1fr;gap:23px}.machine-spec{gap:8px;font-size:8px}.machine-image{height:139px}.machine-copy{padding:10px 13px 13px}.machine-copy h3{font-size:18px}.idle-screen h3{font-size:13px}.idle-screen p{font-size:9px}.screen-kicker{font-size:6px}.pixel-disk{font-size:36px}.screen{border-width:7px}.primary.light{margin-top:11px}.monitor-stage{padding:18px 20px 8px}.idle-screen{padding:8px}.privacy-note{font-size:8px}.section-aside{font-size:10px}}
@media(max-width:760px){.header{height:74px;padding:0 5%;gap:10px}.brand{font-size:17px;gap:7px}.brand-symbol{width:24px;height:24px;font-size:30px;line-height:20px}.brand-dot{display:none}nav{gap:17px}.nav{font-size:11px}.nav:last-child{display:none}.nav span{font-size:9px}main{padding:0 5%}.hero{padding:35px 0 29px}.hero-stamp{display:none}h1{font-size:43px;letter-spacing:-2.4px;margin:15px 0 13px}.hero p{font-size:12px}.eyebrow{font-size:8px;letter-spacing:1.3px}.desktop{display:none}.section-aside{display:none}h2{font-size:15px}.step{width:23px;height:23px}.section-heading{margin-bottom:14px}.machines{grid-template-columns:repeat(2,1fr);gap:12px}.machine-image{height:143px;margin-top:23px}.machine-copy h3{font-size:19px}.machine-copy p{font-size:9px;margin-bottom:13px}.machine-spec{font-size:8px;gap:10px}.machine-top{top:13px;left:13px;right:13px}.setup-grid{grid-template-columns:1fr;gap:28px;margin-top:28px}.monitor-list{grid-template-columns:repeat(3,1fr);gap:8px}.monitor-card{flex-direction:column;gap:0;padding:7px 5px 12px;text-align:center}.monitor-card img{width:100%;height:80px}.monitor-card strong{font-size:10px}.monitor-card small{font-size:8px}.monitor-card .selection-ring{position:absolute;right:7px;top:8px}.recommended{font-size:6px!important}.crt-setting{margin-top:16px;padding:13px 0}.monitor-note{font-size:8px}.monitor-note br{display:none}.monitor-stage{padding:20px 20px 10px}.screen{aspect-ratio:4/3}.idle-screen h3{font-size:14px}.idle-screen p{font-size:10px}.screen-kicker{font-size:6px}.pixel-disk{font-size:42px;margin:13px 0 8px}.primary.light{margin-top:15px}.workspace-top,.workspace-bottom{padding:10px 12px;font-size:7px;letter-spacing:.4px}.privacy-note{font-size:8px;line-height:1.5;text-align:center;padding:0 10px}.bottom-strip{margin-top:25px;flex-wrap:wrap;padding:22px 0;gap:12px}.bottom-strip>div{flex:1}.bottom-strip h3{font-size:13px}.bottom-strip p{font-size:10px;line-height:1.7}.outline{margin-left:43px;font-size:10px}footer{padding:20px 5%;gap:10px}footer>span:nth-child(2){display:none}.library-toolbar{gap:2px;padding:6px}.library-toolbar input{font-size:11px}.library-toolbar select{font-size:10px;max-width:120px}.library-item{gap:10px}.library-item .disk{width:36px;height:40px}.library-item .primary{font-size:9px;padding:9px 11px}.library-item .delete{padding:5px}.library-item .lib-info small{font-size:9px}}
@media(max-width:390px){h1{font-size:37px}.machine-image{height:119px}.machine-copy h3{font-size:16px}.machine-copy h3 span{font-size:7px}.machine-spec{font-size:7px;gap:7px}.monitor-card strong{font-size:9px}.monitor-card img{height:67px}.screen-kicker{display:none}.idle-screen h3{font-size:12px}.idle-screen p{font-size:9px}.pixel-disk{margin-top:4px}.primary.light{padding:9px 15px;margin-top:10px}.text-btn{margin-top:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Retrostudio 2: a room around a true 4:3 display. */
:root{--paper:#f4f3eb;--lime:#d4ec89;--ink:#193d35}h1{font-family:'VT323',monospace;font-size:clamp(56px,6.4vw,94px);font-weight:400;letter-spacing:-2px;line-height:.98;margin:18px 0 19px}.hero{padding:43px 0 37px;gap:20px}.hero p{font-size:13px}.hero-stamp{min-width:220px}.hero-stamp div{font-family:'VT323',monospace;font-size:48px;letter-spacing:0}.hero-stamp div span{font-size:31px;padding:0 11px}.hero-stamp>span{font-family:'Chakra Petch',sans-serif;font-size:8px;letter-spacing:1.2px}.hero-stamp>span:last-child{max-width:none;white-space:nowrap;font-size:7px}.cursor{color:#acb894;animation:blink 1.3s steps(2,start) infinite}@keyframes blink{to{visibility:hidden}}.brand{font-family:'Chakra Petch',sans-serif;letter-spacing:-.8px}.nav{font-family:'Chakra Petch',sans-serif;font-size:13px}.local-status{font-size:8px}.machine-copy h3{font-size:19px;font-weight:600}.machine-copy p{font-size:10px}.machine-image{height:160px;margin-top:24px}.machine-image img{transform:scale(1)}.machine-spec{font-family:'Chakra Petch',sans-serif;font-size:9px}.machine-top{font-family:'VT323',monospace;font-size:15px}.machine-copy h3 span{font-family:'Chakra Petch',sans-serif;font-size:8px}.selection-ring{font-family:Arial,sans-serif}.section-heading h2{font-family:'Chakra Petch',sans-serif;font-weight:600;letter-spacing:-.3px}.step{font-family:'VT323',monospace;font-size:14px}.section-aside{font-size:10px}.setup-grid{grid-template-columns:1fr 1.2fr;gap:35px;margin-top:34px}.monitor-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.monitor-card{flex-direction:column;gap:0;text-align:center;min-height:155px;padding:7px 8px 13px}.monitor-card img{width:100%;height:86px}.monitor-card .selection-ring{position:absolute;right:9px;top:9px}.monitor-card .monitor-copy{flex:none}.monitor-card strong{font-family:'Chakra Petch',sans-serif;font-size:11px;font-weight:600}.monitor-card small{font-size:8px;margin-top:5px}.recommended{font-size:6px!important;letter-spacing:.3px;min-height:7px}.crt-setting{margin-top:14px;padding:13px 0}.crt-setting strong{font-family:'Chakra Petch',sans-serif;font-size:11px}.crt-setting div>span{font-size:10px}.rooms .section-heading{gap:7px}.room-count{font-family:'VT323',monospace;font-size:13px;color:#879078;white-space:nowrap}.room-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.room-card{border:1px solid #d4d9c8;border-radius:5px;text-align:left;background:#ebede1;overflow:hidden;padding:0;position:relative;min-width:0}.room-card:hover{box-shadow:0 3px 10px #1a3e3515;transform:translateY(-2px)}.room-card.selected{border-color:var(--ink);box-shadow:0 0 0 2px #193d3518;background:#dfe7d1}.room-card img{display:block;width:100%;height:64px;object-fit:cover}.room-card .room-title{font-family:'Chakra Petch',sans-serif;display:block;font-size:8px;font-weight:600;white-space:nowrap;padding:7px 5px;text-overflow:ellipsis;overflow:hidden}.room-card .room-number{position:absolute;top:5px;left:5px;font-family:'VT323',monospace;font-size:12px;color:#f3f3df;text-shadow:0 1px 2px #000}.room-card .selection-ring{position:absolute;right:5px;top:5px;width:12px;height:12px;font-size:8px}.workspace{margin-top:27px}.workspace-inner{border-color:#cbd0bd;background:#e7eadd;border-radius:10px}.workspace-top{font-family:'Chakra Petch',sans-serif;font-size:9px;letter-spacing:.7px;padding:13px 18px;gap:10px}.workspace-top .small-link{font-size:10px;gap:9px;font-family:'Chakra Petch',sans-serif;font-weight:600}.aspect-badge{font-family:'VT323',monospace;color:#78866a;font-size:13px;letter-spacing:.6px}.workspace-bottom{font-family:'VT323',monospace;font-size:14px;letter-spacing:.6px;padding:12px 18px}.workspace-bottom .small-link{font-family:'Chakra Petch',sans-serif;font-size:11px}.session-status{font-family:'VT323',monospace;font-size:15px;letter-spacing:1px}.monitor-stage{position:relative;isolation:isolate;display:block;width:100%;aspect-ratio:16/10;min-height:0;padding:0;background:#a58e70;overflow:hidden;container-type:size;--rig-width:450px;--scene-tint:#c19a55}.room-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:-3}.room-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#10281b12,#0000 25%,#0000 80%,#15281755);pointer-events:none}.scene-rig{position:absolute;width:var(--rig-width);left:50%;bottom:4.8%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none;filter:drop-shadow(0 12px 12px #0b130f40);z-index:2}.crt-housing{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 7%;column-gap:3%;padding:4% 4% 0;border-radius:2.5% 2.5% 1.7% 1.7%;background:linear-gradient(128deg,#e3dfca 0%,#d7d3bd 48%,#b8b49e 100%);box-shadow:inset 1px 2px 2px #fffce5bb,inset -4px -3px 5px #6e6c5670,2px 0 0 #a8a58a,8px 5px 0 #aca890,0 7px 10px #0e160f35;border:1px solid #a6a58d;pointer-events:auto;position:relative;flex-shrink:0}.crt-housing:after{content:'';position:absolute;inset:0;background:var(--scene-tint);mix-blend-mode:soft-light;opacity:.18;pointer-events:none;border-radius:inherit;z-index:7}.crt-housing .screen{grid-column:1;grid-row:1;display:block;width:100%;height:auto;aspect-ratio:4/3!important;max-height:none!important;min-width:0;border:0;border-radius:5%/6%;background:#142b24;box-shadow:0 0 0 4px #45483b,0 0 0 7px #a5a18b,inset 0 0 30px #0009;position:relative;overflow:hidden;isolation:isolate}.screen:after{border-radius:inherit;box-shadow:inset 0 0 24px #0008;z-index:4}.screen.scanlines:before{background:repeating-linear-gradient(0deg,#0000,#0000 2px,#0003 3px);z-index:5}.monitor-side{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;gap:10%;padding-top:4%;pointer-events:none}.speaker-grille{width:100%;height:72%;border:1px solid #94947b88;border-radius:2px;background:repeating-linear-gradient(0deg,#6b715a99 0px,#6b715a99 1px,#c7c6ae 1px,#c7c6ae 3px)}.control-knob{width:65%;aspect-ratio:1;border:1px solid #9a9b82;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d6d7bd,#9d9f84);box-shadow:1px 1px 2px #5555;position:relative}.control-knob:after{content:'';position:absolute;top:10%;height:30%;width:1px;left:50%;background:#666b54}.monitor-chin{grid-column:1/-1;grid-row:2;height:calc(var(--rig-width)*.067);min-height:20px;padding:0 2%;display:flex;gap:5%;justify-content:space-between;align-items:center}.monitor-wordmark{font-family:Arial,sans-serif;font-weight:700;font-size:clamp(7px,calc(var(--rig-width)*.022),15px);color:#646751;letter-spacing:-.5px}.monitor-wordmark b{font-size:.78em;margin-left:.4em}.chin-grille{display:none;flex:1;height:23%;background:repeating-linear-gradient(90deg,#92967f 0,#92967f 1px,transparent 1px,transparent 4px)}.power-led{width:calc(var(--rig-width)*.011);height:calc(var(--rig-width)*.011);min-width:3px;min-height:3px;background:#c36c42;box-shadow:0 0 0 2px #8e836877,0 0 6px #d5905d44}.monitor-foot{width:42%;max-width:none;height:calc(var(--rig-width)*.025);background:linear-gradient(#9c9b82,#c6c4ab);border-radius:0 0 15% 15%;box-shadow:0 5px 9px #14231530;flex-shrink:0}.crt-housing.c1702{grid-template-columns:minmax(0,1fr);padding:4.6% 4.6% 0;background:linear-gradient(128deg,#d4c9ad,#bfb399 65%,#a59980);border-radius:3.5% 3.5% 1% 1%;box-shadow:inset 2px 2px 3px #e8dcc3,inset -4px -3px 5px #84765b88,7px 4px 0 #a6977d,0 7px 10px #0e160f35}.c1702 .monitor-side{display:none}.c1702 .monitor-chin{background:linear-gradient(#6c6251,#514a3c);margin:3.5% -5% 0;padding:0 5%;height:calc(var(--rig-width)*.08);border-radius:0 0 4px 4px}.c1702 .monitor-wordmark{color:#b6ad97}.c1702 .chin-grille{display:block;max-width:40%;background:repeating-linear-gradient(0deg,#393c31 0,#393c31 1px,#5d5949 1px,#5d5949 3px);height:35%}.c1702 .screen{box-shadow:0 0 0 4px #3d3e32,0 0 0 7px #aaa088,inset 0 0 30px #0009}.crt-housing.philips{grid-template-columns:minmax(0,1fr);padding:4% 4.5% 0;background:linear-gradient(130deg,#e3e3d5,#c9cebc 65%,#afb5a5);border-radius:2%}.philips .monitor-side{display:none}.philips .monitor-chin{height:calc(var(--rig-width)*.095);gap:8%}.philips .chin-grille{display:block}.philips .monitor-wordmark{font-family:'Chakra Petch',sans-serif;font-size:clamp(6px,calc(var(--rig-width)*.019),14px);letter-spacing:0}.philips .monitor-wordmark b{display:block;margin-left:0;font-size:.7em;margin-top:2px}.computer-base{position:relative;width:128%;height:calc(var(--rig-width)*.34);margin-top:calc(var(--rig-width)*.014);z-index:3;pointer-events:none}.computer-base img{position:absolute;inset:-24% -3%;width:106%;height:148%;object-fit:contain;z-index:2;filter:drop-shadow(0 9px 5px #111d144d)}.computer-shadow{position:absolute;left:10%;right:10%;height:24%;bottom:0;border-radius:50%;background:#14231370;filter:blur(12px);z-index:1}.scene-caption{position:absolute;left:25px;top:25px;display:flex;align-items:center;gap:11px;color:#faf6e9;text-shadow:0 1px 6px #0008;z-index:8;pointer-events:none}.scene-dot{display:block;width:6px;height:6px;background:#d4ec89;box-shadow:0 0 8px #cced96;border-radius:50%}.scene-caption div>span{font-family:'Chakra Petch',sans-serif;font-size:15px;font-weight:500}.scene-caption small{display:block;margin-top:4px;font-family:'VT323',monospace;font-size:13px;letter-spacing:1.5px;color:#ececd8c7}.scene-toolbar{position:absolute;right:18px;bottom:18px;z-index:15;display:flex;align-items:center;gap:7px;background:#12291fba;border:1px solid #f1f2d92b;border-radius:6px;padding:5px 7px;backdrop-filter:blur(14px);color:#f1f2dc}.scene-toolbar button{width:30px;height:30px;font-size:17px;border-radius:3px}.scene-toolbar button:hover{background:#ffffff19}.scene-toolbar>span:not(.toolbar-divider){font:16px 'VT323',monospace;min-width:40px;text-align:center}.toolbar-divider{width:1px;height:16px;background:#e5eed337;margin:0 4px}.scene-toolbar .exit-room{display:none;width:auto;padding:0 8px;font-family:'VT323',monospace;font-size:15px}.exit-room span{font-family:'Chakra Petch',sans-serif;font-size:10px;margin-left:6px}.scene-aspect{position:absolute;bottom:25px;left:25px;color:#f2f1dfb3;font:12px 'VT323',monospace;letter-spacing:1.5px;text-shadow:0 1px 5px #0008;z-index:8;pointer-events:none}.idle-screen{padding:8%;background:radial-gradient(ellipse at 50% 40%,#2a493b,#122e26);container-type:size}.screen-kicker{font-family:'VT323',monospace;font-size:clamp(7px,2.9cqw,18px);letter-spacing:.5px;color:#9cb88c;white-space:nowrap}.pixel-disk{font-size:clamp(28px,11cqw,66px);line-height:1;margin:4% 0 3%}.idle-screen h3{font-family:'VT323',monospace;font-weight:400;font-size:clamp(16px,6.3cqw,36px);letter-spacing:0;margin-bottom:3%;line-height:.95}.idle-screen p{font-family:'VT323',monospace;font-size:clamp(12px,4.5cqw,27px);line-height:1.05;color:#9fb797}.primary.light{font-family:'Chakra Petch',sans-serif;font-size:clamp(9px,3.4cqw,16px);padding:3.3% 6%;margin-top:5%;border-radius:3px;gap:8px}.text-btn{font-family:'VT323',monospace;font-size:clamp(10px,3.7cqw,20px);margin-top:4%;color:#bdc8a6}#emulator{position:absolute;inset:0;width:100%;height:100%;border:0;background:#10251d;z-index:3;aspect-ratio:4/3}.monitor-stage:fullscreen,.monitor-stage.expanded{padding:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;aspect-ratio:auto;display:block;background:#a58e70}.monitor-stage.expanded{position:fixed;inset:0;z-index:1000;border-radius:0}.monitor-stage:fullscreen .crt-housing,.monitor-stage.expanded .crt-housing{max-width:none}.monitor-stage:fullscreen .screen,.monitor-stage.expanded .screen{max-height:none;aspect-ratio:4/3!important}.monitor-stage:fullscreen .exit-room,.monitor-stage.expanded .exit-room{display:block}.monitor-stage:fullscreen .scene-rig,.monitor-stage.expanded .scene-rig{bottom:4.8%}.monitor-stage:fullscreen .scene-caption,.monitor-stage.expanded .scene-caption{left:30px;top:28px}.privacy-note{font-size:10px}.primary,.outline{font-family:'Chakra Petch',sans-serif}.dialog-top .eyebrow{font-family:'Chakra Petch',sans-serif}dialog h2{font-family:'VT323',monospace;letter-spacing:0;font-weight:400;font-size:36px}.dialog-note{font-size:10px!important}.library-item .disk{font-family:'VT323',monospace}.library-empty h3{font-family:'VT323',monospace;font-size:32px}.room-card:focus-visible{outline:2px solid var(--ink);outline-offset:3px}footer{gap:15px}#footer-help{display:none}
@media(min-width:1500px){.machine-image{height:185px}.screen{aspect-ratio:4/3!important}.idle-screen h3{font-size:clamp(16px,6.3cqw,36px)}}
@media(max-width:1100px){.hero{padding-top:36px}.hero-stamp{min-width:190px}.hero-stamp div{font-size:40px}h1{font-size:70px}.setup-grid{grid-template-columns:1fr 1fr;gap:22px}.machine-image{height:140px}.machine-copy h3{font-size:16px}.machine-spec{font-size:8px;gap:8px}.room-card img{height:55px}.room-card .room-title{font-size:7px;padding:6px 4px}.room-count{font-size:11px}.monitor-card{min-height:136px}.monitor-card img{height:75px}.monitor-card strong{font-size:9px}.monitor-card small{font-size:7px}.recommended{font-size:5px!important}.screen{border:0}.monitor-stage{padding:0}.idle-screen{padding:8%}.idle-screen h3{font-size:clamp(16px,6.3cqw,36px)}.idle-screen p{font-size:clamp(12px,4.5cqw,27px)}.screen-kicker{font-size:clamp(7px,2.9cqw,18px)}.primary.light{margin-top:5%}.pixel-disk{font-size:clamp(28px,11cqw,66px)}.privacy-note{font-size:9px}}
@media(max-width:760px){.header{height:72px}.brand{font-size:16px}.nav{font-size:11px}nav{gap:14px}.hero{padding:29px 0 30px}h1{font-size:61px;line-height:.87;letter-spacing:-.8px;max-width:440px;margin:18px 0}.hero p{font-size:12px}.hero-stamp{display:none}.hero .cursor{display:none}.machine-image{height:140px}.machine-copy h3{font-size:17px}.machine-copy p{font-size:9px}.machine-spec{font-size:8px}.setup-grid{grid-template-columns:1fr;gap:21px;margin-top:29px}.room-count{font-size:12px}.room-card img{height:58px}.room-card .room-title{font-size:7px}.room-list{gap:7px}.monitor-card{min-height:145px}.monitor-card img{height:80px}.monitor-card strong{font-size:10px}.monitor-card small{font-size:8px}.recommended{font-size:6px!important}.crt-setting{margin-top:12px}.workspace{margin-top:26px}.workspace-top{padding:12px 10px;font-size:8px;letter-spacing:.2px}.workspace-top .small-link{font-size:8px;gap:5px}.aspect-badge{display:none}.monitor-stage{aspect-ratio:4/5;min-height:460px;padding:0}.room-backdrop{object-position:center center}.scene-caption{left:16px;top:18px;gap:8px}.scene-caption div>span{font-size:13px}.scene-caption small{font-size:11px}.scene-rig{bottom:11%}.scene-aspect{bottom:17px;left:15px;max-width:100px;font-size:10px;line-height:1.15;letter-spacing:.7px}.scene-toolbar{right:10px;bottom:10px;gap:3px;padding:3px}.scene-toolbar button{width:26px;height:29px}.scene-toolbar>span:not(.toolbar-divider){font-size:14px;min-width:35px}.scene-toolbar .exit-room{padding:0 5px;font-size:12px}.exit-room span{display:none}.workspace-bottom{font-size:12px;padding:11px 10px}.workspace-bottom>div{gap:10px}.workspace-bottom .small-link{font-size:9px;gap:8px}.monitor-chin{min-height:0}.screen-kicker{display:block;font-size:clamp(7px,2.9cqw,18px)}.idle-screen h3{font-size:clamp(16px,6.3cqw,36px)}.idle-screen p{font-size:clamp(12px,4.5cqw,27px)}.pixel-disk{font-size:clamp(28px,11cqw,66px);margin:4% 0 3%}.primary.light{font-size:clamp(9px,3.4cqw,16px);padding:3.3% 6%;margin-top:5%}.text-btn{font-size:clamp(10px,3.7cqw,20px);margin-top:4%}.privacy-note{font-size:8px;line-height:1.6}.section-heading h2{font-size:14px}.section-heading{gap:10px}.scene-caption{z-index:8}.bottom-strip{margin-top:27px}#footer-help{display:inline-block}footer>span:nth-child(2){display:none}.monitor-stage:fullscreen .scene-rig,.monitor-stage.expanded .scene-rig{bottom:10%}}
@media(max-width:390px){h1{font-size:57px}.machine-image{height:119px}.machine-copy h3{font-size:15px}.machine-spec{font-size:7px}.monitor-card strong{font-size:9px}.monitor-card img{height:72px}.monitor-card{min-height:136px}.room-list{gap:5px}.room-card img{height:50px}.room-card .room-title{font-size:6px;padding:6px 3px}.room-count{font-size:10px}.monitor-stage{min-height:440px}.scene-caption small{font-size:10px}.scene-toolbar{gap:2px}.scene-toolbar button{width:24px}.scene-aspect{max-width:90px}}
@media(prefers-reduced-motion:reduce){.cursor{animation:none}}

/* Focus on the monitor in native fullscreen and its window-filling fallback. */
.monitor-stage:fullscreen .scene-rig,
.monitor-stage.expanded .scene-rig{
 top:var(--rig-top,2.5%);
 bottom:auto;
}
/* Deliberate setup flow and photographic monitor shells. */
.experience-launch{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:25px 28px;margin-top:27px;border:1px solid #c7d0b6;border-radius:9px;background:#e7edda}.experience-launch .eyebrow{font-size:8px;letter-spacing:1.3px;color:#6f825e}.experience-launch h2{font-family:'VT323',monospace;font-size:34px;font-weight:400;letter-spacing:0;margin:6px 0}.experience-launch p{font-family:'Chakra Petch',sans-serif;font-size:11px;color:#6f805d;line-height:1.6}.experience-launch .primary{padding:16px 23px;font-size:12px;flex-shrink:0;gap:20px}.experience-launch .primary:disabled{opacity:.45}.monitor-card:disabled,.room-card:disabled{opacity:.52;cursor:not-allowed}.monitor-card:disabled:hover,.room-card:disabled:hover{transform:none;box-shadow:none}.archive-picker{padding:13px 14px;border:1px solid #c8d0bb;background:#e6edda;border-radius:7px;margin-top:13px}.archive-picker label{font-family:'Chakra Petch',sans-serif;font-size:11px;font-weight:600;display:block;margin-bottom:9px}.archive-picker select{display:block;width:100%;border:1px solid #b6c2a6;border-radius:4px;background:#f9faef;color:#1e4235;font-size:11px;padding:10px 7px;min-width:0}.archive-picker small{display:block;overflow-wrap:anywhere;font-size:9px;color:#7e8b6e;margin-top:7px}.bios-upload+div+input+small{font-size:9px;line-height:1.6;display:block;color:#92977f}
.crt-housing.photographic{position:relative;display:block;width:100%;max-width:none!important;aspect-ratio:3/2;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;pointer-events:none;transform:rotate(-.65deg);transform-origin:50% 90%;filter:drop-shadow(0 10px 8px #111d1640)}.crt-housing.photographic:after{display:none}.photographic-monitor{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;position:relative;z-index:0}.photographic .monitor-side,.photographic .monitor-chin,.scene-rig>.monitor-foot{display:none!important}.glass-plane{position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;isolation:isolate;border-radius:6.5% / 7%;z-index:2;background:radial-gradient(ellipse at 55% 40%,#152820,#090f0c);pointer-events:auto}.crt-housing.photographic .screen{position:absolute;top:0;left:50%;transform:translateX(-50%);width:auto!important;height:100%!important;max-height:none!important;aspect-ratio:4/3!important;border:0!important;border-radius:0;background:#10251d;box-shadow:none!important;isolation:isolate}.glass-reflection{position:absolute;inset:0;pointer-events:none;z-index:7;background:linear-gradient(122deg,#e1e7e420 0%,#dfeee40a 12%,transparent 40%,transparent 72%,#a3b5ae0b 100%);box-shadow:inset 0 0 20px 9px #0007;border-radius:inherit}.photographic .screen:after{box-shadow:inset 0 0 20px #0007;border-radius:0}.scene-rig,.monitor-stage:fullscreen .scene-rig,.monitor-stage.expanded .scene-rig{top:var(--rig-top,8%);bottom:auto}.scene-rig .computer-base{width:112%;height:calc(var(--rig-width)*.28);margin-top:calc(var(--rig-width)*-.018);transform:perspective(1500px) rotateY(-9deg) rotateZ(-.8deg);transform-origin:center top}.scene-rig .computer-base img{filter:drop-shadow(3px 13px 7px #111d1466)}
@media(max-width:760px){.experience-launch{flex-direction:column;align-items:stretch;padding:21px 20px;gap:17px;margin-top:23px}.experience-launch h2{font-size:31px}.experience-launch .primary{justify-content:space-between;padding:15px 18px}.experience-launch p{font-size:10px}.crt-housing.photographic .screen{border:0}.scene-rig,.monitor-stage:fullscreen .scene-rig,.monitor-stage.expanded .scene-rig{top:var(--rig-top,8%);bottom:auto}.glass-reflection{box-shadow:inset 0 0 8px 4px #0006}}

/* Five machine choices, including the TED-based Plus/4. */
.machines{grid-template-columns:repeat(5,minmax(0,1fr))}.machine-copy h3{gap:6px}.machine-copy h3 span{flex-shrink:0}.machine-card[data-machine="plus4"] .machine-image img{mix-blend-mode:normal;transform:scale(.92)}.monitor-card[data-monitor="1802"] img{mix-blend-mode:normal}
@media(min-width:761px) and (max-width:1199px){.machines{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.machines{grid-template-columns:repeat(2,minmax(0,1fr))}}

.monitor-list{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.monitor-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Camera framing is independent of the emulator session. */
.scene-view-switch{position:absolute;right:18px;top:22px;z-index:15;display:flex;align-items:center;gap:3px;padding:4px;background:#12291fe8;border:1px solid #f1f2d94a;border-radius:7px;backdrop-filter:blur(14px);box-shadow:0 3px 12px #0d1d1320}
.scene-view-switch button{padding:9px 13px;border-radius:4px;font-family:'Chakra Petch',sans-serif;font-size:11px;font-weight:600;color:#f1f2dc;white-space:nowrap;min-height:34px}
.scene-view-switch button.active{background:var(--lime);color:#173c35}.scene-view-switch button:not(.active):hover{background:#ffffff19}.scene-view-switch button:focus-visible{outline-color:var(--lime);outline-offset:3px}
@media(max-width:760px){.scene-view-switch{right:10px;top:12px;gap:2px;padding:3px}.scene-view-switch button{font-size:10px;padding:8px 10px;min-height:34px}.scene-caption{max-width:calc(100% - 205px)}.scene-caption small{white-space:normal;font-size:10px;line-height:1.25}}

/* Photographic desk viewpoint, with silhouette-based placement and a small front-edge alignment. */
.scene-rig,.monitor-stage:fullscreen .scene-rig,.monitor-stage.expanded .scene-rig{display:block;left:var(--rig-left);top:var(--rig-top);width:var(--rig-width);height:var(--rig-height);transform:none;bottom:auto}
.crt-housing.photographic{transform:none;transform-origin:initial}
.scene-rig .computer-base{position:absolute;left:var(--computer-left);top:var(--computer-top);width:var(--computer-width);height:var(--computer-height);margin:0;transform:none}
.scene-rig .computer-base img{inset:auto;left:var(--computer-image-left);top:var(--computer-image-top);width:var(--computer-image-width);height:auto;max-width:none;transform:none;object-fit:initial}
.crt-housing.photographic .screen{left:0;transform:none;width:100%!important;height:100%!important}

.scene-rig .computer-base{transform:rotate(var(--computer-angle,0deg));transform-origin:50% 50%}

/* Clip foreground hardware without allowing focus to scroll the fixed camera. */
.monitor-stage{overflow:clip}

/* Devices share one tabletop and one camera, with shadows at their contact edges. */
.room-backdrop{transform-origin:0 0;object-position:center bottom}
.scene-rig{filter:none}
.crt-housing.photographic{z-index:1;filter:drop-shadow(0 1px 1px #0b130f55)}
.monitor-contact-shadow{position:absolute;left:0;top:0;width:100%;height:calc(var(--rig-width)*2/3);filter:blur(calc(var(--rig-width)*.006));transform:translateY(calc(var(--rig-width)*.003));pointer-events:none;z-index:0}
.monitor-contact-shadow:before{content:'';position:absolute;inset:0;clip-path:var(--monitor-footprint);background:#10170f80}
.scene-rig .computer-base img{filter:drop-shadow(0 1px 1px #0b130f77)}
.computer-base .computer-shadow{inset:0;width:100%;height:100%;border-radius:0;clip-path:var(--computer-footprint);background:#10170f99;filter:blur(1px);transform:translateY(calc(var(--rig-width)*.006));z-index:1}

/* Six machine choices, with the slim C64C beside the original breadbin. */
@media(min-width:1200px){.machines{grid-template-columns:repeat(6,minmax(0,1fr))}.machine-copy h3{font-size:16px}.machine-copy h3 span{font-size:7px;padding:4px}.machine-copy{padding-left:12px;padding-right:12px}.machine-spec{font-size:8px;gap:9px}}

/* Loose tabletop cables sit behind the independently selectable hardware. */
.desk-cables{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:0;pointer-events:none;fill:none;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #10170f66)}
.desk-cables .video-cable{stroke:#b1a58c;stroke-width:4}
.desk-cables .power-cable{stroke:#302e28;stroke-width:3.2}

/* A straight, centred desk composition and a separate bezel-only game view. */
.crt-housing.photographic{aspect-ratio:var(--monitor-aspect,1.35)}
.photographic-monitor{object-fit:fill}
.scene-rig .computer-base{transform:none}
.desk-accessory{position:absolute;z-index:4;pointer-events:none;filter:drop-shadow(0 2px 2px #0e160d66)}
.desk-accessory img{position:absolute;height:auto;max-width:none;object-fit:initial}
.monitor-stage[data-camera="focus"]{background:radial-gradient(ellipse at 45% 30%,#e0d9c8,var(--bezel-color,#c8bea4) 75%)}
.monitor-stage[data-camera="focus"] .room-backdrop,.monitor-stage[data-camera="focus"] .room-shade,.monitor-stage[data-camera="focus"] .scene-caption,.monitor-stage[data-camera="focus"] .scene-aspect,.monitor-stage[data-camera="focus"] .computer-base,.monitor-stage[data-camera="focus"] .desk-accessory,.monitor-stage[data-camera="focus"] .desk-cables,.monitor-stage[data-camera="focus"] .monitor-contact-shadow{display:none}
.monitor-stage[data-camera="focus"] .photographic-monitor{clip-path:inset(0 0 14% 0)}
.monitor-stage[data-camera="focus"] .scene-view-switch{top:8px;right:10px;padding:3px}
.monitor-stage[data-camera="focus"] .scene-view-switch button{min-height:30px;padding:7px 10px;font-size:10px}
.monitor-stage[data-camera="focus"] .scene-toolbar{bottom:8px;right:10px}

.monitor-stage[data-camera="focus"] #prev-room,.monitor-stage[data-camera="focus"] #next-room,.monitor-stage[data-camera="focus"] #scene-room-counter,.monitor-stage[data-camera="focus"] .toolbar-divider{display:none}

/* Room lighting is shared by all physical hardware, independently of the live picture. */
.room-shade{background:var(--room-light,transparent),linear-gradient(180deg,#111b2110,transparent 28%,transparent 75%,#0c151e18)}
.crt-housing.photographic{isolation:isolate;filter:drop-shadow(var(--light-shadow-x,2px) var(--light-shadow-y,2px) var(--light-shadow-blur,3px) var(--contact-color,#201b1566))}
.photographic-monitor{filter:var(--hardware-filter,none)}
.scene-rig .computer-base{isolation:isolate}
.scene-rig .computer-base img{filter:var(--hardware-filter,none) drop-shadow(0 1px 1px var(--contact-color,#201b1566))}
.desk-accessory{isolation:isolate;filter:drop-shadow(var(--light-shadow-x,2px) var(--light-shadow-y,2px) var(--light-shadow-blur,3px) var(--contact-color,#201b1566))}
.desk-accessory img{filter:var(--hardware-filter,none)}
.hardware-light,.computer-base:after,.desk-accessory:after{position:absolute;content:'';pointer-events:none;background:var(--surface-light,transparent);mix-blend-mode:soft-light;mask-image:var(--surface-mask);mask-repeat:no-repeat;z-index:3}
.monitor-light{inset:0;mask-size:100% 100%;z-index:1}
.computer-base:after{inset:0;mask-size:var(--computer-image-width) var(--computer-image-height);mask-position:var(--computer-image-left) var(--computer-image-top)}
.desk-accessory:after{inset:0;mask-size:var(--accessory-mask-size);mask-position:var(--accessory-mask-position)}
.computer-base .computer-shadow{background:var(--contact-color,#201b1566);filter:blur(var(--light-shadow-blur,3px));transform:translate(var(--light-shadow-x,2px),var(--light-shadow-y,2px))}
.monitor-contact-shadow{height:calc(var(--rig-width)/var(--monitor-aspect));filter:blur(var(--light-shadow-blur,3px));transform:translate(var(--light-shadow-x,2px),var(--light-shadow-y,2px))}
.monitor-contact-shadow:before{background:var(--contact-color,#201b1566)}
.desk-cables{filter:var(--hardware-filter,none) drop-shadow(0 1px 1px var(--contact-color,#201b1566))}
.glass-reflection{background:linear-gradient(var(--reflection-angle,112deg),var(--reflection-light,#e1e7e420),transparent 43%,transparent 80%,#a3b5ae05)}
.monitor-stage[data-camera="focus"]{background:var(--bezel-surround,var(--bezel-color,#c8bea4))}
.monitor-stage[data-camera="focus"] .monitor-light{clip-path:inset(0 0 14% 0)}

/* Overscan fills the photographed glass, without a second artificial black border. */
.photographic .screen:after{box-shadow:none}
.glass-reflection{box-shadow:inset 0 0 7px 1px #0003}
@media(max-width:760px){.glass-reflection{box-shadow:inset 0 0 4px 1px #0002}}

.photographic #emulator{transform:scale(1.015);transform-origin:50% 50%}

/* The setup page is a static preview. Software only runs in the dedicated player. */
.preview-mount{position:relative;aspect-ratio:16/10;overflow:hidden;background:#e1e5d7}
.preview-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:15px;padding:30px;background:radial-gradient(ellipse at center,#f1f2e7,#e0e6d6)}
.preview-placeholder>span,.preview-badge{font:11px 'Chakra Petch',sans-serif;letter-spacing:1.4px;color:#667d59}
.preview-placeholder h3{font:40px 'VT323',monospace}.preview-placeholder p{font-size:12px;color:#7b8770;max-width:330px;line-height:1.7}
.preview-badge{position:absolute;right:15px;bottom:14px;background:#193d35ed;color:#d4ec89;border-radius:4px;padding:9px 12px;font-size:9px;z-index:20}
.preview-empty .preview-badge{display:none}.preview-scene{height:100%!important;min-height:0!important;aspect-ratio:auto;pointer-events:none;user-select:none}
.preview-screen-label{font:42px 'VT323',monospace;letter-spacing:3px}.preview-scene .idle-screen p{font-size:19px}
.experience-player{padding:0;border:1px solid #849076;border-radius:10px;width:min(1240px,96vw);height:min(920px,94dvh);max-width:none;max-height:none;overflow:hidden;background:#15271f;color:#e6edd9;box-shadow:0 24px 90px #0008}
.experience-player[open]{display:flex;flex-direction:column}.experience-player::backdrop{background:#08180ed9;backdrop-filter:blur(6px)}
.experience-player>.monitor-stage{flex:1;min-height:0!important;aspect-ratio:auto!important;height:auto;width:100%;isolation:isolate}
.player-chrome{flex:none;background:#e7eadd;color:#375342;font:11px 'Chakra Petch',sans-serif}
.player-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px}.player-heading>div{display:flex;gap:22px;align-items:center}.player-heading .small-link{font-size:11px}
.player-heading kbd{font:10px 'Chakra Petch',sans-serif;background:#d4ddc7;border:1px solid #b9c7a6;border-radius:3px;padding:3px 5px}
.player-footer>small{display:block;font-size:9px;text-align:center;padding:0 10px 8px}.player-footer .workspace-bottom{border-top:0}
.experience-player:fullscreen,.experience-player.expanded{width:100vw;height:100dvh;max-width:none;max-height:none;inset:0;margin:0;border:0;border-radius:0}
.experience-player.expanded{position:fixed;z-index:1000}
.experience-player.is-fullscreen>.player-chrome{display:none}.experience-player.is-fullscreen .exit-room{display:block}
.experience-player .scene-toolbar{z-index:20}.experience-player .scene-view-switch{z-index:20}
.photographic .glass-plane{border-radius:5.5% / 6%;background:#10251d}
.crt-housing.photographic .screen{left:50%;top:50%;transform:translate(-50%,-50%);width:var(--picture-width)!important;height:var(--picture-height)!important;aspect-ratio:4/3!important}
.photographic #emulator{transform:none}
.monitor-stage[data-camera="focus"]:before,.monitor-stage[data-camera="focus"]:after{content:'';position:absolute;top:0;bottom:0;width:var(--bezel-extension,0px);z-index:3;pointer-events:none;background:var(--bezel-surround,#c8bea4)}
.monitor-stage[data-camera="focus"]:before{left:0}.monitor-stage[data-camera="focus"]:after{right:0}
@media(max-width:760px){.preview-mount{aspect-ratio:4/5}.player-heading{padding:10px;font-size:9px}.player-heading>span{max-width:40%}.player-heading>div{gap:12px}.player-heading .small-link{font-size:9px}.player-heading kbd{display:none}.experience-player{width:98vw;height:96dvh}.preview-placeholder h3{font-size:34px}}

/* Nine-slice photographic bezels reach the viewport edge while the picture stays proportional. */
.focus-bezel{display:none;pointer-events:none}
.monitor-stage[data-camera="focus"]>.focus-bezel{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1;filter:var(--hardware-filter,none)}
.monitor-stage[data-camera="focus"] .photographic-monitor,.monitor-stage[data-camera="focus"] .monitor-light{visibility:hidden}
.monitor-stage[data-camera="focus"]:before,.monitor-stage[data-camera="focus"]:after{display:none}
.monitor-stage[data-camera="focus"] .crt-housing.photographic{filter:none}
.monitor-stage[data-camera="focus"] .glass-reflection{box-shadow:none}

/* Disk selection and switching, including native fullscreen. */
.selected-files{margin:15px 0 24px;border:1px solid #bac7ab;border-radius:10px;padding:14px;background:#edf0e2}.selected-files-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.selected-files>p{font-size:12px;line-height:1.5;margin:8px 0}.selected-files ul{list-style:none;padding:0;margin:10px 0 0;max-height:230px;overflow:auto}.selected-files li{display:flex;gap:12px;align-items:center;border-top:1px solid #ccd5bf;padding:9px 0}.selected-files li>label{display:flex;gap:10px;align-items:center;flex:1;min-width:0;cursor:pointer}.selected-files li strong,.disk-choice strong{display:block;font-size:13px;overflow-wrap:anywhere}.selected-files li small,.disk-choice small{display:block;font-size:11px;opacity:.75;margin-top:4px}.selected-files input{accent-color:#416846}.selected-files li>button{font-size:22px;padding:4px 8px}.scene-toolbar .disk-switch{width:auto;min-width:94px;padding:0 12px;font:12px 'Chakra Petch',sans-serif}.scene-toolbar .disk-switch[hidden]{display:none}#disk-dialog{width:min(520px,calc(100vw - 28px))}#disk-dialog>p{line-height:1.6;font-size:13px}#disk-list{display:grid;gap:10px;margin-top:22px}.disk-choice{display:flex;align-items:center;gap:15px;width:100%;text-align:left;padding:15px;background:#edf0e2;border:1px solid #b9c7aa;border-radius:10px;color:#234632;cursor:pointer}.disk-choice:hover{background:#dce8c7}.disk-choice.inserted{border:2px solid #50754b;background:#dfeacb}.disk-number{font:30px 'VT323',monospace;color:#50754b}.disk-choice:disabled{opacity:.6;cursor:wait}#file-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.workspace-bottom>div{flex-shrink:0}@media(max-width:600px){.workspace-bottom{flex-wrap:wrap;gap:10px}.workspace-bottom>div{flex-wrap:wrap;gap:12px}.scene-toolbar .disk-switch{min-width:85px;padding:0 8px;font-size:11px}}

/* Independent grip and button layers keep the bases planted on the desk. */
.accessory-motion{position:absolute;inset:0;transform-origin:50% 85%}
.desk-accessory:after{display:none}
.desk-accessory img{transform-origin:var(--stick-pivot,50% 70%);user-select:none}
.joystick-stick{clip-path:var(--stick-clip);transform:perspective(500px) translate(calc(var(--joy-x,0)*var(--accessory-image-width)*.055),calc((var(--joy-y,0)*.013 + var(--grip-press,0)*.009)*var(--accessory-image-height))) rotate(calc(var(--joy-x,0)*9deg)) scaleY(calc(1 - var(--joy-y,0)*.045));transition:transform 38ms linear;z-index:2}
.joystick-base{clip-path:var(--base-clip)}
.joystick-fire{clip-path:var(--fire-clip);transition:transform 35ms,filter 35ms;z-index:3}
[data-fire="true"] .joystick-fire{transform:translateY(calc(var(--accessory-image-height)*.008));filter:var(--hardware-filter,none) brightness(.7)}
[data-model="competition-pro"]{--stick-pivot:39.5% 49%;--stick-clip:polygon(28% 0,50% 0,50% 31%,44% 31%,44% 49%,35% 49%,35% 31%,28% 31%);--base-clip:polygon(0 0,28% 0,28% 31%,35% 31%,35% 49%,44% 49%,44% 31%,50% 31%,50% 0,100% 0,100% 100%,0 100%);--fire-clip:polygon(57% 43%,74% 43%,77% 73%,56% 73%)}
[data-model="commodore-t1341"]{--stick-pivot:50% 77%;--stick-clip:polygon(42% 0,58% 0,60% 77%,40% 77%);--base-clip:polygon(0 0,42% 0,40% 77%,60% 77%,58% 0,100% 0,100% 100%,0 100%);--fire-clip:polygon(46% 1%,54% 1%,54% 3%,46% 3%)}
[data-model="quickjoy-topstar"]{--stick-pivot:50% 63%;--stick-clip:polygon(37% 0,63% 0,63% 58%,59% 63%,41% 63%,37% 58%);--base-clip:polygon(0 0,37% 0,37% 58%,41% 63%,59% 63%,63% 58%,63% 0,100% 0,100% 100%,0 100%);--fire-clip:ellipse(5.3% 5.5% at 50% 11.5%)}
[data-model="quickjoy-topstar"] .joystick-fire,[data-model="commodore-t1341"] .joystick-fire{transform:perspective(500px) translate(calc(var(--joy-x,0)*var(--accessory-image-width)*.055),calc((var(--joy-y,0)*.013 + var(--grip-press,0)*.009)*var(--accessory-image-height))) rotate(calc(var(--joy-x,0)*9deg)) scaleY(calc(1 - var(--joy-y,0)*.045))}
[data-fire="true"] [data-model="quickjoy-topstar"] .joystick-stick,[data-fire="true"] [data-model="commodore-t1341"] .joystick-stick{filter:var(--hardware-filter,none) brightness(.85)}
#scene-mouse{transform:translate(var(--mouse-x,0px),var(--mouse-y,0px));transition:transform 35ms linear}
.mouse-left{clip-path:polygon(33% 23%,47.5% 23%,47.5% 37%,32.5% 37%)}
.mouse-right{clip-path:polygon(52.5% 23%,66% 23%,67% 37%,52.5% 37%)}
.mouse-left,.mouse-right{transition:transform 35ms,filter 35ms;z-index:2}
[data-mouse-left="true"] .mouse-left,[data-mouse-right="true"] .mouse-right{transform:translateY(calc(var(--accessory-image-height)*.008));filter:var(--hardware-filter,none) brightness(.68)}
/* Move the actual camera and live glass, preserving the same running iframe. */
.monitor-stage.camera-zooming .room-backdrop,.monitor-stage.camera-zooming .room-shade,.monitor-stage.camera-zooming .computer-base,.monitor-stage.camera-zooming .desk-accessory,.monitor-stage.camera-zooming .desk-cables,.monitor-stage.camera-zooming .monitor-contact-shadow{display:block}
.monitor-stage.camera-zooming .photographic-monitor,.monitor-stage.camera-zooming .monitor-light{visibility:visible}
.monitor-stage.camera-zooming>.focus-bezel{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:6;opacity:var(--zoom-bezel-opacity,0);pointer-events:none}
.monitor-stage.camera-zooming .scene-rig{will-change:width,left,top}
@media(prefers-reduced-motion:reduce){.joystick-stick,#scene-mouse,.mouse-left,.mouse-right{transition:none}}

[data-fire="true"] [data-model="quickjoy-topstar"],[data-fire="true"] [data-model="commodore-t1341"]{--grip-press:1}

/* Model-matched storage shares the tabletop, light and contact shadow. */
.storage-accessory{z-index:2}
.storage-accessory:after{display:block}

/* Glass is a separate optical layer above the live iframe in every camera mode. */
.glass-plane>.screen{z-index:1}
.glass-plane>.glass-reflection{display:block;position:absolute;inset:0;z-index:12;pointer-events:none;overflow:hidden;border-radius:inherit;opacity:1;background:linear-gradient(var(--reflection-angle,112deg),var(--reflection-light,#f7edd61c),transparent 45%,transparent 72%,var(--glass-fill,#b5c8d009)),radial-gradient(ellipse at 90% 5%,#ffffff0c,transparent 50%);box-shadow:none}
.glass-reflection:before{content:'';position:absolute;left:-8%;top:-19%;width:45%;height:83%;pointer-events:none;background:linear-gradient(var(--glass-pane,#eff6ff2b),var(--glass-pane,#eff6ff2b)) 0 0/47% 47% no-repeat,linear-gradient(var(--glass-pane,#eff6ff2b),var(--glass-pane,#eff6ff2b)) 100% 0/47% 47% no-repeat,linear-gradient(var(--glass-pane,#eff6ff2b),var(--glass-pane,#eff6ff2b)) 0 100%/47% 47% no-repeat,linear-gradient(var(--glass-pane,#eff6ff2b),var(--glass-pane,#eff6ff2b)) 100% 100%/47% 47% no-repeat;transform:rotate(-13deg) skewY(-8deg);transform-origin:center;mask-image:linear-gradient(145deg,#000 5%,#000c 43%,transparent 91%);filter:blur(.65px);opacity:var(--glass-window-opacity,.7)}
.glass-reflection:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;border-top:1px solid #ffffff1c;background:linear-gradient(128deg,transparent 25%,#ffffff02 32%,#ffffff06 35%,transparent 41%),radial-gradient(ellipse at 50% 0,#ffffff06,transparent 53%)}

/* Media overlays use the same full-image coordinates as each photographic drive. */
.storage-display{position:absolute;z-index:3;left:var(--accessory-image-left);top:var(--accessory-image-top);width:var(--accessory-image-width);height:var(--accessory-image-height);overflow:visible;pointer-events:none;filter:var(--hardware-filter,none)}
.storage-display>g{display:none}
[data-model="1541"] .drive-1541,[data-model="1541-ii"] .drive-1541-ii,[data-model="1531"] .drive-1531{display:block}
.inserted-medium,.tape-play{opacity:0;transition:opacity .35s}
[data-media="inserted"] .inserted-medium,[data-media="inserted"][data-transport="playing"] .tape-play{opacity:1}
.storage-power{fill:#17391b}.storage-read{fill:#45100d}
[data-media="inserted"] .storage-power{fill:#71ed58;filter:drop-shadow(0 0 10px #64ff3b)}
[data-transport="playing"] .storage-read,[data-transport="loading"] .storage-read{fill:#ff4932;filter:drop-shadow(0 0 12px #ff3018);animation:drive-pulse 1.9s steps(1,end) infinite}
.tape-reel{transform-box:fill-box;transform-origin:center;animation:tape-turn 2.8s linear infinite;animation-play-state:paused}
[data-transport="playing"] .tape-reel{animation-play-state:running}
@keyframes tape-turn{to{transform:rotate(360deg)}}
@keyframes drive-pulse{0%,22%,37%,65%,87%{opacity:1}16%,31%,56%,80%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.tape-reel,.storage-read{animation:none}.inserted-medium{transition:none}}

/* Touch controls stay outside the emulated glass and inside the fullscreen stage. */
.touch-ui{--keyboard-alpha:.65;--key-color:239 231 210;--case-color:196 181 151;--key-ink:#272924;position:absolute;inset:0;z-index:25;pointer-events:none;font-family:'Chakra Petch',sans-serif;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.touch-ui[data-machine="c64"]{--key-color:53 45 39;--case-color:163 139 104;--key-ink:#f0e7ce}
.touch-ui[data-machine="plus4"]{--key-color:80 81 76;--case-color:29 33 32;--key-ink:#f0eee4}
.touch-tools{position:absolute;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;gap:8px;pointer-events:auto}
.touch-toggle{min-height:44px;border:1px solid #d9e6b54d;background:#182d24bb;color:#f4f1db;border-radius:10px;padding:9px 14px;backdrop-filter:blur(10px);font:12px 'Chakra Petch',sans-serif;cursor:pointer;display:flex;align-items:center;gap:8px}
.touch-toggle[aria-pressed="true"],.touch-toggle[aria-expanded="true"]{background:#d8ed8de6;color:#203a2d}
.touch-gamepad{position:absolute;inset:0;pointer-events:none}
.touch-stick-wrap{position:absolute;left:max(24px,env(safe-area-inset-left));bottom:max(82px,calc(env(safe-area-inset-bottom) + 64px));text-align:center;color:#fff9;font:10px 'Chakra Petch',sans-serif;letter-spacing:2px}
.touch-stick{position:relative;width:144px;height:144px;margin-top:8px;border-radius:50%;border:1px solid #f0f2e866;background:#15231e55;box-shadow:inset 0 1px 18px #0003,0 3px 20px #0002;backdrop-filter:blur(3px);pointer-events:auto;touch-action:none}
.touch-cross{position:absolute;inset:0;display:grid;place-items:center;font:128px sans-serif;color:#e8e9d924;line-height:1}
.touch-thumb{position:absolute;left:calc(50% - 25px);top:calc(50% - 25px);width:50px;height:50px;border-radius:50%;border:1px solid #faf7df80;background:radial-gradient(circle at 35% 25%,#f3eedb77,#74847b99);box-shadow:0 3px 8px #0005;transform:translate(var(--stick-x,0px),var(--stick-y,0px));pointer-events:none}
.touch-direction-keys{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr)}
.touch-direction-keys button{border:0;color:#fff9;background:transparent;font:19px sans-serif;padding:0;touch-action:none}.touch-direction-keys button.pressed{color:#e1ff9e;text-shadow:0 0 9px #ceff5a}.touch-direction-keys [data-direction="up"]{grid-area:1/2}.touch-direction-keys [data-direction="left"]{grid-area:2/1}.touch-direction-keys [data-direction="right"]{grid-area:2/3}.touch-direction-keys [data-direction="down"]{grid-area:3/2}
.touch-fire{position:absolute;right:max(32px,env(safe-area-inset-right));bottom:max(105px,calc(env(safe-area-inset-bottom) + 85px));width:92px;height:92px;border-radius:50%;border:2px solid #ffe1c580;background:radial-gradient(circle at 35% 25%,#dd6c4db3,#932d20b3);box-shadow:inset 0 2px 4px #ffdfc766,0 5px 16px #0004;color:#fff3e3;font:600 14px 'Chakra Petch',sans-serif;letter-spacing:2px;pointer-events:auto;touch-action:none}
.touch-fire.pressed{transform:scale(.94);background:#8b241ccc;box-shadow:inset 0 4px 8px #0006;color:#e3f9ad}
.touch-keyboard{position:absolute;left:50%;bottom:max(76px,calc(env(safe-area-inset-bottom) + 65px));transform:translateX(-50%);width:min(1000px,calc(100% - 32px));border:1px solid rgb(var(--key-color)/.55);border-radius:14px;padding:12px;background:rgb(var(--case-color)/var(--keyboard-alpha));backdrop-filter:blur(8px);box-shadow:0 12px 40px #0004,inset 0 1px 0 #fff4;pointer-events:auto;color:var(--key-ink)}
.touch-keyboard header{display:flex;align-items:center;gap:12px;margin:0 2px 9px;min-height:32px}.touch-keyboard-brand{font:600 14px 'Chakra Petch',sans-serif;letter-spacing:.5px}.touch-keyboard-status{font-size:10px;margin-right:auto}.touch-keyboard header label{display:flex;align-items:center;gap:6px;font-size:10px}.touch-opacity{width:80px;accent-color:#d8ed8d;min-height:28px}.touch-keyboard-close{border:1px solid currentColor;border-radius:7px;background:#ffffff16;color:inherit;font:24px sans-serif;width:38px;height:34px;cursor:pointer}
.touch-keyboard-rows{display:grid;gap:5px}.touch-key-row{display:flex;gap:5px}.touch-key{flex:1;min-width:0;height:clamp(35px,5.6vh,50px);border:1px solid rgb(var(--key-color)/.8);border-bottom:3px solid #0005;border-radius:5px;padding:0 2px;background:rgb(var(--key-color)/calc(var(--keyboard-alpha) + .12));box-shadow:inset 0 1px 0 #fff3;color:var(--key-ink);font:500 clamp(9px,1.15vw,14px) 'Chakra Petch',sans-serif;touch-action:none;cursor:pointer;overflow:hidden}
.touch-key.wide-key{flex:1.65;font-size:clamp(8px,1vw,12px)}.touch-key.space-key{flex:7}.touch-key.function-key{font-size:10px}.touch-key.pressed{background:#d8ed8de6!important;color:#183424!important;transform:translateY(2px);border-bottom-width:1px;box-shadow:inset 0 2px 5px #0004}.touch-key:disabled{opacity:.6;cursor:default}.touch-key:focus-visible,.touch-toggle:focus-visible,.touch-fire:focus-visible{outline:3px solid #d8ed8d;outline-offset:2px}
.touch-ui[data-machine="c64"] .function-key{--key-color:130 110 84}.touch-ui[data-machine^="a"] .function-key{--key-color:204 204 192;color:#545958}
.touch-ui[data-keyboard-open="true"] .touch-gamepad{visibility:hidden}
.touch-ui[data-machine="c64"] .touch-keyboard header,.touch-ui[data-machine="plus4"] .touch-keyboard header{color:#fff3d9}
@media(max-width:760px){.touch-keyboard{width:calc(100% - 12px);padding:7px;border-radius:9px;bottom:70px}.touch-keyboard header{gap:8px;flex-wrap:wrap}.touch-keyboard-brand{font-size:12px}.touch-keyboard-status{display:none}.touch-keyboard header label{margin-left:auto}.touch-keyboard-rows,.touch-key-row{gap:3px}.touch-key{height:clamp(32px,6vh,44px)}.touch-stick{width:122px;height:122px}.touch-stick-wrap{left:16px}.touch-fire{width:80px;height:80px;right:20px}.touch-tools{bottom:14px}.scene-aspect{display:none}}
@media(max-height:540px){.touch-keyboard{padding:6px;bottom:60px}.touch-keyboard header{margin-bottom:4px;min-height:25px}.touch-key{height:30px}.touch-stick-wrap{bottom:65px}.touch-fire{bottom:76px}.touch-keyboard-close{height:28px}.touch-keyboard-rows,.touch-key-row{gap:3px}}

/* Device keyboards keep their physical geometry, including separate key blocks. */
.touch-keyboard{width:min(1200px,calc(100% - 24px),calc(var(--stage-height,800px)*.47*var(--keyboard-aspect,3.7)));padding:12px 16px 16px;border-radius:16px;background:linear-gradient(145deg,rgb(var(--case-color)/calc(var(--keyboard-alpha) + .12)),rgb(var(--case-color)/var(--keyboard-alpha)));box-shadow:inset 0 2px 1px #fff5,inset 0 -5px 4px #0003,0 12px 40px #0004}
.hardware-scroll{display:block!important;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#d8ed8d80 #0002;padding:5px 1px 8px;touch-action:pan-x}
.hardware-board{position:relative;width:100%;min-width:calc(var(--board-columns)*40px);aspect-ratio:var(--board-columns)/var(--board-rows);container-type:inline-size}
.hardware-board .hardware-key,.keyboard-well{position:absolute;left:calc(var(--key-x)/var(--board-columns)*100%);top:calc(var(--key-y)/var(--board-rows)*100%);width:calc(var(--key-w)/var(--board-columns)*100% - 3px);height:calc(var(--key-h)/var(--board-rows)*100% - 3px)}
.keyboard-well{background:#100d0b55;border-radius:5px;box-shadow:inset 0 3px 5px #0005;pointer-events:none}
.hardware-board .hardware-key{display:block;min-height:0;min-width:0;margin:0;padding:0;flex:none;border:1px solid #0004;border-bottom:4px solid #0007;border-radius:6px;background:linear-gradient(145deg,rgb(var(--key-color)/calc(var(--keyboard-alpha) + .2)),rgb(var(--key-color)/calc(var(--keyboard-alpha) + .07)));box-shadow:inset 0 1px 1px #fff6,1px 2px 2px #0005;color:var(--key-ink);font-family:Arial,Helvetica,sans-serif;font-size:clamp(11px,1.45cqw,18px);font-weight:500;line-height:1;letter-spacing:.25px}
.keycap-face{position:absolute;inset:3px 4px 5px;border-radius:4px;box-shadow:inset 0 1px 4px #0002,inset 0 -1px 0 #fff2;display:flex;align-items:center;justify-content:center;pointer-events:none}
.keycap-legend{white-space:nowrap;text-align:center;line-height:1.12}.keycap-shift{position:absolute;left:15%;top:4%;font-size:.62em;line-height:1}.keycap-shift+.keycap-legend{transform:translateY(11%)}.keycap-front{position:absolute;bottom:-5px;left:0;right:0;text-align:center;font-size:.47em;line-height:1;letter-spacing:.4px;opacity:.88}
.hardware-board .special-key{font-size:clamp(8px,1.0cqw,12px)}.hardware-board .function-key{font-size:clamp(11px,1.3cqw,17px)}.hardware-board .cursor-key{font-size:clamp(16px,1.8cqw,25px)}.hardware-board .logo-key{font-size:clamp(17px,1.9cqw,26px);font-style:italic;font-weight:700}
.touch-ui[data-keyboard-family="c64"] .touch-keyboard{--case-color:174 151 115;--key-color:58 49 41;--key-ink:#f0e8ce;border-radius:20px;padding-bottom:21px}
.touch-ui[data-machine="c64c"] .touch-keyboard{--case-color:213 208 185;--key-color:232 228 205;--key-ink:#514d3f;border-radius:10px}
.touch-ui[data-keyboard-family="c64"] .function-key{--key-color:105 95 78;letter-spacing:2px}.touch-ui[data-machine="c64c"] .function-key{--key-color:198 194 173;--key-ink:#514d3f;letter-spacing:1px}
.touch-ui[data-keyboard-family="plus4"] .touch-keyboard{--case-color:38 42 40;--key-color:225 223 203;--key-ink:#43443e;border-radius:9px;border-color:#76827980}
.touch-ui[data-keyboard-family="plus4"] .function-key{--key-color:137 146 139;font-size:11px;border-radius:3px;border-bottom-width:2px}.touch-ui[data-keyboard-family="plus4"] .function-key .keycap-face{inset:1px 5px 3px;display:flex;flex-direction:row;gap:7px}.touch-ui[data-keyboard-family="plus4"] .function-key .keycap-front{position:static;font-size:.8em}.touch-ui[data-keyboard-family="plus4"] .function-key .keycap-front:before{content:'/ ';}.touch-ui[data-keyboard-family="plus4"] .cursor-key{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);border:0;border-radius:1px;background:rgb(158 171 162/var(--keyboard-alpha));filter:drop-shadow(0 2px 1px #0008)}
.touch-ui[data-keyboard-family="amiga"] .touch-keyboard{--case-color:214 210 190;--key-color:238 234 211;--key-ink:#424840;border-radius:8px}
.touch-ui[data-keyboard-family="amiga"] .function-key,.touch-ui[data-keyboard-family="amiga"] .special-key,.touch-ui[data-keyboard-family="amiga"] .cursor-key{--key-color:201 201 185;color:#424840}.touch-ui[data-machine="a1200"] .touch-keyboard{--case-color:222 221 204;--key-color:243 241 222}
.touch-ui[data-keyboard-family="amiga"] .keycap-face{justify-content:flex-start;align-items:flex-start;padding:5px 4px}.touch-ui[data-keyboard-family="amiga"] .keycap-shift{left:4px;top:3px}.touch-ui[data-keyboard-family="amiga"] .keycap-shift+.keycap-legend{transform:translateY(70%)}.touch-ui[data-keyboard-family="amiga"] .amiga-return{clip-path:polygon(25% 0,100% 0,100% 100%,0 100%,0 50%,25% 50%);font-size:32px}.amiga-return .keycap-face{justify-content:center!important;align-items:center!important;box-shadow:none}
.caps-indicator{position:absolute;right:4px;bottom:5px;width:7px;height:3px;background:#405b2c;border-radius:1px}.caps-key.pressed .caps-indicator{background:#b5ff44;box-shadow:0 0 5px #aeff28}.hardware-board .hardware-key.pressed{transform:translateY(2px);border-bottom-width:1px;background:#d8ed8de6!important;color:#183424!important}
@media(max-width:760px){.touch-keyboard{width:calc(100% - 12px);padding:8px}.hardware-board{min-width:calc(var(--board-columns)*38px)}.touch-keyboard header{margin:0 2px 5px}.keycap-face{inset:2px 3px 4px}.hardware-board .hardware-key{border-bottom-width:3px}.touch-ui[data-keyboard-family="amiga"] .keycap-face{padding:4px 2px}}
@media(max-height:540px){.touch-keyboard{max-height:calc(100% - 115px);overflow-y:auto}.hardware-board{min-width:calc(var(--board-columns)*34px)}.touch-keyboard header{position:sticky;top:0;z-index:3}.hardware-board .hardware-key{height:calc(var(--key-h)/var(--board-rows)*100% - 3px)}}

/* A touch surface above the live picture forwards real relative mouse input. */
.touch-mouse-surface{position:absolute;inset:0;z-index:12;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:move;background:transparent}
.touch-mouse-panel{position:absolute;left:50%;transform:translateX(-50%);bottom:max(78px,calc(env(safe-area-inset-bottom) + 66px));width:max-content;max-width:calc(100% - 28px);pointer-events:none;text-align:center;color:#f1f4de;font:11px/1.5 'Chakra Petch',sans-serif}
.touch-mouse-panel p{font:inherit;color:inherit;margin:0 0 9px;padding:6px 12px;border-radius:8px;background:#142b23c9;text-shadow:0 1px 2px #0008;backdrop-filter:blur(8px)}
.touch-mouse-panel>div{display:flex;justify-content:center;gap:10px}
.touch-mouse-panel button{pointer-events:auto;touch-action:none;min-width:120px;min-height:52px;border:1px solid #eef1d577;border-bottom:4px solid #0005;border-radius:10px;background:#e6e6cecf;color:#263c30;font:600 13px 'Chakra Petch',sans-serif;box-shadow:0 4px 14px #0004;backdrop-filter:blur(8px)}
.touch-mouse-panel button[aria-pressed="true"]{background:#d8ed8d;transform:translateY(2px);border-bottom-width:2px}
.touch-mouse-panel button:disabled{opacity:.45}
.touch-mouse-panel[hidden],.touch-mouse-surface[hidden],[data-toggle-mouse][hidden]{display:none!important}
@media(max-height:540px){.touch-mouse-panel{bottom:68px}.touch-mouse-panel p{font-size:9px;padding:3px 8px;margin-bottom:5px}.touch-mouse-panel button{min-height:44px;min-width:105px}}
