*,:before,:after{box-sizing:border-box}html,body{height:100%;margin:0;padding:0;overflow-x:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0a1628;font-family:Segoe UI,Comic Sans MS,Chalkboard SE,Nunito,Poppins,system-ui,-apple-system,sans-serif}#root{min-height:100vh}button{touch-action:manipulation}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:#ffffff0d}::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}@media (width<=480px){html{font-size:15px}}.auth-screen{background:linear-gradient(#0a1628 0%,#0d2137 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.auth-card{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:24px;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:400px;padding:36px 32px;display:flex}.auth-logo{filter:drop-shadow(0 0 20px #64b4ff66);font-size:3.5rem;line-height:1}.auth-title{color:#fff;text-align:center;margin:4px 0 0;font-size:1.8rem;font-weight:900}.auth-subtitle{color:#ffffff73;margin:0 0 12px;font-size:.95rem}.auth-tabs{background:#ffffff0f;border-radius:12px;gap:4px;width:100%;margin-bottom:8px;padding:4px;display:flex}.auth-tab{color:#ffffff80;cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1;padding:9px;font-family:inherit;font-size:.9rem;font-weight:600;transition:all .2s}.auth-tab.active{color:#fff;background:#ffffff24}.auth-form{flex-direction:column;gap:6px;width:100%;display:flex}.auth-label{color:#ffffff8c;letter-spacing:.3px;margin-top:6px;font-size:.82rem;font-weight:600}.auth-input{color:#fff;box-sizing:border-box;background:#ffffff14;border:1.5px solid #ffffff26;border-radius:12px;outline:none;width:100%;padding:12px 14px;font-family:inherit;font-size:1rem;transition:border-color .2s}.auth-input:focus{border-color:#4fc3f7}.auth-input::placeholder{color:#ffffff4d}.auth-error{color:#ff8a80;text-align:center;background:#e74c3c26;border:1px solid #e74c3c66;border-radius:10px;margin:4px 0 0;padding:10px 14px;font-size:.85rem}.auth-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2980b9,#1a6fa8);border:none;border-radius:14px;width:100%;margin-top:10px;padding:14px;font-family:inherit;font-size:1rem;font-weight:700;transition:opacity .15s}.auth-submit:hover:not(:disabled){opacity:.88}.auth-submit:disabled{opacity:.45;cursor:not-allowed}.auth-hint{color:#ffffff59;text-align:center;margin-top:4px;font-size:.78rem;line-height:1.5}.mode-select-screen{background:linear-gradient(#0d1b2a 0%,#1a2f4e 60%,#0d2137 100%);flex-direction:column;min-height:100vh;display:flex;position:relative;overflow:hidden}.mode-bg{pointer-events:none;position:absolute;inset:0}.mode-stars{width:100%;height:100%;position:relative}.mode-star{opacity:.4;font-size:1.2rem;animation:3s ease-in-out infinite modeTwinkle;position:absolute}.mode-star-0{animation-delay:0s;top:8%;left:10%}.mode-star-1{animation-delay:.6s;top:15%;left:75%}.mode-star-2{animation-delay:1.2s;top:30%;left:88%}.mode-star-3{animation-delay:.3s;top:55%;left:5%}.mode-star-4{animation-delay:.9s;top:70%;left:60%}.mode-star-5{animation-delay:1.5s;top:85%;left:30%}.mode-star-6{animation-delay:.7s;top:45%;left:50%}@keyframes modeTwinkle{0%,to{opacity:.2;transform:scale(1)}50%{opacity:.7;transform:scale(1.2)}}.mode-content{z-index:1;flex-direction:column;align-items:center;gap:28px;min-height:100vh;padding:40px 20px 30px;display:flex;position:relative}.mode-header{text-align:center}.mode-title{color:#fff;letter-spacing:-.5px;text-shadow:0 2px 12px #0006;margin:0 0 6px;font-size:2.2rem;font-weight:900}.mode-tagline{color:#fff9;margin:0;font-size:1rem;font-weight:500}.mode-cards{flex-direction:column;gap:14px;width:100%;max-width:480px;display:flex}.mode-card{border:2px solid #ffffff14;border-left:4px solid var(--mode-accent);cursor:pointer;text-align:left;color:#fff;background:#ffffff0f;border-radius:18px;align-items:center;gap:16px;padding:20px 18px;transition:transform .15s,background .15s,box-shadow .15s;display:flex;position:relative;overflow:hidden}.mode-card:before{content:"";background:linear-gradient(135deg, var(--mode-accent) 0%, transparent 60%);opacity:0;border-radius:16px;transition:opacity .2s;position:absolute;inset:0}.mode-card:hover,.mode-card:active{background:#ffffff1a;transform:translateY(-2px)scale(1.01);box-shadow:0 8px 28px #0000004d}.mode-card:hover:before{opacity:.06}.mode-card-icon{flex-shrink:0;font-size:2.8rem;line-height:1}.mode-card-body{flex:1;min-width:0}.mode-card-title{color:#fff;margin-bottom:2px;font-size:1.1rem;font-weight:800}.mode-card-subtitle{color:var(--mode-accent);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-size:.72rem;font-weight:700}.mode-card-desc{color:#ffffffa6;margin-bottom:6px;font-size:.8rem;line-height:1.4}.mode-card-audience{color:#ffffff73;font-size:.75rem;font-weight:500}.mode-card-arrow{color:var(--mode-accent);opacity:.8;flex-shrink:0;font-size:1.8rem;font-weight:300}.mode-parent-btn{color:#ffffff8c;cursor:pointer;background:0 0;border:1px solid #fff3;border-radius:24px;margin-top:auto;padding:10px 24px;font-size:.85rem;font-weight:600;transition:all .15s}.mode-parent-btn:hover{color:#ffffffd9;background:#ffffff14;border-color:#ffffff4d}@media (width<=420px){.mode-title{font-size:1.8rem}.mode-card{padding:16px 14px}.mode-card-icon{font-size:2.2rem}}.profile-screen{background:linear-gradient(#0f3460 0%,#1a5276 100%);flex-direction:column;align-items:center;min-height:100vh;padding:20px;display:flex}.back-btn{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:20px;align-self:flex-start;padding:8px 16px;font-family:inherit;font-size:.9rem;transition:background .2s}.profile-title{color:#fff;text-shadow:0 2px 10px #0000004d;margin:20px 0 30px;font-size:2.2rem;font-weight:800}.profiles-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;width:100%;max-width:900px;display:grid}.profile-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:2px solid #fff3;border-radius:20px;align-items:center;gap:15px;padding:20px;transition:all .2s;display:flex}.profile-card:hover{border-color:#ffffff80;transform:translateY(-2px)}.profile-avatar{font-size:3.5rem}.profile-info{flex-direction:column;flex:1;gap:3px;display:flex}.profile-name{color:#fff;font-size:1.2rem;font-weight:700}.profile-age{color:#fff9;font-size:.85rem}.profile-stats{color:gold;gap:10px;margin-top:4px;font-size:.9rem;display:flex}.profile-actions{flex-direction:column;gap:6px;display:flex}.btn-select{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ff6b35,#ff8c42);border:none;border-radius:20px;padding:8px 18px;font-family:inherit;font-size:.95rem;font-weight:700;transition:all .2s}.btn-select:hover{transform:scale(1.05)}.btn-del-small{cursor:pointer;background:#ffffff1a;border:none;border-radius:50%;align-self:center;width:32px;height:32px;font-size:.9rem;transition:background .2s}.btn-del-small:hover{background:#ff505066}.profile-add-card{color:#fff9;cursor:pointer;background:#ffffff12;border:2px dashed #ffffff4d;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:100px;padding:30px;font-family:inherit;font-size:1rem;transition:all .2s;display:flex}.profile-add-card:hover{color:#fff;background:#ffffff26;border-color:#ffffff80}.add-icon{font-size:2.5rem;line-height:1}.modal-overlay{z-index:100;background:#000000b3;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-box{color:#fff;background:linear-gradient(135deg,#1a3a6b,#1e4d8c);border:2px solid #fff3;border-radius:24px;width:100%;max-width:420px;padding:30px}.modal-box h2{text-align:center;margin:0 0 20px;font-size:1.6rem}.field-label{color:#ffffffb3;margin-top:16px;margin-bottom:6px;font-size:.9rem;display:block}.field-input{color:#fff;box-sizing:border-box;background:#ffffff1a;border:2px solid #fff3;border-radius:12px;outline:none;width:100%;padding:12px 16px;font-family:inherit;font-size:1.1rem}.field-input:focus{border-color:gold}.field-input::placeholder{color:#fff6}.age-stepper{justify-content:center;align-items:center;gap:16px;padding:4px 0;display:flex}.age-step-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:2px solid #fff3;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-family:inherit;font-size:1.4rem;line-height:1;transition:background .15s,transform .1s;display:flex}.age-step-btn:hover{background:#ffffff40;transform:scale(1.1)}.age-step-btn:active{transform:scale(.95)}.age-display{color:gold;text-align:center;min-width:56px;font-size:2rem;font-weight:800}.avatar-grid{grid-template-columns:repeat(6,1fr);gap:8px;max-height:220px;display:grid;overflow-y:auto}.avatar-btn{cursor:pointer;aspect-ratio:1;background:#ffffff1a;border:2px solid #0000;border-radius:12px;justify-content:center;align-items:center;padding:8px;font-size:1.6rem;transition:all .15s;display:flex}.avatar-btn.selected{background:#ffd70040;border-color:gold;transform:scale(1.15)}.avatar-btn:hover:not(.selected){transform:scale(1.1)}.modal-actions{gap:10px;margin-top:20px;display:flex}.btn-create{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2ecc71,#27ae60);border:none;border-radius:14px;flex:1;padding:14px;font-family:inherit;font-size:1.1rem;font-weight:700;transition:all .2s}.btn-create:hover:not(:disabled){transform:scale(1.03)}.btn-create:disabled{opacity:.4;cursor:not-allowed}.btn-cancel-modal{color:#fff;cursor:pointer;background:#ffffff1a;border:2px solid #fff3;border-radius:14px;padding:14px 20px;font-family:inherit;font-size:1rem;transition:background .2s}.btn-cancel-modal:hover{background:#fff3}.confirm-delete-card{flex-direction:column;align-items:center;gap:12px}.confirm-btns{justify-content:center;gap:8px;display:flex}.btn-danger{color:#fff;cursor:pointer;background:#e74c3c;border:none;border-radius:10px;padding:8px 18px;font-family:inherit;font-weight:600}.btn-cancel{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:10px;padding:8px 18px;font-family:inherit}.map-screen{background:linear-gradient(#0a2342 0%,#0d3b6e 100%);flex-direction:column;min-height:100dvh;padding:10px 8px;display:flex}.map-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.player-info{background:#ffffff1a;border-radius:20px;align-items:center;gap:10px;padding:8px 16px;display:flex}.player-avatar{font-size:1.5rem}.player-name{color:#fff;font-size:1rem;font-weight:700}.player-stars,.player-coins{color:gold;font-weight:600}.map-title{color:#fff;text-align:center;text-shadow:0 2px 8px #0006;padding:6px 0 4px;font-size:1.2rem;font-weight:700}.map-container{flex-direction:column;flex:1;justify-content:stretch;align-items:stretch;gap:0;min-height:0;display:flex}.world-map-wrapper{background:#5ba4cf;border:3px solid #ffffff40;border-radius:16px;flex:1;min-height:200px;overflow:hidden;box-shadow:0 8px 40px #00000080}.world-map-svg-container{width:100%;height:100%}@media (width<=600px){.world-map-wrapper{-webkit-overflow-scrolling:touch;flex:none;overflow:auto hidden}.world-map-svg-container{min-width:800px;height:auto}}.country-info-bar{opacity:0;background:#ffffff14;border:1px solid #ffffff1a;border-top:none;border-radius:0 0 16px 16px;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 20px;transition:opacity .2s;display:flex}.country-info-bar.visible{opacity:1}.info-flag{font-size:2rem}.info-text{flex:1}.info-name{color:#fff;font-size:1rem;font-weight:700}.info-status{color:#ffffffb3;margin-top:2px;font-size:.8rem}.info-go-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#e67e22;border:none;border-radius:20px;padding:8px 18px;font-family:inherit;font-size:.95rem;font-weight:700;transition:background .2s,transform .1s}.info-go-btn:hover{background:#d35400;transform:scale(1.05)}.info-go-btn:active{transform:scale(.97)}@keyframes pin-pulse{0%{r:18;opacity:1}50%{r:22;opacity:.85}to{r:18;opacity:1}}.pin-pulse{animation:2s ease-in-out infinite pin-pulse}.map-legend{justify-content:center;gap:24px;padding:10px 0 4px;display:flex}.legend-item{color:#ffffffb3;align-items:center;gap:6px;font-size:.82rem;display:flex}.legend-dot{border:2px solid #ffffff80;border-radius:50%;width:12px;height:12px;display:inline-block}.country-screen{box-sizing:border-box;background:linear-gradient(#0a1628 0%,#0d2137 100%);flex-direction:column;gap:16px;width:100%;max-width:700px;min-height:100vh;margin:0 auto;padding:16px;display:flex}.country-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.player-chip{color:#fff;background:#ffffff1a;border-radius:20px;align-items:center;gap:8px;padding:6px 14px;font-size:.9rem;font-weight:600;display:flex}.country-hero{border:2px solid var(--country-color,#3498db);background:#ffffff12;border-radius:20px;align-items:center;gap:20px;padding:20px;display:flex}.country-flag-big{filter:drop-shadow(0 4px 10px #0006);flex-shrink:0;font-size:4rem}.country-hero-info{flex-direction:column;flex:1;gap:6px;display:flex}.country-hero-name{color:#fff;text-shadow:0 2px 8px #0000004d;margin:0;font-size:2rem;font-weight:800}.country-hero-detail{color:#ffffffb3;gap:16px;margin:0;font-size:.9rem;display:flex}.country-stars-bar{flex-direction:column;gap:4px;display:flex}.stars-label{color:gold;font-size:.9rem;font-weight:600}.stars-track{background:#ffffff26;border-radius:4px;height:8px;overflow:hidden}.stars-fill{background:linear-gradient(90deg,gold,orange);border-radius:4px;height:100%;transition:width .5s}.country-desc{color:#ffffffb3;background:#ffffff0d;border-radius:12px;margin:0;padding:14px;font-size:.95rem;line-height:1.5}.missions-heading{color:#fff;margin:0;font-size:1.3rem;font-weight:700}.missions-list{flex-direction:column;gap:10px;display:flex}.mission-card{cursor:pointer;text-align:left;border:2px solid #0000;border-radius:16px;justify-content:space-between;align-items:center;width:100%;padding:16px 20px;font-family:inherit;transition:all .2s;display:flex}.mission-card.available{border-color:var(--country-color,#3498db);background:#ffffff1a}.mission-card.available:hover{background:#ffffff2e;transform:translate(4px);box-shadow:0 4px 15px #0000004d}.mission-card.done{background:#2ecc711f;border-color:#2ecc71}.mission-card.locked{cursor:not-allowed;opacity:.5;background:#ffffff0a;border-color:#ffffff1a}.mission-left{align-items:center;gap:14px;display:flex}.mission-icon{font-size:1.8rem}.mission-text{flex-direction:column;gap:2px;display:flex}.mission-name{color:#fff;font-size:1rem;font-weight:700}.mission-type{color:#ffffff80;letter-spacing:1px;font-size:.75rem}.mission-right{align-items:center;display:flex}.mission-stars{align-items:center;gap:4px;display:flex}.mission-star-count{color:gold;font-size:1rem;font-weight:700}.mission-star-icon{font-size:1.2rem}.mission-play{color:#fff;background:var(--country-color,#3498db);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding-left:3px;font-size:1.4rem;display:flex}.mission-lock{font-size:1.2rem}.question-card{background:#ffffff14;border:2px solid #ffffff1f;border-radius:20px;flex-direction:column;flex:1;gap:12px;min-height:140px;padding:24px;display:flex}.q-number{color:#ffffff80;letter-spacing:1px;text-transform:uppercase;font-size:.8rem}.q-text{color:#fff;margin:0;font-size:1.2rem;font-weight:600;line-height:1.5}.hint-box{color:gold;background:#ffd7001f;border:1px solid #ffd7004d;border-radius:12px;padding:12px 16px;font-size:.95rem;animation:.3s fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.option-btn{cursor:pointer;text-align:left;background:#ffffff14;border:2px solid #ffffff26;border-radius:14px;align-items:center;gap:10px;width:100%;padding:14px 12px;font-family:inherit;transition:all .2s;display:flex}.option-btn:hover:not(:disabled){border-color:var(--country-color,#3498db);background:#ffffff26;transform:scale(1.02)}.option-btn:disabled{cursor:not-allowed}.option-btn.correct{background:#2ecc7140;border-color:#2ecc71;animation:.4s pulse-correct}.option-btn.wrong{background:#e74c3c40;border-color:#e74c3c;animation:.4s shake}.option-btn.dimmed{opacity:.4}@keyframes pulse-correct{0%{transform:scale(1)}50%{transform:scale(1.04)}to{transform:scale(1)}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}.opt-letter{color:#fff;background:#ffffff26;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.85rem;font-weight:700;display:flex}.option-btn.correct .opt-letter{background:#2ecc71}.option-btn.wrong .opt-letter{background:#e74c3c}.opt-text{color:#fff;font-size:.9rem;font-weight:500;line-height:1.3}.number-input-wrapper{align-items:stretch;gap:10px;display:flex}.number-input-field{color:#fff;text-align:center;-moz-appearance:textfield;background:#ffffff1a;border:2px solid #fff3;border-radius:14px;outline:none;flex:1;padding:14px 18px;font-family:inherit;font-size:1.3rem;font-weight:700;transition:border-color .2s}.number-input-field::-webkit-outer-spin-button{-webkit-appearance:none}.number-input-field::-webkit-inner-spin-button{-webkit-appearance:none}.number-input-field:focus:not(:disabled){border-color:var(--country-color,#3498db)}.number-input-field::placeholder{color:#ffffff59}.number-input-field:disabled{opacity:.5;cursor:not-allowed}.number-input-submit{background:linear-gradient(135deg, var(--country-color,#3498db), #2980b9);color:#fff;cursor:pointer;white-space:nowrap;border:none;border-radius:14px;padding:14px 20px;font-family:inherit;font-size:1rem;font-weight:700;transition:all .2s}.number-input-submit:hover:not(:disabled){filter:brightness(1.1);transform:scale(1.04)}.number-input-submit:disabled{opacity:.4;cursor:not-allowed}.feedback-panel{border-radius:20px;flex-direction:column;align-items:center;gap:10px;padding:20px;animation:.3s slideUp;display:flex}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.correct-panel{background:#2ecc7126;border:2px solid #2ecc71}.wrong-panel{background:#e74c3c1f;border:2px solid #e74c3c}.feedback-emoji{font-size:2.5rem}.feedback-text{color:#fff;font-size:1.2rem;font-weight:700}.feedback-stars{font-size:1.4rem}.btn-next{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2ecc71,#27ae60);border:none;border-radius:14px;width:100%;padding:12px 24px;font-family:inherit;font-size:1rem;font-weight:700;transition:all .2s}.btn-next:hover{transform:scale(1.03)}.wrong-actions{gap:10px;width:100%;display:flex}.btn-retry{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3498db,#2980b9);border:none;border-radius:14px;flex:1;padding:12px;font-family:inherit;font-size:.95rem;font-weight:700;transition:all .2s}.btn-retry:hover{transform:scale(1.03)}.btn-hint{color:gold;cursor:pointer;background:#ffd70026;border:2px solid #ffd70066;border-radius:14px;padding:12px 16px;font-family:inherit;font-size:.95rem;font-weight:700;transition:all .2s}.btn-hint:hover{background:#ffd70040}.badge-card{background:#ffd7001a;border:2px solid #ffd70066;border-radius:20px;align-items:center;gap:16px;padding:16px 24px;animation:2s infinite badgeGlow;display:flex}@keyframes badgeGlow{0%,to{box-shadow:0 0 20px #ffd7004d}50%{box-shadow:0 0 40px #ffd70099}}.badge-card-glow{font-size:3rem}.badge-card-title{color:gold;letter-spacing:1px;font-size:.85rem;font-weight:700}.badge-card-name{color:#fff;font-size:1.2rem;font-weight:800}.mission-screen{box-sizing:border-box;background:linear-gradient(#0a1628 0%,#0d2137 100%);flex-direction:column;gap:14px;width:100%;max-width:650px;min-height:100vh;margin:0 auto;padding:16px;display:flex}.loading{color:#fff;text-align:center;padding:40px;font-size:1.2rem}.mission-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.mission-progress{gap:6px;display:flex}.progress-dot{background:#fff3;border-radius:50%;width:12px;height:12px;transition:all .3s}.progress-dot.done{background:#2ecc71}.progress-dot.current{background:var(--country-color,#3498db);transform:scale(1.3)}.mission-header-info{color:gold;align-items:center;gap:8px;font-size:1.2rem;font-weight:600;display:flex}.header-coins{color:gold}.mission-flag-bar{border-left:4px solid var(--country-color,#3498db);background:#ffffff12;border-radius:16px;align-items:center;gap:14px;padding:12px 16px;display:flex}.mission-flag{font-size:2.5rem}.mission-country{color:#fff;font-size:1.1rem;font-weight:700}.mission-level{color:#fff9;font-size:.85rem}.mission-stars-row{align-items:center;gap:4px;margin-left:auto;display:flex}.q-stars-score{color:gold;font-size:1rem;font-weight:700}.q-stars-icon{font-size:1.2rem}.options-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.options-grid.single-col{grid-template-columns:1fr}.hint-area{justify-content:center;min-height:44px;display:flex}.btn-hint-small{color:#ffd700b3;cursor:pointer;background:0 0;border:1px solid #ffd7004d;border-radius:20px;padding:6px 14px;font-family:inherit;font-size:.85rem;transition:all .2s}.btn-hint-small:hover{color:gold;border-color:#ffd700b3}.mission-complete{background:radial-gradient(circle at 50% 30%,#1a4a8a 0%,#0a1628 70%);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.complete-content{text-align:center;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:420px;display:flex}.complete-emoji{font-size:5rem;animation:.6s bounceIn}@keyframes bounceIn{0%{opacity:0;transform:scale(.5)}70%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.complete-title{color:#fff;text-shadow:0 3px 10px #0006;margin:0;font-size:2.2rem;font-weight:800}.complete-flag{font-size:3.5rem}.complete-mission{color:#ffffffb3;margin:0;font-size:1rem}.complete-stars{background:#ffd7001a;border:2px solid #ffd7004d;border-radius:16px;align-items:center;gap:10px;padding:12px 24px;display:flex}.complete-star-score{color:gold;font-size:2.2rem;font-weight:800}.complete-star-icon{font-size:2.4rem;animation:.4s forwards starPop}@keyframes starPop{0%{transform:scale(0)rotate(-30deg)}70%{transform:scale(1.2)rotate(10deg)}to{transform:scale(1)rotate(0)}}.complete-rewards{gap:12px;display:flex}.reward-chip{color:gold;background:#ffd70026;border:2px solid #ffd7004d;border-radius:20px;padding:8px 18px;font-size:1rem;font-weight:700}.btn-continue{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ff6b35,#ff8c42);border:none;border-radius:20px;width:100%;max-width:320px;padding:16px 36px;font-family:inherit;font-size:1.1rem;font-weight:700;transition:all .2s;box-shadow:0 6px 20px #ff6b3566}.btn-continue:hover{transform:translateY(-2px);box-shadow:0 10px 30px #ff6b3580}.iq-screen{color:#fff;background:linear-gradient(#0a1628 0%,#0d2137 100%);flex-direction:column;max-width:650px;min-height:100vh;margin:0 auto;padding-bottom:24px;display:flex}.iq-loading{color:#fff9;justify-content:center;align-items:center;min-height:100vh;font-size:1.1rem;display:flex}.iq-header{justify-content:space-between;align-items:center;gap:10px;padding:14px 16px 10px;display:flex}.iq-header-info{align-items:center;gap:8px;font-size:.9rem;font-weight:600;display:flex}.iq-avatar{font-size:1.4rem}.iq-player-name{color:#ffffffd9;text-overflow:ellipsis;white-space:nowrap;max-width:100px;overflow:hidden}.iq-score-chip{color:#74b9ff;background:#2980b940;border:1px solid #2980b980;border-radius:20px;padding:4px 12px;font-size:.85rem;font-weight:700}.iq-progress-row{align-items:center;gap:10px;padding:6px 16px;display:flex}.iq-q-count{color:#fff9;white-space:nowrap;min-width:50px;font-size:.8rem;font-weight:700}.iq-progress-bar{background:#ffffff1a;border-radius:4px;flex:1;height:6px;overflow:hidden}.iq-progress-fill{background:linear-gradient(90deg,#2980b9,#74b9ff);border-radius:4px;height:100%;transition:width .4s}.iq-category-tag{color:#74b9ff;white-space:nowrap;background:#2980b933;border:1px solid #2980b959;border-radius:10px;padding:2px 8px;font-size:.7rem;font-weight:600}.iq-timer-row{justify-content:center;padding:10px 0 4px;display:flex}.iq-timer-ring{justify-content:center;align-items:center;width:70px;height:70px;display:flex;position:relative}.iq-timer-svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.iq-timer-bg{fill:none;stroke:#ffffff1a;stroke-width:3px}.iq-timer-arc{fill:none;stroke:#2980b9;stroke-width:3px;stroke-linecap:round;pathLength:100;transition:stroke-dasharray 1s linear,stroke .3s}.iq-timer-arc.danger{stroke:#e74c3c}.iq-timer-num{color:#fff;z-index:1;font-size:1.3rem;font-weight:800;transition:color .3s;position:relative}.iq-timer-num.danger{color:#e74c3c}.iq-question-card{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:18px;margin:10px 16px;padding:20px}.iq-difficulty{color:#f1c40f;letter-spacing:1px;margin-bottom:10px;font-size:.85rem}.iq-question-text{color:#fff;margin:0;font-size:1.1rem;font-weight:500;line-height:1.5}.iq-options{flex-direction:column;gap:10px;padding:8px 16px;display:flex}.iq-timeout-msg{text-align:center;color:#e74c3c;padding:24px 16px;font-size:1.4rem;font-weight:700;animation:.4s shake}.iq-feedback{border-radius:16px;flex-direction:column;gap:10px;margin:10px 16px 0;padding:16px;animation:.25s slideUp;display:flex}.iq-feedback.correct{background:#27ae6026;border:1px solid #27ae6059}.iq-feedback.wrong{background:#e74c3c26;border:1px solid #e74c3c59}.iq-feedback-icon{font-size:1.4rem}.iq-feedback-label{color:#fff;font-size:.95rem;font-weight:700}.iq-explanation{color:#ffffffb3;margin-top:4px;font-size:.82rem;line-height:1.45}.iq-next-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #fff3;border-radius:20px;align-self:flex-end;padding:8px 20px;font-size:.9rem;font-weight:700;transition:background .15s}.iq-next-btn:hover{background:#fff3}.iq-result{background:linear-gradient(#0a1628 0%,#0d2137 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.iq-result-content{flex-direction:column;align-items:center;gap:20px;width:100%;max-width:480px;display:flex}.iq-result-brain{font-size:4rem;animation:.6s bounceIn}.iq-result-title{color:#fff;margin:0;font-size:1.8rem;font-weight:900}.iq-band-card{text-align:center;background:linear-gradient(135deg,#2980b94d,#2980b91a);border:2px solid #2980b980;border-radius:20px;width:100%;padding:24px 40px}.iq-band-label{color:#ffffff80;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-size:.8rem}.iq-band-value{color:#74b9ff;font-size:2.8rem;font-weight:900;line-height:1}.iq-band-desc{color:#fff9;margin-top:6px;font-size:.9rem}.iq-result-stats{justify-content:center;gap:12px;width:100%;display:flex}.iq-stat-chip{background:#ffffff0f;border-radius:14px;flex-direction:column;flex:1;align-items:center;padding:14px 20px;display:flex}.iq-stat-value{color:#fff;font-size:1.4rem;font-weight:800}.iq-stat-label{color:#ffffff80;text-transform:uppercase;letter-spacing:.4px;margin-top:2px;font-size:.72rem}.iq-category-breakdown{background:#ffffff0a;border-radius:16px;width:100%;padding:16px}.iq-breakdown-title{color:#ffffff80;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;font-size:.8rem}.iq-breakdown-row{align-items:center;gap:10px;margin-bottom:8px;display:flex}.iq-breakdown-name{color:#ffffffb3;min-width:120px;font-size:.8rem}.iq-breakdown-score{color:#fff;text-align:right;min-width:34px;font-size:.8rem;font-weight:700}.iq-breakdown-bar{background:#ffffff1a;border-radius:4px;flex:1;height:6px;overflow:hidden}.iq-breakdown-fill{background:linear-gradient(90deg,#2980b9,#74b9ff);border-radius:4px;height:100%;transition:width .6s}.iq-result-actions{gap:12px;width:100%;display:flex}.iq-btn-again{color:#fff;cursor:pointer;background:#2980b9;border:none;border-radius:16px;flex:1;padding:14px;font-size:1rem;font-weight:700;transition:opacity .15s}.iq-btn-again:hover{opacity:.85}.iq-btn-menu{color:#ffffffbf;cursor:pointer;background:#ffffff14;border:1px solid #ffffff26;border-radius:16px;flex:1;padding:14px;font-size:1rem;font-weight:600;transition:background .15s}.iq-btn-menu:hover{background:#ffffff24}@media (width<=420px){.iq-question-text{font-size:1rem}.iq-band-value{font-size:2.2rem}.iq-breakdown-name{min-width:90px}}.olympia-screen{color:#fff;background:linear-gradient(#0a1628 0%,#0d2137 100%);flex-direction:column;max-width:650px;min-height:100vh;margin:0 auto;padding-bottom:24px;display:flex}.olympia-loading{color:#fff9;justify-content:center;align-items:center;min-height:100vh;font-size:1.1rem;display:flex}.olympia-header{justify-content:space-between;align-items:center;gap:10px;padding:14px 16px 10px;display:flex}.olympia-header-info{align-items:center;gap:8px;font-size:.9rem;font-weight:600;display:flex}.olympia-avatar{font-size:1.4rem}.olympia-player-name{color:#ffffffd9;text-overflow:ellipsis;white-space:nowrap;max-width:100px;overflow:hidden}.olympia-score-chip{color:#f1c40f;background:#d4a01733;border:1px solid #d4a01773;border-radius:20px;padding:4px 12px;font-size:.85rem;font-weight:700}.olympia-progress-row{align-items:center;gap:10px;padding:6px 16px;display:flex}.olympia-q-count{color:#fff9;white-space:nowrap;min-width:50px;font-size:.8rem;font-weight:700}.olympia-progress-bar{background:#ffffff1a;border-radius:4px;flex:1;height:6px;overflow:hidden}.olympia-progress-fill{background:linear-gradient(90deg,#d4a017,#f1c40f);border-radius:4px;height:100%;transition:width .4s}.olympia-subject-tag{color:#f1c40f;white-space:nowrap;background:#d4a01726;border:1px solid #d4a01759;border-radius:10px;padding:2px 8px;font-size:.7rem;font-weight:600}.olympia-timer-row{justify-content:center;padding:10px 0 4px;display:flex}.olympia-timer-ring{justify-content:center;align-items:center;width:70px;height:70px;display:flex;position:relative}.olympia-timer-svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.olympia-timer-bg{fill:none;stroke:#ffffff1a;stroke-width:3px}.olympia-timer-arc{fill:none;stroke:#d4a017;stroke-width:3px;stroke-linecap:round;transition:stroke-dasharray 1s linear,stroke .3s}.olympia-timer-arc.danger{stroke:#e74c3c}.olympia-timer-num{color:#fff;z-index:1;font-size:1.3rem;font-weight:800;transition:color .3s;position:relative}.olympia-timer-num.danger{color:#e74c3c}.olympia-question-card{background:#ffffff0f;border:1px solid #d4a01733;border-radius:18px;margin:10px 16px;padding:20px}.olympia-difficulty{color:#f1c40f;letter-spacing:1px;margin-bottom:10px;font-size:.85rem}.olympia-question-text{color:#fff;margin:0;font-size:1.1rem;font-weight:500;line-height:1.5}.olympia-options{flex-direction:column;gap:10px;padding:8px 16px;display:flex}.olympia-timeout-msg{text-align:center;color:#e74c3c;padding:24px 16px;font-size:1.4rem;font-weight:700;animation:.4s shake}.olympia-feedback{border-radius:16px;flex-direction:column;gap:10px;margin:10px 16px 0;padding:16px;animation:.25s slideUp;display:flex}.olympia-feedback.correct{background:#27ae6026;border:1px solid #27ae6059}.olympia-feedback.wrong{background:#e74c3c26;border:1px solid #e74c3c59}.olympia-feedback-icon{font-size:1.4rem}.olympia-feedback-label{color:#fff;font-size:.95rem;font-weight:700}.olympia-explanation{color:#ffffffb3;margin-top:4px;font-size:.82rem;line-height:1.45}.olympia-next-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #fff3;border-radius:20px;align-self:flex-end;padding:8px 20px;font-size:.9rem;font-weight:700;transition:background .15s}.olympia-next-btn:hover{background:#fff3}.olympia-result{background:linear-gradient(#0a1628 0%,#0d2137 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.olympia-result-content{flex-direction:column;align-items:center;gap:20px;width:100%;max-width:480px;display:flex}.olympia-result-medal{font-size:5rem;animation:.7s cubic-bezier(.34,1.56,.64,1) medalDrop}.olympia-result-title{color:#f1c40f;margin:0;font-size:2rem;font-weight:900}.olympia-result-desc{color:#fff9;margin:0;font-size:1rem}.olympia-result-score{align-items:baseline;gap:6px;display:flex}.olympia-score-big{color:#f1c40f;font-size:4rem;font-weight:900;line-height:1}.olympia-score-of{color:#fff6;font-size:1.6rem;font-weight:600}.olympia-subject-breakdown{background:#ffffff0a;border-radius:16px;width:100%;padding:16px}.olympia-breakdown-title{color:#ffffff80;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;font-size:.8rem}.olympia-breakdown-row{align-items:center;gap:10px;margin-bottom:8px;display:flex}.olympia-breakdown-name{color:#ffffffb3;min-width:120px;font-size:.8rem}.olympia-breakdown-score{color:#fff;text-align:right;min-width:34px;font-size:.8rem;font-weight:700}.olympia-breakdown-bar{background:#ffffff1a;border-radius:4px;flex:1;height:6px;overflow:hidden}.olympia-breakdown-fill{background:linear-gradient(90deg,#d4a017,#f1c40f);border-radius:4px;height:100%;transition:width .6s}.olympia-result-actions{gap:12px;width:100%;display:flex}.olympia-btn-again{color:#000;cursor:pointer;background:#d4a017;border:none;border-radius:16px;flex:1;padding:14px;font-size:1rem;font-weight:800;transition:opacity .15s}.olympia-btn-again:hover{opacity:.85}.olympia-btn-menu{color:#ffffffbf;cursor:pointer;background:#ffffff14;border:1px solid #ffffff26;border-radius:16px;flex:1;padding:14px;font-size:1rem;font-weight:600;transition:background .15s}.olympia-btn-menu:hover{background:#ffffff24}@keyframes medalDrop{0%{opacity:0;transform:translateY(-60px)scale(.5)}70%{transform:translateY(8px)scale(1.1)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=420px){.olympia-question-text{font-size:1rem}.olympia-score-big{font-size:3rem}.olympia-breakdown-name{min-width:90px}}.parent-screen{box-sizing:border-box;background:linear-gradient(#0f1b2d 0%,#1a2b42 100%);flex-direction:column;gap:20px;width:100%;max-width:800px;min-height:100vh;margin:0 auto;padding:20px;display:flex}.parent-header{align-items:center;gap:16px;display:flex}.back-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:20px;padding:8px 16px;font-family:inherit;font-size:.9rem;transition:background .2s}.back-btn:hover{background:#ffffff38}.parent-title{color:#fff;margin:0;font-size:1.6rem;font-weight:800}.profile-tabs{flex-wrap:wrap;gap:10px;display:flex}.profile-tab{color:#fff;cursor:pointer;background:#ffffff14;border:2px solid #ffffff26;border-radius:20px;align-items:center;gap:8px;padding:10px 18px;font-family:inherit;font-size:1rem;font-weight:600;transition:all .2s;display:flex}.profile-tab:hover{border-color:#fff6}.profile-tab.active{background:#3498db40;border-color:#3498db}.no-profiles{color:#fff9;font-size:1rem}.link-btn{color:#3498db;cursor:pointer;background:0 0;border:none;font-family:inherit;font-size:1rem;text-decoration:underline}.stats-container{flex-direction:column;gap:20px;display:flex}.stats-hero{background:#ffffff12;border:1px solid #ffffff1f;border-radius:20px;align-items:center;gap:16px;padding:20px;display:flex}.stats-avatar{font-size:3rem}.stats-name{color:#fff;font-size:1.4rem;font-weight:700}.stats-age{color:#ffffff80;font-size:.9rem}.stats-totals{flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto;display:flex}.stat-badge-total{color:gold;background:#ffd7001f;border:1px solid #ffd7004d;border-radius:20px;padding:4px 14px;font-size:.9rem;font-weight:600}.stats-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;display:grid}.stat-card{text-align:center;background:#ffffff12;border:1px solid #ffffff1f;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:16px;display:flex}.stat-icon{font-size:1.8rem}.stat-value{color:#fff;font-size:1.8rem;font-weight:800}.stat-max{color:#fff6;font-size:1rem}.stat-label{color:#ffffff80;font-size:.8rem}.accuracy-section{flex-direction:column;gap:12px;display:flex}.section-heading{color:#fff;margin:0;font-size:1.1rem;font-weight:700}.accuracy-row{align-items:center;gap:12px;display:flex}.accuracy-label{color:#ffffffb3;width:90px;font-size:.9rem}.accuracy-track{background:#ffffff1a;border-radius:6px;flex:1;height:12px;overflow:hidden}.accuracy-fill{border-radius:6px;height:100%;transition:width .8s}.accuracy-pct{text-align:right;width:40px;font-size:.9rem;font-weight:700}.section{flex-direction:column;gap:10px;display:flex}.country-chips{flex-wrap:wrap;gap:8px;display:flex}.country-chip{color:#fff;background:#2ecc7126;border:1px solid #2ecc714d;border-radius:20px;padding:6px 14px;font-size:.9rem}.badges-row{flex-wrap:wrap;gap:10px;display:flex}.badge-chip{color:#fff;background:#ffd7001a;border:1px solid #ffd7004d;border-radius:14px;align-items:center;gap:8px;padding:8px 14px;font-size:.9rem;display:flex}.weak-chips{flex-wrap:wrap;gap:8px;display:flex}.weak-chip{color:#e74c3c;letter-spacing:1px;background:#e74c3c26;border:1px solid #e74c3c4d;border-radius:20px;padding:6px 14px;font-size:.85rem;font-weight:600}.suggestion-text{color:#ffffff80;margin:0;font-size:.85rem}.no-activity{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:40px 20px;display:flex}.no-activity-icon{font-size:3rem}.no-activity p{color:#fff9;margin:0;font-size:1rem}.btn-go-play{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ff6b35,#ff8c42);border:none;border-radius:20px;padding:12px 28px;font-family:inherit;font-size:1rem;font-weight:700;transition:all .2s}.btn-go-play:hover{transform:scale(1.05)}
