/* World Studio and quiet visual atmosphere. Original code and locally hosted illustrated worlds. */
body{transition:background-color 1.2s ease,color .6s ease}.section-kicker,.strip-star,.text-link{transition:color 1.2s ease}.world-studio{width:min(1020px,calc(100% - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:0;color:#eef0ff;background:#0c1226;border:2px solid #5a6486;border-radius:7px;box-shadow:7px 7px 0 #030719,0 35px 120px #0008;overflow:auto;overscroll-behavior:contain;font-family:var(--body,system-ui,sans-serif)}.world-studio::backdrop{background:#030719df;backdrop-filter:blur(8px)}.world-studio *{box-sizing:border-box}.studio-shell{padding:29px}.studio-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:23px}.studio-eyebrow{font:8px/1.8 var(--pixel,monospace);letter-spacing:.8px;color:#b8a5ef}.studio-header h2{font:25px/1.6 var(--pixel,monospace);margin:9px 0 8px;color:#faf1d5}.studio-header p{font-size:13px;color:#abb8d4;margin:0}.studio-close{width:37px;height:37px;flex-shrink:0;padding:0;background:#1a2540;color:#dbe5ff;border:1px solid #5a678c;border-radius:3px;box-shadow:2px 2px #030719;font:28px/1 monospace;cursor:pointer}.studio-close:hover{background:#303d5c}.studio-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.studio-modes button{padding:14px 11px;text-align:left;background:#131e35;border:1px solid #394766;border-bottom:3px solid #030719;border-radius:4px;color:#d5def4;cursor:pointer;transition:background .2s,border-color .2s}.studio-modes strong{display:block;font:11px/1.7 var(--pixel,monospace);margin-bottom:4px}.studio-modes span{font-size:11px;color:#9eadd0}.studio-modes button[aria-pressed=true]{background:#2c2944;border-color:#b3a0ec}.studio-modes button[aria-pressed=true] strong{color:#fce8a3}.studio-local{display:grid;grid-template-columns:1fr auto;gap:5px 15px;align-items:center;margin:16px 0 21px;padding:15px 17px;background:#080e1e;border:1px solid #293752;border-radius:4px}.studio-local>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.studio-live-dot{height:6px;width:6px;background:#8cdeb0;box-shadow:0 0 8px #8cdeb044}.studio-clock{font:11px/1.7 var(--pixel,monospace);color:#dbe8fd;font-variant-numeric:tabular-nums;white-space:nowrap}.studio-zone{font-size:10px;color:#99accf}.studio-local-status{grid-column:1;font-size:11px;line-height:1.7;color:#afbedc;margin:0}.studio-location{grid-column:2;grid-row:1/3;min-height:35px;padding:8px 12px;border:1px solid #516184;border-radius:3px;background:#1c2a44;color:#d7e3fb;font-size:11px;cursor:pointer}.studio-location:hover{background:#2b3b5b}.studio-location:disabled{opacity:.5}.studio-local small{grid-column:1/-1;margin-top:4px;font-size:9px;line-height:1.6;color:#8293b6}.studio-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.studio-controls label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#b5c2dd;font-weight:600}.studio-controls select{min-width:0;width:100%;height:39px;padding:8px;background:#17233c;color:#e1e9fa;border:1px solid #465575;border-radius:3px;font-size:12px}.studio-controls select:disabled{opacity:.4}.studio-mode-note{font-size:10px;line-height:1.7;color:#92a6cb;min-height:17px;margin:10px 0 24px}.studio-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.studio-section-title h3{font:12px/1.7 var(--pixel,monospace);color:#e4e4f6;margin:0}.studio-section-title>span{font:7px/1.6 var(--pixel,monospace);color:#8f9bbc;letter-spacing:.4px}.studio-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.studio-preset{display:block;min-width:0;padding:0 0 10px;border:1px solid #3b4664;border-bottom:3px solid #26314d;border-radius:4px;background:#101a30;color:#dce5fa;text-align:left;overflow:hidden;cursor:pointer;transition:transform .16s,border-color .16s,background .16s}.studio-preset>svg{display:block;width:100%;height:auto;aspect-ratio:240/95;image-rendering:pixelated;border-bottom:1px solid #3a4965;margin-bottom:10px}.studio-preset strong{display:block;margin:0 10px;font-size:11px;line-height:1.5;font-weight:800}.studio-preset span{display:block;margin:5px 10px 0;font-size:9px;line-height:1.5;color:#9caccb}.studio-preset:hover{transform:translateY(-2px);border-color:#b9a7ea;background:#1b2540}.studio-preset[aria-pressed=true]{border-color:#facc15;background:#2a2837;box-shadow:0 0 0 1px #facc1538}.studio-preset[aria-pressed=true] strong{color:#f4df99}.studio-art-note{font-size:10px;line-height:1.8;color:#8d9dbd;margin:13px 0 24px}.studio-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.studio-panel{padding:16px;background:#111b30;border:1px solid #303e5d;border-radius:4px}.studio-panel h3{font:10px/1.8 var(--pixel,monospace);color:#cdbce9;margin:0 0 14px}.studio-panel p{font-size:10px;line-height:1.7;color:#9aaccd;margin:12px 0 0}.studio-color-row{display:flex;align-items:flex-end;gap:13px}.studio-color-row label{font-size:10px;color:#b6c5df;display:flex;flex-direction:column;gap:6px}.studio-color-row input{width:50px;height:32px;cursor:pointer;background:#0a1227;border:1px solid #4f5c80;padding:3px;border-radius:2px}.studio-color-row button{margin-left:auto;min-height:32px;font-size:10px;color:#c4d4f2;background:#1c2943;border:1px solid #465674;border-radius:3px;padding:5px 9px;cursor:pointer}.studio-explorer{display:flex;gap:7px}.studio-explorer button{min-width:33px;height:33px;padding:0 9px;border:1px solid #536184;border-bottom:3px solid #030719;border-radius:3px;background:#22304a;color:#dfebff;font-size:17px;cursor:pointer}.studio-explorer button:last-child{font-size:10px;margin-left:auto}.studio-explorer button:active{transform:translateY(2px);border-bottom-width:1px}.studio-switches{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.studio-switches button{min-height:35px;padding:8px 12px;border:1px solid #4c5a7d;background:#1b2740;color:#d5e1fa;border-radius:3px;cursor:pointer;font-size:11px}.studio-switches button[aria-pressed=true]{border-color:#ac9ce1;background:#302944;color:#eddefa}.studio-switches .studio-cyber{margin-left:auto;font:8px/1.7 var(--pixel,monospace);color:#86edf5;border-color:#7860b6;background:#231b3b;box-shadow:0 3px #090918}.studio-switches .studio-cyber[aria-pressed=true]{color:#a5fbff;border-color:#71eaf4;background:#36204d}.studio-audio-note{font-size:10px;color:#91a4ca;line-height:1.7;margin:12px 0 20px}.studio-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:15px;border-top:1px solid #2f3c58;font-size:9px;line-height:1.7;color:#7f93b7}.studio-footer a{color:#bbc9e5;text-decoration:underline;text-underline-offset:3px}.world-studio button:focus-visible,.world-studio select:focus-visible,.world-studio input:focus-visible,.world-studio a:focus-visible{outline:3px solid #facc15;outline-offset:3px}#visitor-time{font-variant-numeric:tabular-nums}#world-settings,#ambient-toggle,#sfx-toggle{touch-action:manipulation}#weather-layer{contain:strict}
@media(max-width:760px){.studio-shell{padding:21px}.studio-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.studio-controls{grid-template-columns:1fr 1fr}.studio-bottom-grid{grid-template-columns:1fr}.studio-switches .studio-cyber{margin-left:0}.studio-footer{gap:8px}.studio-section-title>span{font-size:6px}.studio-header h2{font-size:22px}}
@media(max-width:480px){.world-studio{width:calc(100% - 14px);max-height:calc(100dvh - 14px)}.studio-shell{padding:15px}.studio-header{gap:10px;margin-bottom:17px}.studio-header h2{font-size:19px;margin:8px 0}.studio-eyebrow{font-size:6px;letter-spacing:.25px}.studio-header p{font-size:11px;line-height:1.7}.studio-close{width:32px;height:32px;font-size:25px}.studio-modes{gap:6px}.studio-modes button{padding:10px 8px}.studio-modes strong{font-size:9px}.studio-modes span{font-size:9px;line-height:1.5;display:block}.studio-local{padding:12px;grid-template-columns:1fr;gap:8px}.studio-local>div{gap:8px}.studio-clock{font-size:10px}.studio-zone{font-size:9px}.studio-local-status{font-size:10px}.studio-location{grid-column:1;grid-row:auto;justify-self:start;min-height:31px;font-size:10px}.studio-local small{font-size:8px}.studio-controls{gap:11px}.studio-controls label{font-size:10px}.studio-controls select{font-size:11px;height:36px}.studio-mode-note{font-size:9px;margin-bottom:20px}.studio-section-title{align-items:flex-start;gap:8px}.studio-section-title h3{font-size:10px}.studio-section-title>span{font-size:5px;max-width:80px;text-align:right}.studio-presets{grid-template-columns:1fr 1fr;gap:10px}.studio-preset strong{font-size:10px;margin:0 8px}.studio-preset span{font-size:8px;margin:4px 8px 0}.studio-art-note{font-size:9px;margin:12px 0 20px}.studio-panel{padding:13px}.studio-panel h3{font-size:9px}.studio-panel p{font-size:9px}.studio-switches{display:grid;grid-template-columns:1fr 1fr;gap:9px}.studio-switches button{padding:8px;font-size:10px}.studio-switches .studio-cyber{font-size:7px}.studio-audio-note{font-size:9px}.studio-footer{font-size:8px}.studio-color-row{gap:15px}}
@media(prefers-reduced-motion:reduce){body,.section-kicker,.strip-star,.text-link,.world-studio *{animation:none!important;transition:none!important}.studio-preset:hover,.studio-explorer button:active{transform:none}}
/* Native top-layer game scenery fills the space around an opaque game panel. */
dialog.scene-dialog{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;max-height:none!important;isolation:isolate}
dialog.scene-dialog::backdrop{background:#080c22!important;backdrop-filter:none!important}
.dialog-world-layer{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.dialog-world-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;pointer-events:none}
.dialog-world-shade{position:absolute;inset:0;background:linear-gradient(90deg,#03071924,#0307190d 20%,#03071955 50%,#0307190d 80%,#03071924);pointer-events:none}
.dialog-game-panel{position:relative;z-index:1;max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;width:100%}
.game-sound-toggle{margin-left:auto;align-self:center;flex:0 0 auto;min-height:33px;padding:7px 9px;background:#1c2942;color:#bcd6ed;border:1px solid #4c6484;border-bottom:3px solid #0a1224;border-radius:3px;font:700 10px/1.5 var(--body,system-ui,sans-serif);cursor:pointer;white-space:nowrap}
.game-sound-toggle[aria-pressed=true]{color:#c9f4b0;background:#233e34;border-color:#638b72}.game-sound-toggle:hover{filter:brightness(1.2)}.game-sound-toggle:focus-visible{outline:3px solid #facc15;outline-offset:3px}
@media(max-width:560px){.dialog-game-panel{max-height:calc(100dvh - 16px)}.game-sound-toggle{padding:6px;font-size:8px;min-height:29px}.scene-dialog header{gap:8px}.scene-dialog header>div:first-child{min-width:0;flex:1}.scene-dialog header h2{overflow-wrap:anywhere}.dialog-world-shade{background:#03071922}}
/* Consistent point colors; rainbow accents are reserved for special rewards. */
#arcade-score,#racer-score,.puzzle-score strong,#puzzle-score{color:#facc15}#arcade-best,#racer-best,#puzzle-best{color:#8ecbff}#quiz-points{color:#9ce3b8}#quiz-progress-label{color:#a4cfff}.quiz-final-score{color:#facc15}.coin-counter #coin-count{color:#ffe08b}

.studio-preset>.studio-landscape-art{display:block;width:100%;height:auto;aspect-ratio:240/110;object-fit:cover;image-rendering:auto;border-bottom:1px solid #4e6682;margin-bottom:10px;background:#18384c}.studio-preset:has(.studio-landscape-art){border-color:#586c7c;background:#14263a}.studio-preset:has(.studio-landscape-art) strong{color:#edebce}.studio-section-title>span{line-height:1.9;text-align:right}.dialog-world-canvas{image-rendering:auto}.dialog-world-shade{background:linear-gradient(90deg,#03071920,#03071914 20%,#03071977 50%,#03071914 80%,#03071920)}

.world-quick-gallery{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:23px clamp(22px,6vw,90px);background:#091426;border-block:1px solid #2c4457}.quick-world-intro>span{display:block;font:6px/1.8 var(--pixel);color:#b9d9c6;letter-spacing:1px;margin-bottom:9px}.quick-world-intro>strong{display:block;font-size:18px;color:#e9ecdc}.quick-world-studio{margin-top:12px;padding:0;background:none;border:0;color:#f1d675;font:6px/1.8 var(--pixel);cursor:pointer}.quick-world-choices{display:flex;gap:13px}.quick-world-choices>button{display:block;padding:0;position:relative;width:160px;height:95px;overflow:hidden;border:1px solid #638179;background:#193449;cursor:pointer;box-shadow:0 3px #142333}.quick-world-choices img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.quick-world-choices span{position:absolute;bottom:0;left:0;right:0;padding:17px 8px 7px;background:linear-gradient(transparent,#061326eb);color:#f6f4e1;font-size:10px;font-weight:800;text-align:left}.quick-world-choices button:hover img{transform:scale(1.05)}.quick-world-choices button[aria-pressed=true]{outline:2px solid #facc15;outline-offset:2px}.world-quick-gallery button:focus-visible{outline:3px solid #facc15;outline-offset:4px}@media(max-width:800px){.world-quick-gallery{gap:20px;padding:22px}.quick-world-intro>strong{font-size:15px}.quick-world-choices{gap:9px}.quick-world-choices>button{width:126px;height:85px}}@media(max-width:650px){.world-quick-gallery{display:block;padding:22px 20px 25px}.quick-world-intro{position:relative;margin-bottom:16px;padding-right:115px}.quick-world-intro>span{font-size:5px;margin-bottom:5px}.quick-world-intro>strong{font-size:15px}.quick-world-studio{position:absolute;right:0;top:7px;font-size:5px;max-width:105px;text-align:right;line-height:2}.quick-world-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quick-world-choices>button{width:100%;height:94px}.quick-world-choices span{font-size:9px;padding-inline:6px;line-height:1.5}}

@media(prefers-reduced-motion:reduce){.quick-world-choices img{transition:none}.quick-world-choices button:hover img{transform:none}}body[data-motion=off] .quick-world-choices img{transition:none}body[data-motion=off] .quick-world-choices button:hover img{transform:none}

.quick-weather{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px;padding-top:14px;border-top:1px solid #7490b133;margin-top:10px}.quick-weather>span{color:#a6bcd9;font-size:11px}.quick-weather button{background:#15263e;color:#bdeeff;border:1px solid #4b758c;border-bottom:3px solid #071020;padding:8px 13px;font-size:11px;min-height:36px;cursor:pointer}.quick-weather button:hover,.quick-weather button[aria-pressed=true]{background:#263551;color:#ffe780;border-color:#bf96e8}.quick-weather button:focus-visible{outline:3px solid #facc15;outline-offset:3px}

/* A visible, touch-friendly weather deck with an actual animated studio preview. */
.quick-weather{display:block;margin:0;padding:25px clamp(20px,6vw,90px);border-block:1px solid #455b87;background:linear-gradient(125deg,#141b37,#102a3b 65%,#25163e);position:relative;z-index:7}.weather-deck-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.weather-kicker{font:6px/1.8 var(--pixel);color:#91f7da;letter-spacing:1px}.weather-deck-heading h2{font:clamp(15px,2vw,23px)/1.7 var(--pixel);color:#ff8dd9;margin-top:6px}.weather-running{font:6px/1.8 var(--pixel);color:#b9f78c;background:#071b29;padding:9px 11px;border:1px solid #46736c}.weather-choices{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.weather-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:77px;padding:8px 3px;background:#12243d;border-color:#527b94;color:#e4f6ff;font-weight:800;box-shadow:0 3px #060c1f;transition:transform .2s,background .2s}.weather-choices button>span{font:26px/1 monospace;color:#8cdeff}.weather-choices button:nth-child(3n)>span{color:#f7a5ed}.weather-choices button:hover{transform:translateY(-3px)}.weather-choices button[aria-pressed=true]{background:#503b70;border-color:#f5cd64;box-shadow:0 3px #b67b2f;color:#fff3c0}.weather-deck-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:19px}.weather-deck-tools>label,.studio-preview-tools label{display:flex;align-items:center;gap:8px;font-size:12px;color:#c1d2e4}.weather-deck-tools select,.studio-preview-tools select{background:#101c32;border:1px solid #6883aa;color:#e9f2ff;padding:8px;min-height:38px;border-radius:3px}.weather-deck-tools .quick-weather-settings{margin-left:auto;color:#ffd783}.weather-help{font-size:11px;color:#b4c3d9;margin-top:12px}.studio-weather-preview{position:relative;height:185px;overflow:hidden;isolation:isolate;background-size:cover;background-position:center;border:1px solid #6885a1;border-radius:5px}.studio-weather-preview>span{position:absolute;z-index:8;bottom:10px;left:12px;font:6px/1.8 var(--pixel);background:#071625d9;color:#c5ffe4;padding:7px}.studio-preview-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 22px}.studio-preview-tools button{font-size:11px;color:#d2e9ff;border:1px solid #577795;background:#172b45;padding:9px}.world-studio::backdrop{background:#030719a0;backdrop-filter:blur(3px)}
@media(max-width:1050px){.weather-choices{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:560px){.quick-weather{padding:22px 16px}.weather-deck-heading{display:block}.weather-running{display:inline-block;margin-top:12px;font-size:5px}.weather-kicker{font-size:5px}.weather-choices{gap:7px}.weather-choices button{font-size:9px;min-height:73px;line-height:1.4}.weather-choices button>span{font-size:23px}.weather-deck-tools{gap:8px}.weather-deck-tools button{font-size:10px;padding:8px}.weather-deck-tools .quick-weather-settings{margin-left:0}.studio-weather-preview{height:150px}}

.weather-sliders{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:16px;padding-top:13px;border-top:1px solid #637ea444;width:100%}.weather-sliders label{display:flex;align-items:center;gap:9px;color:#c4d9ef;font-size:11px}.weather-sliders input{width:110px;accent-color:#cd7cff;cursor:pointer}.weather-sliders output{min-width:32px;color:#9cf8cd;font-variant-numeric:tabular-nums}.weather-sliders label:last-child input{accent-color:#71e1cf}@media(max-width:560px){.weather-sliders{display:grid;grid-template-columns:1fr;gap:9px}.weather-sliders label{display:grid;grid-template-columns:85px 1fr 40px}.weather-sliders input{width:100%}}
