:root{font-family:Arial,Helvetica,sans-serif;color:#233033;background:#dfe5e3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center}.studio{padding:28px 18px;max-width:100%}.studio-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:11px;letter-spacing:.04em;color:#657472}.studio-bar b{color:#243634}.studio-bar>div{display:flex;gap:12px;align-items:center}button,select{font:inherit;cursor:pointer}button{border:0;color:inherit}button:focus-visible,select:focus-visible{outline:2px solid #008b92;outline-offset:3px}.studio-bar button,.studio-bar select{background:#eff3f1;padding:7px 10px;border-radius:6px;border:1px solid #c8d3d0}.studio-bar label{display:flex;gap:7px;align-items:center}#viewport{width:640px;height:480px;max-width:100%;position:relative}#frame{width:640px;height:480px;position:absolute;transform-origin:top left;background:#f3f4ee;overflow:hidden;border-radius:13px;box-shadow:0 25px 70px #20342f24,0 1px 1px #ffffff inset}header{height:52px;padding:0 25px;display:flex;align-items:center;gap:34px;border-bottom:1px solid #d9dfd8}.wordmark{font-size:22px;font-weight:800;letter-spacing:-1px}.wordmark span{font-size:8px;vertical-align:top;padding:4px;color:#00a9ac}nav{display:flex;gap:18px;height:100%;align-items:center}nav button{background:none;height:100%;padding:0;font-size:11px;color:#89948c;position:relative}nav button.active{color:#263735;font-weight:bold}nav button.active:after{content:"";position:absolute;bottom:0;height:3px;border-radius:4px;width:100%;left:0;background:#16b7bb}.status{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:10px;color:#4a5c57}.battery{width:16px;height:8px;border:1px solid #6a7f78;border-radius:2px;position:relative}.battery:before{content:"";position:absolute;inset:1px;background:#6a7f78;width:9px}.battery:after{content:"";position:absolute;right:-3px;top:2px;width:2px;height:3px;background:#6a7f78}.hero{height:210px;position:relative;background:#e7ebe0;overflow:hidden}.hero-copy{position:relative;z-index:2;margin-left:29px;padding-top:23px;width:300px}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:700;text-transform:uppercase;color:#607669;margin-bottom:12px}h1{font-size:33px;line-height:1.04;letter-spacing:-1.4px;margin:0;max-width:285px}h1 span{display:block}.hero-copy p{font-size:10px;line-height:1.5;color:#566a60;max-width:260px;margin:12px 0 17px}.hero-action{font-size:10px;font-weight:700;border-radius:20px;padding:8px 13px 8px 8px;background:#fff;color:#233933;display:flex;align-items:center;gap:7px;box-shadow:0 3px 8px #435c5010}.hero-action>span:last-child{margin-left:16px}.button-glyph{border-radius:50%;width:19px;height:19px;background:#1d3a32;color:white;display:grid;place-items:center;font-size:9px}.hero-counter{position:absolute;bottom:14px;right:24px;color:#445e51;font-size:9px;letter-spacing:1px;z-index:2;background:#f3f4eece;padding:5px 7px;border-radius:5px}.hero-art{position:absolute;right:0;top:0;width:100%;height:100%;pointer-events:none}.hero-art svg{position:absolute;width:390px;height:220px;right:0;bottom:0}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e7ebe0 40%,#e7ebe0ed 48%,#e7ebe000 67%)}.hero-screenshot{position:absolute;right:0;top:0;width:360px;height:210px;object-fit:cover;object-position:50% 50%}.hero-art .art-letter{font-size:140px;font-weight:900;font-style:italic;position:absolute;right:15px;top:14px;color:#ffffff60;letter-spacing:-8px}.shelf-heading{margin:12px 27px 4px;display:flex;justify-content:space-between;font-size:10px;font-weight:bold}.shelf-heading>span:last-child{font-size:9px;font-weight:normal;color:#849287}.carousel{height:145px;overflow:hidden;position:relative}.track{display:flex;gap:16px;position:absolute;left:0;top:7px;will-change:transform}.game-card{width:102px;flex:0 0 102px;padding:0;background:none;position:relative;text-align:left;will-change:transform}.cover{height:101px;width:101px;border-radius:9px;overflow:hidden;border:4px solid #fff;position:relative;box-shadow:0 3px 5px #253a2820}.game-card.selected .cover{border-color:#a3f6f6;box-shadow:0 0 0 2px #38c5cd,0 0 15px #47d9df8c}.cover img{width:100%;height:100%;object-fit:contain;background:#fff}.cover-poster{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:white;padding:6px;position:relative;background:var(--cover-bg)}.cover-poster:before{content:"";position:absolute;inset:-20px;background:repeating-linear-gradient(145deg,transparent 0 22px,#ffffff13 23px 25px)}.cover-poster b{font-size:19px;line-height:.92;font-weight:900;letter-spacing:-1px;position:relative;text-shadow:0 2px 3px #0007}.cover-poster small{font-size:6px;letter-spacing:1px;margin-top:8px;position:relative}.card-label{display:block;font-size:8px;line-height:10px;height:20px;margin:7px 4px 0;color:#485f55;white-space:normal;overflow:hidden}.game-card:not(.selected) .card-label{opacity:.65}footer{position:absolute;bottom:0;height:42px;left:0;right:0;border-top:1px solid #dde3da;display:flex;align-items:center;justify-content:space-between;padding:0 25px;font-size:9px;color:#6b7e72;background:#f3f4ee;z-index:5}footer i{font-style:normal;font-size:8px;border-radius:4px;border:1px solid #d3ded3;padding:3px 5px;color:#314a3c;margin:0 3px 0 7px}footer span:first-child i{margin-left:0}.hardware-controls{display:flex;gap:7px;justify-content:center;margin-top:18px;flex-wrap:wrap}.hardware-controls button{background:#f1f5f2;border:1px solid #c5d2c8;border-radius:8px;padding:9px 12px;font-size:10px;box-shadow:0 2px 0 #c4d0c8}.studio-note{font-size:10px;text-align:center;color:#738579;margin:14px 0 0}#game-page{height:386px;padding:22px 28px;background:#f0f3eb}.detail-top{display:flex;gap:21px;align-items:center}.detail-cover{height:115px;width:115px;flex:0 0 115px;box-shadow:0 7px 17px #38543820;border:5px solid white;border-radius:11px;overflow:hidden}.detail-cover .cover-poster b{font-size:23px}.detail-cover img{width:100%;height:100%;object-fit:contain;background:#fff}.detail-title .eyebrow{margin-bottom:8px}.detail-title h2{font-size:26px;letter-spacing:-.8px;margin:0;max-width:410px}.detail-title p{font-size:10px;color:#758478;margin:9px 0}.detail-controls{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}.detail-controls button{padding:10px 13px;border-radius:7px;background:white;border:1px solid #dce5d9;font-size:10px}.detail-controls button.focused,.guide-row.focused{border-color:#00adb4;box-shadow:0 0 0 2px #9ce4df}.detail-controls button.primary{background:#243e33;color:white;border-color:#243e33}.detail-controls button.is-set{background:#d9eee2;color:#286044}.guide-heading{font-size:10px;margin:22px 0 9px;color:#55725d;display:flex;justify-content:space-between}.guide-row{width:100%;padding:10px 12px;background:white;border-radius:7px;border:1px solid #dbe5d9;display:flex;align-items:center;text-align:left;gap:12px}.guide-icon{background:#eaf0e5;color:#587554;width:26px;height:26px;display:grid;place-items:center;border-radius:5px}.guide-row b{font-size:10px;display:block}.guide-row small{font-size:8px;color:#81927f;margin-top:4px;display:block}.guide-row>span:last-child{margin-left:auto;font-size:11px}.detail-help{font-size:9px;color:#81927f;margin-top:12px}#launch{position:absolute;inset:52px 0 42px;background:#e6eee2;z-index:4;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}#launch[hidden]{display:none}.launch-orbit{font-size:70px;color:#0ba8b0}#launch p{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#719076}#launch h2{font-size:29px;letter-spacing:-1px;margin:3px 20px 25px}#launch button{padding:11px 18px;border-radius:20px;background:#254437;color:white;font-size:10px}#toast{position:absolute;bottom:54px;left:50%;transform:translateX(-50%);padding:10px 16px;background:#243e33;color:white;border-radius:18px;font-size:10px;white-space:nowrap;z-index:10}[hidden]{display:none!important}@media(max-width:680px){.studio{padding:14px 10px;width:100%}.studio-bar{gap:10px;font-size:9px}.studio-bar>div{gap:5px}.studio-bar label{font-size:0}.studio-bar select{font-size:9px}.studio-bar button{font-size:9px}.studio-note{line-height:1.5}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
#launch-detail{font-size:10px;color:#607669;margin:-16px 0 22px}#disc-picker{position:absolute;inset:52px 0 42px;z-index:8;background:#19352abf;display:grid;place-items:center;padding:20px}.disc-dialog{width:306px;background:#f7f8f2;border:1px solid #d7e2db;border-radius:12px;padding:18px;box-shadow:0 18px 45px #10261d8c}.disc-dialog>p{margin:0 0 5px;color:#6d8277;font-size:8px;letter-spacing:1.4px;font-weight:bold}.disc-dialog h2{font-size:19px;margin:0 0 13px;letter-spacing:-.4px}.disc-options{display:grid;gap:6px}.disc-options button{min-height:33px;border:1px solid #d7e2db;border-radius:7px;background:white;padding:0 10px;display:flex;align-items:center;justify-content:space-between;font-size:10px;text-align:left}.disc-options button.selected{background:#d9fbf8;border-color:#10bcc0;box-shadow:0 0 0 2px #9be8e5}.disc-options small{font-size:8px;color:#54746f}.disc-cancel{margin-top:12px;width:100%;padding:8px;border-radius:7px;background:#e8eee8;color:#476056;font-size:10px}.disc-cancel span{float:right;border:1px solid #aebdb4;border-radius:3px;padding:1px 4px;font-size:8px}

.status button{font-size:8px;padding:5px 6px;border-radius:5px;background:#e5efea;color:#36564b}.cloud-badge{position:absolute;right:4px;bottom:4px;background:#184e57;color:#dfffff;border-radius:50%%;width:20px;height:20px;display:grid;place-items:center;font-size:11px;border:2px solid white}.cloud-status{font-size:9px;color:#087d85;background:#d7f4f1;padding:4px 6px;border-radius:5px;vertical-align:middle;white-space:nowrap}#cache-dialog{position:absolute;inset:52px 0 42px;z-index:9;background:#19352abf;display:grid;place-items:center;padding:20px}.cache-panel{width:330px;background:#f7f8f2;border:1px solid #d7e2db;border-radius:12px;padding:18px;box-shadow:0 18px 45px #10261d8c}.cache-panel p{margin:0 0 5px;font-size:8px;letter-spacing:1.3px;font-weight:bold;color:#5e7d73}.cache-panel h2{font-size:19px;margin:0 0 8px}.cache-panel small{display:block;font-size:9px;line-height:1.45;color:#60746c}.cache-panel button{width:100%%;margin-top:10px;padding:9px;border-radius:7px;background:#244539;color:white;font-size:10px}.cache-panel button+button{background:#e7eee9;color:#466056}.cache-panel button span{float:right}.progress{height:8px;border-radius:8px;background:#dce7e0;overflow:hidden;margin:16px 0 7px}.progress i{display:block;height:100%%;background:#11afb5;transition:width .08s linear}.evictions{display:grid;gap:5px;margin-top:11px;max-height:92px;overflow:auto}.evictions label{font-size:9px;background:white;border:1px solid #dce5df;border-radius:5px;padding:7px;display:flex;gap:6px;align-items:center}.evictions span{margin-left:auto;color:#60746c}.sim-controls{display:flex;gap:7px;justify-content:center;align-items:center;margin-top:11px;font-size:9px;color:#63766d}.sim-controls button{font-size:9px;background:#e8f0ec;border:1px solid #c5d2c8;border-radius:6px;padding:6px 8px}

/* The handheld remains a 640 × 480 layout; only #viewport is scaled in JS. */
body{display:block}.studio{width:max-content;max-width:100%;margin:0 auto;padding:16px 12px 12px}.studio-bar{gap:16px;flex-wrap:wrap;margin-bottom:10px;font-size:13px}.studio-tools,.size-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.studio-bar>div{gap:8px}.studio-bar button,.studio-bar select{font-size:12px;padding:6px 8px}.size-controls button[aria-pressed="true"]{background:#244539;color:white;border-color:#244539}.size-controls label{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px}.size-controls input{width:116px;accent-color:#008f98}.size-controls output{min-width:42px;font-variant-numeric:tabular-nums}.size-help{max-width:640px;margin:8px auto 0;text-align:center;font-size:11px;line-height:1.3;color:#64756b}.hardware-controls{margin-top:10px}.studio-note{max-width:640px;margin:9px auto 0;line-height:1.3}.sim-controls{margin-top:7px}#viewport{max-width:none}
header{height:54px;padding:0 19px;gap:25px}.wordmark{font-size:27px}.wordmark span{font-size:11px}nav{gap:20px}nav button{font-size:17px}.status{font-size:15px;gap:8px}.status button{font-size:14px;padding:6px 8px}.battery{width:20px;height:10px}.battery:before{width:12px}.battery:after{top:3px}
.hero{height:189px}.hero-copy{margin-left:24px;padding-top:12px;width:350px}.hero .eyebrow{font-size:16px;letter-spacing:.9px;margin-bottom:4px}.hero h1{font-size:32px;line-height:.96;letter-spacing:-1px;max-width:340px}.hero-copy p{font-size:17px;line-height:1.16;max-width:325px;margin:6px 0 7px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.hero-action{font-size:20px;min-height:37px;padding:4px 12px 4px 5px;gap:8px}.hero-action>span:last-child{margin-left:5px}.button-glyph{width:29px;height:29px;font-size:17px}.hero-counter{font-size:15px;bottom:10px;right:18px}.hero-screenshot{height:189px;width:390px}.hero-art:after{background:linear-gradient(90deg,#e7ebe0 35%,#e7ebe0f5 48%,#e7ebe000 75%)}
.shelf-heading{height:26px;margin:0 22px;align-items:center;font-size:18px}.shelf-heading>span:last-child{font-size:15px}.carousel{height:161px}.track{gap:16px;top:1px}.game-card{width:160px;flex-basis:160px}.cover{width:132px;height:132px;border-width:4px}.card-label{font-size:18px;line-height:20px;height:20px;margin:4px 0 0;white-space:nowrap;text-overflow:ellipsis}.cloud-badge{width:27px;height:27px;font-size:17px;border-radius:50%}.game-card:not(.selected) .card-label{opacity:.8}
footer{height:50px;padding:0 18px;font-size:16px;gap:6px;white-space:nowrap}footer i{font-size:15px;padding:3px 5px;margin:0 2px 0 4px}
#game-page{height:376px;padding:15px 22px}.detail-top{gap:16px;align-items:center}.detail-cover{height:130px;width:130px;flex-basis:130px}.detail-title{min-width:0}.detail-title .eyebrow{font-size:15px;letter-spacing:.5px;margin-bottom:4px}.detail-title h2{font-size:30px;line-height:1.02;letter-spacing:-.6px;max-width:442px}.detail-title p{font-size:17px;line-height:1.15;margin:6px 0}.cloud-status{display:inline-block;font-size:15px;padding:3px 5px;vertical-align:middle;letter-spacing:0}.detail-controls{gap:6px;margin-top:10px}.detail-controls button{font-size:18px;line-height:1.1;min-height:40px;padding:8px 11px}.guide-heading{font-size:17px;margin:11px 0 7px}.guide-row{min-height:57px;padding:7px 10px;gap:10px}.guide-icon{width:34px;height:34px;font-size:19px}.guide-row b{font-size:17px;line-height:1.15}.guide-row small{font-size:15px;line-height:1.1;margin-top:3px}.guide-row>span:last-child{font-size:19px}.detail-help{font-size:14px;line-height:1.18;margin:8px 0 0}
#launch{inset:54px 0 50px}.launch-orbit{font-size:70px}#launch p{font-size:18px}#launch h2{font-size:32px}#launch-detail{font-size:18px}#launch button{font-size:20px;padding:10px 20px}#toast{bottom:58px;font-size:18px}
#disc-picker,#cache-dialog{inset:54px 0 50px;padding:12px}.disc-dialog,.cache-panel{width:min(460px,100%);max-height:100%;overflow:auto;padding:14px 18px}.disc-dialog>p,.cache-panel p{font-size:15px;letter-spacing:.6px;margin-bottom:4px}.disc-dialog h2,.cache-panel h2{font-size:28px;line-height:1.05;margin:0 0 9px}.disc-options{gap:5px}.disc-options button{min-height:44px;font-size:21px;padding:3px 12px}.disc-options small{font-size:16px}.disc-cancel,.cache-panel button{min-height:43px;font-size:19px;padding:7px 10px;margin-top:8px;width:100%}.disc-cancel span{font-size:15px}.cache-panel small{font-size:17px;line-height:1.2}.progress{height:12px;margin:12px 0 8px}.evictions{max-height:120px;gap:5px}.evictions label{font-size:17px;min-height:40px;padding:6px 8px}.evictions input{width:18px;height:18px}
@media(max-width:680px){.studio{padding:10px}.studio-bar{font-size:12px;gap:6px}.studio-bar label,.studio-bar button,.studio-bar select{font-size:11px}.studio-tools{gap:5px}.size-controls input{width:90px}.size-help{font-size:10px}}
.detail-title h2.long-title{font-size:26px}
#viewport{margin-inline:auto}

/* Shared Orbit shell for launcher-owned Apps, Settings, Recents and Search previews. */
header{gap:20px}nav{gap:17px}.shelf-heading{gap:8px}.shelf-heading>#shelf-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shelf-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.shelf-actions button{background:#e5efea;color:#3e6354;border-radius:5px;padding:3px 7px;font-size:15px;white-space:nowrap}.shelf-actions button.active{background:#d0f1ed;color:#096970}
#system-page{height:376px;background:#f0f3eb}.system-screen{height:376px;padding:16px 22px;overflow:hidden}.system-heading>span{display:block;color:#54806d;font-size:15px;line-height:18px;font-weight:bold;letter-spacing:.4px;text-transform:uppercase}.system-heading h2{font-size:31px;line-height:34px;letter-spacing:-.7px;margin:2px 0 2px}.system-heading p{font-size:17px;line-height:20px;color:#677d70;margin:0 0 10px}.system-list{display:grid;gap:7px}.orbit-row{width:100%;min-height:58px;padding:7px 12px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dce5db;border-radius:9px;text-align:left}.orbit-row.focused,.orbit-row:focus-visible,.keyboard button.focused,.keyboard button:focus-visible{border-color:#00adb4;box-shadow:0 0 0 2px #9ce4df;outline:none}.orbit-icon{flex:0 0 42px;height:42px;display:grid;place-items:center;background:#e5f1eb;border-radius:8px;color:#1c675f;font-size:27px;font-weight:bold}.orbit-row-copy{min-width:0;flex:1}.orbit-row-copy b{display:block;font-size:21px;line-height:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.orbit-row-copy small{display:block;margin-top:2px;font-size:16px;line-height:18px;color:#6d8075;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.orbit-row-value{max-width:160px;flex:0 0 auto;text-align:right;font-size:16px;font-weight:bold;color:#427268;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-screen{padding:10px 22px}.search-screen .system-heading{height:52px}.search-screen .system-heading h2{margin:0}.search-screen input{width:100%;height:42px;border:2px solid #b8d2c7;border-radius:8px;background:white;color:#243d34;font-size:20px;padding:0 12px;margin-bottom:7px}.search-screen input:focus{outline:2px solid #0aa8ae;outline-offset:1px}.keyboard{display:grid;gap:4px}.keyboard-row{display:flex;justify-content:center;gap:4px;height:30px}.keyboard-row button{min-width:37px;height:30px;background:white;border:1px solid #cbded3;border-radius:6px;font-size:17px;font-weight:bold}.keyboard-actions{height:32px}.keyboard-actions button{min-width:92px;height:32px;font-size:17px}.search-results{margin-top:5px}.search-results-heading{height:22px;font-size:17px;font-weight:bold;display:flex;justify-content:space-between;color:#4f705c}.search-results-heading span{font-size:15px;font-weight:normal}.search-result{min-height:43px;height:43px;margin-top:4px;padding:3px 8px}.search-result img{width:35px;height:35px;object-fit:contain;background:white;border-radius:5px}.search-result .orbit-row-copy b{font-size:18px;line-height:20px}.search-result .orbit-row-copy small{font-size:15px;line-height:16px;margin-top:0}.search-empty{font-size:17px;margin:12px 0;color:#617669}
.shelf-actions button.focused,nav button.focused{outline:2px solid #00adb4;outline-offset:2px}
