/* Responsive gameplay surfaces and screenshot-driven contrast/overflow fixes. */
#arcadeGamePanel{left:3%!important;right:3%!important;top:3%!important;bottom:3%!important;display:flex;flex-direction:column;gap:7px;overflow:auto!important}
#arcadeGamePanel.hidden{display:none!important}
#arcadeGamePanel .activity-title{flex:none;padding-right:45px}#arcadeGamePanel .activity-sub{flex:none;max-width:95%!important;line-height:1.35!important;margin:0!important}
#arcadeGamePanel .score-line{flex:none;margin:0!important}#arcadeGamePanel #arcadeArena{position:relative!important;flex:1;min-height:200px!important;height:auto!important;margin:0!important;overflow:hidden;border-radius:14px}
#arcadeGamePanel .activity-start{flex:none;margin:0!important;min-height:34px!important}
#arcadeArena.refined-arena{display:flex;flex-direction:column;background:#102c3a!important;padding:0!important;gap:0!important}
.refined-hud{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#173e49;color:#ffedc9;padding:6px 12px;font:700 14px/1.3 system-ui;min-height:28px;flex:none}
.refined-hud .run-score{color:#ffe0a0}.refined-hud .run-health{color:#b9ebcf}.refined-hud button{border:1px solid #d6bb83;background:#244e58;color:#ffebc7;border-radius:8px;padding:6px 12px;font:800 12px system-ui;cursor:pointer}
.refined-stage{position:relative;flex:1;min-height:100px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#102632}
.refined-stage canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none;outline:none;cursor:crosshair}
.refined-stage canvas:focus-visible{outline:2px solid #ffe2a2;outline-offset:-3px}
.run-overlay{position:absolute;inset:0;background:#102632ee;z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#ffe3ae}.run-overlay[hidden]{display:none}.run-overlay b{font-size:28px}.run-overlay span{font:15px system-ui}.run-resume{background:#e8bc7c;border:2px solid #fff0cd;color:#163b45;padding:12px 25px;border-radius:12px;font-weight:900;cursor:pointer}
.refined-controls{display:flex;justify-content:center;gap:10px;align-items:center;background:#153641;padding:6px;flex:none;min-height:30px}.refined-controls button{background:#e6bb7f;color:#163a45;border:2px solid #ffe7b9;border-radius:10px;padding:8px 20px;font:900 13px system-ui;touch-action:none;user-select:none;cursor:pointer}.refined-controls button:active{background:#a7dbc5}.refined-controls>span{font:800 12px system-ui;color:#c8ddd4}
.refined-announcement{font:12px/1.35 system-ui!important;background:#102c38;color:#d1e6de;padding:5px 12px;min-height:17px;flex:none}
.snacks-v1 .snack-pop-panel.open{top:8%!important;bottom:6%!important;max-height:86%!important;overflow-y:auto!important;z-index:110!important;box-sizing:border-box!important;padding:18px!important}
.snacks-v1 #snackMenuPanel{left:6%!important;width:66%!important}.snacks-v1 #snackMenuPanel h3{color:#fff0d1!important;margin:14px 0 12px!important;padding-right:30px}
.snacks-v1 .weird-menu-items .snack-ticket{background:#244c58!important;border-color:#94aca0!important;grid-template-columns:68px minmax(0,1fr) auto!important;min-height:88px!important;padding:10px!important;color:#fff1d2!important}
.snacks-v1 .weird-menu-items .snack-ticket b{color:#fff1d2!important;font-size:15px!important;line-height:1.25!important}.snacks-v1 .weird-menu-items .snack-ticket small{color:#cfe1d8!important;font-size:12px!important;line-height:1.3!important}.snacks-v1 .weird-menu-items .snack-ticket em{color:#f2c989!important;font-size:11px!important}.snacks-v1 .weird-menu-items .snack-ticket strong{color:#143b45!important;background:#efd29c!important;font-size:12px!important;align-self:start}.snacks-v1 .snack-ticket-art{width:64px!important;height:64px!important}
.snacks-v1 .weird-menu-items{grid-template-columns:1fr!important;gap:9px!important}.snacks-v1 #snackMixerPanel{width:63%!important;left:29%!important}.snack-pop-close{position:sticky!important;top:0!important;float:right;z-index:3}
@media(max-width:850px){#arcadeGamePanel{left:1%!important;right:1%!important;top:1%!important;bottom:1%!important;gap:4px;padding:9px!important}#arcadeGamePanel .activity-title{font-size:20px!important}#arcadeGamePanel .activity-sub{font-size:12px!important}.refined-hud{font-size:12px;padding:4px 8px}.refined-hud button{padding:4px 8px}.refined-controls{gap:6px;padding:4px}.refined-controls button{font-size:12px;padding:6px 12px}.refined-announcement{font-size:11px!important;padding:4px 8px}.snacks-v1 #snackMenuPanel{left:4%!important;width:82%!important}.snacks-v1 #snackMixerPanel{left:9%!important;width:82%!important}}
.room-snacks:has(.snack-pop-panel.open) .players-layer{visibility:hidden}
.room-arcade:has(#arcadeGamePanel:not(.hidden)){min-height:clamp(420px,calc(100dvh - 210px),620px)}
.snacks-v1 .snack-pop-panel::before{display:none!important}
.ddr-panel.lightstep-refined{left:20%!important;right:20%!important;top:4%!important;bottom:4%!important;display:flex;flex-direction:column;gap:8px;padding:15px!important;z-index:120!important}.ddr-panel.lightstep-refined.hidden{display:none!important}.lightstep-refined .ddr-title{font-size:23px;color:#ffe2ac}.rhythm-close{position:absolute;right:10px;top:8px;background:#315460;color:#ffe2ac;border:2px solid #e6bd80;border-radius:50%;width:30px;height:30px;cursor:pointer}.rhythm-hud{display:flex;align-items:center;justify-content:space-around;font:800 14px system-ui;color:#c6ead8}.rhythm-pause{background:#315462;color:#ffe3b0;border:1px solid #e2bb83;border-radius:8px;padding:5px 10px}.rhythm-lanes{position:relative;flex:1;min-height:150px;display:grid;grid-template-columns:repeat(4,1fr);background:#102c3a;border:2px solid #7daca6;border-radius:14px;overflow:hidden}.rhythm-lane{position:relative;border-right:1px solid #8eb8b533}.rhythm-lane>b{position:absolute;left:0;right:0;top:78%;transform:translateY(-50%);font:900 30px system-ui;color:#d4bc80;text-align:center}.note-stream{position:absolute;inset:0}.rhythm-note{position:absolute;left:20%;right:20%;height:40px;transform:translateY(-50%);background:#a6dfca;border:2px solid #f7efca;border-radius:9px;color:#173b44;font:900 30px/36px system-ui;box-shadow:0 3px 12px #0005;text-align:center}.rhythm-line{position:absolute;left:0;right:0;top:78%;border-top:2px solid #eac98d;pointer-events:none}.rhythm-paused{position:absolute;inset:0;background:#132e42e8;display:grid;place-items:center;font:900 28px system-ui;color:#ffe1ad}.rhythm-paused[hidden]{display:none}.rhythm-judge{color:#ffdfa0!important;font:800 14px/1.3 system-ui!important;min-height:20px;text-align:center}.lightstep-refined .ddr-pads{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.lightstep-refined .ddr-pads button{background:#2a5260;color:#ffe2ac;border:2px solid #d0b77f;border-radius:10px;font-size:25px;min-height:40px}.lightstep-refined .ddr-pads button.pressed{background:#a5dac3;color:#123a46}.lightstep-refined small{font:11px system-ui;color:#bdd6d1}.room-dance:has(.lightstep-refined:not(.hidden)){min-height:clamp(440px,calc(100dvh - 210px),620px)}.room-dance:has(.lightstep-refined:not(.hidden)) .players-layer{visibility:hidden}
@media(max-width:850px){.ddr-panel.lightstep-refined{left:5%!important;right:5%!important}.lightstep-refined .ddr-title{font-size:21px}.rhythm-note{left:12%;right:12%}}
.spaceport-v1 .dest-voyage{left:51.5%!important;top:41%!important;width:10.5%!important;height:19%!important}
.room-voyage .voyage-directory{position:absolute;left:5%;right:5%;top:9%;bottom:9%;padding:18px;background:#123844ed;border:3px solid #d0b27a;border-radius:18px;overflow:auto;z-index:6}.voyage-directory>div:first-child{color:#f1c587}.voyage-directory h2{margin:3px 0 14px;color:#fff0d2;font-size:24px}.voyage-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.voyage-list button{background:#28515b;color:#fff0d0;border:2px solid #9db4a2;border-bottom-width:5px;border-radius:13px;padding:15px;text-align:left;cursor:pointer}.voyage-list button:hover{background:#3b6470;border-color:#ffe2a1}.voyage-list b{display:block;font-size:15px}.voyage-list small{display:block;color:#d5d9bd;font:11px system-ui;margin-top:6px}.room-voyage:has(#arcadeGamePanel:not(.hidden)) .voyage-directory{visibility:hidden}.room-voyage .refined-controls{flex-wrap:wrap}.room-voyage .refined-controls button{padding:7px 12px}.room-voyage .players-layer{visibility:hidden}
/* Project light onto the painted elliptical floor; no floating tiled slab. */
.dance-v1 .dance-floor-perspective{left:8%!important;right:6%!important;top:57%!important;bottom:5%!important;width:auto!important;height:auto!important;transform:none!important;display:block!important;clip-path:ellipse(49% 46% at 50% 50%);border:0!important;box-shadow:none!important;background:radial-gradient(ellipse at 30% 55%,#6ae0cc35,transparent 35%),radial-gradient(ellipse at 70% 50%,#e5a4d830,transparent 40%)!important;pointer-events:none!important;mix-blend-mode:screen;opacity:.7}
.dance-v1 .dance-floor-perspective i{position:absolute!important;left:calc(8% + mod(var(--i),6)*15%);top:calc(12% + mod(var(--i),3)*23%);width:18%!important;height:45%!important;border-radius:50%!important;border:0!important;background:radial-gradient(ellipse,#80edc933,transparent 70%)!important;box-shadow:none!important;animation:floorGlow 2.4s ease-in-out calc(var(--i)*-.23s) infinite alternate!important}
@keyframes floorGlow{to{opacity:.2;filter:hue-rotate(95deg);transform:translate(10%,-15%) scale(.7)}}
.dance-v1 .dance-console{left:24%!important;right:24%!important;top:4%!important;bottom:auto!important;display:flex!important;align-items:center;justify-content:center;gap:8px!important;padding:8px!important;border:2px solid #a8ba9d;border-radius:14px;background:#123a47eb!important;overflow:visible;z-index:35!important}.dance-v1 .dance-console>button{flex:1;padding:10px 8px!important;min-height:38px;background:#2e5963;color:#ffebc5;border:1px solid #aeae83;border-radius:9px;font:800 12px system-ui!important}.dance-v1 .dance-tracks{position:absolute!important;left:0;right:0;top:calc(100% + 8px);display:grid!important;grid-template-columns:1fr 1fr;gap:7px;background:#153c49f5;border:2px solid #cdb17b;border-radius:13px;padding:10px}.dance-v1 .dance-tracks.hidden{display:none!important}.dance-v1 .dance-tracks button{padding:10px!important;font:800 12px/1.4 system-ui!important;background:#2b4d5b;color:#fff0d1}.room-dance{min-height:480px}
.player.avatar-action[class*="dance-"] .sw-arms,.player.avatar-action[class*="dance-"] .sw-gloves,.player.avatar-action[class*="dance-"] .sw-legs,.player.avatar-action[class*="dance-"] .sw-boots{animation:none!important}
.player.avatar-action[class*="dance-"] .sw-arm-left,.player.avatar-action[class*="dance-"] .sw-glove-left{animation:danceArmLeft .48s ease-in-out infinite alternate!important}.player.avatar-action[class*="dance-"] .sw-arm-right,.player.avatar-action[class*="dance-"] .sw-glove-right{animation:danceArmRight .48s ease-in-out infinite alternate!important}.player.avatar-action[class*="dance-"] .sw-leg-left,.player.avatar-action[class*="dance-"] .sw-boot-left{animation:rebirthStep .48s ease-in-out infinite!important}.player.avatar-action[class*="dance-"] .sw-leg-right,.player.avatar-action[class*="dance-"] .sw-boot-right{animation:rebirthStep .48s ease-in-out -.24s infinite!important}
@keyframes danceArmLeft{from{transform:rotate(15deg)}to{transform:rotate(-35deg)}}@keyframes danceArmRight{from{transform:rotate(35deg)}to{transform:rotate(-15deg)}}
/* Sequencer and live custom creation bench. */
.jams-studio{position:absolute;left:4%;width:54%;top:12%;bottom:10%;box-sizing:border-box;background:#143b49f5;border:3px solid #cbb27c;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:15px;overflow:auto;z-index:35;color:#fff0d1}.studio-heading span{display:block;font:800 11px system-ui;color:#e5c085;letter-spacing:.12em}.studio-heading b{display:block;font-size:23px;margin-top:7px}.studio-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.studio-toolbar button{background:#d4b782;color:#173c46;border:2px solid #f5dfb2;border-radius:9px;padding:9px;font:800 12px system-ui}.studio-toolbar label{display:flex;align-items:center;gap:5px;font:11px system-ui}.studio-toolbar input{width:100px}.studio-scroll{overflow:auto;flex:1;display:flex;align-items:center}.studio-grid{display:grid;grid-template-columns:52px repeat(16,minmax(18px,1fr));gap:5px;min-width:460px;width:100%;align-items:center}.studio-grid>b{font:800 10px system-ui;color:#d4dbc3}.studio-grid button{height:39px;border:1px solid #557d83;border-radius:6px;background:#16313f;cursor:pointer}.studio-grid button:nth-child(4n){border-left-color:#d5b681}.studio-grid button.on{background:#b2d7bd;border-color:#d3efd3;box-shadow:0 0 8px #b4e1b344}.studio-grid button.playing{outline:2px solid #f4d395;outline-offset:1px}.studio-help{font:12px/1.5 system-ui;color:#c6dcd2}.room-jams .jams-card{right:4%!important;width:32%!important;top:12%!important;bottom:10%!important;display:flex;flex-direction:column;justify-content:center;gap:12px;box-sizing:border-box;padding:15px!important;overflow:auto}.room-jams{min-height:500px}.room-jams .jams-card .jam-pad{margin:0 auto!important}
.labs-v1 .labs-workbench{left:4%!important;width:49%!important;top:12%!important;bottom:10%!important;padding:20px!important;box-sizing:border-box;background:#143a48f5!important;display:flex;flex-direction:column;gap:12px;overflow:auto}.labs-v1 .labs-bench-title{font-size:16px!important}.labs-v1 .labs-bench-title b{font-size:24px!important}.labs-v1 .labs-step{display:flex!important;gap:7px!important;flex-wrap:wrap!important;align-items:center}.labs-v1 .labs-step>b{width:100%;color:#e8c68e;font:800 12px system-ui!important}.labs-v1 .labs-step button{padding:9px 13px!important;border:2px solid #789d97!important;background:#254c59;color:#fff0d1;border-radius:9px;font:800 12px system-ui!important}.labs-v1 .labs-step button.active{background:#dec08a!important;color:#173c46!important;border-color:#ffe8bc!important}.labs-v1 .labs-display{right:4%!important;left:57%!important;width:auto!important;top:15%!important;bottom:12%!important;background:#173b48d9!important;border:2px solid #a4b99d!important;border-radius:20px!important;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:18px;box-sizing:border-box}.labs-avatar .starwalker-svg{width:170px!important;height:270px!important}.labs-v1 .labs-object{width:200px!important;height:200px!important}.labs-v1 .labs-object .furn-art{position:relative;width:100%!important;height:100%!important}.labs-v1 .labs-display-label{font:800 12px system-ui!important;letter-spacing:.15em;color:#e8c68e}.room-labs{min-height:540px}
@media(max-width:850px){.voyage-list{grid-template-columns:1fr 1fr}.voyage-list button{padding:11px}.voyage-list b{font-size:12px}.dance-v1 .dance-console{left:20%!important;right:20%!important;top:5%!important;gap:4px!important}.dance-v1 .dance-console>button{font-size:10px!important;padding:7px 3px!important}.jams-studio{left:3%;width:58%;top:10%;bottom:8%;padding:12px}.studio-heading b{font-size:19px}.room-jams .jams-card{right:3%!important;width:33%!important;padding:9px!important}.room-jams .jams-card .activity-title{font-size:18px!important}.room-jams .jams-card .jam-pad{width:100px!important;height:100px!important}.labs-v1 .labs-workbench{padding:12px!important;gap:9px!important}.labs-v1 .labs-step button{padding:7px 9px!important;font-size:11px!important}.labs-v1 .labs-bench-title b{font-size:20px!important}.labs-avatar .starwalker-svg{width:125px!important;height:220px!important}.labs-v1 .labs-object{width:140px!important;height:140px!important}.labs-v1 .labs-display>b{font-size:12px!important}}
#arcadeGamePanel{width:auto!important;height:auto!important;transform:none!important;min-height:0!important;box-sizing:border-box!important;background:#153340fc!important;border-color:#d0a472!important}
.room-voyage .voyage-directory{bottom:18%!important}
.room-voyage:not(:has(#arcadeGamePanel:not(.hidden))) .players-layer{visibility:visible}
#arcadeGamePanel{height:94%!important;align-self:auto!important;overflow:hidden!important}
@media(max-width:850px){#arcadeGamePanel{height:98%!important}}
.stepline-launch{position:absolute;left:4%;width:54%;top:auto;bottom:4%;height:48px;z-index:40;background:#e1bf83;color:#163c47;border:2px solid #ffdfab;border-radius:12px;font:900 13px system-ui;cursor:pointer}.stepline-launch small{display:block;font:10px system-ui;margin-top:3px}.room-jams .jams-studio{bottom:17%}.stepline-dialog{width:calc(100vw - 28px);max-width:none;height:calc(100dvh - 28px);max-height:none;padding:0;border:3px solid #bca578;border-radius:14px;background:#112e3c;overflow:hidden;box-sizing:border-box}.stepline-dialog::backdrop{background:#071822e8}.stepline-dialog iframe{display:block;width:100%;height:100%;border:0}
.player.avatar-action.dance-raptor_two_step .avatar-wrap{animation:v101SignalStep .55s steps(2,end) infinite!important}
@media(max-width:850px){.stepline-launch{left:3%;width:58%;font-size:11px}.stepline-launch small{font-size:8px}}
.studio-scroll{display:block;flex:none;min-height:180px;padding:4px;box-sizing:border-box}.studio-grid{min-height:171px}
/* Let tool panels sit above actors while room art stays behind them. */
.room-jams #sceneLayer,.room-labs #sceneLayer,.room-snacks #sceneLayer,.room-dance #sceneLayer{z-index:auto}
.labs-v1 .labs-workbench{max-height:none!important;height:auto!important;z-index:40}.labs-v1 .labs-display{z-index:39}
.studio-grid{grid-template-columns:42px repeat(16,minmax(12px,1fr));min-width:320px;gap:3px}
.snacks-v1 #snackMenuPanel.open{display:flex!important;flex-direction:column;overflow:hidden!important}.snacks-v1 #snackMenuPanel .weird-menu-items{flex:1;min-height:0;overflow-y:auto;display:block!important;padding-right:7px;scrollbar-gutter:stable}.snacks-v1 #snackMenuPanel .snack-ticket{margin-bottom:9px}.snacks-v1 #snackMenuPanel .snack-pop-close{position:absolute!important;top:12px!important;right:12px!important;float:none}.menu-scroll-hint{color:#c9ded4;font:12px system-ui;margin:0 0 10px}.room-banner{pointer-events:none}.room-dance .room-banner,.room-jams .room-banner,.room-labs .room-banner,.room-snacks:has(.snack-pop-panel.open) .room-banner{display:none}
.room-arcade:has(#arcadeGamePanel:not(.hidden)) .return-plaza{visibility:hidden}
.labs-v1 #creatorMake:disabled{opacity:1!important;background:#3d5860!important;color:#e1d5b9!important;border-color:#829d96!important}
