.bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.bottom-nav button{font-size:12px;padding-inline:2px}.games-screen{padding:14px 16px calc(var(--nav-height) + 20px + env(safe-area-inset-bottom))}.games-screen .brand-header{height:72px}.games-screen .brand-logo{width:140px;margin:0 0 0 5px}.games-screen h1{font-size:30px;line-height:1.15;margin:0 0 16px;font-weight:700;letter-spacing:-.6px}.games-screen .game-picker{display:grid;gap:16px}.games-screen .game-picker>button{padding:0;overflow:hidden;border:1.5px solid #53caff;border-radius:26px;color:white;background:linear-gradient(130deg,#0878ca,#00377e);box-shadow:inset 0 1px 2px #b5e9ff66,0 5px 15px #001d5866;text-align:left;transition:transform .15s}.games-screen .game-picker>button:active{transform:scale(.98)}.games-screen .game-card-art{height:clamp(105px,18dvh,158px);position:relative;overflow:hidden}.games-screen .stars-art>img{width:100%;height:100%;object-fit:cover;object-position:center 40%}.games-screen .floating-star{position:absolute;right:22px;bottom:14px;font-size:48px;color:#ffdc40;filter:drop-shadow(0 3px 8px #aa7d00);animation:gameFloat 2.4s ease-in-out infinite}.games-screen .game-card-name{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;font-size:23px;font-weight:600}.games-screen .blocks-art{background:radial-gradient(ellipse at 30% 20%,#168ecc,#04336d);display:flex;align-items:center;justify-content:space-around;padding:10px 20px}.games-screen .blocks-art img{width:110px;height:110px;object-fit:contain;transform:rotate(8deg)}.games-screen .mini-blocks{display:grid;grid-template-columns:repeat(4,27px);grid-template-rows:repeat(3,27px);gap:4px;transform:rotate(-9deg)}.games-screen .mini-blocks i{background:linear-gradient(#91df43,#40a514);border:1px solid #bdff86;border-radius:6px;box-shadow:inset 0 3px #e4ff9d88,0 3px 5px #00172a66}.games-screen .mini-blocks i:nth-child(3n){background:linear-gradient(#ffe97a,#efb92b);border-color:#fff1ab}.games-screen .mini-blocks i:nth-child(4n){background:linear-gradient(#26bcff,#0874df);border-color:#92e3ff}.games-screen .mini-blocks i:nth-child(-n+2){visibility:hidden}.games-screen.is-playing{height:calc(100dvh - var(--nav-height) - env(safe-area-inset-bottom));padding:8px 12px;overflow:hidden}#game-play{height:100%;display:grid;grid-template-rows:42px 38px minmax(0,1fr);gap:8px}.games-screen .game-play-header{display:flex;align-items:center;gap:6px}.games-screen .game-play-header h1{font-size:23px;margin:0;flex:1;text-align:center}.games-screen .game-play-header .icon-button{width:38px;height:38px;flex-shrink:0}.games-screen #game-help{border:1px solid #75c8ff;border-radius:50%;font-size:21px;width:32px;height:32px}.games-screen .game-stats{display:flex;justify-content:space-between;align-items:center;padding:5px 15px;background:#00326bb3;border:1px solid #239ce8;border-radius:16px;font-size:20px}.games-screen #game-score:before{content:'★ ';color:#ffdc40}.games-screen #game-clock{font-size:15px;color:#c1e7ff;font-variant-numeric:tabular-nums}.games-screen .play-board{position:relative;min-height:0;overflow:hidden;border:1px solid #52bfff;border-radius:25px;background:radial-gradient(ellipse at 50% 100%,#1591bd,#034481 60%,#00275e);box-shadow:inset 0 0 60px #00224d55}.games-screen canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none;outline-offset:-4px}.games-screen .gesture-hint{position:absolute;bottom:24%;left:50%;transform:translateX(-50%);font:600 25px Dico,sans-serif;color:#fff;background:#003877aa;border:1px solid #63c5ff;border-radius:40px;padding:10px 25px;white-space:nowrap;pointer-events:none}.games-screen .gesture-hint span{display:inline-block;animation:gameSwipe 1.3s ease-in-out infinite}.games-screen #game-retry{position:absolute;top:45%;left:15%;width:70%}.games-screen .game-rest-button{justify-self:center;border:0;background:none;color:#a5d1f3;font-size:15px;padding:4px 14px;text-decoration:underline}.games-screen #game-break{text-align:center;padding-top:12dvh}.games-screen #game-break>img{width:130px;height:130px;margin-bottom:15px}.games-screen #game-break h1{font-size:30px;color:#ffdc40}.games-screen #game-break p{font-size:20px;line-height:1.5;margin:14px 0}.games-screen #game-unlock{font-size:17px;color:#bee5ff}.games-screen #game-help-dialog{font-family:Dico,sans-serif}.games-screen #game-help-dialog p{font-size:18px}.games-screen .game-picker button:focus-visible{outline:3px solid #ffdc40;outline-offset:4px}@keyframes gameFloat{50%{transform:translateY(-8px) rotate(8deg)}}@keyframes gameSwipe{50%{transform:translateX(15px)}}@media(prefers-reduced-motion:reduce){.games-screen *{animation:none!important}}@media(max-height:650px){.games-screen .brand-header{height:58px}.games-screen .brand-logo{width:120px}.games-screen h1{font-size:27px;margin-bottom:12px}.games-screen .game-card-art{height:100px}.games-screen .game-picker{gap:12px}.games-screen .game-card-name{padding:10px 15px;font-size:21px}#game-play{grid-template-rows:36px 32px minmax(0,1fr);gap:6px}.games-screen .game-play-header h1{font-size:20px}}
.bottom-nav button[data-page="gry"].active svg{fill:none;stroke:currentColor;stroke-width:2.3}

.games-screen #game-help{padding:0;display:grid;place-items:center;line-height:1;font-style:normal;font-weight:600}

.games-screen #game-sound{width:30px;height:32px;padding:4px}.games-screen #game-sound svg{width:23px;height:23px}.games-screen #game-sound .sound-slash{display:none}.games-screen #game-sound.is-muted .sound-slash{display:block}.games-screen .score-pop{animation:gameScorePop .25s ease-out}@keyframes gameScorePop{50%{transform:scale(1.2);color:#ffdc40}}

.games-screen .catcher-control{position:absolute;bottom:10px;left:14px;right:14px;height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border:1px solid #54b6ed88;border-radius:24px;background:linear-gradient(90deg,#003a75b3,#085d98bb,#003a75b3);pointer-events:none;color:#99d9ff}.games-screen .catcher-control span{width:46px;height:6px;border-radius:10px;background:#78c9f1;box-shadow:0 0 9px #8cd9ff55}.games-screen .catcher-control svg{width:24px;height:24px}

.games-screen .play-board.is-speeding{box-shadow:inset 0 0 22px #ffdc4033;border-color:#ffdc40}.games-screen .fall-boost{position:absolute;right:14px;top:14px;color:#ffdc40;pointer-events:none}.games-screen .fall-boost svg{width:28px;height:28px}

.games-screen #game-results{text-align:center;padding-top:clamp(12px,5dvh,45px)}.games-screen .round-frog{width:140px;height:140px;object-fit:contain}.games-screen #game-results h1{font-size:32px;color:#ffdc40;margin:8px 0 20px}.games-screen .round-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px}.games-screen .round-stats>div{display:flex;flex-direction:column;align-items:center;padding:16px 8px;border:1px solid #61c7ff;border-radius:24px;background:linear-gradient(145deg,#0760a5,#00316d)}.games-screen .round-stats strong{font-size:46px;line-height:1.2}.games-screen .round-stats span{font-size:19px}.games-screen .round-stats .round-star,.games-screen .round-stats .round-miss{font-size:34px;color:#ffdc40}.games-screen #game-results .button{width:100%;margin:12px 0;font-size:21px}.games-screen #round-rest{font-size:20px;line-height:1.45;padding:12px 6px;color:#fff5bb}.games-screen #game-clock.round-last-seconds{color:#ffdc40;font-weight:700}@media(max-height:650px){.games-screen #game-results{padding-top:0}.games-screen .round-frog{width:100px;height:100px}.games-screen .round-stats{margin-bottom:12px}.games-screen #game-results h1{font-size:27px;margin:4px 0 12px}.games-screen .round-stats>div{padding:10px 6px}}

.games-screen .game-health-note{font-size:18px;line-height:1.4;margin:-5px 0 17px;color:#d6eeff}.games-screen .game-health-note:before{content:'♥ ';color:#ffdc40}@media(max-height:700px){.games-screen .game-health-note{font-size:16px;margin:0 0 12px}.games-screen .game-card-art{height:85px}.games-screen .game-picker{gap:10px}.games-screen .game-card-name{padding:9px 14px}}

.games-screen .game-picker .game-card-art{height:auto;aspect-ratio:3/1;padding:0;display:block;background:#064898}.games-screen .game-picker .game-card-art>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:none}

.games-screen .bubbles-art{position:relative!important;overflow:hidden!important;background:radial-gradient(ellipse at 30% 18%,#168ecc,#04336d)!important}.games-screen .bubbles-art:before{content:'';position:absolute;inset:auto -8% -35% -8%;height:80%;background:radial-gradient(ellipse,#0e6fba00 28%,#001f4f77 76%);z-index:1}.games-screen .bubbles-art>img{position:absolute;right:8%;bottom:-28%;height:130%;width:auto!important;z-index:2;filter:drop-shadow(0 7px 5px #001b3b88)}.games-screen .bubbles-art .bubble-cannon{position:absolute;left:13%;bottom:14%;width:30%;height:26%;z-index:3;border:3px solid #fff0a0;border-radius:18px 42px 42px 18px;background:linear-gradient(90deg,#ffdc40,#efb92b);transform:rotate(-18deg);box-shadow:inset 0 5px #fff4ae66,0 4px 7px #00172a66}.games-screen .bubbles-art .bubble-cannon:after{content:'';position:absolute;right:-11px;top:6px;width:18px;height:18px;border:3px solid #d9f7ff;border-radius:50%;background:#0874df}.games-screen .bubbles-art i{position:absolute;z-index:4;width:clamp(18px,6vw,34px);aspect-ratio:1;border-radius:50%;border:2px solid #ffffffbb;background:radial-gradient(circle at 30% 24%,#fff 0 9%,#ffffffaa 10% 15%,var(--bubble) 18% 100%);box-shadow:0 5px 8px #00172a66}.games-screen .bubbles-art i:nth-of-type(1){--bubble:#79d137;left:11%;top:13%;animation:bubbleFloat 2.2s ease-in-out infinite}.games-screen .bubbles-art i:nth-of-type(2){--bubble:#ffdc40;left:29%;top:25%;animation:bubbleFloat 2.7s .2s ease-in-out infinite}.games-screen .bubbles-art i:nth-of-type(3){--bubble:#168aff;left:43%;top:8%;animation:bubbleFloat 2.4s .4s ease-in-out infinite}.games-screen .bubbles-art i:nth-of-type(4){--bubble:#79d137;left:43%;top:58%;animation:bubbleFloat 2.8s .1s ease-in-out infinite}.games-screen .bubbles-art i:nth-of-type(5){--bubble:#ffdc40;left:19%;top:60%;animation:bubbleFloat 2.5s .6s ease-in-out infinite}@keyframes bubbleFloat{50%{transform:translateY(-9px) scale(1.07)}}

.games-screen #game-clock.clock-bonus{animation:clockBonus .65s ease-out}@keyframes clockBonus{30%{color:#c8ff86;transform:scale(1.18)}}@media(prefers-reduced-motion:reduce){.games-screen #game-clock.clock-bonus{animation:none;color:#c8ff86}}
.game-picker button.is-locked{position:relative;filter:grayscale(1);opacity:.58;cursor:pointer}.game-picker .mode-lock{display:block;padding:7px 10px 12px;color:#e7e7e7;font-size:14px;font-weight:700;text-align:center}.game-picker button.is-locked .game-card-art{filter:grayscale(1)}

/* Karta Bąbelków: tło jak w pozostałych grach, a żabka po lewej patrzy na bąbelki po prawej. */
.games-screen .bubbles-art{background:linear-gradient(135deg,#0a85c8 0%,#0560a7 48%,#04336d 100%)!important}
.games-screen .bubbles-art:before{display:none}
.games-screen .bubbles-art>img{left:5%;right:auto;bottom:-28%;height:130%;width:auto!important;object-position:center;z-index:2}
.games-screen .bubbles-art i{width:clamp(32px,9vw,50px);z-index:3}
.games-screen .bubbles-art i:nth-of-type(1){left:55%;top:8%}
.games-screen .bubbles-art i:nth-of-type(2){left:73%;top:20%}
.games-screen .bubbles-art i:nth-of-type(3){left:86%;top:7%}
.games-screen .bubbles-art i:nth-of-type(4){left:57%;top:57%}
.games-screen .bubbles-art i:nth-of-type(5){left:78%;top:59%}

.game-picker .game-lock{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:64px;height:70px;border:1px solid #e0f5ffb3;border-radius:18px;background:#001b4ed9;color:#fff;box-shadow:0 3px 14px #00132c88;pointer-events:none}.game-picker .game-lock svg{width:42px;height:46px;stroke-width:2.1}
