@import"https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Cascadia+Code:ital,wght@0,200..700;1,200..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap";:root,[data-theme=light]{--primary: #2563eb;--primary-dark: #1e40af;--primary-light: #3b82f6;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--bg-light: #f8fafc;--bg-white: #ffffff;--bg-secondary: #f1f5f9;--border: #e2e8f0;--border-dark: #cbd5e1;--text-dark: #1e293b;--text-gray: #64748b;--text-light: #94a3b8;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--spacing-xs: clamp(.25rem, 1vw, .5rem);--spacing-sm: clamp(.5rem, 2vw, 1rem);--spacing-md: clamp(1rem, 3vw, 1.5rem);--spacing-lg: clamp(1.5rem, 4vw, 2rem);--spacing-xl: clamp(2rem, 5vw, 3rem);--font-xs: clamp(.75rem, 1.5vw, .875rem);--font-sm: clamp(.875rem, 2vw, 1rem);--font-base: clamp(1rem, 2.5vw, 1.125rem);--font-lg: clamp(1.125rem, 3vw, 1.5rem);--font-xl: clamp(1.5rem, 4vw, 2rem);--font-2xl: clamp(1.875rem, 5vw, 2.5rem)}[data-theme=dark]{--primary: #3b82f6;--primary-dark: #1e40af;--primary-light: #60a5fa;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--bg-light: #0a0e27;--bg-white: #1a1f3a;--bg-secondary: #252d45;--border: #374151;--border-dark: #4b5563;--text-dark: #e2e8f0;--text-gray: #cbd5e1;--text-light: #9ca3af;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .5);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1)}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background-color:var(--bg-light);color:var(--text-dark);font-family:Cascadia Code,sans-serif;width:100%;height:100%;margin:0;padding:0;overflow:hidden;transition:background-color .3s ease,color .3s ease}*{transition:background-color .3s ease,color .3s ease,border-color .3s ease}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}#root{width:100%;height:100%;display:flex;flex-direction:column}.container{max-width:90%;width:clamp(320px,100%,1400px);font-family:Cascadia Code,sans-serif;margin:0 auto}ul{list-style:none}input{outline:none}.navbar{position:sticky;width:100%;top:0;background:var(--bg-white);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);z-index:999;box-shadow:var(--shadow-sm);contain:layout style;isolation:auto;overflow:visible}.navbar .container{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:70px;position:relative}.logo{display:flex;align-items:center;gap:10px;cursor:pointer;text-decoration:none;padding:8px 12px;border-radius:8px;transition:all .3s ease;flex-shrink:0}.logo:hover{background:var(--bg-light)}.logo p{background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff;padding:8px;border-radius:6px;font-size:18px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;flex-shrink:0}.logo h1{font-size:18px;letter-spacing:.5px;font-weight:700;color:var(--text-dark);margin:0;line-height:1.2}.logo h1 span{display:block;font-size:10px;font-weight:400;color:var(--text-light);letter-spacing:.3px;line-height:1.2;margin-top:2px}.navbar .links{display:flex;align-items:center;gap:40px;list-style:none;padding:0;margin:0;flex:1;justify-content:center}.navbar .links li{list-style:none}.navbar .links a{font-size:15px;font-weight:600;color:var(--text-dark);cursor:pointer;text-decoration:none;position:relative;padding:8px 0;transition:color .3s ease}.navbar .links a:hover{color:var(--primary)}.navbar .links a:after{content:"";position:absolute;bottom:0;left:0;width:0px;height:2px;background:linear-gradient(135deg,var(--primary),var(--primary-light));transition:all .3s ease}.links a:hover:after,.links a.active:after{width:100%}.links a.active{color:var(--primary)}.theme-toggle{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;border:2px solid var(--border);background:var(--bg-light);color:var(--text-dark);cursor:pointer;font-size:18px;transition:all .3s ease;padding:0}.theme-toggle:hover{border-color:var(--primary);background:var(--primary);color:#fff;transform:rotate(20deg)}.navbar .icons{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;pointer-events:auto}.coins{display:flex;align-items:center;gap:6px;padding:6px 12px;background:linear-gradient(135deg,var(--bg-light),#f0f4f8);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:all .2s ease}.coins:hover{border-color:var(--warning);box-shadow:0 2px 8px #f59e0b1a}.coins .coins-count{text-align:center;background:var(--bg-white);border-radius:6px;padding:4px 8px;font-size:13px;font-weight:700;color:var(--text-dark);min-width:30px}.coins .coin_svg{background:var(--warning);color:#fff;padding:4px 8px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:16px}.navbar .icons .userIcon{width:42px;height:42px;padding:2px;border-radius:50%;cursor:pointer;color:var(--text-dark);border:2px solid var(--border);display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .2s ease;background:var(--bg-white);flex-shrink:0;position:relative;z-index:101;user-select:none;-webkit-user-select:none;pointer-events:auto!important;min-width:42px}.userIcon:hover{border-color:var(--primary);box-shadow:0 0 12px #2563eb26}.userIcon img{width:100%;height:100%;object-fit:cover;pointer-events:none}.btnssubmitions{padding:8px 16px!important;border-radius:8px!important;cursor:pointer;font-weight:600!important;font-size:13px!important;text-transform:none!important;letter-spacing:.3px!important;transition:all .3s ease!important;border:none!important;display:flex;align-items:center;gap:6px}.btnssubmitions:nth-child(1){background:linear-gradient(135deg,var(--primary),var(--primary-light))!important;color:#fff!important}.btnssubmitions:nth-child(1):hover{transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d!important}.btnssubmitions:nth-child(2){background:var(--bg-light)!important;color:var(--primary)!important;border:2px solid var(--primary)!important}.btnssubmitions:nth-child(2):hover{background:var(--primary)!important;color:#fff!important;transform:translateY(-2px)}.profile-wrapper{display:flex;align-items:center}.profile-dropdown{position:fixed;width:260px;background:var(--bg-white);border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 25px #00000026;padding:16px;animation:slideDown .2s ease forwards;z-index:99999}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}[data-theme=dark] .profile-dropdown{background:#1a1f3a;border-color:#374151;box-shadow:0 10px 25px #0000004d}.dropdown-close{position:absolute;top:8px;right:8px;width:32px;height:32px;padding:0;border:none;border-radius:8px;background:var(--bg-light);color:var(--text-dark);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all .2s ease}.dropdown-close:hover{background:var(--border);color:var(--primary)}[data-theme=dark] .dropdown-close{background:#252d45;color:#e2e8f0}[data-theme=dark] .dropdown-close:hover{background:#374151;color:#60a5fa}.dropdown-user-info{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}.dropdown-user-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;background:var(--bg-light);flex-shrink:0}.dropdown-user-avatar img{width:100%;height:100%;object-fit:cover}.dropdown-user-info h3{margin:0;font-size:15px;font-weight:700;color:var(--text-dark)}[data-theme=dark] .dropdown-user-info{border-bottom-color:#374151}[data-theme=dark] .dropdown-user-info h3{color:#e2e8f0}.dropdown-item{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:4px 0;cursor:pointer;color:var(--text-dark);font-size:14px;font-weight:500;border-radius:8px;transition:all .2s ease;text-decoration:none;border:none;background:transparent;width:100%;text-align:left}.dropdown-item:hover{background:var(--bg-light);color:var(--primary);padding-left:16px}.dropdown-item svg{font-size:18px;flex-shrink:0}.dropdown-item span{flex:1}.logout-btn{color:var(--text-dark)}.logout-btn:hover{color:#ef4444;background:#ef44441a}[data-theme=dark] .dropdown-item{color:#cbd5e1}[data-theme=dark] .dropdown-item:hover{background:#252d45;color:#60a5fa}[data-theme=dark] .logout-btn:hover{color:#ff6b6b;background:#ff6b6b1a}@media(max-width:1024px){.navbar .container{padding:0 16px;height:65px}.navbar .links{gap:30px;margin-left:40px}.navbar .links a{font-size:14px}.navbar .icons{gap:12px}}@media(max-width:768px){.navbar .container{padding:0 12px;height:60px}.navbar .links{gap:20px;margin-left:30px;font-size:13px}.navbar .links a{font-size:13px}.btnssubmitions{padding:6px 12px!important;font-size:12px!important}.userIcon{width:38px!important;height:38px!important}.coins{padding:5px 10px;gap:4px;font-size:12px}}@media(max-width:480px){.navbar .container{padding:0 10px;height:55px}.navbar .links{gap:15px;margin-left:20px}.navbar .links a{font-size:12px;padding:6px 0}.btnssubmitions{padding:5px 10px!important;font-size:11px!important}.userIcon{width:36px!important;height:36px!important}.modal{width:240px;right:-10px}.coins{padding:4px 8px;gap:3px;font-size:11px}.logo h1{font-size:16px}.logo p{width:36px;height:36px}}*{box-sizing:border-box;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.problems-page{width:100%;min-height:100vh;background:#f9fafb;display:flex;flex-direction:column;overflow-y:auto;scroll-behavior:smooth}[data-theme=dark] .problems-page{background:#0f172a}.problems-header-section{padding:40px 20px 20px;background:#f9fafb;border-bottom:1px solid #e5e7eb;flex-shrink:0}[data-theme=dark] .problems-header-section{background:#0f172a;border-bottom:1px solid #374151}.problems-header-content{max-width:1400px;margin:0 auto;width:100%}.problems-header-content h1{font-size:32px;font-weight:700;color:#111827;margin:0 0 8px}[data-theme=dark] .problems-header-content h1{color:#f3f4f6}.problems-header-content p{color:#6b7280;font-size:14px;margin:0}[data-theme=dark] .problems-header-content p{color:#9ca3af}.problems-container{max-width:1400px;margin:0 auto;padding:28px 20px 60px;width:100%;flex:1;display:flex;flex-direction:column;gap:20px}.problems-filters-section{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.search-box{position:relative;display:flex;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px 16px;flex:1;min-width:250px;transition:all .3s ease;box-shadow:0 1px 3px #0000000d}[data-theme=dark] .search-box{background:#1f2937;border:1px solid #374151;box-shadow:0 1px 3px #0003}.search-box:focus-within{border-color:#1976d2;box-shadow:0 2px 8px #1976d226}.search-icon{color:#6b7280;font-size:18px;margin-right:10px;flex-shrink:0}[data-theme=dark] .search-icon{color:#9ca3af}.search-input{background:transparent;border:none;color:#111827;font-size:14px;outline:none;width:100%;font-family:inherit;font-weight:500}[data-theme=dark] .search-input{color:#f3f4f6}.search-input::placeholder{color:#9ca3b8}[data-theme=dark] .search-input::placeholder{color:#9ca3af}.problems-main{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:flex-start;width:100%}.categories-sidebar{padding:24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000d;height:fit-content;position:sticky;top:100px}[data-theme=dark] .categories-sidebar{background:#1f2937;border:1px solid #374151;box-shadow:0 1px 3px #0000001a}.categories-title{font-size:16px;font-weight:700;color:#111827;margin:0 0 16px}[data-theme=dark] .categories-title{color:#f3f4f6}.categories-grid{display:grid;grid-template-columns:1fr;gap:8px}.category-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease;font-size:13px;font-weight:500;color:#374151}[data-theme=dark] .category-item{background:#111827;border:1px solid #374151;color:#d1d5db}.category-item:hover{border-color:#1976d2;background:#dbeafe}[data-theme=dark] .category-item:hover{border-color:#1976d2;background:#1e3a8a}.category-item.active{background:#1976d2;border-color:#1976d2;color:#fff;font-weight:600}.category-name{font-weight:500;font-size:13px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-count{font-size:12px;font-weight:600;opacity:.8;flex-shrink:0}.problems-content{display:flex;flex-direction:column;gap:0;width:100%}.error-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;background:linear-gradient(135deg,#ef44441a,#ef44440d);border:1px solid #ef4444;border-radius:8px;box-shadow:0 1px 3px #0000000d;margin-bottom:16px}[data-theme=dark] .error-banner{background:linear-gradient(135deg,#ef444426,#ef444414)}.error-banner p{margin:0;color:#ef4444;font-weight:500;font-size:14px}.error-retry-btn{padding:6px 14px;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;font-size:13px;transition:all .2s ease;white-space:nowrap}.error-retry-btn:hover{background:#dc2626;box-shadow:0 2px 8px #dc262633}.problems-table-wrapper{width:100%;overflow-x:auto;border:1px solid #e5e7eb;border-radius:8px;background:#fff}[data-theme=dark] .problems-table-wrapper{background:transparent;border-color:#374151}.problems-table{width:100%;min-width:900px;border-collapse:collapse}.table-header{display:grid;grid-template-columns:80px minmax(500px,1fr) 140px 120px;gap:0;height:50px;padding:0;background:#f3f4f6;border-bottom:2px solid #e5e7eb;font-weight:700;font-size:11px;color:#6b7280;text-transform:uppercase;letter-spacing:.8px;position:sticky;top:0;z-index:10;align-items:center;width:100%}[data-theme=dark] .table-header{background:#1f2937;border-bottom-color:#374151;color:#9ca3af}.header-status,.header-title,.header-category,.header-difficulty{display:flex;align-items:center;padding:0 16px;height:100%}.header-status{width:80px;justify-content:center;flex-shrink:0}.header-title{flex:1;min-width:500px}.header-category{width:140px;flex-shrink:0}.header-difficulty{width:120px;justify-content:flex-end;flex-shrink:0}.table-body{display:flex;flex-direction:column;width:100%}.table-row{display:grid;grid-template-columns:80px minmax(500px,1fr) 140px 120px;gap:0;height:72px;padding:0;background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;transition:all .2s ease;text-decoration:none;color:#111827;cursor:pointer;border-left:4px solid transparent;width:100%}[data-theme=dark] .table-row{background:transparent;border-bottom-color:#374151;color:#f3f4f6}[data-theme=dark] .table-row:hover{background:#1f2937}.table-row.solved{border-left-color:#22c55e}.row-status,.row-title,.row-category,.row-difficulty{display:flex;align-items:center;padding:0 16px;height:100%}.row-status{width:80px;justify-content:center;flex-shrink:0}.row-title{flex:1;min-width:500px;overflow:hidden}.row-category{width:140px;flex-shrink:0}.row-difficulty{width:120px;justify-content:flex-end;flex-shrink:0}.status-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-weight:700;font-size:16px;flex-shrink:0}.status-icon.solved{background:#22c55e;color:#fff}[data-theme=dark] .status-icon.solved{background:#22c55e}.status-icon.unsolved{background:transparent;border:2.5px solid #d1d5db}[data-theme=dark] .status-icon.unsolved{border-color:#6b7280}.problem-title{font-size:15px;font-weight:500;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:clip;display:block;width:100%}.table-row:hover .problem-title{color:#1976d2}[data-theme=dark] .table-row:hover .problem-title{color:#60a5fa}.category-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;background:#1976d2;color:#fff;border-radius:4px;font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}[data-theme=dark] .category-badge{background:#1976d2;color:#fff}.difficulty-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:4px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;flex-shrink:0}[data-theme=dark] .difficulty-easy{background:#1e40af33;color:#93c5fd}[data-theme=dark] .difficulty-medium{background:#92400e33;color:#fdba74}[data-theme=dark] .difficulty-hard{background:#991b1b33;color:#fca5a5}.problems-loader{display:flex;flex-direction:column;gap:0}.problems-loader-row{height:72px;background:linear-gradient(90deg,#e5e7eb,#f3f4f6,#e5e7eb);background-size:200% 100%;border-bottom:1px solid #e5e7eb;animation:shimmer 1.5s cubic-bezier(.4,0,.6,1) infinite}[data-theme=dark] .problems-loader-row{background:linear-gradient(90deg,#374151,#4b5563,#374151);border-bottom-color:#374151}.empty-state{text-align:center;padding:80px 40px;background:#fff;border-radius:8px;border:1px solid #e5e7eb}@media(max-width:1200px){.problems-main{grid-template-columns:1fr;gap:20px}.categories-sidebar{position:relative;top:auto}}@media(max-width:900px){.problems-table{grid-template-columns:60px minmax(300px,1fr) 120px 100px;min-width:600px}.table-header{grid-template-columns:60px minmax(300px,1fr) 120px 100px}.table-row{grid-template-columns:60px minmax(300px,1fr) 120px 100px;height:65px}.problems-loader-row{height:65px}.header-status,.header-title,.header-category,.header-difficulty,.row-status,.row-title,.row-category,.row-difficulty{padding:0 12px}.problem-title{font-size:14px}.category-badge{font-size:11px;padding:5px 10px}.difficulty-badge{font-size:11px;padding:5px 8px}}@media(max-width:768px){.problems-header-section{padding:24px 16px 16px}.problems-container{padding:16px 16px 40px}.problems-header-content h1{font-size:24px}.problems-header-content p{font-size:12px}.problems-filters-section{margin-bottom:12px}.search-box{width:100%}.problems-main{grid-template-columns:1fr;gap:16px}.categories-sidebar{padding:16px}.problems-table{grid-template-columns:50px minmax(250px,1fr) 100px 80px;min-width:500px}.table-header{grid-template-columns:50px minmax(250px,1fr) 100px 80px;height:45px;font-size:10px}.table-row{grid-template-columns:50px minmax(250px,1fr) 100px 80px;height:60px}.problems-loader-row{height:60px}.header-status,.header-title,.header-category,.header-difficulty,.row-status,.row-title,.row-category,.row-difficulty{padding:0 10px}.problem-title{font-size:13px}.category-badge{font-size:10px;padding:4px 8px}.difficulty-badge{font-size:10px;padding:4px 6px}.status-icon{width:24px;height:24px;font-size:14px}}@media(max-width:480px){.problems-header-section{padding:16px 12px 12px}.problems-container{padding:12px 12px 30px}.problems-header-content h1{font-size:20px}.problems-header-content p{font-size:11px}.search-box{padding:10px 11px;font-size:13px}.problems-main{gap:12px}.categories-sidebar{padding:14px}.categories-title{font-size:13px;margin-bottom:10px}.category-item{padding:8px 10px;font-size:11px}.problems-table{grid-template-columns:45px minmax(200px,1fr) 80px 70px;min-width:450px}.table-header{grid-template-columns:45px minmax(200px,1fr) 80px 70px;height:40px;font-size:9px}.table-row{grid-template-columns:45px minmax(200px,1fr) 80px 70px;height:55px}.problems-loader-row{height:55px}.header-status,.header-title,.header-category,.header-difficulty,.row-status,.row-title,.row-category,.row-difficulty{padding:0 8px}.problem-title{font-size:12px}.category-badge{font-size:9px;padding:3px 6px}.difficulty-badge{font-size:9px;padding:3px 5px}.status-icon{width:20px;height:20px;font-size:12px}.empty-state{padding:40px 20px}.empty-state h2{font-size:16px}.empty-state p{font-size:12px}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.table-row{animation:fadeIn .3s ease-out}.pagination-container{display:flex;align-items:center;justify-content:center;gap:24px;padding:24px 16px;background:#fff;border-top:1px solid #e5e7eb;border-radius:0 0 8px 8px;flex-wrap:wrap}.pagination-btn{padding:10px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;color:#1976d2;transition:all .2s ease;white-space:nowrap}[data-theme=dark] .pagination-btn{background:#252d45;border-color:#374151;color:#60a5fa}.pagination-btn:hover:not(:disabled){background:#1976d2;border-color:#1976d2;color:#fff;box-shadow:0 2px 8px #1976d226}[data-theme=dark] .pagination-btn:hover:not(:disabled){background:#1976d2;border-color:#1976d2;box-shadow:0 2px 8px #1976d240}[data-theme=dark] .pagination-btn:disabled{background:#1f2937;color:#6b7280}@media(prefers-reduced-motion:reduce){.table-row,.category-item,.search-box{transition:none;animation:none}}*{margin:0;padding:0;box-sizing:border-box;-webkit-backface-visibility:hidden;backface-visibility:hidden}html,body,#root{width:100%;height:100%;overflow:hidden;margin:0;padding:0;font-size:16px;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.app-root{width:100%;height:100%;background:#fff;display:flex;flex-direction:column;overflow:hidden}[data-theme=dark] .app-root{background:#0a0e27}.app-container{display:flex;width:100%;height:100%;margin:0;padding:0;gap:0;overflow:hidden;flex:1;min-height:0}.panel-left{display:flex;flex-direction:column;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden;flex-shrink:0;min-width:200px;max-width:80%;contain:layout style paint}[data-theme=dark] .panel-left{background:#1a1f3a;border-right-color:#374151}.problem-scroll{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;min-height:0}.problem-scroll::-webkit-scrollbar{width:clamp(4px,1vw,8px)}.problem-scroll::-webkit-scrollbar-track{background:transparent}.problem-scroll::-webkit-scrollbar-thumb{background:#64748b4d;border-radius:clamp(2px,.5vw,4px)}.problem-scroll::-webkit-scrollbar-thumb:hover{background:#64748b80}.problem-inner{padding:clamp(1rem,3vw,2rem);display:flex;flex-direction:column;gap:clamp(1rem,3vw,1.5rem)}.problem-header{display:flex;align-items:center;gap:clamp(.75rem,2vw,1rem);flex-wrap:wrap;padding-bottom:clamp(1rem,2vw,1.25rem);margin-bottom:clamp(1.5rem,3vw,2rem);border-bottom:2px solid #e2e8f0}.problem-header h1{font-size:clamp(1.5rem,4vw,2rem);font-weight:900;color:#1e293b;margin:0;display:flex;align-items:center;gap:clamp(.75rem,2vw,1rem);line-height:1.2;letter-spacing:-.5px;word-break:break-word}[data-theme=dark] .problem-header{border-bottom-color:#374151}[data-theme=dark] .problem-header h1{color:#e2e8f0}.problem-index{display:inline-flex;align-items:center;justify-content:center;min-width:clamp(2.5rem,5vw,3rem);height:clamp(2.5rem,5vw,3rem);background:#2563eb;color:#fff;border-radius:clamp(.4rem,1vw,.5rem);font-weight:900;font-size:clamp(1rem,2vw,1.25rem);flex-shrink:0}[data-theme=dark] .problem-index{background:#3b82f6}.badge{padding:clamp(.375rem,1vw,.75rem) clamp(.75rem,2vw,1rem);border-radius:clamp(.75rem,1.5vw,1rem);font-size:clamp(.65rem,1.5vw,.875rem);font-weight:700;text-transform:uppercase;color:#fff;white-space:nowrap}.badge-easy{background:#10b981}.badge-medium{background:#f59e0b}.badge-hard{background:#ef4444}.section{display:flex;flex-direction:column;gap:clamp(.75rem,1.5vw,1rem);margin-top:clamp(.5rem,1vw,.75rem)}.section h2{display:none}[data-theme=dark] .section h2{color:#e2e8f0;border-bottom-color:#374151}.section p{font-size:clamp(.95rem,2.5vw,1.125rem);line-height:1.8;color:#475569;font-weight:500;margin:0 0 clamp(.75rem,1.5vw,1rem) 0;word-break:break-word}[data-theme=dark] .section p{color:#cbd5e1}.example-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:clamp(1rem,2vw,1.25rem);display:flex;flex-direction:column;gap:clamp(.75rem,1.5vw,1rem)}[data-theme=dark] .example-box{background:#252d45;border-color:#374151}.example-box h3{font-size:clamp(.9rem,2vw,1.125rem);font-weight:700;margin:0 0 clamp(.6rem,1.5vw,.75rem) 0;color:#1e293b;padding-bottom:clamp(.6rem,1.5vw,.75rem);border-bottom:1px solid #cbd5e1}[data-theme=dark] .example-box h3{color:#e2e8f0;border-bottom-color:#4b5563}.example-row{display:flex;flex-direction:column;gap:clamp(.5rem,1vw,.75rem);font-size:clamp(.85rem,2vw,1rem)}.example-row div{flex:1;display:flex;flex-direction:column;gap:clamp(.25rem,.5vw,.375rem);min-width:0}.example-row strong{font-weight:700;color:#1e293b;font-size:clamp(.75rem,1.5vw,.875rem)}[data-theme=dark] .example-row strong{color:#e2e8f0}.example-row pre{background:#f8fafc;color:#0f172a;padding:clamp(.875rem,2vw,1.125rem);border-radius:12px;border:1px solid #e2e8f0;overflow-x:auto;margin:0;font-family:Monaco,Fira Code,monospace;font-size:clamp(.85rem,1.5vw,1rem);font-weight:500;line-height:1.6;white-space:pre-wrap;word-break:break-word;min-width:0}[data-theme=dark] .example-row pre{background:#1e293b;color:#38bdf8;border-color:#334155}.skeleton-container{padding:clamp(1rem,2vw,1.5rem);display:flex;flex-direction:column;gap:clamp(.75rem,1.5vw,1rem);flex:1}.skeleton-line{height:clamp(.875rem,1.5vw,1rem);background:linear-gradient(90deg,var(--border) 0%,var(--bg-secondary) 50%,var(--border) 100%);background-size:200% 100%;border-radius:clamp(.2rem,.5vw,.3rem);animation:shimmer 2s infinite}[data-theme=dark] .skeleton-line{background:linear-gradient(90deg,#374151,#4b5563,#374151)}.divider-v{width:clamp(4px,1vw,8px);cursor:col-resize;background:linear-gradient(to right,transparent 20%,#cbd5e1 50%,transparent 80%);transition:background .2s;flex-shrink:0;-webkit-user-select:none;user-select:none}.divider-v:hover{background:linear-gradient(to right,transparent 10%,#3b82f6 50%,transparent 90%)}.divider-v.active{background:#3b82f6}[data-theme=dark] .divider-v{background:linear-gradient(to right,transparent 20%,#4b5563 50%,transparent 80%)}[data-theme=dark] .divider-v:hover{background:linear-gradient(to right,transparent 10%,#60a5fa 50%,transparent 90%)}.divider-h{height:clamp(4px,1vh,8px);cursor:row-resize;background:linear-gradient(to bottom,transparent 20%,#cbd5e1 50%,transparent 80%);transition:background .2s;flex-shrink:0;-webkit-user-select:none;user-select:none}.divider-h:hover{background:linear-gradient(to bottom,transparent 10%,#3b82f6 50%,transparent 90%)}.divider-h.active{background:#3b82f6}[data-theme=dark] .divider-h{background:linear-gradient(to bottom,transparent 20%,#4b5563 50%,transparent 80%)}[data-theme=dark] .divider-h:hover{background:linear-gradient(to bottom,transparent 10%,#60a5fa 50%,transparent 90%)}.panel-right{display:flex;flex-direction:column;flex:1;overflow:hidden;background:#fff;min-width:0}[data-theme=dark] .panel-right{background:#1a1f3a}.panel-top{display:flex;overflow:hidden;flex-shrink:0;min-height:0}.editor-container{flex:1;overflow:hidden;background:#fff;min-width:0}.panel-bottom{display:flex;flex-direction:column;flex:1;overflow:hidden;background:#fff;border-top:1px solid #e2e8f0;min-height:0}[data-theme=dark] .panel-bottom{background:#1a1f3a;border-top-color:#374151}.tabs{display:flex;gap:0;background:linear-gradient(135deg,#f8fafc,#f0f4f8);border-bottom:1px solid #e2e8f0;flex-shrink:0;padding:0;margin:0;overflow-x:auto;overflow-y:hidden}[data-theme=dark] .tabs{background:linear-gradient(135deg,#252d45,#1a1f3a);border-bottom-color:#374151}.tab{display:flex;align-items:center;gap:clamp(.5rem,1vw,.75rem);padding:clamp(.75rem,1.5vw,1rem) clamp(1rem,2vw,1.25rem);background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;font-size:clamp(.7rem,1.2vw,.875rem);font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;transition:all .2s;flex-shrink:0}[data-theme=dark] .tab{color:#cbd5e1}.tab:hover{background:#2563eb14;color:#2563eb}[data-theme=dark] .tab:hover{background:#3b82f61a;color:#60a5fa}.tab.active{color:#2563eb;border-bottom-color:#2563eb}[data-theme=dark] .tab.active{color:#60a5fa;border-bottom-color:#3b82f6}.tab svg{font-size:clamp(.875rem,2vw,1.125rem)}.results-content{flex:1;overflow-y:auto;overflow-x:hidden;background:linear-gradient(135deg,#fafbfc,#f8fafc);padding:clamp(.75rem,1.5vw,1rem);-webkit-overflow-scrolling:touch;min-height:0}[data-theme=dark] .results-content{background:linear-gradient(135deg,#252d45,#1a1f3a)}.results-content::-webkit-scrollbar{width:clamp(4px,1vw,8px)}.results-content::-webkit-scrollbar-thumb{background:#64748b4d;border-radius:clamp(2px,.5vw,4px)}.results-content::-webkit-scrollbar-thumb:hover{background:#64748b80}.test-panel{display:flex;flex-direction:column;gap:clamp(.625rem,1.5vw,.75rem);height:100%;min-height:0}.test-buttons{display:flex;gap:clamp(.5rem,1vw,.75rem);flex-wrap:wrap;padding-bottom:clamp(.625rem,1vw,.75rem);border-bottom:1px solid #e2e8f0;align-content:flex-start}[data-theme=dark] .test-buttons{border-bottom-color:#374151}.test-btn{padding:clamp(.5rem,1vw,.75rem) clamp(.75rem,1.5vw,1rem);background:#fff;border:1px solid #e2e8f0;border-radius:clamp(.25rem,.5vw,.375rem);cursor:pointer;font-size:clamp(.65rem,1.2vw,.875rem);font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;transition:all .2s;flex-shrink:0}[data-theme=dark] .test-btn{background:#252d45;border-color:#374151;color:#cbd5e1}.test-btn:hover{border-color:#2563eb;color:#2563eb;background:linear-gradient(135deg,#f0f7ff,#e0f2fe)}[data-theme=dark] .test-btn:hover{border-color:#3b82f6;color:#60a5fa;background:linear-gradient(135deg,#374151,#252d45)}.test-btn.active{background:linear-gradient(135deg,#2563eb,#3b82f6);border-color:#2563eb;color:#fff}[data-theme=dark] .test-btn.active{background:linear-gradient(135deg,#3b82f6,#60a5fa);border-color:#3b82f6}.test-details{display:flex;flex-direction:column;gap:clamp(.625rem,1vw,.75rem);padding:clamp(.625rem,1vw,.75rem);background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-shrink:0}[data-theme=dark] .test-details{background:#252d45;border-color:#334155}.test-row{display:flex;flex-direction:column;gap:clamp(.375rem,.75vw,.5rem)}.test-row strong{font-size:clamp(.65rem,1vw,.875rem);font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.3px}[data-theme=dark] .test-row strong{color:#e2e8f0}.test-row code{background:#f0f4f8;color:#0f172a;padding:clamp(.5rem,1vw,.75rem);border:1px solid #cbd5e1;border-radius:12px;font-family:Monaco,Fira Code,monospace;font-size:clamp(.75rem,1.2vw,.95rem);font-weight:500;word-break:break-all;line-height:1.4;overflow-x:auto;-webkit-overflow-scrolling:touch;display:block;min-width:0}[data-theme=dark] .test-row code{background:#0f172a;color:#38bdf8;border-color:#0ea5e9}.output-panel{display:flex;flex-direction:column;gap:clamp(.625rem,1vw,.75rem);height:100%;min-height:0}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:clamp(.75rem,1.5vw,1rem)}.spinner{width:clamp(2rem,5vw,3rem);height:clamp(2rem,5vw,3rem);border:clamp(2px,.5vw,4px) solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.output-content{display:flex;flex-direction:column;gap:clamp(.625rem,1vw,.75rem);overflow-y:auto;flex:1;min-height:0}.status-box{padding:clamp(.625rem,1vw,.75rem);background:#f8fafc;border:1px solid #e2e8f0;border-left:clamp(2px,.5vw,4px) solid #e2e8f0;border-radius:12px;flex-shrink:0}[data-theme=dark] .status-box{background:#1a1f3a;border-color:#374151;border-left-color:#374151}.status-box p{margin:0 0 clamp(.375rem,.75vw,.5rem) 0;font-size:clamp(.75rem,1.2vw,.95rem);color:var(--text-dark);font-weight:500}[data-theme=dark] .status-box p{color:#e2e8f0}.status-box p:last-child{margin-bottom:0}.judge-header{display:flex;flex-direction:column;gap:clamp(.5rem,1vw,.75rem)}.judge-status{display:flex;align-items:center;gap:8px;padding:clamp(.625rem,1vw,.75rem);border-radius:clamp(.25rem,.5vw,.375rem);font-weight:600}.judge-status.passed{background:#f0fdf4;border:1px solid #86efac;color:#16a34a}[data-theme=dark] .judge-status.passed{background:#052e16;border-color:#166534;color:#86efac}.judge-status .status-icon{font-size:1.125rem;font-weight:700}.judge-status .status-text{font-size:clamp(.875rem,1.5vw,1rem)}.judge-meta{display:flex;gap:clamp(1rem,2vw,1.25rem);font-size:clamp(.75rem,1.2vw,.875rem);color:#64748b;flex-wrap:wrap}[data-theme=dark] .judge-meta{color:#cbd5e1}.test-case,.runtime{color:inherit;font-size:inherit;font-weight:500}.test-case{background:#f1f5f9;padding:4px 8px;border-radius:4px}[data-theme=dark] .test-case{background:#374151;color:#cbd5e1}.judge-result{display:flex;flex-direction:column;gap:clamp(1rem,2vw,1.25rem);padding:0;background:transparent;border:none;flex-shrink:0}.judge-section{display:flex;flex-direction:column;gap:clamp(.5rem,1vw,.75rem)}.section-label{font-size:clamp(.85rem,1.5vw,1rem);font-weight:700;color:#1e293b;text-transform:capitalize}[data-theme=dark] .section-label{color:#e2e8f0}.section-code{font-size:clamp(.8rem,1.2vw,.95rem);font-family:Monaco,Fira Code,monospace;background:#f8fafc;color:#1e293b;padding:clamp(.75rem,1.5vw,1rem);border-radius:12px;border:1px solid #e2e8f0;word-break:break-all;line-height:1.6;white-space:pre-wrap;overflow-x:auto;max-height:clamp(7.5rem,15vw,9rem);overflow-y:auto;min-height:0}[data-theme=dark] .section-code{background:#1e293b;color:#38bdf8;border-color:#334155}.section-code.your-output{background:#fef2f2;color:#dc2626;border-color:#fecaca}[data-theme=dark] .section-code.your-output{background:#7f1d1d;color:#fca5a5;border-color:#991b1b}.section-code.expected-output{background:#f0fdf4;color:#16a34a;border-color:#bbf7d0}[data-theme=dark] .section-code.expected-output{background:#052e16;color:#86efac;border-color:#166534}.section-code::-webkit-scrollbar{width:clamp(4px,1vw,8px);height:clamp(4px,1vh,8px)}.section-code::-webkit-scrollbar-track{background:transparent}.section-code::-webkit-scrollbar-thumb{background:#64748b4d;border-radius:clamp(2px,.5vw,4px)}.section-code::-webkit-scrollbar-thumb:hover{background:#64748b80}.judge-celebration{padding:clamp(1rem,2vw,1.25rem);background:linear-gradient(135deg,#f0fdf4,#dbeafe);border:1px solid #86efac;border-radius:12px;text-align:center}[data-theme=dark] .judge-celebration{background:linear-gradient(135deg,#052e16,#0c2340);border-color:#166534}.judge-celebration p{margin:0;font-size:clamp(.9rem,2vw,1.125rem);font-weight:700;color:#16a34a}[data-theme=dark] .judge-celebration p{color:#86efac}.empty{display:flex;align-items:center;justify-content:center;flex:1;color:#94a3b8;font-size:clamp(.85rem,1.5vw,1rem);font-weight:500;text-align:center;min-height:0}[data-theme=dark] .empty{color:#9ca3af}.app-error{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#fff}[data-theme=dark] .app-error{background:#0a0e27}.error-box{background:linear-gradient(135deg,#fee2e2,#fef2f2);border-left:clamp(2px,.5vw,4px) solid #ef4444;padding:clamp(1rem,2vw,1.5rem);border-radius:clamp(.25rem,.5vw,.375rem);text-align:center;max-width:clamp(250px,80vw,500px)}[data-theme=dark] .error-box{background:linear-gradient(135deg,#7f1d1d,#5f1d1d)}.error-box p{color:#ef4444;font-weight:500;margin:0 0 clamp(.75rem,1.5vw,1rem) 0;font-size:clamp(.95rem,1.5vw,1.125rem);word-break:break-word}[data-theme=dark] .error-box p{color:#fca5a5}.error-box button{padding:clamp(.625rem,1vw,.875rem) clamp(1.25rem,2vw,1.5rem);background:#ef4444;color:#fff;border:none;border-radius:clamp(.25rem,.5vw,.375rem);cursor:pointer;font-weight:600;transition:all .2s;font-size:clamp(.85rem,1.2vw,1rem)}.error-box button:hover{background:#dc2626;transform:translateY(clamp(-.125rem,-.2vw,-.25rem))}@media(max-width:1024px){.app-container{flex-direction:column}.panel-left{border-right:none;border-bottom:1px solid #e2e8f0;width:100%!important;max-width:100%;height:auto}[data-theme=dark] .panel-left{border-bottom-color:#374151}.panel-right{flex-direction:column}.panel-bottom{border-top:none;border-left:none}.panel-top{height:auto!important;min-height:300px}.divider-v{display:none}.divider-h{cursor:row-resize}}@media(max-width:768px){.problem-inner{padding:clamp(1rem,3vw,1.5rem);gap:clamp(.75rem,2vw,1rem)}.tab{padding:clamp(.625rem,1.25vw,.75rem) clamp(.75rem,1.5vw,1rem);font-size:clamp(.6rem,1vw,.75rem)}.test-btn{padding:clamp(.5rem,.75vw,.625rem) clamp(.625rem,1.2vw,.875rem);font-size:clamp(.6rem,.9vw,.75rem)}.results-content{padding:clamp(.625rem,1.25vw,.75rem)}}@media(max-width:480px){.problem-header h1{font-size:clamp(1.25rem,3vw,1.5rem)}.problem-index{min-width:clamp(2rem,4vw,2.5rem);height:clamp(2rem,4vw,2.5rem);font-size:clamp(.875rem,1.5vw,1rem)}.problem-inner{padding:clamp(.75rem,2vw,1rem);gap:clamp(.5rem,1.5vw,.75rem)}.example-row{flex-direction:column}.badge{font-size:clamp(.6rem,1vw,.75rem)}}@media(min-width:1400px){.problem-inner{max-width:800px;margin:0 auto}}.code-editor{width:100%;display:flex;flex-direction:column;height:100%;background:#faf8f8;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;contain:layout style paint;isolation:isolate;overflow:hidden;min-height:0}[data-theme=dark] .code-editor{background:#1a1f3a}.editor-controls{display:flex;flex-direction:row;gap:12px;padding:16px;background:linear-gradient(135deg,#f8fafc,#f0f4f8);border-bottom:1px solid #e2e8f0;align-items:center;justify-content:flex-start}[data-theme=dark] .editor-controls{background:linear-gradient(135deg,#252d45,#1a1f3a);border-bottom:1px solid #374151}.control-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.action-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.language-selector{position:relative;min-width:120px}.language-button{width:100%;padding:10px 14px;background:linear-gradient(135deg,#fff,#f9fafb);border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;color:#1e293b;display:flex;align-items:center;justify-content:space-between;gap:8px;transition:all .3s ease}[data-theme=dark] .language-button{background:linear-gradient(135deg,#1a1f3a,#252d45);border:2px solid #374151;color:#e2e8f0}.language-button:hover{background:#fff;border-color:#2563eb;box-shadow:0 1px 2px #0000000d;transform:translateY(-1px)}[data-theme=dark] .language-button:hover{background:#252d45;border-color:#3b82f6;box-shadow:0 1px 2px #00000080}.language-button:active{transform:translateY(0)}.language-button.open{background:#fff;border-color:#2563eb;box-shadow:0 4px 12px #2563eb33}[data-theme=dark] .language-button.open{background:#252d45;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f64d}.language-icon{display:flex;align-items:center;justify-content:center;font-size:16px;color:inherit}.arrow-icon{display:inline-block;width:6px;height:6px;border-right:2px solid var(--primary);border-bottom:2px solid var(--primary);transform:rotate(45deg);transition:transform .2s ease;flex-shrink:0}.language-button.open .arrow-icon{transform:rotate(-135deg)}.language-options{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:2px solid #2563eb;border-radius:10px;box-shadow:0 10px 25px #2563eb33;z-index:100;min-width:100%;overflow:hidden;animation:slideDown .2s ease}[data-theme=dark] .language-options{background:#1a1f3a;border:2px solid #3b82f6;box-shadow:0 10px 25px #3b82f633}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.language-option{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border:none;background:transparent;text-align:left;cursor:pointer;font-size:14px;font-weight:500;color:#1e293b;transition:all .2s ease;position:relative}[data-theme=dark] .language-option{color:#e2e8f0}.language-option:hover{background:#f8fafc;color:#2563eb;padding-left:18px}[data-theme=dark] .language-option:hover{background:#252d45;color:#3b82f6}.language-option.active{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;font-weight:700;border-left:3px solid #2563eb}[data-theme=dark] .language-option.active{background:linear-gradient(135deg,#374151,#252d45);color:#3b82f6;border-left:3px solid #3b82f6}.language-option:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--primary);opacity:0;transition:opacity .2s ease}.language-option.active:before{opacity:1}.submit-btn{padding:10px 20px;background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:700;transition:all .3s ease;min-width:110px;box-shadow:0 4px 12px #2563eb4d;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:8px}.action-btn{padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:16px;color:#1e293b;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:0;white-space:nowrap;min-width:36px;height:36px}[data-theme=dark] .action-btn{background:#252d45;border:1px solid #374151;color:#e2e8f0}.action-btn:hover{background:#cbd5e1;border-color:#2563eb;color:#2563eb;transform:translateY(-1px);box-shadow:0 2px 6px #2563eb1a}[data-theme=dark] .action-btn:hover{background:#374151;border-color:#3b82f6;color:#3b82f6;box-shadow:0 2px 6px #3b82f633}.action-btn:active{transform:translateY(0)}.action-btn.copied{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#0f6b45;border-color:#6ee7b7}.font-size-control{display:flex;align-items:center;gap:0;margin-left:auto}.font-size-select{padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600;color:#1e293b;transition:all .2s ease;min-width:70px;text-align:center}[data-theme=dark] .font-size-select{background:#252d45;border:1px solid #374151;color:#e2e8f0}.font-size-select:hover{border-color:#2563eb;background:#fff;box-shadow:0 2px 6px #2563eb1a}[data-theme=dark] .font-size-select:hover{border-color:#3b82f6;background:#374151;box-shadow:0 2px 6px #3b82f633}.font-size-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}[data-theme=dark] .font-size-select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #2563eb66;background:linear-gradient(135deg,var(--primary-dark),var(--primary))}.submit-btn:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 8px #2563eb4d}.submit-btn:disabled{background:linear-gradient(135deg,#cbd5e1,#e2e8f0);cursor:not-allowed;opacity:.6;box-shadow:none}.reset-btn{padding:8px 10px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;cursor:pointer;font-size:16px;color:#1e293b;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:0;min-width:36px;height:36px}[data-theme=dark] .reset-btn{background:#252d45;border:1px solid #4b5563;color:#e2e8f0}.reset-btn:hover{background:#e2e8f0;border-color:#f59e0b;color:#f59e0b;transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b33}[data-theme=dark] .reset-btn:hover{background:#374151;border-color:#f59e0b;color:#f59e0b;box-shadow:0 4px 12px #f59e0b4d}.reset-btn:active{transform:translateY(0)}.theme-toggle-btn{padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:16px;color:#1e293b;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:0;white-space:nowrap;min-width:36px;height:36px;margin-left:8px}[data-theme=dark] .theme-toggle-btn{background:#252d45;border:1px solid #374151;color:#e2e8f0}.theme-toggle-btn:hover{background:#fbbf24;border-color:#f59e0b;color:#fff;transform:translateY(-1px);box-shadow:0 2px 6px #f59e0b33}[data-theme=dark] .theme-toggle-btn:hover{background:#374151;border-color:#3b82f6;color:#3b82f6;box-shadow:0 2px 6px #3b82f633}.theme-toggle-btn:active{transform:translateY(0)}.editor-container{flex:1;overflow:hidden;background:#faf8f8;min-height:0}[data-theme=dark] .editor-container{background:#1a1f3a}.editor-container .monaco-editor{background:#faf8f8!important;min-height:100%}[data-theme=dark] .editor-container .monaco-editor{background:#1a1f3a!important}.language-button:focus,.submit-btn:focus,.language-option:focus{outline:2px solid var(--primary);outline-offset:2px}@media(max-width:768px){.action-btn{padding:6px 8px;font-size:14px;min-width:32px;height:32px}.action-buttons{gap:6px}.reset-btn{padding:6px 8px;font-size:14px;min-width:32px;height:32px}.font-size-control{margin-left:auto}.font-size-select{min-width:65px;font-size:11px;padding:6px 8px}.editor-controls{gap:10px;padding:12px;flex-direction:column}.control-group{gap:10px;flex-wrap:wrap;flex:none;width:100%}.submit-btn,.language-button{flex:1;min-width:80px}.submit-btn{padding:8px 12px;font-size:12px;min-width:90px}}@media(max-width:480px){.editor-controls{gap:8px;padding:10px;flex-direction:column}.control-group{gap:8px;width:100%}.action-buttons{width:100%;gap:4px;flex-wrap:wrap}.action-btn,.reset-btn{padding:6px 8px;font-size:12px;min-width:30px;height:30px}.font-size-control{margin-left:auto}.font-size-select{min-width:60px;font-size:10px;padding:5px 6px}.submit-btn,.language-button{font-size:12px;padding:8px 10px}}@keyframes buttonPulse{0%,to{box-shadow:0 4px 12px #2563eb4d}50%{box-shadow:0 4px 20px #2563eb80}}.submit-btn:hover:not(:disabled){animation:buttonPulse .3s ease}@media(prefers-reduced-motion:reduce){.language-button,.submit-btn,.clean-btn,.language-options,.language-option{transition:none;animation:none}}.create-accaunt .container{display:flex;align-items:center;justify-content:center;padding:40px 0;min-height:80vh}.accaunt-settings{width:600px}.accaunt-settings .btns:nth-child(1){padding:10px 40px;letter-spacing:1px;font-size:16px;font-weight:500;background-color:red}.accaunt-btns{display:flex;align-items:center;gap:10px}.accaunt-settings .btns{padding:10px 40px;letter-spacing:1px;font-size:16px;font-weight:500}.accaunt-settings .settings{display:flex;align-items:start;flex-direction:column;justify-content:left;margin-bottom:20px}.settings label{font-size:18px;font-weight:600;color:#000}.settings input{width:100%;padding:10px;font-size:16px;font-weight:500;color:#000;border-radius:4px;outline:none;border:.4px solid black}.settings input::placeholder{color:#8080809d}.settings textarea{width:100%;height:250px;outline:none;border-radius:6px;resize:none;padding:10px}.signin-container{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px;background:#f9fafb;position:relative;overflow:hidden}[data-theme=dark] .signin-container{background:#0f172a}.signin-card{width:100%;max-width:420px;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;padding:40px;position:relative;z-index:1;animation:slideUp .5s ease}[data-theme=dark] .signin-card{background:#1f2937;box-shadow:0 20px 60px #0009}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.signin-header{text-align:center;margin-bottom:30px}.signin-header h1{font-size:28px;font-weight:700;color:#111827;margin:0 0 8px;letter-spacing:-.5px}[data-theme=dark] .signin-header h1{color:#f3f4f6}.signin-header p{color:#6b7280;font-size:14px;margin:0}[data-theme=dark] .signin-header p{color:#9ca3af}.signin-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.5px}[data-theme=dark] .form-group label{color:#d1d5db}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:12px;color:#9ca3af;font-size:18px;width:18px;height:18px;pointer-events:none}[data-theme=dark] .input-icon{color:#6b7280}.signin-form input{width:100%;padding:12px 12px 12px 42px;font-size:14px;font-weight:500;color:#111827;border:2px solid #e5e7eb;border-radius:8px;outline:none;transition:all .3s ease;background:#f9fafb}[data-theme=dark] .signin-form input{color:#f3f4f6;border-color:#374151;background:#111827}.signin-form input:focus{border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}[data-theme=dark] .signin-form input:focus{border-color:#667eea;background:#1f2937;box-shadow:0 0 0 3px #667eea33}.signin-form input::placeholder{color:#9ca3af}[data-theme=dark] .signin-form input::placeholder{color:#6b7280}.toggle-password{position:absolute;right:12px;background:none;border:none;color:#6b7280;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.toggle-password:hover{color:#374151}[data-theme=dark] .toggle-password:hover{color:#d1d5db}.toggle-password svg{font-size:18px;width:18px;height:18px}.signin-button{padding:12px!important;font-size:16px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.5px!important;border-radius:8px!important;background:#1976d2!important;transition:all .3s ease!important;margin-top:10px;color:#fff!important}.signin-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px #1976d24d!important;background:#1565c0!important}.signin-button:active:not(:disabled){transform:translateY(0)}.signin-button:disabled{opacity:.7;cursor:not-allowed}.signin-footer{text-align:center;margin-top:20px;padding-top:20px;border-top:1px solid #e5e7eb}[data-theme=dark] .signin-footer{border-top-color:#374151}.signin-footer p{color:#6b7280;font-size:14px;margin:0}[data-theme=dark] .signin-footer p{color:#9ca3af}.signin-footer a{color:#1976d2;text-decoration:none;font-weight:600;transition:color .2s ease}.signin-footer a:hover{color:#1565c0;text-decoration:underline}.loadingEffect{position:fixed;width:100%;height:100vh;z-index:9999;top:0;left:0;background-color:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;transform:scale(0);opacity:0;transition:all .3s ease}.loadingEffect.active{transform:scale(1);opacity:1}.loadingEffect p{font-size:40px;font-weight:600;font-family:Cascadia Code,sans-serif;display:flex;align-items:center;justify-content:center;gap:8px;color:#f3f4f6}.loadingEffect p span{animation:loaded .8s alternate infinite ease-in-out;display:inline-block}.loadingEffect p span:nth-child(1){animation-delay:0s}.loadingEffect p span:nth-child(2){animation-delay:.1s}.loadingEffect p span:nth-child(3){animation-delay:.2s}.loadingEffect p span:nth-child(4){animation-delay:.3s}.loadingEffect p span:nth-child(5){animation-delay:.4s}.loadingEffect p span:nth-child(6){animation-delay:.5s}.loadingEffect p span:nth-child(7){animation-delay:.6s}@keyframes loaded{0%{transform:translateY(0)}to{transform:translateY(-8px)}}@media(max-width:480px){.signin-card{padding:30px 20px;border-radius:12px}.signin-header h1{font-size:24px}.signin-header p{font-size:13px}.signin-button{font-size:14px!important}.signin-footer p{font-size:13px}}.profil-me{min-height:100vh;background:var(--bg-light)}.avatar-lines{background-color:#222;padding:40px 0}[data-theme=dark] .avatar-lines{background-color:#0f1419}.avatar-lines .container{display:flex;align-items:center;gap:60px;max-width:1200px;margin:0 auto;padding:40px 32px}.avatar-box{position:relative;width:160px;height:160px;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0000004d;flex-shrink:0}.avatar-img{width:100%;height:100%;object-fit:cover;background:#f1f5f9}[data-theme=dark] .avatar-img{background:#374151}.avatar-edit-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#0009;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .3s ease}.avatar-edit-overlay:hover{opacity:1}.camera-icon{font-size:28px;margin-bottom:8px}.users-infos h2{color:#fff;text-transform:capitalize;letter-spacing:.5px;padding-bottom:8px;font-size:24px;font-weight:700;margin:0}.users-infos p{font-size:15px;font-weight:400;color:#fffc;margin:0}.profil-information{background:var(--bg-light);padding:40px 0}[data-theme=dark] .profil-information{background:#0a0e27}.profil-information .container{display:flex;align-items:flex-start;gap:40px;max-width:1200px;margin:0 auto;padding:0 32px;position:relative}.basic-informtion{width:280px;flex-shrink:0}.basic-informtion li{padding:14px 16px;margin-bottom:8px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;color:#1e293b;background:#f1f5f9;border:1px solid #e2e8f0;transition:all .2s ease;list-style:none}[data-theme=dark] .basic-informtion li{color:#e2e8f0;background:#252d45;border:1px solid #374151}.basic-informtion li:hover{background-color:#e2e8f0;border-color:#2563eb;color:#2563eb}[data-theme=dark] .basic-informtion li:hover{background-color:#374151;border-color:#3b82f6;color:#3b82f6}.basic-informtion li.active{background-color:#2563eb;border-color:#2563eb;color:#fff}[data-theme=dark] .basic-informtion li.active{background-color:#3b82f6;border-color:#3b82f6;color:#fff}.external-info{flex:1;background:#fff;border-radius:12px;border:1px solid #e2e8f0;padding:28px;box-shadow:0 2px 8px #00000014;min-height:500px}[data-theme=dark] .external-info{background:#1a1f3a;border:1px solid #374151;box-shadow:0 2px 8px #0000004d}.basic_info-bases{display:block}.basic_info-bases.active{display:none}.basic_info-bases h4{font-size:18px;font-weight:700;margin:0 0 20px;color:#1e293b}[data-theme=dark] .basic_info-bases h4{color:#e2e8f0}.basic_info-bases p{width:100%;padding:12px 0;font-size:15px;font-weight:400;display:flex;align-items:flex-start;gap:20px;border-bottom:1px solid #e2e8f0;color:#475569;margin:0}[data-theme=dark] .basic_info-bases p{border-bottom:1px solid #374151;color:#cbd5e1}.basic_info-bases span{display:block;min-width:140px;font-weight:600;color:#1e293b}[data-theme=dark] .basic_info-bases span{color:#e2e8f0}.basic_info-bases span:nth-child(2){width:100%;font-weight:400}.basic-info_bio span:nth-child(2){max-height:100px;overflow-y:auto}.edit_info-bases{display:none}.edit_info-bases.active{display:block}.edit_info-bases h4{font-size:18px;font-weight:700;margin:0 0 20px;color:#1e293b}[data-theme=dark] .edit_info-bases h4{color:#e2e8f0}.edit_info-bases .creates{width:100%;padding:12px 0;font-size:15px;font-weight:400;display:flex;align-items:flex-start;gap:20px;border-bottom:1px solid #e2e8f0;margin:0 0 16px}[data-theme=dark] .edit_info-bases .creates{border-bottom:1px solid #374151}.edit_info-bases .creates span:nth-child(1){min-width:140px;font-weight:600;color:#1e293b;margin-top:4px}[data-theme=dark] .edit_info-bases .creates span:nth-child(1){color:#e2e8f0}.edit_info-bases .creates span:nth-child(2){width:100%}.edit_info-bases .creates textarea{width:100%;min-height:100px;resize:vertical;padding:10px 12px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#1e293b;font-size:14px;font-weight:400;font-family:inherit;outline:none;transition:all .2s ease}[data-theme=dark] .edit_info-bases .creates textarea{background:#252d45;border:1px solid #374151;color:#e2e8f0}.edit_info-bases .creates textarea:focus{border-color:#2563eb}[data-theme=dark] .edit_info-bases .creates textarea:focus{border-color:#3b82f6}.edit_info-bases .creates input{width:100%;padding:10px 12px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#1e293b;font-size:14px;font-weight:400;font-family:inherit;outline:none;transition:all .2s ease}[data-theme=dark] .edit_info-bases .creates input{background:#252d45;border:1px solid #374151;color:#e2e8f0}.edit_info-bases .creates input:focus{border-color:#2563eb}[data-theme=dark] .edit_info-bases .creates input:focus{border-color:#3b82f6}.edit_info-bases .submit_btns{display:flex;align-items:center;gap:12px;padding:24px 0 0;margin-top:20px;border-top:1px solid #e2e8f0}[data-theme=dark] .edit_info-bases .submit_btns{border-top:1px solid #374151}.edit_info-bases .submit_btns button{padding:10px 18px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;border:none;transition:all .2s ease}.edit_info-bases .submit_btns button:first-child{background:#2563eb;color:#fff}.edit_info-bases .submit_btns button:first-child:hover{background:#1d4ed8}.edit_info-bases .submit_btns button:last-child{background:#f1f5f9;color:#1e293b;border:1px solid #e2e8f0}[data-theme=dark] .edit_info-bases .submit_btns button:last-child{background:#374151;color:#e2e8f0;border:1px solid #4b5563}.edit_info-bases .submit_btns button:last-child:hover{background:#e2e8f0;color:#1e293b}[data-theme=dark] .edit_info-bases .submit_btns button:last-child:hover{background:#4b5563;color:#e2e8f0}@media(max-width:1024px){.avatar-lines .container{padding-left:24px;padding-right:24px}.profil-information .container{padding:0 24px}}@media(max-width:768px){.avatar-lines .container{flex-direction:column;gap:30px;padding-left:16px;padding-right:16px}.profil-information .container{flex-direction:column;padding:0 16px}.basic-informtion{width:100%;display:flex;gap:8px;overflow-x:auto;padding-bottom:8px}.basic-informtion li{white-space:nowrap;flex-shrink:0}.external-info{min-height:auto}}@media(max-width:480px){.avatar-lines .container{padding:24px 12px;gap:20px}.avatar-box{width:120px;height:120px}.users-infos h2{font-size:18px}.users-infos p{font-size:13px}.profil-information .container{padding:0 12px}.external-info{padding:16px;border-radius:8px}.basic_info-bases p,.edit_info-bases .creates{flex-direction:column;gap:8px}.basic_info-bases span:nth-child(1),.edit_info-bases .creates span:nth-child(1){min-width:auto}}.leaderboard{padding:0 0 40px;background:var(--bg-light);min-height:100vh}.leaderboard .container{max-width:1200px;margin:0 auto;padding:24px 32px 40px}.leaderboard-table{display:flex;flex-direction:column;background-color:#fff;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden;box-shadow:0 2px 8px #00000014}[data-theme=dark] .leaderboard-table{background-color:#1a1f3a;border:1px solid #374151;box-shadow:0 2px 8px #0000004d}.table-header{display:grid;grid-template-columns:80px 1fr 1fr 120px;gap:0;padding:16px 24px;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;font-weight:600;font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0;z-index:10}[data-theme=dark] .table-header{background-color:#252d45;border-bottom:1px solid #374151;color:#cbd5e1}.header-rank{display:flex;align-items:center;justify-content:center}.header-user,.header-bio{display:flex;align-items:center;padding-left:12px}.header-score{display:flex;align-items:center;justify-content:center}.table-row{display:grid;grid-template-columns:80px 1fr 1fr 120px;gap:0;padding:16px 24px;border-bottom:1px solid #e2e8f0;align-items:center;background-color:#fff;transition:all .2s ease;cursor:pointer}[data-theme=dark] .table-row{background-color:#1a1f3a;border-bottom:1px solid #374151}.table-row:hover{background-color:#f8fafc}[data-theme=dark] .table-row:hover{background-color:#252d45}.table-row.top-rank{background:linear-gradient(90deg,#facc150d,#facc1505)}[data-theme=dark] .table-row.top-rank{background:linear-gradient(90deg,#facc151a,#facc150d)}.row-rank{display:flex;align-items:center;justify-content:center}.rank-badge{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;font-weight:700;font-size:14px;background-color:#f1f5f9;color:#64748b;transition:all .2s ease;border:1px solid #e2e8f0}[data-theme=dark] .rank-badge{background-color:#374151;color:#cbd5e1;border:1px solid #4b5563}.rank-1{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#78350f;font-size:16px;border:none;box-shadow:0 4px 12px #f59e0b4d}[data-theme=dark] .rank-1{color:#fef3c7;box-shadow:0 4px 12px #f59e0b33}.rank-2{background:linear-gradient(135deg,#e5e7eb,#d1d5db);color:#374151;font-size:16px;border:none;box-shadow:0 4px 12px #0000001a}[data-theme=dark] .rank-2{background:linear-gradient(135deg,#6b7280,#4b5563);color:#f3f4f6;box-shadow:0 4px 12px #0000004d}.rank-3{background:linear-gradient(135deg,#f97316,#ea580c);color:#fef2f2;font-size:16px;border:none;box-shadow:0 4px 12px #f973164d}[data-theme=dark] .rank-3{color:#fed7aa;box-shadow:0 4px 12px #f9731633}.medal{font-size:20px;line-height:1}.row-user{display:flex;align-items:center;gap:12px;padding-left:12px}.user-avatar{flex-shrink:0}.user-avatar img{width:44px;height:44px;border-radius:50%;border:2px solid #e2e8f0;object-fit:cover;background-color:#f1f5f9}[data-theme=dark] .user-avatar img{border:2px solid #4b5563;background-color:#252d45}.user-info{display:flex;flex-direction:column;gap:4px;min-width:0}.user-info h3{margin:0;font-size:14px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}[data-theme=dark] .user-info h3{color:#e2e8f0}.user-country{margin:0;font-size:12px;color:#94a3b8;font-weight:400}[data-theme=dark] .user-country{color:#9ca3af}.row-bio{padding-left:12px}.row-bio p{margin:0;font-size:13px;color:#64748b;line-height:1.4;font-weight:400;word-break:break-word}[data-theme=dark] .row-bio p{color:#cbd5e1}.row-score{display:flex;align-items:center;justify-content:center}.score-value{display:inline-flex;align-items:center;justify-content:center;min-width:56px;padding:6px 12px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border-radius:6px;font-size:14px;font-weight:700;letter-spacing:.3px;box-shadow:0 2px 4px #2563eb33}[data-theme=dark] .score-value{background:linear-gradient(135deg,#60a5fa,#3b82f6);box-shadow:0 2px 4px #3b82f64d}.loader-leaderboard{display:flex;flex-direction:column;gap:0;background-color:#fff;border-radius:8px;overflow:hidden;border:1px solid #e2e8f0}[data-theme=dark] .loader-leaderboard{background-color:#1a1f3a;border:1px solid #374151}.loader-row{height:60px;background:linear-gradient(90deg,#e2e8f0,#f1f5f9,#e2e8f0);background-size:200% 100%;animation:shimmer 2s infinite;border-bottom:1px solid #e2e8f0}[data-theme=dark] .loader-row{border-bottom:1px solid #374151;background:linear-gradient(90deg,#374151,#4b5563,#374151)}.loader-row:last-child{border-bottom:none}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(max-width:768px){.leaderboard .container{padding:20px 16px 40px}.table-header{grid-template-columns:70px 1fr 1fr 100px;padding:12px 16px;font-size:11px;top:0}.table-row{grid-template-columns:70px 1fr 1fr 100px;padding:12px 16px}.header-user,.row-user,.header-bio,.row-bio{padding-left:10px}.user-avatar img{width:40px;height:40px}.user-info h3{font-size:13px}.row-bio p{font-size:12px}.rank-badge{width:38px;height:38px;font-size:13px}.loader-row{height:56px}.score-value{min-width:52px;padding:5px 10px;font-size:13px}}@media(max-width:480px){.leaderboard .container{padding:16px 12px 40px}.table-header{grid-template-columns:50px 1fr 80px;padding:10px 12px;font-size:10px;top:0}.table-row{grid-template-columns:50px 1fr 80px;padding:10px 12px}.header-bio,.row-bio{display:none}.rank-badge{width:36px;height:36px;font-size:12px}.user-avatar img{width:38px;height:38px}.user-info h3{font-size:13px}.score-value{font-size:12px;min-width:48px;padding:4px 8px}.loader-row{height:52px}}.table-row:focus{outline:2px solid var(--primary);outline-offset:-2px}@media(prefers-reduced-motion:reduce){.table-row,.rank-badge,.user-avatar img{transition:none;animation:none}}.statistics{min-height:100vh;padding:40px 0;background:#f9fafb;overflow-y:auto}[data-theme=dark] .statistics{background:#0f172a}.statistics .container{max-width:1200px;margin:0 auto;padding:0 20px}.stats-header{margin-bottom:40px}.stats-header h1{font-size:32px;font-weight:700;color:#111827;margin:0 0 8px}[data-theme=dark] .stats-header h1{color:#f3f4f6}.stats-header p{color:#6b7280;font-size:14px;margin:0}[data-theme=dark] .stats-header p{color:#9ca3af}.main-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:#fff;border-radius:12px;padding:20px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;transition:all .3s ease}.stat-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #0000001a}[data-theme=dark] .stat-card:hover{box-shadow:0 10px 25px #0000004d}.stat-card.large{grid-column:span 1}.stat-card.success,[data-theme=dark] .stat-card.success{border-color:#22c55e}.stat-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.stat-icon{font-size:24px;display:flex;align-items:center;justify-content:center;color:#1976d2}.stat-title{font-size:14px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}[data-theme=dark] .stat-title{color:#9ca3af}.stat-content{display:flex;flex-direction:column;gap:4px}.stat-big-value{font-size:32px;font-weight:700;color:#1976d2}.stat-subtitle{font-size:13px;color:#6b7280}[data-theme=dark] .stat-subtitle{color:#9ca3af}.stat-value{font-size:24px;font-weight:700;color:#1976d2}.secondary-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:40px}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px;margin-bottom:40px}.chart-card{background:#fff;border-radius:12px;padding:24px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d}[data-theme=dark] .chart-card{background:#1f2937;border-color:#374151}.chart-card h3{font-size:16px;font-weight:700;color:#111827;margin:0 0 20px}[data-theme=dark] .chart-card h3{color:#f3f4f6}.chart-container{display:flex;flex-direction:column;gap:16px}.chart-bar-item{display:flex;flex-direction:column;gap:8px}.chart-bar-header{display:flex;justify-content:space-between;align-items:center;font-size:13px}.chart-label{font-weight:600;color:#374151}[data-theme=dark] .chart-label{color:#d1d5db}.chart-value{font-weight:700;color:#1976d2}.chart-bar-bg{height:24px;background:#f3f4f6;border-radius:8px;overflow:hidden}[data-theme=dark] .chart-bar-bg{background:#111827}.chart-bar-fill{height:100%;border-radius:8px;transition:width .3s ease}.language-list{gap:12px}.language-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}[data-theme=dark] .language-item{background:#111827;border-color:#374151}.lang-badge{font-weight:700;color:#1976d2;font-size:12px;padding:4px 10px;background:#dbeafe;border-radius:6px}[data-theme=dark] .lang-badge{background:#1d76d21a;color:#60a5fa}.lang-count{color:#6b7280;font-size:13px;font-weight:600}[data-theme=dark] .lang-count{color:#9ca3af}.stats-loader{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.loader-card{height:160px;background:#f3f4f6;border-radius:12px;animation:pulse 1.5s cubic-bezier(.4,0,.6,1) infinite}[data-theme=dark] .loader-card{background:#374151}@media(max-width:1024px){.main-stats-grid,.secondary-stats-grid{grid-template-columns:repeat(2,1fr)}.charts-grid{grid-template-columns:1fr}}@media(max-width:768px){.statistics{padding:20px 0}.stats-header h1{font-size:24px}.main-stats-grid{grid-template-columns:1fr}.secondary-stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}.stat-card{padding:16px}.stat-big-value{font-size:28px}.stat-icon{font-size:20px}.chart-card{padding:16px}.chart-card h3{font-size:14px;margin-bottom:16px}.language-item{padding:10px}.lang-count{font-size:12px}}@media(max-width:480px){.secondary-stats-grid{grid-template-columns:1fr}.stat-value{font-size:20px}.stat-card{padding:14px}}.empty-state{text-align:center;padding:80px 40px;background:#fff;border-radius:12px;border:1px solid #e5e7eb}[data-theme=dark] .empty-state{background:transparent;border-color:#374151}.empty-state .empty-icon{font-size:60px;margin-bottom:16px;display:block}.empty-state h2{font-size:24px;font-weight:700;color:#111827;margin:0 0 8px}.solutions-history{min-height:100vh;padding:40px 0;background:#f9fafb;overflow-y:auto}[data-theme=dark] .solutions-history{background:#0f172a}.solutions-history .container{max-width:1200px;margin:0 auto;padding:0 20px}.history-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:40px;gap:30px;flex-wrap:wrap}.history-header h1{font-size:32px;font-weight:700;color:#111827;margin:0 0 8px}[data-theme=dark] .history-header h1{color:#f3f4f6}.history-header p{color:#6b7280;font-size:14px;margin:0}[data-theme=dark] .history-header p{color:#9ca3af}.history-stats{display:flex;gap:20px}.stat-card{display:flex;flex-direction:column;align-items:center;padding:20px 30px;background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d}[data-theme=dark] .stat-card{background:#1f2937;border-color:#374151}.stat-value{font-size:24px;font-weight:700;color:#1976d2;margin-bottom:4px}.stat-label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}[data-theme=dark] .stat-label{color:#9ca3af}.history-filters{display:flex;gap:12px;margin-bottom:30px;flex-wrap:wrap}.filter-btn{padding:10px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:600;color:#374151;cursor:pointer;transition:all .3s ease}[data-theme=dark] .filter-btn{background:#1f2937;border-color:#374151;color:#d1d5db}.filter-btn:hover{border-color:#1976d2;color:#1976d2}.filter-btn.active{background:#1976d2;border-color:#1976d2;color:#fff}.history-table{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden;box-shadow:0 1px 3px #0000000d;margin-bottom:40px}[data-theme=dark] .history-table{background:#1f2937;border-color:#374151}.table-header{display:grid;grid-template-columns:2fr 1.2fr 1fr 1.5fr 1fr;padding:16px 20px;background:#f3f4f6;border-bottom:1px solid #e5e7eb;font-weight:600;font-size:13px;color:#374151;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0;z-index:10}[data-theme=dark] .table-header{background:#111827;border-color:#374151;color:#9ca3af}.table-body{display:flex;flex-direction:column}[data-theme=dark] .table-body{border-color:#374151}.table-row{display:grid;grid-template-columns:2fr 1.2fr 1fr 1.5fr 1fr;padding:16px 20px;border-bottom:1px solid #e5e7eb;align-items:center;transition:background-color .2s ease}[data-theme=dark] .table-row{border-color:#374151}.table-row:hover{background:#f9fafb}[data-theme=dark] .table-row:hover{background:#111827}.table-row:last-child{border-bottom:none}.col-problem{display:flex;flex-direction:column;gap:6px}.problem-title{font-weight:600;color:#111827;font-size:14px}[data-theme=dark] .problem-title{color:#f3f4f6}.problem-language{font-size:12px;color:#6b7280;background:#f3f4f6;padding:2px 8px;border-radius:4px;width:fit-content;font-weight:600}[data-theme=dark] .problem-language{background:#111827;color:#9ca3af}.col-status,.col-difficulty,.col-time,.col-execution{font-size:14px;color:#374151}[data-theme=dark] .col-status,[data-theme=dark] .col-difficulty,[data-theme=dark] .col-time,[data-theme=dark] .col-execution{color:#d1d5db}.status-badge{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;display:inline-block;text-transform:uppercase;letter-spacing:.5px}.status-accepted{background:#dcfce7;color:#166534}[data-theme=dark] .status-accepted{background:#22c55e1a;color:#86efac}.status-wrong-answer{background:#fee2e2;color:#991b1b}[data-theme=dark] .status-wrong-answer{background:#ef44441a;color:#fca5a5}.status-runtime-error{background:#fecaca;color:#7c2d12}[data-theme=dark] .status-runtime-error{background:#f973161a;color:#fed7aa}.status-time-limit-exceeded{background:#fef3c7;color:#7c2d12}[data-theme=dark] .status-time-limit-exceeded{background:#f973161a;color:#fed7aa}.difficulty-badge{padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;display:inline-block;text-transform:capitalize}.difficulty-easy{background:#dbeafe;color:#1e40af}[data-theme=dark] .difficulty-easy{background:#3b82f61a;color:#93c5fd}.difficulty-medium{background:#fed7aa;color:#92400e}[data-theme=dark] .difficulty-medium{background:#fb923c1a;color:#fdba74}.difficulty-hard{background:#fecaca;color:#991b1b}[data-theme=dark] .difficulty-hard{background:#ef44441a;color:#fca5a5}.history-loader{space-y-3;margin-bottom:40px}.history-loader-row{height:60px;background:#f3f4f6;border-radius:8px;margin-bottom:12px;animation:pulse 1.5s cubic-bezier(.4,0,.6,1) infinite}[data-theme=dark] .history-loader-row{background:#374151}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.empty-state{text-align:center;padding:60px 20px;margin-bottom:40px}.empty-icon{font-size:64px;margin-bottom:20px;display:flex;align-items:center;justify-content:center;color:#6b7280}[data-theme=dark] .empty-icon{color:#9ca3af}.empty-state h2{font-size:20px;font-weight:700;color:#111827;margin:0 0 8px}[data-theme=dark] .empty-state h2{color:#f3f4f6}.empty-state p{color:#6b7280;font-size:14px;margin:0}[data-theme=dark] .empty-state p{color:#9ca3af}@media(max-width:1024px){.history-header{flex-direction:column}.history-stats{width:100%}.table-header,.table-row{grid-template-columns:1fr 1fr 1fr}.col-time{display:none}.col-execution{grid-column:3}}@media(max-width:768px){.solutions-history{padding:20px 0}.history-header h1{font-size:24px}.history-stats{gap:12px}.stat-card{padding:16px 20px;flex:1}.stat-value{font-size:20px}.stat-label{font-size:11px}.table-header,.table-row{grid-template-columns:1fr 1fr;font-size:12px;padding:12px 16px}.col-problem{grid-column:1 / -1;margin-bottom:8px}.col-status,.col-difficulty{grid-column:1}.col-time,.col-execution{display:none}}.pagination-container{display:flex;align-items:center;justify-content:center;gap:24px;padding:24px 16px;background:#fff;border-top:1px solid #e5e7eb;border-radius:0 0 12px 12px;flex-wrap:wrap;margin-top:0}[data-theme=dark] .pagination-container{background:transparent;border-top-color:#374151}.pagination-btn{padding:10px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;color:#2563eb;transition:all .2s ease;white-space:nowrap}[data-theme=dark] .pagination-btn{background:#1f2937;border-color:#374151;color:#60a5fa}.pagination-btn:hover:not(:disabled){background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 2px 8px #2563eb26}[data-theme=dark] .pagination-btn:hover:not(:disabled){background:#2563eb;border-color:#2563eb;box-shadow:0 2px 8px #2563eb40}.pagination-btn:disabled{opacity:.5;cursor:not-allowed;background:#f3f4f6;color:#9ca3af}[data-theme=dark] .pagination-btn:disabled{background:#111827;color:#6b7280}.pagination-info{display:flex;align-items:center;gap:16px;font-size:14px;color:#6b7280;font-weight:600}[data-theme=dark] .pagination-info{color:#9ca3af}.pagination-count{padding-left:16px;border-left:1px solid #e5e7eb}[data-theme=dark] .pagination-count{border-left-color:#374151}
