:root{color-scheme:dark;--bg: #0f172a;--panel: #1e293b;--text: #e2e8f0;--muted: #94a3b8;--accent: #6366f1;--red: #ef4444;--blue: #3b82f6;--green: #22c55e;--yellow: #eab308;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{margin:0;height:100%;background:var(--bg);color:var(--text)}.screen{min-height:100dvh;display:flex;flex-direction:column;padding:20px;gap:16px}.center{align-items:center;justify-content:center;text-align:center}h1{font-size:1.6rem;margin:0}.card{background:var(--panel);border-radius:16px;padding:20px;width:100%;max-width:420px}input,button,select{font-size:1.1rem;padding:14px 16px;border-radius:12px;border:1px solid #334155;background:#0b1220;color:var(--text);width:100%}button{background:var(--accent);border:none;font-weight:700;cursor:pointer}button:disabled{opacity:.5}.stack{display:flex;flex-direction:column;gap:12px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:14px;flex:1}.answer{border:none;border-radius:20px;font-size:1.25rem;font-weight:800;min-height:120px;color:#fff}.answer.red{background:var(--red)}.answer.blue{background:var(--blue)}.answer.green{background:var(--green)}.answer.yellow{background:var(--yellow);color:#1f2937}.answer.dim{opacity:.35}.climb-ladder{display:flex;gap:4px;align-items:center;justify-content:center;margin:4px 0 10px}.climb-ladder i{flex:1;height:10px;border-radius:3px;background:#334155}.climb-ladder i.on{background:#facc15;box-shadow:0 0 8px #facc1599}.muted{color:var(--muted)}.prewarm-bar{height:10px;border-radius:999px;background:#94a3b840;overflow:hidden}.prewarm-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#6366f1,#818cf8);transition:width .4s ease}.big{font-size:3rem;font-weight:900}.row{display:flex;gap:10px;align-items:center}.topic-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;background:#0b1220}.stepper button{width:44px;height:44px;padding:0}.result-correct{color:var(--green)}.result-wrong{color:var(--red)}.podium{display:flex;align-items:flex-end;justify-content:center;gap:10px;width:100%;margin:8px 0 4px}.podium-slot{display:flex;flex-direction:column;align-items:center;flex:1;min-width:0}.podium-medal{font-size:1.8rem;line-height:1}.podium-name{font-weight:700;font-size:.95rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.podium-name.podium-me{color:var(--accent)}.podium-score{font-size:.85rem;color:var(--muted);margin-bottom:6px}.podium-block{width:100%;border-radius:10px 10px 0 0;display:flex;align-items:flex-start;justify-content:center;padding-top:8px}.podium-rank{font-weight:900;font-size:1.4rem;color:#0f172a}.question-img-card{display:flex;flex-direction:column;align-items:center;gap:6px;background:#1e293bb3;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:8px;cursor:pointer;position:relative;overflow:hidden;touch-action:manipulation}.question-img-thumbnail{width:100%;max-height:140px;object-fit:cover;border-radius:8px}.question-img-badge{position:absolute;top:14px;right:14px;background:#0f172abf;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:4px 8px;border-radius:6px;font-size:.75rem;font-weight:600;display:flex;align-items:center;gap:4px;color:#f1f5f9}.question-img-credit{font-size:.7rem;color:var(--muted);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.image-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617e6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999;padding:20px;animation:fadeIn .15s ease-out}@keyframes fadeIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.image-zoom-content{max-width:100%;max-height:80vh;object-fit:contain;border-radius:12px;box-shadow:0 20px 40px #0009}.image-zoom-close-btn{margin-top:16px;background:#ffffff26;border:1px solid rgba(255,255,255,.2);color:#fff;padding:10px 24px;border-radius:30px;font-weight:700;font-size:1rem;cursor:pointer;width:auto}.default-game-card{background:linear-gradient(135deg,#6366f126,#a855f71a);border:1px solid rgba(129,140,248,.35);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}.default-game-header{display:flex;align-items:center;justify-content:space-between}.default-game-title{font-weight:800;font-size:1.05rem;color:#e0e7ff;display:flex;align-items:center;gap:6px}.default-game-badge{background:#6366f14d;color:#a5b4fc;border:1px solid rgba(99,102,241,.4);padding:2px 8px;border-radius:20px;font-size:.75rem;font-weight:700}.default-game-desc{font-size:.85rem;color:#cbd5e1;line-height:1.4;margin:0}.topic-visual-badge{display:inline-flex;align-items:center;gap:3px;font-size:.7rem;font-weight:600;background:#38bdf826;color:#38bdf8;border:1px solid rgba(56,189,248,.3);padding:1px 6px;border-radius:4px;margin-left:6px}.topic-trivia-badge{display:inline-flex;align-items:center;gap:3px;font-size:.7rem;font-weight:600;background:#94a3b826;color:#cbd5e1;border:1px solid rgba(148,163,184,.3);padding:1px 6px;border-radius:4px;margin-left:6px}.topic-ai-badge{display:inline-flex;align-items:center;gap:3px;font-size:.7rem;font-weight:600;background:#a855f733;color:#c084fc;border:1px solid rgba(168,85,247,.35);padding:1px 6px;border-radius:4px;margin-left:6px}.section-header-row{display:flex;align-items:center;justify-content:space-between;margin-top:6px;margin-bottom:-4px}.section-title{font-weight:700;font-size:.95rem;color:#cbd5e1;display:flex;align-items:center;gap:6px}.section-subtitle{font-size:.75rem;color:var(--muted);font-weight:500}.ai-accordion-card{background:#1e293b80;border:1px dashed rgba(168,85,247,.4);border-radius:14px;overflow:hidden;margin-top:4px;transition:all .2s ease}.ai-accordion-toggle{background:transparent;border:none;border-radius:0;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;text-align:left}.ai-accordion-title-group{display:flex;align-items:center;gap:8px}.ai-accordion-icon{font-size:.9rem;color:#c084fc;width:12px}.ai-accordion-title{font-weight:700;font-size:.95rem;color:#e2e8f0}.ai-active-badge{background:#a855f74d;color:#e9d5ff;border:1px solid rgba(168,85,247,.5);font-size:.7rem;font-weight:700;padding:1px 6px;border-radius:10px}.ai-accordion-tag{font-size:.75rem;font-weight:600;color:#c084fc;background:#a855f726;border:1px solid rgba(168,85,247,.3);padding:2px 8px;border-radius:12px}.ai-accordion-content{padding:0 16px 16px}.total-questions-box{display:flex;align-items:center;justify-content:space-between;background:#0f172a99;border:1px solid rgba(51,65,85,.6);border-radius:10px;padding:10px 14px}.total-questions-count{font-weight:700;font-size:.95rem;color:#f1f5f9}.total-questions-breakdown{font-size:.8rem;color:var(--muted);font-weight:500}
