/* New-version presentation. Classic pages never load this stylesheet. */
:root{--ease-ui:cubic-bezier(.22,1,.36,1)}
.game-home{--bg:#10151c;--surface:#19222d;--surface-soft:#141d27;--surface-2:#202e3d;--line:#a9bed21b;--text:#eff4f7;--muted:#9fafbd;--accent:#9ec4e9;--accent-text:#142c41;--chrome:#131c26;--glass:#19232e}
html[data-theme=light] .game-home{--bg:#edf1f3;--surface:#fff;--surface-soft:#f5f8fa;--surface-2:#eaf1f5;--line:#304f691c;--text:#1b3345;--muted:#5c7383;--accent:#315f82;--accent-text:#fff;--chrome:#fff;--glass:#fff}
.game-home .ambient{background:radial-gradient(ellipse at 80% 20%,#5c89ad18,transparent 60%)}
.game-home .experience{max-width:1540px;padding:24px 30px 0}
.game-home .launcher{border-radius:20px;box-shadow:0 30px 80px #07132126,0 1px 0 #ffffff08 inset}
.game-home .launcher-header{border-bottom:1px solid var(--line)}
.game-home .launcher-header .brand strong{font-size:23px;letter-spacing:-.7px;font-weight:700}
.game-home .brand-cube{width:34px;height:34px;border-radius:10px;background:var(--surface-2);color:var(--accent);display:grid;place-items:center;transform:none;scale:1;margin:0}
.game-home .brand-cube svg{width:23px;height:23px;stroke-width:1.5}
.game-home .launcher-header .scene-navigation{border:0;background:var(--surface-soft);padding:4px;border-radius:11px}
.game-home .launcher-header .scene-tab{border:0;border-radius:8px;color:var(--muted);font-size:12px;transition:background-color .18s,color .18s;min-height:38px}
.game-home .launcher-header .scene-tab.active{background:var(--surface-2);color:var(--text);box-shadow:0 1px 3px #0001}
.game-home .launcher-header .capsule,.game-home .launcher-header .classic-switch{border-color:var(--line);font-size:11px;border-radius:9px;gap:8px}
.game-home .icon{width:19px;height:19px;flex:0 0 19px;stroke-width:1.65;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.game-home .scene{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);padding:34px 4.5%;gap:28px 5%;background:var(--surface-soft);align-content:center}
.game-home .scene h1{font-size:clamp(36px,3.7vw,56px);font-weight:650;line-height:1.27;letter-spacing:-.045em;margin:22px 0}
.game-home .scene h1 em{font-style:normal}
.game-home .scene .eyebrow{font-size:9px;letter-spacing:1.2px;line-height:1.8}
.game-home .scene-description{font-size:14px;line-height:1.95;margin:20px 0}
.game-home .hero-pills{gap:8px;flex-wrap:wrap}
.game-home .hero-pills>span{padding:6px 10px;border:1px solid var(--line);border-radius:6px;font-size:11px}
.game-home .hero-actions{gap:18px;margin-top:28px}
.game-home .hero-download{min-height:46px;border-radius:9px;font-size:13px;padding:0 19px;transition:background-color .18s,transform .22s var(--ease-ui)}
.game-home .hero-download:hover{transform:translateY(-1px)}
.game-home .scene .text-action{font-size:12px}
.game-workspace{grid-column:2;grid-row:1/3;min-width:0;width:100%;align-self:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 42px #00000016;overflow:hidden;isolation:isolate}
.workspace-title{height:51px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}
.workspace-title>span{display:flex;align-items:center;gap:9px;font-size:12px}.workspace-title b{font-weight:550}.workspace-title .icon{width:16px;height:16px;flex-basis:16px;color:var(--muted)}
.workspace-title small{font:9px ui-monospace,monospace;letter-spacing:.7px;color:var(--muted);border:1px solid var(--line);padding:4px 6px;border-radius:4px;white-space:nowrap}
.workspace-body{display:grid;grid-template-columns:56px minmax(0,1fr)}
.workspace-rail{display:flex;flex-direction:column;gap:11px;align-items:center;padding:17px 8px;background:var(--surface-soft);border-right:1px solid var(--line)}
.workspace-tool{width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:9px;display:grid;place-items:center;background:transparent;color:var(--muted);flex:none;transition:background-color .18s,color .18s,border-color .18s}
.workspace-tool.selected,.workspace-tool:hover{background:var(--surface-2);color:var(--accent);border-color:var(--line)}
.workspace-tool .icon{width:18px;height:18px;flex-basis:18px}.workspace-main{min-width:0;padding:14px}
.world-preview{position:relative;overflow:hidden;border-radius:10px;background:linear-gradient(155deg,#273c4d,#20363a);border:1px solid #aac6d51c;min-height:244px}
html[data-theme=light] .world-preview{background:linear-gradient(155deg,#e1edf4,#dbe9e4);border-color:#62869220}
.preview-chip{position:absolute;left:15px;top:13px;z-index:1;font:8px ui-monospace,monospace;letter-spacing:1px;color:#a6bfca}
html[data-theme=light] .preview-chip{color:#527184}
.game-home .scene .game-workspace .world-art{display:block;position:relative;inset:auto;width:100%;height:252px;margin:0;grid-area:auto;overflow:visible;opacity:1;filter:none}
.world-preview-label{position:absolute;bottom:14px;left:16px;right:16px;display:flex;justify-content:space-between;gap:12px;color:#d1e1e3;font-size:10px}.world-preview-label small{font:8px ui-monospace,monospace;opacity:.65;align-self:center}
html[data-theme=light] .world-preview-label{color:#315867}
.game-home .scene .game-workspace .launcher-action-panel{display:block;position:static;grid-area:auto;width:100%;max-width:none;margin:0;padding:18px 3px 3px;border:0;border-radius:0;box-shadow:none;background:transparent;backdrop-filter:none}
.instance-cube{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:var(--surface-2);border:1px solid var(--line);color:var(--accent);flex:none}
.instance-cube svg{height:23px;width:23px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.game-home .instance-info{gap:11px}.game-home .instance-info strong{font-size:13px;font-weight:600}.game-home .instance-info small{font-size:10px;line-height:1.5;color:var(--muted)}
.game-home .instance-info .square-button{width:32px;height:32px;min-width:32px;min-height:32px;background:var(--surface-soft)}
.game-home .scene .launch-button{height:44px;margin:16px 0 12px;border-radius:8px;font-size:13px;background:var(--accent);color:var(--accent-text);gap:9px;box-shadow:none;transition:filter .18s,transform .22s var(--ease-ui)}
.game-home .launch-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.game-home .launch-button-decoration{display:none}
.game-home .launch-meta{font-size:9px}.game-home .launch-meta>span:last-child{font-size:8px}.game-home .status-dot{width:5px;height:5px;box-shadow:none}
.game-home .scene .scene-caption{font-size:10px;padding-top:16px;margin-top:0;color:var(--muted)}
.game-home .scene .product-build{height:300px;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:10px;width:100%;max-width:none;box-shadow:0 12px 30px #0000000a}
.game-home .scene .setup-card{padding:18px;border-radius:12px;box-shadow:none;background:var(--surface);border-color:var(--line);margin-top:22px}
.game-home .setup-field{border-radius:7px;padding:12px;background:var(--surface-soft);min-height:70px}.game-home .setup-field strong{font-weight:550}.game-home .setup-field small{letter-spacing:0}
.game-home .setup-start{background:var(--surface-2);border-radius:7px;height:40px;transition:background-color .2s,border-color .2s}.game-home .setup-start:hover{background:var(--surface-soft);transform:none}
.game-home .feature-badge{background:var(--surface);border-color:var(--line);border-radius:11px;padding:14px;transition:background-color .18s,border-color .18s;transform:none}
.game-home .feature-badge:hover{background:var(--surface-2);border-color:var(--accent);transform:none}.game-home .feature-icon{border-radius:8px;background:var(--surface-soft);color:var(--accent)}
.game-home .scene .product-files{height:350px;background:radial-gradient(ellipse at center,#7497bc13,transparent 65%)}
.game-home .download-main,.game-home .download-link{transition:background-color .18s,border-color .18s,transform .2s var(--ease-ui)}
.game-home .download-main:hover,.game-home .download-link:hover{background:var(--surface-2);border-color:var(--accent);transform:translateY(-1px)}
.game-home .download-main-icon{border-radius:10px;background:var(--surface-2);color:var(--accent)}
.game-home .launcher-footer{height:56px;border-top:1px solid var(--line)}
.game-home .outside-footer{color:var(--muted);font-size:10px}.game-home .outside-footer a{transition:color .18s}
.game-home .circle-button{border-radius:9px;min-width:34px;min-height:34px;background:var(--surface);transition:background-color .18s,border-color .18s}
.game-home .settings-dialog,.game-home .end-dialog{box-shadow:0 24px 90px #08131f40;border-radius:16px;background:var(--surface);border-color:var(--line)}
.game-home dialog::backdrop{background:#08131f66;backdrop-filter:blur(5px)}
.game-home .settings-dialog[open],.game-home .end-dialog[open]{animation:dialog-appear .22s var(--ease-ui) both}
@keyframes dialog-appear{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Scene visibility/translation belongs to the transition controller, never a second entrance animation. */
.scene.active .scene-copy,.scene.active .launcher-action-panel,.scene.active .setup-card,.scene.active .download-main{animation:none!important}
.game-home .world-cloud{animation-duration:18s}.game-home .island-float{animation-duration:9s}.game-home .product-file{animation-duration:9s}
@media(max-width:1200px){.game-home .experience{padding:16px 18px 0}.game-home .scene{padding:28px 4%;gap:24px 4%}.game-home .scene h1{font-size:42px}.game-home .scene-description{font-size:13px}.game-home .game-workspace .world-art{height:220px}.game-home .feature-badge{flex-direction:row;align-items:center}}
@media(max-width:820px){.game-home .experience{padding:10px 10px 0}.game-home .launcher{height:calc(100dvh - 46px);border-radius:15px}.game-home .scene{grid-template-columns:minmax(0,1fr);align-content:start;padding:30px 24px;gap:26px}.game-home .scene .scene-copy{grid-row:1;grid-column:1;max-width:560px}.game-home .game-workspace{grid-row:2;grid-column:1;max-width:560px;justify-self:center}.game-home .scene-world .scene-caption{grid-row:3}.game-home .scene h1{font-size:42px;margin:16px 0}.game-home .scene-description{font-size:14px}.game-home .hero-actions{margin-top:22px}.game-home .scene .product-build{height:280px;max-width:560px}.game-home .scene .product-files{height:300px}.game-home .scene .game-workspace .world-art{height:270px}.game-home .world-preview{min-height:240px}.game-home .launcher-footer{height:50px}.game-home .outside-footer{height:36px}}
@media(max-width:540px){.game-home .scene{padding:26px 18px;gap:24px}.game-home .scene h1{font-size:36px}.game-home .scene-description{font-size:13px}.game-home .workspace-title{padding-inline:14px;height:46px}.workspace-body{grid-template-columns:43px minmax(0,1fr)}.workspace-rail{padding:12px 5px;gap:8px}.workspace-tool{width:31px;height:33px;border-radius:7px}.workspace-tool .icon{width:17px;height:17px}.workspace-main{padding:10px}.game-home .scene .game-workspace .world-art{height:205px}.world-preview{min-height:205px}.world-preview-label{left:10px;right:10px;bottom:11px;font-size:9px}.world-preview-label small{display:none}.preview-chip{left:11px;top:11px}.game-home .instance-info{gap:8px}.instance-cube{width:30px;height:30px}.instance-cube svg{width:20px;height:20px}.game-home .instance-info strong{font-size:11px}.game-home .instance-info small{font-size:9px}.game-home .instance-info .square-button{width:28px;height:28px;min-width:28px;min-height:28px}.game-home .instance-info .icon{width:15px;height:15px;flex-basis:15px}.game-home .scene .launch-button{margin-top:13px;height:41px;font-size:12px}.game-home .launch-meta{font-size:8px}.game-home .launch-meta>span:last-child{font-size:7px}.game-home .scene .scene-caption{line-height:1.7}.game-home .feature-badge{align-items:flex-start;flex-direction:column}.game-home .feature-badge strong{font-size:11px}.game-home .feature-badge small{font-size:9px}.game-home .launcher-header .scene-tab{min-height:32px;font-size:11px}}
@media(max-height:650px) and (min-width:821px){.game-home .scene{align-content:start;padding-block:24px}.game-home .scene h1{font-size:36px}.game-home .scene .game-workspace .world-art{height:190px}.game-home .world-preview{min-height:190px}.game-home .scene .product-build{height:240px}}
.no-anim .game-home *, .no-anim .game-home *::before,.no-anim .game-home *::after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.game-home *,.game-home *::before,.game-home *::after{animation:none!important;transition:none!important}}
