/* baseline reset (auto-injected) */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:root{--c-primary:#188B78;--c-primary-deep:#0B6B5B;--c-accent:#FDC452;--c-bg:#01364A;--c-surface:#FFFFFF;--c-text:#FFFFFF;--c-muted:#D4D4D8;--radius:20px;--shadow:0 16px 40px rgba(1,30,42,.35)}html,body{width:100%;height:100%;overflow:hidden}body{background:radial-gradient(120% 90% at 50% 0%,#075266 0%,var(--c-bg) 70%);color:var(--c-text);font-family:'Trebuchet MS','Segoe UI',system-ui,sans-serif;-webkit-tap-highlight-color:transparent}img{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}.background{position:fixed;inset:0;overflow:hidden;z-index:0;pointer-events:none}.background__cloud{position:absolute;height:auto;pointer-events:none}.background__cloud-left-1{bottom:-3%;left:-8%;width:clamp(220px,40vw,580px)}.background__cloud-left-2{bottom:-4%;left:3%;width:clamp(170px,30vw,440px)}.background__cloud-left-3{bottom:-7%;left:-5%;width:clamp(150px,25vw,380px)}.background__cloud-left-4{bottom:-9%;left:15%;width:clamp(130px,20vw,300px)}.background__cloud-right-1{bottom:-3%;right:-8%;width:clamp(220px,38vw,560px)}.background__cloud-right-2{bottom:-5%;right:4%;width:clamp(170px,28vw,420px)}.background__cloud-right-3{bottom:-8%;right:-4%;width:clamp(150px,24vw,360px)}.background__star{position:absolute;height:auto;pointer-events:none;animation:twinkle 3s ease-in-out infinite}.background__star-1{top:8%;left:8%;width:clamp(18px,3vw,36px)}.background__star-2{top:14%;right:10%;width:clamp(14px,2.4vw,28px);animation-delay:.6s}.background__star-3{top:34%;left:4%;width:clamp(12px,2vw,24px);animation-delay:1.2s}.background__star-4{top:40%;right:5%;width:clamp(16px,2.6vw,32px);animation-delay:1.8s}.background__star-5{top:5%;left:46%;width:clamp(12px,2vw,22px);animation-delay:2.2s}.background__star-6{top:22%;left:22%;width:clamp(18px,3vw,34px);animation-delay:.9s}@keyframes twinkle{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}.game,.game-final-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(12px,2.5vh,28px);padding:clamp(16px,3vh,32px) 20px;text-align:center}.game{position:relative;z-index:1;width:100%;height:100%;cursor:pointer;touch-action:manipulation}.game__header{max-width:560px;display:flex;flex-direction:column;gap:10px;overflow-wrap:anywhere}.game__header__h1{font-size:clamp(28px,5vw,56px);line-height:1.1;font-weight:800;color:var(--c-text);text-wrap:balance;text-shadow:0 3px 0 rgba(1,30,42,.35)}.game__header__h3{font-size:clamp(16px,2.2vw,22px);line-height:1.3;font-weight:600;color:var(--c-accent)}.game__header__text{font-size:clamp(17px,2.2vw,22px);font-weight:700;color:#fff;text-transform:none}.game__main{display:flex;align-items:center;justify-content:center;min-height:0;flex:0 1 auto}.game__main__image{display:block;width:auto;height:auto;max-width:min(80vw,460px);max-height:min(40vh,400px);transform:rotate(0);transition:transform .3s ease;filter:drop-shadow(0 16px 28px rgba(0,0,0,.35));pointer-events:auto}.game__main__image-rotate-1{transform:rotate(8deg)}.game__main__image-rotate-2{transform:rotate(-8deg)}.game__main__image-hand{position:absolute;left:50%;bottom:22%;width:clamp(56px,9vh,84px);height:auto;margin-left:clamp(20px,6vw,70px);pointer-events:none;z-index:2}.game__main__image-hand-animation-pulse{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%,100%{transform:scale(1) translateY(0)}50%{transform:scale(.88) translateY(-6px)}}.game__main__bonus-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:hidden}.game__main__bonus-value{position:absolute;color:var(--c-accent);font-size:clamp(22px,4vw,30px);font-weight:800;opacity:1;pointer-events:none;text-shadow:0 2px 0 rgba(1,30,42,.6);animation:fadeOut 3s forwards}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.game__footer{width:100%;display:flex;justify-content:center}.game__progress{position:relative;display:flex;align-items:center;justify-content:center;width:min(380px,100%);height:56px;border-radius:16px;background-color:rgb(10,96,76);color:#fff;font-weight:700;font-size:18px;overflow:hidden;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}.game__progress__bar{position:absolute;top:0;bottom:0;left:0;width:0;background-color:var(--c-accent);transition:width 1s linear;z-index:0}.game__progress__text{position:relative;z-index:1;display:flex;align-items:center;color:#fff;text-shadow:0 1px 2px rgba(1,30,42,.7)}.game-final-screen{position:fixed;inset:0;z-index:2;width:100%;height:100%;overflow:hidden;cursor:pointer;background-image:linear-gradient(to bottom,#ffbd39,#ffe1a5)}.game-final-screen .game__header{max-width:520px}.game-final-screen .game__header__h1{color:var(--c-bg);text-shadow:none}.game-final-screen .game__header__text{color:var(--c-primary-deep)}.game-final-screen .game__header__h3{color:rgba(1,54,74,.8);font-weight:600}.game-final-screen .game__main__image{transform:scale(1.15);max-height:min(32vh,340px)}.game__button{display:flex;align-items:center;justify-content:center;width:min(380px,100%);min-height:60px;padding:14px 24px;border:0;border-radius:16px;background:var(--c-primary-deep);color:#fff;font:inherit;font-size:clamp(20px,3vw,26px);font-weight:800;text-transform:uppercase;letter-spacing:.02em;cursor:pointer;box-shadow:0 8px 0 #07473d,0 14px 24px rgba(1,30,42,.3);transition:transform .2s ease,box-shadow .2s ease}.game__button:hover{transform:translateY(-2px);box-shadow:0 10px 0 #07473d,0 16px 26px rgba(1,30,42,.3)}.game__button:active{transform:translateY(4px);box-shadow:0 4px 0 #07473d,0 8px 14px rgba(1,30,42,.3)}.game__button:focus-visible,.modal__window__button:focus-visible{outline:3px solid var(--c-bg);outline-offset:3px}.modal{position:fixed;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(1,36,50,.45)}.modal__window{display:flex;flex-direction:column;align-items:center;gap:14px;width:min(420px,100%);padding:28px 24px;border-radius:var(--radius);background:var(--c-surface);color:var(--c-bg);text-align:center;box-shadow:var(--shadow);overflow-wrap:anywhere}.modal__window__badge{display:inline-block;padding:6px 14px;border-radius:999px;background:var(--c-accent);color:var(--c-bg);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.modal__window__title{font-size:clamp(24px,4vw,32px);line-height:1.15;font-weight:800;color:var(--c-primary-deep);text-wrap:balance}.modal__window__text{font-size:clamp(16px,2.2vw,19px);line-height:1.4;color:var(--c-bg)}.modal__window__button{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:10px 16px;border-radius:14px;background-color:var(--c-primary-deep);color:#fff;font-size:clamp(20px,3vw,24px);font-weight:800;text-transform:uppercase;text-decoration:none;box-shadow:0 6px 0 #07473d;transition:transform .2s ease,box-shadow .2s ease}.modal__window__button:hover{transform:translateY(-2px);box-shadow:0 8px 0 #07473d}.modal__window__button:active{transform:translateY(3px);box-shadow:0 3px 0 #07473d}.blur{filter:blur(8px)}.hidden{display:none}.visible{display:flex;opacity:0;animation:makeVisible 1s ease forwards}@keyframes makeVisible{0%{opacity:0}100%{opacity:1}}@media screen and (orientation:landscape) and (max-height:550px){.game,.game-final-screen{flex-direction:row;flex-wrap:wrap;gap:16px 28px}.game__main__image{max-height:55vh}.game-final-screen .game__main__image{max-height:50vh}.modal__window{padding:18px}}@media (min-width:900px){.game__header__h1{font-size:clamp(44px,4.4vw,60px)}.game__main__image{max-width:480px;max-height:min(42vh,420px)}}html[dir=rtl] .background__cloud{transform:scaleX(-1)}@media (prefers-reduced-motion:reduce){.background__star,.game__main__image-hand-animation-pulse{animation:none}.game__main__image,.game__button,.modal__window__button,.game__progress__bar{transition:none}.visible{animation-duration:.01s}}

html,
body {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
