.category-bar{position:relative;z-index:4;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-flex-wrap:wrap;flex-wrap:wrap;gap:10px;width:94%;max-width:980px;margin:-8px auto 27px}
.category-chip{min-height:43px;padding:0 18px;border:2px solid rgba(111,83,204,.14);border-radius:23px;background:rgba(255,255,255,.72);color:#66508c;font-size:15px;font-weight:bold;box-shadow:0 5px 13px rgba(64,44,116,.08)}
.category-chip.active{border-color:#7658ec;background:#7658ec;color:#fff;box-shadow:0 5px 0 #5139b6}
.game-card.filtered-out{display:none}
.game-card,.game-card *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.game-card{touch-action:manipulation;cursor:pointer}.game-card *{pointer-events:none}.game-card:focus{outline:0}.game-card:focus-visible{outline:4px solid #6547df;outline-offset:3px}
button{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:transform .12s ease,filter .12s ease}button:active{transform:scale(.94);filter:brightness(.94)}.game-card.loading{transform:scale(.96);filter:brightness(1.05)}.game-card.loading .card-icon{animation:loadingBounce .35s ease-in-out infinite alternate}.game-card.loading .play-dot{animation:loadingSpin .55s linear infinite;background:#ff5f8b}.game-loader{position:absolute;z-index:55;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:linear-gradient(160deg,rgba(190,239,255,.97),rgba(238,218,255,.97));color:#5439b8;font-size:27px}.game-loader i{display:block;width:74px;height:74px;border:10px solid rgba(112,82,220,.2);border-top-color:#7355e8;border-right-color:#ff5f8b;border-radius:50%;animation:loadingSpin .7s linear infinite}.game-loader b{padding:13px 22px;border-radius:25px;background:#fff;box-shadow:0 8px 24px rgba(65,42,135,.17)}@keyframes loadingSpin{to{transform:rotate(360deg)}}@keyframes loadingBounce{to{transform:translateY(-8px) scale(1.08)}}
.refresh-button{position:absolute;z-index:12;left:18px;top:18px;min-height:45px;padding:0 17px;border:0;border-radius:24px;background:rgba(255,255,255,.92);color:#6547d5;font-size:15px;font-weight:bold;box-shadow:0 6px 18px rgba(54,38,120,.16)}.refresh-button:active{transform:translateY(2px)}
.webgl-wrap #logicCanvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#e9f5ff;touch-action:none}
.game-toolbar{height:78px!important;padding:12px 10px 6px!important}.webgl-wrap{top:78px!important}.home-btn{flex:0 0 132px!important;width:132px!important;height:58px!important;border-radius:31px!important;font-size:23px!important;line-height:58px!important;white-space:nowrap}.home-btn span{font-size:20px}.mission-row{display:-webkit-box;display:-webkit-flex;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:3px}.mission-row b{flex:0 0 auto;padding:3px 9px;border-radius:12px;background:#ffdf54;color:#584086;font-size:13px}.mission-row .game-progress{width:44%;margin:0}.mission-toast{position:absolute;z-index:60;left:50%;top:22%;transform:translate(-50%,-50%);min-width:330px;padding:24px 32px;border:5px solid #fff;border-radius:30px;background:linear-gradient(145deg,#ff719e,#7c65ed);color:#fff;text-align:center;font-size:31px;font-weight:bold;box-shadow:0 14px 35px rgba(47,31,104,.35);animation:cardFloat .45s ease-in-out infinite alternate;pointer-events:none}
.action-controls{position:absolute;z-index:9;left:0;right:0;bottom:12px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 18px;pointer-events:none}
.action-controls{display:none!important}
.action-controls button{pointer-events:auto;width:72px;height:72px;border:3px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(73,52,146,.82);color:#fff;font-size:34px;font-weight:bold;box-shadow:0 6px 0 rgba(35,24,91,.65);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.action-controls button:active,.action-controls button.pressed{transform:translateY(4px);box-shadow:0 2px 0 rgba(35,24,91,.65);background:#ff618d}
.move-controls,.step-controls{display:flex;align-items:flex-end;gap:10px}.step-controls{flex-wrap:wrap;justify-content:flex-end;max-width:180px}.step-controls button{width:58px;height:58px;font-size:27px}.step-controls .jump-control{width:84px;height:84px;background:rgba(255,77,130,.88);font-size:17px}
.controls-maze .move-controls{gap:7px}.controls-maze .step-controls{max-width:128px}.controls-maze .jump-control{display:none}.controls-platform .step-controls #controlUp,.controls-platform .step-controls #controlDown{display:none}.game-hint.with-controls{bottom:103px}
.puzzle-mode .score-bubble{background:rgba(255,255,255,.95)}.puzzle-mode .game-hint{bottom:10px}.puzzle-mode .webgl-wrap{background:#e8f6ff}
.type-mosaic .game-hint,.type-color .game-hint{bottom:88px!important}
@media(max-width:620px){.category-bar{gap:7px;margin-bottom:18px}.category-chip{min-height:44px;padding:0 14px;font-size:14px}.action-controls{padding:0 10px}.action-controls button{width:70px;height:70px}.step-controls .jump-control{width:82px;height:82px}.game-hint.with-controls{bottom:99px}.game-toolbar{height:70px!important;padding-top:9px!important}.webgl-wrap{top:70px!important}.home-btn{flex-basis:110px!important;width:110px!important;height:54px!important;line-height:54px!important;font-size:20px!important}.home-btn span{font-size:18px}.mission-row b{font-size:12px;padding:3px 7px}.mission-toast{min-width:280px;font-size:27px}}
@media(orientation:landscape) and (max-height:620px){.action-controls button{width:62px;height:62px;font-size:30px}.step-controls .jump-control{width:75px;height:65px;font-size:14px}.game-hint.with-controls{bottom:74px}.game-toolbar{height:62px!important;padding:7px 8px 4px!important}.webgl-wrap{top:62px!important}.home-btn{flex-basis:116px!important;width:116px!important;height:50px!important;line-height:50px!important;font-size:20px!important}.mission-row{margin-top:0}.mission-toast{top:28%;padding:17px 28px}}
.hero3d{min-height:82px!important;padding:17px 132px 7px!important;display:block!important}.hero-world,.scroll-cue,.hero-copy .eyebrow,.hero-copy p{display:none!important}.hero-copy{width:100%!important;padding:0!important;margin:0!important;text-align:center!important}.hero-copy h1{margin:0!important;font-size:34px!important;line-height:48px!important}.section-title{margin:7px 0 12px!important}.category-bar{margin-top:0!important;margin-bottom:15px!important}
@media(max-width:620px){.hero3d{min-height:103px!important;padding:50px 8px 5px!important}.hero-copy h1{font-size:29px!important;line-height:40px!important}.section-title{margin:4px 0 9px!important}.refresh-button{left:8px;top:8px;min-height:42px;padding:0 12px;font-size:13px}.game-loader{font-size:23px}.game-loader i{width:64px;height:64px}}
@media(orientation:landscape) and (max-height:620px){.hero3d{min-height:58px!important;padding:6px 132px 3px!important}.hero-copy h1{font-size:29px!important;line-height:44px!important}.section-title{margin:3px 0 7px!important}}
.choose-button{display:block!important;min-width:285px!important;min-height:64px!important;margin:22px auto 4px!important;padding:13px 26px!important;border:0!important;border-radius:32px!important;background:linear-gradient(145deg,#7f68ec,#6046cf)!important;color:#fff!important;font-size:22px!important;font-weight:bold!important;text-decoration:none!important;box-shadow:0 6px 0 #4934a8,0 12px 24px rgba(73,52,168,.25)!important}.choose-button:active{transform:translateY(4px);box-shadow:0 2px 0 #4934a8!important}
.type-anya-role .game-hint{bottom:2px!important;min-height:44px!important;padding:7px 18px!important;font-size:15px!important;line-height:19px!important}
