.score-bar{max-width:520px;padding:1rem;background:#fff;border-radius:22px;border:1.5px solid #e5e7eb;margin:1rem auto .5rem;box-shadow:0 10px 26px #0f172a14}.score-bar-row{display:grid;grid-template-columns:1fr;align-items:center;gap:1.5rem}.score-bar-row:has(.score-bar-badge){grid-template-columns:1fr 1fr}.score-bar-stars{display:flex;align-items:center;justify-content:center;gap:.9rem;position:relative}.score-star{width:64px;height:64px;display:inline-flex;align-items:center;justify-content:center;font-size:3rem;line-height:1;transition:all .25s ease}.score-star.filled{color:#facc15;transform:scale(1.08);text-shadow:0 2px 0 #eab308,0 8px 16px rgba(234,179,8,.4);filter:drop-shadow(0 8px 10px rgba(234,179,8,.3))}.score-star.filled:nth-child(2){transform:scale(1.22)}.score-star.empty{color:#e5e7eb;opacity:.9;filter:drop-shadow(0 4px 8px rgba(148,163,184,.25))}.score-bar-badge{display:flex;justify-content:center}.score-badge{min-width:170px;padding:.55rem 1.2rem;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-badge-emoji{font-size:2.8rem;line-height:1}.score-badge-title{font-size:1.25rem;font-weight:900;line-height:1.1;padding-top:1rem;text-align:center}.score-badge.score-bar-mastered{background:linear-gradient(135deg,#fef3c7,#fcd34d);color:#92400e;border:2px solid #fbbf24;box-shadow:0 8px 16px #eab3084d}.score-bar.score-bar-mastered{border-color:#fbbf24;background:linear-gradient(180deg,#fffbeb,#fef9e7)}@media (max-width: 520px){.score-bar{padding:1rem}.score-bar-row{grid-template-columns:1fr;gap:1rem}.score-bar-row:has(.score-bar-badge){grid-template-columns:1fr}.score-star{width:52px;height:52px;font-size:2.4rem}.score-star.filled:nth-child(2){transform:scale(1.12)}.score-badge{min-width:160px;padding:.7rem 1rem}}.mode-header{text-align:center;margin:0}.game-name{font-size:1rem;color:#1f2937;margin:1.5rem 0;font-weight:700}.gr-game-title{font-size:2rem;font-weight:900;color:#1f2937;margin:0 auto 1.2rem}.gr-game-description{font-size:1rem;color:#1f2937;font-weight:500;margin:auto}.mode-header:before,.mode-header:after{content:"✦";position:absolute;color:#60a5fa;font-size:1.35rem}.mode-header{position:relative}.mode-header:before{left:14%;top:48%}.mode-header:after{right:14%;top:42%;color:#fde68a}@media (max-width: 520px){.mode-header{margin-bottom:1.6rem}}.challenge-mode-list{display:flex;flex-direction:column;gap:18px;margin-top:.6rem}.challenge-mode-chip{position:relative;width:100%;min-height:118px;padding:1.1rem 1.2rem;border-radius:24px;border:2px solid #e5e7eb;background:#fff;display:grid;grid-template-columns:72px 1fr;align-items:center;gap:1rem;text-align:left;transition:all .2s ease;cursor:pointer;box-shadow:0 8px 24px #0f172a0a}.challenge-mode-chip:hover{transform:translateY(-2px)}.mode-text-content{display:flex;flex-direction:column;justify-content:center;gap:.35rem;min-width:0}.Mode-emoji{width:64px;height:64px;display:grid;place-items:center;font-size:2.6rem;line-height:1;margin-top:.2rem}.mode-selector-top{display:flex;justify-content:flex-start;margin-bottom:.2rem}.mode-selector h2{margin-top:-.1rem;margin-bottom:.4rem;font-size:2rem}.mode-text-content span{font-size:1.35rem;font-weight:900;line-height:1.1;margin:0}.mode-text-content small{font-size:.95rem;line-height:1.35;font-weight:600;margin:0;color:#475569}.challenge-mode-chip small{display:block;font-size:1rem;line-height:1.45;font-weight:600;color:#475569;margin:0;opacity:1;max-width:100%}.challenge-mode-chip:nth-child(1){background:linear-gradient(180deg,#f8fff9,#f0fdf4);border-color:#bbf7d0;box-shadow:0 10px 24px #22c55e14}.challenge-mode-chip:nth-child(1) span:not(.Mode-emoji){color:#16a34a}.challenge-mode-chip:nth-child(2){background:linear-gradient(180deg,#fff,#eff6ff);border-color:#bfdbfe;box-shadow:0 10px 24px #3b82f614}.challenge-mode-chip:nth-child(2) span:not(.Mode-emoji){color:#2563eb}.challenge-mode-chip:nth-child(3){background:linear-gradient(180deg,#fffaf5,#fff7ed);border-color:#fed7aa;box-shadow:0 10px 24px #f9731614}.challenge-mode-chip:nth-child(3) span:not(.Mode-emoji){color:#f97316}.challenge-mode-chip:nth-child(4){background:linear-gradient(180deg,#fff5f5,#fff1f2);border-color:#fecaca;box-shadow:0 10px 24px #ef444414}.challenge-mode-chip:nth-child(4) span:not(.Mode-emoji){color:#ef4444}.challenge-mode-chip.active{transform:scale(1.015)}.challenge-mode-chip:nth-child(1).active{border-color:#22c55e;box-shadow:0 14px 28px #22c55e29}.challenge-mode-chip:nth-child(2).active{border-color:#3b82f6;box-shadow:0 14px 28px #3b82f629}.challenge-mode-chip:nth-child(3).active{border-color:#f97316;box-shadow:0 14px 28px #f9731629}.challenge-mode-chip:nth-child(4).active{border-color:#ef4444;box-shadow:0 14px 28px #ef444429}.description{text-align:center;font-size:1.8rem;font-weight:900;color:#0f172a;margin-top:0;margin-bottom:1rem}.range-hint{text-align:center;font-size:.95rem;font-weight:600;color:#64748b;margin-top:.1rem;margin-bottom:1rem;line-height:1.5}.button-group{margin-top:1.7rem}.primary{width:100%;min-height:58px;border:none;border-radius:999px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-size:1rem;font-weight:800;box-shadow:0 12px 24px #22c55e33;transition:all .2s ease}.primary:disabled{opacity:.5;cursor:not-allowed}.start-card .theme-blue{--theme-primary: #2563eb;--theme-dark: #1d4ed8;--theme-deep: #1e40af;--theme-border: #93c5fd;--theme-bg: #eff6ff;--theme-shadow: rgba(37, 99, 235, .22)}.start-card .theme-green{--theme-primary: #22c55e;--theme-dark: #16a34a;--theme-deep: #15803d;--theme-border: #86efac;--theme-bg: #f0fdf4;--theme-shadow: rgba(34, 197, 94, .22)}.start-card .theme-orange{--theme-primary: #f97316;--theme-dark: #ea580c;--theme-deep: #c2410c;--theme-border: #fdba74;--theme-bg: #fff7ed;--theme-shadow: rgba(249, 115, 22, .22)}.start-card .theme-purple{--theme-primary: #8b5cf6;--theme-dark: #7c3aed;--theme-deep: #6d28d9;--theme-border: #c4b5fd;--theme-bg: #faf5ff;--theme-shadow: rgba(139, 92, 246, .22)}.start-card .theme-pink{--theme-primary: #ec4899;--theme-dark: #db2777;--theme-deep: #be185d;--theme-border: #f9a8d4;--theme-bg: #fff1f7;--theme-shadow: rgba(236, 72, 153, .22)}.game-card,.start-card{border-radius:30px;padding:1.2rem;border:2px solid #e5e7eb;box-shadow:0 14px 34px #0f172a14}.mode-guided{border-color:#86efac;background:linear-gradient(180deg,#fff,#f0fdf4)}.mode-practice{border-color:#93c5fd;background:linear-gradient(180deg,#fff,#eff6ff)}.mode-challenge{border-color:#fdba74;background:linear-gradient(180deg,#fffaf5,#fff7ed)}.mode-champion{border-color:#fca5a5;background:linear-gradient(180deg,#fff5f5,#fff1f2)}.start-card.theme-blue{--theme-primary: #2563eb;--theme-dark: #1d4ed8;--theme-deep: #1e40af;--theme-border: #93c5fd;--theme-bg: #eff6ff;--theme-bg-soft: #f8fbff;--theme-shadow: rgba(37, 99, 235, .22)}.start-card.theme-green{--theme-primary: #22c55e;--theme-dark: #16a34a;--theme-deep: #15803d;--theme-border: #86efac;--theme-bg: #f0fdf4;--theme-bg-soft: #f8fff9;--theme-shadow: rgba(34, 197, 94, .22)}.start-card.theme-orange{--theme-primary: #f97316;--theme-dark: #ea580c;--theme-deep: #c2410c;--theme-border: #fdba74;--theme-bg: #fff7ed;--theme-bg-soft: #fffaf5;--theme-shadow: rgba(249, 115, 22, .22)}.start-card.theme-purple{--theme-primary: #8b5cf6;--theme-dark: #7c3aed;--theme-deep: #6d28d9;--theme-border: #c4b5fd;--theme-bg: #faf5ff;--theme-bg-soft: #fbf7ff;--theme-shadow: rgba(139, 92, 246, .22)}.start-card.theme-pink{--theme-primary: #ec4899;--theme-dark: #db2777;--theme-deep: #be185d;--theme-border: #f9a8d4;--theme-bg: #fff1f7;--theme-bg-soft: #fff8fb;--theme-shadow: rgba(236, 72, 153, .22)}.start-card{margin:auto 0;padding:1.4rem;border-radius:28px;border:1.5px solid var(--theme-border, #93c5fd);background:linear-gradient(180deg,#ffffff 0%,var(--theme-bg-soft, #f8fbff) 100%);box-shadow:0 14px 35px #0f172a1f;display:grid;gap:1rem;text-align:center}.start-card .game-icon{font-size:3rem;margin-bottom:.2rem}.start-card .game-title{font-size:1.5rem;font-weight:900;color:#0f172a;margin-bottom:.5rem}.start-card .game-description{font-size:.9rem;color:#64748b;margin-bottom:1rem}.start-card .range-hint{margin:.6rem 0;font-size:.82rem;font-weight:800;color:var(--theme-dark, #1d4ed8)}.level-header{position:relative}.level-header:before,.level-header:after{content:"✦";position:absolute;font-size:1.35rem}.level-header:before{left:35%;top:20%;color:var(--theme-primary, #2563eb)}.level-header:after{right:35%;top:-2%;color:#facc15}.start-card .level-switch{display:grid;gap:1rem;margin:0}.start-card .chip{position:relative;width:100%;min-height:130px;border-radius:22px;border:2px solid #e5e7eb;background:#fff;color:#64748b;font-size:.95rem;font-weight:800;cursor:pointer;box-shadow:0 6px 14px #0f172a0f;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;padding:1.5rem 1.2rem}.start-card .chip.active{border-color:var(--theme-primary, #2563eb);background:linear-gradient(180deg,#ffffff 0%,var(--theme-bg, #eff6ff) 100%);color:var(--theme-dark, #1d4ed8);box-shadow:0 10px 22px var(--theme-shadow, rgba(37, 99, 235, .22))}.start-card .chip.active:before{content:"⭐";position:absolute;top:-22px;left:50%;transform:translate(-50%);font-size:1.4rem;z-index:2;filter:drop-shadow(0 2px 4px rgba(234,179,8,.35))}.start-card .chip:hover:not(:disabled):not(.locked){transform:translateY(-2px)}.start-card .chip.locked,.start-card .chip:disabled{cursor:not-allowed;background:#f8fafc;color:#9ca3af;border-color:#e5e7eb;box-shadow:none}.start-card .chip.locked:before{content:none}.level-title{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem}.level-number{font-size:2.25rem;font-weight:900;line-height:1;color:var(--theme-primary, #2563eb)}.level-label{font-size:1rem;font-weight:900;color:#0f172a}.level-divider{width:100%;height:1.5px;margin:1.1rem 0 .9rem;background:linear-gradient(90deg,transparent,var(--theme-border, #93c5fd),transparent)}.level-best-score{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;margin-top:.35rem}.level-best-score-label{font-size:.78rem;font-weight:700;color:#64748b;letter-spacing:.02em}.best-score-value{font-size:1.25rem;font-weight:900;line-height:1;color:var(--theme-primary, #2563eb);text-shadow:0 2px 8px var(--theme-shadow, rgba(37, 99, 235, .22))}.level-mastered{margin-top:.35rem;font-size:.78rem;font-weight:800;color:var(--theme-primary, #2563eb)}.level-locked-text{margin-top:.5rem;font-size:.8rem;font-weight:700;color:#9ca3af}.start-card .chip.locked .level-number,.start-card .chip.locked .level-label,.start-card .chip.locked .level-mastered{color:#9ca3af}.start-card .chip.locked .level-divider{background:#e5e7eb}.button-group{margin-top:.4rem}.primary{width:100%;min-height:56px;border:none;border-radius:999px;font-size:1rem;font-weight:900;color:#fff;background:linear-gradient(135deg,var(--theme-primary, #2563eb),var(--theme-dark, #1d4ed8));box-shadow:0 10px 24px var(--theme-shadow, rgba(37, 99, 235, .22));transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.primary:hover:not(:disabled){transform:translateY(-2px);background:linear-gradient(135deg,#868689,#5f5f60)}.primary:active{transform:scale(.98)}.primary:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}@media (max-width: 520px){.level-header{margin-bottom:1.6rem}}.game-top-header{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:.8rem;margin-bottom:1.2rem}.game-top-header .active-level{text-align:center;font-size:1rem;font-weight:200;color:#0f172a}.game-status-bar{display:grid;grid-template-columns:1fr 1fr;align-items:center;margin-bottom:1.8rem;border:2px solid #e5e7eb;border-radius:18px;background:#fff;overflow:hidden}.game-status-bar span{min-height:58px;display:flex;align-items:center;justify-content:center;font-size:.95rem;font-weight:800;color:#0f172a}.game-status-bar span+span{border-left:2px solid #e5e7eb}.mode-guided .game-status-bar{border-color:#bbf7d0}.mode-practice .game-status-bar{border-color:#bfdbfe}.mode-challenge .game-status-bar{border-color:#fed7aa}.mode-champion .game-status-bar{border-color:#fecaca}.active-level{font-weight:200;color:#0f172a;margin:0;font-size:1.25rem}.mode-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:.45rem;padding:.5rem 1rem;border-radius:999px;color:#fff;font-size:.82rem;font-weight:900;letter-spacing:.02em}.mode-guided .mode-badge{background:linear-gradient(135deg,#22c55e,#16a34a)}.mode-practice .mode-badge{background:linear-gradient(135deg,#3b82f6,#2563eb)}.mode-challenge .mode-badge{background:linear-gradient(135deg,#fb923c,#f97316)}.mode-champion .mode-badge{background:linear-gradient(135deg,#ef4444,#dc2626)}.secondary,.danger{flex:1;padding:.8rem;border-radius:14px;border:none;cursor:pointer;font-weight:800;font-size:.95rem;transition:all .2s ease;min-width:120px}.secondary{background:#e5e7eb;color:#374151}.secondary:hover{background:#d1d5db}.danger{background:#ef4444;color:#fff}.danger:hover{background:#dc2626}.question-progress{text-align:center;color:#94a3b8;margin-bottom:1rem;font-size:.88rem;font-weight:700}.question-progress-bar{width:100%;height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin-bottom:2rem}.question-progress-fill{height:100%;border-radius:inherit;transition:width .25s ease}.mode-guided .question-progress-fill{background:linear-gradient(90deg,#22c55e,#16a34a)}.mode-practice .question-progress-fill{background:linear-gradient(90deg,#3b82f6,#2563eb)}.mode-challenge .question-progress-fill{background:linear-gradient(90deg,#fb923c,#f97316)}.mode-champion .question-progress-fill{background:linear-gradient(90deg,#ef4444,#dc2626)}.question{font-size:2rem;text-align:center;color:#0f172a;margin-bottom:1rem;font-weight:900;line-height:1.25}.mode-guided .question strong{color:#16a34a}.mode-practice .question strong{color:#2563eb}.mode-challenge .question strong{color:#f97316}.mode-champion .question strong{color:#ef4444}.range-hint{text-align:center;color:#94a3b8;font-size:.85rem;font-weight:700;margin-bottom:1rem}.timer-box{margin:1rem auto;padding:1rem;border-radius:18px;font-weight:900;max-width:420px;text-align:center}.mode-challenge .timer-box{background:#fff7ed;color:#ea580c;border:2px solid #fed7aa}.mode-champion .timer-box{background:#fff1f2;color:#dc2626;border:2px solid #fecaca}.answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:1rem;margin-bottom:1.2rem}.answer{min-height:78px;padding:.8rem;border-radius:22px;border:2px solid #e5e7eb;background:#fff;cursor:pointer;font-size:1.8rem;font-weight:900;color:#0f172a;transition:all .18s ease;user-select:none;-webkit-user-select:none;box-shadow:0 4px 10px #0f172a0a}.answer:hover:not(:disabled){transform:translateY(-2px)}.answer:active:not(:disabled){transform:translateY(0)}.answer:disabled{cursor:not-allowed}.answer.correct{color:#fff}.mode-guided .answer.correct{background:#22c55e;border-color:#22c55e}.mode-practice .answer.correct{background:#2563eb;border-color:#2563eb}.mode-challenge .answer.correct{background:#f97316;border-color:#f97316}.mode-champion .answer.correct{background:#ef4444;border-color:#ef4444}.answer.muted{opacity:.45;color:#9ca3af}.feedback{text-align:center;padding:1rem;border-radius:22px;margin-top:1rem;margin-bottom:1rem;font-size:1rem;font-weight:800;display:flex;align-items:center;justify-content:center;gap:.6rem}.feedback span{font-size:1.4rem}.feedback.idle{background:#f0f9ff;color:#0c4a6e;border:2px solid #bfdbfe}.feedback.wrong{background:#fee2e2;color:#991b1b;border:2px solid #fca5a5}.mode-guided .feedback.correct{border:2px solid #bbf7d0;background:#f0fdf4;color:#166534}.mode-practice .feedback.correct{border:2px solid #bfdbfe;background:#eff6ff;color:#1d4ed8}.mode-challenge .feedback.correct{border:2px solid #fed7aa;background:#fff7ed;color:#c2410c}.mode-champion .feedback.correct{border:2px solid #fecaca;background:#fff1f2;color:#b91c1c}.feedback-card{position:relative;overflow:hidden;display:flex;align-items:center;gap:1rem;width:100%;min-height:86px;padding:1rem 1.15rem;margin:1rem 0;border-radius:22px;border:2px solid #93c5fd;background:linear-gradient(135deg,#eff6ff,#fff);box-shadow:0 8px 18px #0f172a0f}.feedback-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:999px;background:#fff;font-size:1.65rem;box-shadow:0 6px 14px #0f172a14,inset 0 1px #ffffffe6;flex-shrink:0}.feedback-content{flex:1;text-align:left}.feedback-content h4{margin:0;font-size:1.2rem;font-weight:900;line-height:1.1;color:#1d4ed8}.feedback-content p{margin:.3rem 0 0;font-size:.9rem;font-weight:700;line-height:1.35;color:#334155}.feedback-decor{margin-left:auto;font-size:1.35rem;opacity:.55}.feedback-card.idle{border-color:#60a5fa;background:linear-gradient(135deg,#eff6ff,#fff)}.feedback-card.idle .feedback-content h4{color:#1d4ed8}.feedback-card.correct{border-color:#86efac;background:linear-gradient(135deg,#ecfdf5,#fff)}.feedback-card.correct .feedback-content h4{color:#16a34a}.feedback-card.wrong{border-color:#fca5a5;background:linear-gradient(135deg,#fef2f2,#fff)}.feedback-card.wrong .feedback-content h4{color:#dc2626}.feedback-card.hint{border-color:#c084fc;background:linear-gradient(135deg,#faf5ff,#fff)}.feedback-card.hint .feedback-content h4{color:#7e22ce}.feedback-card.timeup{border-color:#fdba74;background:linear-gradient(135deg,#fff7ed,#fff)}.feedback-card.timeup .feedback-content h4{color:#ea580c}.feedback-card.timeup .feedback-icon{animation:feedbackPulse 1.1s ease-in-out infinite}@keyframes feedbackPulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@media (max-width: 640px){.feedback-card{min-height:76px;padding:.85rem;gap:.75rem}.feedback-icon{width:46px;height:46px;font-size:1.3rem}.feedback-content h4{font-size:1rem}.feedback-content p{font-size:.8rem}.feedback-decor{display:none}}.progress-wrap{margin-top:1rem}.progress-label{text-align:center;font-size:.85rem;color:#6b7280;margin-bottom:.5rem;font-weight:700}.progress-track{height:8px;background:#edf2f7;border-radius:999px;overflow:hidden}.progress-fill{height:100%;border-radius:inherit;transition:width .25s ease}.mode-guided .progress-fill{background:linear-gradient(90deg,#22c55e,#4ade80)}.mode-practice .progress-fill{background:linear-gradient(90deg,#2563eb,#60a5fa)}.mode-challenge .progress-fill{background:linear-gradient(90deg,#f97316,#fb923c)}.mode-champion .progress-fill{background:linear-gradient(90deg,#ef4444,#fb7185)}.set-complete{text-align:center;padding:1.5rem}.set-complete .feedback{margin-bottom:1.5rem}.set-complete .primary{margin-top:8px}.game-back-button{width:42px;height:42px;border:2px solid #e5e7eb;border-radius:14px;background:#fff;color:#0f172a;display:grid;place-items:center;font-size:1.35rem;font-weight:900;cursor:pointer;box-shadow:0 6px 14px #0f172a14;transition:all .2s ease}.game-back-button:hover{transform:translateY(-2px);background:#f8fafc}.mode-guided .game-back-button{border-color:#bbf7d0}.mode-practice .game-back-button{border-color:#bfdbfe}.mode-challenge .game-back-button{border-color:#fed7aa}.mode-champion .game-back-button{border-color:#fecaca}.result-summary{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin:2rem 0 1.5rem;margin-bottom:24px}.result-text h2{margin:0 0 .4rem;font-size:1.5rem;font-weight:800;color:#182235}.result-text p{margin:0 0 .4rem;font-size:1rem;font-weight:700;color:#24324a}.result-text strong{color:#2aaa35;font-size:1.15rem}.choose-mode-button{margin-top:.75rem;width:100%}.primary{min-height:60px;border-radius:999px;font-size:1rem;font-weight:900;border:none;color:#fff;transition:all .2s ease}.mode-guided .primary{background:linear-gradient(135deg,#22c55e,#16a34a)}.mode-practice .primary{background:linear-gradient(135deg,#3b82f6,#2563eb)}.mode-challenge .primary{background:linear-gradient(135deg,#fb923c,#f97316)}.mode-champion .primary{background:linear-gradient(135deg,#ef4444,#dc2626)}.primary:hover:not(:disabled){transform:translateY(-2px)}.primary:disabled{opacity:.55;cursor:not-allowed}.exit-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.exit-modal{width:min(90%,380px);background:#fff;border-radius:24px;padding:1.5rem;text-align:center;box-shadow:0 20px 50px #0f172a40}.exit-modal h2{margin:0 0 .6rem;font-size:1.4rem;font-weight:900;color:#0f172a}.exit-modal p{margin:0 0 1.2rem;color:#64748b;font-weight:600}.exit-modal-actions{display:flex;gap:.8rem}.exit-modal-actions button{flex:1}.level-mode-stars{margin-top:.2rem;padding-top:.2rem}.mode-stars-title{margin:0 0 .7rem;font-size:.9rem;font-weight:800;color:#334155}.mode-stars-list{display:flex;flex-direction:column;gap:.55rem}.mode-star-row{min-height:42px;padding:.55rem .8rem;border-radius:14px;display:flex;align-items:center;justify-content:space-between;font-size:.82rem;font-weight:900}.mode-star-row.guided{background:#f0fdf4;color:#15803d;border:1.5px solid #86efac}.mode-star-row.practice{background:#eff6ff;color:#2563eb;border:1.5px solid #93c5fd}.mode-star-row.challenge{background:#fff7ed;color:#ea580c;border:1.5px solid #fdba74}.mode-star-row.champion{background:#fff1f2;color:#dc2626;border:1.5px solid #fda4af}.mode-star-value{color:#f59e0b}.number-game{min-height:100vh;animation:fadeIn .3s ease-in}.size-Scout{min-height:100vh;animation:fadeIn .3s ease-in}.mode-challenge .size-scout-visual-support{border-color:#fdba74;background:#fff7ed}.mode-challenge .visual-support-title{color:#ea580c}.mode-challenge .size-scout-object-card{border-color:#fed7aa}.mode-guided .size-scout-visual-support{border-color:#bbf7d0;background:#f0fdf4}.mode-guided .visual-support-title{color:#15803d}.mode-guided .size-scout-object-card{border:2px solid #bbf7d0;background:#fff}.size-scout-visual-support{margin:1rem 0 1.5rem;padding:1.25rem;border-radius:28px}.visual-support-title{text-align:center;font-size:1rem;font-weight:800;margin-bottom:1rem}.size-scout-object-groups{display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap}.size-scout-object-card{flex:1;min-width:180px;min-height:92px;display:flex;justify-content:center;align-items:center;padding:1rem;border-radius:22px}.large-dot-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:140px}.large-dot{width:12px;height:12px;border-radius:999px}.size-scout-bars{display:flex;flex-direction:column;gap:.75rem}.size-bar-row{display:flex;align-items:center;gap:.75rem;width:100%}.bar-number{width:40px;font-weight:900;flex-shrink:0}.bar-track{flex:1;height:20px;background:#e5e7eb;border-radius:999px;overflow:hidden}.bar-fill{height:100%;border-radius:inherit}.green-bar{background:linear-gradient(90deg,#22c55e,#16a34a)}.blue-bar{background:linear-gradient(90deg,#60a5fa,#2563eb)}.green-dot{background:#38bdf8}.blue-dot{background:#22c55e}@media (max-width: 640px){.size-scout-object-groups{gap:.75rem}.size-scout-object-card{min-width:130px;min-height:80px;padding:.8rem}.large-dot{width:10px;height:10px}.dot{width:8px;height:8px}.vs-divider{display:none}}.between-numbers-game{min-height:100vh;animation:fadeIn .3s ease-in}.between-prompt{display:flex;justify-content:center;align-items:center;gap:.9rem;border:2px solid #bbf7d0;background:#f0fdf4;border-radius:14px;padding:.9rem;margin-bottom:.8rem}.anchor-number{min-width:52px;text-align:center;font-size:1.4rem;font-weight:700;color:#22c55e;background:#fff;border:2px solid #bbf7d0;border-radius:10px;padding:.4rem .6rem}.between-gap{font-size:1.3rem;font-weight:700;color:#22c55e}.object-display{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:center;align-items:center;min-height:72px;padding:.75rem .5rem;background:linear-gradient(135deg,#fdf4ff,#f0fdf4);border-radius:16px;border:2px dashed #c4b5fd;margin:.5rem 0 .75rem}.obj-wrapper{position:relative;display:inline-flex;align-items:center;justify-content:center}.obj{font-size:2rem;display:inline-block;line-height:1.15;user-select:none;-webkit-user-select:none}.obj--normal{opacity:1;transform:scale(1);transition:opacity .3s ease,transform .3s ease}.obj--hidden{opacity:0;transform:scale(0)}.obj--new{animation:asBounceIn .45s cubic-bezier(.34,1.56,.64,1) forwards}.obj--removed{opacity:.3;filter:grayscale(100%);transform:scale(.78);transition:opacity .4s ease,transform .4s ease,filter .4s ease}.obj-cross{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:1.55rem;font-weight:900;color:#ef4444;pointer-events:none;animation:asCrossIn .3s ease forwards}@keyframes asBounceIn{0%{opacity:0;transform:scale(0) rotate(-15deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes asCrossIn{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.addition-display{display:flex;flex-direction:column;gap:.5rem;margin:.5rem 0 .75rem}.staging-area{background:linear-gradient(135deg,#faf5ff,#ede9fe);border:2px dashed #a78bfa;border-radius:14px;padding:.65rem .75rem .75rem;text-align:center}.staging-label{font-size:.9rem;font-weight:600;color:#6d28d9;margin:0 0 .45rem}.staging-objects{display:flex;flex-wrap:wrap;gap:.3rem;justify-content:center}.staging-done{text-align:center;font-size:.9rem;font-weight:600;color:#166534;background:#dcfce7;border:1px solid #86efac;border-radius:10px;padding:.5rem .75rem}.obj-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;background:none;border:2px solid transparent;border-radius:12px;padding:4px;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease,opacity .15s ease;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}.obj-btn:hover:not(:disabled):not(.ghost){border-color:#fca5a5;background:#fff1f2;transform:scale(1.12)}.obj-btn:active:not(:disabled){transform:scale(.93)}.obj-btn.crossed{opacity:.45;filter:grayscale(100%);border-color:#ef4444;background:#fee2e2;transform:scale(.87)}.obj-btn.crossed:hover:not(:disabled){opacity:.65;transform:scale(.92)}.obj-btn:disabled{cursor:default}.obj-btn.ghost{border:2.5px dashed #a78bfa;background:#faf5ff;opacity:.65;animation:asGhostPulse 1.6s ease-in-out infinite}.obj-btn.ghost:hover:not(:disabled){opacity:1;background:#ede9fe;border-color:#7c3aed;border-style:solid;transform:scale(1.18);animation:none}@keyframes asGhostPulse{0%,to{opacity:.65;transform:scale(1)}50%{opacity:.9;transform:scale(1.08)}}.add-subtract-game{min-height:100vh;animation:asFadeIn .3s ease-in}.math-prompt{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:.75rem 0 .6rem}.math-num{font-size:2.8rem;font-weight:900;color:#2563eb;line-height:1;min-width:2.5rem;text-align:center}.math-op{font-size:2.8rem;font-weight:900;color:#7c3aed;line-height:1}.math-eq{font-size:2.8rem;font-weight:900;color:#6b7280;line-height:1}.math-q{font-size:2.8rem;font-weight:900;color:#ef4444;line-height:1;animation:asQPulse 1.2s ease-in-out infinite}@keyframes asQPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.18);opacity:.85}}.visual-support{display:flex;justify-content:center;align-items:center;gap:1rem;padding:1.2rem;margin:1rem 0 1.2rem;border-radius:24px;font-size:2rem;font-weight:900;background:#fff}.mode-guided .visual-support{border:2px solid #bbf7d0;background:#f0fdf4}.mode-practice .visual-support{border:2px solid #bfdbfe;background:#eff6ff}.mode-challenge .visual-support{border:2px solid #fed7aa;background:#fff7ed}.visual-support strong{width:64px;height:64px;border-radius:999px;display:grid;place-items:center;color:#fff;font-size:2rem}.mode-guided .visual-support strong{background:#22c55e}.mode-practice .visual-support strong{background:#2563eb}.mode-challenge .visual-support strong{background:#f97316}.hint-button{width:100%;min-height:58px;border-radius:18px;font-size:.95rem;font-weight:900;background:#fff;margin-bottom:1.4rem}.mode-guided .hint-button{border:2px solid #bbf7d0;color:#16a34a}.mode-practice .hint-button{border:2px solid #bfdbfe;color:#2563eb}.mode-challenge .hint-button{border:2px solid #fed7aa;color:#f97316}.shop-game{display:flex;flex-direction:column;min-height:100vh;padding:1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#333}.shop-header{text-align:center;margin-bottom:2rem}.coin-balance{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:1.5rem;font-weight:700;color:#fff;background:#0003;padding:.75rem 1.5rem;border-radius:50px;width:fit-content;margin:0 auto 1rem;box-shadow:0 4px 15px #0003}.coin-value{font-size:1.8rem;color:gold}.shop-header h1{font-size:2.5rem;margin:.5rem 0 0;color:#fff}.shop-subtitle{font-size:1rem;color:#ffffffe6;margin-top:.5rem}.shop-tabs{display:flex;gap:1rem;margin-bottom:2rem;justify-content:center}.tab-button{padding:.75rem 1.5rem;font-size:1rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;background:#fff3;color:#fff;transition:all .3s ease}.tab-button:hover{background:#ffffff4d;transform:translateY(-2px)}.tab-button.active{background:#fff;color:#667eea;box-shadow:0 6px 20px #00000026}.shop-content{flex:1;display:flex;flex-direction:column}.items-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.item-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #0000001a;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem;position:relative}.item-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #00000026}.item-card.owned{background:linear-gradient(135deg,#f0f9ff,#f0f4ff);border-left:4px solid #667eea}.item-icon{font-size:3rem;text-align:center}.item-info{text-align:center}.item-name{font-size:1.2rem;font-weight:700;margin:0 0 .5rem;color:#333}.item-description{font-size:.9rem;color:#666;margin:0}.item-buy-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;font-size:1rem;font-weight:700;border:none;border-radius:8px;cursor:pointer;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;transition:all .3s ease;margin-top:auto}.item-buy-button.ready:hover{transform:scale(1.05);box-shadow:0 6px 15px #667eea66}.item-buy-button.ready:active{transform:scale(.98)}.item-buy-button.disabled{background:#ccc;cursor:not-allowed;opacity:.6}.item-buy-button.processing{opacity:.7;cursor:not-allowed;animation:pulse .6s ease-in-out}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.price{font-size:1.1rem}.item-owned-badge{display:inline-block;background:#667eea;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.9rem;font-weight:700;text-align:center;margin-top:auto}.item-equip-button{padding:.65rem 1.5rem;font-size:.95rem;font-weight:700;border:2px solid;border-radius:8px;cursor:pointer;margin-top:auto;transition:all .2s ease}.item-equip-button.equip{background:linear-gradient(135deg,#667eea,#764ba2);border-color:transparent;color:#fff}.item-equip-button.equip:hover{transform:scale(1.04);box-shadow:0 4px 12px #667eea66}.item-equip-button.unequip{background:#fff;border-color:#667eea;color:#667eea}.item-equip-button.unequip:hover{background:#f5f3ff}.item-card.equipped{border-left:4px solid #667eea;box-shadow:0 4px 16px #667eea40;background:linear-gradient(135deg,#f5f3ff,#ede9fe)}.purchase-feedback{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#000c;color:#fff;padding:1rem 1.5rem;border-radius:8px;font-weight:700;white-space:nowrap;font-size:.9rem;pointer-events:none;animation:fadeInOut 1s ease-in-out}@keyframes fadeInOut{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}50%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(.9)}}.empty-state{text-align:center;padding:3rem 1.5rem;background:#ffffff1a;border-radius:12px;color:#fff}.empty-state p{font-size:1.1rem;margin:.75rem 0}.empty-state p:first-child{font-size:1.3rem;font-weight:700}@media (max-width: 640px){.shop-game{padding:1rem}.shop-header h1{font-size:1.8rem}.items-grid{grid-template-columns:1fr}.tab-button{padding:.6rem 1.2rem;font-size:.9rem}}.name-entry-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.name-entry-modal{background:#fff;border-radius:24px;padding:2rem;max-width:400px;width:90%;box-shadow:0 20px 60px #0000004d;text-align:center;animation:slideUp .4s cubic-bezier(.34,1.56,.64,1);position:relative}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.name-entry-modal.submitted{animation:scaleOut .3s ease-out forwards}@keyframes scaleOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}.name-entry-content h2{font-size:1.8rem;color:#1f2937;margin-bottom:.5rem}.funny-question{font-size:1.1rem;color:#4b5563;margin-bottom:1.5rem;line-height:1.6}.name-input{width:100%;padding:.8rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:12px;box-sizing:border-box;margin-bottom:.5rem;font-family:inherit;transition:all .2s ease}.name-input:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a;background:#f0f9ff}.name-input::placeholder{color:#d1d5db}.char-count{font-size:.8rem;color:#9ca3af;margin-bottom:1rem;margin-top:.25rem}.submit-btn{width:100%;padding:.9rem;font-size:1rem;font-weight:600;background:linear-gradient(135deg,#3b82f6,#0ea5e9);color:#fff;border:none;border-radius:12px;cursor:pointer;transition:all .2s ease}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 16px #0ea5e966}.submit-btn:active:not(:disabled){transform:translateY(0)}.submit-btn:disabled{opacity:.5;cursor:not-allowed}.success-checkmark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:3rem;color:#22c55e;animation:popIn .5s cubic-bezier(.34,1.56,.64,1)}@keyframes popIn{0%{opacity:0;transform:translate(-50%,-50%) scale(0)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.app-shell{min-height:100vh;padding:1rem;max-width:640px;margin:0 auto}.app-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:1.5rem}.home-button{background:none;border:none;cursor:pointer;padding:.2rem;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;position:relative}.header-badge{font-size:2.1rem;animation:badgePop .4s ease-out}@keyframes badgePop{0%{transform:scale(0);opacity:0}70%{transform:scale(1.3)}to{transform:scale(1);opacity:1}}.home-logo{display:block;width:140px}.header-actions{width:auto;display:flex;gap:.6rem}.header-actions button{min-width:unset!important;display:inline-flex;align-items:center;gap:.5rem;padding:.3rem .2rem;font-size:1.8rem;background:#fff;transition:background .15s ease,transform .1s ease,outline .1s ease}.header-actions button:hover{background:#e5e7eb;transform:translateY(-1px)}.header-actions button:active{transform:translateY(0);background:#d1d5db}.coin-count,.scores-count,.profile-button{min-width:1rem;font-size:1rem;font-weight:700}.settings-button{min-width:unset!important}.header-btn-active{background:#c0c2c6!important;color:#1e1b4b!important}.settings-panel{background:#fff;border-radius:22px;padding:1.5rem;box-shadow:0 10px 30px #0f172a1f;border:2px solid #dbeafe}.settings-panel h2{margin-bottom:1.2rem;font-size:1.2rem;color:#1f2937}.setting-item{margin-bottom:1.5rem}.setting-item label{display:block;margin-bottom:.6rem;color:#4b5563;font-weight:500}.setting-item label strong{color:#0ea5e9;font-weight:600}.toggle-buttons{display:flex;gap:.6rem;margin-bottom:.9rem}.full-width{width:100%;padding:.8rem;border-radius:12px;border:2px solid #e5e7eb;background:#f9fafb;cursor:pointer;font-weight:500;color:#4b5563;transition:all .2s ease;font-size:.95rem}.full-width:hover{border-color:#0ea5e9;background:#f0f9ff}.profile-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0f172a73;display:flex;align-items:flex-end}.profile-sheet{width:100%;max-width:640px;margin:0 auto;background:#fff;border-radius:28px 28px 0 0;padding:.8rem 1rem 1.25rem;box-shadow:0 -14px 40px #0f172a2e;animation:sheetUp .25s ease-out}@keyframes sheetUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.profile-sheet-handle{width:48px;height:5px;border-radius:999px;background:#cbd5e1;margin:0 auto 1rem}.profile-sheet-header{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem}.profile-avatar{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:#eff6ff;font-size:2rem}.profile-sheet-header h2{margin:0;font-size:1.3rem;color:#071a44}.profile-sheet-header p{margin:.15rem 0 0;font-size:.85rem;color:#64748b}.profile-sheet-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem;margin-bottom:1rem}.profile-sheet-stats div{text-align:center;padding:.85rem .5rem;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}.profile-sheet-stats span{display:block;font-size:1.4rem;margin-bottom:.2rem}.profile-sheet-stats strong{display:block;font-size:1.1rem;color:#071a44}.profile-sheet-stats p{margin:.1rem 0 0;font-size:.75rem;color:#64748b}.profile-sheet-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;background:#fff;border:1px solid #eef2f7;border-radius:18px}.profile-sheet-left{display:flex;align-items:center;gap:.9rem}.profile-sheet-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;border-radius:16px;background:#f3f0ff}.profile-sheet-title{font-size:1.05rem;font-weight:700;color:#1e293b}.profile-sheet-subtitle{font-size:.85rem;color:#64748b;margin-top:.15rem}.sound-toggle{width:64px;height:36px;border:none;border-radius:999px;background:#e2e8f0;padding:3px;cursor:pointer;transition:all .25s ease}.sound-toggle.is-on{background:linear-gradient(135deg,#868689,#5f5f60)}.sound-toggle-thumb{display:block;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #00000026;transition:transform .25s ease}.sound-toggle.is-on .sound-toggle-thumb{transform:translate(28px)}.share-button-wrapper{position:relative;display:inline-block}.share-button{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;font-size:1rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:2rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 2px 8px #6366f14d}.share-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #6366f166}.share-button:active{transform:translateY(0)}.share-icon{font-size:1.1rem}.share-text{white-space:nowrap}.game-share-button{background:linear-gradient(135deg,#f59e0b,#ef4444);box-shadow:0 2px 8px #f59e0b4d}.game-share-button:hover{box-shadow:0 4px 12px #f59e0b66}.share-toast{position:absolute;bottom:calc(100% + .5rem);left:50%;transform:translate(-50%);padding:.5rem 1rem;font-size:.875rem;font-weight:600;color:#065f46;background:#d1fae5;border-radius:.5rem;white-space:nowrap;animation:toast-pop .2s ease;box-shadow:0 2px 8px #0000001a}@keyframes toast-pop{0%{opacity:0;transform:translate(-50%) translateY(4px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.share-tooltip{position:absolute;bottom:calc(100% + .5rem);left:50%;transform:translate(-50%);padding:.75rem 1rem;background:#1f2937;color:#fff;border-radius:.5rem;font-size:.875rem;white-space:nowrap;animation:toast-pop .2s ease;box-shadow:0 4px 12px #0003}.share-tooltip p{margin:0 0 .5rem;font-weight:600}.share-tooltip code{display:block;padding:.25rem .5rem;background:#374151;border-radius:.25rem;font-size:.75rem;word-break:break-all;white-space:normal;max-width:200px}@media (max-width: 480px){.share-button{padding:.5rem 1rem;font-size:.9rem}.share-text{display:none}.share-icon{font-size:1.25rem}}.theme-before-after{border-color:#93c5fd;--theme-primary: #2563eb;--theme-dark: #1d4ed8;--theme-deep: #1e40af;--theme-border: #93c5fd;--theme-bg: #eff6ff;--theme-shadow: rgba(37, 99, 235, .22)}.theme-sizeScout{box-shadow:#22c55e38;--theme-primary: #22c55e;--theme-dark: #16a34a;--theme-deep: #15803d;--theme-border: #86efac;--theme-bg: #f0fdf4;--theme-shadow: rgba(34, 197, 94, .22)}.theme-addition{box-shadow:#8b5cf638;border-color:#c4b5fd;--theme-primary: #8b5cf6;--theme-dark: #7c3aed;--theme-deep: #6d28d9;--theme-border: #c4b5fd;--theme-bg: #faf5ff;--theme-shadow: rgba(139, 92, 246, .22)}.theme-between{box-shadow:#f9731638;border-color:#fdba74;--theme-primary: #f97316;--theme-dark: #ea580c;--theme-deep: #c2410c;--theme-border: #fdba74;--theme-bg: #fff7ed;--theme-shadow: rgba(249, 115, 22, .22)}.theme-substract{box-shadow:#ec489938;border-color:#f9a8d4;--theme-primary: #ec4899;--theme-dark: #db2777;--theme-deep: #be185d;--theme-border: #f9a8d4;--theme-bg: #fff1f7;--theme-shadow: rgba(236, 72, 153, .22)}.home-page{animation:fadeIn .3s ease-in}.welcome-section{text-align:center;margin-bottom:2rem}.welcome-section h1{font-size:1.8rem;color:#1f2937;margin-bottom:.5rem}.welcome-section p{font-size:1rem;color:#6b7280}.games-grid{display:grid;gap:1rem}.game-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 12px #0f172a1a;border:2px solid var(--theme-border, #dbeafe);cursor:pointer;transition:all .3s ease;text-align:center;font-family:inherit}.game-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px var(--theme-shadow, rgba(15, 23, 42, .2));border-color:var(--theme-border, #c6c7c8)}.game-card:active{transform:translateY(-2px)}.game-icon{font-size:3rem;margin-bottom:.8rem}.game-title{font-size:1.3rem;color:#1f2937;margin-bottom:.5rem}.game-description{font-size:.9rem;color:#6b7280;margin:0}.empty-state{text-align:center;padding:2rem;color:#9ca3af;font-size:1.1rem}.game-header{position:relative}.game-header:before,.game-header:after{content:"✦";position:absolute;font-size:1.35rem}.game-header:before{left:38%;top:35%;color:var(--theme-primary, #2563eb)}.game-header:after{right:38%;top:5%;color:#facc15}.home-footer{position:relative;margin-top:2rem;padding:1.5rem;border-radius:24px;background:linear-gradient(180deg,#faf7ff,#f3ecff);border:2px dashed #c4b5fd;overflow:hidden;text-align:center}.home-footer:before,.home-footer:after{content:"";position:absolute;width:14px;height:14px;background:#facc15;clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}.home-footer:before{top:18px;left:24px}.home-footer:after{right:24px;top:24px}.footer-content{display:flex;align-items:center;justify-content:space-between;gap:1rem}.footer-mascot{flex-shrink:0;width:72px;height:72px;display:flex;align-items:center;justify-content:center;font-size:3rem}.footer-text{flex:1}.footer-title{margin:0;font-size:1.5rem;font-weight:800;color:#4c1d95}.footer-title .purple{color:#7c3aed}.footer-title .blue{color:#2563eb}.footer-title .green{color:#16a34a}.footer-subtitle{margin:.5rem 0 0;font-size:1rem;line-height:1.5;color:#475569}.footer-reward{flex-shrink:0;width:72px;height:72px;display:flex;align-items:center;justify-content:center;font-size:3rem}.footer-share{margin-top:1rem;border:none;border-radius:999px;padding:.9rem 1.8rem;background:linear-gradient(180deg,#8b5cf6,#6d28d9);color:#fff;font-size:1rem;font-weight:700;box-shadow:0 8px 18px #7c3aed40;cursor:pointer;transition:all .2s ease}.footer-share:hover{transform:translateY(-2px)}@media (max-width: 640px){.footer-content{flex-direction:column}.footer-mascot,.footer-reward{width:64px;height:64px;font-size:2.5rem}.footer-title{font-size:1.35rem}.footer-subtitle{font-size:.9rem}}.scores-page{animation:fadeIn .3s ease-in}.scores-title{font-size:1.8rem;color:#1f2937;margin-bottom:1.2rem;text-align:center}.combined-banner{background:linear-gradient(135deg,#1e40af,#0ea5e9);color:#fff;border-radius:18px;padding:1.2rem 1.5rem;margin-bottom:1.5rem;box-shadow:0 6px 20px #0ea5e959;text-align:center}.combined-main{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}.combined-label{font-size:1rem;font-weight:600;opacity:.9}.combined-value{font-size:2rem;font-weight:800}.combined-best{font-size:.85rem;opacity:.8;margin-top:.4rem}.game-score-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.game-score-card{background:#fff;border-radius:16px;padding:1.2rem 1.4rem;box-shadow:0 4px 12px #0f172a14;border:2px solid #dbeafe;display:flex;align-items:stretch;justify-content:space-between;gap:1rem;flex-wrap:wrap}.game-score-header{display:flex;align-items:center;gap:.9rem;flex:1;min-width:0}.game-score-icon{font-size:2.2rem;flex-shrink:0}.game-score-info{min-width:0}.game-score-title{font-size:1rem;color:#1f2937;margin:0 0 .4rem;font-weight:700}.game-score-values{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;min-width:0}.score-chip{font-size:.82rem;font-weight:600;padding:.2rem .7rem;border-radius:20px;white-space:nowrap}.score-chip.current{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.score-chip.best{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.game-score-actions{display:flex;gap:.6rem;flex-basis:100%;justify-content:flex-end}.game-score-actions button{min-width:0}@media (max-width: 640px){.game-score-actions{justify-content:stretch}.game-score-actions button{flex:1}}.reset-all-wrap{text-align:center;padding-top:.5rem}.confirm-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:grid;place-items:center;z-index:1000;padding:1rem}.confirm-modal{width:min(460px,100%);background:#fff;border:2px solid #dbeafe;border-radius:18px;box-shadow:0 16px 36px #0f172a40;padding:1.1rem 1.1rem 1rem}.confirm-modal h2{margin:0 0 .55rem;color:#1f2937;font-size:1.15rem}.confirm-modal p{margin:0;color:#4b5563;font-size:.95rem}.confirm-modal-actions{margin-top:1rem;display:flex;justify-content:flex-end;gap:.6rem}.settings-page{animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.settings-page .chip{width:100%;padding:.75rem 1rem;border-radius:10px;border:2px solid #e5e7eb;background:#f9fafb;cursor:pointer;font-weight:500;color:#4b5563;transition:all .2s ease;font-size:.9rem;text-align:center}.settings-page .chip:hover{border-color:#0ea5e9;background:#f0f9ff}.settings-page .chip.active{background:#0ea5e9;border-color:#0ea5e9;color:#fff}:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#0f172a;background-color:#fdf4ff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 20% 10%,#fff1fb,transparent 20%),radial-gradient(circle at 80% 15%,#e0f2fe,transparent 20%),linear-gradient(180deg,#f9fbff,#f2f8ff);min-height:100vh;transition:background .4s ease,color .4s ease}body[data-theme=world-rainbow]{background:linear-gradient(180deg,#fff0fb,#fff8e1,#e8f5e9);color:#1a1a2e}body[data-theme=world-rainbow] .app-header{background:linear-gradient(90deg,#ff6b9d,#ff9a3c,#ffd93d,#6bcb77,#4d96ff);border-radius:16px;padding:.5rem 1rem;box-shadow:0 4px 16px #ff6b9d4d}body[data-theme=world-rainbow] .app-header .home-button,body[data-theme=world-rainbow] .app-header button{color:#fff}body[data-theme=world-rainbow] .game-card{border-color:#ff9a3c;background:linear-gradient(135deg,#fff9f0,#fff0fb)}body[data-theme=world-rainbow] .game-card:hover{border-color:#ff6b9d;box-shadow:0 12px 24px #ff6b9d40}body[data-theme=world-night]{background:linear-gradient(180deg,#0f0c29,#302b63 60%,#24243e);color:#e2e8f0}body[data-theme=world-night] .app-header{background:#ffffff0d;border-radius:16px;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}body[data-theme=world-night] .game-card{background:#ffffff12;border-color:#ffffff26;color:#e2e8f0}body[data-theme=world-night] .game-card:hover{background:#ffffff1f;border-color:#818cf8;box-shadow:0 12px 24px #818cf84d}body[data-theme=world-night] .game-title{color:#e2e8f0}body[data-theme=world-night] .game-description{color:#94a3b8}body[data-theme=world-night] .welcome-section h1{color:#e2e8f0}body[data-theme=world-night] .welcome-section p{color:#94a3b8}body[data-theme=world-night] .settings-panel{background:#1e1b4b;border-color:#4338ca;color:#e2e8f0}body[data-theme=world-night] .settings-panel h2,body[data-theme=world-night] .setting-item label{color:#e2e8f0}button{font:inherit}.back-button{margin-bottom:1.2rem}
