:root{--ink:#1d1d1f;--muted:#6e6e73;--paper:#fff;--line:#e5e5ea;--accent:#0071e3;--accent-soft:#eaf3ff;--surface:#f5f5f7;--glass:#ffffffc9;--game-font:"Jua","Arial Rounded MT Bold","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-family:var(--game-font);color:var(--ink);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}html{background:var(--surface)}body{margin:0;min-height:100svh;padding:24px;display:flex;align-items:center;justify-content:center;gap:48px;isolation:isolate;background:radial-gradient(ellipse at 75% 90%,#dfeaff70,transparent 52%),radial-gradient(ellipse at 10% 0%,#fff 0,transparent 55%),var(--surface);overscroll-behavior:none}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .18s,transform .18s,box-shadow .18s}button:active{transform:scale(.96)}button:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #0071e3;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}button svg{width:22px;height:22px;stroke-width:1.6}img{object-fit:contain}.hidden{display:none!important}.room-grid{display:none}
/* The game is the primary surface. Glass belongs to controls, not the arena. */
.app{width:min(100%,520px);height:min(960px,calc(100svh - 48px));min-height:620px;padding:18px;display:grid;grid-template-rows:50px 76px minmax(0,1fr) 104px;gap:14px;border:1px solid #ffffff;border-radius:40px;background:#ffffffa6;box-shadow:0 24px 80px #2534520d,0 2px 8px #25345205;position:relative}
header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 3px}.brand{display:flex;align-items:center;gap:10px;line-height:1.05;font-size:29px;font-weight:400;letter-spacing:-.035em;color:#674a71;text-shadow:0 2px 0 #fff,0 3px 0 #dbc7df}.brand-mark{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#69bcff,#0071e3);color:#fff;font:700 30px Georgia,serif;letter-spacing:-.09em;box-shadow:inset 0 1px 1px #ffffff70,0 3px 8px #0071e31a}.brand small{display:block;margin-top:5px;font-size:13px;font-weight:400;letter-spacing:-.015em;color:var(--muted);text-shadow:none}.head-actions{display:flex;gap:8px}.icon-btn{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff;border-radius:50%;background:var(--glass);color:#424248;box-shadow:0 2px 8px #00000006,inset 0 0 0 1px #00000003;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.icon-btn:hover{background:#f0f4fa;color:var(--accent)}
.scorebar{display:grid;grid-template-columns:1.25fr 1fr 72px;align-items:center;background:#f0f1f5;border:1px solid #e8e9ef88;border-radius:23px;padding:9px 6px;gap:0}.stat{min-width:0;padding:0 16px}.stat span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px;font-weight:500}.stat strong{display:block;font-size:32px;line-height:1.1;font-weight:700;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.record{border-left:1px solid #d9dce580}.record strong{font-size:26px;color:#565660;padding-top:5px}.next{height:58px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-left:1px solid #d9dce580;padding:0 5px}.next span{font-size:12px;color:var(--muted);font-weight:500}.next img{width:40px;height:38px;filter:drop-shadow(0 2px 2px #32456515)}
.game-shell{position:relative;min-height:0;overflow:hidden;isolation:isolate;container-type:size;border:1px solid #e0e5ed;border-radius:28px;background:linear-gradient(180deg,#fff 0%,#fafcff 64%,#f2f6ff 100%);box-shadow:inset 0 -2px 5px #d4dff02b}.game-shell canvas{display:block;width:100%;height:100%;position:absolute;inset:0;z-index:2;touch-action:none}.danger{position:absolute;top:82px;left:12px;right:12px;border-top:1px dashed #bcc6d572;z-index:2;pointer-events:none}.at-risk .danger{border-color:#ff453a}.at-risk .danger:after{content:"공간이 부족해요";position:absolute;right:0;top:8px;font-size:12px;font-weight:600;color:#ce322a}.dropper{position:absolute;top:9px;left:50%;width:50px;height:50px;transform:translateX(-50%);z-index:3;pointer-events:none;filter:drop-shadow(0 4px 3px #56796424);transition:opacity .1s}.guide{position:absolute;top:60px;bottom:0;border-left:1px dashed #b8c6d63d;left:50%;pointer-events:none;z-index:1}.arena-hint{position:absolute;top:27px;right:14px;font-size:12px;color:#747d8c;z-index:4;pointer-events:none}
.start-card,.gameover{position:absolute;inset:0;z-index:8;display:grid;place-items:center;padding:26px;text-align:center;background:radial-gradient(ellipse at 50% 30%,#fff 20%,#f3f6fc 100%)}.start-inner{width:100%;max-width:330px;position:relative}.eyebrow{display:block;font-size:13px;font-weight:600;letter-spacing:.01em;color:var(--muted)}.hero-toys{position:relative;height:172px;margin:20px 0}.hero-toys img{position:absolute;filter:drop-shadow(0 16px 12px #213f641c);animation:toyFloat 4s ease-in-out infinite}.hero-toys img:nth-child(2){width:160px;height:160px;left:calc(50% - 80px);top:0;z-index:2}.hero-toys img:first-child{width:100px;height:110px;left:0;top:52px;transform:rotate(-14deg);animation-delay:-1.4s}.hero-toys img:last-child{width:103px;height:108px;right:0;top:52px;transform:rotate(14deg);animation-delay:-.7s}.start-card h2,.gameover h2{font-size:32px;line-height:1.26;letter-spacing:-.06em;font-weight:750;margin:0 0 12px}.start-card p,.gameover p{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 24px}.primary{width:100%;min-height:52px;padding:14px 22px;border:0;border-radius:99px;background:var(--accent);color:white;font-size:17px;font-weight:600;box-shadow:0 5px 15px #0071e31f}.primary:hover{background:#0077ed;box-shadow:0 6px 20px #0071e32b}.sound-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:17px;font-size:12px;color:var(--muted)}.sound-hint i{font-style:normal;color:var(--accent);font-size:16px}.end-toy{width:128px;height:128px;display:block;margin:0 auto 20px;filter:drop-shadow(0 10px 12px #233f5616)}.gameover .eyebrow{margin-bottom:12px}.gameover strong{font-size:36px;color:var(--ink);font-variant-numeric:tabular-nums}.gameover p{line-height:1.9}
/* Compact, scrollable collection dock keeps all twelve touch targets usable. */
footer{display:flex;flex-direction:column;gap:5px;min-width:0;padding:0 2px}.evolution-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:600;min-height:26px}.evolution-head small{font-size:12px;font-weight:400;color:var(--muted);margin-left:7px}.collection-link{font-size:13px;font-weight:500;white-space:nowrap;padding:5px 0;border:0;background:none;color:var(--accent)}.evolution{display:flex;gap:5px;align-items:center;min-width:0;overflow-x:auto;overflow-y:hidden;padding:3px 1px;scrollbar-width:none;overscroll-behavior-x:contain}.evolution::-webkit-scrollbar{display:none}.evolution-item{flex:0 0 44px;width:44px;height:44px;padding:3px;border:1px solid transparent;border-radius:14px;background:#eff0f4;position:relative}.evolution-item img{width:100%;height:100%;filter:saturate(.1);opacity:.38}.evolution-item.found{background:#fff;box-shadow:0 1px 3px #00000005}.evolution-item.found img{filter:none;opacity:1}.evolution-item.target{border-color:#90c4fb;background:#edf5ff}.evolution-item:hover{background:#e9f2ff}.instruction{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:1.25;color:#74747b}.instruction>span{color:#86868b}
/* Desktop collection companion; mobile keeps the arena first. */
.studio-note{width:260px;flex-shrink:0;align-self:center}.club-label{font-size:12px;font-weight:600;letter-spacing:.11em;color:#86868b;margin-bottom:14px}.shelf-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.shelf-heading h1{font-size:27px;line-height:1.3;letter-spacing:-.055em;margin:0;font-weight:700}.shelf-heading>span{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.studio-note progress{appearance:none;display:block;width:100%;height:4px;overflow:hidden;border:0;border-radius:4px;margin:16px 0 24px;background:#e2e5ec}.studio-note progress::-webkit-progress-bar{background:#e2e5ec;border-radius:4px}.studio-note progress::-webkit-progress-value{background:var(--accent);border-radius:4px}.studio-note progress::-moz-progress-bar{background:var(--accent);border-radius:4px}.discovery-card{text-align:center;padding:22px 20px 18px;border:1px solid #fff;border-radius:28px;background:#ffffffb3;box-shadow:0 8px 30px #25345205}.panel-label{display:inline-block;font-size:12px;font-weight:600;color:var(--accent);border-radius:20px;padding:6px 11px;background:var(--accent-soft)}.discovery-plinth{height:158px;display:grid;place-items:center;margin:12px 0 0}.discovery-plinth img{width:132px;height:132px;filter:drop-shadow(0 14px 12px #354d6c18)}.discovery-card h2{font-size:22px;margin:10px 0 7px;letter-spacing:-.035em;font-weight:650}.discovery-card p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.text-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-top:19px;padding:10px 14px;border:0;border-radius:14px;background:#f2f5fa;font-size:14px;font-weight:500;color:var(--accent)}.text-button:hover{background:#e8f1fc}.text-button span{font-size:23px;font-weight:400}.material-notes{margin:27px 0 0}.material-notes h2{font-size:14px;color:var(--muted);margin:0 0 12px;font-weight:500}.material-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.material-trio>div{text-align:center;padding:7px 4px}.material-trio img{display:block;width:48px;height:48px;margin:auto}.material-trio b{display:block;margin-top:7px;font-size:12px;color:var(--muted);font-weight:500}.side-hint{font-size:12px;line-height:1.6;color:#86868b;margin:23px 0 0}
/* Original damage-number typography. No opaque card, timer, or persistent HUD. */
.combo-hud{position:absolute;left:50%;top:50%;right:auto;z-index:5;width:max-content;max-width:78%;pointer-events:none;user-select:none;opacity:0;text-align:center;transform:translate(-50%,-50%);font-family:var(--game-font);font-style:normal;line-height:.95;--combo-top:#fff5a4;--combo-bottom:#ff9634;--combo-edge:#ad4a16;--combo-shadow:#74397b}.combo-hud.active{will-change:transform,opacity;isolation:isolate}.combo-hud strong{display:block;padding:0 .15em;font-size:clamp(66px,9vw,86px);font-weight:400;letter-spacing:-.035em;color:#ffd35c;background:linear-gradient(var(--combo-top) 22%,var(--combo-bottom) 76%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:1.6px var(--combo-edge);paint-order:stroke fill;filter:drop-shadow(2px 0 0 white) drop-shadow(-2px 0 0 white) drop-shadow(0 -2px 0 white) drop-shadow(0 3px 0 white) drop-shadow(0 3px 0 var(--combo-shadow))}.combo-hud>span{display:block;font-size:23px;font-weight:400;letter-spacing:.015em;margin-top:5px;color:#fff;-webkit-text-stroke:3px var(--combo-shadow);paint-order:stroke fill;text-shadow:0 3px 0 var(--combo-shadow)}.combo-hud[data-heat="warm"]{--combo-top:#fff49d;--combo-bottom:#ff7384;--combo-edge:#ba355e;--combo-shadow:#743e92}.combo-hud[data-heat="hot"]{--combo-top:#fff2fb;--combo-bottom:#dd8fff;--combo-edge:#a13fb9;--combo-shadow:#6340a0}.combo-spark{position:absolute;font-size:27px;font-style:normal;color:var(--combo-bottom);text-shadow:0 1px white,1px 0 white,-1px 0 white;filter:drop-shadow(0 2px 1px #6f439a22)}.spark-one{left:-24px;top:15px;transform:rotate(-12deg)}.spark-two{right:-21px;top:49px;font-size:22px;transform:rotate(12deg)}
.score-pulse{animation:scorePop .32s ease-out}.toast{position:absolute;top:100px;left:50%;transform:translate(-50%,-8px);opacity:0;z-index:12;pointer-events:none;width:max-content;max-width:90%;background:#fffffff0;color:#343439;border:1px solid #e8ebf2;border-radius:99px;padding:11px 17px;font-size:14px;font-weight:500;text-align:center;box-shadow:0 6px 25px #21344f12;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:opacity .22s,transform .22s}.toast.show{opacity:1;transform:translate(-50%,0)}
/* Native dialogs become light grouped sheets with a clear close control. */
dialog{border:1px solid #ffffff;border-radius:30px;padding:0;width:min(470px,calc(100% - 32px));max-height:90svh;background:#f5f5f7;color:var(--ink);box-shadow:0 30px 100px #17213930}dialog::backdrop{background:#14203645;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 18px;gap:15px}.modal-kicker{display:block;font-size:12px;letter-spacing:.04em;color:var(--muted);margin-bottom:5px}.modal-head h2{font-size:27px;letter-spacing:-.05em;margin:0;font-weight:700}.close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:#e7e7ec;color:#73737a;font-size:16px}.close:hover{background:#dddde5}.modal-body{padding:0 20px 24px;overflow:auto;max-height:calc(90svh - 104px);scrollbar-width:thin;scrollbar-color:#c7c7cc transparent}.touch-preview{padding:18px 14px;text-align:center;border-radius:24px;background:#fff}.texture-tag{display:inline-block;font-size:12px;font-weight:500;color:var(--accent);border-radius:30px;padding:6px 11px;background:#eef5ff}.touch-stage{position:relative;height:174px;display:grid;place-items:center;isolation:isolate}.touch-toy{position:relative;width:155px;height:155px;background:none;border:0;padding:0;z-index:1;touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .55s cubic-bezier(.2,1.6,.4,1);transform-origin:50% 85%}.touch-toy img{width:100%;height:100%;pointer-events:none;-webkit-user-drag:none;filter:drop-shadow(0 8px 9px #334d6415)}.touch-shadow{position:absolute;width:100px;height:13px;bottom:7px;background:#657b9820;filter:blur(6px);border-radius:50%;transition:transform .4s}.touch-stage.pressed .touch-toy{transform:scale(1.2,.67);transition:transform .23s ease-out}.touch-stage.pressed .touch-shadow{transform:scaleX(1.28)}.touch-stage.dense .touch-toy{transition-duration:.8s}.touch-stage.dense.pressed .touch-toy{transition-duration:.4s}.touch-stage[data-material="key"] .touch-toy{transition:transform .1s ease-out}.touch-stage[data-material="key"].pressed .touch-toy{transform:none}.touch-stage[data-material="wax"].pressed .touch-toy{transform:scale(1.12,.83)}.wax-cracks{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .2s;fill:none;stroke:#72527588;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.touch-stage[data-material="wax"].pressed .wax-cracks{opacity:1}.touch-preview h3{font-size:21px;margin:7px 0 8px;letter-spacing:-.03em;font-weight:650}.touch-preview p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 10px;min-height:42px}.touch-hint{font-size:12px;color:#86868b}.collection-caption{font-size:12px;line-height:1.6;color:var(--muted);margin:20px 0 12px;text-align:center}.collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.collect-item{border:1.5px solid transparent;background:#fff;border-radius:19px;text-align:center;padding:10px 5px;position:relative}.collect-item b{display:block;font-size:12px;font-weight:500;color:#86868b}.collect-item img{display:block;width:75px;height:75px;max-width:100%;margin:auto;filter:drop-shadow(0 4px 3px #223a5512)}.collect-item span{display:block;font-size:14px;font-weight:600;line-height:1.35;margin:4px 0}.material-label{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px;font-weight:400}.collect-item.locked img{filter:brightness(0) opacity(.1)}.collect-item.locked span{color:#86868b}.collect-item:disabled{opacity:1;cursor:default}.collect-item[aria-pressed="true"]{border-color:#0071e3;background:#edf5ff}.collect-item:not(:disabled):hover{background:#f0f6ff}
.touch-key{display:none;position:absolute;inset:0;pointer-events:none}.touch-key img{position:absolute;filter:none}.touch-key-base{left:9%;top:68%;width:82%!important;height:32%!important}.touch-key-lid{left:0;top:0;width:100%!important;height:79%!important;transition:transform .16s cubic-bezier(.18,1.5,.4,1)}.touch-stage[data-material="key"] .touch-key{display:block}.touch-stage[data-material="key"] #touchImage{visibility:hidden}.touch-stage[data-material="key"].pressed .touch-key-lid{transform:translateY(19%);transition:transform .06s ease-out}
.switch-row{display:flex;align-items:center;justify-content:space-between;padding:17px 16px;font-size:16px;font-weight:500;gap:12px;background:#fff;border-radius:18px 18px 0 0}.switch-row small{display:block;font-size:12px;line-height:1.5;font-weight:400;color:var(--muted);margin-top:4px}.switch{width:51px;height:31px;padding:2px;border:0;border-radius:20px;background:#e4e4e9;flex-shrink:0}.switch:after{content:"";display:block;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0000001f;transition:transform .2s}.switch.on{background:#34c759}.switch.on:after{transform:translateX(20px)}.volume-row{display:block;color:var(--muted);font-size:14px;padding:6px 16px 19px;background:#fff;border-radius:0 0 18px 18px;margin-bottom:16px}.volume-row output{float:right;font-variant-numeric:tabular-nums;color:#4d4d54}.volume-row input{display:block;width:100%;height:24px;margin:10px 0 0;accent-color:var(--accent);cursor:pointer}.sound-tests{display:flex;gap:8px;padding:0 0 22px}.sound-tests button{flex:1;border:0;background:#e7effb;border-radius:99px;min-height:44px;padding:10px 8px;font-size:14px;font-weight:500;color:var(--accent)}.sound-tests button:hover{background:#d8e9ff}.switch-row:has(#vibeSwitch){border-radius:18px}.help{font-size:14px;line-height:1.8;color:var(--muted);padding:6px 8px 0;margin-top:18px}.help strong{color:var(--ink);font-weight:600}
@keyframes toyFloat{50%{translate:0 -6px;rotate:1.5deg}}@keyframes scorePop{35%{transform:translateY(-1px) scale(1.04)}100%{transform:none}}
@media(max-width:950px){.studio-note{display:none}body{padding:16px}.app{height:calc(100svh - 32px)}}
@media(max-width:600px){body{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#f5f5f7}.app{width:100%;height:calc(100svh - max(12px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)));max-height:1100px;min-height:600px;padding:0;border:0;box-shadow:none;background:none;gap:12px;grid-template-rows:48px 72px minmax(0,1fr) 100px;border-radius:0}.brand{font-size:26px}.game-shell{border-radius:26px}header{padding:0 3px}.instruction>span,.evolution-head small{display:none}.hero-toys{height:155px;margin:16px 0}.hero-toys img:nth-child(2){width:150px;height:150px;left:calc(50% - 75px)}.hero-toys img:first-child,.hero-toys img:last-child{width:88px;top:43px}.start-card{padding:22px}.start-card h2{font-size:30px}dialog{width:calc(100% - 16px);max-height:92svh;margin:auto auto 8px;border-radius:30px}.modal-body{max-height:calc(92svh - 103px);padding-bottom:max(24px,env(safe-area-inset-bottom))}.modal-head{padding:22px 22px 18px}.combo-hud strong{font-size:74px}}
@media(max-width:360px){.brand{font-size:24px}.brand small{display:none}.brand-mark{width:40px;height:40px}.head-actions{gap:5px}.scorebar{grid-template-columns:1.15fr 1fr 62px}.stat{padding:0 12px}.stat strong{font-size:28px}.record strong{font-size:23px}.arena-hint{max-width:150px;right:10px;text-align:right;top:22px}.hero-toys img:first-child,.hero-toys img:last-child{width:75px}.modal-body{padding-left:14px;padding-right:14px}.start-card h2{font-size:27px}}
@media(max-height:800px){.app{min-height:580px;grid-template-rows:44px 65px minmax(0,1fr) 97px;gap:10px}.brand small{display:none}.brand-mark{width:40px;height:40px}.stat strong{font-size:28px}.record strong{font-size:24px;padding-top:3px}.next{height:51px}.next img{height:32px}.hero-toys{height:114px;margin:10px 0 13px}.hero-toys img:nth-child(2){width:114px;height:114px;left:calc(50% - 57px)}.hero-toys img:first-child,.hero-toys img:last-child{width:75px;height:82px;top:27px;left:17px}.hero-toys img:last-child{left:auto;right:17px}.start-card h2{font-size:27px;margin-bottom:9px}.start-card p{font-size:14px;margin-bottom:17px}.start-card{padding:18px}.sound-hint{margin-top:12px}.primary{min-height:48px;padding:12px 19px}.end-toy{width:96px;height:96px;margin-bottom:10px}.discovery-plinth{height:135px}.discovery-plinth img{width:115px;height:115px}}
@media(max-height:660px){.app{grid-template-rows:44px 62px minmax(0,1fr) 94px;gap:8px}.hero-toys{height:85px;margin:7px 0}.hero-toys img:nth-child(2){width:88px;height:88px;left:calc(50% - 44px)}.hero-toys img:first-child,.hero-toys img:last-child{width:63px;height:68px;top:17px;left:25px}.hero-toys img:last-child{left:auto;right:25px}.start-card h2{font-size:24px}.eyebrow{font-size:12px}.sound-hint{margin-top:9px}.start-card p{margin-bottom:13px}.start-card{padding:14px}}
/* Fit the start screen to the actual arena, including short mobile windows. */
@container(max-height:580px){.start-card .eyebrow{display:none}.hero-toys{height:130px;margin:10px 0 15px}.hero-toys img:nth-child(2){width:130px;height:130px;left:calc(50% - 65px)}.hero-toys img:first-child,.hero-toys img:last-child{width:83px;height:90px;top:35px;left:12px}.hero-toys img:last-child{left:auto;right:12px}.start-card{padding:20px}.start-card h2{font-size:29px}.start-card p{margin-bottom:18px}.sound-hint{margin-top:13px}}
@container(max-height:460px){.hero-toys{height:88px;margin:8px 0 12px}.hero-toys img:nth-child(2){width:88px;height:88px;left:calc(50% - 44px)}.hero-toys img:first-child,.hero-toys img:last-child{width:65px;height:70px;top:19px;left:26px}.hero-toys img:last-child{left:auto;right:26px}.start-card{padding:14px}.start-card h2{font-size:27px;line-height:1.2;margin-bottom:8px}.start-card p{font-size:14px;line-height:1.5;margin-bottom:14px}.start-card .primary{min-height:48px;padding:12px 18px}.sound-hint{margin-top:10px}.gameover{padding:16px}.gameover .end-toy{width:90px;height:90px;margin-bottom:12px}.gameover h2{font-size:27px}.gameover p{margin-bottom:16px}}
@container(max-height:350px){.hero-toys{height:66px;margin:0 0 8px}.hero-toys img:nth-child(2){width:68px;height:68px;left:calc(50% - 34px)}.hero-toys img:first-child,.hero-toys img:last-child{width:52px;height:57px;top:9px;left:35px}.hero-toys img:last-child{left:auto;right:35px}.start-card h2{font-size:24px}.start-card .sound-hint{display:none}.gameover .end-toy{width:65px;height:65px}.gameover .eyebrow{display:none}.gameover p{font-size:14px;line-height:1.5}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.combo-spark{display:none}.touch-stage[data-material="key"].pressed .touch-key-lid{transform:translateY(8%)}}
@media(prefers-reduced-transparency:reduce){.app,.icon-btn,.toast,.discovery-card{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-contrast:more){:root{--muted:#444449;--line:#999}.game-shell,.scorebar,.collect-item{border-color:#92929a}.arena-hint,.instruction,.side-hint{color:#4c4c53}}
