@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:8px;margin:0 auto;display:grid}.memory-mode-panel,.memory-contract,.memory-hud,.memory-status,.memory-controls{border:1.5px solid #18181b;box-shadow:2px 2px #18181b}.memory-mode-panel{background-color:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex}.memory-mode-buttons,.memory-settings{flex-wrap:wrap;gap:8px;display:flex}.memory-settings button{min-height:var(--min-touch-target);color:#18181b;font-family:var(--font-family-mono);background-color:#faf8f4;border:1.5px solid #18181b;border-radius:8px;padding:6px 10px;font-size:.78rem;font-weight:800}.memory-settings button[aria-pressed=true]{color:#fee500;background-color:#18181b;border-color:#18181b}.memory-contract{box-shadow:none;background-color:#faf8f4;border:1px solid #d6d1c4;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 10px;padding:6px 10px;display:flex}.memory-game-shell[data-active-play=true] .memory-contract{display:none}.memory-contract>div{align-items:center;gap:8px;margin-bottom:0;display:flex}.memory-contract strong{font-family:var(--font-family-display);color:#18181b;font-size:.86rem;font-weight:800}.memory-contract p,.memory-friend-card p{color:#3f3f46;margin:0;font-size:.78rem;line-height:1.35}.memory-hud{background-color:#fff;border-radius:10px;grid-template-columns:repeat(3,1fr);display:grid;overflow:hidden}.memory-hud>div{text-align:center;min-width:0;padding:6px}.memory-hud>div+div{border-left:1.5px solid #18181b}.memory-hud span{color:#3f3f46;font-size:.72rem;font-weight:700;display:block}.memory-hud strong{color:#18181b;font-family:var(--font-family-display);letter-spacing:.04em;white-space:nowrap;margin-top:2px;font-size:clamp(1rem,3vw,1.2rem);font-weight:800;display:block}.memory-status{background-color:#fde68a;border-color:#18181b;border-radius:10px;align-items:center;gap:8px;min-height:40px;padding:6px 10px;display:flex}.memory-status[data-phase=input]{background-color:#a7f3d0;border-color:#18181b}.memory-status p{color:#18181b;flex:1;font-size:.88rem;font-weight:800}.memory-status>span:last-child{color:#18181b;font-family:var(--font-family-mono);font-size:.8rem;font-weight:800}.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:#eae5d9;border:1.5px solid #18181b;border-radius:12px;width:100%;padding:clamp(8px,2vw,14px);position:relative}.memory-board{grid-template-columns:repeat(4,minmax(44px,1fr));gap:clamp(7px,2.2vw,10px);display:grid}.memory-cell{aspect-ratio:1;color:#52525b;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background-color:#fff;border:1.5px solid #18181b;border-radius:10px;min-width:44px;min-height:44px;transition:transform .1s ease-out,background-color .1s ease-out,box-shadow .1s ease-out;position:relative;box-shadow:0 3px #18181b}.memory-cell:nth-child(4n+2){background-color:#faf8f4;border-color:#18181b}.memory-cell:nth-child(4n+3){background-color:#fff;border-color:#18181b}.memory-cell:nth-child(4n){background-color:#faf8f4;border-color:#18181b}.memory-cell:disabled{cursor:default;opacity:1}.memory-cell:not(:disabled):hover{background-color:#fef08a;transform:translateY(-1px)}.memory-cell[data-active=true]{z-index:1;color:#fee500;background-color:#18181b;border-color:#18181b;transform:translateY(2px);box-shadow:0 2px #18181b}.memory-cell[data-correct=true]:not([data-active=true]){color:#18181b;background-color:#a7f3d0;border-color:#18181b}.memory-cell[data-error=true]{color:#be123c;background-color:#fecdd3;border-color:#18181b;transform:translateY(2px);box-shadow:0 2px #18181b}.memory-cell span{font-family:var(--font-family-display);font-size:clamp(1rem,5vw,1.7rem);font-weight:800;display:inline-block}.memory-cell-num{font-family:var(--font-family-mono);color:#71717a;font-size:.65rem;font-weight:800;line-height:1;position:absolute;top:4px;left:6px}.memory-cell[data-active=true] .memory-cell-num{color:#fee500}.memory-board-overlay{text-align:center;backdrop-filter:blur(5px);background:#ffffffeb;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);font-weight:800;line-height:1}.memory-idle strong{color:#191f28;font-family:var(--font-family-display);font-size:clamp(1.22rem,5vw,1.65rem);font-weight:800}.memory-idle p,.memory-countdown p{color:#475569;font-size:.9rem;font-weight:600}.memory-countdown{background:#fffffff0}.memory-countdown>span{color:#2563eb}.memory-controls{background-color:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.memory-controls>div{color:#475569;flex-wrap:wrap;align-items:center;gap:7px;font-size:.8rem;font-weight:600;display:flex}.memory-friend-card{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;display:grid;background-color:#eff6ff!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-contract:not([role=alert]){display:none}.memory-mode-panel,.memory-controls{flex-flow:wrap;align-items:center}.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:#18181b;box-sizing:border-box;color:#18181b;overscroll-behavior:contain;background-color:#fff;border:1.5px solid #18181b;border-radius:14px;gap:8px;width:min(100%,620px);min-width:0;margin:0 auto;padding:10px;display:grid;box-shadow:3px 3px #18181b}.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:#3f3f46;font-family:var(--font-family-mono);letter-spacing:.08em;font-size:.68rem;font-weight:800}.airplane-v2__header h2{letter-spacing:-.025em;color:#18181b;margin:0;font-size:clamp(1.15rem,4.5vw,1.5rem);font-weight:800}.airplane-v2__header strong{color:#18181b;white-space:nowrap;background-color:#dcebfe;border:1.5px solid #18181b;border-radius:8px;align-items:center;min-height:36px;padding:4px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.airplane-v2__hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.airplane-v2__hud span{color:#3f3f46;text-align:center;white-space:nowrap;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:8px;min-width:0;padding:5px 4px;font-size:.7rem;font-weight:700}.airplane-v2__hud b{color:#18181b;text-overflow:ellipsis;font-size:.86rem;font-weight:800;display:block;overflow:hidden}.airplane-v2__progress{background-color:#faf8f4;border:1.5px solid #18181b;border-radius:999px;height:9px;overflow:hidden}.airplane-v2__progress span{background:#fee500;height:100%;transition:width .1s linear;display:block}.airplane-v2__boss-health{color:#be123c;background-color:#fff1f2;border:1px solid #fecdd3;border-radius:8px;gap:7px;min-height:24px;padding:3px 7px;font-size:.7rem;font-weight:800}.airplane-v2__boss-health>span{background:#fecdd3;border-radius:999px;flex:1;height:8px;overflow:hidden}.airplane-v2__boss-health i{background:#e11d48;height:100%;display:block}.airplane-v2__field{border:1.5px solid var(--flight-border);isolation:isolate;background:#081526;border-radius:18px;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:#18181b;text-align:center;backdrop-filter:blur(8px);background-color:#faf8f4f7;border:1.5px solid #18181b;border-radius:14px;flex-direction:column;justify-content:flex-start;align-items:center;gap:12px;padding:18px;display:flex;position:absolute;inset:10% 8%;overflow-y:auto;box-shadow:3px 3px #18181b}.airplane-v2__choices{gap:6px;width:100%;display:grid}.airplane-v2__curtain .airplane-v2__choices button{color:#18181b;background-color:#fff;border:1.5px solid #18181b;flex-shrink:0;min-width:0;min-height:48px;padding:8px;font-size:.85rem;box-shadow:0 2px #18181b}.airplane-v2__choices small{color:#3f3f46;font-size:.72rem;line-height:1.4;display:block}.airplane-v2__choices button[aria-pressed=true]{color:#18181b;outline-offset:1px;background-color:#fde68a;background-image:none;border-color:#18181b;outline:2px solid #18181b}.airplane-v2__curtain>button{flex-shrink:0}.airplane-v2__curtain p,.airplane-v2__curtain ul{margin:0}.airplane-v2__curtain p{font-size:1rem;font-weight:700}.airplane-v2__curtain .airplane-v2__error{color:#be123c;background-color:#fecdd3;border:1.5px solid #18181b;border-radius:10px;padding:8px 10px}.airplane-v2__curtain ul{color:#3f3f46;text-align:left;gap:7px;padding-left:20px;font-size:.78rem;line-height:1.45;display:grid}.airplane-v2__curtain button{color:#18181b;background-color:#fee500;border:1.5px solid #18181b;border-radius:10px;min-width:min(240px,100%);min-height:52px;padding:10px 16px;font-weight:800;box-shadow:2px 2px #18181b}.airplane-v2__curtain button:disabled{color:#71717a;box-shadow:none;cursor:not-allowed;background-color:#f4f1ea;background-image:none;border-color:#a1a1aa}.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.5rem;font-weight:800}.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:#18181b;touch-action:manipulation;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;min-width:0;min-height:56px;padding:8px;font-weight:800;box-shadow:0 2px #18181b}.airplane-v2__controls button:disabled{color:#71717a;box-shadow:none;cursor:not-allowed;background-color:#f4f1ea;background-image:none}.airplane-v2__controls .airplane-v2__bomb{color:#18181b;background-color:#fee500;border-color:#18181b;box-shadow:0 2px #18181b}.airplane-v2__hint{color:#64748b;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:#18181b;background-color:#fff;border:1.5px solid #18181b;border-radius:14px;flex-direction:column;gap:8px;width:min(100%,620px);min-width:0;max-width:620px;margin:auto;padding:10px 12px;display:flex;box-shadow:3px 3px #18181b}.odd-one-out__header,.odd-one-out__stats{justify-content:space-between;align-items:center;gap:8px;display:flex}.odd-one-out__header span{color:#3f3f46;font-family:var(--font-family-mono);letter-spacing:.08em;font-size:.68rem;font-weight:800}.odd-one-out__header h2{font-family:var(--font-family-display);letter-spacing:-.025em;color:#18181b;margin:1px 0 0;font-size:clamp(1.12rem,4.5vw,1.45rem);font-weight:800}.odd-one-out__header strong,.odd-one-out__stats span{color:#18181b;background-color:#a7f3d0;border:1.5px solid #18181b;border-radius:8px;padding:5px 9px;font-size:.78rem;font-weight:800}.odd-one-out__stats span:last-child{color:#18181b;background-color:#fde68a;border-color:#18181b}.odd-one-out__scroll{min-width:0;max-width:100%;padding:3px;overflow-x:auto}.odd-one-out__board{gap:5px;width:336px;min-width:336px;margin:auto;display:grid}.odd-one-out__board button{aspect-ratio:1;color:#18181b;cursor:pointer;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:9px;place-items:center;min-width:44px;min-height:44px;padding:4px;display:grid;box-shadow:0 2px #18181b}.odd-one-out__board button:hover:not(:disabled){background-color:#fef08a}.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:3px solid #18181b}.odd-one-out__board button:disabled{opacity:.75}.odd-one-out__shape{fill:currentColor;width:min(70%,34px);height:min(70%,34px)}.odd-one-out__status{color:#18181b;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;align-items:center;min-height:44px;margin:0;padding:7px 11px;font-size:.82rem;font-weight:700;display:flex}.odd-one-out__start{color:#18181b;min-height:48px;font:inherit;cursor:pointer;background-color:#fee500;border:1.5px solid #18181b;border-radius:10px;font-weight:800;box-shadow:2px 2px #18181b}@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:#18181b;background-color:#fff;border:1.5px solid #18181b;border-radius:14px;flex-direction:column;gap:8px;width:min(100%,520px);min-width:0;max-width:520px;margin:auto;padding:10px 12px;display:flex;box-shadow:3px 3px #18181b}.mental-math__header,.mental-math__stats{justify-content:space-between;align-items:center;gap:8px;display:flex}.mental-math__header span{color:#3f3f46;font-family:var(--font-family-mono);letter-spacing:.08em;font-size:.68rem;font-weight:800}.mental-math__header h2{font-family:var(--font-family-display);letter-spacing:-.025em;color:#18181b;margin:1px 0 0;font-size:clamp(1.12rem,4.5vw,1.45rem);font-weight:800}.mental-math__header strong,.mental-math__stats span{color:#18181b;background-color:#fde68a;border:1.5px solid #18181b;border-radius:8px;padding:5px 9px;font-size:.78rem;font-weight:800}.mental-math__stats span:last-child{color:#18181b;background-color:#a7f3d0;border-color:#18181b}.mental-math__paper{background-color:#faf8f4;border:1.5px solid #18181b;border-radius:12px;place-items:center;gap:6px;min-height:124px;padding:12px;display:grid;box-shadow:2px 2px #18181b}.mental-math__paper span{color:#3f3f46;font-size:.75rem;font-weight:800}.mental-math__paper strong{color:#18181b;font-family:var(--font-family-display);letter-spacing:-.03em;font-size:clamp(2rem,9.5vw,3.4rem);font-weight:800}.mental-math__paper output{color:#18181b;min-width:130px;min-height:44px;font-family:var(--font-family-display);background-color:#fff;border:1.5px solid #18181b;border-radius:9px;place-items:center;font-size:1.55rem;font-weight:800;display:grid;box-shadow:inset 0 1px #18181b14}.mental-math__keypad{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.mental-math__keypad button,.mental-math__start{color:#18181b;min-height:48px;font:inherit;cursor:pointer;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;font-size:1.05rem;font-weight:800;box-shadow:0 2px #18181b}.mental-math__keypad button:hover:not(:disabled){background-color:#fef08a}.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:3px solid #18181b}.mental-math__keypad button[aria-label="한 자리 지우기"]{background-color:#fecdd3}.mental-math__keypad .mental-math__submit,.mental-math__start{color:#18181b;background-color:#fee500;border-color:#18181b;box-shadow:2px 2px #18181b}.mental-math__keypad button:disabled{opacity:.55}.mental-math__status{color:#18181b;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;align-items:center;min-height:44px;margin:0;padding:7px 11px;font-size:.82rem;font-weight:700;display:flex}.mental-math__start{border-width:1.5px}@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:#18181b;background-color:#fff;border:1.5px solid #18181b;border-radius:14px;flex-direction:column;gap:8px;width:min(100%,560px);min-width:0;max-width:560px;margin:auto;padding:10px 12px;display:flex;box-shadow:3px 3px #18181b}.sensory-game__header,.sensory-game__score{justify-content:space-between;align-items:center;gap:8px;display:flex}.sensory-game__header span{color:#3f3f46;font-family:var(--font-family-mono);letter-spacing:.08em;font-size:.68rem;font-weight:800}.sensory-game__header h2{font-family:var(--font-family-display);letter-spacing:-.025em;color:#18181b;margin:1px 0 0;font-size:clamp(1.12rem,4.5vw,1.45rem);font-weight:800}.sensory-game__header strong,.sensory-game__score>*{color:#18181b;background-color:#dcebfe;border:1.5px solid #18181b;border-radius:8px;padding:5px 9px;font-size:.78rem;font-weight:800}.sensory-game__score b{color:#18181b;background-color:#fde68a;border-color:#18181b}.sensory-game__stage{touch-action:none;background-color:#faf8f4;background-image:radial-gradient(circle at 10px 10px,#18181b24 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:1.5px solid #18181b;border-radius:12px;place-items:center;min-height:170px;display:grid;position:relative;overflow:hidden}.sensory-game__center{touch-action:none;background-color:#fff;border:2.5px solid #18181b;border-radius:14px;width:78%;height:136px;position:relative;box-shadow:2px 2px #18181b}.sensory-game__cross{background-color:#fee50059;border:3px solid #e11d48;border-radius:50%;width:24px;height:24px;position:absolute;transform:translate(-50%,-50%)}.sensory-game__cross:before,.sensory-game__cross:after{content:"";background:#e11d48;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:146px;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:#18181b}.sensory-game__angle .answer,.sensory-game__lines .answer{background:#e11d48}.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:#18181b;left:30%}.sensory-game__circles .answer{border-color:#e11d48;left:70%}.sensory-game__midpoint:before{content:"";background:#18181b;width:90%;height:5px;position:absolute;top:50%;left:5%}.sensory-game__midpoint i{background:#18181b;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:#fee500;border:2.5px solid #18181b;border-radius:50%;width:28px;height:28px;position:absolute;top:calc(50% - 14px);transform:translate(-50%)}.sensory-game__instruction{color:#18181b;text-align:center;margin:0;font-size:.84rem;font-weight:800}.sensory-game__ranges{grid-template-columns:1fr 1fr;gap:8px;display:grid}.sensory-game__ranges label,.sensory-game__slider{color:#18181b;flex-direction:column;gap:4px;font-size:.76rem;font-weight:800;display:flex}.sensory-game input[type=range]{accent-color:#18181b;width:100%;min-height:44px}.sensory-game__status{color:#18181b;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;align-items:center;min-height:44px;margin:0;padding:7px 11px;font-size:.8rem;font-weight:700;display:flex}.sensory-game__primary{color:#18181b;min-height:48px;font:inherit;cursor:pointer;background-color:#fee500;border:1.5px solid #18181b;border-radius:10px;font-weight:800;box-shadow:2px 2px #18181b}.sensory-game__primary:focus-visible,.sensory-game input:focus-visible{outline-offset:2px;outline:3px solid #18181b}@media (width<=430px){.sensory-game__stage{min-height:156px}.sensory-game__ranges{grid-template-columns:1fr 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:#18181b;background-color:#fff;border:1.5px solid #18181b;border-radius:14px;flex-direction:column;gap:8px;width:min(100%,540px);min-width:0;max-width:540px;margin:auto;padding:10px 12px;display:flex;box-shadow:3px 3px #18181b}.code-breaker__header{justify-content:space-between;align-items:center;gap:8px;display:flex}.code-breaker__header span{color:#3f3f46;font-family:var(--font-family-mono);letter-spacing:.08em;font-size:.68rem;font-weight:800}.code-breaker__header h2{font-family:var(--font-family-display);letter-spacing:-.025em;color:#18181b;margin:1px 0 0;font-size:clamp(1.12rem,4.5vw,1.45rem);font-weight:800}.code-breaker__header strong{color:#18181b;background-color:#a7f3d0;border:1.5px solid #18181b;border-radius:8px;padding:5px 9px;font-size:.78rem;font-weight:800}.code-breaker__display{cursor:pointer;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:12px;grid-template-columns:repeat(4,minmax(48px,66px));justify-content:center;gap:8px;padding:10px;display:grid;box-shadow:2px 2px #18181b}.code-breaker__display span{aspect-ratio:1;color:#18181b;font-family:var(--font-family-display);background-color:#fff;border:1.5px solid #18181b;border-radius:10px;place-items:center;font-size:1.65rem;font-weight:800;display:grid}.code-breaker__display span[data-active=true]{background-color:#fef08a;box-shadow:0 2px #18181b}.code-breaker__display span[data-filled=true]{background-color:#fde68a}.code-breaker__history{background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;flex-direction:column;gap:5px;max-height:148px;padding:7px;display:flex;overflow:auto}.code-breaker__history p{text-align:center;color:#3f3f46;margin:6px;font-size:.8rem;font-weight:700}.code-breaker__history div{color:#18181b;background-color:#fff;border:1.5px solid #18181b;border-radius:8px;grid-template-columns:64px 1fr 1fr;align-items:center;gap:6px;padding:6px 8px;font-size:.75rem;font-weight:700;display:grid}.code-breaker__history div span:first-of-type{text-align:center;background-color:#a7f3d0;border:1px solid #18181b;border-radius:6px;padding:2px 6px}.code-breaker__history div span:last-of-type{text-align:center;background-color:#fde68a;border:1px solid #18181b;border-radius:6px;padding:2px 6px}.code-breaker__history b{font-family:var(--font-family-mono);letter-spacing:.08em;color:#18181b;font-size:.96rem}.code-breaker__keypad{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.code-breaker__keypad button,.code-breaker__start{color:#18181b;min-height:48px;font:inherit;cursor:pointer;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;font-weight:800;box-shadow:0 2px #18181b}.code-breaker__keypad button:hover:not(:disabled){background-color:#fef08a}.code-breaker__keypad button:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.code-breaker__keypad button:disabled{opacity:.45}.code-breaker__keypad button:nth-last-child(2){background-color:#fecdd3;grid-column:span 2}.code-breaker__keypad .code-breaker__submit{color:#18181b;background-color:#fee500;border-color:#18181b;grid-column:span 3;box-shadow:2px 2px #18181b}.code-breaker__status{color:#18181b;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;align-items:center;min-height:44px;margin:0;padding:7px 11px;font-size:.8rem;font-weight:700;display:flex}.code-breaker__start{color:#18181b;background-color:#fee500;border-width:1.5px;border-color:#18181b;min-height:48px;box-shadow:2px 2px #18181b}.code-breaker button:focus-visible{outline-offset:2px;outline:3px solid #18181b}@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:#18181b;background-color:#fff;border:1.5px solid #18181b;border-radius:14px;flex-direction:column;gap:8px;width:min(100%,560px);min-width:0;max-width:560px;margin:auto;padding:10px 12px;display:flex;box-shadow:3px 3px #18181b}.one-hand-stack__header,.one-hand-stack__stats{justify-content:space-between;align-items:center;gap:8px;display:flex}.one-hand-stack__header span{color:#3f3f46;font-family:var(--font-family-mono);letter-spacing:.08em;font-size:.68rem;font-weight:800}.one-hand-stack__header h2{font-family:var(--font-family-display);letter-spacing:-.025em;color:#18181b;margin:1px 0 0;font-size:clamp(1.12rem,4.5vw,1.45rem);font-weight:800}.one-hand-stack__header strong,.one-hand-stack__stats span{color:#18181b;background-color:#fde68a;border:1.5px solid #18181b;border-radius:8px;padding:5px 9px;font-size:.78rem;font-weight:800}.one-hand-stack__stats span:last-child{color:#18181b;background-color:#a7f3d0;border-color:#18181b}.one-hand-stack__arena{touch-action:manipulation;cursor:pointer;background:radial-gradient(circle at 12px 12px,#18181b1a 1.5px,#0000 2px) 0 0/24px 24px,linear-gradient(#faf8f4 0%,#f4f1ea 88%,#e4dfd3 88%) 0 0/100% 100%;border:1.5px solid #18181b;border-radius:12px;height:235px;position:relative;overflow:hidden}.one-hand-stack__guide{pointer-events:none;background-color:#fee50014;border-inline:1.5px dashed #18181b3d;position:absolute;top:0;bottom:14px}.one-hand-stack__arena:focus-visible,.one-hand-stack__primary:focus-visible{outline-offset:2px;outline:3px solid #18181b}.one-hand-stack__ground{background:#d6d1c4;border-top:2px solid #18181b;height:14px;position:absolute;bottom:0;left:0;right:0}.one-hand-stack__block{box-sizing:border-box;background:#60a5fa;border:1.5px solid #18181b;border-radius:4px;min-width:2px;height:13px;display:block;position:absolute}.one-hand-stack__block:nth-of-type(3n+1){background:#fb7185;border-color:#18181b}.one-hand-stack__block:nth-of-type(3n+2){background:#34d399;border-color:#18181b}.one-hand-stack__block.moving{background:#fee500;border-color:#18181b;box-shadow:0 2px #18181b}.one-hand-stack__status{color:#18181b;background-color:#faf8f4;border:1.5px solid #18181b;border-radius:10px;align-items:center;min-height:44px;margin:0;padding:7px 11px;font-size:.82rem;font-weight:700;display:flex}.one-hand-stack__primary{color:#18181b;min-height:50px;font:inherit;cursor:pointer;background-color:#fee500;border:1.5px solid #18181b;border-radius:10px;font-size:1rem;font-weight:800;box-shadow:2px 2px #18181b}.one-hand-stack small{text-align:center;color:#3f3f46;font-size:.74rem;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:8px;display:flex}.play-topbar[data-astro-cid-h3hvapo6]{background-color:#fff;border:1.5px solid #18181b;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:4px 12px;display:grid;box-shadow:2px 2px #18181b}.play-topbar[data-astro-cid-h3hvapo6]>a[data-astro-cid-h3hvapo6]{color:#18181b;background-color:#fff;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]>a[data-astro-cid-h3hvapo6]:hover{color:#1d4ed8}.play-topbar[data-astro-cid-h3hvapo6] h1[data-astro-cid-h3hvapo6]{color:#18181b;letter-spacing:-.03em;text-align:center;background-color:#fff;margin:0;font-size:1.02rem;font-weight:800}.play-topbar[data-astro-cid-h3hvapo6]>a[data-astro-cid-h3hvapo6].rank-shortcut{color:#18181b;background-color:#fde68a;border:1.5px solid #18181b;border-radius:7px;justify-self:end;align-items:center;min-height:36px;padding:4px 10px;font-size:.75rem;font-weight:800;text-decoration:none;display:flex}.play-topbar[data-astro-cid-h3hvapo6]>a[data-astro-cid-h3hvapo6].rank-shortcut:hover{color:#fff;background-color:#18181b}@media (width<=600px){.play-shell[data-astro-cid-h3hvapo6]{min-height:calc(100dvh - 72px - var(--safe-top) - var(--safe-bottom));gap:6px}.play-topbar[data-astro-cid-h3hvapo6]{grid-template-columns:auto 1fr auto;padding:2px 10px}.play-topbar[data-astro-cid-h3hvapo6] h1[data-astro-cid-h3hvapo6]{font-size:.94rem}}@media (width<=920px) and (height<=700px){.play-shell[data-astro-cid-h3hvapo6]{gap:6px}.play-topbar[data-astro-cid-h3hvapo6]{padding-block:2px}.play-topbar[data-astro-cid-h3hvapo6] h1[data-astro-cid-h3hvapo6]{font-size:.9rem}}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 .friend-target[data-astro-cid-h3hvapo6],html.typing-keyboard-open [data-astro-cid-h3hvapo6][data-testid=official-status-strip]{display:none!important}
