*{box-sizing:border-box}body{color:#e2e8f0;background:#0f172a;margin:0;font-family:Segoe UI,system-ui,-apple-system,sans-serif}#app{width:100%;min-height:100vh}a{color:inherit}html{-webkit-text-size-adjust:100%}body{overscroll-behavior:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}input,textarea,select{-webkit-user-select:text;user-select:text;font-size:16px}html.game-active,body.game-active{touch-action:manipulation;width:100%;height:100%;position:fixed;inset:0;overflow:hidden}html.game-active .app-shell{flex-direction:column;height:100dvh;max-height:100dvh;display:flex;overflow:hidden}html.game-active main.with-nav{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}html.game-active .game-page{flex:1;height:100%;min-height:0;max-height:100%;overflow:hidden}.app-shell{min-height:100dvh}.top-nav{padding:8px 12px;padding-top:max(8px, env(safe-area-inset-top));flex-shrink:0}.back-link{align-items:center;min-height:44px;padding:8px 4px;font-size:15px;display:inline-flex}.nav-right{gap:8px}.nav-right .current-game{display:none}.auth-bar{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:8px 12px}.auth-bar .welcome{display:none}.game-page{padding:6px 10px calc(6px + env(safe-area-inset-bottom));box-sizing:border-box;flex-direction:column;align-items:stretch;gap:6px;display:flex;overflow:hidden}.game-page .header{flex-direction:row;flex-shrink:0;order:0;justify-content:space-between;align-items:center;gap:8px;width:100%;max-width:none}.game-page .title-group{flex:1;min-width:0}.game-page .title,.game-page h1.title{line-height:1.2;font-size:22px!important}.game-page .subtitle,.game-page .rules{display:none}.game-page .stats,.game-page .scores,.game-page .header-right .scores{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;gap:6px;display:flex;overflow-x:auto}.game-page .stats::-webkit-scrollbar{display:none}.game-page .scores::-webkit-scrollbar{display:none}.game-page .stat-box,.game-page .score-box{flex:none;min-width:56px;padding:4px 8px}.game-page .stat-label,.game-page .score-label{font-size:10px}.game-page .stat-value,.game-page .score-value{font-size:16px}.game-page .game-container{width:100%;max-width:none;min-height:0;aspect-ratio:unset;touch-action:none;border-radius:10px;flex:1;order:1}.game-page .controls{flex-wrap:wrap;flex-shrink:0;order:2;gap:8px;width:100%;max-width:none}.game-page .btn,.game-page .btn.secondary,.game-page .rules-toggle{touch-action:manipulation;min-width:44px;min-height:44px;padding:12px 18px;font-size:16px}.game-page .btn.secondary.active{color:#1f2937;background:#f59e0b}.game-page .language-switch{display:none}.game-page .game-stage{flex-direction:column;flex:1;order:1;gap:6px;min-height:0;display:flex;overflow:hidden}.game-page .game-stage .game-container{flex:1;order:0;min-height:0}.game-page .game-stage .tank-touch-controls{flex-shrink:0;order:1}.game2048-page{flex:1;height:100%;min-height:0;overflow:hidden}.game2048-page .game-container{flex:1;order:unset;min-height:0;aspect-ratio:unset!important}.game2048-page .bottom-bar{flex-shrink:0}.snake-page{flex:1;height:100%;min-height:0;overflow:hidden}.snake-page .game-container{flex:1;order:unset;min-height:0;aspect-ratio:unset!important}.snake-page .bottom-bar{flex-shrink:0}.plane-page{flex:1;height:100%;min-height:0;overflow:hidden}.plane-page .game-container{flex:1;order:unset;min-height:0;aspect-ratio:unset!important}.plane-page .bottom-bar{flex-shrink:0}.watermelon-page{flex:1;height:100%;min-height:0;overflow:hidden}.watermelon-page .game-container{flex:1;order:unset;min-height:0;aspect-ratio:unset!important}.watermelon-page .bottom-bar{flex-shrink:0}.watermelon-page .stats{flex-direction:row}.game-page .fruit-list,.game-page .how-to-play,.game-page .footer,.game-page .rules{display:none!important}.breakout-page{flex:1;height:100%;min-height:0;overflow:hidden}.breakout-page .game-container{flex:1;order:unset;width:100%;min-height:0;aspect-ratio:unset!important}.match3-page,.pixel-bird-page{flex:1;height:100%;min-height:0;overflow:hidden}.match3-page .game-container,.pixel-bird-page .game-container{flex:1;order:unset;width:100%;min-height:0;aspect-ratio:unset!important}.minesweeper-page{flex:1;height:100%;min-height:0;overflow:hidden}.minesweeper-page .game-container{flex:1;order:unset;width:100%;min-height:0;aspect-ratio:unset!important}.tank-page{flex:1;justify-content:flex-start;height:100%;min-height:0;overflow:hidden}.tank-page .game-container{width:100%;aspect-ratio:unset;order:unset;flex:none!important;height:auto!important}.tank-page .tank-touch-controls{flex-shrink:0;order:unset}.home{padding:16px 12px calc(24px + env(safe-area-inset-bottom))}.home .title{font-size:28px}.home .subtitle{font-size:14px}.home .grid{grid-template-columns:1fr;gap:10px}.home .card{min-height:64px;padding:16px}.auth-page{padding:16px 12px calc(24px + env(safe-area-inset-bottom))}.profile-page{padding-bottom:calc(32px + env(safe-area-inset-bottom))}.profile-page .load-more{touch-action:manipulation;min-height:44px}.profile-page .log-list{padding-bottom:4px}.auth-page input{min-height:44px}.auth-page button[type=submit]{touch-action:manipulation;min-height:48px;font-size:16px}.sound-toggle[data-v-0026efa3]{color:#e2e8f0;cursor:pointer;touch-action:manipulation;background:0 0;border:1px solid #475569;border-radius:8px;min-width:44px;min-height:44px;padding:8px 12px;font-size:18px;line-height:1}.sound-toggle[data-v-0026efa3]:hover{background:#33415580;border-color:#64748b}.app-shell[data-v-c77980f6]{flex-direction:column;min-height:100dvh;display:flex}.top-nav[data-v-c77980f6]{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172aeb;border-bottom:1px solid #334155;justify-content:space-between;align-items:center;padding:12px 20px;display:flex;position:sticky;top:0}.back-link[data-v-c77980f6]{color:#38bdf8;font-size:14px;font-weight:600;text-decoration:none}.back-link[data-v-c77980f6]:hover{color:#7dd3fc}.nav-right[data-v-c77980f6]{align-items:center;gap:12px;display:flex}.points[data-v-c77980f6]{color:#38bdf8;font-size:13px;font-weight:600}.current-game[data-v-c77980f6]{color:#94a3b8;font-size:14px}.auth-bar[data-v-c77980f6]{background:#0f172a99;border-bottom:1px solid #1e293b;justify-content:flex-end;align-items:center;gap:12px;padding:12px 20px;display:flex}.welcome[data-v-c77980f6]{color:#cbd5e1;font-size:14px}.points-pill[data-v-c77980f6]{color:#38bdf8;background:#38bdf826;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}.auth-link[data-v-c77980f6]{color:#94a3b8;font-size:14px;text-decoration:none}.auth-link.primary[data-v-c77980f6]{color:#4ade80;font-weight:600}.auth-btn[data-v-c77980f6]{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #475569;border-radius:6px;padding:4px 10px;font-size:13px}main.with-nav[data-v-c77980f6]{flex-direction:column;flex:1;min-height:0;padding-top:0;display:flex;overflow:hidden}main.with-nav.scrollable[data-v-c77980f6]{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;overflow:hidden auto}.home[data-v-ff37419b]{max-width:960px;margin:0 auto;padding:32px 20px 48px}.hero[data-v-ff37419b]{text-align:center;margin-bottom:32px}.title[data-v-ff37419b]{background:linear-gradient(135deg,#f8fafc,#94a3b8);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:42px;font-weight:800}.subtitle[data-v-ff37419b]{color:#94a3b8;margin:10px 0 0;font-size:16px}.balance[data-v-ff37419b]{color:#38bdf8;margin:12px 0 0;font-size:15px;font-weight:600}.balance.guest[data-v-ff37419b]{color:#64748b;font-weight:500}.grid[data-v-ff37419b]{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.card[data-v-ff37419b]{color:inherit;background:#1e293b;border:1px solid #334155;border-radius:14px;align-items:center;gap:14px;padding:18px 20px;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex}.card[data-v-ff37419b]:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 8px 24px #00000040}.emoji[data-v-ff37419b]{flex-shrink:0;font-size:36px;line-height:1}.info[data-v-ff37419b]{flex:1;min-width:0}.card-title[data-v-ff37419b]{color:#f8fafc;margin:0;font-size:20px;font-weight:700}.card-subtitle[data-v-ff37419b]{color:#94a3b8;margin:4px 0 0;font-size:13px}.arrow[data-v-ff37419b]{color:var(--accent);flex-shrink:0;font-size:20px}
