@font-face{font-family:DM Sans;src:url(Assets/fonts/DMSans-VariableFont_opsz,wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:"Exo 2";src:url(Assets/fonts/Exo2-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Google Sans;src:url(Assets/fonts/GoogleSans-VariableFont_GRAD,opsz,wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Inter;src:url(Assets/fonts/InterVariable.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(Assets/fonts/JetBrainsMono-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Lora;src:url(Assets/fonts/Lora-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Manrope;src:url(Assets/fonts/Manrope-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Montserrat;src:url(Assets/fonts/Montserrat-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Nunito;src:url(Assets/fonts/Nunito-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Orbitron;src:url(Assets/fonts/Orbitron-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Oswald;src:url(Assets/fonts/Oswald-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Outfit;src:url(Assets/fonts/Outfit-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Plus Jakarta Sans;src:url(Assets/fonts/PlusJakartaSans-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(Assets/fonts/Roboto-VariableFont_wdth,wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Rubik;src:url(Assets/fonts/Rubik-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Sora;src:url(Assets/fonts/Sora-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Space Grotesk;src:url(Assets/fonts/SpaceGrotesk-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}@font-face{font-family:Urbanist;src:url(Assets/fonts/Urbanist-VariableFont_wght.woff2?v=20260814)format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}:root{--accent-color:#3380b3;--accent-color-rgb:51,128,179;--glow-intensity:.28;--hub-game-icon-size:200px;--app-bg:#111;--panel-bg:#151515;--card-bg:#1d1d1d;--control-bg:#242424;--control-hover-bg:#253342;--text-color:#fff;--muted-text:#cfcfcf;--custom-background-color:#111;--custom-background-color-rgb:17,17,17;--background-detail-color:#3380b3;--background-detail-color-rgb:51,128,179;--background-effect-color:#111;--background-effect-color-rgb:17,17,17;--app-font:Arial, sans-serif;--motion-duration-fast:.12s;--motion-duration-medium:.18s;--motion-duration-slow:.22s;--motion-easing-standard:ease;--motion-easing-enter:ease-out;--motion-control-lift:-1px;--motion-card-lift:-2px;--motion-press-scale:.985;--system-ui-theme-color:#1d1d1d}html[data-motion=reduced]{--motion-duration-fast:0s;--motion-duration-medium:0s;--motion-duration-slow:0s;--motion-control-lift:0px;--motion-card-lift:0px;--motion-press-scale:1}html{-webkit-tap-highlight-color:transparent}body{background:var(--app-bg);color:var(--text-color);font-family:var(--app-font);user-select:none;box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;margin:0;padding:28px;display:flex;overflow:hidden}button,.modeCard,.cell,.sequenceAdvancedCell,.chimpAdvancedCell,.backgroundPreviewCard,.customColorPickerButton,.customPickerCloseButton,.customPickerConfirmButton,.customColorResetButton{-webkit-tap-highlight-color:transparent}button:focus:not(:focus-visible),.modeCard:focus:not(:focus-visible),.cell:focus:not(:focus-visible),.sequenceAdvancedCell:focus:not(:focus-visible),.chimpAdvancedCell:focus:not(:focus-visible){outline:none}button,input,select,textarea,#mainMenu,#game,#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel{font-family:var(--app-font)}body.theme-amoled{--app-bg:#050505;--panel-bg:#080808;--card-bg:#111;--control-bg:#171717;--control-hover-bg:#202a32;--system-ui-theme-color:#101010}body.theme-neon{--app-bg:#0d0f13;--panel-bg:#12151b;--card-bg:#191d25;--control-bg:#202633;--control-hover-bg:#26394a;--system-ui-theme-color:#1b1e25}body.theme-neon .modeCard:hover{box-shadow:0 0 28px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.35))}body.theme-soft{--app-bg:#171717;--panel-bg:#1d1d1d;--card-bg:#252525;--control-bg:#303030;--control-hover-bg:#35404a;--muted-text:#d7d7d7;--system-ui-theme-color:#252525}body.theme-glass{--app-bg:#101317;--panel-bg:#151515c7;--card-bg:#1f1f1fb8;--control-bg:#262626b8;--control-hover-bg:#2d3c4ac7;--system-ui-theme-color:#1b1e22}body.theme-glass #statsPanel,body.theme-glass #leaderboardPanel,body.theme-glass #settingsPanel,body.theme-glass #streakPanel,body.theme-glass #gameModalPanel{backdrop-filter:blur(16px);border-color:#ffffff29}body.theme-midnight{--app-bg:#080b16;--panel-bg:#101421;--card-bg:#171b2a;--control-bg:#20263a;--control-hover-bg:rgba(var(--accent-color-rgb),.18);--muted-text:#d6d9e6;--system-ui-theme-color:#191d2a}body.theme-midnight #statsPanel,body.theme-midnight #leaderboardPanel,body.theme-midnight #settingsPanel,body.theme-midnight #streakPanel,body.theme-midnight #gameModalPanel{border-color:#85b4ff2e;box-shadow:0 24px 80px #00000080}body.bg-default{--app-bg:var(--custom-background-color);background:var(--custom-background-color)}body.bg-neon-grid{--app-bg:#090d11;background:linear-gradient(rgba(var(--accent-color-rgb),.32) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-color-rgb),.32) 1px, transparent 1px), var(--app-bg);background-repeat:repeat,repeat,no-repeat;background-size:42px 42px,42px 42px,auto}body.bg-minimal-dots{--app-bg:#101112;background:radial-gradient(circle, rgba(var(--accent-color-rgb),.52) 1px, transparent 1.6px), var(--app-bg);background-size:28px 28px}body.density-compact #mainMenu{gap:16px}body.density-compact .modeCard{padding-top:14px}body.density-compact #statsPanel,body.density-compact #leaderboardPanel,body.density-compact #settingsPanel,body.density-compact #streakPanel,body.density-compact #gameModalPanel{padding:22px}body.density-compact #settingsPanel{width:min(1520px,100vw - 40px);overflow-x:hidden}body.density-compact #settingsContent,body.density-compact #streakContent,body.density-compact #leaderboardContent,body.density-compact #statsCards{gap:10px}body.density-compact #settingsContent{min-width:0;overflow-x:clip}body.density-compact .settingsGroup,body.density-compact .settingsDanger,body.density-compact .statsCard,body.density-compact .statsSummaryCard,body.density-compact .statsGameCard{padding:13px}body.density-compact .settingsAppearanceSection .settingsMasonry{grid-template-columns:minmax(320px,1fr) 140px 140px}#title{text-align:center;margin:0 0 28px;font-size:clamp(46px,6vw,76px);line-height:1;transform:translateY(-60px)}#mainMenu{justify-content:center;display:grid}.modeCard{cursor:pointer;box-sizing:border-box;flex-direction:column;align-items:center;width:100%;display:flex;overflow:hidden}#classicCard,#advancedCard,#sequenceCard,#sequenceAdvancedCard,#chimpCard,#chimpAdvancedCard,#numberCard,#verbalCard{order:initial;grid-area:auto}.modeCard:focus-visible{outline:2px solid rgba(var(--accent-color-rgb),.82);outline-offset:4px}@media (hover:none),(pointer:coarse){button,.modeCard,.cell,.sequenceAdvancedCell,.chimpAdvancedCell{transition-duration:80ms}button:focus,.modeCard:focus,.cell:focus,.sequenceAdvancedCell:focus,.chimpAdvancedCell:focus{outline:none}.modeCard:hover,button:hover{transform:none}.modeCard:active{box-shadow:0 0 22px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .82));transform:scale(.985)}button:active{transform:scale(.97)}.cell:active,.sequenceAdvancedCell.visible:active,.chimpAdvancedCell.visible:active{transform:scale(.94)}.sequenceAdvancedCell.replayActive:active,.cell.replayActive:active{transform:none}body.theme-glass #statsPanel,body.theme-glass #leaderboardPanel,body.theme-glass #settingsPanel,body.theme-glass #streakPanel,body.theme-glass #gameModalPanel{backdrop-filter:none}.active{box-shadow:0 0 14px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .82))}.sequenceAdvancedCell.replayActive,.cell.replayActive{filter:none;box-shadow:0 0 20px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.7))}}#game{flex-direction:column;align-items:center;display:flex}button{background:var(--accent-color);color:#fff;cursor:pointer;box-shadow:0 0 16px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .7));border:none;border-radius:12px;margin-top:20px;padding:15px 30px;font-size:18px}button:disabled{opacity:.62;cursor:default}#leaderboardButton,#streakButton,#statsButton,#settingsButton{z-index:20;color:#f4f7fca3;backdrop-filter:blur(18px);background:#0b0e14f0;border:1px solid #ffffff14;border-radius:14px;justify-content:center;align-items:center;width:58px;height:58px;margin:0;padding:0;font-size:20px;transition:border-color .22s,color .22s,background-color .22s,box-shadow .22s,transform .22s;display:flex;position:fixed;top:18px;box-shadow:0 14px 28px #0000003d}#leaderboardButton:before,#streakButton:before,#statsButton:before,#settingsButton:before{content:"";border-radius:inherit;pointer-events:none;box-shadow:none;position:absolute;inset:0}.hubUtilityGlyph{place-items:center;width:28px;height:28px;display:grid}.assetIcon{isolation:isolate;background:0 0;flex:none;justify-content:center;align-items:center;width:100%;height:100%;display:inline-flex;position:relative;overflow:visible;transform:translateZ(0)}.assetIcon:before,.assetIcon:after{content:"";background-color:currentColor;transition:opacity .18s,transform .22s,filter .22s;position:absolute;inset:0;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.assetIcon:before{-webkit-mask-image:var(--asset-icon-default);mask-image:var(--asset-icon-default);opacity:1;transform:scale(1)}.assetIcon:after{-webkit-mask-image:var(--asset-icon-active,var(--asset-icon-default));mask-image:var(--asset-icon-active,var(--asset-icon-default));opacity:0;filter:drop-shadow(0 0 0 rgba(var(--accent-color-rgb),0));transform:scale(.82)translateY(2px)}body.reduced-motion .assetIcon:before,body.reduced-motion .assetIcon:after{transition:none!important}button:hover .assetIcon:before,button:focus-visible .assetIcon:before,button.active .assetIcon:before,button.selected .assetIcon:before,button[aria-pressed=true] .assetIcon:before,button[aria-expanded=true] .assetIcon:before,.settingsSideItem:hover .assetIcon:before,.settingsSideItem:focus-visible .assetIcon:before,.settingsSideItem.selected .assetIcon:before,.statsTab:hover .assetIcon:before,.statsTab:focus-visible .assetIcon:before,.statsTab.selected .assetIcon:before,.statsSummaryCard:hover .assetIcon:before,.statsSummaryCard:focus-visible .assetIcon:before,.statsSummaryCard[aria-expanded=true] .assetIcon:before{opacity:0;transform:scale(1.08)translateY(-2px)}button:hover .assetIcon:after,button:focus-visible .assetIcon:after,button.active .assetIcon:after,button.selected .assetIcon:after,button[aria-pressed=true] .assetIcon:after,button[aria-expanded=true] .assetIcon:after,.settingsSideItem:hover .assetIcon:after,.settingsSideItem:focus-visible .assetIcon:after,.settingsSideItem.selected .assetIcon:after,.statsTab:hover .assetIcon:after,.statsTab:focus-visible .assetIcon:after,.statsTab.selected .assetIcon:after,.statsSummaryCard:hover .assetIcon:after,.statsSummaryCard:focus-visible .assetIcon:after,.statsSummaryCard[aria-expanded=true] .assetIcon:after{opacity:1;filter:drop-shadow(0 0 6px rgba(var(--accent-color-rgb),.34)) drop-shadow(0 0 14px rgba(var(--accent-color-rgb),.22));transform:scale(1)translateY(0)}body.reduced-motion button:hover .assetIcon:before,body.reduced-motion button:focus-visible .assetIcon:before,body.reduced-motion button.active .assetIcon:before,body.reduced-motion button.selected .assetIcon:before,body.reduced-motion button[aria-pressed=true] .assetIcon:before,body.reduced-motion button[aria-expanded=true] .assetIcon:before,body.reduced-motion .settingsSideItem:hover .assetIcon:before,body.reduced-motion .settingsSideItem:focus-visible .assetIcon:before,body.reduced-motion .settingsSideItem.selected .assetIcon:before,body.reduced-motion .statsTab:hover .assetIcon:before,body.reduced-motion .statsTab:focus-visible .assetIcon:before,body.reduced-motion .statsTab.selected .assetIcon:before,body.reduced-motion .statsSummaryCard:hover .assetIcon:before,body.reduced-motion .statsSummaryCard:focus-visible .assetIcon:before,body.reduced-motion .statsSummaryCard[aria-expanded=true] .assetIcon:before{opacity:1;transform:scale(1)}body.reduced-motion button:hover .assetIcon:after,body.reduced-motion button:focus-visible .assetIcon:after,body.reduced-motion button.active .assetIcon:after,body.reduced-motion button.selected .assetIcon:after,body.reduced-motion button[aria-pressed=true] .assetIcon:after,body.reduced-motion button[aria-expanded=true] .assetIcon:after,body.reduced-motion .settingsSideItem:hover .assetIcon:after,body.reduced-motion .settingsSideItem:focus-visible .assetIcon:after,body.reduced-motion .settingsSideItem.selected .assetIcon:after,body.reduced-motion .statsTab:hover .assetIcon:after,body.reduced-motion .statsTab:focus-visible .assetIcon:after,body.reduced-motion .statsTab.selected .assetIcon:after,body.reduced-motion .statsSummaryCard:hover .assetIcon:after,body.reduced-motion .statsSummaryCard:focus-visible .assetIcon:after,body.reduced-motion .statsSummaryCard[aria-expanded=true] .assetIcon:after{opacity:0;filter:drop-shadow(0 0 0 rgba(var(--accent-color-rgb),0));transform:scale(.82)translateY(2px)}.assetIcon-settings{--asset-icon-default:url("Assets/Icons/Inactive (1)/SettingsICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/SettingsICON-2.svg")}.assetIcon-statistics{--asset-icon-default:url("Assets/Icons/Inactive (1)/StatisticsICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/StatisticsICON-2.svg")}.assetIcon-streak{--asset-icon-default:url("Assets/Icons/Inactive (1)/StreakICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/StreakICON-2.svg")}.assetIcon-appearance{--asset-icon-default:url("Assets/Icons/Inactive (1)/AppearanceICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/AppearanceICON-2.svg")}.assetIcon-typography{--asset-icon-default:url("Assets/Icons/Inactive (1)/TipographyICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/TipographyICON-2.svg")}.settingsSideItem .assetIcon-typography:before{opacity:.9;filter:drop-shadow(0 0 4px rgba(var(--accent-color-rgb),.18))}.settingsSideItem:hover .assetIcon-typography:before,.settingsSideItem:focus-visible .assetIcon-typography:before,.settingsSideItem.selected .assetIcon-typography:before{opacity:0}.settingsSideItem .assetIcon-typography:after{transform:scale(.9)translateY(1px)}.settingsSideItem .assetIcon-typography{scale:1.14}.assetIcon-data{--asset-icon-default:url("Assets/Icons/Inactive (1)/DataICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/DataICON-2.svg")}.assetIcon-leaderboard,.assetIcon-trophy{--asset-icon-default:url("Assets/Icons/Inactive (1)/Leaderboard-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/LeaderboardICON-2.svg")}.assetIcon-controller,.assetIcon-controllerPrimary{--asset-icon-default:url("Assets/Icons/Inactive (1)/ControllerICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/ControllerICON-2.svg")}.assetIcon-timePlayed,.assetIcon-timePlayedPrimary{--asset-icon-default:url("Assets/Icons/Inactive (1)/TimePlayedICON-1.svg");--asset-icon-active:url("Assets/Icons/Active (2)/TimePlayedICON-2.svg")}.hubUtilityGlyph.assetIcon,.streakFlame.assetIcon{display:block}#leaderboardButton{border-radius:14px;width:58px;min-width:58px;height:58px;left:18px}#leaderboardButton.leaderboardButtonInactive,#leaderboardButton:disabled{cursor:default}.leaderboardGlyph{filter:none;width:34px;height:34px}#streakButton{color:#f4f7fc85;width:108px;min-width:108px;right:162px}.streakButtonShell{box-sizing:border-box;justify-content:center;align-items:center;gap:12px;width:100%;height:100%;padding:0 14px;display:flex}.streakFlame{width:26px;height:26px;color:inherit;flex:none;justify-content:center;align-items:center;transition:color .22s,filter .22s,transform .22s;display:flex;position:relative}.streakDivider{background:linear-gradient(#0000,#ffffff1a,#0000);flex:none;width:1px;height:32px}.streakText{color:currentColor;letter-spacing:.01em;font-variant-numeric:tabular-nums;justify-content:center;align-items:center;min-width:18px;font-size:21px;font-weight:600;line-height:1;display:flex}#streakButton.active{opacity:1;border-color:rgba(var(--accent-color-rgb),.42);color:#f8fbff;box-shadow:0 0 24px rgba(var(--accent-color-rgb),calc(.18 + var(--glow-intensity) * .28)), 0 14px 28px #00000047}#streakButton.active .streakFlame{color:var(--accent-color);filter:drop-shadow(0 0 8px rgba(var(--accent-color-rgb),.52)) drop-shadow(0 0 18px rgba(var(--accent-color-rgb),.34))}#streakButton.streakPending .streakFlame{color:inherit;filter:none}#statsButton{right:90px}#statsButton .hubUtilityGlyph{width:33px;height:33px}#settingsButton{right:18px}#settingsButton .hubUtilityGlyph{width:33px;height:33px;transform:translateY(-1px)}#streakButton .streakFlame{width:32px;height:32px}#settingsButton svg{overflow:visible}#leaderboardButton:hover,#leaderboardButton:focus-visible,#streakButton:hover,#streakButton:focus-visible,#statsButton:hover,#statsButton:focus-visible,#settingsButton:hover,#settingsButton:focus-visible,#mobileActionsToggle:hover{border-color:rgba(var(--accent-color-rgb),.46);color:#f8fbff;box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.14), 0 0 28px rgba(var(--accent-color-rgb),calc(.16 + var(--glow-intensity) * .24)), 0 16px 30px #0000004d;background:#0b0e14fa;transform:translateY(-1px)}#leaderboardButton.leaderboardButtonInactive:hover,#leaderboardButton:disabled:hover{background:#0b0e14f0;box-shadow:0 14px 28px #0000003d}button:hover:not(#leaderboardButton):not(#streakButton):not(#statsButton):not(#settingsButton):not(#mobileActionsToggle):not(#gameModalCloseButton):not(#leaderboardCloseButton):not(#statsCloseButton):not(#settingsCloseButton):not(#streakCloseButton):not(#leaderboardFullscreenButton):not(#statsFullscreenButton):not(#settingsFullscreenButton):not(#streakFullscreenButton),button:focus-visible:not(#leaderboardButton):not(#streakButton):not(#statsButton):not(#settingsButton):not(#mobileActionsToggle):not(#gameModalCloseButton):not(#leaderboardCloseButton):not(#statsCloseButton):not(#settingsCloseButton):not(#streakCloseButton):not(#leaderboardFullscreenButton):not(#statsFullscreenButton):not(#settingsFullscreenButton):not(#streakFullscreenButton){box-shadow:0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.05))}#statsOverlay,#leaderboardOverlay,#settingsOverlay,#streakOverlay,#gameModalOverlay{z-index:50;box-sizing:border-box;pointer-events:none;background:#000000b8;justify-content:center;align-items:center;padding:26px;display:none;position:fixed;inset:0}#statsOverlay.open,#leaderboardOverlay.open,#settingsOverlay.open,#streakOverlay.open,#gameModalOverlay.open{pointer-events:auto;display:flex}#leaderboardOverlay.leaderboardPreparingLayout{visibility:hidden;pointer-events:none;display:flex}#statsOverlay.fullscreen,#leaderboardOverlay.fullscreen,#settingsOverlay.fullscreen,#streakOverlay.fullscreen{padding:calc(10px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left))}#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel{background:var(--panel-bg);border:1px solid rgba(var(--accent-color-rgb),.36);box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--accent-color) transparent;border-radius:16px;width:min(1040px,94vw);max-height:min(780px,88vh);padding:28px;position:relative;overflow:auto;box-shadow:0 24px 80px #00000073}#statsPanel::-webkit-scrollbar,#leaderboardPanel::-webkit-scrollbar,#settingsPanel::-webkit-scrollbar,#streakPanel::-webkit-scrollbar,#gameModalPanel::-webkit-scrollbar{width:8px}#statsPanel::-webkit-scrollbar-track,#leaderboardPanel::-webkit-scrollbar-track,#settingsPanel::-webkit-scrollbar-track,#streakPanel::-webkit-scrollbar-track,#gameModalPanel::-webkit-scrollbar-track{background:0 0}#statsPanel::-webkit-scrollbar-thumb,#leaderboardPanel::-webkit-scrollbar-thumb,#settingsPanel::-webkit-scrollbar-thumb,#streakPanel::-webkit-scrollbar-thumb,#gameModalPanel::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:999px}#statsPanel::-webkit-scrollbar-thumb:hover,#leaderboardPanel::-webkit-scrollbar-thumb:hover,#settingsPanel::-webkit-scrollbar-thumb:hover,#streakPanel::-webkit-scrollbar-thumb:hover,#gameModalPanel::-webkit-scrollbar-thumb:hover{background:rgba(var(--accent-color-rgb),.86)}#statsPanel{background:radial-gradient(circle at 50% 0%, rgba(var(--accent-color-rgb),.15), transparent 34%), linear-gradient(180deg, #ffffff09, transparent 26%), var(--panel-bg);border-color:rgba(var(--accent-color-rgb),.3);flex-direction:column;width:min(1120px,96vw);max-height:min(860px,90vh);display:flex;overflow:hidden}#statsOverlay.fullscreen #statsPanel,#leaderboardOverlay.fullscreen #leaderboardPanel,#settingsOverlay.fullscreen #settingsPanel,#streakOverlay.fullscreen #streakPanel{width:100%;max-width:none;height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:12px}#settingsOverlay.fullscreen #settingsPanel,#streakOverlay.fullscreen #streakPanel,#statsOverlay.fullscreen #statsPanel{width:100%}#gameModalPanel{border:1px solid var(--settings-border-strong);background:linear-gradient(180deg, #ffffff09, transparent 22%), var(--settings-panel-surface);width:min(600px,92vw);min-height:min(690px,78vh);max-height:min(690px,78vh);box-shadow:0 0 0 1px #ffffff0b inset, 0 0 32px var(--settings-panel-glow), 0 28px 86px #0000008a;text-align:center;border-radius:30px;flex-direction:column;align-items:center;gap:0;padding:22px 30px 26px;animation:.18s ease-out gameModalIn;display:flex;overflow:hidden}#statsCloseButton,#leaderboardCloseButton,#settingsCloseButton,#streakCloseButton,#gameModalCloseButton{color:#ecf4ffe0;width:46px;min-width:46px;height:46px;min-height:46px;box-shadow:none;text-shadow:none;filter:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;font-size:32px;line-height:1;position:absolute;top:14px;right:14px}#statsCloseButton:hover,#statsCloseButton:focus-visible,#leaderboardCloseButton:hover,#leaderboardCloseButton:focus-visible,#settingsCloseButton:hover,#settingsCloseButton:focus-visible,#streakCloseButton:hover,#streakCloseButton:focus-visible,#leaderboardFullscreenButton:hover,#leaderboardFullscreenButton:focus-visible,#statsFullscreenButton:hover,#statsFullscreenButton:focus-visible,#settingsFullscreenButton:hover,#settingsFullscreenButton:focus-visible,#streakFullscreenButton:hover,#streakFullscreenButton:focus-visible,#gameModalCloseButton:hover,#gameModalCloseButton:focus-visible{color:#fff;box-shadow:none;text-shadow:none;filter:drop-shadow(0 0 5px rgba(var(--accent-color-rgb),.42)) drop-shadow(0 0 10px rgba(var(--accent-color-rgb),.2));background:0 0;border-color:#0000;outline:none;transform:none}#gameModalCloseButton{z-index:2;color:#ecf4ffeb;width:40px;min-width:40px;height:40px;min-height:40px;box-shadow:none;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;font-size:32px;font-weight:300;line-height:32px;transition:none;display:flex;top:18px;right:18px}.utilityFullscreenButton{color:#ecf4ffe0;width:46px;min-width:46px;height:46px;min-height:46px;box-shadow:none;text-shadow:none;filter:none;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;margin:0;padding:0;font-size:25px;line-height:1;display:flex;position:absolute;top:14px;right:56px}#statsTitle,#leaderboardTitle,#settingsTitle,#streakTitle,#gameModalTitle{box-sizing:border-box;text-align:center;overflow-wrap:anywhere;margin:0 0 22px;padding:0 84px;font-size:34px;line-height:1.1}#gameModalTitle{color:#f6f8fb;letter-spacing:0;text-wrap:nowrap;white-space:nowrap;overflow-wrap:normal;max-width:none;margin:38px 30px 12px;padding:0;font-size:clamp(34px,3.8vw,58px);font-weight:800;line-height:1.02}#statsTitle{margin-bottom:26px}#gameModalIcon{z-index:0;pointer-events:none;justify-content:center;align-items:center;width:100%;min-height:40px;margin-top:4px;display:flex;position:relative}#gameModalIcon *{pointer-events:none}#gameModalIcon .assetGameIcon{color:var(--accent-color);filter:none!important;box-shadow:none!important}#gameModalDescription{color:#e4e9f0b3;text-wrap:balance;max-width:460px;margin:16px 0 0;font-size:clamp(18px,1.5vw,24px);line-height:1.42}#gameModalPanel.gameModalAdvanced #gameModalTitle{margin-top:-18px}#gameModalPanel.gameModalAdvanced #gameModalDescription{margin-top:0}#gameModalStartButton{border:1px solid rgba(var(--accent-color-rgb),.92);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.96), rgba(var(--accent-color-rgb),.62));color:#f7fbff;min-width:220px;min-height:68px;box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.18), 0 0 32px rgba(var(--accent-color-rgb),.34), 0 16px 40px #0000004d;border-radius:24px;margin-top:auto;padding:0 28px;font-size:clamp(22px,1.7vw,32px);font-weight:700;line-height:1}#gameModalStartButton:hover,#gameModalStartButton:focus-visible{background:linear-gradient(180deg, rgba(var(--accent-color-rgb),1), rgba(var(--accent-color-rgb),.74));border-color:rgba(var(--accent-color-rgb),1);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.24), 0 0 40px rgba(var(--accent-color-rgb),.42), 0 18px 44px #00000057}@keyframes gameModalIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}body.reduced-motion #gameModalPanel{animation:none}#statsCards{flex-direction:column;flex:1;gap:22px;min-height:0;display:flex;overflow:hidden}.statsTabs{border:1px solid rgba(var(--accent-color-rgb),.24);background:linear-gradient(#ffffff0e,#ffffff05),#0000001f;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));width:min(460px,100%);margin:0 auto;padding:0;display:grid;box-shadow:inset 0 1px #ffffff0d,0 14px 34px #0000002e}.statsTab{min-height:44px;color:var(--muted-text);box-shadow:none;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:9px;margin:0;padding:0 18px;font-size:15px;font-weight:800;display:flex;position:relative}.statsTab+.statsTab:before{content:"";background:#ffffff1f;width:1px;position:absolute;top:10px;bottom:10px;left:0}.statsTab:hover,.statsTab:focus-visible{background:rgba(var(--accent-color-rgb),.06);box-shadow:none}.statsTab.selected{color:#fff;background:rgba(var(--accent-color-rgb),.08);box-shadow:inset 0 -2px 0 var(--accent-color)}.statsTabIcon{width:20px;height:20px;color:var(--accent-color);font-size:15px;line-height:1}.statsTab[data-stats-tab=allGames] .statsTabIcon .assetIcon{scale:1.22}.statsTabPanel{flex-direction:column;flex:1;gap:24px;min-height:0;display:flex;overflow:hidden}.statsSummaryGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.statsSummaryCard{box-sizing:border-box;border:1px solid rgba(var(--accent-color-rgb),.18);background:radial-gradient(circle at 18% 0%, rgba(var(--accent-color-rgb),.18), transparent 38%), linear-gradient(135deg, #ffffff0f, #ffffff05), var(--card-bg);border-radius:12px;flex-direction:column;justify-content:space-between;gap:14px;min-height:150px;padding:20px;display:flex;box-shadow:inset 0 1px #ffffff0b,0 18px 42px #0003}.statsSummaryLabel{color:#dfe8f8;align-items:center;gap:10px;min-width:0;font-size:15px;font-weight:850;line-height:1.2;display:flex}.statsSummaryIcon{width:42px;height:42px;color:var(--accent-color);background:rgba(var(--accent-color-rgb),.13);box-shadow:0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .28));border-radius:9px;flex:none;justify-content:center;align-items:center;display:flex}.statsSummaryCard strong{color:#fff;letter-spacing:0;font-size:clamp(30px,3.4vw,48px);font-weight:900;line-height:.92}.statsSummaryCard small{color:var(--accent-color);font-size:14px;font-weight:800;line-height:1.25}.statsGameSection{background:radial-gradient(circle at 6% 0%, rgba(var(--accent-color-rgb),.1), transparent 30%), #ffffff06;border:1px solid #ffffff14;border-radius:14px;flex-direction:column;gap:14px;padding:16px;display:flex;box-shadow:inset 0 1px #ffffff09}.statsSectionHeader{align-items:center;gap:14px;display:flex}.statsSectionHeader h3{color:#fff;margin:0;font-size:23px;line-height:1.15}.statsSectionHeader p{color:var(--muted-text);margin:5px 0 0;font-size:13px;line-height:1.3}.statsGameList{flex-direction:column;gap:12px;display:flex}.statsAllGamesView{flex:1;grid-template-rows:auto minmax(0,1fr);gap:0;min-height:0;display:grid;overflow:hidden}.statsAllGamesHeader{z-index:2;background:linear-gradient(var(--settings-panel-surface), var(--settings-panel-surface)), var(--panel-bg);box-shadow:inset 0 -1px 0 var(--settings-border);-webkit-backdrop-filter:none;justify-content:flex-start;align-items:flex-start;padding:4px 4px 14px;position:relative;inset:auto;transform:none}.statsAllGamesCardViewport{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;min-width:0;min-height:0;padding:12px 8px 0 0;overflow:hidden auto}.statsAllGamesView .statsGameListFull{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-height:0;display:grid;overflow:visible}.statsAllGamesView .statsGameCard{box-sizing:border-box;background:linear-gradient(135deg, rgba(var(--accent-color-rgb),.08), transparent 38%), linear-gradient(180deg, #ffffff0a, transparent 52%), var(--card-bg);border:1px solid #ffffff14;border-radius:14px;flex-direction:column;align-items:stretch;gap:14px;min-height:174px;padding:16px 18px;display:flex;box-shadow:inset 0 1px #ffffff09,0 12px 28px #00000029}.statsAllGamesView .statsGameIdentity{grid-template-columns:58px minmax(0,1fr);align-items:center;gap:14px;min-width:0;display:grid}.statsAllGamesView .statsGameMetrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.statsAllGamesView .statsGameStat{min-height:60px}.statsAllGamesView .statsGameToday{font-size:12px;line-height:1.15}@media (width<=1380px){.statsAllGamesView .statsGameMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=980px){.statsAllGamesView .statsGameMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.statsGameIdentity{align-items:center;gap:14px;min-width:0;display:flex}.statsGameIdentity h4{color:#fff;overflow-wrap:anywhere;min-width:0;margin:0;font-size:17px;font-weight:850;line-height:1.2}.statsGameIcon{background:radial-gradient(circle at 50% 20%, rgba(var(--accent-color-rgb),.26), transparent 60%), rgba(var(--accent-color-rgb),.1);width:58px;height:58px;box-shadow:inset 0 1px 0 #ffffff14, 0 0 22px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .26));border-radius:12px;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.statsGameIcon .assetGameIcon{width:52px;height:52px;min-height:52px;box-shadow:none}.statsGameStat{background:#ffffff07;border:1px solid #ffffff0e;border-radius:10px;flex-direction:column;gap:4px;min-width:0;min-height:64px;padding:10px 11px;display:flex}.statsGameStat span{color:var(--muted-text);white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.2}.statsGameStat strong{color:var(--accent-color);font-size:18px;font-weight:900;line-height:1.1}.statsGameStatValueRow{align-items:baseline;gap:8px;min-height:1.2em;display:flex}.statsGameStat small{color:#ffffff94;min-height:1.2em;font-size:12px;line-height:1.2}.statsGameStat.inline-detail .statsGameToday{white-space:nowrap;min-height:0}.statsProgressTrack{background:#ffffff1f;border-radius:999px;width:100%;height:5px;margin-top:3px;display:block;overflow:hidden}.statsProgressTrack b{width:var(--stats-progress);border-radius:inherit;background:var(--accent-color);height:100%;box-shadow:0 0 14px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .78));display:block}@media (width<=900px){.statsSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.statsGameCard{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.statsGameIdentity{grid-column:1/-1}.statsGameStat{border-left:0;padding-left:0}}.leaderboardNotice span{color:var(--muted-text);text-transform:uppercase;letter-spacing:0;font-size:12px;font-weight:800;line-height:1.2}.leaderboardNotice{background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.12), #ffffff09);border:1px solid rgba(var(--accent-color-rgb),.18);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;display:flex}.leaderboardNotice strong{color:#ffffffe6;font-size:14px}.leaderboardNotice em{color:var(--muted-text);font-size:12px;font-style:normal;font-weight:700}#leaderboardPanel{border-color:var(--settings-border-strong)}#leaderboardTitle{margin-bottom:12px}.leaderboardRankingRow{color:#fff;border-top:1px solid #fff1;grid-template-columns:72px minmax(0,1fr) 140px 130px;align-items:center;gap:12px;min-height:48px;padding:0 14px;display:grid}.leaderboardRankingRow.local{border-color:rgba(var(--accent-color-rgb),.45);background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.18), transparent 46%), rgba(var(--accent-color-rgb),.065);box-shadow:inset 3px 0 0 var(--accent-color), inset -3px 0 0 rgba(var(--accent-color-rgb),.55);position:relative}.leaderboardRankingRow.local:before,.leaderboardRankingRow.local:after{content:"";background:var(--accent-color);width:1px;box-shadow:0 0 14px rgba(var(--accent-color-rgb),.65);position:absolute;top:8px;bottom:8px}.leaderboardRankingRow.local:before{left:0}.leaderboardRankingRow.local:after{right:0}.settingsGroup,.settingsDanger{border:1px solid #ffffff12;border-radius:12px;margin:0;padding:16px}.settingsGroup legend,.settingsDanger h3{color:#fff;margin:0 0 12px;padding:0;font-size:18px;font-weight:700}.backgroundPreviewGroup{overflow:hidden}.backgroundPreviewGrid{display:grid}.backgroundPreviewCard{color:#f2f2f2;cursor:pointer;min-width:0;box-shadow:none;box-sizing:border-box;flex-direction:column;gap:8px;margin:0;display:flex;overflow:hidden}.backgroundPreviewCard:hover,.backgroundPreviewCard:focus-visible{border-color:rgba(var(--accent-color-rgb),.34);background:rgba(var(--accent-color-rgb),.08);outline:none}.backgroundPreviewCard.selected{border-color:var(--accent-color);background:rgba(var(--accent-color-rgb),.1);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.24), 0 0 16px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .42))}.backgroundPreviewCardPlaceholder:hover,.backgroundPreviewCardPlaceholder:focus-visible{background:var(--control-bg);box-shadow:none;border-color:#ffffff14;outline:none}.backgroundPreviewSurface{position:relative;overflow:hidden}.backgroundPreviewLabel{text-align:center;min-height:16px;line-height:1.25;display:block}.preview-neon-grid{box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.1);background:#090d11;position:relative}.preview-neon-grid:before{content:"";background:linear-gradient(rgba(var(--accent-color-rgb),.38) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-color-rgb),.38) 1px, transparent 1px);opacity:1;background-repeat:repeat,repeat;background-size:18px 18px,18px 18px;position:absolute;inset:0}.preview-minimal-dots{box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.08);background:#101112;position:relative}.preview-minimal-dots:before{content:"";background:radial-gradient(circle, rgba(var(--accent-color-rgb),.88) 1.3px, transparent 2px);opacity:1;background-repeat:repeat;background-size:13px 13px;position:absolute;inset:0}.customColorField{align-items:center;display:flex;position:relative}.customColorPickerButton{border:1px solid rgba(var(--accent-color-rgb),.5);background:var(--control-bg);cursor:pointer;box-sizing:border-box;box-shadow:0 0 16px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .35));border-radius:999px;flex:none;justify-content:center;align-items:center;margin:0;padding:0;display:flex;position:relative}.customColorPickerButton:hover,.customColorPickerButton:focus,.customColorPickerButton:focus-within{border-color:var(--accent-color);box-shadow:0 0 0 3px rgba(var(--accent-color-rgb),.16), 0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .65));outline:none}.customColorPickerButton.is-active{border-color:var(--accent-color);background:rgba(var(--accent-color-rgb),.12);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.34), 0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .7))}.customColorField input[type=text]{color:#fff;min-width:0;font:inherit;box-sizing:border-box;border:1px solid #ffffff1c;outline:none;flex:1;padding:11px 12px}.customColorField input[type=text]:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px rgba(var(--accent-color-rgb),.18)}.customColorField input[type=text].invalid{border-color:#ff5f5f;box-shadow:0 0 0 3px #ff5f5f24}.customColorPreview{background:var(--custom-picker-color);border-radius:999px;display:block;box-shadow:inset 0 0 0 1px #0003,0 0 0 1px #ffffff29}.customColorResetButton{color:var(--muted-text);box-shadow:none;border:1px solid #ffffff1a;flex:none;justify-content:center;align-items:center;margin:0;padding:0;line-height:0;display:inline-flex}.resetIcon{fill:none;stroke:currentColor;stroke-width:2.1px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.customColorResetButton:hover,.customColorResetButton:focus-visible{color:#fff;border-color:var(--accent-color);background:rgba(var(--accent-color-rgb),.1);box-shadow:0 0 0 3px rgba(var(--accent-color-rgb),.14);outline:none}.customColorPopover{z-index:70;border:1px solid rgba(var(--accent-color-rgb),.44);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.08), transparent 46%), var(--panel-bg);width:min(380px,100vw - 32px);min-width:min(100%,320px);box-shadow:0 18px 46px #0000006b, 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .42));box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--accent-color) transparent;pointer-events:auto;border-radius:14px;padding:20px;position:absolute;top:calc(100% + 8px);left:0;overflow:auto}.customColorPopover::-webkit-scrollbar{width:8px}.customColorPopover::-webkit-scrollbar-track{background:0 0}.customColorPopover::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:999px}.customColorPopover.openAbove{top:auto;bottom:calc(100% + 8px)}.customColorPopover[hidden]{display:none}.customPickerHeader{color:#fff;grid-template-columns:32px 1fr 34px;align-items:center;gap:10px;margin-bottom:12px;font-size:14px;font-weight:700;display:grid}.customPickerPreview{background:var(--custom-picker-color);border:1px solid #ffffff2e;border-radius:9px;width:30px;height:30px;box-shadow:inset 0 0 0 1px #0000002e}.customPickerCloseButton{color:#ecf4ffeb;width:34px;min-width:34px;height:34px;min-height:34px;text-shadow:0 0 6px rgba(var(--accent-color-rgb),.34), 0 0 14px rgba(var(--accent-color-rgb),.18);border-radius:0;justify-content:center;align-items:center;margin:-20px 0 0;padding:0;font-size:32px;font-weight:300;line-height:32px;transition:none;display:flex;position:relative;right:-10px;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.customPickerCloseButton:hover,.customPickerCloseButton:focus-visible{color:#fff;text-shadow:0 0 8px rgba(var(--accent-color-rgb),.55), 0 0 18px rgba(var(--accent-color-rgb),.32);outline:none;box-shadow:none!important;background:0 0!important;border-color:#0000!important}.customColorSpectrum{background:linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, transparent), var(--picker-hue-color,#3380b3);cursor:crosshair;touch-action:none;box-sizing:border-box;border:0;border-radius:12px;width:100%;height:144px;margin:0 0 12px;padding:0;position:relative;overflow:hidden;box-shadow:0 0 0 1px #ffffff1f}.customColorSpectrum:hover,.customColorSpectrum:focus-visible{box-shadow:0 0 0 1px var(--accent-color), 0 0 0 3px rgba(var(--accent-color-rgb),.14);outline:none}.customColorSpectrumHandle{--handle-x:1;--handle-y:0;left:clamp(10px, calc(var(--handle-x) * 100%), calc(100% - 10px));top:clamp(10px, calc(var(--handle-y) * 100%), calc(100% - 10px));background:var(--custom-picker-color);pointer-events:none;border:2px solid #fff;border-radius:999px;width:18px;height:18px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #000000b3,0 0 12px #00000059}.customHueControl,.customPickerInputs label{color:var(--muted-text);flex-direction:column;gap:5px;margin:0;font-size:13px;display:flex}.customHueControl{grid-template-columns:38px minmax(0,1fr);align-items:center;margin-bottom:12px;display:grid}.customHueControl input[type=range]{appearance:none;cursor:pointer;touch-action:none;background:linear-gradient(90deg,#ff3030,#ffff2e,#35ff35,#32ffff,#44f,#ff35ff,#ff3030);border:1px solid #ffffff24;border-radius:999px;width:100%;height:14px;margin:0;box-shadow:inset 0 0 0 1px #00000029}.customHueControl input[type=range]::-webkit-slider-runnable-track{background:0 0;border-radius:999px;height:12px}.customHueControl input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--custom-picker-color);border:2px solid #fff;border-radius:999px;width:18px;height:18px;margin-top:-3px;box-shadow:0 0 0 1px #0000009e,0 0 10px #00000057}.customHueControl input[type=range]::-moz-range-track{background:0 0;border-radius:999px;height:12px}.customHueControl input[type=range]::-moz-range-thumb{background:var(--custom-picker-color);border:2px solid #fff;border-radius:999px;width:16px;height:16px;box-shadow:0 0 0 1px #0000009e,0 0 10px #00000057}.customPickerInputs{flex-direction:column;gap:10px;display:flex}.customPickerInputs>label{grid-template-columns:34px minmax(0,1fr);align-items:center;gap:6px;display:grid}.customPickerRgbInputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.customPickerRgbInputs label{min-width:0}.customPickerRgbInputs input{text-align:center;min-width:0}.customPickerCompare{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px;display:grid}.customPickerCompareCard{background:#0d141f6b;border:1px solid #ffffff12;border-radius:10px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:6px 10px;padding:8px 10px;display:grid}.customPickerCompareCard>span:first-child{color:#dce6f39e;letter-spacing:.03em;text-transform:uppercase;grid-column:1/-1;font-size:10px;font-weight:600}.customPickerCompareCardActive{background:#0d141f8f;border-color:#ffffff1a}.customPickerCompareSwatch{background:var(--custom-picker-color);border:1px solid #ffffff1f;border-radius:9px;width:28px;height:28px;box-shadow:inset 0 0 0 1px #0003}.customPickerCompareCard strong{color:#f5f8ffe6;overflow-wrap:anywhere;font-size:13px;font-weight:650;line-height:1.15}.customColorPopover input[type=text],.customColorPopover input[type=number]{background:var(--control-bg);color:#fff;width:100%;font:inherit;box-sizing:border-box;border:1px solid #ffffff1f;border-radius:10px;outline:none;padding:8px 10px}.customColorPopover input[type=number]{appearance:textfield}.customColorPopover input[type=number]::-webkit-outer-spin-button,.customColorPopover input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.customPickerActions{align-items:stretch;gap:10px;margin-top:12px;display:flex}.customPickerConfirmButton{background:var(--control-bg);color:#f2f6fd;height:42px;min-height:42px;font:inherit;box-shadow:none;box-sizing:border-box;border:1px solid #ffffff1f;border-radius:10px;flex:1;justify-content:center;align-items:center;margin:0;padding:9px 16px;font-weight:700;display:inline-flex}.customPickerConfirmButton:disabled{opacity:.6;cursor:default;box-shadow:none;color:#f2f6fd99}.customPickerResetIconButton{box-sizing:border-box;justify-content:center;align-self:stretch;align-items:center;padding:0;line-height:0;display:inline-flex;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}.customPickerResetIconButton .resetIcon{width:18px;height:18px;margin:0;transform:translateY(-1px)}.customColorPopover input[type=text]:focus,.customHueControl input[type=range]:focus-visible,.customPickerConfirmButton:hover,.customPickerConfirmButton:focus-visible,.customPickerResetIconButton:hover,.customPickerResetIconButton:focus-visible{border-color:var(--accent-color);box-shadow:0 0 0 3px rgba(var(--accent-color-rgb),.16);outline:none}.customPickerConfirmButton:hover:not(:disabled),.customPickerConfirmButton:focus-visible:not(:disabled){color:#fff;background:rgba(var(--accent-color-rgb),.08);box-shadow:0 0 0 3px rgba(var(--accent-color-rgb),.16), 0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .24))}.settingsHint{line-height:1.4}.settingsSwatch{border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 1px #ffffff2e}.customColorPickerButton .customColorPreview{border-radius:999px;width:26px;height:26px}.settingsDanger p,#settingsConfirmArea p{color:#cfcfcf;margin:0 0 12px;line-height:1.45}#resetLocalDataButton,#confirmResetButton{background:#8f2d2d}#settingsConfirmArea{margin-top:0}.settingsConfirmActions{flex-wrap:wrap}.settingsConfirmActions button{margin-top:0;padding:11px 16px;font-size:15px}html.reduced-motion,body.reduced-motion{scroll-behavior:auto!important}#screenFeedback{z-index:45;pointer-events:none;opacity:0;box-sizing:border-box;border-radius:0;position:fixed;inset:0}#screenFeedback.screenFeedback.correct,#screenFeedback.screenFeedback.wrong{will-change:opacity}#screenFeedback.screenFeedback.correct{background:radial-gradient(circle at 50% 50%, rgba(var(--accent-color-rgb),.13), transparent 34%), linear-gradient(180deg, #ffffff09, transparent 42%);box-shadow:inset 0 0 0 0 rgba(var(--accent-color-rgb),0);animation:.34s ease-out screenFeedbackSuccess}#screenFeedback.screenFeedback.wrong{background:radial-gradient(circle,#ff5f5f1c,#0000 36%),linear-gradient(#ff5f5f0e,#0000 46%);animation:.3s ease-out screenFeedbackError}.lifeHeart{color:var(--accent-color);width:1.22em;height:1.22em;text-shadow:0 0 12px var(--accent-color);filter:drop-shadow(0 0 9px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.15)));vertical-align:-.16em;justify-content:center;align-items:center;margin:0 2px;font-size:1.24em;line-height:1;display:inline-flex}.lifeHeart svg{fill:currentColor;width:100%;height:100%;display:block}@keyframes screenFeedbackFade{0%{opacity:0}24%{opacity:1}to{opacity:0}}@keyframes screenFeedbackSuccess{0%{opacity:0;box-shadow:inset 0 0 0 0 rgba(var(--accent-color-rgb),0)}34%{opacity:.78;box-shadow:inset 0 0 0 2px rgba(var(--accent-color-rgb),.24)}to{opacity:0;box-shadow:inset 0 0 0 10px rgba(var(--accent-color-rgb),0)}}@keyframes screenFeedbackError{0%{opacity:0;box-shadow:inset 0 0 #ff5f5f00}36%{opacity:.72;box-shadow:inset 0 0 0 2px #ff5f5f38}to{opacity:0;box-shadow:inset 0 0 0 8px #ff5f5f00}}#grid{contain:layout;gap:12px;margin-top:20px;display:grid}#advancedAnswerStack{display:contents}#game.chimpGame #grid{margin-top:0}#game.sequenceGame,#game.chimpGame{box-sizing:border-box;justify-content:center;width:100%;min-height:calc(100vh - 56px)}#game.sequenceGame #scoreText,#game.chimpGame #scoreText,#game.sequenceGame #advancedPatterns,#game.sequenceGame #targetPattern,#game.chimpGame #advancedPatterns,#game.chimpGame #targetPattern,#game.sequenceGame #continueButton,#game.chimpGame #continueButton,#game.sequenceGame #replayPatternButton,#game.chimpGame #replayPatternButton,#game.sequenceGame #checkButton,#game.chimpGame #checkButton{display:none!important}#game.sequenceGame #countdown,#game.chimpGame #countdown{height:0;min-height:0;margin:0;display:none}#game.sequenceGame #result,#game.chimpGame #result{display:none}.cell{cursor:pointer;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;contain:layout paint;width:80px;height:80px;transition:background-color calc(var(--motion-duration-fast) / 2) var(--motion-easing-standard), transform calc(var(--motion-duration-fast) / 2) var(--motion-easing-standard), box-shadow calc(var(--motion-duration-medium) * 4 / 9) var(--motion-easing-standard);background:#333;border-radius:8px}.cell.chimpCell{border-radius:16px;justify-content:center;align-items:center;width:100px;height:100px;font-size:clamp(42px,9vw,58px);font-weight:700;line-height:1;display:flex}.cell.chimpCell span{color:#fff;opacity:0;transition:none}.cell.chimpCell.showing span{opacity:1}.cell.chimpCell.cleared{background:var(--accent-color);cursor:default}.cell.chimpCell:active{transform:scale(.96)}.cell.dead{cursor:default;background:#171717;box-shadow:inset 0 0 0 1px #ffffff08}.active{background:var(--accent-color);box-shadow:0 0 22px rgba(var(--accent-color-rgb),var(--glow-intensity))}#countdown{height:50px}#levelText,#livesText{letter-spacing:0;margin:0;line-height:1;position:static}.gameHud{z-index:4;-webkit-backdrop-filter:blur(18px)saturate(115%);color:#f4f8ff;background:linear-gradient(#ffffff06,#ffffff03),#0f1216d6;border:1px solid #ffffff14;border-radius:20px;flex-direction:column;gap:18px;width:min(284px,100vw - 40px);padding:18px 20px 16px;display:none;position:fixed;top:20px;left:20px;overflow:hidden;box-shadow:0 18px 42px #00000057,inset 0 1px #ffffff08}.gameHudContent{flex-direction:column;gap:18px;display:flex}.gameHudTop{grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);align-items:start;gap:18px;display:grid}.gameHudSection{flex-direction:column;gap:8px;min-width:0;display:flex}.gameHudLabel{color:#f4f8ff8a;letter-spacing:.04em;overflow-wrap:anywhere;word-break:break-all;font-size:18px;font-weight:800;line-height:1;overflow:hidden}#levelText{color:#f4f8ff;font-size:64px;font-weight:900}#levelText .chimpLevelMain,#levelText .chimpLevelPhase{display:inline-block}#levelText .chimpLevelPhase{color:#f4f8ff8a;vertical-align:baseline;margin-left:.12em;font-size:.34em;font-weight:800;line-height:1}#livesText{color:#f4f8ff;justify-content:flex-start;align-items:center;gap:6px;min-height:64px;display:flex}#livesText .lifeHeart{width:1.34em;height:1.34em;margin:0;font-size:1.42em}.gameHudDivider{background:#ffffff1f;border-radius:999px;align-self:stretch;width:1px;box-shadow:0 0 0 1px #0000001f}#backToHubButton{color:#f4f8ffd6;width:100%;min-width:0;height:38px;box-shadow:none;letter-spacing:0;cursor:pointer;-webkit-tap-highlight-color:transparent;overflow-wrap:anywhere;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:12px;justify-content:center;align-items:center;margin:0;padding:0 16px;font-size:14px;font-weight:800;line-height:1;transition:background-color .15s,border-color .15s,transform .15s;display:flex}#backToHubButton:hover{background:#ffffff13;border-color:#ffffff24}#backToHubButton:active{transform:translateY(1px)}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{border-radius:20px;top:auto;bottom:22px;left:50%}#game.advancedGame .gameHudContent,#game.sequenceAdvancedGame .gameHudContent,#game.chimpAdvancedGame .gameHudContent{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"top button";align-items:center}#game.advancedGame .gameHudDivider,#game.sequenceAdvancedGame .gameHudDivider,#game.chimpAdvancedGame .gameHudDivider{display:none}#game.advancedGame #backToHubButton,#game.sequenceAdvancedGame #backToHubButton,#game.chimpAdvancedGame #backToHubButton{border-radius:14px;padding:0 18px;font-size:16px}#game.advancedGame #levelText,#game.sequenceAdvancedGame #levelText,#game.chimpAdvancedGame #levelText{font-size:52px;transform:translate(2px)}#game.advancedGame #livesText,#game.sequenceAdvancedGame #livesText,#game.chimpAdvancedGame #livesText{gap:8px;min-height:52px;transform:translate(-4px)}#game.advancedGame #livesText .lifeHeart,#game.sequenceAdvancedGame #livesText .lifeHeart,#game.chimpAdvancedGame #livesText .lifeHeart{width:1.18em;height:1.18em}#game.visualMemoryGame{box-sizing:border-box;justify-content:center;width:100%;min-height:calc(100vh - 56px)}#game.advancedGame{box-sizing:border-box;justify-content:flex-start;align-items:center;gap:20px;width:100%;min-height:calc(100vh - 56px);padding:24px 42px 120px;position:relative}#game.visualMemoryGame #countdown,#game.visualMemoryGame #advancedPatterns,#game.visualMemoryGame #targetPattern,#game.visualMemoryGame #continueButton,#game.visualMemoryGame #replayPatternButton,#game.visualMemoryGame #checkButton{display:none!important}#game.visualMemoryGame #grid{margin-top:0}#game.visualMemoryGame #result{display:none}#game.advancedGame #advancedPatterns{left:50%;top:var(--advanced-preview-top,clamp(176px, 25vh, 316px))}#game.advancedGame .patternCell{border-radius:8px}#game.advancedGame #targetPattern{font-size:clamp(24px,2.5vw,34px);display:none}#game.advancedGame #continueButton,#game.advancedGame #checkButton{min-width:148px;padding:0 24px;left:50%}#game.advancedGame #continueButton{top:clamp(560px,64vh,700px)}#game.advancedGame #grid{left:50%;top:var(--advanced-answer-grid-top,clamp(294px, 40vh, 444px));margin:0;position:absolute;transform:translate(-50%)}#game.advancedGame.advancedAnswerPhase #targetPattern{left:50%;top:var(--advanced-answer-target-top,clamp(206px, 28vh, 304px));margin:0;display:block;position:absolute;transform:translate(-50%)}#game.advancedGame.advancedAnswerPhase #grid{top:var(--advanced-answer-grid-top,clamp(262px, 35vh, 404px))}#game.advancedGame.advancedAnswerPhase #checkButton{top:clamp(556px,64vh,700px)}.memoryTimerLine{z-index:4;pointer-events:none;background:#ffffff29;border-radius:999px;height:2px;position:fixed;left:50%;overflow:hidden;transform:translate(-50%)}.memoryTimerLine span{border-radius:inherit;transform-origin:0;background:#ffffffdb;width:100%;height:100%;transition-property:transform;transition-timing-function:linear;display:block}#grid.runOverOverlay{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-height:100%;margin:0;padding:20px;display:flex}.runOverCard{box-sizing:border-box;background:linear-gradient(#ffffff06,#ffffff03),#0f1216eb;border:1px solid #ffffff17;border-radius:24px;flex-direction:column;width:min(520px,100vw - 40px);padding:24px 26px 22px;display:flex;box-shadow:0 26px 60px #00000061,inset 0 1px #ffffff08}.runOverHeader{color:#f4f8ff8f;letter-spacing:.34em;text-transform:uppercase;align-items:center;gap:14px;font-size:14px;font-weight:700;display:flex}.runOverHeaderIcon{width:28px;height:28px;color:var(--accent-color);filter:drop-shadow(0 0 12px rgba(var(--accent-color-rgb),.18));flex:none}.runOverHeaderRule{background:linear-gradient(90deg,#0000,#ffffff1a,#0000);width:100%;height:1px;margin:18px 0 0}.runOverTitle{color:#f4f8ff;text-align:center;margin:30px 0 0;font-size:clamp(42px,5vw,60px);font-weight:400;line-height:1.05}.runOverValue{color:var(--accent-color);text-align:center;text-shadow:0 0 24px rgba(var(--accent-color-rgb),.18);margin-top:10px;font-size:clamp(74px,10vw,118px);font-weight:700;line-height:.94}.runOverProgressValue{justify-content:center;align-items:baseline;gap:.08em;display:flex}.runOverProgressPhase{color:#f4f8ff8f;letter-spacing:0;text-shadow:none;font-size:.3em;font-weight:800;line-height:1}.runOverMetricLabelRow{align-items:center;gap:14px;margin-top:24px;display:flex}.runOverMetricRule{background:#ffffff14;flex:1;height:1px}.runOverMetricLabel{color:#f4f8ff8f;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;font-size:13px;font-weight:700}.runOverBestMetric{background:#ffffff09;border:1px solid #ffffff0f;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;margin-top:22px;padding:14px 16px;display:flex;box-shadow:inset 0 1px #ffffff05}.runOverBestLabel{color:#f4f8ff8f;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:10px;min-width:0;font-size:13px;font-weight:700;display:flex}.runOverBestLabel:before{content:"";box-sizing:border-box;width:22px;height:22px;filter:drop-shadow(0 0 6px rgba(var(--accent-color-rgb),.22));background:url(Assets/Icons/More/BestLevelICON.svg) 50%/contain no-repeat;flex:none}.runOverBestValue{color:var(--accent-color);font-size:24px;font-weight:700;line-height:1}.runOverBestValue.runOverProgressValue{justify-content:flex-end;gap:.12em;display:inline-flex}.runOverBestValue .runOverProgressPhase{font-size:.62em}.runOverActions{flex-direction:column;gap:12px;margin-top:24px;display:flex}.runOverButton{width:100%;min-height:62px;box-shadow:none;color:#f4f8ff;letter-spacing:0;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:16px;justify-content:center;align-items:center;gap:12px;margin:0;padding:0 20px;font-size:18px;font-weight:700;line-height:1;display:flex}.runOverButtonPrimary{border-color:rgba(var(--accent-color-rgb),.52);background:linear-gradient(180deg, #ffffff14, #ffffff05), var(--accent-color);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.08), 0 16px 28px rgba(var(--accent-color-rgb),.18)}.runOverButtonSecondary{color:#f4f8ffe6}.runOverButtonIcon{flex:none;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.runOverButtonIcon svg{fill:currentColor;width:100%;height:100%;display:block}.runOverButtonIcon img{object-fit:contain;width:100%;height:100%;display:block}.runOverButtonLabel{min-width:0}#grid.advancedLifeLossScreen{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:min(90vw,420px);min-height:300px;margin:0;display:flex}.advancedLifeLossScreen{box-sizing:border-box;background:#12161cf0;border:1px solid #ffffff14;border-radius:20px;padding:28px;box-shadow:0 22px 46px #0000004d}.advancedLifeLossScreen h2{margin:0 0 8px;font-size:clamp(34px,5vw,54px);line-height:1.05}.advancedLifeLossScreen p{color:#e8e8e8;margin:0;font-size:20px}.advancedLifeLossScreen button{margin-top:18px}.gameOverActions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:12px;display:flex}.gameOverActions button{min-width:138px;margin-top:0}#game.sequenceGame .cell{width:112px;height:112px}#game.sequenceGame .cell.sequenceCell{border-radius:16px}#game.sequenceGame .cell.sequenceSimpleActive{background:var(--accent-color);box-shadow:none;transform:scale(1.02)}#game.gameOverMode{box-sizing:border-box;z-index:15;justify-content:center;align-items:center;margin:0;display:flex;position:fixed;inset:0}.cardBottom{align-items:center;width:100%;margin-top:auto;display:flex}.cardBottom h2{margin:0}.cardIcon{box-sizing:border-box;flex:1;justify-content:center;align-items:center;width:100%;display:flex}.gameIconMount{min-height:0}.gameIconMount[data-game-icon=visual],.gameIconMount[data-game-icon=sequence],.gameIconMount[data-game-icon=chimp]{--hub-game-icon-size:min(100%, clamp(88px, 13vw, 200px))}.gameIconMount[data-game-icon=visualAdvanced],.gameIconMount[data-game-icon=sequenceAdvanced],.gameIconMount[data-game-icon=chimpAdvanced]{--hub-game-icon-size:min(100%, clamp(100px, 14.5vw, 240px))}.gameIconMount .assetGameIcon{flex:none;display:block;width:var(--hub-game-icon-size)!important;height:var(--hub-game-icon-size)!important;filter:none!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;box-shadow:none!important;transform:none!important}.assetGameIcon{aspect-ratio:1;color:rgba(var(--accent-color-rgb),.88);filter:drop-shadow(0 0 12px rgba(var(--accent-color-rgb),.22)) drop-shadow(0 0 22px rgba(var(--accent-color-rgb),.12));display:block;overflow:hidden}.assetGameIcon-visual,.assetGameIcon-sequence,.assetGameIcon-chimp{filter:none}.patternLetter{font-family:Arial,sans-serif!important}#gameModalIcon .gameModalTinyIcon{justify-content:center;align-items:center;width:min(360px,100%);height:360px;display:flex;overflow:hidden;transform:none}#gameModalIcon .gameModalTinyIcon .assetGameIcon{width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;transform:none!important}#gameModalIcon .gameModalTinyIcon svg{flex:none!important;width:100%!important;height:100%!important;display:block!important}@media (width<=640px) and (orientation:portrait){#gameModalIcon .gameModalTinyIcon{width:clamp(118px,36dvh,144px);height:clamp(118px,36dvh,144px)}}.cell.pressed{box-shadow:none;background:#2a2a2a;transform:scale(.97)}#advancedPatterns{justify-content:center;align-items:flex-start;gap:32px;min-height:120px;display:flex}.advancedGamePattern{flex-direction:column;align-items:center;gap:10px;display:flex}.patternLetter{font-size:32px;font-weight:700}.patternGrid{gap:6px;display:grid}.patternCell{background:#333;border-radius:6px;width:45px;height:45px}.patternActive{background:var(--accent-color)}.sequenceAdvancedGrid{box-sizing:border-box;grid-template-rows:repeat(5,1fr);grid-template-columns:repeat(10,1fr);gap:clamp(8px,1.35vw,18px);width:min(100vw - 84px,1180px);height:min(70vh,590px);margin-top:0;padding:clamp(8px,2vh,22px) 0;display:grid}.sequenceAdvancedCell{opacity:1;cursor:default;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;contain:layout paint;background:0 0;border:1px solid #0000;border-radius:10px;min-width:0;min-height:0;transition:none}.sequenceAdvancedCell:nth-child(10n+2),.sequenceAdvancedCell:nth-child(10n+4),.sequenceAdvancedCell:nth-child(10n+6),.sequenceAdvancedCell:nth-child(10n+8),.sequenceAdvancedCell:nth-child(10n+10){transform:translateY(clamp(7px,1.8vh,18px))}.sequenceAdvancedCell.visible{opacity:1;box-shadow:0 0 0 rgba(var(--accent-color-rgb),0)}.sequenceAdvancedCell.replayActive,.cell.replayActive{background:var(--accent-color);opacity:1;box-shadow:none;transform:translateY(-2px)}.sequenceAdvancedCell.replayActive{outline-offset:2px;outline:2px solid #ffffffe6}.sequenceAdvancedCell:nth-child(10n+2).replayActive,.sequenceAdvancedCell:nth-child(10n+4).replayActive,.sequenceAdvancedCell:nth-child(10n+6).replayActive,.sequenceAdvancedCell:nth-child(10n+8).replayActive,.sequenceAdvancedCell:nth-child(10n+10).replayActive{transform:translateY(clamp(7px,1.8vh,18px))}body.reduced-motion .sequenceAdvancedCell.replayActive{box-shadow:none;filter:none;outline:2px solid #fffffff2}#game.sequenceAdvancedGame,#game.chimpAdvancedGame{box-sizing:border-box;justify-content:flex-start;width:100%;min-height:calc(100vh - 56px)}#game.sequenceAdvancedGame{justify-content:center;min-height:100vh;padding:24px 42px 96px}#game.sequenceAdvancedGame #countdown,#game.sequenceAdvancedGame #advancedPatterns,#game.sequenceAdvancedGame #targetPattern,#game.chimpAdvancedGame #countdown,#game.chimpAdvancedGame #advancedPatterns,#game.chimpAdvancedGame #targetPattern,#game.sequenceAdvancedGame #result{height:0;min-height:0;margin:0;display:none}#replayPatternButton{margin-top:34px}#game.sequenceAdvancedGame #replayPatternButton{order:1;margin-top:50px}#game.sequenceAdvancedGame .sequenceAdvancedGrid{margin-top:-250px}#game.chimpAdvancedGame{padding:58px 150px 28px}#game.chimpAdvancedGame #continueButton{z-index:6;order:2;position:fixed;top:calc(52% + 112px);left:50%;transform:translate(-50%)}#game.chimpAdvancedGame #result{order:1}.chimpAdvancedGrid{aspect-ratio:2;grid-template-rows:repeat(5,1fr);grid-template-columns:repeat(10,1fr);gap:18px;width:min(100vw - 300px,1180px,150vh);height:auto;margin-top:0;display:grid}.chimpAdvancedCell{cursor:default;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;contain:layout paint;min-width:0;min-height:0;transition:background-color calc(var(--motion-duration-fast) / 2) var(--motion-easing-standard), transform calc(var(--motion-duration-fast) / 2) var(--motion-easing-standard), box-shadow calc(var(--motion-duration-medium) * 4 / 9) var(--motion-easing-standard);background:0 0;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;font-size:clamp(30px,3.8vw,54px);font-weight:700;line-height:1;display:flex}.chimpAdvancedCell.visible,.sequenceAdvancedCell.visible{background:var(--accent-color);border-color:rgba(var(--accent-color-rgb),.2);cursor:pointer}.chimpAdvancedCell.hiddenNumber span{opacity:0}.chimpAdvancedCell span{opacity:1}#game:not(.chimpAdvancedGame):not(.numberMemoryGame):not(.wordMemoryGame) #result:not(:empty){text-align:center;z-index:5;pointer-events:none;width:min(90vw,640px);min-height:0;margin:0;font-size:clamp(28px,4vw,48px);font-weight:700;position:fixed;top:52%;left:50%;transform:translate(-50%,-50%)}#game.memoryFocusGame{z-index:4;background:0 0;width:100vw;min-height:100dvh;max-height:100dvh;padding:0;position:fixed;inset:0;overflow:hidden}#game.memoryFocusGame .gameHud,#game.memoryFocusGame #scoreText,#game.memoryFocusGame #livesText,#game.memoryFocusGame #countdown,#game.memoryFocusGame #advancedPatterns,#game.memoryFocusGame #continueButton,#game.memoryFocusGame #replayPatternButton,#game.memoryFocusGame #checkButton,#game.memoryFocusGame #result,#game.memoryFocusGame #grid,#game.memoryFocusGame #targetPattern{display:none!important}.memoryFocusShell{z-index:12;padding:28px 40px calc(34px + env(safe-area-inset-bottom));box-sizing:border-box;pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:fixed;inset:0}.memoryFocusShell[hidden]{display:none!important}.memoryFocusTop{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.memoryFocusBackButton,.memoryFocusStatCard{-webkit-backdrop-filter:blur(14px);background:linear-gradient(#0e1118e0,#0a0c11e6);border:1px solid #b0c6e026;border-radius:18px;height:108px;box-shadow:inset 0 0 0 1px #ffffff05,0 18px 42px #00000042}.memoryFocusBackButton{color:#f4f8ff;letter-spacing:.015em;pointer-events:auto;cursor:pointer;justify-content:center;align-items:center;gap:14px;width:min(176px,16vw);padding:0 12px;font-size:18px;font-weight:500;display:flex}.memoryFocusBackButton:hover{border-color:rgba(var(--accent-color-rgb),.4)}.memoryFocusBackIcon{color:#f4f8ff;place-items:center;width:32px;height:32px;display:grid}.memoryFocusBackIcon svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.memoryFocusBackLabel{white-space:nowrap;text-align:center}.memoryFocusStats{align-items:stretch;gap:14px;display:flex}.memoryFocusStatCard{box-sizing:border-box;pointer-events:auto;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);align-items:center;row-gap:8px;min-width:0;padding:12px 18px 14px;display:grid}.memoryFocusLivesCard{width:224px;color:var(--accent-color)}.memoryFocusScoreCard{width:176px}.memoryFocusStatLabel{color:#eff4ff8f;letter-spacing:.08em;text-transform:uppercase;font-size:14px;font-weight:500;line-height:1}.memoryFocusHearts{justify-content:flex-start;align-items:center;gap:14px;display:flex}.memoryFocusHearts .lifeHeart{color:currentColor;filter:none;width:40px;height:40px}.memoryFocusHearts .lifeHeart svg{fill:currentColor;stroke:none}.memoryFocusStatValue{color:#f8fbff;text-shadow:0 0 18px #ffffff1a;place-self:center end;font-size:42px;font-weight:500;line-height:.92}.memoryFocusCenter{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:108px;min-height:0;padding:44px 0 0;display:flex}.memoryFocusPanel{width:min(860px,100vw - 180px);min-height:min(50vh,580px);box-shadow:none;box-sizing:border-box;pointer-events:auto;transition:border-color calc(var(--motion-duration-fast) * 1.25) var(--motion-easing-standard), box-shadow calc(var(--motion-duration-fast) * 1.25) var(--motion-easing-standard), transform calc(var(--motion-duration-fast) * 1.25) var(--motion-easing-standard);background:0 0;border:0;flex-direction:column;justify-content:center;gap:34px;padding:72px 92px 60px;display:flex}.memoryFocusPanelBody{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.memoryFocusPanelFooter{flex-direction:column;gap:12px;display:flex}.memoryFocusDisplay{color:#fbfdff;text-align:center;transition:color calc(var(--motion-duration-medium) * 8 / 9) var(--motion-easing-standard), transform calc(var(--motion-duration-medium) * 8 / 9) var(--motion-easing-standard);line-height:.88}.memoryFocusDisplay-number{font-family:var(--app-font);letter-spacing:-.05em;font-size:clamp(88px,10vw,140px);font-weight:720}.memoryFocusDisplay-word{letter-spacing:-.04em;overflow-wrap:anywhere;text-transform:uppercase;width:100%;margin-top:12px;font-size:clamp(64px,7vw,126px);font-weight:520;line-height:.96}.memoryFocusShell[data-feedback=correct] .memoryFocusDisplay-word{color:#61d98c}.memoryFocusShell[data-feedback=wrong] .memoryFocusDisplay-word{color:#ff6f7b}.memoryFocusMeter{background:#5a647657;border-radius:999px;width:min(100%,360px);height:10px;position:relative;overflow:hidden;box-shadow:inset 0 1px 2px #00000070}.numberMemoryMeter{margin:-48px auto 0}.memoryFocusMeterFill{border-radius:inherit;transform-origin:0;contain:paint;will-change:transform;background:linear-gradient(90deg,#1f8be9 0%,#2fa1ff 100%);width:100%;height:100%;box-shadow:0 0 18px #2fa1ff57,inset 0 0 0 1px #ffffff14}.memoryFocusInputWrap{justify-content:center;align-items:center;width:100%;display:flex}.numberMemoryInputCard{--number-memory-card-padding-block:18px;--number-memory-card-padding-inline:28px;width:min(100%,760px);max-width:100%;min-height:104px;padding:var(--number-memory-card-padding-block) var(--number-memory-card-padding-inline);box-sizing:border-box;background:linear-gradient(#0e1118e6,#0a0c11db);border:1px solid #b0c6e024;border-radius:24px;justify-content:center;align-items:center;display:flex;box-shadow:inset 0 0 0 1px #ffffff05,0 18px 42px #00000042}.numberMemoryStageCard{flex:none;position:relative}.numberMemoryStageValue{--number-memory-answer-min-font-size:44px;font-family:var(--app-font);color:#fbfdff;text-align:center;width:100%;min-width:0;max-width:100%;height:auto;min-height:1.08em;font-size:var(--number-memory-answer-font-size,clamp(64px, 8vw, 112px));letter-spacing:-.02em;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;box-sizing:border-box;background:0 0;border:0;padding:0;font-weight:720;line-height:1.08;display:block}.memoryFocusAnswerInput{resize:none;caret-color:#2fa1ff;outline:none;overflow:hidden}.numberMemoryDisplayCard .numberMemoryStageValue{color:#fbfdff;text-align:center}.numberMemorySizingMirror{z-index:-1;left:var(--number-memory-card-padding-inline);right:var(--number-memory-card-padding-inline);top:var(--number-memory-card-padding-block);visibility:hidden;pointer-events:none;width:auto;height:auto;min-height:0;position:absolute}.numberMemoryInputCard .numberMemorySizingMirror{width:auto}@media (width>=901px){.memoryFocusShell[data-mode=number] .memoryFocusPanel{width:min(1120px,100vw - 96px);max-width:100%;padding-inline:0}}.numberMemoryInputCard .memoryFocusAnswerInput{transform:none}.memoryFocusActions{justify-content:center;align-items:center;gap:6px;width:100%;display:flex}.memoryFocusChoiceButton{color:#edf4ff;letter-spacing:.22em;text-transform:uppercase;background:linear-gradient(#0f121aeb,#0a0d12e0);border:1px solid #adc0d629;border-radius:18px;flex:none;width:180px;min-height:74px;margin:0;padding-inline:12px;font-size:20px;font-weight:500;box-shadow:inset 0 0 0 1px #ffffff05}.memoryFocusChoiceButton:hover{border-color:rgba(var(--accent-color-rgb),.48);color:#fff}.numberMemoryActionRow{justify-content:center;display:flex}.numberMemoryPrimaryButton{letter-spacing:.14em;min-width:148px;max-width:188px;min-height:52px;font-size:14px}.memoryFocusCaptionRow{justify-content:center;align-items:center;gap:24px;width:min(640px,100vw - 72px);margin-top:136px;display:flex}.memoryFocusCaptionRule{background:linear-gradient(90deg, rgba(var(--accent-color-rgb),0), rgba(var(--accent-color-rgb),.44), rgba(var(--accent-color-rgb),0));flex:1;max-width:148px;height:1px}.memoryFocusCaption{color:#ffffff75;letter-spacing:.34em;text-transform:uppercase;text-align:center;margin:0;font-size:18px;font-weight:500}.memoryFocusCaptionRow[hidden]{display:none!important}@media (width<=1100px) and (orientation:portrait){body{box-sizing:border-box;justify-content:flex-start;padding:18px 18px 28px;overflow:hidden auto}#mainMenu{margin-top:76px;padding-bottom:18px}#leaderboardButton,#streakButton,#statsButton,#settingsButton{border-radius:13px;width:clamp(50px,5.4vw,58px);height:clamp(50px,5.4vw,58px);font-size:clamp(17px,2vw,19px);top:clamp(12px,2.4vw,22px)}#leaderboardButton{width:clamp(50px,5.4vw,58px);min-width:clamp(50px,5.4vw,58px);left:clamp(12px,2.4vw,22px)}#streakButton{width:clamp(98px,9.5vw,108px);min-width:clamp(98px,9.5vw,108px);font-size:clamp(15px,1.9vw,17px);right:calc(clamp(12px,2.4vw,22px) + 2*clamp(50px,5.4vw,58px) + 32px)}#statsButton{right:calc(clamp(12px,2.4vw,22px) + clamp(50px,5.4vw,58px) + 16px)}#settingsButton{right:clamp(12px,2.4vw,22px)}#statsOverlay,#leaderboardOverlay,#settingsOverlay,#streakOverlay,#gameModalOverlay{align-items:flex-start;padding:14px}#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel{border-radius:14px;width:100%;max-height:calc(100vh - 28px);padding:24px 16px 18px}#statsTitle,#leaderboardTitle,#settingsTitle,#streakTitle,#gameModalTitle{margin-bottom:18px;font-size:28px}#gameModalTitle{margin:0 38px}#gameModalIcon{min-height:40px;margin-top:8px}#gameModalDescription{max-width:300px;font-size:16px}#statsCards{gap:18px}#statsTitle{text-align:center;width:100%;padding:0 92px}.statsSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.statsGameCard{grid-template-columns:minmax(220px,1fr) repeat(2,minmax(110px,.55fr));gap:12px}.statsGameStat:nth-child(4){border-left-color:#0000}.backgroundPreviewGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.backgroundPreviewCard{min-height:104px}.backgroundPreviewSurface{min-height:62px}.customColorField{grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;display:grid}.customColorPopover{width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}#classicCard,#sequenceCard,#chimpCard,#numberCard,#advancedCard,#sequenceAdvancedCard,#chimpAdvancedCard,#verbalCard{grid-area:auto}.modeCard{width:100%;max-width:none;padding-top:clamp(12px,1.7vh,18px)}#title{z-index:19;text-align:center;white-space:nowrap;text-overflow:ellipsis;width:max-content;max-width:min(46vw,420px);margin:0;font-size:clamp(30px,4.4vw,48px);line-height:1;position:fixed;top:clamp(14px,2.4vw,23px);left:50%;overflow:hidden;transform:translate(-50%)}.cardBottom h2{padding:6px 8px}.sequenceAdvancedGrid{gap:8px;width:min(100%,680px);height:min(68vh,520px)}#game.sequenceAdvancedGame,#game.chimpAdvancedGame{min-height:calc(100vh - 36px);padding:82px 14px 24px}#game.sequenceAdvancedGame{min-height:100vh;padding:18px 14px 84px}.chimpAdvancedGrid{gap:8px;width:min(100%,680px,136vh);height:auto}.chimpAdvancedCell{border-radius:9px}}@media (width<=520px) and (orientation:portrait){body{padding:12px 12px 24px}#title{max-width:calc(100vw - 24px);font-size:clamp(26px,8vw,34px);top:60px}#leaderboardButton,#streakButton,#statsButton,#settingsButton{width:48px;min-width:48px;height:48px;padding:0;top:12px}#leaderboardButton{left:12px}#streakButton{white-space:nowrap;width:88px;min-width:88px;right:102px;overflow:hidden}#statsButton{right:57px}#settingsButton{right:12px}#mainMenu{gap:12px;width:min(100%,380px);margin-top:92px}.modeCard{border-radius:12px;height:clamp(156px,24vh,178px)}.cardBottom h2{font-size:14px}}@media (width<=360px){.backgroundPreviewGrid{grid-template-columns:1fr}}@media (width<=640px) and (orientation:portrait){html,body{-webkit-text-size-adjust:none;text-size-adjust:none;width:100%;min-height:100dvh;max-height:100dvh}body{overscroll-behavior:none;padding:calc(22px + env(safe-area-inset-top)) 14px calc(96px + env(safe-area-inset-bottom));justify-content:flex-start;align-items:stretch;overflow:hidden}body:after{content:none}body.mobileHubActions:after{content:"";z-index:18;height:calc(78px + env(safe-area-inset-bottom));pointer-events:none;background:#1c1c1cfa;border-top:1px solid #ffffff14;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -12px 26px #0000003d}#leaderboardButton,#streakButton,#statsButton,#settingsButton,#mobileActionsToggle{z-index:20;border-color:rgba(var(--accent-color-rgb),.84);background:#101010;width:56px;min-width:56px;font-size:22px}#leaderboardButton,#streakButton,#statsButton,#settingsButton{width:72px;min-width:72px;max-width:72px;padding:0}#streakButton .streakText{display:flex}#leaderboardButton,#streakButton,#statsButton{opacity:1;pointer-events:auto;transition:opacity .18s,transform .18s,box-shadow .18s,background-color .18s;transform:none}body.mobileActionsOpen #leaderboardButton,body.mobileActionsOpen #streakButton,body.mobileActionsOpen #statsButton{opacity:1;pointer-events:auto;transform:none}body.mobileActionsOpen #streakButton:not(.active){opacity:.78}#title{top:calc(24px + env(safe-area-inset-top));z-index:19;text-align:center;white-space:nowrap;text-overflow:clip;width:max-content;max-width:calc(100vw - 28px);margin:0;line-height:.94;position:fixed;left:50%;right:auto;overflow:hidden;transform:translate(-50%)}button,.modeCard,.cell,.sequenceAdvancedCell,.chimpAdvancedCell,.backgroundPreviewCard,.customColorPickerButton,.customPickerCloseButton,.customPickerConfirmButton,.customColorResetButton{touch-action:manipulation;-webkit-user-select:none;user-select:none}.cell,.sequenceAdvancedCell,.chimpAdvancedCell{box-shadow:none;will-change:auto;transition:none!important}.active,.sequenceAdvancedCell.replayActive,.chimpAdvancedCell.visible,.chimpAdvancedCell.hiddenNumber{box-shadow:none!important}button:hover,button:focus-visible,#leaderboardButton:hover,#streakButton:hover,#statsButton:hover,#settingsButton:hover,#mobileActionsToggle:hover,.customColorPickerButton:hover,.customColorResetButton:hover,.customPickerCloseButton:hover,.customPickerConfirmButton:hover{box-shadow:none}#classicCard,#sequenceCard,#chimpCard,#numberCard,#advancedCard,#sequenceAdvancedCard,#chimpAdvancedCard,#verbalCard{grid-area:auto}.modeCard{flex-direction:column;align-items:center;padding-top:clamp(9px,1.4dvh,14px)}body.density-compact #mainMenu{height:calc(100dvh - 224px - env(safe-area-inset-top) - env(safe-area-inset-bottom));gap:12px;margin-top:36px;padding-left:0;padding-right:0}body.density-compact .modeCard{height:100%;min-height:0;padding-top:8px}body.density-compact .cardBottom{min-height:46px}body.density-compact .cardBottom h2{font-size:clamp(12px,3.55vw,15px)}.modeCard:hover{transform:none}.cardIcon{flex:auto;width:100%;height:auto;min-height:0;overflow:hidden}.cardBottom{box-sizing:border-box;flex:none;justify-content:center;width:100%;margin-top:0;overflow:hidden}.cardBottom h2{text-align:center;overflow-wrap:normal;word-break:normal;hyphens:none;width:100%;padding:0}#game{width:100%;min-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:calc(132px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom));box-sizing:border-box;justify-content:center;align-items:center;overflow:hidden}#game.visualMemoryGame,#game.advancedGame,#game.sequenceGame,#game.chimpGame,#game.numberMemoryGame:not(.memoryFocusGame),#game.wordMemoryGame:not(.memoryFocusGame){width:100%;min-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:calc(218px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom));justify-content:center}#game.chimpGame{padding-top:calc(248px + env(safe-area-inset-top))}#game.numberMemoryGame:not(.memoryFocusGame),#game.wordMemoryGame:not(.memoryFocusGame){padding:calc(44px + env(safe-area-inset-top)) 12px calc(28px + env(safe-area-inset-bottom))}#game.memoryFocusGame{min-height:100dvh;max-height:100dvh}.memoryFocusShell{padding:calc(10px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))}.memoryFocusTop{flex-direction:column;align-items:stretch;gap:10px}.memoryFocusBackButton{border-radius:16px;width:100%;height:96px;padding:0 16px;font-size:16px}.memoryFocusBackIcon{width:28px;height:28px}.memoryFocusStats{gap:10px}.memoryFocusStatCard{border-radius:16px;height:96px;padding:10px 14px 12px}.memoryFocusLivesCard,.memoryFocusScoreCard{width:auto}.memoryFocusStatLabel{font-size:12px}.memoryFocusHearts{gap:10px}.memoryFocusHearts .lifeHeart{width:30px;height:30px}.memoryFocusStatValue{font-size:34px}.memoryFocusCenter{justify-content:flex-start;gap:68px;padding-top:20px}.memoryFocusPanel{gap:22px;width:100%;min-height:min(46vh,500px);padding:34px 18px 22px}.memoryFocusDisplay-number{font-size:clamp(76px,18vw,108px)}.memoryFocusDisplay-word{margin-top:8px;font-size:clamp(48px,10vw,76px)}.memoryFocusMeter{width:min(100%,280px);height:8px}.numberMemoryMeter{margin-top:-34px}.numberMemoryStageValue{--number-memory-answer-min-font-size:28px;width:100%;font-size:var(--number-memory-answer-font-size,clamp(54px, 14vw, 88px))}.numberMemoryInputCard .memoryFocusAnswerInput{transform:none}.numberMemoryInputCard{--number-memory-card-padding-block:14px;--number-memory-card-padding-inline:18px;width:100%;min-height:88px;padding:var(--number-memory-card-padding-block) var(--number-memory-card-padding-inline);border-radius:18px}.memoryFocusActions{gap:4px}.memoryFocusChoiceButton{letter-spacing:.18em;border-radius:15px;width:140px;min-height:62px;padding-inline:10px;font-size:16px}.numberMemoryPrimaryButton{min-width:148px;min-height:52px;font-size:14px}.memoryFocusCaptionRow{gap:14px;width:min(100%,480px);margin-top:102px}.memoryFocusCaption{letter-spacing:.24em;font-size:13px}.memoryFocusCaptionRule{max-width:92px}.gameHud{gap:14px}.gameHudTop{gap:12px}.gameHudLabel{font-size:13px}#levelText{font-size:clamp(42px,12vw,58px)}#livesText{gap:4px;min-height:44px}#livesText .lifeHeart{width:1.22em;height:1.22em;font-size:1.22em}#backToHubButton{height:32px;font-size:13px}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{border-radius:14px;padding:14px 14px 12px}#game.advancedGame .gameHudContent,#game.sequenceAdvancedGame .gameHudContent,#game.chimpAdvancedGame .gameHudContent,#game.advancedGame .gameHudTop,#game.sequenceAdvancedGame .gameHudTop,#game.chimpAdvancedGame .gameHudTop{gap:14px}#game.advancedGame .gameHudLabel,#game.sequenceAdvancedGame .gameHudLabel,#game.chimpAdvancedGame .gameHudLabel{font-size:12px}#game.advancedGame #levelText,#game.sequenceAdvancedGame #levelText,#game.chimpAdvancedGame #levelText{font-size:clamp(36px,11vw,46px);transform:translate(2px)}#game.advancedGame #livesText,#game.sequenceAdvancedGame #livesText,#game.chimpAdvancedGame #livesText{gap:5px;min-height:38px;transform:translate(-3px)}#game.advancedGame #livesText .lifeHeart,#game.sequenceAdvancedGame #livesText .lifeHeart,#game.chimpAdvancedGame #livesText .lifeHeart{width:1.12em;height:1.12em}#game.advancedGame #backToHubButton,#game.sequenceAdvancedGame #backToHubButton,#game.chimpAdvancedGame #backToHubButton{width:min(160px,34vw);height:38px;padding:0 14px;font-size:13px}#grid{max-inline-size:calc(100vw - 24px)}.cell{border-radius:8px}.cell.chimpCell,#game.sequenceGame .cell.sequenceCell{border-radius:13px}#advancedPatterns{flex-wrap:wrap;gap:14px;width:100%;max-width:360px;min-height:0;margin:0 auto 4px}.advancedGamePattern{gap:6px}.patternLetter{font-size:26px}#targetPattern{text-align:center;max-width:100%;margin:10px 0 0;font-size:22px;line-height:1.12}button{border-radius:11px;min-height:44px;margin-top:16px;padding:12px 20px;font-size:16px}#checkButton,#continueButton,#replayPatternButton{white-space:normal;max-width:100%}#game.sequenceAdvancedGame,#game.chimpAdvancedGame{width:100%;min-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:calc(54px + env(safe-area-inset-top)) 12px calc(130px + env(safe-area-inset-bottom));justify-content:center;overflow:hidden}.sequenceAdvancedGrid,.chimpAdvancedGrid{width:min(100%,360px);height:min(calc(100dvh - 248px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 620px);aspect-ratio:auto;grid-template-rows:repeat(10,minmax(0,1fr));grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 auto;padding:0;display:grid}#game.chimpAdvancedGame{padding:calc(30px + env(safe-area-inset-top)) 12px calc(72px + env(safe-area-inset-bottom))}.chimpAdvancedGrid{aspect-ratio:1/2;gap:clamp(7px,1.4vw,12px);width:min(100vw - 24px,340px);height:auto;margin-top:0;margin-bottom:8px}.sequenceAdvancedCell,.sequenceAdvancedCell:nth-child(10n+2),.sequenceAdvancedCell:nth-child(10n+4),.sequenceAdvancedCell:nth-child(10n+6),.sequenceAdvancedCell:nth-child(10n+8),.sequenceAdvancedCell:nth-child(10n+10){border-radius:8px;transform:none}.sequenceAdvancedCell.replayActive,.sequenceAdvancedCell:nth-child(10n+2).replayActive,.sequenceAdvancedCell:nth-child(10n+4).replayActive,.sequenceAdvancedCell:nth-child(10n+6).replayActive,.sequenceAdvancedCell:nth-child(10n+8).replayActive,.sequenceAdvancedCell:nth-child(10n+10).replayActive{transform:none}.chimpAdvancedCell{border-radius:8px;font-size:clamp(26px,8.8vw,46px)}#game.sequenceAdvancedGame #replayPatternButton{left:50%;bottom:calc(64px + env(safe-area-inset-bottom));z-index:6;width:min(220px,100vw - 64px);min-width:0;margin:0;position:fixed;transform:translate(-50%)}#game.chimpAdvancedGame #continueButton{top:auto;bottom:calc(22px + env(safe-area-inset-bottom))}.runOverCard{border-radius:16px;width:calc(100vw - 24px);padding:20px 16px 18px}#grid.advancedLifeLossScreen{width:calc(100vw - 24px);min-height:260px}.advancedLifeLossScreen{border-radius:16px;padding:22px 16px}.advancedLifeLossScreen h2{font-size:clamp(30px,10vw,42px)}.advancedLifeLossScreen p{font-size:18px}.runOverHeader{letter-spacing:.22em;gap:10px;font-size:12px}.runOverHeaderIcon{width:24px;height:24px}.runOverTitle{margin-top:24px;font-size:clamp(30px,10vw,42px)}.runOverValue{font-size:clamp(60px,16vw,88px)}.runOverBestMetric{border-radius:14px;margin-top:18px;padding:12px 14px}.runOverBestLabel,.runOverMetricLabel{font-size:12px}.runOverBestValue{font-size:20px}.runOverButton{border-radius:14px;min-height:54px;font-size:16px}.runOverActions{gap:10px;margin-top:18px}.gameOverActions{gap:10px;width:100%}.gameOverActions button{flex:1;min-width:130px}#statsOverlay,#leaderboardOverlay,#settingsOverlay,#streakOverlay,#gameModalOverlay{padding:calc(16px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom));align-items:center}#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel{overscroll-behavior:contain;border-radius:14px;width:min(430px,100vw - 28px);max-height:min(68dvh,600px);padding:18px 14px 16px;font-size:14px;overflow:auto;box-shadow:0 14px 36px #00000061}#statsPanel{max-height:min(82dvh,720px)}#leaderboardPanel{width:min(460px,100vw - 28px);max-height:min(72dvh,640px)}#gameModalPanel{width:min(100%,360px);min-height:0;max-height:calc(100dvh - 44px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:20px;padding:16px 14px 18px;font-size:14px;overflow:hidden}#statsTitle,#leaderboardTitle,#settingsTitle,#streakTitle{text-align:left;overflow-wrap:normal;width:calc(100% - 104px);min-height:38px;margin-bottom:14px;padding:0;line-height:1.05;font-size:clamp(23px,5.8vw,28px)!important}#statsTitle{padding:0 92px}#statsCloseButton,#leaderboardCloseButton,#settingsCloseButton,#streakCloseButton{color:#ecf4ffe0;width:38px;min-width:38px;height:38px;min-height:38px;box-shadow:none;background:0 0;border:0;border-radius:0;font-family:Arial,sans-serif;font-size:24px;top:12px;right:12px}#gameModalCloseButton{color:#ecf4ffeb;width:34px;min-width:34px;height:34px;min-height:34px;box-shadow:none;background:0 0;border:0;border-radius:0;font-size:30px;line-height:30px;top:16px;right:16px}.utilityFullscreenButton{background:var(--control-bg);width:38px;min-width:38px;height:38px;min-height:38px;box-shadow:none;border-radius:10px;font-family:Arial,sans-serif;font-size:18px;display:flex;top:12px;right:56px}#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel,.statsCard,.statsSummaryCard,.statsGameCard,.backgroundPreviewCard,.settingsGroup,.settingsDanger{contain:layout paint}#statsCards{gap:16px}.statsTabs{border-radius:11px;width:100%}.statsTab{gap:6px;min-height:38px;padding:0 8px;font-size:clamp(12px,3.2vw,14px)!important}.statsTabIcon{font-size:13px}.statsTabPanel{gap:20px}.statsSummaryGrid{grid-template-columns:1fr;gap:10px}.statsSummaryCard{border-radius:12px;gap:10px;min-height:126px;padding:15px}.statsSummaryLabel{font-size:14px}.statsSummaryIcon{border-radius:8px;width:30px;height:30px}.statsSummaryCard strong{font-size:clamp(31px,11vw,44px)}.statsGameSection{gap:10px}.statsSectionHeader h3{font-size:20px}.statsGameList{gap:9px}.statsGameCard{border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;min-height:0;padding:12px}.statsGameIdentity{grid-column:1/-1;gap:10px}.statsGameIdentity h4{overflow-wrap:normal;font-size:15px}.statsGameIcon{border-radius:10px;width:48px;height:48px}.statsGameStat{background:#ffffff09;border-left:0;border-radius:10px;min-height:54px;padding:9px 10px}.statsGameStat span{white-space:normal;font-size:12px}.statsGameStat strong{font-size:18px}.statsGameListCompact .statsGameToday{display:none}.settingsGroup legend,.settingsDanger h3{line-height:1.1;font-size:clamp(16px,4.4vw,19px)!important}.settingsGroup,.settingsDanger{border-radius:10px;padding:12px}.backgroundPreviewCard.selected{box-shadow:none}.backgroundPreviewGrid{gap:8px}.backgroundPreviewCard{min-height:92px;padding:7px}.backgroundPreviewSurface{min-height:54px}#gameModalTitle{max-width:290px;margin:10px 24px 14px;font-size:clamp(24px,7.2vw,36px);line-height:1.04}#gameModalIcon{min-height:40px;margin-top:2px;overflow:hidden}#gameModalDescription{max-width:min(100%,320px);margin-top:0;font-size:clamp(15px,4.2vw,19px);line-height:1.42}#gameModalStartButton{border-radius:20px;min-width:min(100%,190px);min-height:54px;margin-top:auto;padding:0 20px;font-size:clamp(18px,5.8vw,24px)}.customPickerCompare{grid-template-columns:1fr}#screenFeedback.screenFeedback.correct{background:radial-gradient(circle at 50% 48%, rgba(var(--accent-color-rgb),.1), transparent 38%), linear-gradient(180deg, #ffffff06, transparent 44%);animation:.26s ease-out screenFeedbackSuccessMobile}#screenFeedback.screenFeedback.wrong{background:radial-gradient(circle at 50% 48%,#ff5f5f17,#0000 40%),linear-gradient(#ff5f5f09,#0000 48%);animation:.24s ease-out screenFeedbackErrorMobile}.lifeHeart{text-shadow:none;filter:none}.active{box-shadow:none}}@keyframes screenFeedbackSuccessMobile{0%{opacity:0;box-shadow:inset 0 0 0 0 rgba(var(--accent-color-rgb),0)}42%{opacity:.54;box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.2)}to{opacity:0;box-shadow:inset 0 0 0 6px rgba(var(--accent-color-rgb),0)}}@keyframes screenFeedbackErrorMobile{0%{opacity:0;box-shadow:inset 0 0 #ff5f5f00}42%{opacity:.5;box-shadow:inset 0 0 0 1px #ff5f5f2e}to{opacity:0;box-shadow:inset 0 0 0 5px #ff5f5f00}}@media (width<=360px) and (orientation:portrait){.modeCard{height:100%;min-height:0}.cardBottom{padding:0 12px}.cardBottom h2{font-size:clamp(12px,3.75vw,14px)}.sequenceAdvancedGrid,.chimpAdvancedGrid{gap:5px}}@media (width>=641px) and (width<=760px) and (orientation:portrait){html,body{-webkit-text-size-adjust:none;text-size-adjust:none}#title{text-overflow:clip;max-width:calc(100vw - 150px);left:50%;overflow:hidden;transform:translate(-50%);font-size:clamp(24px,5vw,34px)!important}.cardBottom h2{line-height:1.08;font-size:clamp(14px,2.65vw,18px)!important}#statsTitle,#leaderboardTitle,#settingsTitle,#streakTitle{text-align:left;overflow-wrap:normal;width:calc(100% - 112px);min-height:40px;padding:0;line-height:1.05;font-size:clamp(28px,5vw,36px)!important}#statsTitle{text-align:center;width:100%;padding:0 104px}.utilityFullscreenButton{width:40px;min-width:40px;height:40px;min-height:40px;box-shadow:none;display:flex;top:14px;right:62px}#statsCloseButton,#leaderboardCloseButton,#settingsCloseButton,#streakCloseButton{width:40px;min-width:40px;height:40px;min-height:40px;box-shadow:none;top:14px;right:14px}.settingsGroup legend,.settingsDanger h3{line-height:1.1;font-size:clamp(18px,3.6vw,24px)!important}}@media (width<=1100px) and (orientation:landscape){body{padding:calc(14px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom));justify-content:flex-start;overflow:hidden auto}#title{top:calc(12px + env(safe-area-inset-top));z-index:19;max-width:min(52vw,520px);margin:0;font-size:clamp(30px,4.2vw,44px);position:fixed;left:50%;transform:translate(-50%)}#leaderboardButton,#streakButton,#statsButton,#settingsButton{top:calc(12px + env(safe-area-inset-top));border-radius:12px;width:52px;min-width:52px;height:52px;min-height:52px}#leaderboardButton{left:16px}#streakButton{right:166px}#statsButton{right:88px}#settingsButton{right:16px}#mainMenu{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:min(100%,1180px);max-width:none;margin-top:74px}.modeCard{height:clamp(178px,32vh,250px)}.cardBottom{min-height:52px}.cardBottom h2{font-size:clamp(14px,1.8vw,18px);line-height:1.06}#statsOverlay,#leaderboardOverlay,#settingsOverlay,#streakOverlay,#gameModalOverlay{align-items:center;padding:16px}#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}#settingsPanel{width:min(1120px,100vw - 32px)}#settingsContent{grid-template-columns:220px minmax(0,1fr);min-height:0}#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel{padding:22px}#game{width:100%;min-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:calc(104px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));box-sizing:border-box}#game.visualMemoryGame,#game.sequenceGame,#game.chimpGame{padding-top:calc(140px + env(safe-area-inset-top))}#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame{padding-top:calc(112px + env(safe-area-inset-top))}.gameHud{left:16px;top:calc(70px + env(safe-area-inset-top));width:min(420px,100vw - 32px)}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{width:min(420px,100vw - 32px);top:auto;bottom:16px;left:16px;transform:none}#grid{max-width:min(100%,720px);margin-top:0}}@media (width<=900px) and (orientation:landscape){#mainMenu{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,900px)}.modeCard{height:clamp(138px,24vh,188px)}.cardIcon{padding:0 8px 6px}.cardBottom{min-height:46px;padding:0 8px}.cardBottom h2{font-size:clamp(12px,1.9vw,16px)}#settingsContent{grid-template-columns:1fr}.settingsSidebar{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.settingsSideItem{min-height:68px;padding:12px 10px}.backgroundPreviewGrid,.settingsThemeGrid,.settingsTypographyGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsGeneralGrid,.settingsMasonry{grid-template-columns:1fr}.statsSummaryGrid,.statsAllGamesView .statsGameMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=740px) and (orientation:landscape){body{padding:calc(10px + env(safe-area-inset-top)) 12px calc(10px + env(safe-area-inset-bottom))}#title{top:calc(10px + env(safe-area-inset-top));font-size:clamp(22px,4vw,32px)}#leaderboardButton,#streakButton,#statsButton,#settingsButton{top:calc(10px + env(safe-area-inset-top));width:46px;min-width:46px;height:46px;min-height:46px}#streakButton{width:92px;min-width:92px}#mainMenu{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:60px}.modeCard{border-radius:12px;height:clamp(124px,24vh,160px)}.cardBottom{min-height:42px}.cardBottom h2{font-size:clamp(11px,2vw,14px)}#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel{width:min(100%,100vw - 20px);max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:12px;padding:16px 12px 14px}#statsTitle,#leaderboardTitle,#settingsTitle,#streakTitle,#gameModalTitle{padding:0 76px;font-size:clamp(20px,4.8vw,26px)!important}#game{padding:calc(92px + env(safe-area-inset-top)) 10px calc(12px + env(safe-area-inset-bottom))}#game.visualMemoryGame,#game.sequenceGame,#game.chimpGame,#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame{padding-top:calc(104px + env(safe-area-inset-top))}.gameHud{top:calc(56px + env(safe-area-inset-top));width:calc(100vw - 20px);padding:12px 12px 10px;left:10px}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{width:calc(100vw - 20px);bottom:10px;left:10px}#grid{max-width:100%}#advancedPatterns{gap:10px;max-width:100%}}@media (width<=640px) and (orientation:landscape){body{overflow:hidden auto}#mainMenu{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;height:auto;margin-top:54px}.modeCard{height:clamp(112px,22vh,140px);padding-top:10px}.cardIcon{padding:0 8px 4px}.cardBottom{min-height:40px}.cardBottom h2{font-size:clamp(10px,2.1vw,13px)}#settingsOverlay,#statsOverlay,#leaderboardOverlay,#streakOverlay,#gameModalOverlay{align-items:flex-start;padding:10px}#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#gameModalPanel{width:100%;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}#settingsContent{grid-template-columns:1fr}.settingsSidebar,.backgroundPreviewGrid,.settingsThemeGrid,.settingsTypographyGrid,.statsSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#game{padding:calc(84px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom))}#game.visualMemoryGame,#game.sequenceGame,#game.chimpGame{padding-top:calc(96px + env(safe-area-inset-top))}.gameHud{top:calc(50px + env(safe-area-inset-top));width:calc(100vw - 20px)}}#settingsOverlay{backdrop-filter:blur(5px)}#settingsPanel{border:1px solid rgba(var(--accent-color-rgb),.86);border-radius:14px}#settingsTitle{text-align:left;color:#f6f8fc;width:auto;padding:0;font-weight:800;font-size:34px!important}@media (width>=1101px){#settingsHeader{box-sizing:border-box}}#settingsContent{display:grid;position:relative}.settingsSidebar{border:1px solid #99b8db29;border-radius:10px;flex-direction:column;gap:12px;padding:16px}.settingsSideItem{color:#f5f8ff;text-align:left;min-height:82px;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:12px;margin:0;padding:16px 14px;display:grid}.settingsSideItem.selected{border-color:rgba(var(--accent-color-rgb),.84);background:linear-gradient(135deg, rgba(var(--accent-color-rgb),.26), #22344b75)}.settingsSideItem strong{margin:1px 0 6px;font-size:17px;font-weight:650;display:block}.settingsSideItem small{color:#b9c2d1;font-size:14px;line-height:1.35;display:block}.settingsSideIcon,.settingsSection h3 span,.settingsGroup legend span,.settingsFieldTitle span{flex:none;justify-content:center;align-items:center;display:inline-flex}.settingsSideIcon{width:30px;height:30px;color:var(--accent-color)}.settingsSideIcon svg,.settingsSection h3 svg,.settingsGroup legend svg,.settingsFieldTitle svg,#resetLocalDataButton svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.settingsSideIcon .assetIcon,.settingsSection h3 .assetIcon,.settingsGroup legend .assetIcon,.settingsFieldTitle .assetIcon{width:100%;height:100%}.settingsAutoSaveNote{color:#aeb8c8;background:#1723337a;border:1px solid #99b8db21;border-radius:8px;gap:12px;margin-top:auto;padding:14px 16px;font-size:14px;line-height:1.35;display:flex}.settingsAutoSaveNote span{background:var(--accent-color);color:#07111e;border-radius:50%;flex:none;place-items:center;width:17px;height:17px;margin-top:1px;font-size:12px;font-weight:900;display:grid}.settingsAutoSaveNote p{margin:0}.settingsDashboard{flex-direction:column;gap:12px;min-width:0;display:flex}.settingsSection{border:1px solid #8da9c926;border-radius:12px;padding:18px 20px 12px}.settingsSection h3{color:#4aa8ff;letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:12px;margin:0 0 16px;font-size:15px;font-weight:800;display:flex}.settingsSection h3 span{width:19px;height:19px}.settingsSection h3 .assetIcon{width:24px;height:24px}.settingsSection h3 .assetIcon:before,.settingsSection h3 .assetIcon:after{transform:scale(1.18)}.settingsGeneralGrid{gap:20px;display:grid}.settingsMasonry{gap:10px 14px;display:grid}.settingsGroup,.settingsDanger{background:#0c131ea8;border:1px solid #97b1cf21;border-radius:9px;padding:14px 16px}.settingsGroup legend,.settingsFieldTitle{color:#f3f7ff;align-items:center;gap:10px;margin:0 0 10px;padding:0;font-weight:750;line-height:1.2;display:flex;font-size:14px!important}.settingsGroup legend span,.settingsFieldTitle span{color:#b8c4d4;width:18px;height:18px}.settingsGroup legend .assetIcon,.settingsFieldTitle .assetIcon{width:22px;height:22px}.settingsGroup legend .assetIcon:before,.settingsGroup legend .assetIcon:after,.settingsFieldTitle .assetIcon:before,.settingsFieldTitle .assetIcon:after{transform:scale(1.14)}.settingsSegmentControl{grid-auto-columns:minmax(78px,1fr);grid-auto-flow:column;gap:7px;width:max-content;max-width:100%;display:grid}.settingsSegmentOption{color:#e7ecf5;cursor:pointer;box-sizing:border-box;border:1px solid #91abc824;border-radius:7px;justify-content:center;align-items:center;min-height:36px;padding:0 16px;font-size:15px;display:flex;position:relative}.settingsSegmentOption input,.settingsSwatchOption input{opacity:0;pointer-events:none;position:absolute}.settingsSegmentOption:before{content:"";box-sizing:border-box;border:2px solid #aeb8c5;border-radius:50%;width:18px;height:18px;margin-right:12px}.settingsSegmentOption:has(input:checked){border-color:var(--accent-color);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.26), #162536c2);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.26) inset}.settingsLanguageGroup{display:block}.settingsSelectShell{background:#0c121cb8;border:1px solid #97b1cf42;border-radius:8px;align-items:center;height:42px;display:flex;position:relative;overflow:hidden}.settingsLanguageFlag{place-items:center;width:48px;font-size:22px;display:grid}.settingsSelectShell:after{content:"⌄";color:#dce6f3;pointer-events:none;font-size:22px;position:absolute;top:50%;right:14px;transform:translateY(-56%)}.settingsSwatchRow{gap:18px;min-height:42px}.settingsSwatchOption{cursor:pointer;place-items:center;display:grid}.settingsSwatchOption span{background:var(--swatch-color);box-shadow:0 7px 18px #00000047,inset 0 0 0 1px #fff3}.settingsSwatchOption:has(input:checked){outline:2px solid var(--accent-color);box-shadow:0 0 18px rgba(var(--accent-color-rgb),.65)}.settingsAddColorButton{color:#c8d3e3;opacity:.8;width:36px;min-width:36px;height:36px;min-height:36px;box-shadow:none;background:#17202ecc;border:1px solid #9db5d147;border-radius:50%;place-items:center;margin:0;padding:0;display:grid}.customColorField{gap:12px}.customColorPickerButton{width:44px;height:44px}.customColorPreview{width:32px;height:32px}.customColorField input[type=text]{background:#0d141fc2;border-radius:7px;height:40px;font-size:16px}.customColorResetButton{background:#121b28c7;border-radius:8px;width:38px;height:38px}.settingsHint{color:#aeb8c8;margin:7px 0 0 64px;font-size:12px}.backgroundPreviewGroup{margin-top:10px}.backgroundPreviewGrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.backgroundPreviewCard{text-align:center;background:0 0;border:0;border-radius:7px;min-height:96px;padding:0}.backgroundPreviewCard.selected .backgroundPreviewSurface{border-color:var(--accent-color);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.25), 0 0 20px rgba(var(--accent-color-rgb),.48)}.backgroundPreviewCard.selected:after{content:"✓";background:var(--accent-color);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:20px;font-weight:900;display:grid;position:absolute;top:38px;right:10px;box-shadow:0 8px 16px #00000047}.backgroundPreviewLabel{color:#d9e0ec;margin-top:4px;font-size:13px;font-weight:500}.settingsDangerWrap{margin-top:10px;position:relative}.settingsDanger{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:72px;display:grid}.settingsDangerCopy{align-items:center;gap:18px;display:flex}.settingsDangerIcon{color:#3a050b;background:#ff4b5b;border-radius:6px;flex:none;place-items:center;width:26px;height:26px;font-weight:900;display:grid}.settingsDanger h3{letter-spacing:.04em;margin:0 0 8px;font-size:14px!important}.settingsDanger p,#settingsConfirmMessage p{color:#c7b7bd;margin:0;font-size:13px}#resetLocalDataButton{color:#fff;background:linear-gradient(#c8323c,#a8212b);border:1px solid #ff535be6;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-width:184px;min-height:45px;margin:0;padding:0 20px;font-size:15px;font-weight:800;display:inline-flex}#resetLocalDataButton[hidden]{display:none}#resetLocalDataButton svg{width:18px;height:18px}#settingsConfirmMessage{text-align:left;pointer-events:none;max-width:320px;position:absolute;bottom:calc(100% + 8px);right:0}#settingsConfirmMessage:empty{display:none}#settingsConfirmArea{justify-self:end}#settingsConfirmArea:empty{display:none}.settingsConfirmActions{align-items:center;gap:10px;display:flex}#settingsOverlay.fullscreen #settingsPanel{width:100%;height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}@media (width<=1100px){#settingsContent{min-height:0}.settingsSidebar{grid-template-columns:repeat(3,minmax(0,1fr));min-height:0}.settingsAutoSaveNote{display:none}.settingsGeneralGrid,.settingsMasonry{grid-template-columns:1fr}.backgroundPreviewGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=640px){#settingsTitle{margin:0 100px 16px 2px;font-size:28px!important}.settingsSidebar{padding:10px;display:flex}.settingsSideItem{min-height:64px;padding:12px}.settingsSection{padding:14px 12px}.settingsSegmentControl{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;width:100%}.settingsAccentGroup .settingsSwatchRow{flex-wrap:wrap;gap:10px}.backgroundPreviewGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsDanger{grid-template-columns:1fr}#resetLocalDataButton{width:100%}#settingsConfirmMessage{max-width:none;bottom:calc(100% + 8px);left:0;right:0}#settingsConfirmArea{justify-self:stretch}}body{--settings-overlay-scrim:#000000b8;--settings-panel-surface:var(--panel-bg);--settings-panel-glow:rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .82));--settings-sidebar-surface:#121212c2;--settings-section-surface:var(--card-bg);--settings-control-surface:var(--control-bg);--settings-control-surface-strong:#242424;--settings-border:#ffffff14;--settings-border-strong:rgba(var(--accent-color-rgb),.38);--settings-muted:var(--muted-text)}body.theme-soft{--settings-overlay-scrim:#00000094;--settings-panel-surface:#1d1d1d;--settings-sidebar-surface:#252525d1;--settings-section-surface:#252525;--settings-control-surface:#303030;--settings-control-surface-strong:#353535}body.theme-amoled{--settings-overlay-scrim:#000000db;--settings-panel-surface:#080808;--settings-sidebar-surface:#0a0a0ae6;--settings-section-surface:#111;--settings-control-surface:#171717;--settings-control-surface-strong:#202020;--settings-border:#ffffff0f}body.theme-glass{--settings-overlay-scrim:#0000008a;--settings-panel-surface:#151515c7;--settings-sidebar-surface:#1f1f1f7a;--settings-section-surface:#1f1f1f94;--settings-control-surface:#262626a8;--settings-control-surface-strong:#2d2d2db8;--settings-border:#ffffff24}body.theme-neon{--settings-overlay-scrim:#04060acc;--settings-panel-surface:#12151b;--settings-sidebar-surface:#191d25c7;--settings-section-surface:#191d25;--settings-control-surface:#202633;--settings-control-surface-strong:#26394a;--settings-panel-glow:rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.42))}body.theme-midnight{--settings-overlay-scrim:#03050cc7;--settings-panel-surface:#101421;--settings-sidebar-surface:#171b2ac7;--settings-section-surface:#171b2a;--settings-control-surface:#20263a;--settings-control-surface-strong:#26314f;--settings-border:#85b4ff24}#settingsOverlay{background:radial-gradient(circle at 50% -12%, rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .36)), transparent 36%), var(--settings-overlay-scrim);padding:24px}#statsOverlay,#leaderboardOverlay,#streakOverlay,#gameModalOverlay{background:radial-gradient(circle at 50% -12%, rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .36)), transparent 36%), var(--settings-overlay-scrim);backdrop-filter:blur(5px)}#settingsPanel{background:linear-gradient(180deg, #ffffff09, transparent 22%), var(--settings-panel-surface);border-color:var(--settings-border-strong);width:min(1480px,100vw - 48px);max-height:calc(100dvh - 48px);box-shadow:0 0 0 1px #ffffff0b inset, 0 0 32px var(--settings-panel-glow), 0 28px 86px #0000008a;padding:30px}#settingsContent{zoom:1;gap:26px}.settingsSidebar{background:linear-gradient(180deg, #ffffff06, transparent 30%), var(--settings-sidebar-surface);border-color:var(--settings-border)}.settingsSection{background:linear-gradient(180deg, #ffffff06, transparent 36%), var(--settings-section-surface);border-color:var(--settings-border)}.settingsGroup,.settingsDanger{background:var(--settings-control-surface);border-color:var(--settings-border)}.settingsSegmentOption{background:linear-gradient(180deg, #ffffff06, transparent 45%), var(--settings-control-surface-strong);border-color:var(--settings-border)}.settingsSelectShell,.customColorField input[type=text],.customColorResetButton,.settingsLanguagePopover{background:var(--settings-control-surface);border-color:var(--settings-border)}.settingsSideItem small,.settingsHint,.settingsAutoSaveNote{color:var(--settings-muted)}@media (width>=1001px){#settingsContent{zoom:1}}@media (width<=1100px){#settingsPanel{width:min(980px,100vw - 28px);max-height:calc(100dvh - 28px)}}@media (width<=640px){#settingsOverlay{padding:12px}#settingsPanel{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px 14px}}#settingsTitle{min-height:34px;margin:0 92px 18px 0}#settingsCloseButton,#settingsFullscreenButton{color:#ecf4ffe0;width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;text-shadow:none;filter:none;background:0 0;border:0;border-radius:0;line-height:1;top:14px}#settingsCloseButton{font-size:31px;right:8px}#settingsFullscreenButton{font-size:24px;right:46px}#settingsContent{align-items:start}.settingsSidebar{align-self:start;min-height:0}.settingsSidebarInner{gap:12px;min-height:100%}.settingsSideItem:hover,.settingsSideItem:focus-visible{border-color:rgba(var(--accent-color-rgb),.44);background:rgba(var(--accent-color-rgb),.08)}.settingsSection{scroll-margin-top:18px}.settingsGeneralGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsGeneralGrid .settingsLanguageGroup{grid-column:1/-1}.settingsMasonry{margin-bottom:14px}.settingsThemeGroup,.backgroundPreviewGroup,.settingsTypographyGroup{margin-top:14px}.settingsThemeGrid,.settingsTypographyGrid,.backgroundPreviewGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.themePreviewCard,.backgroundPreviewCard,.settingsTypographyOption{border:1px solid var(--settings-border);background:linear-gradient(180deg, #ffffff09, transparent 48%), var(--settings-control-surface-strong);color:#eef4ff;cursor:pointer;box-sizing:border-box;border-radius:8px;flex-direction:column;min-width:0;display:flex;position:relative}.themePreviewCard input,.settingsTypographyOption input{opacity:0;pointer-events:none;position:absolute}.themePreviewCard,.backgroundPreviewCard{text-align:center;min-height:0;box-shadow:none;gap:9px;padding:10px;overflow:visible}.themePreviewSurface{background:#111923;border:1px solid #93aecf33;border-radius:7px;grid-template-rows:1fr 1fr;grid-template-columns:1.1fr .9fr;gap:5px;min-height:74px;padding:8px;display:grid}.backgroundPreviewSurface{min-height:74px;box-shadow:none;background:#111923;border:1px solid #93aecf33;border-radius:7px;flex:none;padding:0;display:block}.themePreviewSurface span{background:#ffffff24;border-radius:5px;min-width:0}.themePreviewSurface span:first-child{background:linear-gradient(160deg, rgba(var(--accent-color-rgb),.84), rgba(var(--accent-color-rgb),.24));grid-row:1/-1}.themePreviewSurface span:nth-child(2){background:#fff3}.themePreviewSurface span:nth-child(3){background:#ffffff17}.themePreviewCard[data-theme-preview=soft] .themePreviewSurface{background:#252525}.themePreviewCard[data-theme-preview=amoled] .themePreviewSurface{background:#030303}.themePreviewCard[data-theme-preview=glass] .themePreviewSurface{backdrop-filter:blur(3px);background:linear-gradient(135deg,#ffffff38,#ffffff0a)}.themePreviewCard[data-theme-preview=neon] .themePreviewSurface{background:radial-gradient(circle at 20% 20%, rgba(var(--accent-color-rgb),.35), transparent 35%), #080d14}.themePreviewCard[data-theme-preview=midnight] .themePreviewSurface{background:#101421}.themePreviewLabel,.backgroundPreviewLabel{color:#d9e0ec;text-align:center;font-size:13px;font-weight:650;display:block}.themePreviewCard.selected,.themePreviewCard:has(input:checked),.backgroundPreviewCard.selected,.settingsTypographyOption.selected,.settingsTypographyOption:has(input:checked){border-color:var(--accent-color);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.24), 0 0 20px rgba(var(--accent-color-rgb),.38)}.themePreviewCard.selected .themePreviewSurface,.themePreviewCard:has(input:checked) .themePreviewSurface,.backgroundPreviewCard.selected .backgroundPreviewSurface{border-color:var(--accent-color)}.themePreviewCard.selected:after,.themePreviewCard:has(input:checked):after,.backgroundPreviewCard.selected:after{content:"✓";background:var(--accent-color);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;font-size:16px;font-weight:900;display:grid;position:absolute;top:9px;right:9px;box-shadow:0 8px 16px #00000047}.settingsTypographyGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.settingsTypographyOption{gap:6px;min-height:86px;padding:14px}.settingsTypographyName{color:#f5f8ff;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:800;overflow:hidden}.settingsTypographySample{color:#bfc9d8;font-size:18px;line-height:1.25;font-family:Arial,sans-serif!important}.settingsTypographyOption.fontPreviewReady .settingsTypographySample{font-family:var(--preview-font)!important}.backgroundPreviewCard{position:relative}.settingsDanger{background:linear-gradient(90deg,#78192261,#26121a99);border-color:#ff535bbd;margin-top:0}.settingsDanger h3{color:#ff636d}@media (width<=1100px){.settingsSidebar{z-index:2;position:sticky;top:0}.settingsSidebarInner{gap:10px}.settingsMasonry,.settingsGeneralGrid,.settingsThemeGrid,.settingsTypographyGrid,.backgroundPreviewGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){#settingsTitle{margin-right:92px}#settingsCloseButton,#settingsFullscreenButton{width:44px;min-width:44px;height:44px;min-height:44px;top:6px}#settingsCloseButton{right:6px}#settingsFullscreenButton{right:42px}.settingsSidebarInner,.settingsMasonry,.settingsGeneralGrid,.settingsThemeGrid,.settingsTypographyGrid,.backgroundPreviewGrid{grid-template-columns:1fr}}.settingsSegmentOption,.themePreviewCard,.backgroundPreviewCard,.settingsTypographyOption{background:var(--settings-control-surface-strong);box-shadow:none}.settingsSegmentOption:hover,.settingsSegmentOption:focus-visible,.themePreviewCard:hover,.themePreviewCard:focus-within,.backgroundPreviewCard:hover,.backgroundPreviewCard:focus-visible,.settingsTypographyOption:hover,.settingsTypographyOption:focus-within{border-color:rgba(var(--accent-color-rgb),.48);background:var(--settings-control-surface);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.12)}.backgroundPreviewCardPlaceholder{cursor:default}.backgroundPreviewCardPlaceholder:hover,.backgroundPreviewCardPlaceholder:active{border-color:var(--settings-border);background:var(--settings-control-surface-strong);box-shadow:none;transform:none}.backgroundPreviewCardPlaceholder:focus-visible{outline:2px solid var(--accent-color);outline-offset:2px}.settingsSegmentOption:has(input:checked),.themePreviewCard.selected,.themePreviewCard:has(input:checked),.backgroundPreviewCard.selected,.settingsTypographyOption.selected,.settingsTypographyOption:has(input:checked){background:rgba(var(--accent-color-rgb),.16);border-color:var(--accent-color);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.22)}.settingsMasonry{grid-template-columns:minmax(220px,1.1fr) minmax(104px,.48fr) minmax(104px,.48fr);align-items:stretch}.settingsAppearanceSection .customColorField{justify-content:start;align-items:center;min-height:44px;display:grid}.settingsAppearanceSection .customColorField>input[type=text]{opacity:0;pointer-events:none;border:0;width:1px;height:1px;margin:0;padding:0;position:absolute}.settingsAppearanceSection .customColorField .customColorPopover input[type=text]{opacity:1;pointer-events:auto;border:1px solid #ffffff1c;width:100%;height:auto;padding:8px 10px;position:static}.settingsAppearanceSection #customAccentColorMessage,.settingsAppearanceSection #customBackgroundColorMessage{display:none}.settingsLanguagePopover{border:1px solid rgba(var(--accent-color-rgb),.34);border-color:rgba(var(--accent-color-rgb),.34);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .22)), transparent 46%), var(--settings-panel-surface);border-radius:10px;flex-direction:column;gap:6px;display:flex;top:calc(100% + 8px);left:0}.settingsLanguagePicker{width:100%;display:block;position:relative}.settingsLanguagePopover[hidden]{display:none}.settingsLanguageOption{color:#f5f8ff;min-width:0;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;margin:0;padding:9px 12px;font-size:16px;display:flex}.settingsLanguageOption:hover,.settingsLanguageOption:focus-visible{background:rgba(var(--accent-color-rgb),.12);border-color:rgba(var(--accent-color-rgb),.34)}.settingsLanguageOption.selected{background:rgba(var(--accent-color-rgb),.2);border-color:rgba(var(--accent-color-rgb),.58);box-shadow:none}.settingsLanguageGroup .settingsSelectShell{border:1px solid var(--settings-border);background:var(--settings-control-surface);color:#f5f8ff;width:100%;height:42px;box-shadow:none;border-radius:8px;margin:0;padding:0 14px 0 12px}.settingsLanguageGroup .settingsSelectShell:hover,.settingsLanguageGroup .settingsSelectShell:focus-visible{border-color:rgba(var(--accent-color-rgb),.48);background:var(--settings-control-surface);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.12)}.settingsLanguageGroup .settingsSelectShell:after{display:none}.settingsLanguageName{text-align:left;flex:1;min-width:0}.settingsLanguageChevron{color:#dce6f3;margin-left:auto;transform:translateY(-4px)}.preview-default{background:radial-gradient(circle at 28% 24%, rgba(var(--background-detail-color-rgb),.25), transparent 34%), linear-gradient(135deg, #111827, #070b12)}@media (width<=1100px){.settingsMasonry{grid-template-columns:1fr 1fr}}@media (width<=640px){.settingsMasonry{grid-template-columns:1fr}}#settingsContent{grid-template-columns:250px minmax(0,1fr)}.settingsSidebar{position:sticky;top:0;display:block!important}.settingsSidebarInner{flex-direction:column;width:100%;display:flex}.settingsSideItem{width:100%;min-width:0}.settingsAppearanceSection .settingsMasonry{grid-template-columns:minmax(360px,1fr) 148px 148px;align-items:stretch;gap:14px}.settingsAppearanceSection .settingsGroup{min-width:0}.settingsAppearanceSection .settingsGroup legend,.settingsAppearanceSection .settingsFieldTitle{white-space:nowrap}.settingsAccentGroup{max-width:760px}.settingsAccentGroup .settingsSwatchRow{align-content:flex-start;gap:11px;max-width:100%}.settingsSwatchRow{flex-wrap:wrap;align-items:center;display:flex}.settingsSwatchOption{width:42px;min-width:42px;height:42px;min-height:42px;box-shadow:none;background:0 0;border:0;border-radius:999px;margin:0;padding:0;position:relative;overflow:hidden}.settingsSwatchOption span{border-radius:999px;width:34px;height:34px}.settingsSwatchOption.delete-mode:before{content:"";z-index:1;opacity:0;background:#ff3f4cb8;border-radius:999px;transition:opacity .14s;position:absolute;inset:4px}.settingsSwatchOption.delete-mode:after{content:"×";z-index:2;color:#fff;opacity:1;place-items:center;font-family:Arial,sans-serif;font-size:25px;font-weight:700;line-height:1;transition:opacity .14s;display:grid;position:absolute;inset:4px;transform:translateY(-1px)}.settingsSwatchOption.delete-mode:hover:before,.settingsSwatchOption.delete-mode:focus-visible:before{opacity:1}.settingsSwatchOption:hover,.settingsSwatchOption:focus-visible{background:rgba(var(--accent-color-rgb),.08);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.18)}.settingsAddColorButton,.settingsDeleteColorButton{color:#c8d3e3;width:36px;min-width:36px;height:36px;min-height:36px;box-shadow:none;background:#17202ecc;border:1px solid #9db5d147;border-radius:999px;place-items:center;margin:0;padding:0;display:grid}.settingsAddColorButton{font-size:25px}.settingsDeleteColorButton svg{fill:none;stroke:currentColor;stroke-width:2.35px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.settingsDeleteColorButton.active,.settingsDeleteColorButton:hover,.settingsDeleteColorButton:focus-visible{border-color:rgba(var(--accent-color-rgb),.56);background:rgba(var(--accent-color-rgb),.12);color:#fff}.settingsDeleteColorButton.active{color:#ff737c;background:#7819226b;border-color:#ff535bc7}.settingsSwatchOption.dragging{opacity:.45}.settingsSwatchOption.drag-over{outline:2px solid var(--accent-color);outline-offset:4px}.settingsAppearanceSection .customColorField{grid-template-columns:40px 34px;gap:10px}.settingsAppearanceSection .customColorPickerButton{width:40px;height:40px}.settingsAppearanceSection .customColorResetButton{width:34px;min-width:34px;height:34px;min-height:34px}@media (width<=1100px){.settingsSidebar{display:block!important}.settingsSideItem{grid-template-columns:28px minmax(0,1fr);min-height:72px;padding:12px 10px}.settingsSideItem strong,.settingsSideItem small{text-overflow:ellipsis;overflow:hidden}.settingsAppearanceSection .settingsMasonry{grid-template-columns:minmax(300px,1fr) minmax(144px,.42fr) minmax(144px,.42fr)}}@media (width<=760px){.settingsAppearanceSection .settingsMasonry{grid-template-columns:1fr}.settingsAccentGroup{max-width:none}}@media (width<=1100px){#settingsContent{grid-template-columns:1fr}.settingsSidebar{box-sizing:border-box;width:100%;min-width:0}.settingsSidebarInner{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}}@media (width<=760px){.settingsSidebarInner{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1101px){#settingsPanel{--settings-sticky-header-space:86px}#settingsHeader{z-index:20;min-height:var(--settings-sticky-header-space);border-bottom:1px solid var(--settings-border);background:linear-gradient(180deg, #ffffff0a, #ffffff03), var(--settings-panel-surface);backdrop-filter:blur(14px);align-items:center;margin:-30px -30px 26px;padding:30px 30px 16px;display:flex;position:sticky;top:-30px;box-shadow:inset 0 1px #ffffff09,0 14px 24px #0000003d}body.theme-glass #settingsHeader{background:linear-gradient(180deg, #ffffff1c, #ffffff09), var(--settings-panel-surface)}body.theme-neon #settingsHeader{box-shadow:0 1px 0 #ffffff0a inset, 0 14px 24px #00000047, 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .16))}#settingsHeader #settingsTitle{flex:1;margin:0 120px 0 20px}#settingsHeader #settingsCloseButton,#settingsHeader #settingsFullscreenButton{top:10px}.settingsSidebar{max-height:calc(100dvh - 150px)}}.settingsSideItem.selected,.settingsSegmentOption:has(input:checked),.themePreviewCard.selected,.themePreviewCard:has(input:checked),.backgroundPreviewCard.selected,.settingsTypographyOption.selected,.settingsTypographyOption:has(input:checked),.settingsLanguageOption.selected{border-color:var(--accent-color);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.34) inset, 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .95))}.settingsSideItem.selected{box-shadow:4px 0 0 var(--accent-color) inset, 0 0 0 1px rgba(var(--accent-color-rgb),.22) inset, 0 0 28px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.05))}.settingsSwatchOption.selected,.settingsSwatchOption:has(input:checked){box-shadow:0 0 0 2px var(--accent-color), 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.1))}.backgroundPreviewCard.selected .backgroundPreviewSurface,.backgroundPreviewCard:has(input:checked) .backgroundPreviewSurface{border-color:var(--accent-color);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.34), 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.05))}.settingsSegmentOption:has(input:checked):before{border-color:var(--accent-color);background:var(--accent-color);box-shadow:0 0 14px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * 1.2))}.statsAverageSummaryButton{text-align:left;appearance:none;width:100%;margin:0}.statsAveragePanel{flex-direction:column;gap:16px;display:flex;overflow:hidden}.statsAveragePanel .statsSectionHeader,.statsAveragePanel .statsAverageHero{flex:none}.statsAverageModeGrid{flex:1;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;min-height:0;padding-right:4px;display:grid;overflow-y:auto}.statsAverageHero,.statsAverageModeCard{box-sizing:border-box;border:1px solid var(--settings-border);background:var(--settings-control-surface);border-radius:9px}.statsAverageHero{gap:6px;padding:16px 18px;display:grid}.statsAverageHero span,.statsAverageModeCard small{color:var(--settings-muted);font-size:13px;line-height:1.25}.statsAverageHero strong{color:#fff;font-size:34px;font-weight:900;line-height:1}.statsAverageHero small{color:var(--accent-color);font-size:13px;font-weight:800}.statsAverageModeCard{gap:8px;min-width:0;padding:12px;display:grid}.statsAverageModeIdentity{align-items:center;gap:10px;min-width:0;display:flex}.statsAverageModeIdentity h4{color:#fff;overflow-wrap:anywhere;min-width:0;margin:0;font-size:14px;font-weight:850;line-height:1.2}.statsAverageModeIcon{background:rgba(var(--accent-color-rgb),.1);border-radius:8px;flex:none;place-items:center;width:40px;height:40px;display:grid;overflow:hidden}.statsAverageModeIcon .assetGameIcon{width:36px;height:36px;min-height:36px;box-shadow:none}.statsAverageModeCard strong{color:var(--accent-color);font-size:24px;font-weight:900;line-height:1}@media (width>=901px){#statsOverlay{background:radial-gradient(circle at 50% -12%, rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .36)), transparent 36%), var(--settings-overlay-scrim);padding:24px}#statsPanel{--stats-sticky-header-space:132px;border-color:var(--settings-border-strong);background:linear-gradient(180deg, #ffffff09, transparent 22%), var(--settings-panel-surface);max-height:calc(100dvh - 48px);box-shadow:0 0 0 1px #ffffff0b inset, 0 0 32px var(--settings-panel-glow), 0 28px 86px #0000008a;border-radius:14px}#statsOverlay.fullscreen #statsPanel{min-height:0}#statsOverlay.fullscreen #statsCards{min-height:calc(100% - var(--stats-sticky-header-space) - 26px)}#statsOverlay.fullscreen .statsTabPanel{flex:1;min-height:0}#statsOverlay.fullscreen .statsOverviewGrid{flex:1;align-items:stretch}#statsOverlay.fullscreen .statsOverviewContent{flex:1}#statsOverlay.fullscreen .statsRecentSection,#statsOverlay.fullscreen .statsDailySection{height:clamp(420px,100dvh - 430px,520px)}#statsOverlay.fullscreen .statsTipBar{min-height:64px}#statsHeader{box-sizing:border-box}#statsTitle{width:auto;font-weight:800}#statsCloseButton,#statsFullscreenButton{color:#ecf4ffe0;width:46px;min-width:46px;height:46px;min-height:46px;box-shadow:none;text-shadow:none;filter:none;background:0 0;border:0;border-radius:0;line-height:1}#statsCloseButton{font-size:32px}#statsFullscreenButton{font-size:25px}#statsCards{gap:16px}.statsTabs{border-color:var(--settings-border-strong);background:var(--settings-control-surface);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.1) inset}.statsTab{color:#e7ecf5;box-shadow:none;background:0 0;border:0;border-radius:0}.statsTab:hover,.statsTab:focus-visible{background:rgba(var(--accent-color-rgb),.06);box-shadow:none}.statsTab.selected{background:rgba(var(--accent-color-rgb),.08);box-shadow:inset 0 -2px 0 var(--accent-color)}.statsSummaryCard{border-color:var(--settings-border);background:linear-gradient(180deg, #ffffff06, transparent 45%), var(--settings-control-surface-strong);box-shadow:none}.statsSummaryCard[data-stats-action]:hover,.statsSummaryCard[data-stats-action]:focus-visible{border-color:rgba(var(--accent-color-rgb),.48);background:var(--settings-control-surface);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.12)}.statsAverageSummaryButton{color:inherit;cursor:pointer}.statsAverageSummaryButton[aria-expanded=true]{border-color:var(--accent-color);background:rgba(var(--accent-color-rgb),.16);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.22)}.statsGameSection{border-color:var(--settings-border);background:linear-gradient(180deg, #ffffff06, transparent 36%), var(--settings-section-surface);box-shadow:none;border-radius:12px}.statsGameCard{border-color:var(--settings-border);background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.08), transparent 32%), var(--settings-control-surface-strong);box-shadow:none;grid-template-columns:minmax(210px,1.15fr) repeat(5,minmax(98px,.56fr))}.statsGameStat{border-color:var(--settings-border);background:var(--settings-control-surface);border-radius:8px}.statsRecentSection{min-height:242px}.statsAverageModeGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.statsAverageHero,.statsAverageModeCard{background:var(--settings-control-surface)}}#statsHeader{position:relative}.statsHeaderIntro{align-items:center;gap:22px;min-width:0;display:flex}.statsHeaderIcon{border:1px solid rgba(var(--accent-color-rgb),.58);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.24), rgba(var(--accent-color-rgb),.08)), var(--settings-control-surface);width:82px;height:82px;color:var(--accent-color);box-shadow:0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .48));border-radius:14px;flex:none;place-items:center;display:grid}.statsHeaderIcon svg,.statsHeaderIcon .assetIcon{width:46px;height:46px}.statsHeaderCopy{min-width:0}#statsSubtitle{color:var(--settings-muted);margin:6px 0 0;font-size:18px;line-height:1.25}#statsTabsMount{min-width:0}.statsPanelCard{box-sizing:border-box;border:1px solid var(--settings-border);background:linear-gradient(135deg, rgba(var(--accent-color-rgb),.08), transparent 44%), linear-gradient(180deg, #ffffff07, transparent 46%), var(--settings-section-surface);border-radius:14px;box-shadow:inset 0 1px #ffffff09,0 18px 42px #0000002e}.statsOverviewGrid{flex:1;grid-template-columns:minmax(0,1.18fr) minmax(0,.98fr);align-items:stretch;gap:20px;min-height:0;display:grid}.statsOverviewContent{flex:1;min-height:0;display:flex}.statsOverviewContent>.statsOverviewGrid,.statsOverviewContent>.statsAveragePanel{flex:1;width:100%;min-height:0}.statsSectionHeader{justify-content:flex-start}.statsRecentSection .statsSectionHeader{justify-content:space-between}.statsSectionTitle{align-items:center;gap:14px;min-width:0;display:flex}.statsSectionIcon{width:40px;height:40px;color:var(--accent-color);flex:none;place-items:center;display:grid}.statsSectionIcon svg,.statsSectionIcon .assetIcon,.statsSummaryIcon svg,.statsSummaryIcon .assetIcon,.statsSummaryWatermark svg,.statsSummaryWatermark .assetIcon,.statsTipBar svg,.statsTipBar .assetIcon,.statsPlayNowButton svg,.statsPlayNowButton .assetIcon,.statsEmptyIcon svg,.statsEmptyIcon .assetIcon,.statsTabIcon svg,.statsTabIcon .assetIcon{width:100%;height:100%}.statsHeaderIcon .assetIcon,.statsSectionIcon .assetIcon,.statsSummaryIcon .assetIcon,.statsTabIcon .assetIcon,.statsEmptyIcon .assetIcon,.statsPlayNowButton .assetIcon,.statsTipBar .assetIcon{scale:1.12}.statsRecentSection,.statsDailySection{height:438px;min-height:0;padding:22px}.statsRecentSection{flex-direction:column;display:flex;overflow:hidden}.statsRecentSessionList{box-sizing:border-box;overscroll-behavior:contain;scrollbar-width:none;scrollbar-color:transparent transparent;flex-direction:column;flex:1;gap:8px;min-height:0;margin-top:14px;padding:0 8px 10px 0;display:flex;overflow:hidden auto}.statsRecentSessionList::-webkit-scrollbar{width:0}.statsRecentSessionList::-webkit-scrollbar-track{background:0 0}.statsRecentSessionList::-webkit-scrollbar-button{width:0;height:0;display:none}.statsRecentSessionList::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:999px}.statsRecentSessionList.is-overflowing{scrollbar-width:thin;scrollbar-color:var(--accent-color) transparent}.statsRecentSessionList.is-overflowing::-webkit-scrollbar{width:8px}.statsRecentSessionCard{background:linear-gradient(135deg, rgba(var(--accent-color-rgb),.13), transparent 46%), linear-gradient(180deg, #ffffff0f, transparent 48%), #ffffff05;border:1px solid #ffffff1c;border-radius:12px;flex:none;padding:10px 12px 9px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0b,0 12px 24px #0000002b}.statsRecentSessionCard.is-new-record{border-color:rgba(var(--accent-color-rgb),.52);background:linear-gradient(135deg, rgba(var(--accent-color-rgb),.24), rgba(var(--accent-color-rgb),.08) 32%, transparent 62%), linear-gradient(180deg, #ffffff13, transparent 48%), rgba(var(--accent-color-rgb),.06);box-shadow:inset 0 1px 0 #ffffff14, inset 0 0 0 1px rgba(var(--accent-color-rgb),.12), inset 0 0 calc(18px + 18px * var(--glow-intensity)) rgba(var(--accent-color-rgb),calc(.08 + var(--glow-intensity) * .16)), 0 0 0 1px rgba(var(--accent-color-rgb),.22), 0 0 calc(12px + 20px * var(--glow-intensity)) rgba(var(--accent-color-rgb),calc(.12 + var(--glow-intensity) * .32)), 0 12px 24px #0003}.statsRecentSessionCard.is-new-record:before,.statsRecentSessionCard.is-new-record:after{content:"";border-radius:inherit;pointer-events:none;opacity:1;position:absolute;inset:0}.statsRecentSessionCard.is-new-record:before{border:1px solid rgba(var(--accent-color-rgb),.18);box-shadow:inset 0 0 calc(8px + 10px * var(--glow-intensity)) rgba(var(--accent-color-rgb),calc(.08 + var(--glow-intensity) * .18)), 0 0 calc(8px + 14px * var(--glow-intensity)) rgba(var(--accent-color-rgb),calc(.08 + var(--glow-intensity) * .2))}.statsRecentSessionCard.is-new-record:after{background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.1), transparent 34%, rgba(var(--accent-color-rgb),.07)), linear-gradient(90deg, rgba(var(--accent-color-rgb),.08), transparent 24%, transparent 76%, rgba(var(--accent-color-rgb),.08))}.statsRecentSessionTop{justify-content:space-between;align-items:center;gap:10px;display:flex}.statsRecentSessionIdentity{align-items:center;gap:10px;min-width:0;display:flex}.statsRecentSessionIcon{background:radial-gradient(circle at 50% 20%, rgba(var(--accent-color-rgb),.28), transparent 58%), rgba(var(--accent-color-rgb),.09);border-radius:11px;flex:none;justify-content:center;align-items:center;width:46px;height:46px;display:flex;overflow:hidden;box-shadow:inset 0 1px #ffffff1a,0 10px 18px #0003}.statsRecentSessionIcon .assetGameIcon{width:40px;height:40px;min-height:40px;box-shadow:none}.statsRecentSessionText{min-width:0}.statsRecentSessionText h4{color:#fbfdff;margin:0;font-size:16px;font-weight:850;line-height:1.12}.statsRecentSessionText p{color:var(--settings-muted);margin:3px 0 0;font-size:12px;line-height:1.2}.statsRecentSessionResult{text-align:right;flex:none;justify-content:flex-end;align-items:center;gap:14px;min-width:188px;display:flex}.statsRecentSessionScore{min-width:78px}.statsRecentSessionScore small{color:#ffffffb3;text-transform:uppercase;letter-spacing:.9px;font-size:10px;line-height:1.1;display:block}.statsRecentSessionPhase{color:#ffffff80;letter-spacing:1px;text-transform:uppercase;margin-top:3px;font-size:10px;font-weight:700;line-height:1.1;display:block}.statsRecentSessionPhase.is-placeholder{display:none}.statsRecentSessionScore strong{color:var(--accent-color);margin-top:2px;font-size:30px;font-weight:900;line-height:.95;display:block}.statsRecentSessionPlayed{color:#ffffffad;border-left:1px solid #ffffff1c;align-items:center;gap:7px;min-width:100px;padding-left:12px;display:flex}.statsRecentSessionPlayed span{width:32px;height:32px;color:var(--accent-color);flex:none;place-items:center;display:grid}.statsRecentSessionPlayed svg,.statsRecentSessionPlayed .assetIcon{width:100%;height:100%}.statsRecentSessionPlayed b{color:#ffffffb8;white-space:nowrap;font-size:13px;font-weight:750;line-height:1}.statsRecentRecordOverlay{z-index:2;pointer-events:none;border:1px solid rgba(var(--accent-color-rgb),.54);color:#f7fbff;text-transform:uppercase;letter-spacing:.85px;box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.14), 0 0 calc(8px + 14px * var(--glow-intensity)) rgba(var(--accent-color-rgb),calc(.1 + var(--glow-intensity) * .24));text-shadow:0 0 calc(5px + 8px * var(--glow-intensity)) rgba(var(--accent-color-rgb),calc(.16 + var(--glow-intensity) * .18));background:#090f18bd;border-radius:999px;padding:5px 13px;font-size:11px;font-weight:900;line-height:1;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.statsRecentRecordOverlay.is-placeholder{visibility:hidden}.statsRecentSessionBottom{color:var(--settings-muted);justify-content:space-between;align-items:center;gap:10px;margin-top:7px;font-size:12px;line-height:1.2;display:flex}.statsRecentSessionBottom strong{color:#e8eef9}.statsRecentSessionProgress{background:#ffffff1f;border-radius:999px;width:100%;height:6px;margin-top:7px;display:block;overflow:hidden}.statsRecentSessionProgress b{width:var(--stats-session-progress);border-radius:inherit;background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.56), var(--accent-color));height:100%;box-shadow:0 0 16px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .55));display:block}.statsRecentEmptyState{color:#eef4ff;text-align:center;box-sizing:border-box;border:1px dashed #9cb5d033;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:0;margin-top:0;padding:clamp(14px,2dvh,24px);display:flex}.statsEmptyIcon{border:1px solid var(--settings-border);color:#bfc9d8;background:#ffffff0b;border-radius:50%;place-items:center;width:86px;height:86px;margin-bottom:22px;display:grid}.statsRecentEmptyState .statsEmptyIcon{width:64px;height:64px;margin-bottom:14px}.statsRecentEmptyState .statsEmptyIcon svg,.statsRecentEmptyState .statsEmptyIcon .assetIcon{width:42px;height:42px}.statsEmptyIcon svg,.statsEmptyIcon .assetIcon{width:58px;height:58px}.statsRecentEmptyState strong,.statsDailyEmptyState strong{color:#f5f8ff;font-size:20px;line-height:1.25}.statsRecentEmptyState p,.statsDailyEmptyState p{color:var(--settings-muted);margin:8px 0 0;font-size:16px;line-height:1.35}.statsPlayNowButton{border:1px solid rgba(var(--accent-color-rgb),.72);background:var(--accent-color);color:#fff;min-width:188px;min-height:48px;box-shadow:0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .7));border-radius:8px;justify-content:center;align-items:center;gap:12px;margin:28px 0 0;padding:0 24px;font-size:16px;font-weight:800;display:inline-flex}.statsRecentEmptyState .statsPlayNowButton{min-height:44px;margin-top:16px}.statsPlayNowButton span{place-items:center;width:30px;height:30px;display:grid}.statsDailyChart{grid-template-columns:48px minmax(0,1fr);gap:14px;min-height:294px;margin-top:28px;display:grid;position:relative}.statsChartYAxis{color:var(--settings-muted);text-align:right;grid-template-rows:repeat(5,1fr);align-items:center;font-size:16px;line-height:1;display:grid}.statsChartPlot{min-width:0;min-height:294px;padding-bottom:34px;position:relative}.statsChartGridLines{opacity:.86;background:repeating-linear-gradient(#9cb5d02b 0 1px,#0000 1px 25%),repeating-linear-gradient(90deg,#9cb5d026 0 1px,#0000 1px 16.66%);position:absolute;inset:0 0 34px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 5% 95%,#0000);mask-image:linear-gradient(90deg,#0000,#000 5% 95%,#0000)}.statsChartBars{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:12px;display:grid;position:absolute;inset:0}.statsChartDay{grid-template-rows:minmax(0,1fr) 24px;place-items:end center;min-width:0;height:100%;display:grid}.statsChartBar{background:linear-gradient(180deg, var(--accent-color), rgba(var(--accent-color-rgb),.38));width:28px;min-height:0;box-shadow:0 0 16px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .52));border-radius:999px 999px 4px 4px;display:block}.statsDailyChart:not(.hasData) .statsChartBar{display:none}.statsChartDay small{color:var(--settings-muted);align-self:end;font-size:16px;line-height:1}.statsDailyEmptyState{text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:34px 20px 58px}.statsDailyEmptyState .statsEmptyIcon{width:84px;height:84px;margin-bottom:18px}.statsTipBar{background:linear-gradient(90deg, transparent, rgba(var(--accent-color-rgb),.08), transparent), var(--settings-section-surface);min-height:54px;color:var(--settings-muted);box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;gap:14px;padding:0 18px;display:flex}.statsTipBar span{width:26px;height:26px;color:var(--accent-color);place-items:center;display:grid}.statsTipBar p{margin:0;font-size:16px;line-height:1.3}.statsTipBar strong{color:var(--accent-color)}.statsGameMetrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.statsGameIdentity p{color:var(--settings-muted);margin:5px 0 0;font-size:13px;line-height:1.3}@media (width>=901px){#statsPanel{--stats-sticky-header-space:146px;width:min(1480px,100vw - 48px);min-height:min(860px,100dvh - 48px);padding:30px 36px 24px}#statsHeader{z-index:30;min-height:var(--stats-sticky-header-space);border-bottom:1px solid var(--settings-border);background:linear-gradient(180deg, #ffffff0a, #ffffff03), var(--settings-panel-surface);backdrop-filter:blur(14px);grid-template-columns:minmax(300px,1fr) minmax(360px,444px) minmax(130px,1fr);align-items:center;gap:24px;margin:-30px -36px 28px;padding:30px 36px 22px;display:grid;position:sticky;top:-30px;box-shadow:inset 0 1px #ffffff09,0 14px 24px #0000003d}body.theme-glass #statsHeader{background:linear-gradient(180deg, #ffffff1c, #ffffff09), var(--settings-panel-surface)}body.theme-neon #statsHeader{box-shadow:0 1px 0 #ffffff0a inset, 0 14px 24px #00000047, 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .16))}#statsTitle{color:#f6f8fc;text-align:left;min-height:0;margin:0;padding:0;line-height:1.05;font-size:38px!important}#statsTabsMount{grid-column:2}#statsCloseButton,#statsFullscreenButton{top:0}#statsCloseButton{right:2px}.statsTabs{border-radius:11px;width:100%;min-height:56px;margin:0;padding:0}.statsTab{gap:12px;min-height:48px;font-size:16px}.statsTabIcon{place-items:center;width:26px;height:26px;font-size:0;display:grid}.statsTab[data-stats-tab=allGames] .statsTabIcon .assetIcon{scale:1.28}.statsSummaryGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.statsSummaryCard{text-align:left;border-radius:14px;height:204px;min-height:0;padding:24px;position:relative;overflow:hidden}.statsSummaryLabel{grid-template-columns:56px minmax(0,1fr);align-items:center;gap:16px;font-size:16px;display:grid}.statsSummaryIcon{background:var(--accent-color);color:#fff;border-radius:50%;width:52px;height:52px}.statsSummaryIcon svg,.statsSummaryIcon .assetIcon{width:30px;height:30px}.statsSummaryIcon .assetIcon{scale:1.16}.statsSummaryCard strong{margin-top:22px;font-size:40px;line-height:1;display:block}.statsSummaryCard small{color:#d7e2f2;margin-top:10px;font-size:16px;font-weight:500;display:block}.statsSummaryWatermark{color:#ffffff0e;pointer-events:none;width:86px;height:86px;position:absolute;bottom:26px;right:22px}.statsSummaryWatermark svg,.statsSummaryWatermark .assetIcon{width:100%;height:100%}#statsCards,.statsTabPanel{gap:22px}.statsGameListFull{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.statsGameListCompact{gap:14px;margin-top:18px}.statsGameCard{border-radius:12px;flex-direction:column;align-items:stretch;gap:16px;min-height:0;padding:18px;display:flex}.statsGameIdentity{gap:14px}.statsGameIcon{border-radius:12px;width:54px;height:54px}.statsGameIdentity h4{font-size:17px}.statsGameStat{border-left:1px solid var(--settings-border);min-height:80px;padding:12px}}@media (width<=1180px){.statsOverviewGrid{grid-template-columns:1fr}.statsGameMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.statsRecentSessionTop{align-items:flex-start}.statsRecentSessionIcon{border-radius:11px;width:42px;height:42px}.statsRecentSessionIcon .assetGameIcon{width:34px;height:34px;min-height:34px}.statsRecentSessionText h4{font-size:18px}.statsRecentSessionText p{font-size:13px}.statsRecentSessionResult{gap:10px;min-width:174px}.statsRecentSessionScore strong{font-size:28px}.statsRecentSessionPlayed{min-width:88px;padding-left:10px}.statsRecentSessionPlayed b,.statsRecentSessionBottom{font-size:12px}}@media (width<=900px){#statsHeader{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:16px;display:flex}.statsHeaderIntro{padding-right:92px}.statsHeaderIcon{border-radius:12px;width:50px;height:50px}#statsSubtitle{font-size:14px}.statsOverviewGrid,.statsGameListFull{grid-template-columns:1fr}.statsRecentSection,.statsDailySection{min-height:0;padding:14px}.statsRecentEmptyState{min-height:240px;padding:22px 14px}.statsGameMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}#streakPanel{border:1px solid var(--settings-border-strong);background:linear-gradient(180deg, #ffffff09, transparent 22%), var(--settings-panel-surface);width:min(860px,100vw - 48px);min-height:min(660px,100dvh - 52px);max-height:min(760px,100dvh - 52px);box-shadow:0 0 0 1px #ffffff0b inset, 0 0 32px var(--settings-panel-glow), 0 28px 86px #0000008a;border-radius:22px;padding:30px 76px 38px;overflow:auto}#streakTitle{color:#f7f9ff;letter-spacing:0;text-align:center;text-shadow:0 2px 18px #00000057;overflow-wrap:normal;justify-content:center;align-items:center;gap:16px;min-height:46px;margin:0 92px 24px;padding:0;font-size:38px;font-weight:800;line-height:1.05;display:flex}#streakTitle:before{content:none}#streakCloseButton,#streakFullscreenButton{color:#ecf4ffe0;width:48px;min-width:48px;height:48px;min-height:48px;box-shadow:none;text-shadow:none;filter:none;background:0 0;border:0;border-radius:0;place-items:center;margin:0;padding:0;line-height:1;display:grid;top:4px}#streakFullscreenButton{font-size:26px;right:40px}#streakCloseButton{font-size:34px;font-weight:400;right:5px}#streakContent{flex-direction:column;align-items:center;gap:0;display:flex}.streakHeroRing{isolation:isolate;border-radius:50%;place-items:center;width:260px;height:260px;margin:4px auto 22px;display:grid;position:relative}.streakHeroRing:before{content:"";border:5px solid rgba(var(--accent-color-rgb),.96);box-shadow:0 0 34px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .9)), 0 0 76px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .48));border-radius:50%;position:absolute;inset:0}.streakHeroRing:after{content:"";background:radial-gradient(circle at 50% 38%,#ffffff0b,#0000 34%),#08101c47;border-radius:50%;position:absolute;inset:8px;box-shadow:inset 0 0 34px #00000038}.streakHeroRing.isInactive:before{border-color:#ffffff2e;box-shadow:0 0 16px #ffffff0d,0 0 36px #0000002e}.streakHeroRing.isInactive:after{background:radial-gradient(circle at 50% 38%,#ffffff05,#0000 34%),#08101c33}.streakHeroRingInner{z-index:1;flex-direction:column;justify-content:center;align-items:center;min-width:0;display:flex;position:relative}.streakHeroRingInner strong{color:#fff;text-shadow:0 3px 20px #00000061;font-size:82px;font-weight:900;line-height:.9;display:block}.streakHeroRingInner span{color:var(--settings-muted);margin-top:18px;font-size:28px;font-weight:600;line-height:1;display:block}.streakDetailRows{border-top:1px solid #ffffff1a;width:min(675px,100%)}.streakDetailRow{min-height:68px;color:var(--settings-muted);border-bottom:1px solid #ffffff1a;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;font-size:23px;line-height:1.2;display:grid}.streakDetailRow span,.streakDetailRow strong{min-width:0}.streakDetailRow strong{color:#f8f9ff;text-align:right;font-size:23px;font-weight:800}.streakInfoBox{border:1px solid rgba(var(--accent-color-rgb),.74);background:rgba(var(--accent-color-rgb),.06);width:min(675px,100%);min-height:96px;box-shadow:0 0 20px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .24)), 0 1px 0 #ffffff0a inset;box-sizing:border-box;border-radius:10px;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:22px;margin-top:14px;padding:18px 30px;display:grid}.streakInfoIcon{border:3px solid var(--accent-color);width:44px;height:44px;color:var(--accent-color);box-shadow:0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .45));border-radius:50%;place-items:center;font-family:Arial,sans-serif;font-size:25px;font-weight:900;line-height:1;display:grid}.streakInfoBox p{color:#e9edf7;margin:0;font-size:23px;font-weight:500;line-height:1.45}#streakOverlay.fullscreen #streakPanel{width:100%;min-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}#streakOverlay.fullscreen #streakContent{min-height:calc(100dvh - 200px - env(safe-area-inset-top) - env(safe-area-inset-bottom));justify-content:center}@media (width<=900px){#streakPanel{border-radius:14px;width:min(430px,100vw - 28px);min-height:0;max-height:min(78dvh,680px);padding:20px 14px 18px}#streakTitle{text-align:left;justify-content:flex-start;gap:10px;width:calc(100% - 112px);min-height:40px;margin:0 0 18px;line-height:1.05;font-size:clamp(28px,5vw,36px)!important}#streakTitle:before{content:none}#streakCloseButton,#streakFullscreenButton{width:48px;min-width:48px;height:48px;min-height:48px;box-shadow:none;border-radius:10px;top:8px}#streakFullscreenButton{font-size:22px;right:38px}#streakCloseButton{font-size:34px;right:-8px}.streakHeroRing{width:220px;height:220px;margin:4px auto 20px}.streakHeroRingInner strong{font-size:70px}.streakHeroRingInner span{margin-top:14px;font-size:24px}.streakDetailRow{gap:14px;min-height:58px;font-size:18px}.streakDetailRow strong{font-size:18px}.streakInfoBox{grid-template-columns:42px minmax(0,1fr);gap:14px;min-height:0;padding:14px}.streakInfoIcon{border-width:2px;width:34px;height:34px;font-size:20px}.streakInfoBox p{font-size:17px}}.lobbyHeader{background:linear-gradient(#ffffff09,#ffffff03),#0b0e14e6;flex-direction:column;justify-content:center;align-items:center;padding:12px 280px 10px;display:flex;top:0;left:0;right:0}body.gameplay-active #lobbyHeader{display:none!important}.lobbyHeader #title{color:#f7f8fb;letter-spacing:0;text-align:center;white-space:nowrap;text-overflow:ellipsis;width:auto;max-width:100%;margin:0;font-size:42px;font-weight:800;line-height:1;overflow:hidden;position:static!important;transform:none!important}#lobbySubtitle{color:#e8eef7ad;letter-spacing:0;text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin:14px 0 0;font-size:18px;font-weight:600;line-height:1.25;overflow:hidden}#leaderboardButton.leaderboardButtonInactive,#leaderboardButton:disabled{opacity:.72;filter:none}#mainMenu{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;width:min(100vw - 56px,1252px);max-width:1252px;margin:150px auto 0}.modeCard{aspect-ratio:1.06;height:auto;min-height:0;transition:border-color var(--motion-duration-medium) var(--motion-easing-standard), box-shadow var(--motion-duration-medium) var(--motion-easing-standard), transform var(--motion-duration-medium) var(--motion-easing-standard);background:#11161cf5;border:1px solid #ffffff1a;border-radius:10px;padding-top:0;position:relative;box-shadow:inset 0 1px #ffffff0b,0 18px 38px #0003}.modeCard:hover,.modeCard:focus-visible{transform:translateY(var(--motion-card-lift));border-color:rgba(var(--accent-color-rgb),.42);box-shadow:inset 0 1px 0 #ffffff0f, 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .55)), 0 22px 42px #00000042}.cardIcon{min-height:0;padding:24px 26px 18px}.cardBottom{background:var(--accent-color);box-sizing:border-box;justify-content:flex-start;min-height:62px;padding:0 24px}.cardBottom:after{content:none}.cardBottom h2{letter-spacing:0;text-align:left;min-width:0;padding:0;font-size:19px;font-weight:800;line-height:1.2}@media (width<=1100px) and (orientation:portrait){.lobbyHeader{height:118px;padding:16px 156px 12px}.lobbyHeader #title{font-size:34px!important}#lobbySubtitle{margin-top:10px;font-size:15px}#mainMenu{margin:142px auto 0}.modeCard{border-radius:10px}}@media (width<=980px) and (orientation:portrait){#streakButton{left:calc(clamp(12px,2.4vw,22px) + clamp(50px,5.4vw,58px) + 12px);right:auto}}@media (width<=640px) and (orientation:portrait){.lobbyHeader{z-index:19;backdrop-filter:none;background:0 0;border-bottom:0;width:100%;height:auto;min-height:94px;padding:0 4px 14px;position:relative;top:auto;left:auto;right:auto}.lobbyHeader #title{text-overflow:ellipsis;max-width:100%;line-height:1;font-size:32px!important}#lobbySubtitle{white-space:normal;margin-top:9px;font-size:14px}#mainMenu{box-sizing:border-box;padding:0}.modeCard{border-radius:10px}.cardIcon{padding:8px 10px}.cardBottom{min-height:48px;padding:0 12px}.cardBottom h2{line-height:1.08;font-size:clamp(13px,3.8vw,16px)!important}}@media (width<=360px) and (orientation:portrait){.lobbyHeader{min-height:86px;padding-bottom:10px}.lobbyHeader #title{font-size:28px!important}#lobbySubtitle{font-size:12px}#mainMenu{height:calc(100dvh - 298px - env(safe-area-inset-top) - env(safe-area-inset-bottom));gap:10px;margin-top:0}}#leaderboardOverlay{background:radial-gradient(circle at 50% -12%, rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .36)), transparent 36%), var(--settings-overlay-scrim);padding:24px}#leaderboardPanel{--lb-panel-surface:var(--settings-panel-surface);--lb-section-surface:var(--settings-section-surface);--lb-control-surface:var(--settings-control-surface);--lb-control-surface-strong:var(--settings-control-surface-strong);--lb-border:var(--settings-border);--lb-border-strong:var(--settings-border-strong);--lb-muted:var(--settings-muted);--lb-text:#eef4ff;--lb-text-strong:#f7fbff;border:1px solid var(--lb-border-strong);background:radial-gradient(circle at 50% -10%, rgba(var(--accent-color-rgb),.12), transparent 32%), linear-gradient(180deg, #ffffff09, transparent 26%), var(--lb-panel-surface);width:min(1740px,100vw - 28px);max-width:min(1740px,100vw - 28px);height:calc(100dvh - 48px);max-height:calc(100dvh - 48px);box-shadow:inset 0 1px 0 #ffffff0b, 0 0 32px var(--settings-panel-glow), 0 28px 86px #0000008a;border-radius:18px;flex-direction:column;padding:24px 28px 20px;display:flex;overflow:hidden!important}#leaderboardPanel.leaderboardPanelLocked{width:min(940px,100vw - 28px);max-width:min(940px,100vw - 28px);height:auto;max-height:calc(100dvh - 48px)}#leaderboardPanel.leaderboardPanelLocked #leaderboardFullscreenButton{display:none}#leaderboardPanel.leaderboardPanelLocked #leaderboardCloseButton{color:#ecf4ffeb;width:40px;min-width:40px;height:40px;min-height:40px;text-shadow:none;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;font-size:34px;font-weight:300;line-height:32px;transition:none;display:flex;top:18px;right:18px;transform:none;box-shadow:none!important}#leaderboardOverlay.fullscreen #leaderboardPanel{width:100%;max-width:none;min-height:0;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}#leaderboardHeader{z-index:10;border-bottom:1px solid var(--lb-border);background:linear-gradient(180deg, #ffffff0d, #ffffff04), var(--lb-panel-surface);backdrop-filter:blur(14px);align-items:start;gap:12px 18px;margin:-24px -28px 16px;padding:22px 28px 14px;display:grid;position:relative}body.theme-glass #leaderboardHeader{background:linear-gradient(180deg, #ffffff1c, #ffffff09), var(--lb-panel-surface)}body.theme-neon #leaderboardHeader{box-shadow:0 1px 0 #ffffff0a inset, 0 14px 24px #00000047, 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .16))}.lb-headerIntro{align-items:flex-start;gap:16px;min-width:0;display:flex}.lb-headerIcon{border:1px solid rgba(var(--accent-color-rgb),.34);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.22), rgba(var(--accent-color-rgb),.12)), #121a26eb;width:58px;height:58px;color:var(--accent-color);box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.18), 0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .22));border-radius:14px;flex:none;place-items:center;display:grid}.lb-headerIcon svg,.lb-modeIcon svg,.lb-summaryIcon svg,.lb-tableEmptyIcon svg,.lb-headerIcon .assetIcon,.lb-modeIcon .assetIcon,.lb-summaryIcon .assetIcon,.lb-tableEmptyIcon .assetIcon{width:34px;height:34px}.lb-headerCopy{min-width:0}.leaderboardNoticeText{color:#f3d45c;letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:700;line-height:1.2}#leaderboardTitle{color:var(--lb-text-strong);text-align:left;margin:0;padding:0;font-size:clamp(34px,3vw,44px);font-weight:800}#leaderboardSubtitle{color:var(--lb-muted);margin:4px 0 0;font-size:15px;line-height:1.35}#leaderboardCloseButton,#leaderboardFullscreenButton{color:var(--lb-text)}#leaderboardCloseButton{top:10px;right:10px}#leaderboardFullscreenButton{top:10px;right:54px}#leaderboardContent{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.lb-unlockScreen{gap:18px;width:100%;max-width:860px;margin:0 auto;display:grid}.lb-unlockHero,.lb-unlockProgressCard,.lb-unlockModeGrid,.lb-unlockReadyCard{border:1px solid var(--lb-border);background:linear-gradient(180deg, #ffffff08, transparent 32%), var(--lb-section-surface);border-radius:18px;box-shadow:inset 0 1px #ffffff0a,0 18px 42px #00000026}.lb-unlockHero{grid-template-columns:58px minmax(0,1fr);align-items:center;gap:16px;padding:18px;display:grid}.lb-unlockHeroCopy strong{color:var(--lb-text-strong);font-size:26px;font-weight:800;display:block}.lb-unlockHeroCopy p{color:var(--lb-muted);margin:6px 0 0;font-size:14px;line-height:1.45}.lb-unlockProgressCard{padding:18px}.lb-unlockProgressHeader{color:var(--lb-text);justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.lb-unlockProgressHeader span{font-size:14px;font-weight:700}.lb-unlockProgressHeader strong{color:var(--lb-text-strong);font-size:24px;font-weight:800}.lb-unlockProgressBar{background:var(--lb-control-surface);border-radius:999px;height:12px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff0d}.lb-unlockProgressFill{border-radius:inherit;background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.96), rgba(var(--accent-color-rgb),.78));height:100%;box-shadow:0 0 22px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .9));display:block}.lb-unlockProgressCaption{color:var(--lb-muted);margin:10px 0 0;font-size:13px;line-height:1.35}.lb-unlockReadyCard{text-align:center;place-items:center;gap:12px;padding:28px 24px;display:grid}.lb-unlockReadyCard strong{color:var(--lb-text-strong);font-size:22px;font-weight:800}.lb-unlockReadyCard p{max-width:460px;color:var(--lb-muted);margin:0;font-size:14px;line-height:1.45}.lb-unlockActionButton{border:1px solid rgba(var(--accent-color-rgb),.46);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.22), rgba(var(--accent-color-rgb),.1)), var(--lb-control-surface);min-width:260px;min-height:52px;color:var(--lb-text-strong);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.1) inset, 0 14px 28px #00000029;border-radius:14px;justify-content:center;align-items:center;gap:10px;margin-top:4px;padding:0 22px;font-size:15px;font-weight:800;transition:transform .18s,border-color .18s,box-shadow .18s,background .18s,opacity .18s;display:inline-flex}.lb-unlockActionButton svg{fill:currentColor;width:18px;height:18px}.lb-unlockActionButton:hover,.lb-unlockActionButton:focus-visible{border-color:rgba(var(--accent-color-rgb),.7);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.12) inset, 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .5));transform:translateY(-1px)}.lb-unlockActionButton.is-unlocking{box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.14) inset, 0 0 32px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .82));transform:scale(.985)}.lb-unlockActionButton:disabled{cursor:default}.lb-unlockModeGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;display:grid}.lb-unlockModeItem{box-sizing:border-box;border:1px solid var(--lb-border);background:var(--lb-control-surface);width:100%;min-width:0;color:var(--lb-text);text-align:left;border-radius:14px;justify-content:flex-start;align-items:center;gap:12px;padding:12px;display:flex}.lb-unlockModeItem.pending{cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s,background .18s}.lb-unlockModeItem.pending:hover,.lb-unlockModeItem.pending:focus-visible{border-color:rgba(var(--accent-color-rgb),.32);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.1), rgba(var(--accent-color-rgb),.05)), var(--lb-control-surface);box-shadow:0 0 22px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .34));transform:translateY(-1px)}.lb-unlockModeItem.done{border-color:rgba(var(--accent-color-rgb),.68);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.28), rgba(var(--accent-color-rgb),.14)), var(--lb-control-surface);box-shadow:0 0 0 1px rgba(var(--accent-color-rgb),.16) inset, inset 0 0 22px rgba(var(--accent-color-rgb),.12), 0 0 30px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .72));cursor:default}.lb-unlockModeItem.done .lb-unlockModeIcon{border-color:rgba(var(--accent-color-rgb),.44);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.32), rgba(var(--accent-color-rgb),.16)), #121a26eb;color:var(--accent-color);box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.14), 0 0 18px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .42))}.lb-unlockModeItem.done .lb-unlockModeCopy small{color:#ecf4ffe0;font-weight:700}.lb-unlockModeIcon{border:1px solid rgba(var(--accent-color-rgb),.22);background:rgba(var(--accent-color-rgb),.08);width:40px;height:40px;color:var(--accent-color);border-radius:12px;flex:none;place-items:center;display:grid}.lb-unlockModeIcon svg{width:20px;height:20px}.lb-unlockModeIcon .assetGameIcon,.lb-modeIcon .assetGameIcon{aspect-ratio:auto;color:currentColor;filter:none;width:100%;height:100%}.lb-unlockModeCopy{flex-direction:column;min-width:0;display:flex}.lb-unlockModeCopy strong{color:var(--lb-text-strong);font-size:13px;font-weight:700;line-height:1.3}.lb-unlockModeCopy small{color:var(--lb-muted);margin-top:4px;font-size:12px}.lb-modeStrip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.lb-modeButton{border:1px solid var(--lb-border);background:linear-gradient(180deg, #ffffff06, transparent 46%), var(--lb-control-surface-strong);min-height:62px;color:var(--lb-text);box-shadow:none;text-align:left;border-radius:12px;align-items:center;gap:12px;margin:0;padding:12px 14px;display:flex}.lb-modeButton.selected{border-color:rgba(var(--accent-color-rgb),.8);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.24), rgba(var(--accent-color-rgb),.08)), var(--lb-control-surface-strong);box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.32), 0 0 26px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .22))}.lb-modeButton:hover,.lb-modeButton:focus-visible{border-color:rgba(var(--accent-color-rgb),.55)}.lb-modeButton.disabled{opacity:.48;cursor:default;pointer-events:none;box-shadow:none!important}.lb-modeButton.disabled:hover,.lb-modeButton.disabled:focus-visible{border-color:var(--lb-border);transform:none;box-shadow:none!important}.lb-modeIcon{border:1px solid rgba(var(--accent-color-rgb),.24);background:rgba(var(--accent-color-rgb),.08);width:34px;height:34px;color:var(--accent-color);border-radius:10px;flex:none;place-items:center;display:grid}.lb-modeLabel{font-size:13px;font-weight:700;line-height:1.25;display:block}.lb-summaryGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.lb-summaryCard{border:1px solid var(--lb-border);background:linear-gradient(180deg, #ffffff06, transparent 42%), var(--lb-control-surface-strong);min-height:96px;color:var(--lb-text);text-align:left;border-radius:14px;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:14px;margin:0;padding:12px 14px;display:grid;box-shadow:inset 0 1px #ffffff0a,0 16px 34px #00000029}.lb-summaryCard.interactive:hover,.lb-summaryCard.interactive:focus-visible{border-color:rgba(var(--accent-color-rgb),.52)}.lb-summaryCard.selected{border-color:rgba(var(--accent-color-rgb),.84);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.18), rgba(var(--accent-color-rgb),.04)), var(--lb-control-surface-strong);box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.22), 0 0 24px rgba(var(--accent-color-rgb),calc(var(--glow-intensity) * .18))}.lb-summaryCard.static{cursor:default}.lb-deviceSelectorCard{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;padding:0;overflow:hidden}.lb-summaryCard:disabled{opacity:1}.lb-summaryIcon{border:1px solid rgba(var(--accent-color-rgb),.24);background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.34), rgba(var(--accent-color-rgb),.2)), #121a26eb;width:56px;height:56px;color:var(--accent-color);border-radius:14px;place-items:center;display:grid}.lb-summaryIcon-streak svg{width:30px;height:30px}.lb-summaryCopy{min-width:0}.lb-summaryLabel{color:var(--lb-text);font-size:13px;line-height:1.2;display:block}.lb-summaryCopy strong{color:var(--lb-text-strong);margin-top:4px;font-size:clamp(18px,1.9vw,28px);font-weight:800;line-height:1;display:block}.lb-summaryCopy small{color:var(--lb-muted);margin-top:6px;font-size:12px;line-height:1.25;display:block}.lb-mainGrid{flex:1;grid-template-columns:minmax(0,1.12fr) minmax(430px,.98fr);gap:12px;min-height:0;display:grid}.lb-surface{border:1px solid var(--lb-border);background:linear-gradient(180deg, #ffffff06, transparent 32%), var(--lb-section-surface);border-radius:16px;min-width:0;padding:16px;box-shadow:inset 0 1px #ffffff0a,0 18px 42px #00000026}.lb-tableSurface,.lb-chartSurface{min-height:0}.lb-tableSurface{flex-direction:column;display:flex}.lb-tableHeader{margin-bottom:10px}.lb-tableTitleRow{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.lb-deviceTabs{background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;grid-auto-columns:minmax(90px,1fr);grid-auto-flow:column;display:inline-grid;overflow:hidden}.lb-deviceViewPicker{background:0 0;grid-template-columns:repeat(3,minmax(0,1fr));min-height:108px;display:grid;overflow:hidden}.lb-deviceViewOption{border:0;border-right:1px solid var(--lb-border);min-height:108px;color:var(--lb-text);box-shadow:none;text-align:center;background:radial-gradient(circle at 50% 0,#ffffff08,#0000 62%),0 0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:14px 16px;transition:background .16s,color .16s,box-shadow .16s;display:flex}.lb-deviceViewOption:last-child{border-right:0}.lb-deviceViewOption:hover,.lb-deviceViewOption:focus-visible{color:var(--lb-text-strong);background:radial-gradient(circle at 50% 0%, rgba(var(--accent-color-rgb),.12), transparent 62%), #ffffff05}.lb-deviceViewOption.selected{color:var(--lb-text-strong);background:radial-gradient(circle at 30% 20%, rgba(var(--accent-color-rgb),.2), transparent 58%), linear-gradient(180deg, rgba(var(--accent-color-rgb),.14), rgba(var(--accent-color-rgb),.05));box-shadow:inset 0 0 0 1px rgba(var(--accent-color-rgb),.1), 0 0 30px rgba(var(--accent-color-rgb),.08)}.lb-deviceViewIcon{color:currentColor;place-items:center;display:grid}.lb-deviceViewIcon svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:58px;height:58px}.lb-deviceTab{border:0;border-right:1px solid var(--lb-border);min-height:38px;color:var(--lb-text);box-shadow:none;background:0 0;border-radius:0;margin:0;padding:0 14px;font-size:13px;font-weight:700}.lb-deviceTab:last-child{border-right:0}.lb-deviceTab.selected{background:linear-gradient(180deg, rgba(var(--accent-color-rgb),.24), var(--lb-control-surface-strong));color:var(--lb-text-strong)}.lb-activePlayersInline{white-space:nowrap;justify-items:end;gap:2px;padding-top:1px;display:grid}.lb-activePlayersLabel{color:var(--lb-muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.lb-activePlayersValue{color:var(--lb-text-strong);font-variant-numeric:tabular-nums;font-size:22px;font-weight:800;line-height:1}.lb-activePlayersCaption{color:var(--lb-muted);letter-spacing:.03em;font-size:11px}.lb-tableTitleBlock h3,.lb-chartHeader h3{color:var(--lb-text-strong);margin:0;font-size:17px;font-weight:800}.lb-tableTitleBlock p,.lb-chartHeader p{color:var(--lb-muted);margin:4px 0 0;font-size:12px;line-height:1.35}.lb-chartHeader p span{color:var(--accent-color)}.lb-tableShell{border:1px solid var(--lb-border);background:var(--lb-control-surface);border-radius:14px;flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.lb-tableHead{grid-template-columns:var(--lb-table-columns);border-bottom:1px solid var(--lb-border);color:var(--lb-text);font-variant-numeric:tabular-nums;align-items:center;font-weight:700;display:grid}.lb-tableBody{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--accent-color) transparent;-webkit-overflow-scrolling:touch;flex-direction:column;min-height:0;max-height:100%;padding:0;display:flex;overflow:hidden auto}.lb-tableBody::-webkit-scrollbar{width:8px}.lb-tableBody::-webkit-scrollbar-track{background:0 0}.lb-tableBody::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:999px}.lb-tableRow{grid-template-columns:var(--lb-table-columns);border-top:1px solid var(--lb-border);min-height:42px;color:var(--lb-text);font-variant-numeric:tabular-nums;align-items:center;gap:10px;padding:0 12px;display:grid}.lb-tableRow.topRank{background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.1), transparent 55%)}.lb-tableRow.isUserRow{background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.18), rgba(var(--accent-color-rgb),.06) 42%, transparent 82%);box-shadow:inset 3px 0 0 var(--accent-color), inset -1px 0 0 rgba(var(--accent-color-rgb),.3)}.lb-rankCell{color:var(--lb-text-strong);text-align:center;font-weight:800}.lb-metricCell{text-align:center;display:block}.lb-playerCell{align-items:center;gap:10px;min-width:0;display:flex}.lb-playerAvatar{border:1px solid rgba(var(--accent-color-rgb),.28);background:rgba(var(--accent-color-rgb),.12);width:30px;height:30px;color:var(--lb-text);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid}.lb-playerIdentity{flex-direction:column;min-width:0;display:flex}.lb-playerIdentity strong{color:var(--lb-text-strong);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;overflow:hidden}.lb-playerIdentity small{display:none}.lb-tableHead{gap:10px;min-height:40px;padding:0 12px;font-size:11px}.lb-tableStickyOverlay{z-index:5;pointer-events:none;display:none;position:absolute;left:0;right:0}.lb-tableStickyOverlay.anchorTop{top:40px}.lb-tableStickyOverlay.anchorBottom{bottom:0}.lb-tableStickyUserRow{pointer-events:auto;border-top:1px solid rgba(var(--accent-color-rgb),.36);background:linear-gradient(180deg, #ffffff06, transparent 42%), var(--lb-control-surface-strong);box-shadow:0 -10px 24px #00000052, 0 0 0 1px rgba(var(--accent-color-rgb),.3) inset}.lb-tableStickyUserRow.isUserRow{background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.2), rgba(var(--accent-color-rgb),.08) 42%, transparent 82%), var(--lb-control-surface-strong);box-shadow:inset 3px 0 0 var(--accent-color), inset -1px 0 0 rgba(var(--accent-color-rgb),.42), 0 10px 28px #00000057, 0 0 0 1px rgba(var(--accent-color-rgb),.3)}.lb-tableStickyOverlay.anchorTop .lb-tableStickyUserRow{box-shadow:0 10px 24px #00000052, 0 0 0 1px rgba(var(--accent-color-rgb),.24) inset}.lb-tableStickyOverlay.anchorBottom .lb-tableStickyUserRow{box-shadow:0 -10px 24px #00000052, 0 0 0 1px rgba(var(--accent-color-rgb),.24) inset}.lb-streakCell{color:var(--accent-color);font-weight:800}.lb-tableEmpty{text-align:center;justify-items:center;gap:10px;max-width:360px;margin:auto;padding:22px;display:grid}.lb-lockedState,.lb-chartLocked{margin:auto}.lb-chartLocked{text-align:center;justify-items:center;gap:10px;height:100%;min-height:320px;display:grid}.lb-chartLocked strong{color:var(--lb-text-strong);font-size:18px}.lb-chartLocked p{color:#dce6f2b8;max-width:420px;margin:0;font-size:14px;line-height:1.4}.lb-chartLocked small{color:#dce6f294;font-size:12px}.lb-tableEmptyIcon{border:1px solid rgba(var(--accent-color-rgb),.28);background:rgba(var(--accent-color-rgb),.08);width:58px;height:58px;color:var(--accent-color);border-radius:18px;place-items:center;display:grid}.lb-tableEmpty strong{color:var(--lb-text-strong);font-size:18px}.lb-tableEmpty p{color:var(--lb-muted);margin:0;font-size:14px;line-height:1.4}.lb-chartSurface{flex-direction:column;display:flex}.lb-chartHeader{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px;display:flex}.lb-chartHeaderActions{align-items:flex-start;gap:10px;display:flex}.lb-chartMetricBadge{border:1px solid rgba(var(--accent-color-rgb),.18);background:var(--lb-control-surface);text-align:right;border-radius:12px;padding:8px 10px}.lb-chartMetricBadge span{color:var(--lb-muted);text-transform:uppercase;font-size:11px;font-weight:700;display:block}.lb-chartMetricBadge strong{color:var(--lb-text-strong);margin-top:3px;font-size:15px;display:block}.lb-chartShell{flex:auto;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.lb-chartSvg{width:auto;max-width:100%;height:100%;max-height:350px;display:block;overflow:visible}.lb-gridLine{stroke:#ffffff1f;stroke-width:1px;stroke-dasharray:3 5}.lb-gridLineVertical{stroke:#ffffff17}.lb-gridLabel,.lb-xLabel{fill:#dde7f4d1;font-size:12px;font-family:var(--app-font)}.lb-chartPath{fill:none;stroke:var(--accent-color);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 12px rgba(var(--accent-color-rgb),.28))}.lb-chartArea{fill:url(#lbChartAreaGradient)}.lb-chartPoint{fill:var(--accent-color);stroke:#ffffffd1;stroke-width:2px}.lb-chartUserPoint{fill:var(--lb-text-strong);stroke:var(--accent-color);stroke-width:2px}.lb-chartReferenceLine{stroke-width:1.5px;stroke-dasharray:5 5}.lb-chartReferenceLine.avg{stroke:rgba(var(--accent-color-rgb),.72)}.lb-chartReferenceLine.user{stroke:#ffffff6b}.lb-chartReferenceLabel{font-size:12px;font-weight:700;font-family:var(--app-font)}.lb-chartReferenceLabel.avg{fill:var(--accent-color)}.lb-chartReferenceLabel.user{fill:#ecf4ffdb}.lb-percentileCard{border-top:1px solid #ffffff14;flex:none;margin-top:12px;padding-top:8px}.lb-percentileHeader{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.lb-percentileHeader strong{color:var(--lb-text-strong);font-size:14px;font-weight:700}.lb-percentileHeader span{color:var(--lb-muted);letter-spacing:.04em;text-transform:uppercase;font-size:11px}.lb-percentileBarTrack{border:1px solid var(--lb-border);background:linear-gradient(180deg, #ffffff08, #ffffff03), var(--lb-control-surface);border-radius:12px;width:calc(100% + 12px);height:40px;margin-left:-6px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff09}.lb-percentileBarFill{background:linear-gradient(90deg, rgba(var(--accent-color-rgb),.94), rgba(var(--accent-color-rgb),.76));height:100%;box-shadow:0 0 18px rgba(var(--accent-color-rgb),.22), inset 0 1px 0 #ffffff2e;border-radius:11px;display:block}.lb-percentileBarValue{color:var(--lb-text-strong);letter-spacing:.02em;text-shadow:0 1px 1px #00000059;font-size:15px;font-weight:800;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.lb-percentileHint{color:var(--lb-muted);letter-spacing:.01em;margin:10px 0 0;font-size:13px;line-height:1.5}.lb-percentileMeta{justify-content:space-between;align-items:flex-end;gap:12px;margin-top:5px;display:flex}.lb-percentileMeta span{color:var(--lb-muted);text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:700}.lb-percentileMetaValue{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.lb-percentileMeta strong{color:var(--lb-text-strong);font-size:17px;line-height:1}.lb-percentileMetaValue small{color:var(--lb-muted);letter-spacing:.01em;text-align:right;max-width:220px;font-size:11px;font-weight:500;line-height:1.35}@media (width<=1380px){.lb-modeStrip{grid-template-columns:repeat(4,minmax(0,1fr))}.lb-summaryGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.lb-mainGrid{grid-template-columns:1fr}}@media (width<=900px){#leaderboardOverlay{padding:14px}#leaderboardPanel{width:calc(100vw - 28px);max-width:calc(100vw - 28px);height:calc(100dvh - 28px);max-height:calc(100dvh - 28px);padding:18px 14px}#leaderboardHeader{margin:-18px -14px 18px;padding:18px 14px 16px}#leaderboardCloseButton{top:8px;right:8px}#leaderboardFullscreenButton{top:8px;right:48px}.lb-modeStrip,.lb-summaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.lb-summaryCard{grid-template-columns:56px minmax(0,1fr);gap:14px;min-height:88px}.lb-summaryIcon{border-radius:14px;width:54px;height:54px}.lb-tableBody{min-height:0}.lb-tableTitleRow{flex-direction:column;align-items:flex-start}.lb-chartHeader{flex-direction:column}.lb-chartHeaderActions{justify-content:flex-start;width:auto}}@media (width<=640px){#leaderboardPanel{height:auto;overflow:auto}.lb-modeStrip,.lb-summaryGrid,.lb-unlockModeGrid{grid-template-columns:1fr}.lb-modeButton{min-height:62px}.lb-tableHead{display:none}.lb-tableRow{grid-template-columns:1fr;gap:6px;padding:14px}.lb-rankCell{text-align:left}.lb-playerCell{margin-bottom:2px}.lb-chartMetricBadge{display:none}.lb-chartSvg{min-height:300px}.lb-deviceTabs{grid-auto-columns:1fr;width:100%}}html,body{min-height:100dvh}@media (width<=1100px) and (orientation:portrait){#mainMenu{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.8vw,18px);width:min(100%,760px);max-width:760px}.modeCard{aspect-ratio:auto;height:clamp(160px,18vh,210px)}.cardIcon{padding:18px 18px 12px}.cardBottom{min-height:52px;padding:0 14px}.cardBottom h2{line-height:1.08;font-size:clamp(13px,1.8vw,17px)!important}#settingsOverlay,#statsOverlay,#leaderboardOverlay,#streakOverlay,#gameModalOverlay{align-items:flex-start;padding:16px}#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#gameModalPanel{width:calc(100vw - 32px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:22px 18px 18px}#settingsContent{grid-template-columns:1fr;gap:20px}.settingsSidebar{width:100%}.settingsSidebarInner{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settingsAutoSaveNote{display:none}.settingsGeneralGrid,.settingsMasonry,.settingsThemeGrid,.settingsTypographyGrid,.backgroundPreviewGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px) and (orientation:portrait){#leaderboardButton,#streakButton,#statsButton,#settingsButton,#mobileActionsToggle{top:auto;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:12px;height:54px;min-height:54px}#streakButton{white-space:nowrap;overflow:hidden}#streakButton .streakButtonShell{gap:8px;padding:0 8px}#streakButton .streakFlame{width:24px;height:24px}#streakButton .streakDivider{height:28px}#streakButton .streakText{font-size:19px}#title{font-size:clamp(26px,8.4vw,40px)!important}#mainMenu{height:calc(100dvh - clamp(320px, 88vw, 340px) - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.settingsSidebarInner{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsSection{padding:14px 12px}.settingsSideItem small{font-size:12px}.settingsGeneralGrid,.settingsMasonry,.settingsThemeGrid,.settingsTypographyGrid,.backgroundPreviewGrid{grid-template-columns:1fr}.settingsSegmentControl{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;width:100%}.settingsDanger{grid-template-columns:1fr}#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#gameModalPanel{width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:18px 14px 16px}#settingsTitle,#statsTitle,#leaderboardTitle,#streakTitle,#gameModalTitle{font-size:clamp(22px,5.6vw,30px)!important}.gameHud{left:12px;top:calc(56px + env(safe-area-inset-top));box-sizing:border-box;border-radius:14px;width:calc(100vw - 24px);padding:14px 14px 12px}#grid{max-width:calc(100vw - 24px);margin-top:0}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{box-sizing:border-box;width:calc(100vw - 24px);bottom:12px;left:12px;transform:none}}@media (height<=520px) and (orientation:landscape){body{padding:calc(10px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));overflow:hidden auto}.lobbyHeader{height:auto;min-height:78px;padding:8px 192px 6px}.lobbyHeader #title{font-size:clamp(24px,3.6vw,36px)}#lobbySubtitle{white-space:normal;margin-top:8px;font-size:clamp(12px,1.6vw,14px)}#leaderboardButton,#streakButton,#statsButton,#settingsButton{top:calc(10px + env(safe-area-inset-top));width:46px;min-width:46px;height:46px;min-height:46px}#leaderboardButton{left:calc(10px + env(safe-area-inset-left))}#streakButton{right:calc(118px + env(safe-area-inset-right));width:92px;min-width:92px}#statsButton{right:calc(64px + env(safe-area-inset-right))}#settingsButton{right:calc(10px + env(safe-area-inset-right))}#mainMenu{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,920px);max-width:none;margin-top:58px}.modeCard{aspect-ratio:auto;height:clamp(112px,22vh,156px)}.cardIcon{padding:0 8px 6px}.cardBottom{min-height:40px;padding:0 10px}.cardBottom h2{font-size:clamp(10px,1.8vw,13px);line-height:1.06}#settingsOverlay,#statsOverlay,#leaderboardOverlay,#streakOverlay,#gameModalOverlay{align-items:flex-start;padding:10px}#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#gameModalPanel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:12px;padding:14px 12px 12px}#settingsContent{grid-template-columns:1fr;gap:14px}.settingsSidebarInner{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.settingsAutoSaveNote{display:none}.settingsGeneralGrid,.settingsMasonry,.settingsThemeGrid,.settingsTypographyGrid,.backgroundPreviewGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsSideItem{min-height:58px;padding:10px}.settingsSection{padding:12px 10px}.settingsSegmentControl{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;width:100%}.gameHud{left:10px;top:calc(54px + env(safe-area-inset-top));box-sizing:border-box;border-radius:14px;width:calc(100vw - 20px);padding:12px 12px 10px}#game.visualMemoryGame,#game.sequenceGame,#game.chimpGame{padding:calc(84px + env(safe-area-inset-top)) 0 18px;justify-content:flex-start}#game.advancedGame{padding:calc(12px + env(safe-area-inset-top)) 12px calc(84px + env(safe-area-inset-bottom))}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{box-sizing:border-box;width:calc(100vw - 20px);bottom:10px;left:10px;transform:none}#game.advancedGame #advancedPatterns{gap:12px;width:min(100%,620px);min-height:0;top:clamp(80px,16vh,112px)!important}#game.advancedGame .advancedGamePattern{gap:8px}#game.advancedGame .patternLetter{font-size:24px}#game.advancedGame .patternGrid{gap:8px}#game.advancedGame .patternCell{width:72px;height:72px}#game.advancedGame #grid{top:clamp(166px,33vh,212px)!important}#game.advancedGame #targetPattern{top:clamp(124px,24vh,154px)!important}#game.advancedGame #continueButton,#game.advancedGame #checkButton{top:clamp(292px,58vh,336px)!important}#game.advancedGame.advancedAnswerPhase #grid{top:clamp(180px,35vh,224px)!important}#game.advancedGame.advancedAnswerPhase #checkButton{top:clamp(292px,58vh,336px)!important}#game.sequenceAdvancedGame,#game.chimpAdvancedGame{width:100%;min-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:calc(56px + env(safe-area-inset-top)) 12px calc(72px + env(safe-area-inset-bottom))}#game.sequenceAdvancedGame .sequenceAdvancedGrid,#game.chimpAdvancedGame .chimpAdvancedGrid{width:min(100%,720px);height:min(calc(100dvh - 180px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 520px);gap:6px}#game.sequenceAdvancedGame .sequenceAdvancedGrid{margin-top:20px!important}#game.sequenceAdvancedGame #replayPatternButton{bottom:calc(150px + env(safe-area-inset-bottom));width:min(220px,100vw - 64px)}#game.chimpAdvancedGame #continueButton{top:auto;bottom:calc(18px + env(safe-area-inset-bottom))}}@media (width<=340px) and (orientation:portrait){#leaderboardButton,#streakButton,#statsButton,#settingsButton,#mobileActionsToggle{bottom:calc(8px + env(safe-area-inset-bottom));border-radius:11px;height:46px;min-height:46px}#leaderboardButton,#statsButton,#settingsButton{width:46px;min-width:46px;max-width:46px}#streakButton{min-width:88px;max-width:88px}#mainMenu{gap:8px}.modeCard{border-radius:12px}.cardIcon{padding:4px 8px}.cardBottom{min-height:38px;padding:0 8px}.cardBottom h2{font-size:clamp(10px,3vw,12px)!important}#title{font-size:clamp(24px,7.2vw,32px)!important}}@media (width<=640px) and (orientation:portrait){#leaderboardButton,#streakButton,#statsButton,#settingsButton{top:auto;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:12px;height:54px;min-height:54px;margin:0}#leaderboardButton,#statsButton,#settingsButton{width:56px;min-width:56px;max-width:56px;padding:0}#streakButton{width:108px;min-width:108px;max-width:108px;left:calc(50% - 180px);right:auto}#leaderboardButton{left:calc(50% - 44px);right:auto}#statsButton{left:calc(50% + 40px);right:auto}#settingsButton{left:calc(50% + 124px);right:auto}#mobileActionsToggle{visibility:hidden;pointer-events:none;display:block}#mainMenu{grid-template-rows:repeat(4,minmax(clamp(108px,18vw,168px),1fr));grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:clamp(10px,1.8vw,14px);width:min(100%,560px);max-width:560px;margin:0 auto}.modeCard{aspect-ratio:auto;height:100%;min-height:clamp(108px,18vw,168px)}#game.advancedGame{padding:calc(10px + env(safe-area-inset-top)) 12px calc(84px + env(safe-area-inset-bottom))}#game.advancedGame #advancedPatterns{flex-direction:column;align-items:center;gap:12px;width:min(100%,228px);max-width:228px;min-height:0;top:clamp(90px,12vh,124px)!important}#game.advancedGame .advancedGamePattern{gap:6px}#game.advancedGame .patternLetter{font-size:clamp(22px,5vw,28px)}#game.advancedGame .patternGrid{gap:4px}#game.advancedGame #targetPattern{font-size:clamp(18px,4.8vw,24px);top:clamp(182px,24vh,232px)!important}#game.advancedGame #grid{top:clamp(232px,30vh,286px)!important}#game.advancedGame.advancedAnswerPhase #grid{top:clamp(224px,29vh,276px)!important}#game.advancedGame #continueButton,#game.advancedGame #checkButton{top:auto!important;bottom:calc(96px + env(safe-area-inset-bottom))!important}}@media (width<=640px) and (orientation:portrait),(width<=900px) and (height<=520px) and (orientation:landscape){.modeCard,.modeCard:before,.modeCard:after,.modeCard:hover,.modeCard:focus-visible,.modeCard:active{filter:none!important;box-shadow:none!important;transition:none!important;animation:none!important;transform:none!important}.modeCard:hover,.modeCard:focus-visible,.modeCard:active{filter:none!important;box-shadow:none!important;transform:none!important}#gameModalOverlay{-webkit-backdrop-filter:none!important}#gameModalPanel,#gameModalPanel:before,#gameModalPanel:after{filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;transition:none!important;animation:none!important;transform:none!important}body.theme-glass #gameModalPanel{-webkit-backdrop-filter:none!important}}#settingsOverlay{overflow:hidden}#settingsPanel{flex-direction:column;min-height:0;display:flex;overflow:hidden}#settingsHeader{flex:none;position:relative;top:auto}#settingsContent{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;flex:auto;min-height:0;overflow:hidden auto}.settingsDashboard,.settingsSidebar,.settingsSidebarInner{min-height:0}.settingsSidebar{max-height:100%}@media (width>=1101px){.settingsSidebar{top:0}}@media (width<=1100px){.settingsSidebar{max-height:none}}#settingsContent[data-settings-mode=mobile-pages] .settingsDashboard>.settingsSection[hidden]{display:none!important}.settingsNavIcon{object-fit:contain;fill:currentColor;stroke:none;pointer-events:none;width:100%;height:100%;display:block;overflow:hidden}.settingsNavIcon use{pointer-events:none}.settingsCanonicalCategoryIcon{fill:currentColor;stroke:none;overflow:hidden}#settingsOverlay .settingsSideIcon>.settingsNavIcon,#settingsOverlay .settingsCanonicalCategoryIcon{fill:currentColor;stroke:none;stroke-width:0}#settingsOverlay .settingsNavIcon use,#settingsOverlay .settingsCanonicalCategoryIcon use{fill:currentColor;stroke:none}@media (width<=640px),(width<=900px) and (height<=520px) and (orientation:landscape){#settingsOverlay{-webkit-backdrop-filter:none;background:#01070ee6}#settingsPanel{box-shadow:none;background:#0b121df5;transition:none;animation:none;transform:none}#settingsOverlay.open #settingsPanel,#settingsOverlay:not(.open) #settingsPanel{transform:none}.settingsSidebar{-webkit-backdrop-filter:none;box-shadow:none;background:#18263ae6;align-self:stretch;transition:none;position:relative;top:auto;transform:none}.settingsSidebarInner,.settingsSection{box-shadow:none;filter:none;-webkit-backdrop-filter:none;transition:none;transform:none}.settingsSection{background:#162233f0}#settingsButton .assetIcon{filter:none;transform:scale(1)}#settingsButton .assetIcon:before,#settingsButton .assetIcon:after{filter:none;transition:none;transform:none}#settingsButton,#settingsButton:before,#settingsButton:after,#settingsButton .hubUtilityGlyph,#settingsButton .hubUtilityGlyph:before,#settingsButton .hubUtilityGlyph:after,#settingsButton .assetIcon,#settingsButton .assetIcon:before,#settingsButton .assetIcon:after,#settingsButton:hover,#settingsButton:focus-visible,#settingsButton:active,#settingsCloseButton,#settingsCloseButton:before,#settingsCloseButton:after,#settingsCloseButton *,#settingsCloseButton:hover,#settingsCloseButton:focus-visible,#settingsCloseButton:active,#settingsCloseButton:hover *,#settingsCloseButton:focus-visible *,#settingsCloseButton:active *{transition:none!important;animation:none!important}#settingsButton:hover,#settingsButton:focus-visible,#settingsButton:active,#settingsButton:hover:before,#settingsButton:focus-visible:before,#settingsButton:active:before,#settingsButton:hover:after,#settingsButton:focus-visible:after,#settingsButton:active:after,#settingsButton:hover .hubUtilityGlyph,#settingsButton:focus-visible .hubUtilityGlyph,#settingsButton:active .hubUtilityGlyph,#settingsButton:hover .assetIcon,#settingsButton:focus-visible .assetIcon,#settingsButton:active .assetIcon,#settingsCloseButton:hover,#settingsCloseButton:focus-visible,#settingsCloseButton:active,#settingsCloseButton:hover:before,#settingsCloseButton:focus-visible:before,#settingsCloseButton:active:before,#settingsCloseButton:hover:after,#settingsCloseButton:focus-visible:after,#settingsCloseButton:active:after,#settingsCloseButton:hover *,#settingsCloseButton:focus-visible *,#settingsCloseButton:active *{filter:none!important;box-shadow:none!important;transform:none!important}}@media screen and (width<=640px) and (orientation:portrait),screen and (width<=900px) and (height<=520px) and (orientation:landscape){html body .modeCard,html body .modeCard:before,html body .modeCard:after,html body .modeCard:hover,html body .modeCard:focus-visible,html body .modeCard:active{filter:none!important;box-shadow:none!important;transition:none linear!important;animation-name:none!important;animation-duration:0s!important;animation-iteration-count:1!important;animation-direction:normal!important;animation-play-state:running!important;animation-delay:0s!important;animation-fill-mode:none!important;transform:none!important}html body .modeCard:hover,html body .modeCard:focus-visible,html body .modeCard:active{filter:none!important;box-shadow:none!important;transform:none!important}html body #gameModalOverlay{-webkit-backdrop-filter:none!important}html body #gameModalPanel,html body #gameModalPanel:before,html body #gameModalPanel:after{filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;transition:none linear!important;animation-name:none!important;animation-duration:0s!important;animation-iteration-count:1!important;animation-direction:normal!important;animation-play-state:running!important;animation-delay:0s!important;animation-fill-mode:none!important;transform:none!important}html body #gameModalPanel{background:linear-gradient(180deg, #ffffff09, transparent 22%), var(--settings-panel-surface)}html body.theme-glass #gameModalPanel{-webkit-backdrop-filter:none!important}}@media (hover:none) and (pointer:coarse){button,.modeCard,.statsTab,.statsSummaryCard[data-stats-action],.lb-modeButton,.lb-summaryCard.interactive,.lb-unlockModeItem,.lb-deviceViewOption,.lb-unlockActionButton,.settingsSideItem,.settingsSegmentOption,.themePreviewCard,.backgroundPreviewCard,.settingsTypographyOption,.settingsLanguageOption,.settingsAddColorButton,.customColorPickerButton,.customColorResetButton,.customPickerCloseButton,.customPickerConfirmButton,.runOverButton{touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:none!important;-webkit-backdrop-filter:none!important;transition:none!important;animation:none!important}button:hover,button:focus-visible,button:active,.modeCard:hover,.modeCard:focus-visible,.modeCard:active,.statsTab:hover,.statsTab:focus-visible,.statsTab:active,.statsSummaryCard[data-stats-action]:hover,.statsSummaryCard[data-stats-action]:focus-visible,.statsSummaryCard[data-stats-action]:active,.lb-modeButton:hover,.lb-modeButton:focus-visible,.lb-modeButton:active,.lb-summaryCard.interactive:hover,.lb-summaryCard.interactive:focus-visible,.lb-summaryCard.interactive:active,.lb-unlockModeItem:hover,.lb-unlockModeItem:focus-visible,.lb-unlockModeItem:active,.lb-deviceViewOption:hover,.lb-deviceViewOption:focus-visible,.lb-deviceViewOption:active,.lb-unlockActionButton:hover,.lb-unlockActionButton:focus-visible,.lb-unlockActionButton:active,.settingsSideItem:hover,.settingsSideItem:focus-visible,.settingsSideItem:active,.settingsSegmentOption:hover,.settingsSegmentOption:focus-visible,.settingsSegmentOption:active,.themePreviewCard:hover,.themePreviewCard:focus-visible,.themePreviewCard:active,.backgroundPreviewCard:hover,.backgroundPreviewCard:focus-visible,.backgroundPreviewCard:active,.settingsTypographyOption:hover,.settingsTypographyOption:focus-visible,.settingsTypographyOption:active,.settingsLanguageOption:hover,.settingsLanguageOption:focus-visible,.settingsLanguageOption:active,.settingsAddColorButton:hover,.settingsAddColorButton:focus-visible,.settingsAddColorButton:active,.customColorPickerButton:hover,.customColorPickerButton:focus-visible,.customColorPickerButton:active,.customColorResetButton:hover,.customColorResetButton:focus-visible,.customColorResetButton:active,.customPickerCloseButton:hover,.customPickerCloseButton:focus-visible,.customPickerCloseButton:active,.customPickerConfirmButton:hover,.customPickerConfirmButton:focus-visible,.customPickerConfirmButton:active,.runOverButton:hover,.runOverButton:focus-visible,.runOverButton:active{filter:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;transform:none!important}#statsOverlay,#leaderboardOverlay,#settingsOverlay,#streakOverlay,#gameModalOverlay{-webkit-backdrop-filter:none!important;background:#01070ee6!important;transition:none!important;animation:none!important}#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel{filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;transition:none!important;animation:none!important;transform:none!important}#statsHeader,#leaderboardHeader,#settingsHeader,.statsAllGamesHeader{-webkit-backdrop-filter:none!important;box-shadow:none!important;transition:none!important;animation:none!important}:is(.hubUtilityGlyph.assetIcon,.streakFlame.assetIcon,.runOverHeaderIcon.assetIcon,.statsHeaderIcon .assetIcon,.statsSectionIcon .assetIcon,.statsSummaryIcon .assetIcon,.statsSummaryWatermark .assetIcon,.statsTabIcon .assetIcon,.statsEmptyIcon .assetIcon,.statsPlayNowButton .assetIcon,.statsTipBar .assetIcon,.lb-headerIcon .assetIcon,.lb-modeIcon .assetIcon,.lb-summaryIcon .assetIcon,.lb-tableEmptyIcon .assetIcon,.gameModalTinyIcon .assetIcon,.settingsSection h3 .assetIcon,.settingsGroup legend .assetIcon,.settingsFieldTitle .assetIcon){filter:none!important;transform:scale(1)!important}:is(.hubUtilityGlyph.assetIcon,.streakFlame.assetIcon,.runOverHeaderIcon.assetIcon,.statsHeaderIcon .assetIcon,.statsSectionIcon .assetIcon,.statsSummaryIcon .assetIcon,.statsSummaryWatermark .assetIcon,.statsTabIcon .assetIcon,.statsEmptyIcon .assetIcon,.statsPlayNowButton .assetIcon,.statsTipBar .assetIcon,.lb-headerIcon .assetIcon,.lb-modeIcon .assetIcon,.lb-summaryIcon .assetIcon,.lb-tableEmptyIcon .assetIcon,.gameModalTinyIcon .assetIcon,.settingsSection h3 .assetIcon,.settingsGroup legend .assetIcon,.settingsFieldTitle .assetIcon):after{display:none!important}:is(.hubUtilityGlyph.assetIcon,.streakFlame.assetIcon,.runOverHeaderIcon.assetIcon,.statsHeaderIcon .assetIcon,.statsSectionIcon .assetIcon,.statsSummaryIcon .assetIcon,.statsSummaryWatermark .assetIcon,.statsTabIcon .assetIcon,.statsEmptyIcon .assetIcon,.statsPlayNowButton .assetIcon,.statsTipBar .assetIcon,.lb-headerIcon .assetIcon,.lb-modeIcon .assetIcon,.lb-summaryIcon .assetIcon,.lb-tableEmptyIcon .assetIcon,.gameModalTinyIcon .assetIcon,.settingsSection h3 .assetIcon,.settingsGroup legend .assetIcon,.settingsFieldTitle .assetIcon):before{filter:none!important;transform:scale(1)!important}#statsOverlay,#leaderboardOverlay,#streakOverlay{overflow:hidden}#statsPanel,#leaderboardPanel,#streakPanel{width:calc(100vw - 20px);height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden!important}#leaderboardPanel.leaderboardPanelLocked{height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}#statsHeader,#leaderboardHeader,#streakTitle{flex:none}#statsCards,#leaderboardContent,#streakContent{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow:hidden auto}#statsCards>.statsTabPanel,#statsCards .statsAllGamesView,#statsCards .statsAllGamesView .statsGameListFull,#statsCards .statsRecentSessionList{flex:none;min-height:auto;overflow:visible}#leaderboardContent .lb-tableBody{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:clamp(220px,52dvh,460px);min-height:220px;max-height:460px;overflow:hidden auto}#leaderboardButton,#streakButton,#statsButton,#settingsButton,#leaderboardButton:before,#streakButton:before,#statsButton:before,#settingsButton:before,#streakButton .streakFlame,#streakButton .streakFlame:before,#streakButton .streakFlame:after{filter:none!important;box-shadow:none!important;transition:none!important;animation:none!important;transform:none!important}#leaderboardButton:before,#streakButton:before,#statsButton:before,#settingsButton:before{display:none}#leaderboardButton .hubUtilityGlyph.assetIcon:before,#statsButton .hubUtilityGlyph.assetIcon:before,#settingsButton .hubUtilityGlyph.assetIcon:before,#streakButton .streakFlame.assetIcon:before{opacity:1!important;filter:none!important;transition:none!important;animation:none!important;display:block!important;transform:none!important}#leaderboardButton .hubUtilityGlyph.assetIcon:after,#statsButton .hubUtilityGlyph.assetIcon:after,#settingsButton .hubUtilityGlyph.assetIcon:after,#streakButton .streakFlame.assetIcon:after{display:none!important}#streakButton.active .streakFlame,#streakButton.streakPending .streakFlame{filter:none!important}#screenFeedback{contain:paint;isolation:isolate;transform:none;box-shadow:none!important}#screenFeedback.screenFeedback.correct,#screenFeedback.screenFeedback.wrong{box-shadow:none!important;animation:none!important}}#game.gamePreparing{justify-content:center;min-height:calc(100dvh - 56px);position:relative;overflow:hidden}#game.gamePreparing>*{opacity:0!important;pointer-events:none!important}#game.gamePreparing:before{background:linear-gradient(90deg, transparent, var(--accent-color), transparent);opacity:.82;border-radius:999px;width:min(220px,42vw);height:4px}.gameModalBody{display:contents}@media (width<=900px) and (height<=520px) and (orientation:landscape){#mainMenu{width:100%;height:auto;min-height:0;margin:calc(68px + env(safe-area-inset-top)) auto 0;grid-template-rows:repeat(2,auto);grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(112px,35svh,126px);align-content:start;gap:clamp(8px,1.4vw,10px);overflow:visible}.modeCard{min-width:0;height:clamp(112px,35svh,126px);min-height:112px}#gameModalOverlay{padding:calc(10px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left))}#gameModalPanel{width:100%;height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));align-items:stretch;padding:14px 12px 12px;overflow:hidden}.gameModalBody{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;flex:auto;align-items:center;min-width:0;min-height:0;padding:0 clamp(42px,8vw,64px);display:flex;overflow:hidden auto}#gameModalIcon{flex:none;min-height:0;margin-top:0}#gameModalIcon .gameModalTinyIcon{width:clamp(118px,36dvh,144px);height:clamp(118px,36dvh,144px)}#gameModalTitle,#gameModalPanel.gameModalAdvanced #gameModalTitle{white-space:normal;text-wrap:balance;overflow-wrap:anywhere;flex:none;margin:4px 0 0;padding:0;line-height:1.05;font-size:clamp(24px,7dvh,30px)!important}#gameModalDescription,#gameModalPanel.gameModalAdvanced #gameModalDescription{flex:none;max-width:520px;margin:6px 0 0;font-size:clamp(15px,4.6dvh,18px);line-height:1.28}#gameModalStartButton{flex:none;align-self:center;min-width:min(220px,100% - 88px);margin-top:8px}#game.visualMemoryGame{width:100%;height:calc(100dvh - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0;max-height:calc(100dvh - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom));grid-template-rows:minmax(0,1fr);grid-template-columns:clamp(200px,31vw,236px) minmax(0,1fr);justify-content:stretch;align-items:start;gap:clamp(12px,2.2vw,18px);padding:0;overflow:visible;display:grid!important}#game.visualMemoryGame .gameHud{box-sizing:border-box;grid-area:1/1;align-self:center;gap:12px;width:100%;max-width:none;max-height:100%;padding:12px;position:relative;inset:auto}#game.visualMemoryGame .gameHudContent{gap:12px;min-width:0;min-height:0}#game.visualMemoryGame .gameHudTop{gap:10px}#game.visualMemoryGame .gameHudLabel{font-size:clamp(13px,4dvh,16px)}#game.visualMemoryGame #levelText{font-size:clamp(42px,15dvh,54px)}#game.visualMemoryGame #livesText{gap:4px;min-height:clamp(42px,15dvh,54px)}#game.visualMemoryGame #grid{grid-area:1/2;place-self:start center;min-width:0;max-width:100%;min-height:0;max-height:100%;margin:0}}.gameIconMount[data-game-icon=number],.gameIconMount[data-game-icon=word]{--hub-game-icon-size:200px}.assetGameIcon-number,.assetGameIcon-word{color:var(--accent-color);filter:none!important}.gameIconMount .assetGameIcon-number,.gameIconMount .assetGameIcon-word{width:var(--hub-game-icon-size)!important;height:var(--hub-game-icon-size)!important}#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#gameModalPanel{--utility-control-size:44px;--utility-control-gap:4px;--utility-control-inset-inline:max(4px, env(safe-area-inset-right));--utility-control-inset-block:max(4px, env(safe-area-inset-top));position:relative}#settingsHeader,#statsHeader,#leaderboardHeader{padding-inline-end:calc(var(--utility-control-inset-inline) + var(--utility-control-size) * 2 + var(--utility-control-gap) + 4px)!important}.utilityModalControl[hidden]{display:none!important}.utilityModalControlIcon,.utilityModalControlIcon svg{pointer-events:none;width:22px;height:22px;display:block}.utilityModalControlIcon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.utilityModalControl:focus-visible{outline-offset:-4px;outline:2px solid var(--accent-color)!important}@media (width<=599px),(height<=599px){#settingsHeader,#statsHeader,#leaderboardHeader{padding-inline-end:calc(var(--utility-control-inset-inline) + var(--utility-control-size) + 4px)!important}}@media (width<=340px) and (orientation:portrait){body{--hub-bar-edge:clamp(6px, 2vw, 10px);--hub-bar-gap:clamp(8px, 3.25vw, 11px)}#leaderboardButton,#streakButton,#statsButton,#settingsButton{min-width:0;max-width:none;bottom:calc(clamp(8px, 3vw, 12px) + env(safe-area-inset-bottom))}#streakButton{left:calc(env(safe-area-inset-left) + var(--hub-bar-edge));width:108px;right:auto}#leaderboardButton{left:calc(env(safe-area-inset-left) + var(--hub-bar-edge) + 108px + var(--hub-bar-gap));width:56px;right:auto}#statsButton{left:calc(env(safe-area-inset-left) + var(--hub-bar-edge) + 164px + var(--hub-bar-gap) + var(--hub-bar-gap));width:56px;right:auto}#settingsButton{left:auto;right:calc(env(safe-area-inset-right) + var(--hub-bar-edge));width:56px}#leaderboardButton>*,#streakButton>*,#statsButton>*,#settingsButton>*{min-width:0}#streakButton .streakButtonShell{gap:clamp(4px,2vw,8px);min-width:0;padding-inline:clamp(6px,2.5vw,8px)}}#statsCards>.statsTabPanel[hidden]{display:none}@media (width>=768px) and (width<=1280px){.settingsGeneralGrid>.settingsSegmentGroup{min-width:0;min-inline-size:0}.settingsGeneralGrid>.settingsSegmentGroup .settingsSegmentControl{grid-auto-columns:minmax(0,1fr);width:100%;min-width:0}.settingsGeneralGrid>.settingsSegmentGroup .settingsSegmentOption{min-width:0;padding:6px clamp(10px,1.4vw,16px);line-height:1.15}.settingsGeneralGrid>.settingsSegmentGroup .settingsSegmentOption span{overflow-wrap:anywhere;white-space:normal;min-width:0}.settingsGeneralGrid>.settingsSegmentGroup:has(input[name=glowIntensity]) .settingsSegmentControl{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-columns:auto;grid-auto-flow:row}}@media (width<=1100px){.settingsSideItem>span:last-child{min-width:0}.settingsSideItem strong{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.15;overflow:visible}}@media (width<=640px) and (orientation:portrait),(width<=900px) and (height<=520px) and (orientation:landscape){.settingsSideItem{row-gap:6px}.settingsSideItem>span:last-child{display:contents}.settingsSideItem strong{grid-area:1/2}.settingsSideItem small{text-overflow:clip;-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-area:2/1/auto/-1;min-width:0;display:-webkit-box;overflow:hidden}}@media (width<=420px) and (orientation:portrait){.settingsSideItem{column-gap:clamp(6px,2vw,9px);padding-inline:clamp(7px,2.5vw,10px)}.settingsSideItem strong{font-size:clamp(13px,4vw,15px)}}.lb-loadingShell{box-sizing:border-box;border:1px solid var(--settings-border);background:var(--settings-section-surface);border-radius:14px;gap:16px;min-height:420px;padding:18px;display:grid}.lb-loadingCopy{flex-direction:column;gap:5px;display:flex}.lb-loadingCopy strong{color:#f4f7fb;font-size:18px}.lb-loadingCopy span{color:var(--settings-muted);font-size:13px;line-height:1.35}.lb-loadingModeStrip,.lb-loadingSummaryGrid,.lb-loadingRows{gap:10px;display:grid}.lb-loadingModeStrip{grid-template-columns:repeat(6,minmax(0,1fr))}.lb-loadingSummaryGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.lb-loadingRows{grid-template-columns:1fr}.lb-loadingModeStrip span,.lb-loadingSummaryGrid span,.lb-loadingRows span{border:1px solid var(--settings-border);background:var(--settings-control-surface);border-radius:9px;display:block}.lb-loadingModeStrip span{min-height:44px}.lb-loadingSummaryGrid span{min-height:82px}.lb-loadingRows span{min-height:42px}.lb-chartLoading{min-height:320px;color:var(--settings-muted);flex-direction:column;justify-content:center;gap:6px;display:flex}.lb-chartLoading strong{color:#f4f7fb;font-size:17px}.lb-chartLoading span{font-size:13px;line-height:1.35}.statsAllGamesView .statsGameIdentity h4,.statsAllGamesView .statsGameStat span{word-break:normal;overflow-wrap:normal}@media (width>=901px){#statsFullscreenButton{right:54px}}@media (width>=641px) and (width<=900px){#statsFullscreenButton{right:66px}}@media (width<=640px) and (orientation:portrait){.statsAllGamesView .statsGameListFull{grid-template-columns:minmax(0,1fr);width:100%;padding-right:0}.statsAllGamesView .statsGameCard{width:100%;min-width:0;padding:14px}.statsAllGamesView .statsGameMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.statsHeaderIntro{box-sizing:border-box;gap:14px;min-width:0;padding-right:96px}.statsHeaderCopy,#statsTitle,#statsSubtitle{min-width:0;max-width:100%}#statsTitle{text-align:left;width:auto;padding-inline:0}.lb-loadingShell{min-height:360px;padding:14px}.lb-loadingModeStrip{grid-template-columns:repeat(3,minmax(0,1fr))}.lb-loadingSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#settingsOverlay{background:var(--settings-overlay-scrim)}#settingsPanel{background:var(--settings-panel-surface)}#settingsContent{box-sizing:border-box;border:1px solid var(--settings-border);background:var(--settings-sidebar-surface);border-radius:12px;padding:8px}.settingsSidebar{background:0 0;border:0;padding:0}.settingsSidebarInner{gap:8px}.settingsSideItem{border-color:var(--settings-border);background:var(--settings-control-surface);text-align:center;grid-template-rows:30px auto;grid-template-columns:minmax(0,1fr);align-content:start;justify-items:center;row-gap:7px;min-height:96px;padding:10px 8px}.settingsSideItem.selected{border-color:rgba(var(--accent-color-rgb),.62);background:linear-gradient(rgba(var(--accent-color-rgb),.12), rgba(var(--accent-color-rgb),.12)), var(--settings-control-surface);box-shadow:0 3px 0 var(--accent-color) inset}.settingsSideIcon{box-sizing:border-box;width:30px;height:30px;color:var(--accent-color);background:0 0;border:0;border-radius:0;padding:0}.settingsSideItem.selected .settingsSideIcon{color:var(--accent-color);background:0 0;border-color:#0000}.settingsSideItem>span:last-child{width:100%;min-width:0;display:block}.settingsSideItem strong{text-overflow:clip;white-space:normal;word-break:normal;overflow-wrap:normal;margin:0 0 4px;font-size:clamp(13px,4vw,15px);line-height:1.15;display:block;overflow:visible}.settingsSideItem small{text-overflow:clip;word-break:normal;overflow-wrap:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;display:-webkit-box;overflow:hidden}.settingsSection{border-color:var(--settings-border);background:var(--settings-section-surface)}}@media (width<=900px) and (height<=520px) and (orientation:landscape){#settingsOverlay{background:var(--settings-overlay-scrim)}#settingsPanel{background:var(--settings-panel-surface)}#settingsContent{border:1px solid var(--settings-border);background:var(--settings-sidebar-surface);border-radius:12px}.settingsSidebar{background:0 0}.settingsSideItem{border-color:var(--settings-border);background:var(--settings-control-surface)}.settingsSideItem.selected{border-color:rgba(var(--accent-color-rgb),.62);background:linear-gradient(rgba(var(--accent-color-rgb),.12), rgba(var(--accent-color-rgb),.12)), var(--settings-control-surface);box-shadow:3px 0 0 var(--accent-color) inset}.settingsSideIcon{box-sizing:border-box;color:var(--accent-color);background:0 0;border:0;border-radius:0;padding:0}.settingsSideItem strong,.settingsSideItem small{word-break:normal;overflow-wrap:normal}.settingsSection{background:var(--settings-section-surface)}}@media (width<=900px){#leaderboardHeader{grid-template-columns:minmax(0,1fr) 46px 46px;grid-template-areas:"intro fullscreen close";align-items:start;gap:6px}.lb-headerIntro{grid-area:intro;min-width:0}#leaderboardFullscreenButton,#leaderboardCloseButton{align-self:start;margin:0;position:static;inset:auto}#leaderboardFullscreenButton{grid-area:fullscreen}#leaderboardCloseButton{grid-area:close}#statsCards .statsOverviewGrid{flex:none;grid-auto-rows:auto;align-items:start;height:auto;min-height:auto}#statsCards .statsRecentSection,#statsCards .statsDailySection{height:auto;min-height:0;overflow:visible}#statsCards .statsRecentSessionList{overflow:visible}#leaderboardContent .lb-mainGrid{flex:none;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);align-items:start;height:auto;min-height:auto}#leaderboardContent .lb-tableSurface,#leaderboardContent .lb-chartSurface{height:auto;min-height:auto}#leaderboardContent .lb-chartSurface{overflow:visible}.lb-summaryGrid>.lb-summaryCard.lb-deviceSelectorCard{grid-template-columns:minmax(0,1fr);width:100%;height:auto;min-height:0;padding:0;display:block;overflow:hidden}.lb-deviceSelectorCard .lb-deviceViewPicker{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0}.lb-deviceSelectorCard .lb-deviceViewOption{min-width:0}.lb-chartSurface>.lb-chartHeader,.lb-chartSurface>.lb-chartShell,.lb-chartSurface>.lb-percentileCard{flex:none}.lb-chartSurface>.lb-chartShell{width:100%}}@media (width<=640px) and (orientation:portrait),(width<=900px) and (height<=520px) and (orientation:landscape){.statsRecentSection{width:100%;padding:12px}.statsRecentSessionCard{box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"identity identity played""score record record""bottom bottom bottom""progress progress progress";gap:8px 10px;width:100%;height:auto;min-height:0;padding:10px;display:grid}.statsRecentSessionTop,.statsRecentSessionResult{display:contents}.statsRecentSessionIdentity{grid-area:identity;align-items:start;gap:7px;min-width:0}.statsRecentSessionIcon{border-radius:9px;width:34px;height:34px}.statsRecentSessionIcon .assetGameIcon{width:30px;height:30px;min-height:30px}.statsRecentSessionText{min-width:0}.statsRecentSessionText h4{word-break:normal;overflow-wrap:normal;hyphens:none;text-wrap:balance;max-width:100%;font-size:clamp(12px,3.8vw,15px);line-height:1.15}.statsRecentSessionText p{word-break:normal;overflow-wrap:normal;margin-top:3px;font-size:11px;line-height:1.2}.statsRecentSessionScore{text-align:left;grid-area:score;align-self:center;min-width:0}.statsRecentSessionScore small,.statsRecentSessionPhase{margin:0 6px 0 0;display:inline-block}.statsRecentSessionScore strong{vertical-align:middle;margin:0;font-size:24px;display:inline-block}.statsRecentSessionPlayed{text-align:right;border:0;grid-area:played;place-self:start end;gap:4px;min-width:0;padding:0}.statsRecentSessionPlayed span{display:none}.statsRecentSessionPlayed b{white-space:nowrap;font-size:11px;line-height:1.2}.statsRecentRecordOverlay{box-sizing:border-box;white-space:nowrap;grid-area:record;place-self:center end;max-width:100%;padding:5px 9px;font-size:10px;position:static;inset:auto;transform:none}.statsRecentSessionBottom{grid-area:bottom;min-width:0;margin-top:0}.statsRecentSessionProgress{grid-area:progress;margin-top:0}.statsTipBar{flex:none;align-items:flex-start;height:auto;min-height:54px;padding:10px 12px}.statsTipBar p{min-width:0;font-size:13px}#leaderboardHeader{grid-template-columns:minmax(0,1fr) 38px 38px;grid-template-areas:"intro fullscreen close";align-items:start;gap:6px;padding:14px}.lb-headerIntro{grid-area:intro;gap:8px;min-width:0}.lb-headerIcon{border-radius:11px;width:40px;height:40px}.lb-headerIcon svg,.lb-headerIcon .assetIcon{width:24px;height:24px}.lb-headerCopy{min-width:0}#leaderboardNotice{letter-spacing:.05em;word-break:normal;overflow-wrap:normal;width:auto;max-width:100%;margin:0 0 4px;font-size:10.5px;line-height:1.2}#leaderboardTitle{overflow-wrap:normal;width:auto;min-width:0;min-height:0;margin:0;line-height:1.05;font-size:clamp(22px,7vw,27px)!important}#leaderboardSubtitle{margin-top:5px;font-size:13px;line-height:1.3}#leaderboardFullscreenButton,#leaderboardCloseButton{align-self:start;width:38px;min-width:38px;height:38px;min-height:38px;margin:0;position:static;inset:auto}#leaderboardFullscreenButton{grid-area:fullscreen}#leaderboardCloseButton{grid-area:close;place-items:center;display:grid}.lb-summaryGrid>.lb-summaryCard{box-sizing:border-box;grid-template-columns:44px minmax(0,1fr);gap:10px;width:100%;height:auto;min-height:0;padding:10px 12px;overflow:visible}.lb-summaryIcon{border-radius:11px;width:44px;min-width:44px;height:44px;min-height:44px;overflow:hidden}.lb-summaryIcon>svg,.lb-summaryIcon>.assetIcon{width:26px;min-width:26px;height:26px;min-height:26px;overflow:hidden}.lb-summaryIcon>.assetIcon:before{opacity:1!important;filter:none!important;display:block!important;transform:none!important}.lb-summaryIcon>.assetIcon:after{display:none!important}.lb-summaryCopy{min-width:0}.lb-summaryCopy strong{font-size:20px}.lb-summaryCopy small{overflow-wrap:break-word;margin-top:4px}.lb-summaryGrid>.lb-summaryCard.lb-deviceSelectorCard{padding:0;overflow:hidden}.lb-deviceSelectorCard .lb-deviceViewPicker,.lb-deviceSelectorCard .lb-deviceViewOption{min-height:72px}.lb-deviceSelectorCard .lb-deviceViewOption{padding:8px;overflow:hidden}.lb-deviceSelectorCard .lb-deviceViewIcon,.lb-deviceSelectorCard .lb-deviceViewIcon svg{width:32px;min-width:32px;height:32px;min-height:32px}.lb-chartSurface{gap:12px;padding:14px}.lb-chartHeader{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;margin:0;display:grid}.lb-chartHeader>div,.lb-chartHeader h3,.lb-chartHeader p{min-width:0;position:static}.lb-chartHeader h3{font-size:17px;line-height:1.2}.lb-chartHeader p{margin-top:4px;line-height:1.35}.lb-chartShell{flex:none;width:100%;height:auto;min-height:0;display:block;overflow:visible}.lb-chartSvg{width:100%;height:auto;min-height:0;max-height:none;overflow:visible}.lb-percentileCard{box-sizing:border-box;width:100%;min-width:0;margin-top:0;padding-top:12px}.lb-percentileBarTrack{box-sizing:border-box;width:100%;margin-left:0}.lb-percentileMeta{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value""description description";align-items:start;gap:6px 12px;width:100%;min-width:0;margin-top:10px;display:grid}.lb-percentileMeta>span{white-space:nowrap;word-break:normal;overflow-wrap:normal;grid-area:label;align-self:center}.lb-percentileMetaValue{display:contents}.lb-percentileMetaValue strong{grid-area:value;place-self:center end}.lb-percentileMetaValue small{text-align:left;grid-area:description;max-width:none}}@media (width<=340px) and (orientation:portrait){.statsRecentSessionIdentity{gap:6px}.statsRecentSessionIcon{width:30px;height:30px}.statsRecentSessionIcon .assetGameIcon{width:27px;height:27px;min-height:27px}.statsRecentSessionText h4{font-size:12px}.statsRecentSessionPlayed b{font-size:10px}}.settingsLanguagePopover{z-index:auto;box-sizing:border-box;width:100%;max-height:none;box-shadow:none;margin-top:8px;padding:8px;position:static;inset:auto;overflow:visible}.settingsLanguageOption{min-height:44px}@media (width<=900px),(width>=901px) and (width<=1280px) and (aspect-ratio<=8/5){body.gameplay-active:has(#game.visualMemoryGame){width:100%;height:100dvh;min-height:100dvh;overflow:hidden}#game.visualMemoryGame{--game-stage-gap:clamp(8px, 1.5vmin, 16px);gap:var(--game-stage-gap);box-sizing:border-box;grid-template:"hud""board"minmax(0,1fr)/minmax(0,1fr);place-items:stretch stretch;width:100%;min-width:0;max-width:none;height:100%;min-height:0;max-height:none;margin:0;padding:0;position:relative;overflow:hidden;display:grid!important}#game.visualMemoryGame .gameHud{box-sizing:border-box;grid-area:hud;place-self:center;max-width:none;max-height:100%;margin:0;width:100%!important;position:relative!important;inset:auto!important;transform:none!important}#game.visualMemoryGame #grid{box-sizing:border-box;grid-area:board;place-self:center;min-width:0;max-width:none;min-height:0;max-height:none;padding:0;overflow:visible;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#game.visualMemoryGame>#scoreText,#game.visualMemoryGame>#countdown,#game.visualMemoryGame>#advancedPatterns,#game.visualMemoryGame>#targetPattern,#game.visualMemoryGame>#continueButton,#game.visualMemoryGame>#replayPatternButton,#game.visualMemoryGame>#checkButton,#game.visualMemoryGame>#result{display:none!important}}body.gameplay-active:has(#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame){width:100%;height:100dvh;min-height:100dvh;overflow:hidden}#game.gamePreparing{background:#ffffff02}#game.gamePreparing:before{content:none;display:none}#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame{--game-stage-gap:clamp(8px, 1.5vmin, 16px);gap:var(--game-stage-gap);box-sizing:border-box;place-items:stretch stretch;width:100%;min-width:0;max-width:none;height:100%;min-height:0;max-height:none;margin:0;padding:0;position:relative;overflow:hidden;display:grid!important}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{box-sizing:border-box;grid-area:hud;place-self:center;max-height:100%;margin:0;position:relative!important;inset:auto!important;transform:none!important}#game.advancedGame #grid,#game.sequenceAdvancedGame #grid,#game.chimpAdvancedGame #grid{box-sizing:border-box;grid-area:board;place-self:center;min-width:0;max-width:none;min-height:0;max-height:none;padding:0;overflow:visible;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#game.advancedGame{grid-template:"preview"minmax(0,1fr)"primary""hud"/minmax(0,1fr)}#game.advancedGame.advancedAnswerPhase{grid-template:"target""board"minmax(0,1fr)"primary""hud"/minmax(0,1fr)}#game.advancedGame #advancedPatterns{box-sizing:border-box;flex-flow:row;grid-area:preview;justify-content:center;place-self:stretch stretch;align-items:center;gap:clamp(6px,1.3vw,16px);width:100%;min-width:0;max-width:none;height:100%;min-height:0;margin:0;display:flex;overflow:hidden;position:static!important;inset:auto!important;transform:none!important}#game.advancedGame .advancedGamePattern{gap:clamp(4px,1vmin,10px);min-width:0}#game.advancedGame .patternCell{width:var(--advanced-preview-cell-size,1px)!important;height:var(--advanced-preview-cell-size,1px)!important}#game.advancedGame #targetPattern{grid-area:target;place-self:center;max-width:100%;margin:0;position:static!important;inset:auto!important;transform:none!important}#game.advancedGame #continueButton,#game.advancedGame #checkButton{grid-area:primary;place-self:center;min-height:44px;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#game.advancedGame:not(.advancedAnswerPhase) #grid,#game.advancedGame:not(.advancedAnswerPhase) #targetPattern,#game.advancedGame:not(.advancedAnswerPhase) #checkButton,#game.advancedGame.advancedAnswerPhase #advancedPatterns,#game.advancedGame.advancedAnswerPhase #continueButton{display:none!important}#game.advancedGame.advancedAnswerPhase #targetPattern,#game.advancedGame.advancedAnswerPhase #grid,#game.advancedGame.advancedAnswerPhase #checkButton{display:grid}#game.sequenceAdvancedGame{grid-template:"board"minmax(0,1fr)"replay""hud"/minmax(0,1fr)}#game.sequenceAdvancedGame #replayPatternButton{grid-area:replay;place-self:center;width:min(220px,100%);min-width:0;min-height:44px;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#game.chimpAdvancedGame{grid-template:"board"minmax(0,1fr)"hud"/minmax(0,1fr)}#game.sequenceAdvancedGame .sequenceAdvancedGrid,#game.chimpAdvancedGame .chimpAdvancedGrid{aspect-ratio:auto;width:1px;height:1px}#game.sequenceAdvancedGame .sequenceAdvancedCell,#game.chimpAdvancedGame .chimpAdvancedCell{width:var(--responsive-game-cell-size,1px);height:var(--responsive-game-cell-size,1px);box-sizing:border-box;pointer-events:none;min-width:0;min-height:0}#game.sequenceAdvancedGame .sequenceAdvancedCell.visible,#game.sequenceAdvancedGame .sequenceAdvancedCell.replayActive,#game.chimpAdvancedGame .chimpAdvancedCell.visible{pointer-events:auto}#game.sequenceAdvancedGame .sequenceAdvancedCell,#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+2),#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+4),#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+6),#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+8),#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+10),#game.sequenceAdvancedGame .sequenceAdvancedCell.replayActive,#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+2).replayActive,#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+4).replayActive,#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+6).replayActive,#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+8).replayActive,#game.sequenceAdvancedGame .sequenceAdvancedCell:nth-child(10n+10).replayActive{transform:none}#game.advancedGame>#scoreText,#game.advancedGame>#countdown,#game.advancedGame>#replayPatternButton,#game.advancedGame>#result,#game.sequenceAdvancedGame>#scoreText,#game.sequenceAdvancedGame>#countdown,#game.sequenceAdvancedGame>#advancedPatterns,#game.sequenceAdvancedGame>#targetPattern,#game.sequenceAdvancedGame>#continueButton,#game.sequenceAdvancedGame>#checkButton,#game.sequenceAdvancedGame>#result,#game.chimpAdvancedGame>#scoreText,#game.chimpAdvancedGame>#countdown,#game.chimpAdvancedGame>#advancedPatterns,#game.chimpAdvancedGame>#targetPattern,#game.chimpAdvancedGame>#continueButton,#game.chimpAdvancedGame>#replayPatternButton,#game.chimpAdvancedGame>#checkButton,#game.chimpAdvancedGame>#result{display:none!important}#game.responsiveGameLayoutPending .responsiveGameLayoutTargetPending{visibility:hidden!important;pointer-events:none!important}#game.sequenceAdvancedGame .sequenceAdvancedCell:not(.visible):not(.replayActive),#game.chimpAdvancedGame .chimpAdvancedCell:not(.visible){box-shadow:none;opacity:0;cursor:default;background:0 0;border-color:#0000;pointer-events:none!important}@media (width>=641px) and (width<=900px) and (orientation:portrait){#game.visualMemoryGame .gameHud,#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{width:min(100%,420px)!important}}@media (width>=901px){#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{width:min(100% - 292px,1332px)!important}}@media (width<=900px) and (orientation:landscape),(width>=901px) and (width<=1280px) and (aspect-ratio<=8/5) and (orientation:landscape){#game.visualMemoryGame{grid-template:"hud board"minmax(0,1fr)/clamp(200px,31vw,284px) minmax(0,1fr)}}@media (width<=900px) and (height<=520px) and (orientation:landscape){body.gameplay-active:has(#game.sequenceGame,#game.chimpGame){width:100%;height:100dvh;min-height:100dvh;overflow:hidden}#game.sequenceGame,#game.chimpGame{--classic-compact-cell:min(112px, calc(( 100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 40px ) / 3));gap:var(--game-stage-gap,8px);box-sizing:border-box;grid-template:"hud board"minmax(0,1fr)/clamp(188px,30vw,224px) minmax(0,1fr);align-items:stretch;width:100%;min-width:0;height:100%;min-height:0;max-height:none;padding:0;overflow:hidden;display:grid!important}#game.sequenceGame .gameHud,#game.chimpGame .gameHud{box-sizing:border-box;grid-area:hud;align-self:center;max-width:none;margin:0;width:100%!important;position:relative!important;inset:auto!important;transform:none!important}#game.sequenceGame #grid,#game.chimpGame #grid{max-width:100%;max-height:100%;width:calc(var(--classic-compact-cell) * 3 + 18px);height:calc(var(--classic-compact-cell) * 3 + 18px);grid-area:board;grid-template-rows:repeat(3, var(--classic-compact-cell));place-self:center;grid-template-columns:repeat(3, var(--classic-compact-cell))!important;gap:9px!important;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#game.sequenceGame .cell.sequenceCell,#game.chimpGame .cell.chimpCell{box-sizing:border-box;width:var(--classic-compact-cell)!important;height:var(--classic-compact-cell)!important}#game.visualMemoryGame{padding-bottom:22px}#game.advancedGame{grid-template:"hud preview"minmax(0,1fr)"hud primary"/clamp(188px,30vw,224px) minmax(0,1fr)}#game.advancedGame.advancedAnswerPhase{grid-template:"hud target""hud board"minmax(0,1fr)"hud primary"/clamp(188px,30vw,224px) minmax(0,1fr)}#game.sequenceAdvancedGame{grid-template:"hud board"minmax(0,1fr)"hud replay"/clamp(188px,30vw,224px) minmax(0,1fr)}#game.chimpAdvancedGame{grid-template:"hud board"minmax(0,1fr)/clamp(188px,30vw,224px) minmax(0,1fr)}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{align-self:center}#game.advancedGame .gameHudContent,#game.sequenceAdvancedGame .gameHudContent,#game.chimpAdvancedGame .gameHudContent{flex-direction:column;align-items:stretch;gap:10px;min-width:0;display:flex}#game.advancedGame .gameHudTop,#game.sequenceAdvancedGame .gameHudTop,#game.chimpAdvancedGame .gameHudTop{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;min-width:0;display:grid}#game.advancedGame .gameHudLevel,#game.advancedGame .gameHudLives,#game.sequenceAdvancedGame .gameHudLevel,#game.sequenceAdvancedGame .gameHudLives,#game.chimpAdvancedGame .gameHudLevel,#game.chimpAdvancedGame .gameHudLives{justify-self:stretch;align-items:flex-start;min-width:0}#game.advancedGame #levelText,#game.sequenceAdvancedGame #levelText,#game.chimpAdvancedGame #levelText{font-size:clamp(38px,14dvh,50px);transform:none}#game.advancedGame #livesText,#game.sequenceAdvancedGame #livesText,#game.chimpAdvancedGame #livesText{justify-content:flex-start;gap:3px;min-height:38px;transform:none}#game.advancedGame #livesText .lifeHeart,#game.sequenceAdvancedGame #livesText .lifeHeart,#game.chimpAdvancedGame #livesText .lifeHeart{flex:none;width:clamp(18px,6dvh,24px);height:clamp(18px,6dvh,24px);font-size:clamp(18px,6dvh,24px)}#game.advancedGame #backToHubButton,#game.sequenceAdvancedGame #backToHubButton,#game.chimpAdvancedGame #backToHubButton{width:100%;height:40px}}#leaderboardHeader{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"intro"!important}#leaderboardPanel.leaderboardPanelLocked #leaderboardContent{justify-content:flex-start}@media (width<=599px) and (orientation:portrait){#leaderboardPanel.leaderboardPanelLocked #leaderboardHeader{padding-block-start:22px!important}}@media (width<=640px) and (orientation:portrait){body.gameplay-active:has(#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame){--advanced-composite-offset:clamp(0px, calc(8dvh - 45.44px), 16px);--advanced-safe-bottom-gap:max(22px, env(safe-area-inset-bottom));padding-top:calc(22px + env(safe-area-inset-top) + var(--advanced-composite-offset));padding-bottom:var(--advanced-safe-bottom-gap)}}@media (width>=641px) and (width<=900px) and (orientation:portrait){body.gameplay-active:has(#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame){--advanced-composite-offset:clamp(8px, calc(8dvh - 45.44px), 16px);--advanced-safe-bottom-gap:max(22px, env(safe-area-inset-bottom));padding-top:calc(18px + env(safe-area-inset-top) + var(--advanced-composite-offset));padding-bottom:var(--advanced-safe-bottom-gap)}}#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame{padding-top:calc(env(safe-area-inset-top) + 0px);padding-right:calc(env(safe-area-inset-right) + 0px);padding-bottom:calc(env(safe-area-inset-bottom) + 0px);padding-left:calc(env(safe-area-inset-left) + 0px)}@media (orientation:portrait){#game.advancedGame,#game.sequenceAdvancedGame,#game.chimpAdvancedGame{padding-bottom:0}}#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{max-width:560px;padding:12px 14px;width:min(100%,560px)!important}#game.advancedGame .gameHudContent,#game.sequenceAdvancedGame .gameHudContent,#game.chimpAdvancedGame .gameHudContent{grid-template:"stats""action"/minmax(0,1fr);gap:0;width:100%;min-width:0;display:grid}#game.advancedGame .gameHudTop,#game.sequenceAdvancedGame .gameHudTop,#game.chimpAdvancedGame .gameHudTop{border-bottom:1px solid #ffffff1c;grid-area:stats;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:10px;min-width:0;padding:0 2px 10px;display:grid}#game.advancedGame .gameHudLevel,#game.sequenceAdvancedGame .gameHudLevel,#game.chimpAdvancedGame .gameHudLevel{text-align:left;justify-self:start;align-items:flex-start;min-width:0}#game.advancedGame .gameHudLives,#game.sequenceAdvancedGame .gameHudLives,#game.chimpAdvancedGame .gameHudLives{text-align:right;justify-self:end;align-items:flex-end;min-width:0}#game.advancedGame #levelText,#game.sequenceAdvancedGame #levelText,#game.chimpAdvancedGame #levelText,#game.advancedGame #livesText,#game.sequenceAdvancedGame #livesText,#game.chimpAdvancedGame #livesText{transform:none}#game.advancedGame #livesText,#game.sequenceAdvancedGame #livesText,#game.chimpAdvancedGame #livesText{justify-content:flex-end;max-width:100%}#game.advancedGame #backToHubButton,#game.sequenceAdvancedGame #backToHubButton,#game.chimpAdvancedGame #backToHubButton{grid-area:action;align-self:stretch;width:100%;min-width:0;height:auto;min-height:44px;margin:10px 0 0!important}#game.advancedGame #advancedPatterns[data-candidate-layout=vertical]{flex-flow:column}#game.advancedGame #advancedPatterns[data-candidate-layout=horizontal]{flex-flow:row}#game.advancedGame .advancedGamePattern{flex:none;padding:0}#game.advancedGame .patternLetter{font-size:clamp(18px,3vmin,28px);line-height:1}#game.advancedGame .patternGrid{gap:var(--advanced-preview-gap,0px)!important}#game.chimpAdvancedGame .chimpAdvancedCell{font-size:var(--chimp-advanced-font-size,1px)}#game.sequenceAdvancedGame .sequenceAdvancedCell.replayActive{outline-offset:-2px}.utilityModalControl{z-index:20;color:#ecf4ffe0;place-items:center;top:var(--utility-control-inset-block)!important;width:var(--utility-control-size)!important;height:var(--utility-control-size)!important;min-width:var(--utility-control-size)!important;min-height:var(--utility-control-size)!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:grid!important;position:absolute!important;transform:none!important}.utilityModalControl:not(.utilityFullscreenButton){right:var(--utility-control-inset-inline)!important}.utilityModalControl.utilityFullscreenButton{right:calc(var(--utility-control-inset-inline) + var(--utility-control-size) + var(--utility-control-gap))!important}.utilityModalControl:before,.utilityModalControl:after{content:none!important;display:none!important}.utilityModalControl:hover,.utilityModalControl:focus-visible{color:var(--accent-color)!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;background:0 0!important;border:0!important;transform:none!important}@media (width<=599px),(height<=599px){.utilityModalControl.utilityFullscreenButton{display:none!important}}#game[data-game-preparing=true]{background:0 0;justify-content:center;min-height:calc(100dvh - 56px);position:relative;overflow:hidden}#game[data-game-preparing=true]>*{opacity:0!important;pointer-events:none!important}#game[data-game-preparing=true]:before{content:none!important;display:none!important}@media (width<=900px) and (height<=520px) and (orientation:landscape){#game.advancedGame .gameHud,#game.sequenceAdvancedGame .gameHud,#game.chimpAdvancedGame .gameHud{max-width:none;padding:10px;width:100%!important}#game.advancedGame .gameHudTop,#game.sequenceAdvancedGame .gameHudTop,#game.chimpAdvancedGame .gameHudTop{gap:6px;padding-bottom:8px}#game.advancedGame #backToHubButton,#game.sequenceAdvancedGame #backToHubButton,#game.chimpAdvancedGame #backToHubButton{min-height:44px;margin-top:8px!important}}.lb-modeIcon .lb-stableGameIcon,.lb-unlockModeIcon .lb-stableGameIcon{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}#statsPanel>.utilityModalControl{z-index:31}@media (width<=900px){#gameModalPanel.gameModalAdvanced #gameModalTitle{white-space:normal;text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:manual;width:min(100%,320px);max-width:100%;margin:4px 0 10px;padding:0;line-height:1.08}}@media (width>=901px){#game.advancedGame #advancedPatterns{gap:clamp(32px,3.5vw,56px)}#game.advancedGame.advancedAnswerPhase{grid-template:"answer"minmax(0,1fr)"primary""hud"/minmax(0,1fr)}#game.advancedGame.advancedAnswerPhase #advancedAnswerStack{flex-direction:column;grid-area:answer;justify-content:center;place-self:stretch stretch;align-items:center;gap:clamp(24px,3vh,36px);width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow:visible}#game.advancedGame.advancedAnswerPhase #targetPattern,#game.advancedGame.advancedAnswerPhase #grid{flex:none}#gameModalPanel.gameModalAdvanced #gameModalTitle{white-space:normal;text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:manual;width:min(100%,500px);max-width:500px;margin:-8px 0 12px;padding:0;font-size:clamp(30px,2.6vw,42px);line-height:1.08}#leaderboardContent{overflow:hidden}.lb-summaryGrid{grid-template-columns:repeat(5,minmax(0,1fr))}.lb-mainGrid{flex:1;grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);align-items:stretch}}@media (width<=900px){#leaderboardContent{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow:hidden auto}#leaderboardContent .lb-tableBody{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:clamp(220px,52dvh,460px);min-height:220px;max-height:460px;overflow:hidden auto}}#hubActionBar{display:contents}.settingsSegmentOption:before{aspect-ratio:1;flex:none;block-size:18px;min-block-size:18px;inline-size:18px;min-inline-size:18px}.settingsSegmentOption>span{min-width:0}@media (width<=900px){.settingsSideIcon,.settingsSideItem.selected .settingsSideIcon{box-sizing:border-box;width:30px;height:30px;color:var(--accent-color);background:0 0;border:0;border-radius:0;padding:0}.settingsSideItem.selected .settingsSideIcon{color:var(--accent-color);background:0 0;border-color:#0000}.settingsSideIcon>.settingsNavIcon{object-fit:contain;filter:none;width:100%;height:100%}}@media (width<=640px) and (orientation:portrait),(width<=900px) and (height<=520px) and (orientation:landscape){.settingsSideItem{overflow:hidden}.settingsSideItem strong,.settingsSideItem small{overflow-wrap:anywhere;word-break:normal;min-width:0;max-width:100%;overflow:hidden}.settingsSegmentOption{min-width:0;min-height:44px;padding-inline:8px}.settingsSegmentOption:before{margin-inline-end:8px;margin-right:8px}.settingsSegmentOption>span{overflow-wrap:anywhere;line-height:1.15}#mainMenu{--hub-mobile-game-icon-size:clamp(40px, 11vmin, 44px)}.gameIconMount[data-game-icon=visual],.gameIconMount[data-game-icon=sequence],.gameIconMount[data-game-icon=visualAdvanced],.gameIconMount[data-game-icon=sequenceAdvanced],.gameIconMount[data-game-icon=chimp],.gameIconMount[data-game-icon=chimpAdvanced]{--hub-game-icon-size:var(--hub-mobile-game-icon-size)}.gameIconMount[data-game-icon=visual]>.assetGameIcon,.gameIconMount[data-game-icon=sequence]>.assetGameIcon,.gameIconMount[data-game-icon=visualAdvanced]>.assetGameIcon,.gameIconMount[data-game-icon=sequenceAdvanced]>.assetGameIcon,.gameIconMount[data-game-icon=chimp]>.assetGameIcon,.gameIconMount[data-game-icon=chimpAdvanced]>.assetGameIcon{aspect-ratio:1;object-fit:contain;width:var(--hub-mobile-game-icon-size)!important;height:var(--hub-mobile-game-icon-size)!important;inline-size:var(--hub-mobile-game-icon-size)!important;block-size:var(--hub-mobile-game-icon-size)!important;flex:0 0 var(--hub-mobile-game-icon-size)!important}}@media (width<=900px) and (orientation:portrait){#hubActionBar{--hub-action-size:54px;--hub-action-gap:clamp(8px, 2.5vw, 10px);--hub-streak-width:clamp(92px, 27vw, 104px);--hub-action-bar-width:calc(var(--hub-streak-width) + var(--hub-action-size) + var(--hub-action-size) + var(--hub-action-size) + var(--hub-action-gap) + var(--hub-action-gap) + var(--hub-action-gap));z-index:20;left:0;right:0;bottom:calc(8px + env(safe-area-inset-bottom));grid-template-columns:var(--hub-streak-width) repeat(3, var(--hub-action-size));justify-content:center;align-items:center;gap:var(--hub-action-gap);width:var(--hub-action-bar-width);max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 12px);margin-inline:auto;display:grid;position:fixed;transform:none}#hubActionBar>#leaderboardButton,#hubActionBar>#streakButton,#hubActionBar>#statsButton,#hubActionBar>#settingsButton{width:var(--hub-action-size);min-width:var(--hub-action-size);max-width:var(--hub-action-size);height:var(--hub-action-size);min-height:var(--hub-action-size);margin:0;position:relative;bottom:auto;inset:auto!important}#hubActionBar>#streakButton{width:var(--hub-streak-width);min-width:var(--hub-streak-width);max-width:var(--hub-streak-width)}body.gameplay-active #hubActionBar{display:none}}@media (width<=340px) and (orientation:portrait){#mainMenu{height:calc(100dvh - 256px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;scrollbar-width:none;overflow:hidden auto}#mainMenu::-webkit-scrollbar{display:none}}@media (width<=900px){#statsHeader{padding-inline-end:0!important}#statsTabsMount{width:100%}.statsTabs{box-sizing:border-box;width:100%;margin-inline:auto}.statsSummaryCard{padding-inline-end:76px;position:relative;overflow:hidden}body.density-compact .statsSummaryCard{padding-inline-end:76px}.statsSummaryWatermark{width:clamp(44px,14vw,54px);height:clamp(44px,14vw,54px);color:var(--accent-color);opacity:.16;pointer-events:none;place-items:center;display:grid;position:absolute;bottom:16px;right:16px}.statsSummaryWatermark svg,.statsSummaryWatermark .assetIcon{width:100%;height:100%}.statsSummaryWatermark .assetIcon{filter:none;scale:none}.statsSummaryWatermark .assetIcon:before{opacity:1;filter:none;transform:none}.statsSummaryWatermark .assetIcon:after{display:none}#statsCards .statsRecentSection{overflow:hidden}#statsCards .statsOverviewGrid{grid-template-columns:minmax(0,1fr)}#statsCards .statsRecentSection,#statsCards .statsDailySection{width:100%;min-width:0}#statsCards .statsDailySection .statsSectionHeader>div{min-width:0}#statsCards .statsDailySection .statsSectionHeader h3,#statsCards .statsDailySection .statsSectionHeader p{overflow-wrap:anywhere}#statsCards .statsRecentSessionList{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:none;width:100%;height:auto;min-height:0;max-height:clamp(284px,50dvh,372px);padding-right:8px;overflow:hidden auto}.statsChartYAxis{box-sizing:border-box;padding-inline-end:6px}.statsChartBars{gap:2px}.statsChartBar{width:min(22px,72%)}.statsChartDay small{font-size:clamp(11px,3.2vw,14px)}.statsAllGamesHeader{z-index:auto;box-shadow:none;-webkit-backdrop-filter:none;background:0 0;padding:4px 4px 10px;position:static;inset:auto;transform:none}#game.gameOverMode #grid.runOverOverlay{--run-over-safe-inline:max(12px, env(safe-area-inset-left), env(safe-area-inset-right));width:100%;max-width:none;max-inline-size:none;padding-inline:var(--run-over-safe-inline);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-items:safe center;margin-inline:auto;overflow:hidden auto}#game.gameOverMode .runOverCard{width:min(520px,100%);max-width:100%;margin-inline:auto;transform:none}}@media (width<=900px) and (orientation:landscape){#statsCards .statsRecentSessionList{max-height:clamp(212px,64dvh,252px)}}@media (width>=901px) and (height<=950px){#leaderboardHeader{margin-bottom:10px;padding-block:14px 10px}.lb-headerIcon{border-radius:12px;width:50px;height:50px}.lb-headerIcon svg,.lb-headerIcon .assetIcon{width:30px;height:30px}#leaderboardTitle{font-size:34px}#leaderboardSubtitle{font-size:13px}.leaderboardNoticeText{font-size:10px}#leaderboardContent{gap:8px}.lb-modeStrip{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.lb-modeButton{gap:7px;min-height:58px;padding:7px 8px}.lb-modeIcon{border-radius:8px;width:30px;height:30px}.lb-modeIcon svg,.lb-modeIcon .assetIcon{width:27px;height:27px}.lb-modeLabel{font-size:11px;line-height:1.15}.lb-summaryGrid{gap:8px}.lb-summaryCard{grid-template-columns:46px minmax(0,1fr);gap:8px;min-height:76px;padding:8px 10px}.lb-summaryCard.lb-deviceSelectorCard{grid-template-columns:minmax(0,1fr);gap:0;padding:0}.lb-deviceSelectorCard .lb-deviceViewPicker{width:100%;min-width:0}.lb-summaryIcon{border-radius:11px;width:44px;height:44px}.lb-summaryIcon svg,.lb-summaryIcon .assetIcon{width:27px;height:27px}.lb-summaryCopy strong{font-size:20px}.lb-summaryCopy small{margin-top:3px;font-size:10px}.lb-deviceViewPicker,.lb-deviceViewOption{min-height:76px}.lb-deviceViewOption{padding:7px 8px}.lb-deviceViewIcon svg{width:38px;height:38px}.lb-surface{padding:12px}.lb-chartHeader{margin-bottom:3px}.lb-chartMetricBadge{padding:6px 8px}.lb-percentileCard{margin-top:8px;padding-top:6px}.lb-percentileHeader{margin-bottom:5px}.lb-percentileBarTrack{height:32px}.lb-percentileHint{margin-top:6px;font-size:12px;line-height:1.3}.lb-percentileMeta{margin-top:3px}.lb-percentileMetaValue{gap:3px}.lb-percentileMetaValue small{font-size:10px;line-height:1.2}}@media (width<=640px) and (orientation:portrait){.memoryFocusShell[data-mode=number]{padding:calc(8px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom))}.memoryFocusShell[data-mode=number] .memoryFocusTop{gap:6px}.memoryFocusShell[data-mode=number] .memoryFocusBackButton{border-radius:13px;height:52px;min-height:52px}.memoryFocusShell[data-mode=number] .memoryFocusStatCard{border-radius:13px;height:66px;min-height:66px;padding:7px 10px 8px}.memoryFocusShell[data-mode=number] .memoryFocusHearts .lifeHeart{width:24px;height:24px}.memoryFocusShell[data-mode=number] .memoryFocusStatValue{font-size:28px}.memoryFocusShell[data-mode=number] .memoryFocusCenter{justify-content:space-between;gap:10px;padding-top:8px}.memoryFocusShell[data-mode=number] .memoryFocusPanel{flex:auto;gap:10px;width:100%;min-height:0;padding:12px 8px 10px}.memoryFocusShell[data-mode=number] .memoryFocusPanelFooter{gap:8px}.memoryFocusShell[data-mode=number] .numberMemoryInputCard{--number-memory-card-padding-block:10px;--number-memory-card-padding-inline:12px;min-height:72px;padding:var(--number-memory-card-padding-block) var(--number-memory-card-padding-inline)}.memoryFocusShell[data-mode=number] .numberMemoryPrimaryButton{min-height:46px}.memoryFocusShell[data-mode=number] .memoryFocusCaptionRow{flex:none;gap:10px;margin-top:0}}@media (width<=900px) and (height<=520px) and (orientation:landscape){.memoryFocusShell[data-mode=number]{padding:calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left))}.memoryFocusShell[data-mode=number] .memoryFocusTop{flex-direction:row;align-items:stretch;gap:8px}.memoryFocusShell[data-mode=number] .memoryFocusBackButton,.memoryFocusShell[data-mode=number] .memoryFocusStatCard{border-radius:12px;height:56px;min-height:56px}.memoryFocusShell[data-mode=number] .memoryFocusBackButton{width:128px}.memoryFocusShell[data-mode=number] .memoryFocusStats{gap:8px;margin-left:auto}.memoryFocusShell[data-mode=number] .memoryFocusLivesCard{width:164px}.memoryFocusShell[data-mode=number] .memoryFocusScoreCard{width:92px}.memoryFocusShell[data-mode=number] .memoryFocusStatCard{padding:6px 10px}.memoryFocusShell[data-mode=number] .memoryFocusHearts{gap:8px}.memoryFocusShell[data-mode=number] .memoryFocusHearts .lifeHeart{width:22px;height:22px}.memoryFocusShell[data-mode=number] .memoryFocusStatValue{font-size:26px}.memoryFocusShell[data-mode=number] .memoryFocusCenter{justify-content:space-between;gap:6px;padding-top:4px}.memoryFocusShell[data-mode=number] .memoryFocusPanel{flex:auto;gap:6px;width:min(680px,100%);min-height:0;padding:8px 20px 6px}.memoryFocusShell[data-mode=number] .numberMemoryInputCard{--number-memory-card-padding-block:8px;--number-memory-card-padding-inline:16px;min-height:62px;padding:var(--number-memory-card-padding-block) var(--number-memory-card-padding-inline);border-radius:15px}.memoryFocusShell[data-mode=number] .numberMemoryPrimaryButton{height:40px;min-height:40px}.memoryFocusShell[data-mode=number] .memoryFocusCaptionRow{flex:none;gap:10px;margin-top:0}.memoryFocusShell[data-mode=number] .memoryFocusCaption{font-size:10px}}@media (width>=901px) and (height<=950px){.memoryFocusShell[data-mode=number] .memoryFocusCenter{gap:24px;padding-top:20px}.memoryFocusShell[data-mode=number] .memoryFocusPanel{gap:clamp(16px,2vh,24px);padding-block:clamp(18px,3vh,28px)}.memoryFocusShell[data-mode=number] .memoryFocusCaptionRow{flex:none;margin-top:0}}@media (width>=901px) and (height<=640px){.memoryFocusShell[data-mode=number] .memoryFocusCenter{gap:8px;padding-top:0}.memoryFocusShell[data-mode=number] .memoryFocusPanel{gap:12px;width:min(1120px,100vw - 64px);min-height:0;padding-block:0}.memoryFocusShell[data-mode=number] .numberMemoryPrimaryButton{height:46px;min-height:46px}.memoryFocusShell[data-mode=number] .numberMemoryStageValue{--number-memory-answer-min-font-size:40px}}.lb-tableShell{container:leaderboard-ranking/inline-size}.lb-compactMetricHead,.lb-compactMetricCell{display:none}@media (width<=900px){.gameIconMount[data-game-icon=number],.gameIconMount[data-game-icon=word]{--hub-text-game-icon-size:clamp(32px, 9.25vmin, 40px);padding-block:12px}.gameIconMount[data-game-icon=number]>.assetGameIcon,.gameIconMount[data-game-icon=word]>.assetGameIcon{aspect-ratio:1;width:var(--hub-text-game-icon-size)!important;height:var(--hub-text-game-icon-size)!important;inline-size:var(--hub-text-game-icon-size)!important;block-size:var(--hub-text-game-icon-size)!important;flex:0 0 var(--hub-text-game-icon-size)!important}}@container leaderboard-ranking (width<=640px){.lb-tableHead,.lb-tableRow{grid-template-columns:38px minmax(0,1fr) clamp(64px,24cqi,88px);gap:8px;padding-inline:10px}.lb-tableHead{min-height:44px;font-size:10px;display:grid}.lb-tableHead .lb-playerCell{justify-content:flex-start}.lb-desktopMetricCell{display:none}.lb-compactMetricHead{min-width:0;color:var(--lb-muted);text-align:right;overflow-wrap:anywhere;font-size:clamp(8px,3cqi,10px);font-weight:800;line-height:1.1;display:block}.lb-tableRow{height:58px;min-height:58px;padding-block:0}.lb-tableRow .lb-rankCell{text-align:center}.lb-tableRow .lb-playerCell{gap:8px;min-width:0;margin:0}.lb-tableRow .lb-playerIdentity{min-width:0}.lb-tableRow .lb-playerIdentity strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.lb-compactMetricCell{min-width:0;color:var(--lb-text-strong);text-align:right;white-space:nowrap;font-size:14px;font-weight:850;line-height:1;display:block}.lb-compactMetricCell.lb-streakCell{color:var(--accent-color)}.lb-tableStickyOverlay.anchorTop{top:44px}.lb-tableStickyUserRow{height:58px;min-height:58px}.lb-tableBody:focus-visible{outline:2px solid var(--accent-color);outline-offset:-2px}}#game.advancedGame>#continueButton,#game.advancedGame>#checkButton,#game.sequenceAdvancedGame>#replayPatternButton{box-sizing:border-box;border:1px solid rgba(var(--accent-color-rgb),.82);background:linear-gradient(180deg, #ffffff21, transparent 48%), linear-gradient(180deg, rgba(var(--accent-color-rgb),.96), rgba(var(--accent-color-rgb),.68));color:#f7fbff;letter-spacing:.01em;text-align:center;white-space:nowrap;width:min(220px,100vw - 32px);min-width:0;height:48px;min-height:44px;box-shadow:inset 0 1px 0 #fff3, 0 0 0 1px rgba(var(--accent-color-rgb),.12), 0 8px 18px #00000038;transition:transform var(--motion-duration-fast) var(--motion-easing-standard), opacity var(--motion-duration-fast) var(--motion-easing-standard);border-radius:12px;margin:0;padding:0 24px;font-size:clamp(15px,1.5vw,17px);font-weight:800;line-height:1.1;transform:translateZ(0)}#game.sequenceAdvancedGame>#replayPatternButton{border-color:rgba(var(--accent-color-rgb),.48);background:linear-gradient(180deg, #ffffff13, transparent 54%), linear-gradient(180deg, rgba(var(--accent-color-rgb),.15), rgba(var(--accent-color-rgb),.07)), var(--settings-control-surface);color:#eef6ff;box-shadow:inset 0 1px 0 #ffffff1a, 0 0 0 1px rgba(var(--accent-color-rgb),.08), 0 8px 18px #0000002e}#game.advancedGame>#continueButton:hover,#game.advancedGame>#checkButton:hover,#game.sequenceAdvancedGame>#replayPatternButton:hover{border-color:var(--accent-color);transform:translate3d(0, var(--motion-control-lift), 0)}#game.advancedGame>#continueButton:active,#game.advancedGame>#checkButton:active,#game.sequenceAdvancedGame>#replayPatternButton:active{transform:translate3d(0, 0, 0) scale(var(--motion-press-scale))}#game.advancedGame>#continueButton:focus-visible,#game.advancedGame>#checkButton:focus-visible,#game.sequenceAdvancedGame>#replayPatternButton:focus-visible{outline-offset:3px;border-color:var(--accent-color);box-shadow:inset 0 1px 0 #fff3, 0 0 0 3px rgba(var(--accent-color-rgb),.34), 0 8px 18px #00000038;outline:2px solid #f7fbff}#game.advancedGame>#continueButton:disabled,#game.advancedGame>#checkButton:disabled,#game.sequenceAdvancedGame>#replayPatternButton:disabled{background:linear-gradient(180deg, #ffffff0b, transparent 54%), var(--settings-control-surface);color:#eef6ff7a;opacity:1;cursor:not-allowed;border-color:#ffffff21;transform:none;box-shadow:inset 0 1px #ffffff0e}body.reduced-motion #game.advancedGame>#continueButton,body.reduced-motion #game.advancedGame>#checkButton,body.reduced-motion #game.sequenceAdvancedGame>#replayPatternButton{transition:none;transform:none}#statsCards>#statsAllGamesPanel{flex:auto;gap:0;min-width:0;min-height:0}#statsCards>#statsAllGamesPanel>.statsAllGamesView{flex:auto;gap:0}#statsCards>#statsAllGamesPanel .statsAllGamesHeader{flex:none}#statsCards>#statsAllGamesPanel .statsGameListFull{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;flex:auto;grid-auto-rows:max-content;align-content:start;min-width:0;min-height:0;margin:0;padding:12px 8px 0 0;overflow:hidden auto}#statsCards>#statsAllGamesPanel .statsGameCard{height:auto;min-height:auto;max-height:none;container:stats-game-card/inline-size}#statsCards>#statsAllGamesPanel .statsGameMetrics{grid-template-columns:repeat(5,minmax(0,1fr))}#statsCards>#statsAllGamesPanel :is(.statsGameIdentity h4,.statsGameStat span,.statsGameStat small){word-break:normal;overflow-wrap:anywhere;min-width:0}@container stats-game-card (width<=620px){#statsCards>#statsAllGamesPanel .statsGameMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@container stats-game-card (width<=460px){#statsCards>#statsAllGamesPanel .statsGameMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}#statsCards{container:stats-content/inline-size}@container stats-content (width<=1119px){#statsOverviewPanel>.statsSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#statsOverviewPanel .statsOverviewGrid{grid-template-columns:minmax(0,1fr)}}@container stats-content (width<=759px){#statsAllGamesPanel .statsGameListFull{grid-template-columns:minmax(0,1fr)}}@media (width>=541px) and (width<=1280px) and (aspect-ratio<=8/5){body:has(#settingsOverlay.open),body:has(#statsOverlay.open){overflow:hidden}#mainMenu{box-sizing:border-box;grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.8vw,18px);width:min(100%,760px);max-width:760px;height:auto;margin:142px auto 0;padding:0 0 18px}#classicCard,#sequenceCard,#chimpCard,#numberCard,#advancedCard,#sequenceAdvancedCard,#chimpAdvancedCard,#verbalCard{order:initial;grid-area:auto}#mainMenu>.modeCard{aspect-ratio:auto;width:100%;height:clamp(160px,18dvh,210px)}#settingsPanel{height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;min-height:0;display:flex;overflow:hidden!important}#settingsHeader{flex:none;position:relative;inset:auto;transform:none}#settingsContent{flex-direction:column;flex:auto;gap:16px;min-width:0;min-height:0;display:flex;overflow:hidden!important}#settingsContent>.settingsSidebar{z-index:4;box-sizing:border-box;background:linear-gradient(var(--settings-panel-surface), var(--settings-panel-surface)), var(--app-bg);width:100%;min-height:0;max-height:none;box-shadow:inset 0 -1px 0 var(--settings-border);-webkit-backdrop-filter:none;flex:none;align-self:stretch;overflow:visible;position:relative!important;inset:auto!important}#settingsContent>.settingsSidebar>.settingsSidebarInner{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;min-height:0;display:grid}#settingsContent>.settingsDashboard{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;flex:auto;min-width:0;min-height:0;padding-right:8px;overflow:hidden auto}#statsPanel{flex-direction:column;min-height:0;display:flex;overflow:hidden!important}#statsHeader{flex:none;position:relative;inset:auto;transform:none}#statsCards{flex:auto;min-height:0;overflow:hidden}#statsCards>#statsOverviewPanel{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;padding-right:8px;overflow:hidden auto}#statsOverviewPanel>.statsSummaryGrid,#statsOverviewPanel>.statsOverviewContent,#statsOverviewPanel>.statsTipBar{flex:none}#statsOverviewPanel .statsOverviewGrid{flex:none;align-items:start}#statsOverviewPanel .statsRecentSection,#statsOverviewPanel .statsDailySection{width:100%;height:auto;min-height:438px}#statsOverviewPanel .statsRecentSessionList{flex:none;height:auto;max-height:none;overflow:visible}}@media (width>=901px) and (width<=1280px) and (height<=640px) and (aspect-ratio<=8/5) and (orientation:landscape){body.gameplay-active:has(#game.sequenceGame,#game.chimpGame){width:100%;height:100dvh;min-height:100dvh;overflow:hidden}#game.sequenceGame,#game.chimpGame{--classic-tablet-cell:min(112px, calc(( 100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 40px ) / 3));gap:var(--game-stage-gap,8px);box-sizing:border-box;grid-template:"hud board"minmax(0,1fr)/clamp(220px,29vw,284px) minmax(0,1fr);align-items:stretch;width:100%;min-width:0;height:100%;min-height:0;max-height:none;padding:0;overflow:hidden;display:grid!important}#game.sequenceGame .gameHud,#game.chimpGame .gameHud{box-sizing:border-box;grid-area:hud;align-self:center;max-width:none;margin:0;width:100%!important;position:relative!important;inset:auto!important;transform:none!important}#game.sequenceGame #grid,#game.chimpGame #grid{width:calc(var(--classic-tablet-cell) * 3 + 18px);height:calc(var(--classic-tablet-cell) * 3 + 18px);grid-area:board;grid-template-rows:repeat(3, var(--classic-tablet-cell));place-self:center;max-width:100%;max-height:100%;grid-template-columns:repeat(3, var(--classic-tablet-cell))!important;gap:9px!important;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#game.sequenceGame .cell.sequenceCell,#game.chimpGame .cell.chimpCell{box-sizing:border-box;width:var(--classic-tablet-cell)!important;height:var(--classic-tablet-cell)!important}}@media (width<=1280px) and (height<=820px) and (orientation:landscape){.memoryFocusShell[data-mode=word]{padding:calc(14px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left))}.memoryFocusShell[data-mode=word] .memoryFocusCenter{justify-content:flex-start;gap:8px;padding-top:8px}.memoryFocusShell[data-mode=word] .memoryFocusPanel{flex:auto;gap:8px;width:min(780px,100%);min-height:0;padding:8px 20px}.memoryFocusShell[data-mode=word] .memoryFocusChoiceButton{min-height:52px}.memoryFocusShell[data-mode=word] .memoryFocusCaptionRow{flex:none;gap:10px;margin-top:0}}#game.gameOverMode{width:100vw;height:100dvh;min-height:100dvh;max-height:none;padding:0;overflow:hidden}#game.gameOverMode #grid.runOverOverlay{min-width:100vw;min-height:100dvh;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));box-sizing:border-box;overscroll-behavior:contain;justify-content:safe center;align-items:safe center;display:flex;overflow:hidden auto;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;position:fixed!important;inset:0!important;transform:none!important}#game.gameOverMode .runOverCard{width:min(520px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));flex:none;max-width:520px;height:auto;max-height:none;margin:auto;transform:none}#game.gameOverMode :is(.runOverHeaderLabel,.runOverBestLabel){overflow-wrap:anywhere;min-width:0}@media (width>=600px) and (height>=600px) and (width<=1280px) and (aspect-ratio<=8/5){body.gameplay-active:has(#game.visualMemoryGame,#game.sequenceGame,#game.chimpGame){width:100%;height:100dvh;min-height:100dvh;overflow:hidden}#game.visualMemoryGame,#game.sequenceGame,#game.chimpGame{--classic-tablet-stage-gap:clamp(10px, 1.35vmin, 14px);gap:var(--classic-tablet-stage-gap);box-sizing:border-box;grid-template:"hud""board"minmax(0,1fr)/minmax(0,1fr);place-items:stretch stretch;width:100%;min-width:0;max-width:none;height:100%;min-height:0;max-height:none;margin:0;padding:0;overflow:hidden;display:grid!important}#game.sequenceGame,#game.chimpGame{--classic-tablet-cell:min(112px, calc(( 100dvh - 272px - env(safe-area-inset-top) - env(safe-area-inset-bottom) ) / 3));grid-template:"hud""board"minmax(0,1fr)"."24px/minmax(0,1fr)}#game.visualMemoryGame .gameHud,#game.sequenceGame .gameHud,#game.chimpGame .gameHud{box-sizing:border-box;grid-area:hud;place-self:start center;max-width:326px;max-height:100%;margin:0;width:min(326px,100% - 32px)!important;position:relative!important;inset:auto!important;transform:none!important}#game.visualMemoryGame #grid,#game.sequenceGame #grid,#game.chimpGame #grid{grid-area:board;place-self:center;min-width:0;max-width:100%;min-height:0;max-height:100%;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#game.sequenceGame #grid,#game.chimpGame #grid{width:calc(var(--classic-tablet-cell) * 3 + 18px);height:calc(var(--classic-tablet-cell) * 3 + 18px);grid-template-rows:repeat(3, var(--classic-tablet-cell));grid-template-columns:repeat(3, var(--classic-tablet-cell))!important;gap:9px!important}#game.sequenceGame .cell.sequenceCell,#game.chimpGame .cell.chimpCell{box-sizing:border-box;width:var(--classic-tablet-cell)!important;height:var(--classic-tablet-cell)!important}}#statsOverlay{overscroll-behavior:none;overflow:hidden}#statsPanel,#statsCards,#statsCards>.statsTabPanel{min-height:0}#statsPanel[data-active-stats-tab=allGames],#statsCards[data-active-stats-tab=allGames],#statsPanel:has(#statsAllGamesPanel:not([hidden])),#statsCards:has(>#statsAllGamesPanel:not([hidden])){overscroll-behavior:none;overflow:hidden!important}#statsCards>#statsAllGamesPanel{grid-template-rows:minmax(0,1fr);display:grid;overflow:hidden}#statsCards>#statsAllGamesPanel[hidden]{display:none}#statsCards>#statsAllGamesPanel>.statsAllGamesView{grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}#statsCards>#statsAllGamesPanel .statsAllGamesHeader{z-index:2;box-sizing:border-box;background:linear-gradient(var(--settings-panel-surface), var(--settings-panel-surface)), var(--panel-bg);min-width:0;box-shadow:inset 0 -1px 0 var(--settings-border);-webkit-backdrop-filter:none;grid-row:1;margin:0;padding:4px 4px 14px;position:relative;inset:auto;transform:none}#statsCards>#statsAllGamesPanel .statsAllGamesCardViewport{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;grid-row:2;min-width:0;min-height:0;max-height:none;margin:0;padding:12px 8px 0 0;overflow:hidden auto}#statsCards>#statsAllGamesPanel .statsAllGamesCardViewport>.statsGameListFull{scrollbar-gutter:auto;min-width:0;height:auto;min-height:0;max-height:none;margin:0;padding:0;overflow:visible}#statsOverviewPanel .statsRecentSessionList{overscroll-behavior:contain;scrollbar-gutter:auto;-webkit-overflow-scrolling:touch;flex:auto;min-width:0;min-height:0;max-height:360px;overflow:hidden auto}@media (width<=1180px),(height<=820px){#statsCards>#statsOverviewPanel{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;min-width:0;min-height:0;padding-inline-end:8px;overflow:hidden auto}#statsOverviewPanel>.statsSummaryGrid,#statsOverviewPanel>.statsOverviewContent,#statsOverviewPanel>.statsTipBar,#statsOverviewPanel .statsOverviewGrid{flex:none;min-height:0}#statsOverviewPanel .statsOverviewContent{display:block}#statsOverviewPanel .statsOverviewGrid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;align-items:start;height:auto}#statsOverviewPanel .statsRecentSection,#statsOverviewPanel .statsDailySection{width:100%;height:auto;min-height:0}#statsOverviewPanel .statsRecentSection{overflow:hidden}#statsOverviewPanel .statsRecentSessionList{overscroll-behavior:contain;scrollbar-gutter:auto;-webkit-overflow-scrolling:touch;flex:0 auto;width:100%;height:auto;min-height:0;max-height:clamp(184px,38dvh,360px);padding-inline-end:8px;overflow:hidden auto}#statsOverviewPanel .statsRecentEmptyState{min-height:clamp(150px,28dvh,236px)}}@media (width<=900px) and (orientation:landscape){#statsOverviewPanel .statsRecentSessionList{max-height:clamp(168px,54dvh,252px)}}#statsOverviewPanel .statsRecentSessionList:has(>.statsRecentEmptyState){max-height:none;padding-inline-end:0}#statsOverviewPanel .statsRecentSessionList>.statsRecentEmptyState{flex:1 0 auto}@media (width<=319px) and (orientation:portrait){#mainMenu{overscroll-behavior:contain;grid-template-rows:none;grid-template-columns:minmax(0,1fr);grid-auto-rows:clamp(132px,24dvh,168px);overflow:hidden auto}}body:not(.gameplay-active),#hubActionBar{--hub-shell-wide-action-size:58px;--hub-shell-wide-streak-width:108px;--hub-shell-wide-action-gap:14px;--hub-shell-wide-edge:18px;--hub-shell-wide-action-top:18px;--hub-shell-brand-action-gap:56px;--hub-shell-brand-reserve-width:381px;--hub-shell-dock-action-size:54px;--hub-shell-dock-streak-width:104px;--hub-shell-dock-gap:10px;--hub-shell-dock-padding-block:10px;--hub-shell-focus-clearance:7px;--hub-shell-focus-outline-extent:6px;--hub-shell-content-start-gap:28px;--hub-shell-wide-content-offset:44px;--hub-shell-safe-area-top:env(safe-area-inset-top);--hub-shell-safe-area-right:env(safe-area-inset-right);--hub-shell-safe-area-bottom:env(safe-area-inset-bottom);--hub-shell-safe-area-left:env(safe-area-inset-left);--hub-shell-viewport-block-size:100dvh;--hub-shell-dock-block-size:calc(var(--hub-shell-dock-action-size) + var(--hub-shell-dock-padding-block) + var(--hub-shell-dock-padding-block) + 1px + var(--hub-shell-safe-area-bottom))}body:not(.gameplay-active){--hub-shell-header-height:112px;overscroll-behavior:none;box-sizing:border-box;width:100%;height:100dvh;min-height:0;max-height:100dvh;padding:0;overflow:hidden}#hubViewport{inset:var(--hub-shell-header-height) 0 0;z-index:1;min-width:0;min-height:0;padding:0 28px var(--hub-shell-focus-clearance);box-sizing:border-box;overscroll-behavior:contain;scroll-padding-block:var(--hub-shell-focus-clearance);overflow-anchor:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;flex-direction:column;justify-content:safe center;align-items:center;display:flex;position:fixed;overflow:hidden auto}body[data-hub-actions-layout=wide] #mainMenu{flex:none;margin:var(--hub-shell-wide-content-offset) auto 0!important}.lobbyHeader{z-index:17;box-sizing:border-box;width:100vw;height:var(--hub-shell-header-height)!important;min-height:var(--hub-shell-header-height)!important;background:linear-gradient(180deg, #ffffff09, #ffffff03), color-mix(in srgb, var(--panel-bg) 90%, #0b0e14e6)!important;-webkit-backdrop-filter:blur(18px)!important;border-bottom:1px solid #ffffff1a!important;position:fixed!important;inset:0 0 auto!important}#mobileActionsToggle{visibility:hidden!important;pointer-events:none!important;display:none!important}body[data-hub-actions-layout=wide] #hubActionBar{display:contents}body[data-hub-actions-layout=wide] #hubActionBar>:is(#leaderboardButton,#streakButton,#statsButton,#settingsButton){z-index:20;margin:0;top:var(--hub-shell-wide-action-top)!important;width:var(--hub-shell-wide-action-size)!important;min-width:var(--hub-shell-wide-action-size)!important;max-width:var(--hub-shell-wide-action-size)!important;height:var(--hub-shell-wide-action-size)!important;min-height:var(--hub-shell-wide-action-size)!important;position:fixed!important;bottom:auto!important}body[data-hub-actions-layout=wide] #hubActionBar>#leaderboardButton{right:auto!important;left:calc(var(--hub-shell-wide-edge) + env(safe-area-inset-left))!important}body[data-hub-actions-layout=wide] #hubActionBar>#settingsButton{right:calc(var(--hub-shell-wide-edge) + env(safe-area-inset-right))!important;left:auto!important}body[data-hub-actions-layout=wide] #hubActionBar>#statsButton{right:calc(var(--hub-shell-wide-edge) + var(--hub-shell-wide-action-size) + var(--hub-shell-wide-action-gap) + env(safe-area-inset-right))!important;left:auto!important}body[data-hub-actions-layout=wide] #hubActionBar>#streakButton{right:calc(var(--hub-shell-wide-edge) + var(--hub-shell-wide-action-size) + var(--hub-shell-wide-action-size) + var(--hub-shell-wide-action-gap) + var(--hub-shell-wide-action-gap) + env(safe-area-inset-right))!important;width:var(--hub-shell-wide-streak-width)!important;min-width:var(--hub-shell-wide-streak-width)!important;max-width:var(--hub-shell-wide-streak-width)!important;left:auto!important}body[data-hub-actions-layout=dock] #hubActionBar{z-index:30;grid-template-columns:var(--hub-shell-dock-streak-width) repeat(3, var(--hub-shell-dock-action-size));justify-content:center;align-items:center;gap:var(--hub-shell-dock-gap);width:100vw;min-width:0;min-height:var(--hub-shell-dock-block-size);padding:var(--hub-shell-dock-padding-block) max(12px, var(--hub-shell-safe-area-right)) calc(var(--hub-shell-dock-padding-block) + var(--hub-shell-safe-area-bottom)) max(12px, var(--hub-shell-safe-area-left));background:linear-gradient(0deg, #ffffff06, #ffffff02), color-mix(in srgb, var(--panel-bg) 94%, var(--app-bg));box-sizing:border-box;-webkit-backdrop-filter:blur(18px);border-top:1px solid #ffffff1a;margin:0;display:grid;position:fixed;inset:auto 0 0;transform:none;box-shadow:0 -14px 30px #00000047;max-width:none!important}body[data-hub-actions-layout=dock] #hubActionBar>:is(#leaderboardButton,#streakButton,#statsButton,#settingsButton){margin:0;width:var(--hub-shell-dock-action-size)!important;min-width:var(--hub-shell-dock-action-size)!important;max-width:var(--hub-shell-dock-action-size)!important;height:var(--hub-shell-dock-action-size)!important;min-height:var(--hub-shell-dock-action-size)!important;position:relative!important;inset:auto!important}body[data-hub-actions-layout=dock] #hubActionBar>#streakButton{width:var(--hub-shell-dock-streak-width)!important;min-width:var(--hub-shell-dock-streak-width)!important;max-width:var(--hub-shell-dock-streak-width)!important}body[data-hub-actions-layout=dock]:not(.gameplay-active){overscroll-behavior:none;justify-content:flex-start;align-items:stretch;height:100dvh;min-height:0;max-height:100dvh;padding:0;overflow:hidden}body[data-hub-actions-layout=dock]{--hub-shell-grid-gap:clamp(6px, 1.25dvh, 12px);--hub-shell-available-block-size:calc(var(--hub-shell-viewport-block-size) - var(--hub-shell-header-height) - var(--hub-shell-dock-block-size));--hub-shell-card-block-size:clamp(72px, calc(( var(--hub-shell-available-block-size) - var(--hub-shell-grid-gap) - var(--hub-shell-grid-gap) - var(--hub-shell-grid-gap) - var(--hub-shell-focus-clearance) - var(--hub-shell-focus-clearance) ) / 4), 210px);--hub-shell-grid-block-size:calc(var(--hub-shell-card-block-size) + var(--hub-shell-card-block-size) + var(--hub-shell-card-block-size) + var(--hub-shell-card-block-size) + var(--hub-shell-grid-gap) + var(--hub-shell-grid-gap) + var(--hub-shell-grid-gap));--hub-shell-effective-start-gap:clamp(var(--hub-shell-focus-outline-extent), calc(var(--hub-shell-available-block-size) - var(--hub-shell-grid-block-size) - var(--hub-shell-focus-clearance)), var(--hub-shell-content-start-gap))}body[data-hub-actions-layout=dock] #hubViewport{overscroll-behavior:none;touch-action:manipulation;justify-content:flex-start;padding:0 14px;inset-block-end:var(--hub-shell-dock-block-size);overflow-y:hidden}body[data-hub-actions-layout=dock] .lobbyHeader{height:var(--hub-shell-header-height)!important;min-height:var(--hub-shell-header-height)!important;padding:calc(14px + var(--hub-shell-safe-area-top)) max(16px, var(--hub-shell-safe-area-right)) 12px max(16px, var(--hub-shell-safe-area-left))!important}body[data-hub-actions-layout=dock] #mainMenu{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:var(--hub-shell-card-block-size);gap:var(--hub-shell-grid-gap);box-sizing:border-box;flex:none;align-content:start;width:min(100%,760px);max-width:760px;min-height:0;max-height:none;padding:0;overflow:visible;height:auto!important;margin:var(--hub-shell-effective-start-gap) auto var(--hub-shell-focus-clearance)!important;grid-template-rows:none!important}body[data-hub-actions-layout=dock] #mainMenu>.modeCard{width:100%;height:var(--hub-shell-card-block-size);aspect-ratio:auto;min-height:0}body[data-hub-actions-layout=dock] #classicCard{grid-area:1/1!important}body[data-hub-actions-layout=dock] #sequenceCard{grid-area:2/1!important}body[data-hub-actions-layout=dock] #chimpCard{grid-area:3/1!important}body[data-hub-actions-layout=dock] #numberCard{grid-area:4/1!important}body[data-hub-actions-layout=dock] #advancedCard{grid-area:1/2!important}body[data-hub-actions-layout=dock] #sequenceAdvancedCard{grid-area:2/2!important}body[data-hub-actions-layout=dock] #chimpAdvancedCard{grid-area:3/2!important}body[data-hub-actions-layout=dock] #verbalCard{grid-area:4/2!important}body[data-hub-actions-layout=dock] .modeCard .cardIcon{padding:4px 6px}body[data-hub-actions-layout=dock] .modeCard .cardBottom{min-height:clamp(34px,5.7dvh,52px);padding-inline:clamp(6px,2.5vw,12px)}body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=visual],body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=sequence],body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=chimp]{--hub-game-icon-size:clamp(24px, calc(var(--hub-shell-card-block-size) - 60px), 124px)}body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=visualAdvanced],body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=sequenceAdvanced],body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=chimpAdvanced]{--hub-game-icon-size:clamp(26px, calc(var(--hub-shell-card-block-size) - 54px), 136px)}body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=number],body[data-hub-actions-layout=dock] .gameIconMount[data-game-icon=word]{--hub-game-icon-size:clamp(30px, calc(var(--hub-shell-card-block-size) - 44px), 160px)}body[data-hub-actions-layout=dock] .gameIconMount>.assetGameIcon{width:var(--hub-game-icon-size)!important;height:var(--hub-game-icon-size)!important;inline-size:var(--hub-game-icon-size)!important;block-size:var(--hub-game-icon-size)!important;flex:0 0 var(--hub-game-icon-size)!important}body.gameplay-active #hubActionBar,body.gameplay-active #hubViewport{display:none!important}body.utilityModalShellOpen #hubActionBar{pointer-events:none}body.utilityModalShellOpen :is(#settingsOverlay,#statsOverlay,#leaderboardOverlay,#streakOverlay).open{z-index:60;pointer-events:auto}@media (width<=1100px) and (orientation:portrait){body:not(.gameplay-active){--hub-shell-header-height:calc(118px + var(--hub-shell-safe-area-top))}body:not(.gameplay-active),#hubActionBar{--hub-shell-wide-action-size:clamp(50px, 5.4vw, 58px);--hub-shell-wide-streak-width:clamp(98px, 9.5vw, 108px);--hub-shell-wide-action-gap:clamp(14px, 1.7vw, 16px);--hub-shell-wide-edge:clamp(12px, 2.4vw, 22px);--hub-shell-wide-action-top:clamp(12px, 2.4vw, 22px);--hub-shell-dock-action-size:clamp(48px, 14vw, 54px);--hub-shell-dock-streak-width:clamp(86px, 27vw, 104px);--hub-shell-dock-gap:clamp(10px, 3.5vw, 14px);--hub-shell-dock-padding-block:clamp(10px, 1.8dvh, 14px)}}@media (height<=520px) and (orientation:landscape){body:not(.gameplay-active){--hub-shell-header-height:78px}body:not(.gameplay-active),#hubActionBar{--hub-shell-wide-action-size:46px;--hub-shell-wide-streak-width:92px;--hub-shell-wide-action-gap:8px;--hub-shell-wide-edge:10px;--hub-shell-wide-action-top:calc(10px + env(safe-area-inset-top));--hub-shell-brand-action-gap:24px;--hub-shell-brand-reserve-width:286px;--hub-shell-dock-action-size:46px;--hub-shell-dock-streak-width:92px;--hub-shell-dock-gap:8px;--hub-shell-dock-padding-block:8px}body[data-hub-actions-layout=dock] #mainMenu{--hub-shell-content-start-gap:14px}}@media (width>=1101px) and (height<=760px){body[data-hub-actions-layout=wide]:not(.gameplay-active){justify-content:flex-start;overflow:hidden}}@media (width<=319px) and (orientation:portrait){body:not(.gameplay-active),#hubActionBar{--hub-shell-dock-action-size:44px;--hub-shell-dock-streak-width:80px;--hub-shell-dock-gap:8px;--hub-shell-dock-padding-block:8px}body[data-hub-actions-layout=dock] #mainMenu{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px),(hover:none) and (pointer:coarse),(prefers-reduced-transparency:reduce){.lobbyHeader,body[data-hub-actions-layout=dock] #hubActionBar{backdrop-filter:none!important}body[data-hub-actions-layout=dock] #hubActionBar{box-shadow:none}}@supports ((-webkit-backdrop-filter:none)){@media (width<=900px),(hover:none) and (pointer:coarse),(prefers-reduced-transparency:reduce){.lobbyHeader,body[data-hub-actions-layout=dock] #hubActionBar{-webkit-backdrop-filter:none!important}}}@media (width<=900px) and (orientation:portrait){:is(#leaderboardButton,#streakButton,#statsButton,#settingsButton){filter:none!important;box-shadow:none!important;backdrop-filter:none!important;transition:none!important;animation:none!important;transform:none!important}#hubActionBar :is(.assetIcon,.streakFlame),#hubActionBar :is(.assetIcon,.streakFlame):before,#hubActionBar :is(.assetIcon,.streakFlame):after{filter:none!important;transition:none!important;animation:none!important}:is(.modeCard,.modeCard:hover,.modeCard:focus-visible,.modeCard:active){filter:none!important;box-shadow:none!important;transition:none!important;animation:none!important;transform:none!important}:is(#statsOverlay,#leaderboardOverlay,#settingsOverlay,#streakOverlay,#gameModalOverlay){backdrop-filter:none!important;background:#01070ee6!important;transition:none!important;animation:none!important}:is(#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel){filter:none!important;box-shadow:none!important;backdrop-filter:none!important;transition:none!important;animation:none!important;transform:none!important}:is(#statsHeader,#leaderboardHeader,#settingsHeader,#streakHeader,.statsAllGamesHeader){box-shadow:none!important;backdrop-filter:none!important;transition:none!important;animation:none!important}}@supports ((-webkit-backdrop-filter:none)){@media (width<=900px) and (orientation:portrait){:is(#leaderboardButton,#streakButton,#statsButton,#settingsButton,#statsOverlay,#leaderboardOverlay,#settingsOverlay,#streakOverlay,#gameModalOverlay,#statsPanel,#leaderboardPanel,#settingsPanel,#streakPanel,#gameModalPanel,#statsHeader,#leaderboardHeader,#settingsHeader,#streakHeader,.statsAllGamesHeader){-webkit-backdrop-filter:none!important}}}#statsPanel[data-active-stats-tab=allGames],#statsCards[data-active-stats-tab=allGames],#statsCards[data-active-stats-tab=allGames]>.statsTabPanel,#statsCards[data-active-stats-tab=allGames] .statsAllGamesView{overscroll-behavior:none;min-height:0;overflow:hidden!important}#statsCards[data-active-stats-tab=allGames]>.statsTabPanel{flex:auto}#statsCards[data-active-stats-tab=allGames] .statsAllGamesView{flex:auto;grid-template-rows:minmax(0,1fr);gap:0;min-width:0;display:grid}#statsAllGamesContentHeader{box-sizing:border-box;-webkit-backdrop-filter:none;flex:none;min-width:0;margin:0 0 12px;padding:4px 4px 14px;box-shadow:none!important;background:0 0!important;position:static!important;inset:auto!important;transform:none!important}#statsAllGamesScroller{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;grid-row:1;min-width:0;min-height:0;max-height:none;margin:0;padding:0 8px 0 0;overflow:hidden auto!important}#statsAllGamesScroller>.statsGameListFull{scrollbar-gutter:auto;min-width:0;height:auto;min-height:0;max-height:none;margin:0;padding:0;overflow:visible!important}body.reduced-motion :where(button,a[href],input,select,textarea,[role=button],[role=tab],[role=option],.modeCard,.cell,.sequenceAdvancedCell,.chimpAdvancedCell,.settingsSideItem,.settingsOption,.settingsChoice,.statsTab,.statsSummaryCard,.statsGameCard,.runOverButton,[class^=lb-],[class*=\ lb-]),body.reduced-motion :where(button,a[href],[role=button],[role=tab],[role=option],.modeCard,.cell,.sequenceAdvancedCell,.chimpAdvancedCell,.settingsSideItem,.settingsOption,.settingsChoice,.statsTab,.statsSummaryCard,.statsGameCard,.runOverButton,[class^=lb-],[class*=\ lb-]):before,body.reduced-motion :where(button,a[href],[role=button],[role=tab],[role=option],.modeCard,.cell,.sequenceAdvancedCell,.chimpAdvancedCell,.settingsSideItem,.settingsOption,.settingsChoice,.statsTab,.statsSummaryCard,.statsGameCard,.runOverButton,[class^=lb-],[class*=\ lb-]):after,body.reduced-motion :where(#gameModalOverlay,#settingsOverlay,#statsOverlay,#leaderboardOverlay,#streakOverlay,#gameModalPanel,#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#settingsHeader,#statsHeader,#leaderboardHeader,#streakHeader,#hubActionBar,#lobbyHeader,.memoryFocusPanel,.memoryFocusDisplay,.runOverCard,.advancedLifeLossCard,.gameHud),body.reduced-motion :where(#gameModalPanel,#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#hubActionBar,.memoryFocusPanel,.runOverCard,.advancedLifeLossCard):before,body.reduced-motion :where(#gameModalPanel,#settingsPanel,#statsPanel,#leaderboardPanel,#streakPanel,#hubActionBar,.memoryFocusPanel,.runOverCard,.advancedLifeLossCard):after{transition:none!important;animation:none!important}body.reduced-motion :where(button,a[href],[role=button],[role=tab],[role=option],.modeCard,.settingsSideItem,.settingsOption,.settingsChoice,.statsTab,.statsSummaryCard,.statsGameCard,.runOverButton,.lb-unlockActionButton,.lb-unlockModeItem):is(:hover,:focus-visible,:active),body.reduced-motion :where(.lb-unlockActionButton.is-unlocking,.modeCard.selected,.modeCard.active){transform:translate(0,0)scale(1)rotate(0)!important}body.reduced-motion #game :where(.cell,.sequenceAdvancedCell,.chimpAdvancedCell,.memoryFocusChoiceButton,.numberMemoryPrimaryButton,#continueButton,#checkButton,#replayPatternButton,#backToHubButton,.runOverButton){transition:none!important;animation:none!important;transform:translate(0,0)scale(1)rotate(0)!important}body.reduced-motion #game :where(.sequenceAdvancedCell,.chimpAdvancedCell)[style*=--advanced-cell-inline-offset]{position:relative;inset-inline-start:var(--advanced-cell-inline-offset,0px)}body.reduced-motion #game :where(.cell.pressed,.cell:active,.sequenceSimpleActive,.sequenceAdvancedCell:active,.sequenceAdvancedCell.replayActive,.chimpAdvancedCell:active,.chimpAdvancedCell.visible:active,#continueButton:active,#checkButton:active,#replayPatternButton:active,#backToHubButton:active,.memoryFocusChoiceButton:active,.numberMemoryPrimaryButton:active,.runOverButton:active){transform:translate(0,0)scale(1)rotate(0)!important}body.reduced-motion #screenFeedback,body.reduced-motion #screenFeedback.screenFeedback.correct,body.reduced-motion #screenFeedback.screenFeedback.wrong{will-change:auto;opacity:0!important;transition:none!important;animation:none!important}@media (width<=540px),(width<=900px) and (height<=520px) and (orientation:landscape){#statsPanel[data-active-stats-tab=overview],#statsCards[data-active-stats-tab=overview]{overscroll-behavior:none;min-height:0;overflow:hidden!important}#statsCards[data-active-stats-tab=overview]>#statsOverviewPanel{overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y;-webkit-overflow-scrolling:touch;flex:auto;min-width:0;min-height:0;max-height:none;padding-inline-end:8px;overflow:hidden auto!important}#statsCards[data-active-stats-tab=overview] #statsOverviewPanel .statsRecentSessionList{overscroll-behavior:auto;scrollbar-gutter:auto;touch-action:auto;flex:none;width:100%;height:auto;min-height:0;padding-inline-end:0;max-height:none!important;overflow:visible!important}}@media (width<=540px) and (orientation:portrait){#gameModalOverlay{align-items:center;overflow:hidden}#gameModalPanel{width:calc(100vw - 32px);height:min(620px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));min-height:0;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:24px 14px 20px;overflow:hidden}#gameModalPanel>.gameModalBody{box-sizing:border-box;overscroll-behavior:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;justify-content:safe center;align-items:center;width:100%;min-width:0;min-height:0;padding:36px 0 8px;display:flex;overflow:hidden auto}#gameModalPanel #gameModalIcon{flex:none;margin-top:0}#gameModalPanel #gameModalTitle,#gameModalPanel.gameModalAdvanced #gameModalTitle{white-space:normal;text-wrap:balance;overflow-wrap:anywhere;flex:none;margin:14px 34px 0}#gameModalPanel #gameModalDescription,#gameModalPanel.gameModalAdvanced #gameModalDescription{flex:none;margin-top:14px}#gameModalPanel #gameModalStartButton{flex:none;margin-top:24px}}@media (width<=900px) and (height<=520px) and (orientation:landscape){#gameModalPanel>.gameModalBody{touch-action:pan-y;justify-content:flex-start;padding-block:0 8px}#gameModalPanel #gameModalStartButton{margin:8px auto 0}}body.reduced-motion .assetIcon:before{opacity:1!important;filter:none!important;transform:scale(1)!important}body.reduced-motion .assetIcon:after{opacity:0!important;filter:none!important;transform:scale(.82)translateY(2px)!important}
