@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)}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}*{box-sizing:border-box;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.navbar{position:sticky;width:100%;top:0;z-index:999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid;box-shadow:0 1px 3px #00000014;contain:layout style;isolation:auto;overflow:visible}.navbar.light{background:#fafbfcf2;border-color:#d0d7de}.navbar.dark{background:#0d1117f2;border-color:#30363d}.navbar .container{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem;height:64px;position:relative}.logo{display:flex;align-items:center;gap:10px;cursor:pointer;text-decoration:none;padding:6px 10px;border-radius:6px;transition:all .2s ease;flex-shrink:0}.navbar.light .logo:hover{background:#0000000d}.navbar.dark .logo:hover{background:#ffffff0d}.logo p{background:linear-gradient(135deg,#58a6ff,#79c0ff);color:#fff;padding:6px;border-radius:5px;font-size:16px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;flex-shrink:0}.logo h1{font-size:16px;letter-spacing:-.3px;font-weight:700;margin:0;line-height:1.2}.navbar.light .logo h1{color:#24292f}.navbar.dark .logo h1{color:#e6edf3}.logo h1 span{display:block;font-size:9px;font-weight:400;letter-spacing:.2px;line-height:1.1;margin-top:1px;opacity:.6}.navbar .links{display:flex;align-items:center;gap:32px;list-style:none;padding:0;margin:0;flex:1;justify-content:center}.navbar .links li{list-style:none}.navbar .links a{font-size:14px;font-weight:500;cursor:pointer;text-decoration:none;position:relative;padding:6px 0;transition:color .2s ease}.navbar.light .links a{color:#424a4f}.navbar.dark .links a{color:#8b949e}.navbar .links a:hover{color:#58a6ff}.navbar .links a:after{content:"";position:absolute;bottom:-2px;left:0;width:0;height:2px;background:#58a6ff;transition:width .2s ease}.links a:hover:after,.links a.active:after{width:100%}.links a.active{color:#58a6ff;font-weight:600}.theme-toggle{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:6px;border:1px solid;background:transparent;cursor:pointer;font-size:16px;transition:all .2s ease;padding:0}.navbar.light .theme-toggle{border-color:#d0d7de;color:#424a4f}.navbar.dark .theme-toggle{border-color:#30363d;color:#8b949e}.theme-toggle:hover{border-color:#58a6ff;background:#58a6ff14;color:#58a6ff;transform:rotate(15deg)}.navbar .icons{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;pointer-events:auto}.coins{display:flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid;border-radius:6px;cursor:pointer;transition:all .2s ease}.navbar.light .coins{border-color:#d0d7de;background:#00000005}.navbar.dark .coins{border-color:#30363d;background:#58a6ff0d}.coins:hover{border-color:#f59e0b;box-shadow:0 2px 8px #f59e0b1f}.coins .coins-count{text-align:center;border-radius:4px;padding:3px 6px;font-size:12px;font-weight:700;min-width:28px}.navbar.light .coins .coins-count{background:#fff;color:#24292f}.navbar.dark .coins .coins-count{background:#0003;color:#e6edf3}.coins .coin_svg{background:#f59e0b;color:#fff;padding:3px 6px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:14px}.coin-btn-light{border-color:#d0d7de!important;color:#24292f!important}.coin-btn-light:hover{background:#0000000d!important;border-color:#38a169!important;color:#38a169!important}.coin-btn-dark{border-color:#30363d!important;color:#e6edf3!important}.coin-btn-dark:hover{background:#38a1691a!important;border-color:#38a169!important;color:#38a169!important}.coins-section{display:flex;align-items:center;gap:8px}.coins-display-btn{width:32px;height:32px;border-radius:6px;border:1px solid;background:transparent;cursor:pointer;font-weight:700;font-size:18px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.navbar.light .coins-display-btn{border-color:#d0d7de;color:#24292f}.navbar.light .coins-display-btn:hover{background:#0000000d;border-color:#38a169;color:#38a169}.navbar.dark .coins-display-btn{border-color:#30363d;color:#e6edf3}.navbar.dark .coins-display-btn:hover{background:#38a1691a;border-color:#38a169;color:#38a169}.coin-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem;overflow-y:auto}.coin-modal{background:#fff;border-radius:12px;padding:0;width:100%;max-width:380px;box-shadow:0 20px 60px #0000004d;overflow:hidden;animation:slideUp .3s cubic-bezier(.4,0,.2,1);flex-shrink:0}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.navbar.dark .coin-modal{background:#2d3748}.coin-modal-header{padding:1.5rem;border-bottom:1px solid #f0f4f8;display:flex;align-items:center;justify-content:space-between;gap:1rem}.navbar.dark .coin-modal-header{border-bottom-color:#3f4959}.coin-modal h3{margin:0;font-size:1.15rem;font-weight:700;color:#1a202c;letter-spacing:-.15px;flex:1}.navbar.dark .coin-modal h3{color:#f7fafc}.coin-modal-close{background:none;border:none;font-size:1.5rem;color:#64748b;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;border-radius:6px}.coin-modal-close:hover{background:#f1f5f9;color:#1a202c}.navbar.dark .coin-modal-close{color:#9ca3af}.navbar.dark .coin-modal-close:hover{background:#3f4959;color:#f7fafc}.coin-modal-description{margin:0;padding:1rem 1.5rem;font-size:.9rem;color:#64748b;font-weight:500}.navbar.dark .coin-modal-description{color:#cbd5e0}.coin-modal input{width:100%;padding:.8rem 1.5rem;border:none;font-size:.95rem;margin:0;transition:all .2s ease;background:#fff;color:#1a202c;box-sizing:border-box}.coin-modal input::placeholder{color:#a0aec0}.navbar.dark .coin-modal input{background:#1a202c;color:#f7fafc}.navbar.dark .coin-modal input::placeholder{color:#64748b}.coin-modal input:focus{outline:none;background:#f8fafc;box-shadow:inset 0 0 0 2px #38a16933}.navbar.dark .coin-modal input:focus{background:#0f1419;box-shadow:inset 0 0 0 2px #38a1694d}.coin-error{color:#c53030;font-size:.75rem;margin:.625rem 1.5rem 0;display:flex;align-items:center;gap:.375rem}.navbar.dark .coin-error{color:#fc8181}.coin-modal-buttons{display:flex;gap:.625rem;justify-content:flex-end;padding:1.25rem 1.5rem;border-top:1px solid #f0f4f8}.navbar.dark .coin-modal-buttons{border-top-color:#3f4959}.coin-modal-btn-cancel,.coin-modal-btn-submit{padding:.65rem 1.25rem;border-radius:6px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s ease;border:none;white-space:nowrap}.coin-modal-btn-cancel{background:#f1f5f9;color:#64748b}.coin-modal-btn-cancel:hover:not(:disabled){background:#e2e8f0;color:#1a202c}.navbar.dark .coin-modal-btn-cancel{background:#3f4959;color:#cbd5e0}.navbar.dark .coin-modal-btn-cancel:hover:not(:disabled){background:#4a5568;color:#f7fafc}.coin-modal-btn-submit{background:linear-gradient(135deg,#38a169,#2f855a);color:#fff;box-shadow:0 2px 4px #38a16933}.coin-modal-btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#2f855a,#22543d);box-shadow:0 4px 12px #38a16940;transform:translateY(-1px)}.coin-modal-btn-submit:active:not(:disabled){transform:translateY(0)}.coin-modal button:disabled{opacity:.5;cursor:not-allowed}.navbar .icons .userIcon{width:36px;height:36px;padding:2px;border-radius:6px;cursor:pointer;border:1px solid;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .2s ease;flex-shrink:0;position:relative;z-index:101;user-select:none;-webkit-user-select:none;pointer-events:auto!important;min-width:36px}.navbar.light .userIcon{border-color:#d0d7de;background:#fff}.navbar.dark .userIcon{border-color:#30363d;background:#1e293b80}.userIcon:hover{border-color:#58a6ff;box-shadow:0 0 8px #58a6ff33}.userIcon img{width:100%;height:100%;object-fit:cover;pointer-events:none}.btnssubmitions{padding:6px 14px!important;border-radius:6px!important;cursor:pointer;font-weight:600!important;font-size:12px!important;letter-spacing:.2px!important;transition:all .2s ease!important;border:none!important;display:flex;align-items:center;gap:6px}.btnssubmitions:nth-child(1){background:linear-gradient(135deg,#58a6ff,#79c0ff)!important;color:#fff!important}.btnssubmitions:nth-child(1):hover{transform:translateY(-1px);box-shadow:0 3px 10px #58a6ff4d!important}.btnssubmitions:nth-child(2){background:transparent!important;color:#58a6ff!important;border:1.5px solid #58a6ff!important}.btnssubmitions:nth-child(2):hover{background:#58a6ff14!important;transform:translateY(-1px)}.profile-wrapper{display:flex;align-items:center}.profile-dropdown{position:fixed;width:260px;border:1px solid;border-radius:8px;box-shadow:0 8px 24px #00000026;padding:12px;animation:slideDown .2s ease forwards;z-index:99999}.navbar.light .profile-dropdown{background:#fff;border-color:#d0d7de}.navbar.dark .profile-dropdown{background:#0d1117;border-color:#30363d;box-shadow:0 8px 24px #00000040}.dropdown-close{position:absolute;top:6px;right:6px;width:30px;height:30px;padding:0;border:none;border-radius:6px;background:transparent;color:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;transition:all .2s ease}.navbar.light .dropdown-close{color:#424a4f}.navbar.dark .dropdown-close{color:#8b949e}.dropdown-close:hover{background:#58a6ff1a;color:#58a6ff}.dropdown-user-info{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid}.navbar.light .dropdown-user-info{border-color:#e6edf3}.navbar.dark .dropdown-user-info{border-color:#30363d}.dropdown-user-avatar{width:44px;height:44px;border-radius:6px;overflow:hidden;flex-shrink:0}.navbar.light .dropdown-user-avatar{background:#fafbfc}.navbar.dark .dropdown-user-avatar{background:#1e293b80}.dropdown-user-avatar img{width:100%;height:100%;object-fit:cover}.dropdown-user-info h3{margin:0;font-size:14px;font-weight:700}.navbar.light .dropdown-user-info h3{color:#24292f}.navbar.dark .dropdown-user-info h3{color:#e6edf3}.dropdown-item{display:flex;align-items:center;gap:10px;padding:8px 10px;margin:3px 0;cursor:pointer;font-size:13px;font-weight:500;border-radius:6px;transition:all .2s ease;text-decoration:none;border:none;background:transparent;width:100%;text-align:left}.navbar.light .dropdown-item{color:#424a4f}.navbar.dark .dropdown-item{color:#8b949e}.dropdown-item:hover{color:#58a6ff;padding-left:12px}.navbar.light .dropdown-item:hover{background:#58a6ff14}.navbar.dark .dropdown-item:hover{background:#58a6ff1a}.dropdown-item svg{font-size:16px;flex-shrink:0}.dropdown-item span{flex:1}.logout-btn:hover{color:#ef4444!important}.navbar.light .logout-btn:hover{background:#ef444414!important}.navbar.dark .logout-btn:hover{background:#ef44441a!important}@media(max-width:1024px){.navbar .container{padding:0 1.2rem;height:60px}.navbar .links{gap:24px;margin-left:32px}.navbar .links a{font-size:13px}.navbar .icons{gap:8px}}@media(max-width:768px){.navbar .container{padding:0 1rem;height:56px}.navbar .links{gap:16px;margin-left:24px}.navbar .links a{font-size:12px}.btnssubmitions{padding:5px 12px!important;font-size:11px!important}.userIcon{width:32px!important;height:32px!important}.coins{padding:5px 10px;gap:4px}.coins .coins-count{font-size:11px}.logo h1{font-size:14px}.logo p{width:32px;height:32px;font-size:14px}}@media(max-width:480px){.navbar .container{padding:0 .8rem;height:52px}.navbar .links{gap:12px;margin-left:16px}.navbar .links a{font-size:11px;padding:4px 0}.btnssubmitions{padding:4px 10px!important;font-size:10px!important}.userIcon{width:30px!important;height:30px!important}.coins{padding:4px 8px;gap:3px}.coins .coins-count{font-size:10px;min-width:24px}.logo h1{font-size:13px}.logo p{width:30px;height:30px;font-size:12px}.logo{gap:6px}.theme-toggle{width:32px;height:32px;font-size:14px}.coin-modal{max-width:90vw;width:calc(100% - 1rem)}.coin-modal-header{padding:1.25rem}.coin-modal h3{font-size:1.05rem}.coin-modal-description{padding:.875rem 1.25rem;font-size:.85rem}.coin-modal input{padding:.7rem 1.25rem;font-size:.9rem}.coin-error{margin:.5rem 1.25rem 0}.coin-modal-buttons{padding:1rem 1.25rem;gap:.5rem}.coin-modal-btn-cancel,.coin-modal-btn-submit{padding:.6rem 1rem;font-size:.8rem}}html,body{margin:0;padding:0;overflow-x:hidden}.problems-page{width:100%;min-height:100vh;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}.problems-page.light{background:#fafbfc;color:#24292f}.problems-page.dark{background:#0d1117;color:#e6edf3}.page-header{padding:1.5rem 2rem;border-bottom:1px solid;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.02) 100%);position:sticky;top:0;width:100%;z-index:100;flex-shrink:0}.problems-page.light .page-header{border-color:#d0d7de;background:linear-gradient(180deg,#fafbfcf2,#fafbfccc)}.problems-page.dark .page-header{border-color:#30363d;background:linear-gradient(180deg,#0d1117f2,#0d1117cc)}.header-wrapper{max-width:1300px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:2rem}.header-left{display:flex;align-items:center;gap:1rem;min-width:150px}.header-left h1{margin:0;font-size:1.6rem;font-weight:700;letter-spacing:-.3px}.count-badge{margin:0;padding:.4rem .8rem;background:#58a6ff1a;color:#58a6ff;border-radius:12px;font-size:.85rem;font-weight:600;white-space:nowrap}.problems-page.dark .count-badge{background:#58a6ff26}.header-right{display:flex;gap:.8rem;align-items:center;flex:1}.search-input{flex:1;min-width:220px;padding:.7rem 1rem;border:1px solid;border-radius:6px;background:transparent;color:inherit;font-size:.95rem;transition:all .2s ease}.problems-page.light .search-input{border-color:#d0d7de;background:#fff}.problems-page.dark .search-input{border-color:#30363d;background:#0d111780}.search-input:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.select-control{padding:.7rem .9rem;border:1px solid;border-radius:6px;background:transparent;color:inherit;font-size:.9rem;cursor:pointer;transition:all .2s ease;min-width:110px}.problems-page.light .select-control{border-color:#d0d7de;background:#fff}.problems-page.dark .select-control{border-color:#30363d;background:#0d111780}.select-control:focus{outline:none;border-color:#58a6ff}.content-wrapper{max-width:1300px;width:100%;margin:0 auto;padding:2rem;display:flex;flex-direction:column;gap:0;flex-shrink:0}.problems-list{display:flex;flex-direction:column;gap:.8rem;width:100%}.list-item{display:flex;align-items:center;gap:1.2rem;padding:1.2rem 1.5rem;border:1px solid;border-radius:8px;cursor:pointer;transition:all .2s ease}.problems-page.light .list-item{background:#fff;border-color:#d0d7de}.problems-page.dark .list-item{background:#161b22;border-color:#30363d}.list-item:hover{border-color:#58a6ff;box-shadow:0 3px 12px #58a6ff26}.problems-page.dark .list-item:hover{background:#1e293b66}.item-number{min-width:40px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#58a6ff1a;color:#58a6ff;border-radius:6px;font-weight:700;font-size:1rem;flex-shrink:0}.item-content{flex:1;display:flex;flex-direction:column;gap:.5rem}.item-name{margin:0;font-size:1rem;font-weight:600;line-height:1.4}.item-cats{display:flex;gap:.6rem;flex-wrap:wrap}.cat-label{display:inline-block;padding:.3rem .7rem;background:#58a6ff14;color:#58a6ff;border-radius:4px;font-size:.8rem;font-weight:500}.item-diff{padding:.5rem 1rem;border-radius:20px;font-weight:700;font-size:.8rem;white-space:nowrap;flex-shrink:0}.loading-state{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:5rem 2rem;gap:1rem;text-align:center;min-height:400px}.spinner{width:44px;height:44px;border:3px solid rgba(88,166,255,.2);border-top-color:#58a6ff;border-radius:50%;animation:spin .8s linear infinite}.loading-state p{font-size:.95rem;opacity:.6;margin:0}.empty-state{display:flex;justify-content:center;align-items:center;padding:5rem 2rem;font-size:1.05rem;opacity:.5;text-align:center;min-height:400px;width:100%}.pagination-compact{display:flex;justify-content:center;gap:.5rem;align-items:center;padding:1.5rem 1rem;border-top:1px solid;margin-top:2rem;flex-shrink:0;flex-wrap:wrap;width:100%;position:sticky;bottom:0;z-index:99}.problems-page.light .pagination-compact{border-color:#d0d7de;background:linear-gradient(180deg,#fafbfcf2,#fafbfcfa)}.problems-page.dark .pagination-compact{border-color:#30363d;background:linear-gradient(180deg,#0d1117f2,#0d1117fa)}.pg-btn{min-width:40px;height:40px;padding:.5rem .8rem;border:1px solid;background:transparent;border-radius:8px;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.problems-page.light .pg-btn{border-color:#d0d7de;color:#24292f}.problems-page.dark .pg-btn{border-color:#30363d;color:#e6edf3}.pg-btn:hover:not(:disabled){border-color:#58a6ff;color:#58a6ff;background:#58a6ff0d}.pg-btn.active{background:#58a6ff;border-color:#58a6ff;color:#fff}.pg-btn:disabled{opacity:.3;cursor:not-allowed}.pg-dots{opacity:.4;padding:0 .3rem}@media(max-width:1200px){.header-wrapper{gap:1.5rem}.content-wrapper{padding:1.5rem}}@media(max-width:768px){.page-header{padding:1.2rem 1rem}.header-wrapper{flex-direction:column;align-items:stretch;gap:1rem}.header-left{width:100%;justify-content:space-between}.header-right{width:100%;flex-direction:column}.search-input,.select-control{width:100%;min-width:unset}.list-item{padding:1rem;gap:1rem}.item-number{min-width:36px;width:36px;height:36px;font-size:.9rem}.item-name{font-size:.95rem}.item-diff{padding:.4rem .8rem;font-size:.75rem}.content-wrapper{padding:1rem}}@media(max-width:480px){.page-header{padding:1rem .8rem}.header-left h1{font-size:1.3rem}.pagination-compact{padding:1.2rem .5rem;gap:.4rem}.pg-btn{min-width:36px;height:36px;padding:.4rem .6rem;font-size:.8rem;border-radius:6px}.count-badge{padding:.3rem .6rem;font-size:.75rem}.header-right{gap:.6rem}.search-input{padding:.6rem .8rem;font-size:.85rem}.select-control{padding:.6rem .7rem;font-size:.8rem}.list-item{flex-direction:column;align-items:flex-start;padding:.9rem;gap:.8rem}.item-number{width:100%;justify-content:flex-start}.item-content{width:100%}.item-name{font-size:.9rem}.item-diff{width:100%;text-align:center;padding:.5rem}.cat-label{font-size:.7rem}.pg-btn{min-width:30px;height:30px;font-size:.75rem}.problems-list{gap:.6rem}}*{margin:0;padding:0;box-sizing:border-box;-webkit-backface-visibility:hidden;backface-visibility:hidden}html,body,#root{width:100%;height:100%;overflow:hidden;font-size:16px;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.app-root{width:100%;height:100%;background:#fafbfc;display:flex;flex-direction:column;overflow:hidden}[data-theme=dark] .app-root{background:#0d1117}.app-container{display:flex;width:100%;height:100%;overflow:hidden;flex:1;gap:0}.panel-left{display:flex;flex-direction:column;background:#fafbfc;border-right:1px solid #d0d7de;overflow:hidden;flex-shrink:0;min-width:200px;max-width:80%;contain:layout style paint}[data-theme=dark] .panel-left{background:#0d1117;border-right-color:#30363d}.problem-scroll{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.problem-scroll::-webkit-scrollbar-thumb{background:#64748b4d;border-radius:3px}.problem-scroll::-webkit-scrollbar-thumb:hover{background:#64748b80}.problem-inner{padding:2rem;display:flex;flex-direction:column;gap:2rem}.problem-header{padding-bottom:1.5rem;border-bottom:2px solid #d0d7de}[data-theme=dark] .problem-header{border-bottom-color:#30363d}.title-wrapper{display:flex;align-items:flex-start;gap:1rem}.problem-index{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;height:2.75rem;background:linear-gradient(135deg,#58a6ff,#3b82f6);color:#fff;border-radius:6px;font-weight:900;font-size:1.1rem;flex-shrink:0}.title-content{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.problem-header h1{font-size:1.75rem;font-weight:700;color:#24292f;margin:0;line-height:1.3;word-break:break-word}[data-theme=dark] .problem-header h1{color:#e6edf3}.badge{padding:.5rem .9rem;border-radius:20px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#fff;white-space:nowrap}.badge-easy{background:#10b981}.badge-medium{background:#f59e0b}.badge-hard{background:#ef4444}.section{display:flex;flex-direction:column;gap:1rem}.section-title{font-size:1rem;font-weight:700;color:#24292f;margin:0 0 1rem;text-transform:uppercase;letter-spacing:.5px}[data-theme=dark] .section-title{color:#e6edf3}.description-text{font-size:1rem;line-height:1.8;color:#475569;font-weight:500;margin:0;word-break:break-word}[data-theme=dark] .description-text{color:#d0d7de}.examples-grid{display:flex;flex-direction:column;gap:1.25rem}.example-box{background:#f8fafc;border:1px solid #d0d7de;border-radius:8px;padding:1.25rem;display:flex;flex-direction:column;gap:1rem}[data-theme=dark] .example-box{background:#161b22;border-color:#30363d}.example-title{font-size:.95rem;font-weight:700;color:#24292f;margin:0;padding-bottom:.75rem;border-bottom:1px solid #d0d7de}[data-theme=dark] .example-title{color:#e6edf3;border-bottom-color:#30363d}.example-content{display:flex;flex-direction:column;gap:1rem}.example-item{display:flex;flex-direction:column;gap:.5rem}.example-label{font-size:.8rem;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}[data-theme=dark] .example-label{color:#9ca3af}.example-code{background:#f3f4f6;color:#1f2937;padding:.875rem 1rem;border-radius:6px;border:1px solid #e5e7eb;font-family:Monaco,Fira Code,monospace;font-size:.85rem;font-weight:500;line-height:1.6;white-space:pre-wrap;word-break:break-word;margin:0;overflow-x:auto;max-height:150px;overflow-y:auto}[data-theme=dark] .example-code{background:#0d1117;color:#79c0ff;border-color:#30363d}.skeleton-container{padding:2rem;display:flex;flex-direction:column;gap:1rem;flex:1}.skeleton-line{height:1rem;background:linear-gradient(90deg,#e5e7eb,#f3f4f6,#e5e7eb);background-size:200% 100%;border-radius:4px;animation:shimmer 2s infinite}[data-theme=dark] .skeleton-line{background:linear-gradient(90deg,#30363d,#424a52,#30363d)}.divider-v{width:4px;cursor:col-resize;background:#e2e8f0;transition:all .3s cubic-bezier(.4,0,.2,1);flex-shrink:0;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;justify-content:center}.divider-v:before{content:"";position:absolute;width:1px;height:40%;background:linear-gradient(180deg,transparent,#38a169,transparent);opacity:.3}.divider-v:hover{background:#cbd5e0}.divider-v:hover:before{opacity:.6;box-shadow:0 0 8px #38a1694d}.divider-v.active{background:#38a169}.divider-v.active:before{opacity:1;box-shadow:0 0 12px #38a16966}[data-theme=dark] .divider-v{background:#4a5568}[data-theme=dark] .divider-v:hover{background:#718096}[data-theme=dark] .divider-v.active{background:#38a169}.divider-h{height:4px;cursor:row-resize;background:#e2e8f0;transition:all .3s cubic-bezier(.4,0,.2,1);flex-shrink:0;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;justify-content:center}.divider-h:before{content:"";position:absolute;width:40%;height:1px;background:linear-gradient(90deg,transparent,#38a169,transparent);opacity:.3}.divider-h:hover{background:#cbd5e0}.divider-h:hover:before{opacity:.6;box-shadow:0 0 8px #38a1694d}.divider-h.active{background:#38a169}.divider-h.active:before{opacity:1;box-shadow:0 0 12px #38a16966}[data-theme=dark] .divider-h{background:#4a5568}[data-theme=dark] .divider-h:hover{background:#718096}[data-theme=dark] .divider-h.active{background:#38a169}.panel-right{display:flex;flex-direction:column;flex:1;overflow:hidden;background:#fafbfc}[data-theme=dark] .panel-right{background:#0d1117}.panel-top{display:flex;overflow:hidden;flex-shrink:0;min-height:0}.editor-container{flex:1;overflow:hidden;background:#fafbfc;min-width:0}.panel-bottom{display:flex;flex-direction:column;flex:1;overflow:hidden;background:#fafbfc;border-top:1px solid #d0d7de;min-height:0}[data-theme=dark] .panel-bottom{background:#0d1117;border-top-color:#30363d}.bottom-tabs{display:flex;gap:0;background:#f8fafc;border-bottom:1px solid #d0d7de;flex-shrink:0;overflow-x:auto;overflow-y:hidden;padding:0;margin:0}[data-theme=dark] .bottom-tabs{background:#161b22;border-bottom-color:#30363d}.tab-item{display:flex;align-items:center;gap:.6rem;padding:.85rem 1.25rem;background:transparent;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:.875rem;font-weight:600;color:#6b7280;text-transform:capitalize;white-space:nowrap;transition:all .25s ease;flex-shrink:0;position:relative}[data-theme=dark] .tab-item{color:#9ca3af}.tab-item:hover{color:#24292f;background:#58a6ff0d}[data-theme=dark] .tab-item:hover{color:#d0d7de;background:#58a6ff1a}.tab-item.active{color:#58a6ff;border-bottom-color:#58a6ff;background:#58a6ff14}[data-theme=dark] .tab-item.active{color:#79c0ff;border-bottom-color:#58a6ff;background:#58a6ff1a}.tab-icon{font-size:1rem;display:inline-flex;align-items:center}.tab-item.ai-tab{margin-left:auto}.tab-content{flex:1;overflow:hidden;display:flex;flex-direction:column;min-height:0}.test-section{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;gap:0}.test-list{display:flex;gap:.5rem;padding:1rem 1.25rem;border-bottom:1px solid #d0d7de;flex-shrink:0;background:#fff;overflow-x:auto;overflow-y:hidden}[data-theme=dark] .test-list{background:#161b22;border-bottom-color:#30363d}.test-item{padding:.6rem 1rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:700;color:#6b7280;white-space:nowrap;transition:all .2s ease;flex-shrink:0}[data-theme=dark] .test-item{background:#0d1117;border-color:#30363d;color:#9ca3af}.test-item:hover{background:#e5e7eb;color:#24292f;border-color:#d1d5db}[data-theme=dark] .test-item:hover{background:#58a6ff1a;border-color:#58a6ff;color:#79c0ff}.test-item.active{background:#fff;border-color:#58a6ff;color:#24292f;border-bottom:2px solid #58a6ff;box-shadow:0 1px 3px #58a6ff1a}[data-theme=dark] .test-item.active{background:#161b22;border-color:#58a6ff;color:#79c0ff;border-bottom:2px solid #58a6ff}.test-number{font-weight:700}.test-viewer{flex:1;overflow-y:auto;padding:1.5rem 1.75rem;display:flex;flex-direction:column;gap:2rem;min-height:0}.test-content-block{display:flex;flex-direction:column;gap:.6rem}.content-header{display:flex;align-items:center;gap:.5rem}.content-header h3{font-size:.85rem;font-weight:700;color:#6b7280;margin:0;text-transform:uppercase;letter-spacing:.5px}[data-theme=dark] .content-header h3{color:#9ca3af}.content-code{background:#f3f4f6;color:#1f2937;padding:1rem 1.1rem;border:1px solid #e5e7eb;border-radius:6px;font-family:Monaco,Fira Code,monospace;font-size:.85rem;font-weight:500;line-height:1.6;white-space:pre-wrap;word-break:break-word;margin:0;overflow-x:auto;max-height:200px;overflow-y:auto}[data-theme=dark] .content-code{background:#0d1117;color:#79c0ff;border-color:#30363d}.content-code::-webkit-scrollbar{width:6px;height:6px}.content-code::-webkit-scrollbar-thumb{background:#64748b4d;border-radius:3px}.content-code::-webkit-scrollbar-thumb:hover{background:#64748b80}.results-section{flex:1;overflow:hidden;display:flex;flex-direction:column;min-height:0}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:1rem;color:#6b7280}.spinner{width:2.5rem;height:2.5rem;border:3px solid #d0d7de;border-top-color:#58a6ff;border-radius:50%;animation:spin 1s linear infinite}[data-theme=dark] .spinner{border-color:#30363d;border-top-color:#58a6ff}@keyframes spin{to{transform:rotate(360deg)}}.result-display{flex:1;overflow-y:auto;padding:1.5rem 1.75rem;display:flex;flex-direction:column;gap:1.5rem;min-height:0}.success-state{display:flex;flex-direction:column;gap:1.25rem;background:linear-gradient(135deg,#10b9810d,#3b82f60d);border:1px solid rgba(16,185,129,.2);border-radius:8px;padding:1.5rem}[data-theme=dark] .success-state{background:linear-gradient(135deg,#10b9811a,#3b82f60d);border-color:#10b9814d}.success-header{display:flex;align-items:flex-start;gap:1rem}.success-icon{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#10b981;color:#fff;border-radius:50%;font-size:1.5rem;font-weight:700;flex-shrink:0}.success-text h3{font-size:1.1rem;font-weight:700;color:#047857;margin:0 0 .25rem}[data-theme=dark] .success-text h3{color:#6ee7b7}.success-text p{font-size:.9rem;color:#6b7280;margin:0}[data-theme=dark] .success-text p{color:#d0d7de}.success-meta{display:flex;gap:1rem;flex-wrap:wrap}.meta-item{display:flex;gap:.5rem;align-items:center}.meta-label{font-size:.8rem;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px}.meta-value{font-size:.9rem;font-weight:700;color:#1f2937}[data-theme=dark] .meta-value{color:#d0d7de}.success-celebration{font-size:1rem;font-weight:700;color:#047857;text-align:center;padding:1rem;background:#10b9811a;border-radius:6px}[data-theme=dark] .success-celebration{color:#6ee7b7;background:#10b98126}.error-state{display:flex;flex-direction:column;gap:1rem;background:linear-gradient(135deg,#ef44440d,#f43f5e0d);border:1px solid rgba(239,68,68,.2);border-radius:8px;padding:1.5rem}[data-theme=dark] .error-state{background:linear-gradient(135deg,#ef44441a,#f43f5e0d);border-color:#ef44444d}.error-header{display:flex;align-items:flex-start;gap:1rem}.error-icon{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#ef4444;color:#fff;border-radius:50%;font-size:1.5rem;font-weight:700;flex-shrink:0}.error-text h3{font-size:1.1rem;font-weight:700;color:#991b1b;margin:0 0 .25rem}[data-theme=dark] .error-text h3{color:#fca5a5}.error-status{font-size:.9rem;color:#6b7280;margin:0}[data-theme=dark] .error-status{color:#d0d7de}.error-meta{display:flex;gap:1rem;padding-top:.5rem;border-top:1px solid rgba(239,68,68,.2)}[data-theme=dark] .error-meta{border-top-color:#ef44444d}.comparison-view{display:flex;flex-direction:column;gap:1.5rem}.comparison-block{display:flex;flex-direction:column;gap:.6rem}.comparison-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:768px){.comparison-row{grid-template-columns:1fr}}.block-header{font-size:.85rem;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin:0}[data-theme=dark] .block-header{color:#9ca3af}.input-block .block-header{color:#6b7280}.block-content{background:#f3f4f6;color:#1f2937;padding:1rem 1.1rem;border:1px solid #e5e7eb;border-radius:6px;font-family:Monaco,Fira Code,monospace;font-size:.85rem;font-weight:500;line-height:1.6;white-space:pre-wrap;word-break:break-word;margin:0;overflow-x:auto;max-height:200px;overflow-y:auto}[data-theme=dark] .block-content{background:#0d1117;color:#d0d7db;border-color:#30363d}.block-content::-webkit-scrollbar{width:6px;height:6px}.block-content::-webkit-scrollbar-thumb{background:#64748b4d;border-radius:3px}.block-content::-webkit-scrollbar-thumb:hover{background:#64748b80}.wrong-block .block-header{color:#991b1b}[data-theme=dark] .wrong-block .block-header{color:#fca5a5}.wrong-block .block-content{background:#fee2e2;color:#7f1d1d;border:1px solid #fecaca;border-left:3px solid #dc2626}[data-theme=dark] .wrong-block .block-content{background:#7f1d1d;color:#fca5a5;border-color:#991b1b;border-left-color:#dc2626}.correct-block .block-header{color:#166534}[data-theme=dark] .correct-block .block-header{color:#86efac}.correct-block .block-content{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;border-left:3px solid #16a34a}[data-theme=dark] .correct-block .block-content{background:#052e16;color:#86efac;border-color:#166534;border-left-color:#16a34a}.empty-state{display:flex;align-items:center;justify-content:center;flex:1;color:#9ca3af;font-size:.95rem;font-weight:500;text-align:center;padding:2rem;min-height:0}[data-theme=dark] .empty-state{color:#6b7280}.app-error{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#fafbfc}[data-theme=dark] .app-error{background:#0d1117}.error-box{background:linear-gradient(135deg,#fee2e2,#fef2f2);border-left:4px solid #ef4444;padding:2rem;border-radius:8px;text-align:center;max-width:500px}[data-theme=dark] .error-box{background:linear-gradient(135deg,#7f1d1d,#5f1d1d);border-left-color:#dc2626}.error-box p{color:#ef4444;font-weight:600;margin:0 0 1rem;font-size:1rem;word-break:break-word}[data-theme=dark] .error-box p{color:#fca5a5}.error-box button{padding:.75rem 1.5rem;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:700;transition:all .2s ease;font-size:.95rem}.error-box button:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 2px 8px #ef44444d}@media(max-width:1024px){.app-container{flex-direction:column}.panel-left{border-right:none;border-bottom:1px solid #d0d7de;width:100%!important;max-width:100%;height:auto;min-height:250px}[data-theme=dark] .panel-left{border-bottom-color:#30363d}.divider-v{display:none}.panel-top{height:auto!important;min-height:300px}}@media(max-width:768px){.problem-inner{padding:1.5rem;gap:1.5rem}.problem-header{padding-bottom:1rem}.title-wrapper{gap:.75rem}.problem-index{min-width:2.5rem;height:2.5rem;font-size:1rem}.problem-header h1{font-size:1.5rem}.tab-item{padding:.7rem 1rem;font-size:.8rem}.test-item{padding:.5rem .75rem;font-size:.75rem}.test-list{padding:.75rem 1rem}.test-viewer{padding:1.25rem 1.5rem;gap:1.5rem}.result-display{padding:1.25rem 1.5rem;gap:1rem}.comparison-row{grid-template-columns:1fr}}@media(max-width:480px){.problem-inner{padding:1rem;gap:1rem}.problem-header h1{font-size:1.25rem}.badge{font-size:.65rem;padding:.4rem .7rem}.tab-item{padding:.6rem .8rem;font-size:.75rem;gap:.4rem}.tab-icon{font-size:.9rem}.test-item{padding:.4rem .6rem;font-size:.7rem}}.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:#0d1117}.editor-controls{display:flex;flex-direction:row;gap:12px;padding:16px;background:#f8fafc;border-bottom:1px solid #d0d7de;align-items:center;justify-content:flex-start}[data-theme=dark] .editor-controls{background:#161b22;border-bottom:1px solid #30363d}.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,#fafbfc,#fafbfc);border:2px solid #d0d7de;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;color:#24292f;display:flex;align-items:center;justify-content:space-between;gap:8px;transition:all .3s ease}[data-theme=dark] .language-button{background:#161b22;border:2px solid #30363d;color:#d0d7de}.language-button:hover{background:#fafbfc;border-color:#2563eb;box-shadow:0 1px 2px #0000000d;transform:translateY(-1px)}[data-theme=dark] .language-button:hover{background:#161b22;border-color:#3b82f6;box-shadow:0 1px 2px #00000080}.language-button:active{transform:translateY(0)}.language-button.open{background:#fafbfc;border-color:#2563eb;box-shadow:0 4px 12px #2563eb33}[data-theme=dark] .language-button.open{background:#161b22;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:#fafbfc;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:#0d1117;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:#24292f;transition:all .2s ease;position:relative}[data-theme=dark] .language-option{color:#d0d7de}.language-option:hover{background:#f8fafc;color:#2563eb;padding-left:18px}[data-theme=dark] .language-option:hover{background:#161b22;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,#0d1117,#0d1117);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 #d0d7de;border-radius:6px;cursor:pointer;font-size:16px;color:#24292f;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:#161b22;border:1px solid #30363d;color:#d0d7de}.action-btn:hover{background:#d0d7de;border-color:#2563eb;color:#2563eb;transform:translateY(-1px);box-shadow:0 2px 6px #2563eb1a}[data-theme=dark] .action-btn:hover{background:#30363d;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 #d0d7de;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600;color:#24292f;transition:all .2s ease;min-width:70px;text-align:center}[data-theme=dark] .font-size-select{background:#161b22;border:1px solid #30363d;color:#d0d7de}.font-size-select:hover{border-color:#2563eb;background:#fafbfc;box-shadow:0 2px 6px #2563eb1a}[data-theme=dark] .font-size-select:hover{border-color:#3b82f6;background:#30363d;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,#d0d7de,#d0d7de);cursor:not-allowed;opacity:.6;box-shadow:none}.reset-btn{padding:8px 10px;background:#f8fafc;border:1px solid #d0d7de;border-radius:6px;cursor:pointer;font-size:16px;color:#24292f;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:#161b22;border:1px solid #30363d;color:#d0d7de}.reset-btn:hover{background:#d0d7de;border-color:#f59e0b;color:#f59e0b;transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b33}[data-theme=dark] .reset-btn:hover{background:#30363d;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 #d0d7de;border-radius:6px;cursor:pointer;font-size:16px;color:#24292f;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:#161b22;border:1px solid #30363d;color:#d0d7de}.theme-toggle-btn:hover{background:#fbbf24;border-color:#f59e0b;color:#fafbfc;transform:translateY(-1px);box-shadow:0 2px 6px #f59e0b33}[data-theme=dark] .theme-toggle-btn:hover{background:#30363d;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:#0d1117}.editor-container .monaco-editor{background:#faf8f8!important;min-height:100%}[data-theme=dark] .editor-container .monaco-editor{background:#0d1117!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}}.ai-solution-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:aiOverlayFadeIn .3s ease-in}@keyframes aiOverlayFadeIn{0%{opacity:0}to{opacity:1}}.ai-solution-modal{width:90%;max-width:850px;max-height:80vh;display:flex;flex-direction:column;border-radius:10px;background:#fafbfc;box-shadow:0 10px 40px #00000026;overflow:hidden;animation:aiModalSlideUp .3s ease-out}[data-theme=dark] .ai-solution-modal{background:#0d1117;box-shadow:0 10px 40px #0006}@keyframes aiModalSlideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.ai-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #d0d7de;flex-shrink:0}[data-theme=dark] .ai-header{border-bottom-color:#30363d}.ai-title{margin:0;font-size:18px;font-weight:700;color:#24292f;letter-spacing:-.3px}[data-theme=dark] .ai-title{color:#d0d7de}.ai-close-btn{background:transparent;border:none;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:6px;border-radius:6px;transition:all .2s ease;flex-shrink:0}.ai-close-btn:hover{background:#f1f5f9;color:#24292f}[data-theme=dark] .ai-close-btn:hover{background:#8b5cf61a;color:#d0d7de}.ai-body{flex:1;overflow-y:auto;padding:24px;color:#475569;line-height:1.6}[data-theme=dark] .ai-body{color:#d0d7de}.ai-loading-state,.ai-error-state,.ai-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px 20px;text-align:center}.ai-loading-state{display:flex;flex-direction:column;align-items:center;gap:16px;padding:50px 30px}.ai-spinner{width:44px;height:44px;border:3px solid #d0d7de;border-top-color:#3b82f6;border-radius:50%;animation:aiSpinnerRotate 1s linear infinite}[data-theme=dark] .ai-spinner{border-color:#30363d;border-top-color:#60a5fa}@keyframes aiSpinnerRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ai-loading-text{margin:0;font-size:16px;font-weight:600;color:#24292f}[data-theme=dark] .ai-loading-text{color:#d0d7de}.ai-loading-hint{margin:0;font-size:13px;color:#94a3b8}.ai-error-state{display:flex;flex-direction:column;align-items:center;gap:18px;padding:45px 30px}.ai-error-text{margin:0;font-size:15px;color:#dc2626;font-weight:600}[data-theme=dark] .ai-error-text{color:#fca5a5}.ai-retry-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:10px 24px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #3b82f640}.ai-retry-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.ai-retry-btn:active{transform:translateY(0)}.ai-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:50px 30px;text-align:center}.ai-empty-icon-box{width:70px;height:70px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border-radius:50%;animation:aiEmptyBounce 2s ease-in-out infinite}[data-theme=dark] .ai-empty-icon-box{background:linear-gradient(135deg,#3b82f633,#6366f133)}@keyframes aiEmptyBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.ai-icon-graphic{width:48px;height:48px;position:relative;display:flex;align-items:center;justify-content:center}.ai-icon-graphic:before{content:"";position:absolute;width:48px;height:48px;background:radial-gradient(circle at 30% 30%,#3b82f64d,#3b82f60d);border:2px solid #3b82f6;border-radius:50%;animation:aiIconPulse 2s ease-in-out infinite}@keyframes aiIconPulse{0%,to{transform:scale(1);opacity:.6}50%{transform:scale(1.1);opacity:1}}.ai-empty-title{margin:0;font-size:20px;font-weight:700;color:#24292f;letter-spacing:-.3px}[data-theme=dark] .ai-empty-title{color:#d0d7de}.ai-empty-desc{margin:0;font-size:15px;color:#64748b;max-width:380px;line-height:1.6}[data-theme=dark] .ai-empty-desc{color:#d0d7de}.ai-ask-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:12px 32px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:8px;box-shadow:0 2px 8px #3b82f640;letter-spacing:.3px}.ai-ask-btn:hover{transform:translateY(-3px);box-shadow:0 8px 20px #3b82f659;background:linear-gradient(135deg,#2563eb,#1d4ed8)}.ai-ask-btn:active{transform:translateY(-1px)}.ai-solution-text{animation:aiSolutionFadeIn .4s ease-in}@keyframes aiSolutionFadeIn{0%{opacity:0}to{opacity:1}}.ai-formatted{display:flex;flex-direction:column;gap:12px}.ai-formatted>.ai-code-block{margin-top:8px;margin-bottom:8px}.ai-formatted>.ai-h1{margin-top:16px}.ai-formatted>.ai-h2{margin-top:12px}.ai-formatted>.ai-h3{margin-top:8px}.ai-h1{margin:0;padding:8px 0;font-size:18px;font-weight:700;color:#24292f;border-bottom:2px solid #3b82f6}[data-theme=dark] .ai-h1{color:#d0d7de;border-bottom-color:#60a5fa}.ai-h2{margin:0;padding:4px 0;font-size:16px;font-weight:700;color:#24292f}[data-theme=dark] .ai-h2{color:#d0d7de}.ai-h3{margin:0;font-size:14px;font-weight:600;color:#24292f;text-transform:uppercase;letter-spacing:.3px}[data-theme=dark] .ai-h3{color:#d0d7de}.ai-p{margin:0;font-size:14px;line-height:1.7;color:#475569;white-space:pre-wrap;word-break:break-word}[data-theme=dark] .ai-p{color:#d0d7de}.ai-code-block{margin:0;padding:16px;background:#f1f5f9;border-left:4px solid #3b82f6;border-radius:6px;overflow-x:auto;font-family:Monaco,Menlo,Courier New,monospace;font-size:13px;line-height:1.6;color:#24292f;box-shadow:0 2px 4px #0000000d}[data-theme=dark] .ai-code-block{background:#1e293b80;border-left-color:#60a5fa;color:#d0d7de;box-shadow:0 2px 4px #0003}.ai-code-block code{font-family:Monaco,Menlo,Courier New,monospace;font-size:13px;letter-spacing:0px}.ai-space{height:6px}.ai-divider{height:1px;background:#d0d7de;margin:8px 0}[data-theme=dark] .ai-divider{background:#475569}.ai-body::-webkit-scrollbar{width:6px}.ai-body::-webkit-scrollbar-track{background:transparent}.ai-body::-webkit-scrollbar-thumb{background:#d0d7de;border-radius:3px}.ai-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}[data-theme=dark] .ai-body::-webkit-scrollbar-thumb{background:#475569}[data-theme=dark] .ai-body::-webkit-scrollbar-thumb:hover{background:#64748b}@media(max-width:768px){.ai-solution-modal{width:95%;max-height:90vh}.ai-title{font-size:16px}.ai-body{padding:16px;font-size:13px}.ai-solution-text h1{font-size:16px}.ai-solution-text h2{font-size:14px}.ai-solution-text p{font-size:13px}}.register-page{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:#fafbfc}[data-theme=dark] .register-page{background:#0d1117}.register-container{width:100%;max-width:450px}.register-card{background:#fafbfc;border-radius:10px;box-shadow:0 4px 20px #00000014;overflow:hidden}[data-theme=dark] .register-card{background:#0d1117;box-shadow:0 4px 20px #0000004d}.register-header{padding:32px 24px 24px;border-bottom:1px solid #d0d7de}[data-theme=dark] .register-header{border-bottom-color:#24292f}.register-header h1{margin:0;font-size:24px;font-weight:700;color:#24292f;letter-spacing:-.5px}[data-theme=dark] .register-header h1{color:#d0d7de}.register-form{padding:24px;display:flex;flex-direction:column;gap:16px}.form-hint{display:block;font-size:12px;color:#94a3b8;margin-top:2px}[data-theme=dark] .form-hint{color:#6b7280}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}.btn-secondary{background:#f1f5f9;color:#24292f;border:1px solid #d0d7de}[data-theme=dark] .btn-secondary{background:#24292f;color:#d0d7de;border-color:#30363d}.btn-secondary:hover:not(:disabled){background:#d0d7de}[data-theme=dark] .btn-secondary:hover:not(:disabled){background:#30363d}.register-footer{display:flex;align-items:center;justify-content:center;gap:6px;padding-top:8px;border-top:1px solid #d0d7de;margin-top:8px;font-size:14px;color:#64748b}[data-theme=dark] .register-footer{border-top-color:#24292f;color:#a1a5b4}.register-footer a{color:#58a6ff;text-decoration:none;font-weight:600;transition:all .2s ease}[data-theme=dark] .register-footer a{color:#79c0ff}.register-footer a:hover{color:#58a6ff}[data-theme=dark] .register-footer a:hover{color:#a8d5ff}@media(max-width:640px){.register-card{border-radius:8px}.register-header{padding:24px 16px 16px}.register-header h1{font-size:20px}.register-form{padding:16px}.form-actions{grid-template-columns:1fr}.btn{padding:12px 16px}}.login-page{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:#fafbfc}[data-theme=dark] .login-page{background:#0d1117}.login-container{width:100%;max-width:450px}.login-card{background:#fafbfc;border-radius:10px;box-shadow:0 4px 20px #00000014;overflow:hidden}[data-theme=dark] .login-card{background:#0d1117;box-shadow:0 4px 20px #0000004d}.login-header{padding:32px 24px 24px;border-bottom:1px solid #d0d7de}[data-theme=dark] .login-header{border-bottom-color:#24292f}.login-header h1{margin:0;font-size:24px;font-weight:700;color:#24292f;letter-spacing:-.5px}[data-theme=dark] .login-header h1{color:#d0d7de}.login-form{padding:24px;display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:13px;font-weight:600;color:#24292f;text-transform:uppercase;letter-spacing:.3px}[data-theme=dark] .form-group label{color:#d0d7de}.form-group input{padding:10px 12px;font-size:14px;border:1px solid #d0d7de;border-radius:6px;background:#fafbfc;color:#24292f;transition:all .2s ease;font-family:inherit}[data-theme=dark] .form-group input{background:#252d45;border-color:#24292f;color:#d0d7de}.form-group input:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}[data-theme=dark] .form-group input:focus{box-shadow:0 0 0 3px #58a6ff33}.form-group input::placeholder{color:#a1a5b4}[data-theme=dark] .form-group input::placeholder{color:#6b7280}.form-group input:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}[data-theme=dark] .form-group input:disabled{background:#24292f;color:#6b7280}.password-wrapper{position:relative;display:flex;align-items:center}.toggle-password-btn{position:absolute;right:8px;background:none;border:none;color:#64748b;cursor:pointer;padding:6px 8px;font-size:12px;font-weight:500;transition:all .2s ease}[data-theme=dark] .toggle-password-btn{color:#a1a5b4}.toggle-password-btn:hover:not(:disabled){color:#24292f}[data-theme=dark] .toggle-password-btn:hover:not(:disabled){color:#d0d7de}.toggle-password-btn:disabled{cursor:not-allowed;opacity:.6}.btn{padding:10px 16px;font-size:14px;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;letter-spacing:.3px}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#58a6ff,#58a6ff);color:#fff;box-shadow:0 2px 8px #58a6ff4d}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #58a6ff66}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-full{width:100%;margin-top:8px}.login-footer{display:flex;align-items:center;justify-content:center;gap:6px;padding-top:8px;border-top:1px solid #d0d7de;margin-top:8px;font-size:14px;color:#64748b}[data-theme=dark] .login-footer{border-top-color:#24292f;color:#a1a5b4}.login-footer a{color:#58a6ff;text-decoration:none;font-weight:600;transition:all .2s ease}[data-theme=dark] .login-footer a{color:#79c0ff}.login-footer a:hover{color:#58a6ff}[data-theme=dark] .login-footer a:hover{color:#a8d5ff}@media(max-width:640px){.login-card{border-radius:8px}.login-header{padding:24px 16px 16px}.login-header h1{font-size:20px}.login-form{padding:16px}.btn{padding:12px 16px}}.profil-me{width:100%;min-height:100vh;background:#fafbfc;color:#24292f;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}.profil-me.dark{background:#0d1117;color:#e6edf3}.avatar-lines{flex-shrink:0;width:100%;background:linear-gradient(135deg,#fff,#fafbfc);padding:48px 32px;border-bottom:1px solid #d0d7de}.profil-me.dark .avatar-lines{background:linear-gradient(135deg,#0d1117,#161b22);border-bottom-color:#30363d}.avatar-lines .container{display:flex;align-items:center;gap:40px;max-width:1200px;margin:0 auto;width:100%}.avatar-box{position:relative;width:140px;height:140px;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #0000001f;flex-shrink:0}.profil-me.dark .avatar-box{box-shadow:0 4px 16px #0000004d}.avatar-img{width:100%;height:100%;object-fit:cover;background:#f1f5f9}.profil-me.dark .avatar-img{background:#30363d}.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:24px;margin-bottom:8px}.users-infos h2{color:#24292f;font-size:26px;font-weight:700;margin:0 0 8px}.profil-me.dark .users-infos h2{color:#e6edf3}.users-infos p{font-size:14px;color:#6b7280;margin:0}.profil-me.dark .users-infos p{color:#d0d7de}.profil-information{flex:1;width:100%;background:#fafbfc;padding:40px 32px;overflow-y:auto;overflow-x:hidden}.profil-me.dark .profil-information{background:#0d1117}.profil-information .container{max-width:1200px;margin:0 auto;width:100%;padding:0}.profile-tabs{display:flex;gap:4px;margin:0 0 24px;list-style:none;padding:0;border-bottom:2px solid #d0d7de;flex-wrap:wrap}.profil-me.dark .profile-tabs{border-bottom-color:#30363d}.profile-tabs li{padding:14px 22px;margin:0 0 -2px;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#6b7280;border:none;background:none;border-bottom:3px solid transparent;transition:all .3s ease;white-space:nowrap;position:relative}.profil-me.dark .profile-tabs li{color:#d0d7de}.profile-tabs li:hover{color:#24292f;background:#58a6ff0d}.profil-me.dark .profile-tabs li:hover{color:#e6edf3;background:#58a6ff14}.profile-tabs li.active{color:#58a6ff;border-bottom-color:#58a6ff;background:#58a6ff0d}.profil-me.dark .profile-tabs li.active{background:#58a6ff14}.profile-tabs li svg{font-size:18px;flex-shrink:0}.profile-content{width:100%;background:#fff;border-radius:12px;border:1px solid #d0d7de;padding:32px;box-shadow:0 2px 8px #00000014;min-height:400px;animation:fadeIn .3s ease}.profil-me.dark .profile-content{background:#161b22;border-color:#30363d;box-shadow:0 2px 8px #0000004d}.info-section{width:100%}.info-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;flex-wrap:wrap;gap:16px}.info-header h4{font-size:20px;font-weight:700;margin:0;color:#24292f}.profil-me.dark .info-header h4{color:#e6edf3}.btn-edit-profile{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;background:#58a6ff;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-edit-profile:hover{background:#3b9aff;transform:translateY(-2px);box-shadow:0 4px 12px #58a6ff4d}.btn-edit-profile:active{transform:translateY(0)}.info-section h4{margin:0;font-size:20px;font-weight:700;color:#24292f}.profil-me.dark .info-section h4{color:#e6edf3}.info-card-static{padding:16px;background:#f9fafb;border:1px solid #e6edf3;border-radius:8px;cursor:default;transition:all .2s ease}.info-card-static.highlight-static{background:linear-gradient(135deg,#58a6ff26,#58a6ff14);border-color:#58a6ff}.profil-me.dark .info-card-static.highlight-static{background:linear-gradient(135deg,#58a6ff26,#58a6ff1a)}.card-value-large-static{font-size:28px;font-weight:700;color:#58a6ff;margin-top:6px}.profil-me.dark .card-value-large-static{color:#79c0ff}.bio-display{font-size:15px;color:#475569;line-height:1.6;min-height:80px;padding:14px;background:#f9fafb;border-radius:10px;border:1px solid #e6edf3;word-break:break-word;white-space:pre-wrap}.profil-me.dark .bio-display{background:#0d1117;border-color:#30363d;color:#d0d7de}.bio-empty{color:#9ca3af;font-style:italic}.profil-me.dark .bio-empty{color:#6b7280}.edit-section{width:100%}.edit-header{margin-bottom:32px}.edit-header h4{font-size:20px;font-weight:700;margin:0 0 8px;color:#24292f}.profil-me.dark .edit-header h4{color:#e6edf3}.edit-header p{margin:0;font-size:14px;color:#6b7280}.profil-me.dark .edit-header p{color:#9ca3af}.edit-info-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.info-card-static{padding:16px;background:#f9fafb;border:1px solid #e6edf3;border-radius:8px;cursor:default}.profil-me.dark .info-card-static{background:#161b22;border-color:#30363d}.card-value-static{font-size:15px;font-weight:600;color:#24292f;margin-top:6px;word-break:break-word}.profil-me.dark .card-value-static{color:#e6edf3}.form-group{margin-bottom:24px;width:100%;position:relative}.form-group label{display:block;font-size:14px;font-weight:700;color:#24292f;margin-bottom:12px}.profil-me.dark .form-group label{color:#e6edf3}.form-group .static{display:block;font-size:15px;color:#24292f;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e6edf3}.profil-me.dark .form-group .static{color:#e6edf3;background:#0d1117;border-color:#30363d}.form-group textarea{width:100%;min-height:140px;padding:14px;border:1px solid #d0d7de;border-radius:10px;background:#fff;color:#24292f;font-size:14px;font-family:inherit;resize:vertical;transition:all .3s ease;line-height:1.5}.profil-me.dark .form-group textarea{background:#0d1117;border-color:#30363d;color:#e6edf3}.form-group textarea:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.profil-me.dark .form-group textarea:focus{box-shadow:0 0 0 3px #58a6ff33}.char-count{position:absolute;bottom:10px;right:14px;font-size:12px;font-weight:600;color:#9ca3af}.form-buttons{display:flex;gap:12px;margin-top:32px;padding-top:24px;border-top:1px solid #d0d7de}.profil-me.dark .form-buttons{border-top-color:#30363d}.btn-cancel,.btn-save{padding:10px 18px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-cancel{background:#f1f5f9;color:#24292f;border:1px solid #d0d7de}.profil-me.dark .btn-cancel{background:#161b22;color:#e6edf3;border-color:#30363d}.btn-cancel:hover{background:#d0d7de}.profil-me.dark .btn-cancel:hover{background:#30363d}.btn-save{background:#58a6ff;color:#fff}.btn-save:hover{background:#3b9aff;transform:translateY(-2px);box-shadow:0 4px 12px #58a6ff4d}.statistics-section{width:100%;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:32px;width:100%}.stat-card{background:#f9fafb;border:1px solid #e6edf3;border-radius:12px;padding:20px;text-align:center;transition:all .3s ease}.profil-me.dark .stat-card{background:#0d1117;border-color:#30363d}.stat-card:hover{transform:translateY(-4px);border-color:#58a6ff;box-shadow:0 8px 16px #00000014}.profil-me.dark .stat-card:hover{box-shadow:0 8px 16px #58a6ff26}.stat-card.accent{background:linear-gradient(135deg,#58a6ff,#79c0ff);border-color:transparent;color:#fff}.stat-card.accent:hover{box-shadow:0 8px 20px #58a6ff4d}.stat-label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.stat-card.accent .stat-label{color:#ffffffe6}.profil-me.dark .stat-label{color:#9ca3af}.stat-value{font-size:32px;font-weight:700;color:#58a6ff}.stat-card.accent .stat-value{color:#fff}.profil-me.dark .stat-value{color:#79c0ff}.charts-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:24px;width:100%}.chart-card{background:#f9fafb;border:1px solid #e6edf3;border-radius:12px;padding:20px}.profil-me.dark .chart-card{background:#0d1117;border-color:#30363d}.chart-card h5{font-size:15px;font-weight:700;margin:0 0 20px}.profil-me.dark .chart-card h5{color:#e6edf3}.chart-bars{display:flex;flex-direction:column;gap:16px}.bar-item{display:flex;align-items:center;gap:12px}.bar-label{min-width:60px;font-size:13px;font-weight:600;color:#6b7280}.profil-me.dark .bar-label{color:#9ca3af}.bar-bg{flex:1;height:24px;background:#e6edf3;border-radius:6px;overflow:hidden}.profil-me.dark .bar-bg{background:#30363d}.bar-fill{height:100%;border-radius:6px;transition:width .3s ease}.bar-value{min-width:40px;text-align:right;font-size:13px;font-weight:600;color:#24292f}.profil-me.dark .bar-value{color:#e6edf3}.language-list{display:flex;flex-direction:column;gap:12px}.lang-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#fff;border:1px solid #e6edf3;border-radius:8px;transition:all .2s ease}.profil-me.dark .lang-item{background:#161b22;border-color:#30363d}.lang-item:hover{border-color:#58a6ff;background:#f9fafb}.profil-me.dark .lang-item:hover{border-color:#58a6ff;background:#0d1117}.lang-name{font-weight:700;color:#58a6ff;font-size:13px}.lang-count{font-size:12px;color:#6b7280;font-weight:600}.profil-me.dark .lang-count{color:#9ca3af}.empty-text{text-align:center;padding:20px;color:#6b7280;font-size:14px}.profil-me.dark .empty-text{color:#9ca3af}.history-section{width:100%;animation:fadeIn .3s ease}.history-table{width:100%;border:1px solid #e6edf3;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.profil-me.dark .history-table{border-color:#30363d}.table-header{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;padding:16px;background:#f9fafb;border-bottom:1px solid #e6edf3;font-weight:600;font-size:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.profil-me.dark .table-header{background:#0d1117;border-bottom-color:#30363d;color:#9ca3af}.table-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;padding:16px;border-bottom:1px solid #e6edf3;align-items:center;transition:background .2s ease}.profil-me.dark .table-row{border-bottom-color:#30363d}.table-row:hover{background:#f9fafb}.profil-me.dark .table-row:hover{background:#161b22}.col-problem{display:flex;flex-direction:column;gap:4px}.profil-me.dark .problem-title{color:#e6edf3}.problem-lang{font-size:12px;color:#6b7280;background:#f1f5f9;padding:2px 8px;border-radius:4px;width:fit-content;font-weight:600}.profil-me.dark .problem-lang{background:#161b22;color:#9ca3af}.col-status,.col-difficulty,.col-time{font-size:13px}.status-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.profil-me.dark .status-accepted{background:#22c55e26;color:#86efac}.profil-me.dark .status-wrong-answer{background:#ef444426;color:#fca5a5}.profil-me.dark .status-runtime-error{background:#f9731626;color:#fed7aa}.profil-me.dark .status-time-limit-exceeded{background:#f9731626;color:#fed7aa}.difficulty-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;text-transform:capitalize}.profil-me.dark .difficulty-easy{background:#58a6ff26;color:#a8d5ff}.profil-me.dark .difficulty-medium{background:#fb923c26;color:#fdba74}.profil-me.dark .difficulty-hard{background:#ef444426;color:#fca5a5}.empty-state{text-align:center;padding:60px 40px}.empty-state svg{font-size:48px;color:#6b7280;margin-bottom:16px}.profil-me.dark .empty-state svg{color:#9ca3af}.empty-state h3{font-size:18px;font-weight:700;margin:0 0 8px}.profil-me.dark .empty-state h3{color:#e6edf3}.profil-me.dark .empty-state p{color:#9ca3af}.loading{text-align:center;padding:40px;color:#6b7280;font-size:15px}.profil-me.dark .loading{color:#9ca3af}.hidden{display:none}@media(max-width:1024px){.avatar-lines{padding:40px 24px}.avatar-lines .container{gap:30px}.profil-information{padding:32px 24px}.charts-container{grid-template-columns:1fr}.profile-content{padding:24px}}@media(max-width:768px){.avatar-lines{padding:32px 16px}.avatar-lines .container{flex-direction:column;gap:20px}.avatar-box{width:120px;height:120px}.users-infos h2{font-size:22px}.profil-information{padding:24px 16px}.profile-tabs{gap:0;overflow-x:auto;scroll-behavior:smooth;padding-bottom:0;margin-bottom:20px}.profile-tabs li{padding:12px 16px;font-size:14px;white-space:nowrap;flex-shrink:0}.profile-content{padding:20px;min-height:300px}.edit-header{flex-direction:column;align-items:flex-start;gap:12px}.edit-info-cards{grid-template-columns:1fr 1fr;gap:12px}.bio-display{min-height:70px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:16px}.stat-value{font-size:26px}.chart-card{padding:16px}.chart-card h5{font-size:14px;margin-bottom:16px}.bar-item{gap:8px;font-size:12px}.table-header,.table-row{grid-template-columns:1fr 1fr;gap:8px;padding:12px}.col-difficulty,.col-time{display:none}.form-buttons{flex-direction:column;gap:10px}.btn-cancel,.btn-save{width:100%}.form-group textarea{min-height:100px}}@media(max-width:480px){.avatar-lines{padding:24px 12px}.avatar-box{width:100px;height:100px}.users-infos h2{font-size:18px}.users-infos p{font-size:12px}.profil-information{padding:16px 12px}.profile-tabs{margin-bottom:16px;gap:0}.profile-tabs li{padding:10px 12px;font-size:12px;gap:4px;flex:1;justify-content:center}.profile-tabs li svg{font-size:16px}.profile-content{padding:16px;border-radius:8px;min-height:200px}.info-header{flex-direction:column;align-items:stretch}.edit-header h4{font-size:18px}.btn-edit-profile{width:100%;justify-content:center}.edit-info-cards{grid-template-columns:1fr;gap:12px}.info-card-static{padding:14px}.card-value-large-static{font-size:24px}.bio-display{min-height:60px;font-size:14px}.form-group textarea{min-height:120px}.stats-grid{grid-template-columns:1fr;gap:10px}.stat-card{padding:14px}.stat-value{font-size:22px}.charts-container{gap:16px}.chart-card{padding:14px}.chart-card h5{font-size:13px;margin-bottom:14px}.bar-item{gap:6px;font-size:11px}.bar-label{min-width:50px}.bar-value{min-width:35px}.table-header,.table-row{grid-template-columns:1fr;gap:6px;padding:10px;font-size:12px}.col-problem,.col-status{grid-column:1 / -1}.col-difficulty,.col-time{display:none}.problem-title{font-size:13px}.problem-lang{font-size:11px}.empty-state{padding:40px 20px}.empty-state svg{font-size:40px}.empty-state h3{font-size:16px}.empty-state p{font-size:13px}}*{box-sizing:border-box}.leaderboard{width:100%;min-height:100vh;display:flex;flex-direction:column}.leaderboard.light{background:#fafbfc;color:#24292f}.leaderboard.dark{background:#0d1117;color:#e6edf3}.page-header{padding:2rem 1.5rem;border-bottom:1px solid;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.02) 100%)}.leaderboard.light .page-header{border-color:#d0d7de}.leaderboard.dark .page-header{border-color:#30363d}.header-content{max-width:1200px;margin:0 auto}.page-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:700;letter-spacing:-.4px}.page-header p{margin:0;font-size:1rem;opacity:.6}.leaderboard .container{max-width:1200px;width:100%;margin:0 auto;padding:2rem 1.5rem;flex:1;overflow-y:auto}.leaderboard-table{display:flex;flex-direction:column;border-radius:8px;border:1px solid;overflow:hidden;box-shadow:0 1px 3px #00000014}.leaderboard.light .leaderboard-table{background:#fff;border-color:#d0d7de}.leaderboard.dark .leaderboard-table{background:#161b22;border-color:#30363d;box-shadow:0 1px 3px #0000004d}.table-header{display:grid;grid-template-columns:70px 1fr 1fr 120px;gap:0;padding:1rem 1.5rem;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0;z-index:10;background:linear-gradient(135deg,rgba(88,166,255,.05) 0%,transparent 100%);border-bottom:2px solid}.leaderboard.light .table-header{border-color:#d0d7de;color:#57606a}.leaderboard.dark .table-header{border-color:#30363d;color:#8b949e}.header-rank,.header-score{display:flex;align-items:center;justify-content:center}.header-user,.header-bio{display:flex;align-items:center;padding-left:.5rem}.table-row{display:grid;grid-template-columns:70px 1fr 1fr 120px;gap:0;padding:1.2rem 1.5rem;border-bottom:1px solid;align-items:center;transition:all .2s ease;cursor:pointer}.leaderboard.light .table-row{background:#fff;border-color:#eaeef2}.leaderboard.dark .table-row{background:#161b22;border-color:#21262d}.leaderboard.light .table-row:hover{background:#f6f8fa;border-color:#d0d7de}.leaderboard.dark .table-row:hover{background:#1e293b66;border-color:#30363d}.table-row.top-rank{background:linear-gradient(90deg,rgba(88,166,255,.08) 0%,transparent 100%)}.leaderboard.dark .table-row.top-rank{background:linear-gradient(90deg,rgba(88,166,255,.12) 0%,transparent 100%)}.row-rank{display:flex;align-items:center;justify-content:center}.rank-badge{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;font-weight:700;font-size:1rem;transition:all .2s ease;border:1px solid}.leaderboard.light .rank-badge{background:#f6f8fa;color:#57606a;border-color:#d0d7de}.leaderboard.dark .rank-badge{background:#1e293b80;color:#8b949e;border-color:#30363d}.rank-1{background:linear-gradient(135deg,#fbbf24,#f59e0b)!important;border:none!important;box-shadow:0 4px 12px #f59e0b40}.rank-2{background:linear-gradient(135deg,#d0d7de,#9ca3af)!important;border:none!important;box-shadow:0 4px 12px #00000026}.leaderboard.dark .rank-2{background:linear-gradient(135deg,#30363d,#24292f)!important;box-shadow:0 4px 12px #0000004d}.rank-3{background:linear-gradient(135deg,#f97316,#ea580c)!important;border:none!important;box-shadow:0 4px 12px #f9731640}.medal-icon{font-size:1.2rem}.row-user{display:flex;align-items:center;gap:1rem}.user-avatar{flex-shrink:0}.user-avatar img{width:44px;height:44px;border-radius:6px;border:2px solid;object-fit:cover;background:#0000000d}.leaderboard.light .user-avatar img{border-color:#d0d7de}.leaderboard.dark .user-avatar img{border-color:#30363d;background:#1e293b80}.user-info{display:flex;flex-direction:column;gap:.3rem;min-width:0}.user-info h3{margin:0;font-size:.95rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-country{margin:0;font-size:.8rem;font-weight:400;opacity:.6}.row-bio p{margin:0;font-size:.9rem;line-height:1.4;opacity:.7;word-break:break-word}.row-score{display:flex;align-items:center;justify-content:center}.score-value{display:inline-flex;align-items:center;justify-content:center;min-width:60px;padding:.5rem 1rem;background:linear-gradient(135deg,#58a6ff,#79c0ff);color:#fff;border-radius:6px;font-size:.85rem;font-weight:700;letter-spacing:.3px;box-shadow:0 2px 8px #58a6ff40}.loader-leaderboard{display:flex;flex-direction:column;gap:0;border-radius:8px;border:1px solid;overflow:hidden}.leaderboard.light .loader-leaderboard{background:#fff;border-color:#d0d7de}.leaderboard.dark .loader-leaderboard{background:#161b22;border-color:#30363d}.loader-row{height:60px;background:linear-gradient(90deg,transparent 0%,rgba(88,166,255,.1) 50%,transparent 100%);background-size:200% 100%;animation:shimmer 2s infinite;border-bottom:1px solid}.leaderboard.light .loader-row{border-color:#eaeef2}.leaderboard.dark .loader-row{border-color:#21262d}.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,.page-header{padding:1.5rem 1rem}.page-header h1{font-size:1.5rem}.table-header{grid-template-columns:60px 1fr 1fr 100px;padding:1rem;font-size:.75rem}.table-row{grid-template-columns:60px 1fr 1fr 100px;padding:1rem}.user-avatar img{width:40px;height:40px}.user-info h3{font-size:.9rem}.row-bio p{font-size:.85rem}.rank-badge{width:40px;height:40px;font-size:.9rem}.score-value{min-width:54px;padding:.4rem .8rem;font-size:.8rem}.loader-row{height:56px}}@media(max-width:480px){.leaderboard .container,.page-header{padding:1rem .8rem}.page-header h1{font-size:1.2rem}.page-header p{font-size:.9rem}.table-header{grid-template-columns:50px 1fr 80px;padding:.8rem;font-size:.7rem}.table-row{grid-template-columns:50px 1fr 80px;padding:.8rem}.header-bio,.row-bio{display:none}.rank-badge{width:38px;height:38px;font-size:.85rem}.user-avatar img{width:36px;height:36px}.user-info h3{font-size:.85rem}.score-value{font-size:.75rem;min-width:48px;padding:.35rem .7rem}.loader-row{height:52px}}.statistics{min-height:100vh;padding:40px 0;background:#fafbfc;overflow-y:auto;color:#24292f}.statistics.dark{background:#0d1117;color:#e6edf3}[data-theme=dark] .statistics{background:#0d1117}.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:#24292f;margin:0 0 8px}[data-theme=dark] .stats-header h1{color:#fafbfc}.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 #e6edf3;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 #e6edf3;box-shadow:0 1px 3px #0000000d}[data-theme=dark] .chart-card{background:#161b22;border-color:#30363d}.chart-card h3{font-size:16px;font-weight:700;color:#24292f;margin:0 0 20px}[data-theme=dark] .chart-card h3{color:#fafbfc}.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:#24292f}[data-theme=dark] .chart-label{color:#d0d7de}.chart-value{font-weight:700;color:#1976d2}.chart-bar-bg{height:24px;background:#fafbfc;border-radius:8px;overflow:hidden}[data-theme=dark] .chart-bar-bg{background:#30363d}.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:#fafbfc;border-radius:8px;border:1px solid #e6edf3}[data-theme=dark] .language-item{background:#161b22;border-color:#30363d}.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:#79c0ff}.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:#fafbfc;border-radius:12px;animation:pulse 1.5s cubic-bezier(.4,0,.6,1) infinite}[data-theme=dark] .loader-card{background:#161b22}@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 #e6edf3}[data-theme=dark] .empty-state{background:transparent;border-color:#24292f}.empty-state .empty-icon{font-size:60px;margin-bottom:16px;display:block}.empty-state h2{font-size:24px;font-weight:700;color:#24292f;margin:0 0 8px}.solutions-history{min-height:100vh;padding:40px 0;background:#fafbfc;overflow-y:auto;color:#24292f}.solutions-history.dark{background:#0d1117;color:#e6edf3}[data-theme=dark] .solutions-history{background:#0d1117}.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:#24292f;margin:0 0 8px}[data-theme=dark] .history-header h1{color:#fafbfc}.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 #e6edf3;box-shadow:0 1px 3px #0000000d}[data-theme=dark] .stat-card{background:#161b22;border-color:#30363d}.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 #e6edf3;border-radius:8px;font-size:14px;font-weight:600;color:#24292f;cursor:pointer;transition:all .3s ease}[data-theme=dark] .filter-btn{background:#161b22;border-color:#30363d;color:#d0d7de}.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 #e6edf3;overflow:hidden;box-shadow:0 1px 3px #0000000d;margin-bottom:40px}[data-theme=dark] .history-table{background:#161b22;border-color:#30363d}.table-header{display:grid;grid-template-columns:2fr 1.2fr 1fr 1.5fr 1fr;padding:16px 20px;background:#fafbfc;border-bottom:1px solid #e6edf3;font-weight:600;font-size:13px;color:#24292f;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0;z-index:10}[data-theme=dark] .table-header{background:#161b22;border-color:#30363d;color:#9ca3af}.table-body{display:flex;flex-direction:column}[data-theme=dark] .table-body{border-color:#30363d}.table-row{display:grid;grid-template-columns:2fr 1.2fr 1fr 1.5fr 1fr;padding:16px 20px;border-bottom:1px solid #e6edf3;align-items:center;transition:background-color .2s ease}[data-theme=dark] .table-row{border-color:#30363d}.table-row:hover{background:#fafbfc}[data-theme=dark] .table-row:hover{background:#161b22}.table-row:last-child{border-bottom:none}.col-problem{display:flex;flex-direction:column;gap:6px}.problem-title{font-weight:600;color:#24292f;font-size:14px}[data-theme=dark] .problem-title{color:#fafbfc}.problem-language{font-size:12px;color:#6b7280;background:#fafbfc;padding:2px 8px;border-radius:4px;width:fit-content;font-weight:600}[data-theme=dark] .problem-language{background:#24292f;color:#9ca3af}.col-status,.col-difficulty,.col-time,.col-execution{font-size:14px;color:#24292f}[data-theme=dark] .col-status,[data-theme=dark] .col-difficulty,[data-theme=dark] .col-time,[data-theme=dark] .col-execution{color:#d0d7de}.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:#1d5fc3}[data-theme=dark] .difficulty-easy{background:#58a6ff1a;color:#a8d5ff}.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:#fafbfc;border-radius:8px;margin-bottom:12px;animation:pulse 1.5s cubic-bezier(.4,0,.6,1) infinite}[data-theme=dark] .history-loader-row{background:#161b22}@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:#24292f;margin:0 0 8px}[data-theme=dark] .empty-state h2{color:#fafbfc}.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 #e6edf3;border-radius:0 0 12px 12px;flex-wrap:wrap;margin-top:0}[data-theme=dark] .pagination-container{background:transparent;border-top-color:#30363d}.pagination-btn{padding:10px 16px;background:#fff;border:1px solid #e6edf3;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;color:#58a6ff;transition:all .2s ease;white-space:nowrap}[data-theme=dark] .pagination-btn{background:#161b22;border-color:#30363d;color:#79c0ff}.pagination-btn:hover:not(:disabled){background:#58a6ff;border-color:#58a6ff;color:#fff;box-shadow:0 2px 8px #3b82f626}[data-theme=dark] .pagination-btn:hover:not(:disabled){background:#58a6ff;border-color:#58a6ff;box-shadow:0 2px 8px #3b82f640}.pagination-btn:disabled{opacity:.5;cursor:not-allowed;background:#fafbfc;color:#9ca3af}[data-theme=dark] .pagination-btn:disabled{background:#30363d;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 #e6edf3}[data-theme=dark] .pagination-count{border-left-color:#30363d}.exam-list-container{width:100%;min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#eef2f5);padding:3.5rem 2rem}[data-theme=dark] .exam-list-container{background:linear-gradient(135deg,#0d1117,#1a1f2e)}.exam-list-header{max-width:1300px;margin:0 auto 3.5rem;padding-bottom:2.5rem;border-bottom:1px solid #e2e8f0}[data-theme=dark] .exam-list-header{border-bottom-color:#30363d}.exam-list-header h1{font-size:3rem;font-weight:700;color:#1a202c;margin-bottom:.75rem;letter-spacing:-.5px}[data-theme=dark] .exam-list-header h1{color:#f7fafc}.exam-list-header p{font-size:1rem;color:#718096;font-weight:500}[data-theme=dark] .exam-list-header p{color:#a0aec0}.error-message{max-width:1300px;margin:0 auto 2rem;padding:1.5rem 2rem;background:#fed7d7;border-left:4px solid #c53030;border-radius:6px;color:#742a2a}[data-theme=dark] .error-message{background:#742a2a;color:#fed7d7}.empty-state{max-width:1300px;margin:4rem auto;padding:4rem 2rem;text-align:center;background:#fff;border:2px dashed #cbd5e0;border-radius:12px}[data-theme=dark] .empty-state{background:#1a202c;border-color:#30363d}.empty-state h2{font-size:2rem;font-weight:700;color:#1a202c;margin-bottom:1rem}[data-theme=dark] .empty-state h2{color:#f7fafc}.empty-state p{font-size:1.1rem;color:#718096}[data-theme=dark] .empty-state p{color:#cbd5e0}.exam-grid{max-width:1300px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:1.75rem}.exam-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;box-shadow:0 1px 2px #0000000d;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;display:flex;flex-direction:column;height:100%}[data-theme=dark] .exam-card{background:#1a202c;border-color:#30363d;box-shadow:0 1px 3px #0000004d}.exam-card:hover{transform:translateY(-2px);border-color:#38a169;box-shadow:0 10px 20px #38a1691f}.exam-card-header{padding:1.25rem 1.5rem;background:#fff;border-bottom:1px solid #f0f4f8;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}[data-theme=dark] .exam-card-header{background:#1a202c;border-bottom-color:#30363d}.exam-card-title-block{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:0}.exam-card-title{font-size:1.2rem;font-weight:700;color:#1a202c;line-height:1.25;margin:0;word-break:break-word}[data-theme=dark] .exam-card-title{color:#f7fafc}.exam-card-lang{display:inline-block;padding:.425rem .875rem;background:linear-gradient(135deg,#c6f6d5,#b3f3bc);color:#1e3a1f;border-radius:6px;font-size:.7rem;font-weight:700;text-transform:uppercase;box-shadow:0 1px 2px #22543d1a}[data-theme=dark] .exam-card-lang{background:linear-gradient(135deg,#22543d,#1a3d2e);color:#c6f6d5}.exam-card-body{padding:1.375rem 1.5rem;flex:1}[data-theme=dark] .exam-card-body{background:#1a202c}.exam-desc{font-size:.875rem;line-height:1.5;color:#64748b;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}[data-theme=dark] .exam-desc{color:#cbd5e0}.exam-meta{display:grid;grid-template-columns:1fr 1fr;gap:.625rem;margin-bottom:.875rem}.exam-meta-item{display:flex;align-items:center;gap:.5rem;padding:.75rem .85rem;background:#f8fafc;border-radius:6px;font-size:.85rem}[data-theme=dark] .exam-meta-item{background:#1f2937}.exam-meta-icon{font-size:1rem;color:#38a169;flex-shrink:0}.exam-meta-label{font-size:.65rem;color:#64748b;font-weight:700;text-transform:uppercase;letter-spacing:.3px}[data-theme=dark] .exam-meta-label{color:#9ca3af}.exam-meta-value{font-weight:700;color:#1a202c;font-size:.9rem}[data-theme=dark] .exam-meta-value{color:#f7fafc}.exam-dates{font-size:.8rem;color:#64748b;padding:.7rem .85rem;background:#f8fafc;border-radius:6px;display:flex;align-items:center;gap:.45rem}[data-theme=dark] .exam-dates{background:#1f2937;color:#9ca3af}.exam-status{padding:.475rem .875rem;border-radius:6px;font-size:.65rem;font-weight:700;text-transform:uppercase;width:fit-content;letter-spacing:.4px;white-space:nowrap;flex-shrink:0}.exam-status.not-started{background:#f3f4f6;color:#4b5563}.exam-status.in-progress{background:#dbeafe;color:#1e40af}.exam-status.completed{background:#dcfce7;color:#166534}[data-theme=dark] .exam-status.not-started{background:#374151;color:#d1d5db}[data-theme=dark] .exam-status.in-progress{background:#1e3a8a;color:#dbeafe}[data-theme=dark] .exam-status.completed{background:#15803d;color:#dcfce7}.exam-card-footer{padding:1.125rem 1.5rem;border-top:1px solid #f0f4f8;background:#fff}[data-theme=dark] .exam-card-footer{border-top-color:#30363d;background:#1a202c}.exam-btn{width:100%;padding:.75rem 1rem;background:linear-gradient(135deg,#38a169,#2f855a);color:#fff;border:none;border-radius:6px;font-weight:700;font-size:.85rem;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 1px 3px #38a16933;letter-spacing:.2px}.exam-btn:hover{background:linear-gradient(135deg,#2f855a,#22543d);transform:translateY(-2px);box-shadow:0 6px 12px #38a16940}.exam-btn:active{transform:translateY(0)}[data-theme=dark] .exam-btn{box-shadow:0 1px 3px #0000004d}[data-theme=dark] .exam-btn:hover{box-shadow:0 6px 12px #38a1694d}.exam-btn.completed{background:#fff;color:#38a169;border:1.5px solid #d1fae5;box-shadow:0 1px 2px #38a16914}[data-theme=dark] .exam-btn.completed{background:#1f2937;color:#86efac;border-color:#10b981}.exam-btn.completed:hover{background:#f0fdf4;border-color:#38a169;transform:translateY(-2px);box-shadow:0 4px 8px #38a1691f}[data-theme=dark] .exam-btn.completed:hover{background:#22543d;box-shadow:0 4px 8px #38a16933}.loading{max-width:1300px;margin:4rem auto;text-align:center;font-size:1.2rem;color:#718096;font-weight:600}@media(max-width:1024px){.exam-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media(max-width:768px){.exam-list-container{padding:2rem 1.5rem}.exam-list-header h1{font-size:2rem}.exam-list-header{margin-bottom:2.5rem}.exam-grid{grid-template-columns:1fr;gap:1.5rem}.exam-card-header,.exam-card-body,.exam-card-footer{padding:1.5rem}.exam-meta{grid-template-columns:1fr}}@media(max-width:480px){.exam-list-container{padding:1.5rem 1rem}.exam-list-header h1{font-size:1.75rem}.exam-card-title{font-size:1.2rem}.exam-card-header,.exam-card-body,.exam-card-footer{padding:1.25rem}}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%;overflow:hidden}.exam-layout{width:100%;height:100%;display:flex;flex-direction:column;background:linear-gradient(135deg,#f8fafb,#f5f7fa);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}[data-theme=dark] .exam-layout{background:linear-gradient(135deg,#0d1117,#1a1f2e)}.exam-header{flex-shrink:0;display:flex;flex-direction:column;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a,0 1px 2px #0000000f}[data-theme=dark] .exam-header{background:#1a202c;border-bottom-color:#30363d;box-shadow:0 1px 3px #0000004d,0 1px 2px #00000026}.header-top{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1.75rem;gap:1.75rem;border-bottom:1px solid #e8ecf1}[data-theme=dark] .header-top{border-bottom-color:#30363d}.header-left{display:flex;align-items:center;gap:.875rem;min-width:0;flex:0 1 auto}.exam-title{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0;word-break:break-word;line-height:1.2;letter-spacing:-.2px}[data-theme=dark] .exam-title{color:#f7fafc}.exam-lang{padding:.375rem .8rem;background:linear-gradient(135deg,#c6f6d5,#b3f3bc);color:#1e3a1f;border-radius:5px;font-size:.65rem;font-weight:700;text-transform:uppercase;flex-shrink:0;letter-spacing:.4px;box-shadow:0 1px 2px #22543d1a}[data-theme=dark] .exam-lang{background:linear-gradient(135deg,#22543d,#1a3d2e);color:#c6f6d5}.header-right{display:flex;align-items:center;gap:1rem;flex-shrink:0}.timer{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:.95rem;font-family:JetBrains Mono,Courier New,monospace;padding:.5rem 1rem;background:linear-gradient(135deg,#f0fdf4,#e6ffed);border:1px solid #dcfce7;border-radius:6px;color:#38a169;transition:all .3s cubic-bezier(.4,0,.2,1)}[data-theme=dark] .timer{background:linear-gradient(135deg,#1e3a1f,#162d17);border-color:#22543d;color:#86efac}.timer.critical{color:#c53030;background:linear-gradient(135deg,#fee2e2,#fecaca);border-color:#fca5a5;animation:critical-pulse 1.2s cubic-bezier(.4,0,.6,1) infinite}[data-theme=dark] .timer.critical{background:linear-gradient(135deg,#7c2d12,#6b1d0f);border-color:#dc2626}@keyframes critical-pulse{0%,to{transform:scale(1);box-shadow:0 0 0 0 transparent}50%{transform:scale(1.02);box-shadow:0 0 0 3px #c530301a}}.btn-submit,.btn-finish{padding:.65rem 1.25rem;border:none;border-radius:6px;font-weight:700;font-size:.85rem;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:.4rem;letter-spacing:-.15px}.btn-submit{background:linear-gradient(135deg,#38a169,#2f855a);color:#fff;box-shadow:0 2px 6px #38a16933}.btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#2f855a,#22543d);transform:translateY(-2px);box-shadow:0 8px 16px #38a1694d}.btn-submit:active:not(:disabled){transform:translateY(0)}.btn-submit:disabled{opacity:.5;cursor:not-allowed;background:linear-gradient(135deg,#cbd5e0,#a0aec0)}.btn-finish{background:#fff;color:#e53e3e;border:1.5px solid #fed7d7;box-shadow:0 1px 3px #0000000d}[data-theme=dark] .btn-finish{background:#1a202c;border-color:#742a2a;color:#fc8181}.btn-finish:hover:not(:disabled){background:linear-gradient(135deg,#fed7d7,#fcbdbd);border-color:#c53030;transform:translateY(-2px);box-shadow:0 4px 12px #c5303026}[data-theme=dark] .btn-finish:hover:not(:disabled){background:#742a2a;border-color:#fc8181;box-shadow:0 4px 12px #fc818126}.btn-finish:disabled{opacity:.6;cursor:not-allowed;background:linear-gradient(135deg,#e2e8f0,#cbd5e0);border-color:#a0aec0;color:#4a5568}.header-bottom{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.75rem 1.75rem;background:linear-gradient(180deg,#fafbfc,#f5f7fa)}[data-theme=dark] .header-bottom{background:linear-gradient(180deg,#0d1117,#161b22)}.problem-nav{display:flex;align-items:center;gap:.5rem;background:#fff;padding:.625rem;border-radius:9px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a}[data-theme=dark] .problem-nav{background:#1a202c;border-color:#4a5568;box-shadow:0 1px 3px #0003}.problem-tabs{display:flex;gap:.375rem;overflow-x:auto;padding:.25rem;max-width:80vw}.problem-tabs::-webkit-scrollbar{height:4px}.problem-tabs::-webkit-scrollbar-track{background:transparent}.problem-tabs::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:2px}[data-theme=dark] .problem-tabs::-webkit-scrollbar-thumb{background:#4a5568}.problem-tab{min-width:40px;height:40px;padding:0;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-weight:700;font-size:.8rem;transition:all .2s cubic-bezier(.4,0,.2,1);flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#4a5568;position:relative;box-shadow:0 1px 2px #00000008}[data-theme=dark] .problem-tab{background:#1a202c;border-color:#4a5568;color:#cbd5e0}.problem-tab:hover:not(.active):not(.solved){border-color:#38a169;color:#38a169;background:#f0fdf4}[data-theme=dark] .problem-tab:hover:not(.active):not(.solved){background:#22543d}.problem-tab.active{background:linear-gradient(135deg,#38a169,#2f855a);border-color:#38a169;color:#fff;box-shadow:0 2px 6px #38a1694d}.problem-tab.solved{background:linear-gradient(135deg,#c6f6d5,#b3f3bc);border-color:#38a169;color:#1e3a1f;box-shadow:0 1px 2px #22543d1a}[data-theme=dark] .problem-tab.solved{background:linear-gradient(135deg,#22543d,#1a3d2e);border-color:#38a169;color:#86efac}.problem-tab.solved.active{background:linear-gradient(135deg,#38a169,#2f855a);color:#fff}.tab-check{position:absolute;right:3px;bottom:3px;font-size:.55rem;color:currentColor}.nav-btn{width:40px;height:40px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#4a5568;transition:all .2s cubic-bezier(.4,0,.2,1);flex-shrink:0;font-size:.9rem;font-weight:700;box-shadow:0 1px 2px #00000008}[data-theme=dark] .nav-btn{background:#1a202c;border-color:#4a5568;color:#cbd5e0}.nav-btn:hover:not(:disabled){background:linear-gradient(135deg,#38a169,#2f855a);border-color:#38a169;color:#fff;box-shadow:0 3px 8px #38a16940;transform:translateY(-1px)}.nav-btn:active:not(:disabled){transform:translateY(0)}.nav-btn:disabled{opacity:.35;cursor:not-allowed}.exam-main-area{flex:1;display:flex;gap:0;overflow:hidden}.exam-divider{width:2px;background:#e2e8f0;cursor:col-resize;flex-shrink:0;transition:all .2s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none}[data-theme=dark] .exam-divider{background:#4a5568}.exam-divider:hover,.exam-divider.active{background:#38a169;box-shadow:0 0 12px #38a16966}.problem-panel{display:flex;flex-direction:column;background:#fff;overflow:hidden;flex-shrink:0}[data-theme=dark] .problem-panel{background:#1a202c}.problem-scroll{flex:1;overflow-y:auto;padding:1.75rem}.problem-scroll::-webkit-scrollbar{width:6px}.problem-scroll::-webkit-scrollbar-track{background:transparent}.problem-scroll::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px;transition:background .2s}.problem-scroll::-webkit-scrollbar-thumb:hover{background:#a0aec0}[data-theme=dark] .problem-scroll::-webkit-scrollbar-thumb{background:#4a5568}[data-theme=dark] .problem-scroll::-webkit-scrollbar-thumb:hover{background:#718096}.problem-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.75rem;padding-bottom:1.25rem;border-bottom:2px solid #e8ecf1}[data-theme=dark] .problem-heading{border-bottom-color:#30363d}.problem-header{display:flex;align-items:flex-start;gap:1rem;flex:1;min-width:0}.problem-num{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:linear-gradient(135deg,#38a169,#2f855a);color:#fff;border-radius:7px;font-weight:700;font-size:1rem;flex-shrink:0;box-shadow:0 2px 8px #38a16933}.problem-header h2{font-size:1.375rem;font-weight:700;color:#1a202c;margin:0;line-height:1.3;word-break:break-word;letter-spacing:-.25px}[data-theme=dark] .problem-header h2{color:#f7fafc}.badge-difficulty{padding:.5rem 1rem;border-radius:6px;font-size:.7rem;font-weight:700;text-transform:uppercase;white-space:nowrap;flex-shrink:0;letter-spacing:.5px;box-shadow:0 1px 2px #0000000d}.badge-easy{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.badge-medium{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e}.badge-hard{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#7c2d12}[data-theme=dark] .badge-easy{background:linear-gradient(135deg,#1e3a8a,#1e40af);color:#bfdbfe}[data-theme=dark] .badge-medium{background:linear-gradient(135deg,#78350f,#92400e);color:#fef3c7}[data-theme=dark] .badge-hard{background:linear-gradient(135deg,#7c2d12,#92400e);color:#fee2e2}.problem-section{margin-bottom:1.75rem}.problem-section:last-child{margin-bottom:0}.problem-section h3{font-size:.75rem;font-weight:700;color:#2d3748;margin-bottom:.65rem;text-transform:uppercase;letter-spacing:.4px}[data-theme=dark] .problem-section h3{color:#cbd5e0}.problem-section p{font-size:.975rem;line-height:1.75;color:#4a5568;margin:0}[data-theme=dark] .problem-section p{color:#cbd5e0}.code-block{background:linear-gradient(135deg,#f8fafb,#f5f7fa);padding:.875rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.8rem;font-family:JetBrains Mono,Courier New,monospace;color:#1a202c;overflow-x:auto;line-height:1.6;white-space:pre-wrap;word-break:break-word;margin:0;box-shadow:0 1px 2px #00000008}[data-theme=dark] .code-block{background:linear-gradient(135deg,#0d1117,#161b22);border-color:#4a5568;color:#e6edf3}.editor-panel{display:flex;flex-direction:column;background:#fff;overflow:hidden;flex:1;position:relative}[data-theme=dark] .editor-panel{background:#1a202c}.editor-toolbar{flex-shrink:0;padding:.875rem 1.25rem;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#fafbfc,#f5f7fa);display:flex;align-items:center;justify-content:space-between;gap:1rem}[data-theme=dark] .editor-toolbar{border-bottom-color:#30363d;background:linear-gradient(180deg,#0d1117,#161b22)}.toolbar-section{display:flex;align-items:center;gap:.5rem}.toolbar-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;color:#4a5568;font-size:.9rem;font-weight:600;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px #00000008}[data-theme=dark] .toolbar-btn{background:#1a202c;border-color:#4a5568;color:#cbd5e0}.toolbar-btn:hover{background:linear-gradient(135deg,#38a169,#2f855a);border-color:#38a169;color:#fff;box-shadow:0 2px 6px #38a16933;transform:translateY(-1px)}.toolbar-btn:active{transform:translateY(0)}.toolbar-divider{width:1px;height:24px;background:#e2e8f0}[data-theme=dark] .toolbar-divider{background:#4a5568}.font-controls{display:flex;align-items:center;gap:.5rem;background:#fff;padding:.5rem .875rem;border-radius:6px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #00000008}[data-theme=dark] .font-controls{background:#1a202c;border-color:#4a5568}.font-btn{background:none;border:none;cursor:pointer;font-weight:700;font-size:1rem;color:#38a169;padding:.25rem .5rem;transition:all .2s cubic-bezier(.4,0,.2,1)}.font-btn:hover{transform:scale(1.2)}.font-size{font-weight:700;color:#38a169;min-width:3.25rem;text-align:center;font-size:.85rem;font-family:JetBrains Mono,Courier New,monospace}.lang-badge{padding:.45rem .95rem;background:linear-gradient(135deg,#c6f6d5,#b3f3bc);color:#1e3a1f;border-radius:6px;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 1px 2px #22543d1a}[data-theme=dark] .lang-badge{background:linear-gradient(135deg,#22543d,#1a3d2e);color:#c6f6d5}.result-popup{position:absolute;bottom:1.5rem;right:1.5rem;padding:1rem 1.25rem;border-radius:8px;display:flex;align-items:center;gap:1rem;box-shadow:0 10px 25px #00000026;z-index:10;background:linear-gradient(135deg,#c6f6d5,#b3f3bc);border:1px solid #86efac;animation:slideIn .35s cubic-bezier(.34,1.56,.64,1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@keyframes slideIn{0%{opacity:0;transform:translate(30px) translateY(10px)}to{opacity:1;transform:translate(0) translateY(0)}}.result-popup.error{background:linear-gradient(135deg,#fed7d7,#fcbdbd);border-color:#fc8181}[data-theme=dark] .result-popup{background:linear-gradient(135deg,#22543d,#1a3d2e);border-color:#38a169;box-shadow:0 10px 25px #0000004d}[data-theme=dark] .result-popup.error{background:linear-gradient(135deg,#7c2d12,#6b1d0f);border-color:#dc2626}.result-icon{display:flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;background:#22543d26;border-radius:8px;flex-shrink:0;font-size:1.4rem;color:#22543d}.result-popup.error .result-icon{background:#c5303026;color:#c53030}.result-text{display:flex;flex-direction:column;gap:.3rem}.result-text strong{font-size:.95rem;color:#1e3a1f;font-weight:700}.result-popup.error .result-text strong{color:#7c2d12}.result-text p{font-size:.85rem;color:#1e3a1f;margin:0;line-height:1.4}.result-popup.error .result-text p{color:#7c2d12}.loading-state{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.1rem;font-weight:600;color:#718096}.error-state{display:flex;align-items:center;justify-content:center;height:100%;text-align:center;color:#c53030}.error-state h2{font-size:1.5rem;margin:0;font-weight:700}@media(max-width:1200px){.exam-header{flex-direction:column}.header-top{flex-direction:column;gap:1rem;padding:1rem}.header-bottom{padding:.875rem}.problem-nav{width:100%}.problem-tabs{max-width:100%}}@media(max-width:768px){.exam-title{font-size:1.125rem}.exam-lang{font-size:.65rem;padding:.375rem .75rem}.problem-num{width:2.5rem;height:2.5rem;font-size:1rem}.problem-header h2{font-size:1.25rem}.problem-scroll{padding:1.5rem}.timer{font-size:.9rem;padding:.5rem 1rem}.btn-submit,.btn-finish{padding:.625rem 1.125rem;font-size:.85rem}.header-top{padding:.75rem;gap:.75rem}.header-bottom{padding:.75rem}}@media(max-width:480px){.exam-title{font-size:1rem}.exam-lang{font-size:.6rem;padding:.3rem .6rem}.problem-tab{min-width:36px;height:36px;font-size:.7rem}.nav-btn{width:36px;height:36px}.timer{font-size:.8rem;padding:.4rem .85rem}.btn-submit,.btn-finish{padding:.55rem 1rem;font-size:.8rem}.problem-header h2{font-size:1.1rem}.problem-scroll{padding:1.125rem}.header-top,.header-bottom{padding:.6rem;gap:.5rem}.result-popup{bottom:1rem;right:1rem;padding:1rem;gap:.875rem}.toolbar-btn{width:32px;height:32px;font-size:.8rem}}
