/* Shared arcade layout and touch controls. Each scene has its own play surface. */
.arcade-pickers{display:grid;grid-template-columns:1.1fr 1fr;gap:12px;margin:0 20px 19px}.arcade-pickers .select-label{margin:0;min-width:0}.arcade-pickers select{font-size:16px;padding-left:9px;padding-right:5px;text-overflow:ellipsis}
.nav-item{min-width:0;flex:1}.bottom-nav{gap:4px;padding-left:10px;padding-right:10px}.level-button .arc-glyph{width:34px;height:34px}.level-number{position:absolute;right:-7px;bottom:-7px;min-width:24px;height:24px;border:3px solid #fffdf9;border-radius:50%;background:#ffdf82;color:#715025;font-size:11px;display:grid;place-items:center;line-height:1;font-weight:800}.unlocked:not(.finished) .level-button:before{display:none}.stop-0.unlocked:not(.finished) .level-button:before{display:block}.arc-glyph{width:42px;height:42px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.arcade-hub{padding-bottom:25px}.arcade-hub .page-intro{padding-bottom:16px}.arcade-hub .page-intro h1{font-size:29px}.demo-banner{margin:0 20px 21px;display:flex;gap:10px;background:#fff0d0;border:1px solid #ffe2a2;border-radius:17px;padding:13px 15px;color:#906127}.demo-banner>.icon{width:24px;height:24px;color:#d49a27;align-self:center}.demo-banner strong{display:block;font-size:14px}.demo-banner span{display:block;font-size:12px;color:#9d794c;line-height:1.5}.arcade-catalog{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:0 20px}.arcade-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;border:1.5px solid color-mix(in srgb,var(--arc) 25%,white);border-radius:23px;background:white;padding:9px 9px 13px;box-shadow:0 5px 0 color-mix(in srgb,var(--arc) 19%,white);overflow:hidden}.arcade-card-art{height:105px;position:relative;border-radius:15px;background:color-mix(in srgb,var(--arc) 21%,white);overflow:hidden;display:grid;place-items:center;color:var(--arc)}.arcade-card-art>.arc-glyph{width:58px;height:58px;stroke-width:1.7;position:relative;filter:drop-shadow(0 4px 0 #ffffff90);z-index:1;transform:rotate(-8deg)}.arcade-card-art b{position:absolute;top:7px;left:8px;background:#ffffffaa;font-size:10px;border-radius:7px;padding:1px 7px;line-height:1.9}.arcade-card-art>i{position:absolute;width:54px;height:54px;border-radius:50%;right:-12px;top:-14px;border:9px solid #ffffff60}.arcade-card-art:after{content:'';position:absolute;width:100px;height:40px;left:-15px;bottom:-15px;border-radius:50%;background:#ffffff50;transform:rotate(15deg)}.mini-scene{position:absolute;inset:0;background:radial-gradient(circle at 20% 32%,#ffffff90 0 3px,transparent 4px),radial-gradient(circle at 80% 70%,#ffffff90 0 5px,transparent 6px)}.arcade-card strong{font-size:16px;line-height:1.3;margin:12px 4px 2px;letter-spacing:-.25px}.arcade-card small{font-size:10px;line-height:1.5;color:#94839f;margin:0 4px 11px}.arcade-card-play{display:flex;align-items:center;gap:4px;justify-content:center;border-radius:10px;background:color-mix(in srgb,var(--arc) 12%,white);color:color-mix(in srgb,var(--arc) 72%,#413552);min-height:32px;font-weight:800;font-size:12px;margin:0 3px}.arcade-card-play .icon{width:12px;height:12px}.card-race .arcade-card-art,.card-fireflies .arcade-card-art,.card-rocket .arcade-card-art{background:#434c7b;color:#d2dcff}.card-fireflies .arcade-card-art{background:#364d69;color:#a6e5cb}.card-garden .arcade-card-art,.card-maze .arcade-card-art{background:#d1eeca}.card-rhythm .arc-glyph{transform:rotate(8deg)}.card-hatch .arcade-card-art .arc-glyph{width:66px;height:66px;color:#fff3d8;fill:#f8be68;stroke:#d7933d}.card-tower .arcade-card-art:after{border-radius:8px;left:24px;bottom:-15px;width:45px;height:40px;background:#e9ae72}.card-fishing .arcade-card-art:after{border-radius:50%;width:220px;left:-20px;background:#93dae9}.game-screen:has(.arcade-game) #game-content{padding-bottom:22px}.game-screen:has(.arcade-game) .game-topbar{padding-top:13px;padding-bottom:8px}.game-screen:has(.arcade-game) .game-star{font-size:12px}.game-screen:has(.arcade-game) .game-star .icon{width:17px;height:17px}.arc-heading{text-align:center;margin:9px 0 13px}.arc-heading .eyebrow{font-size:10px;color:color-mix(in srgb,var(--arc) 68%,#604278)}.arc-heading h1{font-size:27px;line-height:1.2;margin:5px 0 8px;letter-spacing:-.6px;outline:none}.arc-heading p{font-size:13px;line-height:1.5;min-height:39px;color:#8b779b;max-width:330px;margin:auto}.arc-cue{display:flex;align-items:center;gap:10px;margin:0 0 13px;padding:8px;background:color-mix(in srgb,var(--arc) 9%,white);border:1px solid color-mix(in srgb,var(--arc) 16%,white);border-radius:16px;min-height:61px}.arc-hear{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#fff;border-radius:12px;color:var(--arc);min-width:54px;min-height:45px;padding:4px 7px;box-shadow:0 2px 0 #00000009}.arc-hear .icon{width:23px;height:23px}.arc-hear span{font-size:8px;white-space:nowrap;font-weight:800}.arc-target{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.arc-target>img{width:38px;height:38px;object-fit:contain;border-radius:7px;mix-blend-mode:multiply}.arc-target strong{font-size:19px;line-height:1.1;overflow-wrap:anywhere}.arc-secret{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:700;color:#a082a0;flex:1}.arc-secret .icon{width:17px;height:17px}.arc-pause{min-width:44px;height:44px;border-radius:12px;background:#ffffffb0;color:var(--arc);font-weight:800;font-size:22px}.arc-scene{height:min(41dvh,345px);min-height:265px;position:relative;border-radius:25px;overflow:hidden;background:#eef7fb;border:2px solid #ffffffa0;box-shadow:0 4px 0 #eee7f5;isolation:isolate;touch-action:pan-y}.arc-scene img{pointer-events:none;user-select:none;-webkit-user-select:none}.arc-status{min-height:48px;font-size:13px;line-height:1.5;text-align:center;color:#ac7890;padding:13px 3px 8px;display:flex;align-items:center;justify-content:center;gap:7px}.arc-status.arc-won{color:#248563}.arc-status strong{font-size:18px}.arc-status>.icon{width:22px;height:22px}.arc-controls{min-height:68px;padding:5px 0 12px;text-align:center}.arc-control{min-width:50px;min-height:50px;padding:10px 16px;border-radius:15px;background:color-mix(in srgb,var(--arc) 88%,#514158);color:white;box-shadow:0 4px 0 color-mix(in srgb,var(--arc) 70%,#453057);border:2px solid #ffffff40;font-size:17px;font-weight:800;line-height:1.2;touch-action:manipulation}.arc-control:disabled{opacity:.4}.arc-control:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 0 color-mix(in srgb,var(--arc) 70%,#453057)}.arc-control[data-primary]{width:100%;background:#17a782;box-shadow:0 4px 0 #108565}.arc-control[aria-pressed="true"]{background:#ffdd79;color:#6d4d34;box-shadow:0 4px 0 #dab153}.arc-row{display:flex;gap:12px;justify-content:center;align-items:center}.arc-row>.arc-control:nth-child(2){flex:1}.arc-tip{font-size:13px;color:#9e89ad;line-height:1.6;display:block;padding:4px 8px;max-width:310px;margin:auto}.arc-token{position:relative;background:white;padding:7px;min-width:48px;min-height:48px;border:2px solid #e8dff2;border-radius:17px;box-shadow:0 4px 0 #dfd4ea;z-index:2;touch-action:none}.arc-token img{width:100%;height:100%;object-fit:contain}.arc-token.selected{outline:3px solid #d19fe6;outline-offset:2px;border-color:#ba85d7}.arc-scene.paused:after{content:'Đã dừng chuyển động';position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:#443857cc;color:white;border-radius:12px;padding:5px 10px;font-size:10px;white-space:nowrap;z-index:12;pointer-events:none}
/* Hatch: a tactile egg with three cracks and a picture inside. */
.scene-hatch{background:radial-gradient(ellipse at 50% 65%,#fff7d7 0,#faefca 65%,#f1e3ba 100%)}.hatch-nest{position:absolute;inset:0;display:grid;place-items:center}.hatch-nest:after{content:'';position:absolute;bottom:15%;width:190px;height:50px;border-radius:50%;border:15px solid #bd9973;border-top-color:#d2b187;background:#b18a62;z-index:0}.magic-egg{width:158px;height:200px;position:relative;z-index:1;background:none;padding:0;border-radius:51% 51% 47% 47%;margin-top:-14px;overflow:visible;box-shadow:0 7px 0 #b5965f22;touch-action:manipulation}.egg-shell{position:absolute;inset:0;background:linear-gradient(120deg,#fff5d9,#f7d798);border:5px solid #fff8e3;border-radius:52% 52% 46% 46%;overflow:hidden;box-shadow:inset -10px -7px 0 #d7b46e22}.egg-shell i,.egg-shell b,.egg-shell em{position:absolute;border-radius:50%;width:30px;height:43px;background:#d7a8de;transform:rotate(-25deg);top:35px;left:27px}.egg-shell b{width:35px;height:26px;background:#a5cfca;top:99px;left:86px;transform:rotate(25deg)}.egg-shell em{width:25px;height:30px;background:#e7a6ad;top:145px;left:34px;transform:rotate(10deg)}.egg-shell svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#b59165;stroke-width:3;stroke-dasharray:180;stroke-dashoffset:180;transition:stroke-dashoffset .2s}.crack-1 .egg-shell svg{stroke-dashoffset:120}.crack-2 .egg-shell svg{stroke-dashoffset:40}.egg-surprise{position:absolute;inset:0;display:grid;place-items:center;background:white;border-radius:30px;padding:10px;transform:scale(.85)}.egg-surprise img{width:100%;height:100%;object-fit:contain}.hatched .egg-shell{transform:translateY(80px) rotate(30deg);opacity:0;transition:transform .4s,opacity .3s}.hatched .egg-surprise{transform:scale(1.08);transition:transform .3s;box-shadow:0 0 0 8px #fff4c6}.egg-taps{position:absolute;bottom:5%;display:flex;gap:8px}.egg-taps span{width:10px;height:10px;background:#dcc99f;border-radius:50%}.egg-taps .done{background:#bf9757}.nest-leaf{position:absolute;bottom:21%;left:13%;width:35px;height:65px;background:#a9c796;border-radius:100% 0;transform:rotate(-25deg)}.nest-leaf.l2{left:auto;right:12%;transform:rotate(70deg);background:#b4cf9f}
/* Fishing: moving fish, a sweeping hook and a timed cast. */
.scene-fishing{background:#c5eef4}.fishing-sky{position:absolute;inset:0 0 67%;background:#cceef4}.fishing-cloud{position:absolute;top:15px;right:22px;width:55px;height:17px;border-radius:30px;background:white;opacity:.8}.fishing-cloud:before{content:'';position:absolute;width:28px;height:28px;border-radius:50%;background:inherit;bottom:3px;left:12px}.fishing-boat{width:75px;height:85px;position:absolute;bottom:-10px;left:calc(50% - 37px);z-index:3}.fishing-boat .mascot{width:68px;height:68px;position:absolute;bottom:15px;left:4px}.fishing-boat>span{width:75px;height:25px;border-radius:6px 6px 40px 40px;background:#d09d6c;position:absolute;bottom:0;box-shadow:inset 0 6px 0 #edc891}.lake-water{position:absolute;inset:30% -20px 0;background:repeating-linear-gradient(175deg,#9cdeea 0 22px,#a9e7f0 23px 45px);border-radius:45% 45% 0 0/12% 12% 0 0;border-top:5px solid #daf7f9}.fishing-hook{position:absolute;top:32%;height:16%;transform:translateX(-50%);z-index:4;pointer-events:none}.hook-rope{width:2px;height:38px;background:#6c8392;display:block;transition:height .35s}.hook-rope.casting{height:140px}.fishing-hook b{font-family:Arial,sans-serif;font-weight:500;font-size:24px;line-height:.6;display:block;transform:translateX(-9px);color:#667384}.swimming-fish{position:absolute;width:72px;height:56px;background:#fff1c8;border-radius:45%;transform:translate(-50%,-50%);padding:6px;box-shadow:0 4px 0 #4f9da328}.swimming-fish img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.swimming-fish>i{position:absolute;width:23px;height:35px;background:#e8c481;left:-14px;top:10px;clip-path:polygon(0 0,100% 50%,0 100%);z-index:-1}.fish-1{background:#f5d5e8}.fish-1>i{background:#d49fb8}.fish-2{background:#dcd5f6}.fish-2>i{background:#b6a5db}.lake-reed{position:absolute;width:10px;height:59px;bottom:-10px;border-radius:10px;background:#74bba6;transform:rotate(-12deg);left:14px}.lake-reed:before{content:'';position:absolute;width:7px;height:44px;left:14px;background:#92cfba;border-radius:10px;transform:rotate(22deg)}.reed-two{left:auto;right:15px;transform:rotate(12deg)}
/* Feed: draggable vocabulary tokens and a hungry, friendly creature. */
.scene-feed{background:radial-gradient(circle at 50% 20%,#fff2e1,#ffe5e2 75%)}.monster-friend{position:absolute;left:50%;top:11%;transform:translateX(-50%);width:175px;height:160px;background:#b39bdc;border-radius:45% 45% 35% 35%;box-shadow:inset -8px -6px 0 #7d64ad22}.monster-horns:before,.monster-horns:after{content:'';position:absolute;width:31px;height:48px;border-radius:100% 0;background:#eacb86;top:-20px;left:15px;transform:rotate(-35deg);z-index:-1}.monster-horns:after{left:auto;right:15px;transform:rotate(125deg)}.monster-eyes{position:absolute;top:27px;left:33px;display:flex;gap:35px}.monster-eyes i{background:white;width:37px;height:39px;border-radius:50%;position:relative;box-shadow:0 3px 0 #9e86c5}.monster-eyes i:after{content:'';position:absolute;width:13px;height:17px;border-radius:50%;background:#493e68;top:13px;left:14px}.monster-mouth{position:absolute;left:36px;right:36px;top:83px;height:59px;border-radius:15px 15px 45% 45%;background:#5d3d79;box-shadow:inset 0 5px 0 #3a2c4d22;padding:0;overflow:hidden;min-height:50px}.monster-mouth>span{position:absolute;left:24px;right:24px;height:12px;top:0;background:#fff6de;border-radius:0 0 7px 7px}.monster-mouth>i{position:absolute;bottom:-12px;left:17px;width:70px;height:36px;background:#dc8baf;border-radius:50%}.monster-feet:before,.monster-feet:after{content:'';position:absolute;bottom:-13px;left:19px;width:48px;height:25px;background:#9476bf;border-radius:12px 12px 20px 20px;z-index:-1}.monster-feet:after{left:auto;right:19px}.feeding-tray{position:absolute;bottom:8%;left:7%;right:7%;display:flex;gap:14px;justify-content:center}.feeding-tray .arc-token{width:78px;height:75px;border-color:#efd8d7;box-shadow:0 5px 0 #e2bfc1}.monster-happy .monster-eyes i:after{height:6px;top:18px;border-radius:9px}.monster-happy .monster-mouth{height:35px;top:95px}.scene-feed:after{content:'';position:absolute;left:0;right:0;bottom:0;height:16%;background:#f2cebe;z-index:-1}
/* Race: actual lanes and approaching collectibles. */
.scene-race{background:#bcdfbd}.race-scenery{position:absolute;inset:0}.race-road{position:absolute;left:20%;right:20%;top:0;bottom:0;background:#777e96;border-left:7px solid #fbf1d0;border-right:7px solid #fbf1d0;display:flex}.race-lane{height:100%;position:relative;flex:1;border-right:2px dashed #e0dbd3}.race-lane:last-of-type{border:0}.road-prize{position:absolute;width:53px;height:56px;left:50%;transform:translate(-50%,-50%);background:#fff9dc;border:3px solid #ffda7f;border-radius:14px;padding:5px}.road-prize img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.race-car{position:absolute;top:75%;width:47px;height:67px;transform:translateX(-50%);background:#ee9a91;border:3px solid #ffb9a3;border-radius:13px 13px 10px 10px;box-shadow:inset 0 -10px 0 #c87878,0 5px 0 #00000015;display:grid;place-items:center;transition:left .2s;z-index:5}.race-car>.arc-glyph{width:32px;height:32px;color:#fff0bf;transform:rotate(-90deg)}.race-car>span{position:absolute;inset:-2px 7px auto;height:12px;background:#b9e2e7;border-radius:8px 8px 3px 3px}.race-tree{position:absolute;width:37px;height:51px;border-radius:50%;background:#72b996;left:4%;top:12%;box-shadow:0 5px 0 #4d9b7d}.race-tree:after{content:'';width:7px;height:27px;background:#ac8b6e;position:absolute;left:15px;bottom:-15px;z-index:-1}.race-tree.t2{left:auto;right:3%;top:48%;background:#90cda4}.race-tree.t3{top:81%;width:29px;height:40px}.lane-controls{display:flex;gap:12px;justify-content:center}.lane-controls>.arc-control{flex:1;font-size:15px;padding-left:8px;padding-right:8px}
/* Garden: pick, plant, water and grow in separate physical steps. */
.scene-garden{background:linear-gradient(#ddf0d9 0 67%,#b6dbac 67%)}.garden-sun{position:absolute;right:25px;top:20px;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#ffe6a0;color:#efbb4b;box-shadow:0 0 0 9px #ffeca44d}.garden-soil{position:absolute;bottom:27%;left:calc(50% - 77px);width:154px;height:42px;border-radius:50%;background:#b48b66;border:4px solid #cba781;z-index:3;box-shadow:0 4px 0 #9b795e}.garden-soil>span{position:absolute;inset:10px 25px;border:2px dashed #e7cfa5;border-radius:50%}.seed-tray{position:absolute;bottom:7%;left:10%;right:10%;display:flex;gap:13px;justify-content:center}.seed-tray>.arc-token{width:68px;height:66px;border-radius:9px 9px 18px 18px;background:#fff4da}.garden-plant{position:absolute;left:50%;bottom:33%;width:90px;height:130px;transform:translateX(-50%) scale(.05);transform-origin:50% 100%;transition:transform .3s;opacity:0}.garden-plant.growing{opacity:1;transform:translateX(-50%) scale(.3)}.garden-plant.grow-1{transform:translateX(-50%) scale(.55)}.garden-plant.grow-2{transform:translateX(-50%) scale(.8)}.garden-plant.bloomed{transform:translateX(-50%) scale(1.05)}.plant-stem{position:absolute;bottom:0;left:42px;width:9px;height:100px;border-radius:8px;background:#599e70}.plant-leaf{position:absolute;bottom:23px;left:6px;width:40px;height:23px;background:#7fbb87;border-radius:100% 0;transform:rotate(30deg)}.plant-leaf.right{left:48px;bottom:39px;transform:rotate(-25deg)}.flower-head{position:absolute;top:-15px;left:3px;width:85px;height:85px;border-radius:50%;padding:13px;background:#fff7d0;box-shadow:0 -13px 0 -2px #f1a7b3,12px -7px 0 0 #f1a7b3,14px 8px 0 0 #f1a7b3,0 15px 0 0 #f1a7b3,-14px 7px 0 0 #f1a7b3,-12px -8px 0 0 #f1a7b3}.flower-head img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.water-drops{position:absolute;left:21%;top:22%;display:none;transform:rotate(25deg)}.water-drops.watering{display:block}.water-drops i{position:absolute;width:8px;height:14px;border-radius:80% 0 80% 80%;background:#67bfd2;left:0;top:0}.water-drops i:nth-child(2){left:20px;top:25px}.water-drops i:nth-child(3){left:5px;top:44px}
/* Scratch: a real erasable canvas, with a button alternative. */
.scene-scratch{background:#e6f0f9;display:flex;align-items:center;justify-content:center}.mist-window{position:relative;width:88%;height:82%;border:7px solid #d9cbea;border-radius:23px;background:white;box-shadow:0 5px 0 #c0b4d8;overflow:hidden}.mist-window>img{width:100%;height:100%;object-fit:contain;padding:12px}.mist-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.mist-reveal{position:absolute;top:11px;right:11px;color:#d5b358;opacity:0}.mist-reveal.shown{opacity:1}.scratch-meter{height:5px;position:absolute;left:15%;right:15%;bottom:4%;border-radius:10px;background:#c9d6e9;overflow:hidden}.scratch-meter span{height:100%;display:block;background:#74c6ba;border-radius:10px}
/* Slingshot: aiming and a curved ballistic flight. */
.scene-slingshot{background:linear-gradient(#d7f0f6,#c7e5ed 65%,#9dccd7 65%)}.sling-island{position:absolute;top:20%;width:65px;height:75px;transform:translateX(-50%);background:#fffaf0;border-radius:19px;padding:7px;box-shadow:0 5px 0 #96b5ac}.sling-island:after{content:'';position:absolute;width:87px;height:20px;background:#a7ca91;border-radius:50%;left:-11px;bottom:-9px;z-index:-1}.sling-island img{width:100%;height:100%;object-fit:contain}.sling-cloud{position:absolute;top:5%;width:48px;height:13px;background:white;border-radius:30px;opacity:.6;left:12%}.sling-cloud.c2{left:auto;right:8%;top:43%}.sling-wood{position:absolute;bottom:4%;left:calc(50% - 10px);width:20px;height:70px;background:#ba8c62;border-radius:8px;transform:rotate(2deg)}.sling-wood i{position:absolute;width:15px;height:50px;border-radius:8px;background:#cda47a;top:-35px;left:-12px;transform:rotate(-35deg)}.sling-wood i+i{left:18px;transform:rotate(35deg)}.sling-ball{position:absolute;width:52px;height:52px;background:#fff7d9;border:3px solid #edc67b;border-radius:50%;left:50%;top:84%;transform:translate(-50%,-50%);padding:5px;z-index:4;touch-action:none;cursor:grab}.sling-ball img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.sling-trajectory{position:absolute;left:calc(50% - 1px);bottom:20%;height:75px;border-left:3px dotted #8cafb4;transform-origin:50% 100%;pointer-events:none}.aim-slider{display:flex;align-items:center;gap:12px;font-size:12px;color:#997b79;margin-bottom:15px}.aim-slider input{flex:1;min-width:0;accent-color:#df9c64;min-height:32px}.scene-slingshot+.arc-status{min-height:40px}
/* Train: ordered auditory/visual memory, then assemble the wagons. */
.scene-train{background:linear-gradient(#f3e6fb 0 60%,#dfd3b9 60%)}.train-track{position:absolute;top:62%;left:0;right:0;height:16px;border-top:4px solid #9b8a83;border-bottom:4px solid #9b8a83;background:repeating-linear-gradient(90deg,transparent 0 12px,#b9a58e 12px 17px)}.word-train{position:absolute;left:5%;right:5%;top:27%;display:flex;gap:7px;align-items:end;transition:transform .8s}.word-train.departing{transform:translateX(100%)}.train-engine{width:57px;height:73px;position:relative;background:#ba85cc;border:3px solid #d4addf;border-radius:15px 15px 6px 6px;display:grid;place-items:center;flex-shrink:0;color:#fff0bc}.train-engine>.arc-glyph{width:34px;height:34px}.train-engine:after{content:'';width:64px;height:10px;border-radius:6px;background:#8e6f9d;position:absolute;bottom:-8px;left:-7px}.train-engine>span{position:absolute;right:-8px;bottom:-14px;width:18px;height:18px;border:4px solid #776776;border-radius:50%;background:#c6b3cc}.train-wagon{flex:1;min-width:0;height:64px;border-radius:12px 12px 7px 7px;background:#fff9e8;border:3px solid #e1ba89;position:relative;padding:5px;display:grid;place-items:center}.train-wagon img{width:100%;height:100%;object-fit:contain}.train-wagon>span{font-size:27px;color:#cbb6d2;font-weight:800}.train-wagon>i,.train-wagon>b{position:absolute;bottom:-12px;width:15px;height:15px;border-radius:50%;background:#bca3c7;border:3px solid #87768e;left:5px}.train-wagon>b{left:auto;right:5px}.train-station{position:absolute;top:7%;right:14%;height:39px;border:4px solid #d8bfdc;border-radius:10px 10px 0 0;padding:4px 8px;background:#fff4df}.train-station>span{font-size:9px;font-weight:800;color:#aa7fa3;letter-spacing:1px}.train-station:after{content:'';position:absolute;height:20px;width:4px;background:#bfa6c7;top:100%;left:10px;box-shadow:95px 0 0 #bfa6c7}.train-cargo{display:flex;position:absolute;bottom:5%;left:7%;right:7%;gap:10px;justify-content:center}.train-cargo>.arc-token{width:58px;height:59px;padding:5px;border-radius:13px}.train-look-hint{position:absolute;bottom:11%;left:5%;right:5%;font-size:13px;color:#a08893;text-align:center}
/* Fireflies: steer a net in two dimensions, then catch. */
.scene-fireflies{background:linear-gradient(#2f4767,#476b7a);touch-action:none}.night-moon{position:absolute;top:20px;right:28px;width:38px;height:38px;border-radius:50%;box-shadow:-10px 4px 0 #fff1b4;transform:rotate(-20deg)}.night-stars i{width:3px;height:3px;border-radius:50%;background:#fff2bf;position:absolute;left:calc(var(--i)*17%);top:calc(10% + var(--i)*3%);box-shadow:12px 74px 0 #e3edbc80}.word-firefly{position:absolute;width:63px;height:63px;padding:10px;border-radius:50%;background:#fff5c8;box-shadow:0 0 12px 4px #ddec9a60;transform:translate(-50%,-50%);z-index:2}.word-firefly img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.word-firefly>i,.word-firefly>span{position:absolute;left:-11px;top:20px;width:22px;height:12px;background:#d5e6e790;border-radius:50%;transform:rotate(20deg);z-index:-1}.word-firefly>i{left:auto;right:-11px;transform:rotate(-20deg)}.catch-net{position:absolute;width:73px;height:73px;transform:translate(-50%,-50%);z-index:5;color:#ded5f1;pointer-events:none}.catch-net .arc-glyph{width:100%;height:100%;stroke-width:1.2;filter:drop-shadow(0 3px 0 #1c344b80)}.night-grass{position:absolute;bottom:-20px;left:-20px;right:-20px;height:80px;border-radius:50%;background:#345953;box-shadow:60px 25px 0 #274b4b,-60px 20px 0 #294d4f}.net-controls,.maze-controls{display:flex;flex-direction:column;align-items:center;gap:8px}.net-controls>div,.maze-controls>div{display:flex;gap:12px}.net-controls .arc-control,.maze-controls .arc-control{min-width:52px;min-height:45px;font-size:16px;padding:8px 13px}.net-controls>div>.arc-control:nth-child(2){min-width:96px}.maze-controls>div>.arc-control{width:61px}
/* Tower: a swinging block, a drop and accumulated physical stack. */
.scene-tower{background:linear-gradient(#e4f1f5,#d0e3ed)}.tower-base{position:absolute;left:25%;right:25%;bottom:5%;height:28px;border-radius:10px;background:#b69b84;border:4px solid #d4bc9c;z-index:4;box-shadow:0 5px 0 #9f8a7b}.tower-stack{position:absolute;bottom:calc(5% + 24px);left:0;right:0;height:80%;z-index:3;pointer-events:none}.stack-block{position:absolute;width:100px;height:43px;left:calc(50% - 50px);border-radius:9px;background:var(--block-color);border:3px solid #ffffff70;padding:4px;box-shadow:inset 0 -4px 0 #0000000c}.stack-block img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}.swing-block{position:absolute;width:100px;height:45px;left:50%;top:12%;transform:translateX(-50%);border-radius:10px;border:3px solid #ffe5ba;background:#eeb67d;padding:4px;z-index:5}.swing-block img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.swing-block>span{position:absolute;height:60px;border-left:2px dashed #c0b4a1;left:50%;bottom:calc(100% + 3px);z-index:-1}.tower-centerline{position:absolute;top:10%;bottom:15%;left:50%;border-left:2px dotted #a8c3cc;opacity:.5;z-index:-1}.tower-cloud{position:absolute;width:65px;height:20px;border-radius:30px;background:#fff9;top:22%;left:-15px}.tower-cloud.cloud-b{left:auto;right:-15px;top:55%;width:90px}
/* Maze: a connected grid with genuine collision-aware navigation. */
.scene-maze{background:#d9eccd;display:flex;align-items:center;justify-content:center}.maze-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;width:90%;height:90%;padding:5px;border-radius:18px;background:#c2dbb1}.maze-tile{position:relative;background:#fff4cd;border:2px solid #f5e6bb;border-radius:10px;min-width:0;min-height:0;padding:3px;display:grid;place-items:center}.maze-tile img{width:100%;height:100%;object-fit:contain;max-height:63px;mix-blend-mode:multiply}.maze-tile>.mascot{width:100%;height:100%;max-height:62px;filter:drop-shadow(0 2px 0 #b1998a66)}.maze-tile.maze-wall{background:#91b77e;border-color:#a4c48d;box-shadow:inset 0 -5px 0 #7eaa70}.maze-wall:before{content:'';width:26px;height:26px;background:#b0ce96;border-radius:50%;box-shadow:9px -4px 0 #a3c38c,-8px 3px 0 #a3c38c}.maze-tile.player-here{border-color:#bdb1e3;background:#fff9e7}
/* Rhythm: falling notes, a hit window and a drum button. */
.scene-rhythm{background:linear-gradient(#f7e6f4,#fce5dc)}.music-stave{position:absolute;inset:20% 0 35%;display:flex;flex-direction:column;justify-content:space-around;transform:rotate(-5deg);opacity:.5}.music-stave i{border-top:2px solid #dec7dc}.beat-lane{position:absolute;inset:0 30%;background:#ffffff40;border-left:2px dashed #d7b8d3;border-right:2px dashed #d7b8d3;overflow:hidden}.beat-zone{position:absolute;top:55%;height:35%;left:0;right:0;background:#a7dfbd80;border-top:3px solid #8ccca6;border-bottom:3px solid #8ccca6}.falling-note{position:absolute;left:50%;top:8%;width:68px;height:68px;transform:translate(-50%,-50%);background:#fff9e1;border:4px solid #e7b9d6;border-radius:50%;padding:8px;z-index:4;box-shadow:0 3px 0 #ca99bb}.falling-note img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.little-drum{position:absolute;left:calc(50% - 37px);bottom:5%;width:74px;height:69px;background:#efc46e;border:4px solid #ffe3a4;display:grid;place-items:center;border-radius:50% 50% 25% 25%;color:#ad8259;z-index:5}.little-drum>.arc-glyph{width:47px;height:47px}.music-decoration{position:absolute;font-size:49px;color:#d6a9cd;top:21%;left:11%;transform:rotate(-14deg)}.music-decoration.note-two{left:auto;right:7%;top:56%;font-size:37px;transform:rotate(15deg)}.arc-control.on-beat{background:#38b587;box-shadow:0 4px 0 #238766;outline:4px solid #b9eed6;outline-offset:4px}
/* Peek: different words emerge from six holes over time. */
.scene-whack{background:linear-gradient(#e6efcf,#d4e5b3)}.peek-garden{position:absolute;inset:8% 6%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:1fr 1fr;gap:19px 12px;align-items:end}.peek-hole{position:relative;min-width:0;width:100%;height:100%;border:0;background:none;padding:0;overflow:hidden;border-radius:50% 50% 0 0}.peek-hole>i{position:absolute;bottom:0;left:0;right:0;height:28px;border-radius:50%;border:5px solid #bd9d74;background:#88745d;z-index:3;pointer-events:none}.peek-friend{position:absolute;bottom:13px;left:8%;right:8%;height:73%;background:#fff5d9;border:3px solid #ddbf91;border-radius:45% 45% 15% 15%;padding:5px;transform:translateY(120%);transition:transform .25s;z-index:2}.peek-friend img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.peeking .peek-friend{transform:translateY(0)}
/* Sorting: one movable parcel, two labelled receiving baskets. */
.scene-sort{background:linear-gradient(#f9e9ee,#efd8df)}.sort-conveyor{position:absolute;left:10%;right:10%;top:11%;height:102px;display:grid;place-items:center;z-index:4}.sort-conveyor>span{position:absolute;left:0;right:0;bottom:4px;height:23px;background:repeating-linear-gradient(90deg,#c0a7b6 0 17px,#b095a8 18px 21px);border-radius:18px;box-shadow:0 5px 0 #9c8196}.sort-conveyor>.arc-token{width:82px;height:86px;border-color:#d8b6d2}.sorting-baskets{display:flex;position:absolute;bottom:10%;left:7%;right:7%;justify-content:space-around;gap:21px}.sorting-basket{width:44%;height:108px;background:#dcaf7d;border-radius:9px 9px 25px 25px;border:4px solid #edc99a;box-shadow:0 5px 0 #bd9066;position:relative;padding:0}.basket-weave{position:absolute;inset:0;border-radius:9px 9px 21px 21px;background:repeating-linear-gradient(90deg,transparent 0 13px,#eac397 14px 17px),repeating-linear-gradient(0deg,transparent 0 11px,#be8d5c66 12px 14px);pointer-events:none}.basket-label{position:absolute;width:65px;height:65px;left:calc(50% - 32.5px);top:17px;padding:6px;background:#fff5da;border-radius:15px;z-index:2;border:3px solid #fff0c7}.basket-label img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.basket-1{background:#cba3b8;border-color:#e6c4d7;box-shadow:0 5px 0 #ae849c}.basket-1 .basket-weave{filter:hue-rotate(285deg);opacity:.6}
/* Bubbles: independent moving hit targets, not a multiple-choice card grid. */
.scene-bubbles{background:linear-gradient(#f3e7fa,#eadff5)}.bubble-party{position:absolute;inset:0}.word-bubble{position:absolute;width:98px;height:98px;min-width:0;min-height:0;border-radius:50%;border:3px solid #fff9;box-shadow:inset -8px -7px 0 #bc8fce22,0 5px 12px #b98dcb20;background:#fff8da90;transform:translate(-50%,-50%);padding:12px;touch-action:manipulation}.word-bubble img{mix-blend-mode:multiply}.word-bubble:before{content:'';position:absolute;width:24px;height:13px;top:11px;left:15px;border-radius:50%;background:#fff9;transform:rotate(-30deg)}.word-bubble:active:not(:disabled){transform:translate(-50%,-50%) scale(.9)}.bubble-1{background:#d3edf4a0}.bubble-2{background:#f8d9e6a0}.bubble-small{position:absolute;width:28px;height:28px;border:2px solid #fff9;border-radius:50%;left:5%;top:12%;background:#d8f1ee50}.bs2{width:18px;height:18px;left:auto;right:8%;top:82%}.bs3{left:12%;top:80%;width:40px;height:40px;background:#f5e9d450}
/* Rocket: vertical boost/gravity and horizontal steering. */
.scene-rocket{background:linear-gradient(#393d70,#635e92);touch-action:none}.word-planet{position:absolute;width:76px;height:76px;border-radius:50%;padding:12px;background:#f7dba8;box-shadow:inset -9px -5px 0 #d7a66a33,0 0 0 6px #ffe9b311;transform:translate(-50%,-50%);z-index:3}.word-planet img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.word-planet>span{position:absolute;inset:24px -13px;border:5px solid #e4c48d80;border-radius:50%;transform:rotate(-25deg);z-index:-1}.little-rocket{position:absolute;width:51px;height:62px;transform:translate(-50%,-50%);z-index:4;display:grid;place-items:center;color:#fff0c6}.little-rocket>.arc-glyph{width:53px;height:53px;fill:#d7d3f1;stroke:#7f74b5;transform:rotate(-45deg)}.little-rocket>i{position:absolute;width:15px;height:24px;background:#efbc71;border-radius:0 0 80% 80%;left:18px;top:48px;z-index:-1;opacity:.2}.little-rocket.boosting>i{opacity:1;height:38px;background:#ffd58b;box-shadow:0 3px 0 3px #ea9e5a44}.launch-pad{position:absolute;bottom:3%;left:4%;width:80px;height:20px;background:#8984ac;border-radius:50%;box-shadow:0 6px 0 #6c668f}.space-stars i{position:absolute;left:15%;top:17%;width:4px;height:4px;background:#eee6b8;border-radius:50%;box-shadow:85px 12px 0 #eee6b8,150px 110px 0 #eee6b8,20px 170px 0 #eee6b8,-15px 70px 0 #eee6b8}.space-stars i:nth-child(2){left:76%;top:65%;width:2px;height:2px}.space-stars i:nth-child(3){left:40%;top:40%;width:2px;height:2px}.space-stars i:nth-child(4){left:50%;top:80%;width:2px;height:2px}
@media(max-width:360px){.arcade-catalog{padding:0 14px;gap:11px}.arcade-card strong{font-size:14px}.arcade-card small{font-size:9px}.arcade-card-art{height:93px}.arc-heading h1{font-size:24px}.arc-heading p{font-size:12px}.arc-target strong{font-size:16px}.arc-scene{min-height:250px}.feeding-tray{gap:10px}.feeding-tray .arc-token{width:67px;height:67px}.monster-friend{transform:translateX(-50%) scale(.9);transform-origin:50% 0}.arc-control{font-size:15px;padding-left:12px;padding-right:12px}.word-bubble{width:86px;height:86px}.train-engine{width:47px;height:64px}.train-wagon{height:54px}.net-controls .arc-control,.maze-controls .arc-control{min-height:44px}.arc-cue{gap:6px}.arc-target>img{width:32px;height:32px}}
@media(max-height:730px){.arc-heading{margin-top:3px;margin-bottom:8px}.arc-heading h1{font-size:23px;margin-top:4px;margin-bottom:5px}.arc-heading p{font-size:12px;min-height:36px}.arc-cue{margin-bottom:10px;min-height:53px;padding:5px}.arc-scene{height:38dvh;min-height:240px}.arc-status{min-height:39px;padding-top:10px}.magic-egg{height:166px;width:132px}.hatch-nest:after{width:160px;height:43px}.monster-friend{transform:translateX(-50%) scale(.82);transform-origin:50% 0;top:10%}.feeding-tray{bottom:8%}.feeding-tray>.arc-token{height:64px;width:65px}.garden-plant{height:110px}.garden-plant.bloomed{transform:translateX(-50%) scale(.82)}.seed-tray>.arc-token{width:60px;height:59px}.garden-soil{height:36px}.word-firefly{width:54px;height:54px}.word-bubble{width:83px;height:83px}.train-wagon{height:54px}.train-engine{height:62px}.train-cargo>.arc-token{width:50px;height:50px}.stack-block{height:35px}.word-planet{width:65px;height:65px}.arc-controls{padding-bottom:8px}.arc-control{min-height:47px}.net-controls,.maze-controls{gap:6px}.net-controls .arc-control,.maze-controls .arc-control{min-height:42px}}
@media(prefers-reduced-motion:reduce){.arcade-game *{transition:none!important;animation:none!important}}

/* Keep readable controls and full touch targets in every scene and viewport. */
.level-button .arc-glyph{color:color-mix(in srgb,var(--level) 20%,#443253)}
.arc-control{background:color-mix(in srgb,var(--arc) 55%,#42304f)}
.arc-control[data-primary]{background:#118461;box-shadow:0 4px 0 #0d684c}
.arc-control.on-beat{background:#38b587;color:#154b3b}
.arc-hear,.arc-pause{color:color-mix(in srgb,var(--arc) 65%,#42304f)}
.net-controls .arc-control,.maze-controls .arc-control{min-height:44px}
