.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000bf;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.modal-container{color:#fff;background-color:#2c0b3e;border:2px solid #f1c40f;border-radius:16px;width:90%;max-width:500px;padding:32px;position:relative;box-shadow:0 10px 30px #00000080}.modal-title{color:#f1c40f;text-align:center;margin-top:0;margin-bottom:16px;font-size:1.5rem}.modal-close-btn{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:1.2rem;transition:background-color .2s;position:absolute;top:12px;right:12px}.modal-close-btn:hover{background-color:#ffffff1a}.modal-actions{justify-content:center;gap:16px;margin-top:24px;display:flex}.btn-modal{cursor:pointer;border:1px solid #0000;border-radius:20px;padding:10px 24px;font-weight:600;transition:transform .2s ease-in-out,box-shadow .2s ease-in-out,background-color .2s ease-in-out}.btn-modal:hover{transform:scale(1.03);box-shadow:0 4px 15px #0000004d}.btn-modal-success{color:#fff;background-color:#27ae60}.btn-modal-success:hover{background-color:#2ecc71}.btn-modal-cancel{color:#ffffffd9;background-color:#ffffff14;border:1px solid #ffffff4d}.btn-modal-cancel:hover{color:#fff;background-color:#ffffff2e;border-color:#ffffff80}.modal-text-primary{text-align:center;color:#fff;margin:0 0 8px;font-weight:600}.modal-text-muted{text-align:center;color:#a0a5ba;margin:0 0 8px;font-size:.9rem;line-height:1.4}.login-form{flex-direction:column;gap:12px;margin-top:8px;display:flex}.login-input{color:#fff;box-sizing:border-box;background:#0000004d;border:1px solid #fff3;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-size:1rem;transition:border-color .2s}.login-input::placeholder{color:#fff6}.login-input:focus{border-color:#f1c40f}.login-error{color:#ff6b81;text-align:center;margin:0;font-size:.9rem}.app-header{-webkit-backdrop-filter:blur(12px);z-index:100;background:#0f0f19bf;border-bottom:1px solid #f1c40f26;justify-content:center;width:100%;height:60px;padding:.75rem 0;display:flex;position:sticky;top:0}.header-container{box-sizing:border-box;justify-content:space-between;align-items:center;width:100%;max-width:1140px;padding:0 1.5rem;display:flex}.header-left{align-items:center;gap:20px;display:flex}.header-right{align-items:center;gap:8px;display:flex}.btn-return-now{color:#f1c40f;cursor:pointer;box-sizing:border-box;background:#12052499;border:1px solid #f1c40f66;border-radius:4px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:.8rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-return-now:hover{background:#f1c40f26;border-color:#f1c40f;transform:translate(-2px);box-shadow:0 0 10px #f1c40f4d}.return-arrow{transition:transform .3s;display:inline-block;transform:scaleX(-1)}.btn-return-now:hover .return-arrow{transform:scaleX(-1)translate(4px)}@media (width<=768px){.btn-return-now .btn-text{display:none}.btn-return-now{min-width:32px;padding:0 10px}.return-arrow{animation:1.2s ease-in-out infinite alternate move-left}}@keyframes move-left{0%{transform:scaleX(-1)translate(0)}to{transform:scaleX(-1)translate(4px)}}.lang-dropdown{display:inline-block;position:relative}.lang-btn{color:#a0a0c0;cursor:pointer;background:0 0;border:1px solid #fff3;border-radius:4px;padding:4px 10px;font-size:.8rem;font-weight:600;transition:all .2s}.lang-btn:hover,.lang-btn.open{color:#f1c40f;background:#f1c40f1a;border-color:#f1c40f}.lang-btn--trigger{box-sizing:border-box;justify-content:center;align-items:center;gap:6px;min-width:76px;height:32px;padding:0 12px;display:inline-flex}.lang-flag{font-size:1rem;line-height:1}.lang-code{letter-spacing:.5px;font-size:.8rem;font-weight:700}.lang-caret{opacity:.7;font-size:.6rem;transition:transform .2s}.lang-btn.open .lang-caret{transform:rotate(180deg)}.lang-dropdown-menu{-webkit-backdrop-filter:blur(12px);z-index:200;background:#0f0f19fa;border:1px solid #f1c40f4d;border-radius:8px;min-width:120px;max-width:80vw;animation:.15s ease-out dropdownFade;position:absolute;top:calc(100% + 6px);left:0;overflow:hidden;box-shadow:0 10px 25px #0009}@keyframes dropdownFade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.lang-dropdown-item{color:#a0a0c0;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:10px;width:100%;min-height:44px;padding:12px 14px;font-size:.9rem;font-weight:600;transition:all .15s;display:flex}.lang-dropdown-item:hover,.lang-dropdown-item:focus{color:#f1c40f;background:#f1c40f1f;outline:none}.lang-dropdown-item.active{color:#f1c40f;background:#f1c40f2e}.lang-check{color:#f1c40f;margin-left:auto;font-size:.85rem}@media (width<=768px){.lang-btn--trigger{gap:4px;min-width:60px;height:32px;padding:0 10px}.lang-flag{font-size:.9rem}.lang-code{font-size:.75rem}.lang-dropdown-menu{min-width:110px}.lang-dropdown-item{gap:8px;padding:11px 12px;font-size:.85rem}}.live-status{color:#8a8aa3;background:#0000004d;border:1px solid #ffffff0d;border-radius:12px;align-items:center;gap:6px;padding:4px 12px;font-size:.8rem;display:flex}.status-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;transition:background-color .8s,box-shadow .8s}.live-status.status-ok .status-dot{background-color:#2ecc71;box-shadow:0 0 8px #2ecc71}.live-status.status-error .status-dot{background-color:#e74c3c;box-shadow:0 0 8px #e74c3c}.live-status.status-checking .status-dot{background-color:#f1c40f;animation:.6s ease-in-out infinite alternate pulse-blink}@keyframes pulse-blink{0%{opacity:.3;box-shadow:0 0 2px #f1c40f}to{opacity:1;box-shadow:0 0 10px #f1c40f}}@media (width<=768px){.live-status .status-text{display:none}.live-status{gap:4px;padding:4px 8px}}.auth-pill{color:#a0a0c0;cursor:pointer;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;background:#12052499;border:1px solid #fff3;border-radius:4px;justify-content:center;align-items:center;max-width:160px;height:32px;padding:0 12px;font-size:.8rem;font-weight:600;transition:all .2s;display:inline-flex;overflow:hidden}.auth-pill--login{color:#f1c40f;border-color:#f1c40f66}.auth-pill--login:hover{background:#f1c40f26;border-color:#f1c40f;box-shadow:0 0 10px #f1c40f4d}.auth-pill--user{color:#d0d0e0;border-color:#ffffff26}.auth-pill--user:hover{color:#fff;background:#ffffff14;border-color:#ffffff59}@media (width<=768px){.auth-pill{max-width:100px;padding:0 10px;font-size:.75rem}}.app-footer{-webkit-backdrop-filter:blur(8px);color:#7a7a90;box-sizing:border-box;background:#0a0a1299;border-top:1px solid #f1c40f1a;justify-content:center;width:100%;margin-top:auto;padding:.75rem 0;font-size:.85rem;display:flex}.footer-container{box-sizing:border-box;justify-content:space-between;align-items:center;width:100%;max-width:1200px;padding:0 2rem;display:flex}.footer-left,.footer-right{align-items:center;gap:12px;display:flex}.btn-footer-action{color:#f1c40f;cursor:pointer;box-sizing:border-box;background:#120524cc;border:1px solid #f1c40f4d;border-radius:4px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:.8rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-footer-action:hover{background:#f1c40f26;border-color:#f1c40f;box-shadow:0 0 10px #f1c40f33}.footer-btn-icon{flex-shrink:0}@media (width<=768px){.btn-footer-action .footer-btn-text{display:none}.btn-footer-action{min-width:32px;padding:0 10px}}.mobile-break{display:none}@media (width<=768px){.mobile-break{display:block}}.mindhub-container{box-sizing:border-box;color:#fff;flex-direction:column;justify-content:flex-start;align-items:center;min-height:calc(100vh - 60px);padding-top:3rem;padding-left:2rem;padding-right:2rem;display:flex}.mindhub-header{text-align:center;min-height:110px;margin-bottom:2rem}.mindhub-title{letter-spacing:4px;text-transform:uppercase;background:linear-gradient(135deg,#fff 0%,gold 50%,#ff8c00 100%);-webkit-text-fill-color:transparent;text-shadow:0 10px 30px #ffd7004d;-webkit-background-clip:text;margin-bottom:.5rem;font-size:3.5rem;font-weight:900}.mindhub-subtitle{color:var(--accent-cyan);letter-spacing:2px;text-transform:uppercase;font-size:1.1rem}.mindhub-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;width:100%;max-width:1000px;display:grid}@media (width<=768px){.mindhub-grid{grid-template-columns:1fr}}.hub-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px));background:#14142399;border:1px solid #f1c40f33;flex-direction:column;justify-content:space-between;padding:1.25rem;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;position:relative}.hub-card:before{content:"";opacity:.5;background:#f1c40f;width:4px;height:100%;transition:opacity .3s;position:absolute;top:0;left:0}.hub-card:hover{background:#1e1e32cc;border-color:#f1c40fcc;transform:translateY(-5px);box-shadow:0 10px 30px #f1c40f26}.hub-card:hover:before{opacity:1;box-shadow:0 0 10px #f1c40f}.card-badge{letter-spacing:1.5px;color:#f1c40f;text-transform:uppercase;margin-bottom:1rem;font-size:.75rem;font-weight:700}.card-title{color:#fff;margin-bottom:.5rem;font-size:1.5rem;font-weight:700}.card-desc{color:#8a8aa3;margin-bottom:1.5rem;font-size:.9rem;line-height:1.4}.card-footer{color:#f1c40f;justify-content:space-between;align-items:center;font-size:.85rem;font-weight:600;display:flex}.card-arrow{transition:transform .3s}.hub-card:hover .card-arrow{transform:translate(5px)}.diagnostics-page-container{color:#fff;box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100vh - 60px);padding:1rem;display:flex}.diagnostics-content{text-align:center;flex-direction:column;align-items:center;width:100%;max-width:900px;display:flex}.test-modal-trigger-wrapper{text-align:center;margin-top:10px;margin-bottom:15px}.btn-open-test-modal{cursor:pointer;color:#f1c40f;background:#2c0b3e;border:1px solid #f1c40f;border-radius:20px;padding:10px 26px;font-size:.95rem;font-weight:700;transition:all .25s ease-in-out;box-shadow:0 4px 12px #0000004d}.btn-open-test-modal:hover{color:gold;background:#3e1256;border-color:gold;transform:scale(1.03)translateY(-1px);box-shadow:0 6px 18px #f1c40f40}.btn-open-test-modal:active{transform:scale(.98)}.system-check-wrapper{justify-content:center;width:100%;display:flex}.system-check{text-align:center;flex-direction:column;align-items:center;display:flex}.system-check h3{margin-bottom:.75rem;font-size:1.25rem}.system-check .btn-hex{margin:1rem 0}.system-check ul{text-align:left;margin-top:.75rem;padding-left:1.2rem;list-style:outside;display:inline-block}.system-check li{color:#fff;margin-bottom:.5rem;font-size:1rem}.game-page{color:#fff;max-width:800px;margin:0 auto;padding:20px}.text-center{text-align:center}.quiz-main-title{color:#f1c40f;margin-bottom:5px;font-size:1.6rem}.player-badge{color:#94a3b8;margin-bottom:15px;font-size:.95rem}.start-card{background:#0f172acc;border:1px solid #00d2ff;border-radius:16px;max-width:400px;margin:0 auto;padding:30px}.start-card h3{color:#fff;margin-top:0;margin-bottom:20px}.start-card h2{color:#f1c40f;margin-top:0}.player-input{color:#fff;text-align:center;box-sizing:border-box;background:#0f172a;border:1px solid #334155;border-radius:8px;width:100%;margin:15px 0;padding:12px;font-size:1.1rem}.player-input:focus{border-color:#00d2ff;outline:none;box-shadow:0 0 10px #00d2ff4d}.stats-bar{justify-content:center;gap:20px;margin-bottom:10px;font-weight:700;display:flex}.correct-text{color:#2ecc71}.wrong-text{color:#e74c3c}.timer-track{background:#ffffff1a;border-radius:3px;width:100%;height:6px;margin-bottom:25px;overflow:hidden}.timer-fill{background:#f1c40f;height:100%;transition:width 1s linear}.question-title{text-align:center;margin-bottom:25px;font-size:1.25rem;line-height:1.4}.answers-grid{grid-template-columns:1fr;gap:12px;display:grid}@media (width>=600px){.answers-grid{grid-template-columns:1fr 1fr}}.answer-btn{color:#fff;text-align:left;cursor:pointer;background:#0f172ab3;border:2px solid #00d2ff;border-radius:12px;padding:14px 18px;font-size:1rem;transition:all .2s}.answer-btn:hover:not(:disabled){border-color:#ff9f43}.answer-btn.correct{background:#2ecc7140!important;border-color:#2ecc71!important}.answer-btn.wrong{background:#e74c3c40!important;border-color:#e74c3c!important}.prefix{color:#ff9f43;margin-right:6px;font-weight:700}.final-stats{margin:20px 0;font-size:1.1rem}.btn-hex-game{cursor:pointer;color:#fff;letter-spacing:.5px;clip-path:polygon(12% 0%,88% 0%,100% 50%,88% 100%,12% 100%,0% 50%);background:linear-gradient(135deg,#3a2a7a 0%,#7a9cff 100%);border:none;margin:20px auto 0;padding:14px 44px;font-size:1rem;font-weight:700;transition:transform .2s,filter .2s;display:block}.btn-hex-game:hover{filter:brightness(1.15);transform:scale(1.06)}.btn-hex-game:active{transform:scale(1.02)}.final-actions{flex-direction:column;align-items:center;gap:14px;margin-top:20px;display:flex}.btn-hex-game--secondary{opacity:.9;background:linear-gradient(135deg,#2a1a55 0%,#5a6a9a 100%)}.btn-hex-game--secondary:hover{opacity:1;filter:brightness(1.15)}.quiz-select-container{color:#fff;max-width:1100px;margin:0 auto;padding:40px 20px;font-family:system-ui,-apple-system,sans-serif}.quiz-status{text-align:center;color:#a0a5ba;padding:50px;font-size:1.2rem}.quiz-status.error{color:#ff6b81}.quiz-header{text-align:center;margin-bottom:40px}.quiz-header h1{background:linear-gradient(135deg,#fff 0%,#a0a5ba 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:10px;font-size:2.2rem;font-weight:800}.quiz-header p{color:#8a8d9b;font-size:1.05rem}.quiz-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;display:grid}.quiz-card{cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0f172a99;border:1px solid #00d2ff40;border-radius:16px;flex-direction:column;justify-content:space-between;padding:24px;transition:all .25s cubic-bezier(.4,0,.2,1);display:flex;position:relative;overflow:hidden}.quiz-card:hover{border-color:#ff9f43;transform:translateY(-5px);box-shadow:0 10px 25px #ff9f4333,0 0 15px #00d2ff26}.quiz-badge{color:#00d2ff;background:#00d2ff1a;border:1px solid #00d2ff4d;border-radius:20px;margin-bottom:14px;padding:4px 10px;font-size:.8rem;font-weight:600;display:inline-block}.quiz-card-title{color:#fff;margin:0 0 20px;font-size:1.15rem;font-weight:700;line-height:1.4}.quiz-card-footer{border-top:1px solid #ffffff14;justify-content:flex-end;align-items:center;padding-top:14px;display:flex}.play-link{color:#ff9f43;font-size:.95rem;font-weight:600;transition:transform .2s}.quiz-card:hover .play-link{transform:translate(4px)}.leaderboard-page{color:#fff;box-sizing:border-box;max-width:900px;margin:0 auto;padding:2rem 1.5rem}.leaderboard-header{text-align:center;margin-bottom:2rem}.leaderboard-title{background:linear-gradient(135deg,#fff 0%,gold 50%,#ff8c00 100%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 5px 15px #ffd7004d);-webkit-background-clip:text;background-clip:text;margin:0 0 .5rem;font-size:2.2rem;font-weight:800}.leaderboard-subtitle{color:var(--accent-cyan,#00f2fe);letter-spacing:.5px;margin:0;font-size:1rem}.leaderboard-status{text-align:center;color:#a0a5c0;padding:3rem 1rem;font-size:1.1rem}.leaderboard-status.error{color:#ff6b81}.leaderboard-empty{text-align:center;color:#8a8aa3;background:#0f172a99;border:1px dashed #00d2ff4d;border-radius:12px;padding:3rem 1rem;font-size:1.05rem}.leaderboard-table-wrapper{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0f172a99;border:1px solid #00d2ff40;border-radius:12px;overflow-x:auto}.leaderboard-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.95rem}.leaderboard-table thead{background:#00d2ff14;border-bottom:1px solid #00d2ff33}.leaderboard-table th{text-align:center;text-transform:uppercase;letter-spacing:.8px;color:var(--accent-cyan,#00f2fe);padding:.85rem 1rem;font-size:.8rem;font-weight:700}.leaderboard-table td{color:#e0e0f0;text-align:center;border-bottom:1px solid #ffffff0d;padding:.85rem 1rem}.leaderboard-table tbody tr:last-child td{border-bottom:none}.leaderboard-table tbody tr{transition:background .15s}.leaderboard-table tbody tr:hover{background:#00d2ff0d}.leaderboard-table tbody tr.top-row{background:#ffd7000a}.leaderboard-table tbody tr.top-row:hover{background:#ffd70014}.col-rank{text-align:center;width:60px}.col-name{color:#fff;width:28%;font-weight:600}.col-percent{color:#2ecc71;white-space:nowrap;width:15%;font-weight:700}.col-score{color:#f1c40f;white-space:nowrap;width:15%}.col-games{color:#94a3b8;width:12%}.col-date{color:#8a8aa3;white-space:nowrap;width:18%;font-size:.85rem}.medal{font-size:1.4rem;line-height:1;display:inline-block}.medal-1,.medal-2,.medal-3{filter:drop-shadow(0 2px 6px #ffd70066)}.medal:not(.medal-1):not(.medal-2):not(.medal-3){color:#8a8aa3;font-size:1rem;font-weight:700}.leaderboard-actions{flex-direction:column;align-items:center;gap:14px;margin-top:2rem;display:flex}.arrow-back{display:inline-block;transform:scaleX(-1)}@media (width>=500px){.leaderboard-actions{flex-direction:row;justify-content:center}}.about-page{color:#e0e0ec;box-sizing:border-box;width:100%;max-width:900px;margin:0 auto;padding:40px 24px 60px;font-family:system-ui,-apple-system,sans-serif;line-height:1.6}.about-header{text-align:center;margin-bottom:48px}.about-title{background:linear-gradient(135deg,#f1c40f 0%,#ffd966 100%);-webkit-text-fill-color:transparent;letter-spacing:-.5px;-webkit-background-clip:text;background-clip:text;margin:0 0 12px;font-size:2.4rem;font-weight:800}.about-title-icon{-webkit-text-fill-color:initial;background:0 0}.about-subtitle{color:#8a8da0;margin:0;font-size:1.05rem}.about-section{margin-bottom:40px}.about-section-title{color:#f1c40f;align-items:center;gap:8px;margin:0 0 16px;font-size:1.35rem;font-weight:700;display:flex}.about-section p{color:#c0c0d0;margin:0 0 12px}.about-modes{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:20px;display:grid}.about-mode-card{-webkit-backdrop-filter:blur(8px);background:#0f172a99;border:1px solid #f1c40f33;border-radius:14px;padding:20px 22px;transition:all .25s}.about-mode-card:hover{border-color:#f1c40f;transform:translateY(-3px);box-shadow:0 8px 20px #f1c40f1f}.about-mode-card h3{color:#fff;align-items:center;gap:8px;margin:0 0 10px;font-size:1.05rem;font-weight:700;display:flex}.about-mode-icon{font-size:1.2rem;line-height:1}.about-mode-card p{color:#a8a8bc;margin:0;font-size:.95rem;line-height:1.55}.about-steps{counter-reset:step-counter;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.about-steps li{counter-increment:step-counter;color:#c8c8dc;background:#0f172a66;border-left:3px solid #f1c40f66;border-radius:8px;padding:12px 16px 12px 56px;font-size:.95rem;position:relative}.about-steps li:before{content:counter(step-counter);color:#f1c40f;background:#f1c40f26;border:1px solid #f1c40f80;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:.85rem;font-weight:700;display:flex;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.about-subjects,.about-features{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.about-subjects li,.about-features li{color:#c0c0d0;border-bottom:1px solid #ffffff0a;padding:8px 0 8px 4px;font-size:.95rem}.about-subjects li:last-child,.about-features li:last-child{border-bottom:none}.about-languages-note{color:#a8b8c8;background:#00d2ff0f;border-left:3px solid #00d2ff66;border-radius:8px;margin-top:16px;padding:14px 18px;font-size:.92rem}.about-test-mode{background:#f1c40f14;border-left:4px solid #f1c40f;border-radius:12px;margin-bottom:40px;padding:20px 24px}.about-test-mode .about-section-title{color:#f1c40f;margin-bottom:10px}.about-test-mode p{color:#d4c98a;margin:0}@media (width<=768px){.about-page{padding:28px 16px 48px}.about-title{font-size:1.8rem}.about-section-title{font-size:1.15rem}.about-modes{grid-template-columns:1fr}.about-steps li{padding:10px 14px 10px 50px}.about-test-mode{padding:16px 18px}}.editor-page{color:#e0e0ec;box-sizing:border-box;width:100%;max-width:820px;margin:0 auto;padding:32px 20px 60px;font-family:system-ui,-apple-system,sans-serif;line-height:1.55}.editor-header{text-align:center;margin-bottom:32px}.editor-title{color:#f1c40f;letter-spacing:-.3px;margin:0 0 8px;font-size:2rem;font-weight:800}.editor-subtitle{color:#8a8da0;margin:0;font-size:.95rem}.editor-tabs{border-bottom:1px solid #f1c40f26;gap:4px;margin-bottom:28px;display:flex}.editor-tab{color:#8a8da0;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:12px 18px;font-family:inherit;font-size:.95rem;font-weight:600;transition:all .2s}.editor-tab:hover{color:#c8c8dc}.editor-tab.active{color:#f1c40f;border-bottom-color:#f1c40f}.editor-tab-content{min-height:200px}.manual-tab{flex-direction:column;gap:28px;display:flex}.editor-meta{flex-direction:column;gap:16px;display:flex}.editor-label{color:#c8c8dc;flex-direction:column;gap:6px;font-size:.9rem;font-weight:600;display:flex}.editor-input,.editor-textarea{color:#fff;box-sizing:border-box;background:#0f172a99;border:1px solid #ffffff1f;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:.95rem;transition:border-color .2s}.editor-input::placeholder,.editor-textarea::placeholder{color:#ffffff59}.editor-input:focus,.editor-textarea:focus{border-color:#f1c40f}.editor-textarea{resize:vertical;min-height:56px;line-height:1.5}.editor-label-optional{color:#6a6a80;font-size:.85rem;font-weight:400}.editor-hint-text{color:#7a7a90;font-size:.8rem;font-weight:400}.editor-questions{flex-direction:column;gap:16px;display:flex}.editor-section-title{color:#f1c40f;margin:0 0 4px;font-size:1.15rem;font-weight:700}.question-form{-webkit-backdrop-filter:blur(8px);background:#0f172a80;border:1px solid #ffffff14;border-radius:14px;flex-direction:column;gap:14px;padding:20px 22px;display:flex}.question-form-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.question-form-title{color:#fff;margin:0;font-size:1rem;font-weight:700}.question-remove-btn{color:#e74c3c;cursor:pointer;background:0 0;border:1px solid #e74c3c66;border-radius:6px;padding:6px 12px;font-family:inherit;font-size:.8rem;font-weight:600;transition:all .2s}.question-remove-btn:hover{background:#e74c3c1f;border-color:#e74c3c}.question-answers{flex-direction:column;gap:8px;display:flex}.question-answers-label{color:#c8c8dc;margin:4px 0;font-size:.9rem;font-weight:600}.question-answer-row{align-items:center;gap:10px;display:flex}.question-answer-radio{cursor:pointer;flex-shrink:0;align-items:center;gap:8px;display:flex}.question-answer-radio input[type=radio]{accent-color:#f1c40f;cursor:pointer;width:18px;height:18px;margin:0}.question-answer-prefix{color:#f1c40f;min-width:16px;font-size:.9rem;font-weight:700}.question-answer-input{flex:1}.editor-add-btn{color:#f1c40f;cursor:pointer;background:0 0;border:1px dashed #f1c40f66;border-radius:8px;align-self:flex-start;padding:10px 18px;font-family:inherit;font-size:.9rem;font-weight:600;transition:all .2s}.editor-add-btn:hover{background:#f1c40f14;border-color:#f1c40f}.editor-errors{background:#e74c3c14;border-left:3px solid #e74c3c;border-radius:8px;padding:14px 18px}.editor-errors h3{color:#e74c3c;margin:0 0 8px;font-size:.95rem}.editor-errors ul{color:#d4a0a0;margin:0;padding-left:20px;font-size:.88rem}.editor-errors li{margin:4px 0}.editor-error-line{color:#ff6b81;text-align:center;margin:0;font-size:.9rem}.editor-actions{justify-content:center;margin-top:8px;display:flex}@media (width<=768px){.editor-page{padding:20px 14px 48px}.editor-title{font-size:1.6rem}.editor-tab{padding:10px 14px;font-size:.9rem}.question-form{padding:16px}.editor-add-btn{text-align:center;align-self:stretch}}.import-tab{flex-direction:column;gap:8px;display:flex}.import-step{border-bottom:1px solid #ffffff0d;flex-direction:column;gap:12px;padding:20px 0;display:flex}.import-step:last-of-type{border-bottom:none}.import-prompt-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:4px;display:grid}.import-prompt-grid .editor-label{min-width:0}.import-warning{color:#d4c98a;background:#f1c40f14;border-left:3px solid #f1c40f;border-radius:6px;grid-column:1/-1;margin:8px 0 0;padding:10px 14px;font-size:.85rem;line-height:1.5}.editor-subtabs{gap:8px;margin:8px 0 20px;display:flex}.editor-subtab{color:#a8a8bc;cursor:pointer;background:#0f172a80;border:1px solid #ffffff1a;border-radius:8px;padding:8px 16px;font-family:inherit;font-size:.9rem;font-weight:600;transition:all .2s}.editor-subtab:hover{color:#e0e0ec;border-color:#f1c40f66}.editor-subtab.active{color:#f1c40f;background:#f1c40f1f;border-color:#f1c40f}.import-file-input{color:#a8a8bc;padding:6px 0;font-size:.85rem}.import-file-input::file-selector-button{color:#e0e0ec;cursor:pointer;background:#0f172a99;border:1px solid #ffffff26;border-radius:6px;margin-right:12px;padding:6px 14px;font-family:inherit;font-size:.85rem;font-weight:600;transition:all .2s}.import-file-input::file-selector-button:hover{color:#f1c40f;border-color:#f1c40f}.import-json-textarea{min-height:240px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.5}.import-validation{border-radius:8px;padding:10px 14px;font-size:.9rem;font-weight:500}.import-validation.ok{color:#8fe0b0;background:#2ecc7114;border-left:3px solid #2ecc71}.import-validation.error{color:#f0a0a0;background:#e74c3c14;border-left:3px solid #e74c3c}@media (width<=768px){.import-prompt-grid{grid-template-columns:1fr}.editor-subtabs{flex-direction:column}.editor-subtab{text-align:center}}.import-json-actions{flex-wrap:wrap;gap:10px;display:flex}.editor-clear-btn{color:#e74c3c;cursor:pointer;background:0 0;border:1px solid #e74c3c4d;border-radius:8px;padding:10px 18px;font-family:inherit;font-size:.9rem;font-weight:600;transition:all .2s}.editor-clear-btn:hover{background:#e74c3c14;border-color:#e74c3c}.cheatsheet-page{color:#e0e0ec;box-sizing:border-box;width:100%;max-width:860px;margin:0 auto;padding:32px 20px 80px;font-family:system-ui,-apple-system,sans-serif;line-height:1.6}.cheatsheet-header{margin-bottom:28px}.cheatsheet-title{color:#f1c40f;letter-spacing:-.3px;margin:0 0 8px;font-size:1.8rem;font-weight:800}.cheatsheet-subtitle{color:#8a8da0;flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:.95rem;display:flex}.cheatsheet-tag{color:#6ba8c8;letter-spacing:.2px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.82rem}.cheatsheet-status{text-align:center;color:#8a8da0;padding:40px 20px;font-size:1rem}.cheatsheet-status.error{color:#ff6b81}.cheatsheet-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.cheatsheet-card{cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0f172a99;border:1px solid #00d2ff40;border-radius:16px;flex-direction:column;justify-content:space-between;padding:22px;transition:all .25s cubic-bezier(.4,0,.2,1);display:flex}.cheatsheet-card:hover{border-color:#f1c40f;transform:translateY(-4px);box-shadow:0 10px 25px #f1c40f26,0 0 15px #00d2ff1a}.cheatsheet-badge{color:#00d2ff;background:#00d2ff1a;border:1px solid #00d2ff4d;border-radius:20px;margin-bottom:14px;padding:4px 10px;font-size:.78rem;font-weight:600;display:inline-block}.cheatsheet-card-title{color:#fff;margin:0 0 18px;font-size:1.1rem;font-weight:700;line-height:1.4}.cheatsheet-card-footer{border-top:1px solid #ffffff14;justify-content:flex-end;align-items:center;padding-top:14px;display:flex}.cheatsheet-open{color:#f1c40f;font-size:.92rem;font-weight:600;transition:transform .2s}.cheatsheet-card:hover .cheatsheet-open{transform:translate(4px)}.cheatsheet-list{flex-direction:column;gap:20px;margin-top:8px;display:flex}.cheatsheet-question{background:#0f172a8c;border:1px solid #f1c40f2e;border-radius:14px;padding:22px 24px 20px;transition:border-color .2s}.cheatsheet-question:hover{border-color:#f1c40f66}.cheatsheet-q-number{color:#f1c40f;letter-spacing:.5px;margin-bottom:8px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.82rem;font-weight:700}.cheatsheet-q-text{color:#fff;margin:0 0 14px;font-size:1.05rem;font-weight:600;line-height:1.45}.cheatsheet-q-answer{color:#2ecc71;flex-wrap:wrap;align-items:baseline;gap:6px;margin:0 0 10px;font-size:.95rem;font-weight:500;line-height:1.5;display:flex}.cheatsheet-q-check{flex-shrink:0}.cheatsheet-q-letter{color:#2ecc71;flex-shrink:0;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-weight:700}.cheatsheet-q-hint{color:#a8a8bc;background:#ffffff06;border-left:3px solid #f1c40f59;border-radius:0 6px 6px 0;align-items:flex-start;gap:6px;margin:0;padding:8px 12px 8px 14px;font-size:.9rem;line-height:1.55;display:flex}.cheatsheet-q-hint--empty{color:#6a6a80;border-left-color:#ffffff1a;font-style:italic}.cheatsheet-q-bulb{flex-shrink:0}.cheatsheet-top-btn{color:#f1c40f;cursor:pointer;z-index:500;background:#f1c40f26;border:1px solid #f1c40f;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-family:inherit;font-size:1.2rem;font-weight:700;transition:all .2s;display:flex;position:fixed;bottom:28px;right:28px;box-shadow:0 4px 16px #00000059}.cheatsheet-top-btn:hover{background:#f1c40f4d;transform:translateY(-2px);box-shadow:0 8px 20px #f1c40f40}.cheatsheet-top-btn:active{transform:translateY(0)}@media (width<=768px){.cheatsheet-page{padding:20px 14px 80px}.cheatsheet-title{font-size:1.5rem}.cheatsheet-grid{grid-template-columns:1fr;gap:14px}.cheatsheet-question{padding:18px 16px 16px}.cheatsheet-q-text{font-size:1rem}.cheatsheet-top-btn{width:40px;height:40px;font-size:1rem;bottom:20px;right:16px}}.cheatsheet-modes{gap:8px;margin:8px 0 24px;display:flex}.cheatsheet-mode-btn{color:#a8a8bc;cursor:pointer;background:#0f172a80;border:1px solid #ffffff1a;border-radius:8px;padding:8px 18px;font-family:inherit;font-size:.9rem;font-weight:600;transition:all .2s}.cheatsheet-mode-btn:hover{color:#e0e0ec;border-color:#f1c40f66}.cheatsheet-mode-btn.active{color:#f1c40f;background:#f1c40f1f;border-color:#f1c40f}.cards-container{flex-direction:column;gap:20px;max-width:700px;margin:0 auto;display:flex}.cards-progress{text-align:center;color:#8a8da0;letter-spacing:.5px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.9rem}.cards-card-wrapper{perspective:1200px;min-height:340px}.cards-card-inner{width:100%;height:100%;min-height:340px;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.4,0,.2,1);position:relative}.cards-card-wrapper--flipped .cards-card-inner{transform:rotateY(180deg)}.cards-card{backface-visibility:hidden;box-sizing:border-box;background:#0f172abf;border:1px solid #f1c40f4d;border-radius:18px;flex-direction:column;padding:28px 32px;display:flex;position:absolute;inset:0;box-shadow:0 8px 25px #0000004d}.cards-card--front{text-align:center;justify-content:space-between;align-items:center}.cards-card--back{justify-content:flex-start;gap:12px;transform:rotateY(180deg)}.cards-q-number{color:#f1c40f;letter-spacing:.5px;align-self:flex-start;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.85rem;font-weight:700}.cards-q-text{color:#fff;flex-grow:1;justify-content:center;align-items:center;margin:20px 0;font-size:1.3rem;font-weight:600;line-height:1.45;display:flex}.cards-q-question-small{color:#a8a8bc;margin:4px 0 8px;font-size:1rem;font-weight:600;line-height:1.4}.cards-q-answer{color:#2ecc71;flex-wrap:wrap;align-items:baseline;gap:6px;margin:0;font-size:1.05rem;font-weight:600;line-height:1.5;display:flex}.cards-q-check{flex-shrink:0}.cards-q-letter{color:#2ecc71;flex-shrink:0;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-weight:700}.cards-q-hint{color:#a8a8bc;background:#ffffff06;border-left:3px solid #f1c40f59;border-radius:0 6px 6px 0;align-items:flex-start;gap:6px;margin:4px 0 0;padding:10px 14px;font-size:.9rem;line-height:1.55;display:flex}.cards-q-hint--empty{color:#6a6a80;border-left-color:#ffffff1a;font-style:italic}.cards-q-bulb{flex-shrink:0}.cards-show-btn{align-self:center;margin-top:8px;margin-bottom:4px}.cards-hide-btn{color:#a8a8bc;cursor:pointer;background:0 0;border:1px solid #ffffff26;border-radius:8px;align-self:flex-start;margin-top:auto;padding:8px 16px;font-family:inherit;font-size:.85rem;font-weight:600;transition:all .2s}.cards-hide-btn:hover{color:#f1c40f;border-color:#f1c40f}.cards-nav{justify-content:space-between;gap:12px;display:flex}.cards-nav-btn{color:#e0e0ec;cursor:pointer;background:#0f172a99;border:1px solid #ffffff26;border-radius:10px;flex:1;padding:12px 20px;font-family:inherit;font-size:.95rem;font-weight:600;transition:all .2s}.cards-nav-btn:hover:not(:disabled){color:#f1c40f;border-color:#f1c40f}.cards-nav-btn:disabled{opacity:.35;cursor:not-allowed}@media (width<=768px){.cards-card-wrapper,.cards-card-inner{min-height:400px}.cards-card{padding:22px 20px}.cards-q-text{font-size:1.1rem}.cards-q-question-small{font-size:.9rem}.cheatsheet-mode-btn{padding:8px 14px;font-size:.85rem}}.breadcrumb{color:#8a8da0;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:20px;font-size:.9rem;display:flex}.breadcrumb-arrow{color:#f1c40f;margin-right:2px;font-weight:700}.breadcrumb-link{color:#a0a5ba;border-radius:4px;padding:2px 4px;font-weight:600;text-decoration:none;transition:color .2s}.breadcrumb-link:hover{color:#f1c40f}.breadcrumb-separator{color:#4a4a60;font-weight:400}@media (width<=480px){.breadcrumb{gap:4px;font-size:.85rem}}*,:before,:after{box-sizing:border-box}:root{--bg-dark:#120524;--bg-card:#1a0b36;--accent-gold:gold;--accent-cyan:#00f2fe;--accent-blue:#4facfe;--text-main:#fff;--text-muted:#a0a5c0;--success-glow:#2ecc7199;--error-glow:#e74c3c99}body{background-color:var(--bg-dark);color:var(--text-main);min-height:100vh;margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow-x:hidden}#circuit-bg{z-index:-1;pointer-events:none;background:0 0;width:100vw;height:100vh;position:fixed;top:0;left:0}.app-container{flex-direction:column;justify-content:space-between;align-items:center;width:100%;min-height:100vh;margin:0;padding:0;display:flex}.main-content{flex-direction:column;align-items:center;width:100%;max-width:900px;margin:auto;display:flex}.hero-section{text-align:center;margin-bottom:3rem}.brand-title{letter-spacing:4px;text-transform:uppercase;background:linear-gradient(135deg,#fff 0%,gold 50%,#ff8c00 100%);-webkit-text-fill-color:transparent;text-shadow:0 10px 30px #ffd7004d;-webkit-background-clip:text;margin:0 0 .5rem;font-size:3.5rem;font-weight:900}.brand-tagline{color:var(--accent-cyan);letter-spacing:1px;margin:0;font-size:1.25rem}.action-grid{flex-wrap:wrap;justify-content:center;gap:1.5rem;width:100%;max-width:600px;display:flex}.btn-game-action{color:#fff;text-transform:uppercase;letter-spacing:1.5px;cursor:pointer;border:none;border-radius:12px;flex:240px;justify-content:center;align-items:center;gap:.75rem;padding:1.2rem 2.5rem;font-size:1.2rem;font-weight:700;text-decoration:none;transition:all .25s;display:inline-flex;position:relative;box-shadow:0 8px 20px #0006}.btn-game-action:hover{transform:translateY(-4px);box-shadow:0 12px 25px #0009}.btn-game-action:active{transform:translateY(-1px)}.btn-game-action.btn-editor{background:linear-gradient(135deg,#11998e 0%,#38ef7d 100%);box-shadow:0 6px 20px #38ef7d4d}.btn-game-action.btn-editor:hover{box-shadow:0 10px 30px #38ef7d80}.btn-game-action.btn-play{background:linear-gradient(135deg,#ff416c 0%,#ff4b2b 100%);box-shadow:0 6px 20px #ff416c4d}.btn-game-action.btn-play:hover{box-shadow:0 10px 30px #ff416c80}.btn-game-action.btn-cheatsheet{background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%);box-shadow:0 6px 20px #00f2fe4d}.btn-hex{color:#fff;clip-path:polygon(10% 0%,90% 0%,100% 50%,90% 100%,10% 100%,0% 50%);cursor:pointer;background:linear-gradient(135deg,#2b1055,#7597de);border:none;justify-content:center;align-items:center;padding:1rem 2rem;font-weight:700;transition:all .3s;display:inline-flex;position:relative}.btn-hex:hover{filter:brightness(1.2);transform:scale(1.05)}.ans-option{background-color:var(--bg-card);color:#fff;cursor:pointer;border:2px solid #ffffff1a;border-radius:10px;padding:1rem 1.5rem;font-size:1.1rem;transition:all .25s}.ans-option:hover{border-color:var(--accent-cyan);box-shadow:0 0 15px #00f2fe4d}.ans-correct{box-shadow:0 0 20px var(--success-glow)!important;background-color:#2ecc7133!important;border-color:#2ecc71!important}.ans-wrong{box-shadow:0 0 20px var(--error-glow)!important;background-color:#e74c3c33!important;border-color:#e74c3c!important}.footer{text-align:center;color:var(--text-muted);padding:1rem 0;font-size:.9rem}.not-found-page{text-align:center;z-index:1;flex-direction:column;justify-content:center;align-items:center;gap:1.2rem;min-height:70vh;display:flex;position:relative}.not-found-code{background:linear-gradient(135deg,#fff 0%,gold 50%,#ff8c00 100%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 10px 20px #ffd7004d);-webkit-background-clip:text;margin:0;font-size:8rem;font-weight:900}.not-found-message{color:#a0a0b0;margin:0;font-size:1.2rem}.not-found-timer{color:#fff;font-size:1.1rem}.not-found-timer span{color:#00f2fe;font-size:1.3rem;font-weight:700}
