/* Safe areas, logical directions and longer translations. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{overflow-wrap:anywhere}
.page-wrap{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));padding-bottom:env(safe-area-inset-bottom)}
.header{height:auto;min-height:116px;gap:24px;padding:22px 0;flex-wrap:wrap}.brand{flex-shrink:0;letter-spacing:0}.brand small{letter-spacing:2px}
.header-tools{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex-wrap:wrap;min-width:0}.header nav{gap:20px}
.language-form{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;font-size:13px;background:#edf1e1;border:1px solid #dce1d2;border-radius:8px;padding:0 6px}.language-form svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}.language-form select{font:inherit;color:var(--ink);background:transparent;border:0;min-height:44px;max-width:155px;width:100%;min-width:0}.language-form button{border:0;background:transparent;min-width:36px;min-height:44px}.language-form select:focus{outline:none;box-shadow:none}.language-form:focus-within{border-color:#567446;box-shadow:0 0 0 1px #567446}
.hero-copy,.game-stage,.download-copy,.features article>div,.steps li>div{min-width:0}h1{font-size:clamp(40px,5.2vw,68px);letter-spacing:-1.8px;line-height:1.18}.hero-description{max-width:35em;line-height:1.75}.hero-description>span{display:block;margin-top:16px}.hero-actions{flex-wrap:wrap;gap:16px}.button{height:auto;min-height:52px;text-align:center;line-height:1.45;padding-top:12px;padding-bottom:12px;max-width:100%;overflow-wrap:anywhere}.button svg{flex-shrink:0}.text-link{white-space:normal}.download-meta{flex-wrap:wrap;margin-bottom:15px}.platform-note{color:var(--muted);font-size:12px;line-height:1.8;max-width:34em}
.stage-top{letter-spacing:0;gap:14px;line-height:1.5}.stage-top span:first-child{min-width:0}.stage-top i{flex-shrink:0}.stage-top span:last-child{white-space:nowrap}.scoreboard{gap:10px}.scoreboard>div{flex-wrap:wrap;gap:5px 8px;min-width:0}.scoreboard .best-score{margin-left:0;margin-inline-start:auto}.scoreboard strong{direction:ltr;unicode-bidi:isolate}.pause-button{flex-shrink:0;width:44px;height:44px}.board-wrap,canvas,.touch-controls{direction:ltr}
.overlay-card{padding:20px 18px;max-width:100%;line-height:1.45}.overlay-card h2{font-size:clamp(16px,2.3vw,23px)}.overlay-card .button{min-height:44px;max-width:100%}.overlay-kicker{font-size:8px}.game-overlay{line-height:normal}.game-bottom{align-items:center;flex-wrap:wrap;line-height:1.5;gap:10px}.game-bottom>span{flex:1 1 120px}.difficulty{max-width:100%;flex-wrap:wrap;flex:0 1 auto}.difficulty span{display:flex;align-items:center;justify-content:center;min-height:44px;white-space:normal;text-align:center;padding:8px 10px;font-size:11px}.touch-controls button{min-height:48px;min-width:56px}
.features article{padding-inline:20px;gap:12px;border-right:0;border-inline-end:1px solid var(--line)}.features article:first-child{padding-inline-start:0}.features article:last-child{padding-inline-end:0;border-inline-end:0}.features h2{line-height:1.5}.feature-symbol{margin-left:0;margin-inline-start:auto;flex-shrink:0}.section-intro h2{font-size:clamp(28px,3.4vw,36px);line-height:1.4}.steps h3{line-height:1.5}.download-section{flex-wrap:wrap}.download-copy{flex:1 1 220px}.download-section h2{line-height:1.45}.download-section .button{white-space:normal}.faq summary{gap:16px;line-height:1.6;min-height:24px}.faq summary>span{flex-shrink:0}.faq p{padding-right:0;padding-inline-end:20px}.footer-brand{white-space:normal}footer{flex-wrap:wrap;gap:18px}footer p{max-width:40%}
[dir=rtl] h1{letter-spacing:0}[dir=rtl] .game-card{transform:rotate(-1deg)}[dir=rtl] .brand small{letter-spacing:1px}[dir=rtl] .stage-caption{text-align:left}[dir=rtl] .overlay-card{direction:rtl}[lang=ar],[lang=fa],[lang=ur]{font-family:Tahoma,"Segoe UI",sans-serif;line-height:1.8}[lang=th],[lang=hi],[lang=bn],[lang=ta],[lang=te]{line-height:1.7}
@media(min-width:1100px){.page-wrap{padding-left:max(48px,env(safe-area-inset-left));padding-right:max(48px,env(safe-area-inset-right))}}
@media(max-width:1100px){.header-tools{gap:12px}.header nav{gap:14px}.hero{gap:32px}.features .feature-symbol{display:none}}
@media(max-width:900px){.header{justify-content:center;gap:16px}.header-tools{justify-content:center}.hero{grid-template-columns:1fr;gap:38px;padding:45px 0}.hero-copy{max-width:640px}.game-stage{max-width:540px;width:100%;justify-self:center}.game-card,[dir=rtl] .game-card{transform:none}.hero h1{font-size:clamp(38px,8vw,64px)}.features{grid-template-columns:1fr}.features article,.features article:first-child,.features article:last-child{padding:23px 0;border-inline-end:0;border-bottom:1px solid var(--line)}.features article:last-child{border-bottom:0}.features .feature-symbol{display:block}.how-section{gap:35px;padding:55px 0}.download-section{padding:26px}.download-section>.button{flex:1 1 160px}.touch-controls{display:flex}}
@media(max-width:600px){.page-wrap{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.header{justify-content:space-between;padding:16px 0;min-height:88px}.brand{font-size:17px;gap:8px}.brand img{width:36px;height:36px}.brand small{font-size:8px;letter-spacing:1px}.header-tools{gap:10px;justify-content:flex-end}.header nav{display:none}.language-form{font-size:12px;max-width:165px}.language-form select{max-width:105px}.language-form button{min-width:26px}.hero{padding-top:34px}.hero h1{letter-spacing:-.7px}.hero-description{font-size:16px}.hero-actions .button{flex:1 1 180px}.hero-actions .text-link{font-size:13px}.platform-note{font-size:12px}.game-card{padding:12px}.scoreboard>div{font-size:11px}.overlay-card{padding:15px 12px}.overlay-card p{font-size:11px;margin-bottom:12px}.overlay-kicker{letter-spacing:1px}.game-bottom{font-size:11px}.difficulty{flex-grow:1;justify-content:stretch}.difficulty label{flex:1 1 0}.difficulty span{font-size:11px;padding-inline:8px}.how-section{grid-template-columns:1fr}.download-section{padding:20px;gap:16px}.download-copy{flex:1 1 140px}.download-section img{width:52px;height:52px}.download-section h2{font-size:22px}.download-section>.button{flex-basis:100%}.download-section p{font-size:11px}.faq summary{font-size:14px}.faq p,.steps p,.features p{font-size:13px}.features h2{font-size:18px}footer p{max-width:100%}}
@media(max-width:360px){.header{justify-content:center}.header-tools{width:100%;justify-content:center}.language-form{max-width:220px}.language-form select{max-width:150px}.hero h1{font-size:38px}.hero-actions{gap:12px}.hero-actions .button{width:100%}.overlay-card h2{font-size:17px}.overlay-card p{font-size:10px}.overlay-card .button{font-size:12px;min-height:44px;padding:8px 12px}.game-overlay{padding:6px}.scoreboard{gap:8px}.scoreboard strong{font-size:20px}.pause-button{width:44px}.game-bottom{justify-content:center}.game-bottom>span{flex-basis:100%;text-align:center}}
@media(pointer:coarse){.touch-controls{display:flex}button,a,input,select{touch-action:manipulation}}
@media(max-height:500px) and (orientation:landscape){.hero{padding-top:24px}.game-stage{max-width:400px}.game-overlay{padding:10px}}
