html,body{touch-action:pan-y}.game{max-width:540px;padding-bottom:max(90px,env(safe-area-inset-bottom))}.actbar{gap:6px;justify-content:space-between}.barlogo{position:static;transform:none!important;width:54px;height:auto;flex-shrink:0}.barlinks{gap:4px}.barlinks a{padding:0 8px}.blang{margin-left:0;gap:4px}#sound{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#30302f;color:#fffaf0;font-size:21px}#sound[aria-pressed=false]::after{content:"";position:absolute;width:25px;height:2px;background:#fffaf0;transform:rotate(-45deg)}.title-card{width:min(100%,340px);margin:10px auto 18px;border:3px solid #30302f;background:#e8f7f1;border-radius:28px;padding:8px 12px 20px}.title-card h1{font-size:43px;margin:0}.title-marks{display:flex;justify-content:center;gap:12px;align-items:center;font-size:90px;line-height:1.2;font-weight:600}.title-marks span:nth-child(2){color:#208567}.title-marks span:nth-child(2n+1){color:#bc343e}.start-help{font-size:20px;max-width:370px;margin:12px auto}.how{font-size:18px;line-height:1.45;max-width:370px;margin:12px auto}.example{display:flex;justify-content:center;gap:6px;margin:10px auto 18px}.example i{font:700 30px/44px Fredoka,sans-serif;width:46px;height:46px;background:#61d9b6;border:2px solid #30302f;border-radius:12px;font-style:normal}.intro-actions{display:flex;align-items:center;justify-content:center;gap:12px}.intro-actions .primary.big{min-width:150px;min-height:58px;font-size:24px}.intro-actions .secondary{min-height:52px}#count{text-align:center;font-size:21px;margin:12px auto 3px}#status{text-align:center;font-size:19px;min-height:49px;margin:3px auto 9px;max-width:360px}#modes{display:flex;justify-content:center;gap:8px;margin:8px auto 13px}#modes button{min-height:44px;padding:7px 17px;border:2px solid #30302f;border-radius:13px;background:#fff9e9;font:500 19px Fredoka,sans-serif}#modes button[aria-pressed=true]{background:#62d8b7;box-shadow:inset 0 0 0 2px #12785d}#board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:calc(100% - 8px);max-width:350px;margin:auto;gap:2px}.cell{aspect-ratio:1;background:#62d8b7;border:2px solid #30302f;border-radius:7px;font:500 23px Fredoka,sans-serif;color:#30302f;padding:0;min-width:0;min-height:44px;touch-action:manipulation;display:flex;align-items:center;justify-content:center}.cell.open{background:#fff9e9;border-color:#bcab86}.cell.flag{background:#ffdf8c}.cell.mine{background:#ffc1b8}.cell:focus-visible{outline:4px solid #a34a27;outline-offset:-4px}.cell svg{width:25px;height:25px}.cell:disabled{opacity:1}.play-actions{display:flex;justify-content:center;gap:10px;margin:20px auto 0}.play-actions button{min-height:49px;font-size:18px;padding:8px 18px}.mine-preview{font-size:54px;color:#208567;line-height:1.2;margin:10px auto}.title-card h1{font-size:35px}body.ml #status{font-size:16px}body.ml #modes button{font-size:16px}body.ml .play-actions button{font-size:16px}body.ml .start-help{font-size:18px}body.ml .how{font-size:17px}@media(max-width:360px){.barlogo{width:44px}.barlinks a{padding:0 6px}.blang #langswitch{min-width:65px;padding:0 7px;font-size:13px}.actbar{padding-left:8px;padding-right:8px;gap:4px}.title-card h1{font-size:30px}.start-help{font-size:18px}.how{font-size:16px}body.ml .start-help{font-size:17px}body.ml .how{font-size:16px}#count{font-size:19px}#status{min-height:40px}#modes{margin:6px auto 10px}.play-actions{margin-top:15px}}
@media(max-width:360px){body.ml #count{font-size:17px;line-height:1.35;margin-top:9px}body.ml #status{min-height:34px;margin-bottom:4px}body.ml #modes{margin:4px auto 7px}.play-actions{margin-top:10px}}

#count{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px}#count span{white-space:nowrap}
