@media (orientation:portrait) and (width<=600px){.number-game-shell[data-number-phase=playing]{gap:8px;width:100%}.number-game-shell[data-number-phase=playing] .number-tap-hud{gap:6px;padding:8px}.number-game-shell[data-number-phase=playing] .number-tap-mode-buttons{flex-wrap:nowrap;gap:6px}.number-game-shell[data-number-phase=playing] .number-tap-mode-buttons>button{min-height:44px;padding:4px;font-size:.8rem}.number-game-shell[data-number-phase=playing] .number-tap-timer{flex-direction:row;justify-content:space-between;align-items:baseline;gap:6px}.number-game-shell[data-number-phase=playing] .practice-notice:not([role=alert]){display:none}.number-game-shell[data-number-phase=playing] .number-target-banner{padding:6px 10px}.number-game-shell[data-number-phase=playing]>.pocket-card{padding:8px}.number-game-shell[data-number-phase=playing] .number-cell{height:48px}.memory-game-shell[data-active-play=true]{gap:6px}.memory-game-shell[data-active-play=true] .memory-mode-panel{padding:4px 6px}.memory-game-shell[data-active-play=true] .memory-mode-buttons,.memory-game-shell[data-active-play=true] .memory-contract,.memory-game-shell[data-active-play=true] .memory-controls>div{display:none}.memory-game-shell[data-active-play=true] .memory-settings{width:100%}.memory-game-shell[data-active-play=true] .memory-hud>div{padding:5px}.memory-game-shell[data-active-play=true] .memory-status{gap:6px;min-height:44px;padding:4px 8px}.memory-game-shell[data-active-play=true] .memory-status p{margin:0;font-size:.8rem;line-height:1.3}.memory-game-shell[data-active-play=true] .memory-board-card{padding:6px!important}.memory-game-shell[data-active-play=true] .memory-board-wrap{border-width:2px;width:min(100%,256px);margin-inline:auto;padding:6px}.memory-game-shell[data-active-play=true] .memory-board{gap:6px}.memory-game-shell[data-active-play=true] .memory-controls{box-shadow:none;border:0;padding:0}.memory-game-shell[data-active-play=true] .memory-controls:has(>div:only-child){display:none}:is(.mental-math,.sensory-game,.code-breaker)[data-phase=playing]{gap:8px;height:min(700px,100svh - 88px);padding:10px;display:grid}:is(.mental-math,.sensory-game,.code-breaker)[data-phase=playing] header h2{font-size:1.3rem;line-height:1.3}.mental-math[data-phase=playing]{grid-template-rows:auto auto minmax(136px,1fr) auto auto}.mental-math[data-phase=playing] .mental-math__paper{gap:4px;min-height:0;padding:8px}.mental-math[data-phase=playing] .mental-math__paper strong{font-size:2.5rem;line-height:1.1}.mental-math[data-phase=playing] .mental-math__paper output{min-height:44px}.mental-math[data-phase=playing] .mental-math__keypad{gap:6px}.mental-math[data-phase=playing] .mental-math__keypad button{min-height:48px}.code-breaker[data-phase=playing]{grid-template-rows:auto auto minmax(64px,1fr) auto auto}.code-breaker[data-phase=playing] .code-breaker__display{grid-template-columns:repeat(4,minmax(44px,60px));padding:8px}.code-breaker[data-phase=playing] .code-breaker__history{min-height:0;max-height:none}.sensory-game[data-phase=playing]{grid-template-rows:auto auto minmax(156px,1fr) auto auto auto auto;gap:6px;height:min(740px,100svh - 80px);padding:8px}.sensory-game[data-phase=playing] .sensory-game__score>*{padding:4px 8px}.sensory-game[data-phase=playing] .sensory-game__stage{min-height:0}.sensory-game[data-phase=playing] .sensory-game__stage>div{height:min(130px,90%)}.sensory-game[data-phase=playing] .sensory-game__ranges{grid-template-columns:1fr 1fr}.sensory-game[data-phase=playing] .sensory-game__instruction{font-size:.8rem;line-height:1.4}.sensory-game[data-phase=playing] .sensory-game__primary{min-height:48px}.sensory-game[data-phase=playing] .sensory-game__status{min-height:44px;padding:6px 8px;font-size:.78rem}}.memory-game-shell{width:min(100%,680px);color:var(--text-primary);gap:14px;margin:0 auto;display:grid}.memory-mode-panel,.memory-contract,.memory-hud,.memory-status,.memory-controls{border:3px solid var(--border-color);box-shadow:var(--shadow-sm)}.memory-mode-panel{background:var(--surface-paper);border-radius:18px 15px 20px 14px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.memory-mode-buttons,.memory-settings{flex-wrap:wrap;gap:8px;display:flex}.memory-settings button{min-height:var(--min-touch-target);border:2px solid var(--border-color);color:var(--text-primary);font-family:var(--font-family-display);background:#f1e4c7;border-radius:10px 8px 11px 9px;padding:7px 10px;box-shadow:0 3px #aa8a65}.memory-settings button[aria-pressed=true]{background:#cde8be;box-shadow:0 3px #6e9968}.memory-contract{background:#fff0c5;border-radius:14px 18px 13px 17px;padding:12px 14px}.memory-contract>div{align-items:center;gap:10px;margin-bottom:5px;display:flex}.memory-contract strong{font-family:var(--font-family-display);font-weight:400}.memory-contract p,.memory-friend-card p{color:var(--text-secondary);font-size:.88rem;line-height:1.55}.memory-hud{background:var(--surface-paper);border-radius:16px 13px 18px 14px;grid-template-columns:repeat(3,1fr);display:grid;overflow:hidden}.memory-hud>div{text-align:center;min-width:0;padding:10px 8px}.memory-hud>div+div{border-left:2px dashed #b89b72}.memory-hud span{color:var(--text-secondary);font-size:.72rem;display:block}.memory-hud strong{font-family:var(--font-family-display);white-space:nowrap;margin-top:2px;font-size:clamp(1rem,3vw,1.25rem);font-weight:400;display:block}.memory-status{background:#d9ebd0;border-radius:12px 16px 11px 15px;align-items:center;gap:10px;min-height:52px;padding:9px 12px;display:flex}.memory-status[data-phase=input]{background:#cde8be}.memory-status p{flex:1;font-size:.9rem;font-weight:700}.memory-status>span:last-child{color:var(--text-secondary);font-family:var(--font-family-mono);font-size:.8rem}.memory-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.memory-board-card{overflow:hidden}.memory-board-wrap{background-color:#d7edcc;background-image:radial-gradient(circle at 16px 17px,#ffffff2e 0 4px,#0000 4.5px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:34px 34px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border:3px dashed #a17d53;border-radius:17px 14px 19px 13px;width:100%;padding:clamp(6px,2vw,12px);position:relative}.memory-board{grid-template-columns:repeat(4,minmax(44px,1fr));gap:clamp(7px,2.2vw,12px);display:grid}.memory-cell{aspect-ratio:1;border:3px solid var(--border-color);color:#3f302433;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:#f5d46f;border-radius:16px 12px 17px 13px;min-width:44px;min-height:44px;transition:transform .12s ease-out,filter .12s ease-out,background-color .12s ease-out,box-shadow .12s ease-out;position:relative;box-shadow:0 5px #a87738}.memory-cell:nth-child(4n+2){background:#efaa9f;box-shadow:0 5px #a85c57}.memory-cell:nth-child(4n+3){background:#8fc7e5;box-shadow:0 5px #4e7fa2}.memory-cell:nth-child(4n){background:#92c98b;box-shadow:0 5px #568a59}.memory-cell:disabled{cursor:default;opacity:1}.memory-cell:not(:disabled):hover{filter:brightness(1.06);transform:translateY(-2px)rotate(-.5deg)}.memory-cell[data-active=true]{z-index:1;color:#bf7622;filter:brightness(1.18)saturate(1.1);background:#fff9d8;transform:translateY(2px)scale(1.05)rotate(1deg);box-shadow:0 3px #bf7622,0 0 0 5px #fff19cbf,0 0 26px #ffe05fe6}.memory-cell[data-correct=true]:not([data-active=true]){color:#246d4e;outline-offset:-6px;outline:4px solid #4e9b676b}.memory-cell[data-error=true]{color:#712f2c;background:#ef8175;transform:translateY(2px)rotate(-2deg);box-shadow:0 3px #a94442,0 0 0 5px #d95f5940}.memory-cell span{font-family:var(--font-family-display);font-size:clamp(1rem,5vw,1.8rem);display:inline-block}.memory-board-overlay{text-align:center;backdrop-filter:blur(3px);background:#fff9eaf0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:18px;display:flex;position:absolute;inset:0}.memory-idle>span,.memory-countdown>span{font-family:var(--font-family-display);font-size:clamp(2.7rem,12vw,5rem);line-height:1}.memory-idle strong{font-family:var(--font-family-display);font-size:clamp(1.25rem,5vw,1.75rem);font-weight:400}.memory-idle p,.memory-countdown p{color:var(--text-secondary);font-size:.9rem}.memory-countdown{background:#fff0c5f2}.memory-countdown>span{color:#a65c24;text-shadow:3px 3px #f6d788}.memory-controls{background:#f5e7c5;border-radius:15px 12px 16px 13px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.memory-controls>div{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:7px;font-size:.8rem;display:flex}.memory-friend-card{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;display:grid;background:#f3ddec!important}.memory-friend-card>div:first-child{font-size:1.8rem}.memory-friend-card strong{font-family:var(--font-family-display);font-weight:400}@media (width<=600px){.memory-mode-panel,.memory-controls{flex-direction:column;align-items:stretch}.memory-mode-buttons>button,.memory-settings button{flex:1}.memory-friend-card{grid-template-columns:auto 1fr}.memory-friend-card>button{grid-column:1/-1;width:100%}}@media (width<=370px){.memory-game-shell{gap:10px}.memory-board-card{padding:9px!important}.memory-board{gap:6px}.memory-cell{border-width:2px;border-radius:12px 9px 13px 10px;box-shadow:0 4px #8d6845}.memory-contract p,.memory-status p,.memory-friend-card p{font-size:.8rem}}@media (orientation:landscape) and (width<=1000px) and (height<=500px){html.landscape-core-game-active,html.landscape-core-game-active body{overscroll-behavior:none;overflow:hidden}.memory-game-shell[data-active-play=true]{z-index:120;box-sizing:border-box;width:100%;max-width:none;height:100dvh;padding:max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));background-color:#fff9ea;background-image:radial-gradient(circle at 16px 17px,#6f5b4514 0 3px,#0000 3.5px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:32px 32px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;grid-template:"board mode""board hud""board status""board controls"1fr/minmax(300px,1.05fr) minmax(220px,.95fr);gap:6px 8px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.memory-game-shell[data-active-play=true] .memory-mode-panel{border-width:2px;border-radius:12px;flex-direction:column;grid-area:mode;align-items:stretch;gap:3px;min-width:0;padding:5px 7px;box-shadow:0 2px #846549}.memory-game-shell[data-active-play=true] .memory-mode-buttons{gap:4px;min-width:0;font-size:.78rem}.memory-game-shell[data-active-play=true] .memory-settings{gap:4px}.memory-game-shell[data-active-play=true] .memory-settings button{flex:1;min-width:44px;min-height:44px;padding:4px 6px;font-size:.72rem}.memory-game-shell[data-active-play=true] .memory-contract{display:none}.memory-game-shell[data-active-play=true] .memory-hud{border-width:2px;border-radius:12px;grid-area:hud;min-width:0;box-shadow:0 2px #846549}.memory-game-shell[data-active-play=true] .memory-hud>div{padding:5px 4px}.memory-game-shell[data-active-play=true] .memory-hud strong{font-size:clamp(.86rem,2.5vw,1.06rem)}.memory-game-shell[data-active-play=true] .memory-status{border-width:2px;border-radius:11px;grid-area:status;min-width:0;min-height:44px;padding:5px 7px;box-shadow:0 2px #6e9968}.memory-game-shell[data-active-play=true] .memory-status p{min-width:0;font-size:.76rem;line-height:1.25}.memory-game-shell[data-active-play=true] .memory-board-card{box-sizing:border-box;grid-area:board;place-self:center;width:min(100%,350px);max-height:100%;border-width:2px!important;border-radius:15px!important;padding:5px!important;box-shadow:0 3px #846549!important}.memory-game-shell[data-active-play=true] .memory-board-wrap{border-width:2px;padding:5px}.memory-game-shell[data-active-play=true] .memory-board{grid-template-columns:repeat(4,minmax(44px,1fr));gap:5px}.memory-game-shell[data-active-play=true] .memory-cell{border-width:2px;border-radius:11px 8px 12px 9px;min-width:44px;min-height:44px;box-shadow:0 3px #8d6845}.memory-game-shell[data-active-play=true] .memory-cell span{font-size:clamp(1rem,4.5vh,1.5rem)}.memory-game-shell[data-active-play=true] .memory-controls{border-width:2px;border-radius:11px;grid-area:controls;align-self:end;min-width:0;padding:5px 7px;box-shadow:0 2px #aa8a65}.memory-game-shell[data-active-play=true] .memory-controls>div{font-size:.7rem}}@media (prefers-reduced-motion:reduce){.memory-cell,.memory-cell[data-active=true],.memory-cell[data-error=true]{transform:none}}.airplane-game{color:#3f3024;background:#fffaf0;border:3px solid #3f3024;border-radius:22px 17px 24px 16px;flex-direction:column;gap:12px;padding:14px;display:flex;box-shadow:0 6px #6b8fa7}.airplane-game__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.airplane-game__header h2{font-family:var(--font-family-display);margin:2px 0 0;font-size:clamp(1.35rem,6vw,1.8rem);font-weight:400}.airplane-game__eyebrow{color:#315f78;letter-spacing:.13em;font-size:.68rem;font-weight:900}.airplane-game__header strong{color:#153e55;white-space:nowrap;background:#d9eef8;border:2px solid #3f3024;border-radius:11px;padding:7px 10px}.airplane-game__sky{background:linear-gradient(#8dd5f1 0%,#dff5ff 72%,#cde8be 72%);border:3px solid #3f3024;border-radius:18px 14px 20px 13px;min-height:310px;position:relative;overflow:hidden}.airplane-game__cloud{background:#ffffffd1;border-radius:999px;width:72px;height:24px;position:absolute}.airplane-game__cloud:before,.airplane-game__cloud:after{content:"";background:inherit;border-radius:50%;width:30px;height:30px;position:absolute;bottom:6px}.airplane-game__cloud:before{left:10px}.airplane-game__cloud:after{right:9px}.airplane-game__cloud--one{top:45px;left:7%}.airplane-game__cloud--two{top:105px;right:8%;transform:scale(.75)}.airplane-game__lanes{grid-template-columns:repeat(5,1fr);padding:16px 10px 13px;display:grid;position:absolute;inset:0}.airplane-game__lane{border-right:1px dashed #3f302447;position:relative}.airplane-game__lane:last-child{border-right:0}.airplane-game__obstacle,.airplane-game__plane{place-items:center;display:grid;position:absolute;left:50%;transform:translate(-50%)}.airplane-game__obstacle{color:#74372d;background:#f4aa73;border:2px solid #3f3024;border-radius:50% 50% 42% 42%;width:40px;height:40px;font-size:1.8rem;animation:.65s linear forwards airplane-obstacle-drop;top:35px}.airplane-game__plane{color:#153e55;filter:drop-shadow(0 3px #ffffffb3);font-size:clamp(1.85rem,9vw,2.7rem);transition:left .12s ease-out;bottom:18px;transform:translate(-50%)rotate(-90deg)}.airplane-game__status{color:#315264;background:#e7f5fb;border:2px solid #6b8fa7;border-radius:11px;align-items:center;min-height:44px;margin:0;padding:8px 12px;font-size:.85rem;font-weight:800;display:flex}.airplane-game__controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.airplane-game__controls button,.airplane-game__start{color:#fffaf0;min-height:52px;font:inherit;cursor:pointer;background:#315f78;border:3px solid #3f3024;border-radius:13px 10px 15px 9px;padding:10px 14px;font-weight:900;box-shadow:0 4px #3f3024}.airplane-game__controls button:disabled{color:#6f665c;box-shadow:none;cursor:not-allowed;background:#d9d4cc}.airplane-game__controls button:focus-visible,.airplane-game__start:focus-visible{outline-offset:3px;outline:4px solid #ffca58}.airplane-game__hint{color:#6f5b45;text-align:center;margin:0;font-size:.75rem}@keyframes airplane-obstacle-drop{0%{transform:translate(-50%,-15px)}to{transform:translate(-50%,205px)}}@media (prefers-reduced-motion:reduce){.airplane-game__obstacle{animation:none;top:120px}.airplane-game__plane{transition:none}}@media (width>=700px){.airplane-game{padding:18px}.airplane-game__sky{min-height:360px}@keyframes airplane-obstacle-drop{0%{transform:translate(-50%,-15px)}to{transform:translate(-50%,255px)}}}.airplane-v2{--flight-border:#3f3024;box-sizing:border-box;color:#3f3024;border:3px solid var(--flight-border);overscroll-behavior:contain;background:#fffaf0;border-radius:22px 16px 25px 15px;gap:8px;width:min(100%,620px);min-width:0;margin:0 auto;padding:10px;display:grid;box-shadow:0 6px #587e94}.airplane-v2__header,.airplane-v2__hud,.airplane-v2__controls,.airplane-v2__boss-health{align-items:center;display:flex}.airplane-v2__header{justify-content:space-between;gap:10px}.airplane-v2__header span{color:#315f78;letter-spacing:.13em;font-size:.68rem;font-weight:900}.airplane-v2__header h2{margin:0;font-size:clamp(1.35rem,5.5vw,1.8rem)}.airplane-v2__header strong{color:#153e55;border:2px solid var(--flight-border);white-space:nowrap;background:#d9eef8;border-radius:11px 8px 12px 9px;align-items:center;min-height:38px;padding:5px 9px;font-size:.78rem;display:inline-flex}.airplane-v2__hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.airplane-v2__hud span{color:#5b4634;text-align:center;white-space:nowrap;background:#fff4d6;border:2px solid #765536;border-radius:9px;min-width:0;padding:5px 4px;font-size:.7rem;font-weight:800}.airplane-v2__hud b{color:#3f3024;text-overflow:ellipsis;font-size:.86rem;display:block;overflow:hidden}.airplane-v2__progress{border:2px solid var(--flight-border);background:#e8dcc8;border-radius:999px;height:9px;overflow:hidden}.airplane-v2__progress span{background:linear-gradient(90deg,#48a789,#f2b84b);height:100%;transition:width .1s linear;display:block}.airplane-v2__boss-health{color:#fffaf0;border:2px solid var(--flight-border);background:#63392f;border-radius:8px;gap:7px;min-height:24px;padding:3px 7px;font-size:.7rem}.airplane-v2__boss-health>span{background:#ead7c7;border-radius:999px;flex:1;height:8px;overflow:hidden}.airplane-v2__boss-health i{background:#ef8175;height:100%;display:block}.airplane-v2__field{border:3px solid var(--flight-border);isolation:isolate;background:#183849;border-radius:18px 13px 20px 14px;justify-content:center;align-items:center;width:100%;height:clamp(390px,min(62dvh,760px),760px);min-height:390px;display:flex;position:relative;overflow:hidden}.airplane-v2__field canvas{aspect-ratio:2/3;touch-action:none;-webkit-user-select:none;user-select:none;max-width:100%;max-height:100%;display:block}.airplane-v2__curtain{z-index:2;color:#3f3024;border:3px solid var(--flight-border);text-align:center;backdrop-filter:blur(4px);background:#fffaf0f0;border-radius:22px 16px 25px 14px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:18px;display:flex;position:absolute;inset:10% 8%;box-shadow:0 6px #3f302461}.airplane-v2__curtain p,.airplane-v2__curtain ul{margin:0}.airplane-v2__curtain p{font-size:1rem}.airplane-v2__curtain .airplane-v2__error{color:#7b201e;background:#ffe0d9;border:2px solid #9d332e;border-radius:10px;padding:8px 10px}.airplane-v2__curtain ul{color:#5b4634;text-align:left;gap:7px;padding-left:20px;font-size:.78rem;line-height:1.45;display:grid}.airplane-v2__curtain button{color:#fffaf0;border:3px solid var(--flight-border);min-width:min(240px,100%);min-height:54px;box-shadow:0 4px 0 var(--flight-border);background:#315f78;border-radius:13px 10px 15px 9px;padding:10px 16px;font-weight:900}.airplane-v2__curtain button:disabled{color:#72685e;box-shadow:none;cursor:not-allowed;background:#d7d2ca}.airplane-v2__curtain--result{min-height:112px;inset:auto 12% 18%}.airplane-v2__curtain--result>strong{font-family:var(--font-family-display);font-size:1.55rem}.airplane-v2__controls{padding-bottom:max(0px, var(--safe-bottom));grid-template-columns:minmax(0,1fr) minmax(116px,1.15fr) minmax(0,1fr);gap:8px;display:grid}.airplane-v2__controls button{color:#fffaf0;border:3px solid var(--flight-border);min-width:0;min-height:56px;box-shadow:0 4px 0 var(--flight-border);touch-action:manipulation;background:#315f78;border-radius:13px 10px 15px 9px;padding:8px;font-weight:900}.airplane-v2__controls button:disabled{color:#72685e;box-shadow:none;cursor:not-allowed;background:#d7d2ca}.airplane-v2__controls .airplane-v2__bomb{color:#3f3024;background:#f2b84b}.airplane-v2__hint{color:#65503d;text-align:center;margin:0;font-size:.75rem;line-height:1.35}@media (width<=430px){.airplane-v2{border-width:2px;gap:6px;padding:7px;box-shadow:0 3px #587e94}.airplane-v2__field{border-width:2px;height:clamp(390px,58dvh,610px)}.airplane-v2__hud span{font-size:.65rem}.airplane-v2__hud b{font-size:.78rem}.airplane-v2__controls button span{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.airplane-v2__curtain{padding:14px;inset:6% 5%}}@media (height<=760px) and (width<=520px){.airplane-v2__field{height:max(360px,51dvh);min-height:360px}.airplane-v2__hint{display:none}}@media (orientation:landscape) and (height<=520px){.airplane-v2{grid-template-columns:minmax(320px,1fr) 240px;align-items:start;width:min(100%,980px)}.airplane-v2__header,.airplane-v2__hud,.airplane-v2__progress,.airplane-v2__boss-health,.airplane-v2__controls,.airplane-v2__hint{grid-column:2}.airplane-v2__field{grid-area:1/1/span 6;height:calc(100dvh - 20px);min-height:340px}.airplane-v2__hud{grid-template-columns:repeat(2,1fr)}}@media (width<=520px),(orientation:landscape) and (height<=520px){.airplane-v2[data-flight-phase=playing]{z-index:110;width:100%;max-width:none;height:100dvh;padding:max(4px, var(--safe-top)) max(4px, var(--safe-right)) max(4px, var(--safe-bottom)) max(4px, var(--safe-left));box-shadow:none;border:0;border-radius:0;grid-template:"header""hud""progress""boss""field"minmax(0,1fr)"controls""hint"0/minmax(0,1fr);gap:4px;margin:0;position:fixed;inset:0;overflow:hidden}.airplane-v2[data-flight-phase=playing] .airplane-v2__header{grid-area:header}.airplane-v2[data-flight-phase=playing] .airplane-v2__header span,.airplane-v2[data-flight-phase=playing] .airplane-v2__hint{display:none}.airplane-v2[data-flight-phase=playing] .airplane-v2__header h2{font-size:1.05rem}.airplane-v2[data-flight-phase=playing] .airplane-v2__header strong{min-height:32px;padding:3px 6px;font-size:.7rem}.airplane-v2[data-flight-phase=playing] .airplane-v2__hud{grid-area:hud}.airplane-v2[data-flight-phase=playing] .airplane-v2__hud span{padding-block:3px}.airplane-v2[data-flight-phase=playing] .airplane-v2__progress{grid-area:progress}.airplane-v2[data-flight-phase=playing] .airplane-v2__boss-health{grid-area:boss}.airplane-v2[data-flight-phase=playing] .airplane-v2__field{grid-area:field;width:100%;height:100%;min-height:0}.airplane-v2[data-flight-phase=playing] .airplane-v2__controls{grid-area:controls;padding-bottom:0}.airplane-v2[data-flight-phase=playing] .airplane-v2__hint{grid-area:hint}}@media (orientation:landscape) and (height<=520px){.airplane-v2[data-flight-phase=playing]{grid-template:"field header""field hud""field progress""field boss""field controls""field hint"minmax(0,1fr)/minmax(0,1fr) clamp(190px,31vw,240px);align-items:stretch}.airplane-v2[data-flight-phase=playing] .airplane-v2__controls{grid-template-columns:repeat(2,minmax(0,1fr))}.airplane-v2[data-flight-phase=playing] .airplane-v2__controls .airplane-v2__bomb{grid-area:2/1/auto/-1}}@media (prefers-reduced-motion:reduce){.airplane-v2__progress span{transition:none}}.odd-one-out{box-sizing:border-box;color:#3f3024;background:#fffaf0;border:3px solid #3f3024;border-radius:22px 17px 24px 16px;flex-direction:column;gap:12px;width:min(100%,620px);min-width:0;max-width:620px;margin:auto;padding:14px;display:flex;box-shadow:0 6px #6f9d8f}.odd-one-out__header,.odd-one-out__stats{justify-content:space-between;align-items:center;gap:12px;display:flex}.odd-one-out__header span{color:#377565;letter-spacing:.13em;font-size:.68rem;font-weight:900}.odd-one-out__header h2{font-family:var(--font-family-display);margin:2px 0 0;font-size:clamp(1.35rem,6vw,1.8rem);font-weight:400}.odd-one-out__header strong,.odd-one-out__stats span{background:#d9eee6;border:2px solid #3f3024;border-radius:11px;padding:7px 10px;font-size:.8rem;font-weight:900}.odd-one-out__stats span:last-child{background:#ffe4b6}.odd-one-out__scroll{min-width:0;max-width:100%;padding:3px;overflow-x:auto}.odd-one-out__board{gap:4px;width:336px;min-width:336px;margin:auto;display:grid}.odd-one-out__board button{aspect-ratio:1;color:#315f55;cursor:pointer;background:#fffdf6;border:2px solid #3f3024;border-radius:10px 8px 11px 7px;place-items:center;min-width:44px;min-height:44px;padding:4px;display:grid;box-shadow:0 2px #a98762}.odd-one-out__board button:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.odd-one-out__board button:focus-visible,.odd-one-out__start:focus-visible{outline-offset:2px;outline:4px solid #ffca58}.odd-one-out__board button:disabled{opacity:.65}.odd-one-out__shape{fill:currentColor;width:min(70%,34px);height:min(70%,34px)}.odd-one-out__status{color:#315f55;background:#e5f3ee;border:2px solid #6f9d8f;border-radius:12px;align-items:center;min-height:46px;margin:0;padding:9px 12px;font-size:.84rem;font-weight:800;display:flex}.odd-one-out__start{color:#fffaf0;min-height:52px;font:inherit;cursor:pointer;background:#377565;border:3px solid #3f3024;border-radius:13px 10px 15px 9px;font-weight:900;box-shadow:0 4px #3f3024}@media (width<=370px){.odd-one-out{padding-inline:10px}.odd-one-out__board{margin-inline:0}}@media (width>=321px) and (width<=390px){.odd-one-out{border-width:2px;width:100vw;max-width:none;margin-inline:calc(50% - 50vw);padding-inline:9px}.odd-one-out__scroll{justify-items:center;padding-inline:0;display:grid;overflow-x:visible}.odd-one-out__board{margin-inline:auto}}@media (orientation:landscape) and (width<=1000px) and (height<=500px){html.landscape-core-game-active,html.landscape-core-game-active body{overscroll-behavior:none;overflow:hidden}.odd-one-out[data-active-play=true]{z-index:120;box-sizing:border-box;width:100%;max-width:none;height:100dvh;padding:max(5px, env(safe-area-inset-top)) max(5px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(5px, env(safe-area-inset-left));box-shadow:none;background-color:#fffaf0;background-image:radial-gradient(circle at 16px 17px,#37756514 0 3px,#0000 3.5px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:32px 32px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-width:2px;border-radius:0;grid-template:"board header""board stats""board status"1fr/336px minmax(215px,1fr);gap:6px 8px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.odd-one-out[data-active-play=true] .odd-one-out__header{grid-area:header;align-items:flex-start;min-width:0}.odd-one-out[data-active-play=true] .odd-one-out__header h2{font-size:clamp(1.05rem,3.5vw,1.45rem)}.odd-one-out[data-active-play=true] .odd-one-out__header strong,.odd-one-out[data-active-play=true] .odd-one-out__stats span{border-width:2px;padding:5px 7px;font-size:.72rem}.odd-one-out[data-active-play=true] .odd-one-out__stats{flex-wrap:wrap;grid-area:stats;justify-content:flex-start;gap:5px;min-width:0}.odd-one-out[data-active-play=true] .odd-one-out__scroll{grid-area:board;align-self:center;width:336px;max-width:336px;padding:0;overflow:hidden}.odd-one-out[data-active-play=true] .odd-one-out__board{gap:4px;width:336px;min-width:336px;margin:0}.odd-one-out[data-active-play=true] .odd-one-out__board button{min-width:44px;min-height:44px}.odd-one-out[data-active-play=true] .odd-one-out__status{grid-area:status;align-self:stretch;min-width:0;min-height:44px;padding:7px 9px;font-size:clamp(.74rem,2.3vw,.84rem)}}@media (prefers-reduced-motion:reduce){.odd-one-out__board button{transition:none}.odd-one-out__board button:active{transform:none}}.mental-math{box-sizing:border-box;color:#3f3024;background:#fffaf0;border:3px solid #3f3024;border-radius:22px 17px 24px 16px;flex-direction:column;gap:12px;width:min(100%,520px);min-width:0;max-width:520px;margin:auto;padding:14px;display:flex;box-shadow:0 6px #d18a40}.mental-math__header,.mental-math__stats{justify-content:space-between;align-items:center;gap:10px;display:flex}.mental-math__header span{color:#a45b22;letter-spacing:.13em;font-size:.68rem;font-weight:900}.mental-math__header h2{font-family:var(--font-family-display);margin:2px 0 0;font-size:clamp(1.35rem,6vw,1.8rem);font-weight:400}.mental-math__header strong,.mental-math__stats span{background:#ffe4ad;border:2px solid #3f3024;border-radius:11px;padding:7px 10px;font-size:.8rem;font-weight:900}.mental-math__stats span:last-child{background:#d8ebd4}.mental-math__paper{background:repeating-linear-gradient(#fffdf5 0 31px,#d8e6ed 32px);border:3px solid #3f3024;border-radius:17px 13px 19px 12px;place-items:center;gap:8px;min-height:190px;padding:18px;display:grid}.mental-math__paper span{color:#78644e;font-size:.75rem;font-weight:900}.mental-math__paper strong{font-family:var(--font-family-display);font-size:clamp(2.25rem,12vw,4.4rem);font-weight:400}.mental-math__paper output{color:#295f52;min-width:130px;min-height:52px;font-family:var(--font-family-display);background:#e0f0e7;border:2px solid #3f3024;border-radius:12px;place-items:center;font-size:1.8rem;display:grid}.mental-math__keypad{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.mental-math__keypad button,.mental-math__start{color:#3f3024;min-height:52px;font:inherit;cursor:pointer;background:#fff3cf;border:2px solid #3f3024;border-radius:12px 9px 13px 8px;font-size:1.05rem;font-weight:900;box-shadow:0 3px #a98762}.mental-math__keypad button:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.mental-math__keypad button:focus-visible,.mental-math__start:focus-visible{outline-offset:2px;outline:4px solid #57a68d}.mental-math__keypad .mental-math__submit,.mental-math__start{color:#fffaf0;background:#b86629}.mental-math__keypad button:disabled{opacity:.55}.mental-math__status{color:#744719;background:#ffedc6;border:2px solid #c17b37;border-radius:12px;align-items:center;min-height:46px;margin:0;padding:9px 12px;font-size:.84rem;font-weight:800;display:flex}.mental-math__start{border-width:3px;box-shadow:0 4px #3f3024}@media (height<=720px){.mental-math__paper{min-height:132px}.mental-math__keypad button{min-height:46px}}@media (orientation:landscape) and (width<=1000px) and (height<=500px){.mental-math[data-phase=playing]{z-index:500;width:100vw;max-width:none;height:100dvh;padding:max(8px, var(--safe-top)) max(8px, var(--safe-right)) max(8px, var(--safe-bottom)) max(8px, var(--safe-left));box-shadow:none;border-radius:0;grid-template:"header keypad""stats keypad""paper keypad"minmax(0,1fr)"status keypad"/minmax(240px,.9fr) minmax(300px,1.1fr);gap:7px 10px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.mental-math[data-phase=playing] .mental-math__header{grid-area:header}.mental-math[data-phase=playing] .mental-math__header h2{font-size:1.35rem}.mental-math[data-phase=playing] .mental-math__stats{grid-area:stats}.mental-math[data-phase=playing] .mental-math__paper{grid-area:paper;gap:3px;min-height:0;padding:7px}.mental-math[data-phase=playing] .mental-math__paper strong{font-size:clamp(2rem,10vh,3rem)}.mental-math[data-phase=playing] .mental-math__paper output{min-height:44px;font-size:1.5rem}.mental-math[data-phase=playing] .mental-math__keypad{grid-area:keypad;grid-template-rows:repeat(4,minmax(44px,1fr));align-self:center;gap:6px;width:100%;height:min(100%,292px)}.mental-math[data-phase=playing] .mental-math__keypad button{min-height:44px}.mental-math[data-phase=playing] .mental-math__status{grid-area:status;min-height:44px;padding-block:6px}}@media (prefers-reduced-motion:reduce){.mental-math__keypad button{transition:none}.mental-math__keypad button:active{transform:none}}.sensory-game{box-sizing:border-box;color:#3f3024;background:#fffaf0;border:3px solid #3f3024;border-radius:22px 17px 24px 16px;flex-direction:column;gap:12px;width:min(100%,560px);min-width:0;max-width:560px;margin:auto;padding:14px;display:flex;box-shadow:0 6px #7ea7c1}.sensory-game__header,.sensory-game__score{justify-content:space-between;align-items:center;gap:10px;display:flex}.sensory-game__header span{color:#39738f;letter-spacing:.13em;font-size:.68rem;font-weight:900}.sensory-game__header h2{font-family:var(--font-family-display);margin:2px 0 0;font-size:clamp(1.35rem,6vw,1.8rem);font-weight:400}.sensory-game__header strong,.sensory-game__score>*{background:#dceef6;border:2px solid #3f3024;border-radius:11px;padding:7px 10px;font-size:.8rem;font-weight:900}.sensory-game__score b{background:#ffe3aa}.sensory-game__stage{background-color:#fffdf6;background-image:radial-gradient(circle at 10px 10px,#d5e3e9 1.5px,#0000 2px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border:3px solid #3f3024;border-radius:18px 14px 20px 13px;place-items:center;min-height:230px;display:grid;position:relative;overflow:hidden}.sensory-game__center{touch-action:none;border:4px solid #3f3024;border-radius:28px 12px 24px 15px;width:78%;height:150px;position:relative}.sensory-game__cross{border:3px solid #d15f50;border-radius:50%;width:24px;height:24px;position:absolute;transform:translate(-50%,-50%)}.sensory-game__cross:before,.sensory-game__cross:after{content:"";background:#d15f50;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.sensory-game__cross:before{width:30px;height:2px}.sensory-game__cross:after{width:2px;height:30px}.sensory-game__angle,.sensory-game__lines,.sensory-game__circles,.sensory-game__midpoint{width:82%;height:170px;position:relative}.sensory-game__angle i{transform-origin:0;border-radius:9px;width:38%;height:5px;position:absolute;bottom:25%;left:50%}.sensory-game__angle .reference,.sensory-game__lines .reference{background:#3f3024}.sensory-game__angle .answer,.sensory-game__lines .answer{background:#d15f50}.sensory-game__lines i{border-radius:9px;height:7px;position:absolute;left:8%}.sensory-game__lines .reference{top:35%}.sensory-game__lines .answer{top:65%}.sensory-game__circles i{border:5px solid;border-radius:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.sensory-game__circles .reference{border-color:#3f3024;left:30%}.sensory-game__circles .answer{border-color:#d15f50;left:70%}.sensory-game__midpoint:before{content:"";background:#3f3024;width:90%;height:5px;position:absolute;top:50%;left:5%}.sensory-game__midpoint i{background:#3f3024;border-radius:50%;width:20px;height:20px;position:absolute;top:calc(50% - 10px)}.sensory-game__midpoint i:first-child{left:5%}.sensory-game__midpoint i:nth-child(2){right:5%}.sensory-game__midpoint b{background:#f4b457;border:3px solid #8f3f3b;border-radius:50%;width:28px;height:28px;position:absolute;top:calc(50% - 14px);transform:translate(-50%)}.sensory-game__instruction{text-align:center;margin:0;font-weight:800}.sensory-game__ranges{grid-template-columns:1fr 1fr;gap:10px;display:grid}.sensory-game__ranges label,.sensory-game__slider{flex-direction:column;gap:5px;font-size:.76rem;font-weight:900;display:flex}.sensory-game input[type=range]{accent-color:#d15f50;width:100%;min-height:44px}.sensory-game__status{color:#315f77;background:#e5f3f8;border:2px solid #7ea7c1;border-radius:12px;align-items:center;min-height:46px;margin:0;padding:9px 12px;font-size:.84rem;font-weight:800;display:flex}.sensory-game__primary{color:#fffaf0;min-height:52px;font:inherit;cursor:pointer;background:#39738f;border:3px solid #3f3024;border-radius:13px 10px 15px 9px;font-weight:900;box-shadow:0 4px #3f3024}.sensory-game__primary:focus-visible,.sensory-game input:focus-visible{outline-offset:2px;outline:4px solid #ffca58}@media (width<=430px){.sensory-game__stage{min-height:190px}.sensory-game__ranges{grid-template-columns:1fr}}@media (orientation:landscape) and (width<=1000px) and (height<=500px){.sensory-game[data-phase=playing]{z-index:500;width:100vw;max-width:none;height:100dvh;padding:max(8px, var(--safe-top)) max(8px, var(--safe-right)) max(8px, var(--safe-bottom)) max(8px, var(--safe-left));box-shadow:none;border-radius:0;grid-template:"header instruction""score controls""stage status"minmax(0,1fr)"stage primary"/minmax(300px,1.12fr) minmax(250px,.88fr);gap:7px 10px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.sensory-game[data-phase=playing] .sensory-game__header{grid-area:header}.sensory-game[data-phase=playing] .sensory-game__header h2{font-size:1.35rem}.sensory-game[data-phase=playing] .sensory-game__score{grid-area:score}.sensory-game[data-phase=playing] .sensory-game__stage{grid-area:stage;height:100%;min-height:0}.sensory-game[data-phase=playing] .sensory-game__center{height:min(132px,42vh)}.sensory-game[data-phase=playing] .sensory-game__angle,.sensory-game[data-phase=playing] .sensory-game__lines,.sensory-game[data-phase=playing] .sensory-game__circles,.sensory-game[data-phase=playing] .sensory-game__midpoint{height:100%;min-height:120px}.sensory-game[data-phase=playing] .sensory-game__instruction{grid-area:instruction;align-self:center;font-size:.86rem}.sensory-game[data-phase=playing] .sensory-game__ranges,.sensory-game[data-phase=playing] .sensory-game__slider{grid-area:controls;align-self:center}.sensory-game[data-phase=playing] .sensory-game__ranges{grid-template-columns:1fr 1fr;gap:8px}.sensory-game[data-phase=playing] .sensory-game__status{grid-area:status;min-height:44px;padding-block:6px}.sensory-game[data-phase=playing] .sensory-game__primary{grid-area:primary;min-height:52px}}@media (prefers-reduced-motion:reduce){.sensory-game *{transition:none!important}}.code-breaker{box-sizing:border-box;color:#3f3024;background:#fffaf0;border:3px solid #3f3024;border-radius:22px 17px 24px 16px;flex-direction:column;gap:12px;width:min(100%,540px);min-width:0;max-width:540px;margin:auto;padding:14px;display:flex;box-shadow:0 6px #8b80b7}.code-breaker__header{justify-content:space-between;align-items:center;gap:10px;display:flex}.code-breaker__header span{color:#665793;letter-spacing:.13em;font-size:.68rem;font-weight:900}.code-breaker__header h2{font-family:var(--font-family-display);margin:2px 0 0;font-size:clamp(1.35rem,6vw,1.8rem);font-weight:400}.code-breaker__header strong{background:#e5def6;border:2px solid #3f3024;border-radius:11px;padding:7px 10px}.code-breaker__display{background:#e5def6;border:3px solid #3f3024;border-radius:17px;grid-template-columns:repeat(4,minmax(52px,74px));justify-content:center;gap:8px;padding:15px;display:grid}.code-breaker__display span{aspect-ratio:1;color:#4d4074;font-family:var(--font-family-display);background:#fffdf6;border:2px solid #3f3024;border-radius:12px;place-items:center;font-size:2rem;display:grid}.code-breaker__history{background:#fffdf6;border:2px solid #846f54;border-radius:12px;flex-direction:column;gap:6px;max-height:190px;padding:8px;display:flex;overflow:auto}.code-breaker__history p{text-align:center;color:#75624f;margin:12px}.code-breaker__history div{background:#f2ecdf;border-radius:8px;grid-template-columns:64px 1fr 1fr;align-items:center;gap:6px;padding:7px 9px;font-size:.74rem;display:grid}.code-breaker__history b{letter-spacing:.08em;font-size:1rem}.code-breaker__keypad{grid-template-columns:repeat(5,1fr);gap:7px;display:grid}.code-breaker__keypad button,.code-breaker__start{color:#3f3024;min-height:48px;font:inherit;cursor:pointer;background:#f1eaff;border:2px solid #3f3024;border-radius:11px 8px 12px 9px;font-weight:900;box-shadow:0 3px #8c785e}.code-breaker__keypad button:disabled{opacity:.45}.code-breaker__keypad button:nth-last-child(2){grid-column:span 2}.code-breaker__keypad .code-breaker__submit{color:#fffaf0;background:#665793;grid-column:span 3}.code-breaker__status{color:#57477c;background:#eee8fb;border:2px solid #8b80b7;border-radius:12px;align-items:center;min-height:46px;margin:0;padding:9px 12px;font-size:.82rem;font-weight:800;display:flex}.code-breaker__start{color:#fffaf0;background:#665793;border-width:3px;min-height:52px;box-shadow:0 4px #3f3024}.code-breaker button:focus-visible{outline-offset:2px;outline:4px solid #ffca58}@media (width<=430px){.code-breaker__history div{grid-template-columns:55px 1fr}.code-breaker__history div span:last-child{grid-column:2}.code-breaker__keypad{grid-template-columns:repeat(5,1fr)}}@media (orientation:landscape) and (width<=1000px) and (height<=500px){.code-breaker[data-phase=playing]{z-index:500;width:100vw;max-width:none;height:100dvh;padding:max(8px, var(--safe-top)) max(8px, var(--safe-right)) max(8px, var(--safe-bottom)) max(8px, var(--safe-left));box-shadow:none;border-radius:0;grid-template:"header keypad""display keypad""history keypad"minmax(0,1fr)"history status"/minmax(285px,.95fr) minmax(285px,1.05fr);gap:7px 10px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.code-breaker[data-phase=playing] .code-breaker__header{grid-area:header}.code-breaker[data-phase=playing] .code-breaker__header h2{font-size:1.35rem}.code-breaker[data-phase=playing] .code-breaker__display{grid-area:display;grid-template-columns:repeat(4,minmax(48px,62px));padding:7px}.code-breaker[data-phase=playing] .code-breaker__display span{font-size:1.55rem}.code-breaker[data-phase=playing] .code-breaker__history{grid-area:history;min-height:0;max-height:none}.code-breaker[data-phase=playing] .code-breaker__keypad{grid-area:keypad;grid-template-rows:repeat(3,minmax(44px,1fr));align-self:center;gap:6px;width:100%;height:min(100%,220px)}.code-breaker[data-phase=playing] .code-breaker__keypad button{min-height:44px}.code-breaker[data-phase=playing] .code-breaker__status{grid-area:status;min-height:44px;padding-block:6px}}@media (prefers-reduced-motion:reduce){.code-breaker button{transition:none}}.one-hand-stack{box-sizing:border-box;color:#3f3024;background:#fffaf0;border:3px solid #3f3024;border-radius:22px 17px 24px 16px;flex-direction:column;gap:12px;width:min(100%,560px);min-width:0;max-width:560px;margin:auto;padding:14px;display:flex;box-shadow:0 6px #dc7d68}.one-hand-stack__header,.one-hand-stack__stats{justify-content:space-between;align-items:center;gap:10px;display:flex}.one-hand-stack__header span{color:#ad4f43;letter-spacing:.13em;font-size:.68rem;font-weight:900}.one-hand-stack__header h2{font-family:var(--font-family-display);margin:2px 0 0;font-size:clamp(1.35rem,6vw,1.8rem);font-weight:400}.one-hand-stack__header strong,.one-hand-stack__stats span{background:#f8d3ca;border:2px solid #3f3024;border-radius:11px;padding:7px 10px;font-size:.78rem;font-weight:900}.one-hand-stack__stats span:last-child{background:#ffe4aa}.one-hand-stack__arena{touch-action:manipulation;cursor:pointer;background:linear-gradient(#d8eff7 0 72%,#dce6bd 72%);border:3px solid #3f3024;border-radius:18px 14px 20px 13px;height:300px;position:relative;overflow:hidden}.one-hand-stack__arena:focus-visible,.one-hand-stack__primary:focus-visible{outline-offset:2px;outline:4px solid #ffca58}.one-hand-stack__ground{background:#816144;border-top:3px solid #3f3024;height:14px;position:absolute;bottom:0;left:0;right:0}.one-hand-stack__block{box-sizing:border-box;background:#f2aa61;border:2px solid #3f3024;border-radius:4px 3px 3px 4px;min-width:2px;height:13px;display:block;position:absolute}.one-hand-stack__block:nth-of-type(3n+1){background:#ed8878}.one-hand-stack__block:nth-of-type(3n+2){background:#83bba9}.one-hand-stack__block.moving{background:#ffca58;box-shadow:0 0 0 3px #fffaf0b3}.one-hand-stack__status{color:#833e37;background:#fae0da;border:2px solid #dc7d68;border-radius:12px;align-items:center;min-height:46px;margin:0;padding:9px 12px;font-size:.84rem;font-weight:800;display:flex}.one-hand-stack__primary{color:#fffaf0;min-height:56px;font:inherit;cursor:pointer;background:#ad4f43;border:3px solid #3f3024;border-radius:13px 10px 15px 9px;font-size:1rem;font-weight:900;box-shadow:0 4px #3f3024}.one-hand-stack small{text-align:center;color:#6f5b45;font-weight:700}@media (height<=720px){.one-hand-stack__arena{height:235px}}@media (orientation:landscape) and (width<=1000px) and (height<=500px){.one-hand-stack[data-phase=playing]{z-index:500;width:100vw;max-width:none;height:100dvh;padding:max(8px, var(--safe-top)) max(8px, var(--safe-right)) max(8px, var(--safe-bottom)) max(8px, var(--safe-left));box-shadow:none;border-radius:0;grid-template:"header status""stats status""arena primary"minmax(0,1fr)"arena meta"/minmax(360px,1.22fr) minmax(205px,.78fr);gap:7px 10px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.one-hand-stack[data-phase=playing] .one-hand-stack__header{grid-area:header}.one-hand-stack[data-phase=playing] .one-hand-stack__header h2{font-size:1.35rem}.one-hand-stack[data-phase=playing] .one-hand-stack__stats{grid-area:stats}.one-hand-stack[data-phase=playing] .one-hand-stack__arena{grid-area:arena;height:100%;min-height:235px}.one-hand-stack[data-phase=playing] .one-hand-stack__status{grid-area:status;align-self:stretch;min-height:44px;padding-block:6px}.one-hand-stack[data-phase=playing] .one-hand-stack__primary{grid-area:primary;align-self:stretch;min-height:56px}.one-hand-stack[data-phase=playing] small{grid-area:meta}}@media (prefers-reduced-motion:reduce){.one-hand-stack__block.moving{box-shadow:none}}.play-shell[data-astro-cid-h3hvapo6]{min-width:0;min-height:calc(100dvh - 112px - var(--safe-top) - var(--safe-bottom));padding-bottom:max(6px, var(--safe-bottom));flex-direction:column;gap:12px;display:flex}.play-topbar[data-astro-cid-h3hvapo6]{background:#fff4d6;border:3px solid #3f3024;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:8px 12px;display:grid;box-shadow:0 3px #765536}.play-topbar[data-astro-cid-h3hvapo6]>a[data-astro-cid-h3hvapo6]{color:#5f4b38;align-items:center;min-width:44px;min-height:44px;font-size:.82rem;font-weight:800;text-decoration:none;display:flex}.play-topbar[data-astro-cid-h3hvapo6] h1[data-astro-cid-h3hvapo6]{color:#3f3024;text-align:center;margin:0;font-size:1.1rem}.rank-shortcut[data-astro-cid-h3hvapo6]{color:#285d4d;background:#bfe2dd;border:2px solid #3f3024;border-radius:8px;justify-self:end;align-items:center;min-height:44px;padding:5px 9px;font-size:.65rem;font-weight:900;text-decoration:none;display:flex;box-shadow:0 2px #5e8a7d}@media (width<=520px){.play-topbar[data-astro-cid-h3hvapo6]{grid-template-columns:auto 1fr auto;padding:6px 10px}.play-topbar[data-astro-cid-h3hvapo6] h1[data-astro-cid-h3hvapo6]{font-size:1rem}}@media (width<=920px) and (height<=700px){.play-shell[data-astro-cid-h3hvapo6]{gap:7px}.play-topbar[data-astro-cid-h3hvapo6]{border-width:2px;padding-block:3px;box-shadow:0 2px #765536}.play-topbar[data-astro-cid-h3hvapo6] h1[data-astro-cid-h3hvapo6]{font-size:.92rem}}html.typing-keyboard-open .play-shell[data-astro-cid-h3hvapo6]{min-height:var(--typing-visual-height,100dvh);padding-bottom:max(4px, var(--safe-bottom));gap:6px}html.typing-keyboard-open .play-topbar[data-astro-cid-h3hvapo6],html.typing-keyboard-open [data-astro-cid-h3hvapo6][data-testid=official-status-strip]{display:none!important}
