:root{--primary: #1a73e8;--secondary: #4a90e2;--accent: #66bb6a;--text: #2d3748;--bg: #f8fafc}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#f0f4ff,#e8f2ff,#f8fafc);min-height:100vh}a{color:var(--primary);text-decoration:none}a:hover{color:#0d47a1}.app-header{background:linear-gradient(135deg,#fffffff2,#f8fafcf2);box-shadow:0 4px 20px #0000001a;border-bottom:1px solid rgba(26,115,232,.1);padding:0;position:sticky;top:0;z-index:1000;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.header-container{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:64px}.logo{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:700;color:#1a73e8;text-decoration:none;transition:all .3s ease}.logo:hover{transform:scale(1.05);color:#0d47a1}.logo-icon{font-size:28px;filter:drop-shadow(0 2px 4px rgba(26,115,232,.3));transition:all .3s ease}.logo:hover .logo-icon{transform:rotate(15deg) scale(1.1);filter:drop-shadow(0 4px 8px rgba(26,115,232,.4))}.header-menu{flex:1;border-bottom:none;background:transparent;margin:0 24px}.header-menu .ant-menu-item{border-bottom:2px solid transparent;transition:all .3s ease}.header-menu .ant-menu-item:hover,.header-menu .ant-menu-item-selected{border-bottom-color:#1a73e8;color:#1a73e8}.header-actions{display:flex;align-items:center;gap:16px}.notification-icon{font-size:20px;color:#2d3748;cursor:pointer;transition:all .3s ease}.notification-icon:hover{color:#1a73e8;transform:scale(1.1)}.user-info{padding:4px 16px;border-radius:8px;background:#e3f2fd;display:flex;align-items:center;gap:8px;height:50px}.user-info:hover{background:#f3f8ff;border-color:#1a73e8;box-shadow:0 6px 16px #1a73e826;transform:translateY(-2px)}.user-name{font-weight:600;color:#1a1a1a;font-size:14px;white-space:nowrap;max-width:120px;overflow:hidden;text-overflow:ellipsis}.layout-toggle-icon{font-size:18px;color:#64748b;transition:all .3s ease}.layout-toggle-icon:hover{color:#1a73e8;background:#1a73e814}@media(max-width:768px){.header-menu{display:none}.header-container{padding:0 16px}}.app-sidebar{background:linear-gradient(180deg,#fffffffa,#f8fafcfa);box-shadow:2px 0 20px #00000014;border-right:1px solid rgba(26,115,232,.1);position:fixed;left:0;top:0;bottom:0;z-index:1000;overflow-y:auto}.sidebar-container{display:flex;flex-direction:column;height:100%;padding:20px 0}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:16px 12px;margin-bottom:20px;border-bottom:1px solid rgba(26,115,232,.1)}.sidebar-logo{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;color:#1a73e8;text-decoration:none;transition:all .3s ease}.sidebar-logo:hover{transform:scale(1.05);color:#0d47a1}.sidebar-logo .logo-icon{font-size:28px;filter:drop-shadow(0 2px 4px rgba(26,115,232,.3))}.sidebar-menu{flex:1;border-right:none;background:transparent;padding:0 12px}.sidebar-menu .ant-menu-item{border-radius:8px;margin:4px 0;height:44px;line-height:44px;transition:all .3s ease}.sidebar-menu .ant-menu-item:hover{background:#1a73e814;color:#1a73e8}.sidebar-menu .ant-menu-item-selected{background:#1a73e81f;color:#1a73e8;font-weight:600}.sidebar-menu .ant-menu-item-selected:after{display:none}.sidebar-footer{padding:16px 20px;border-top:1px solid rgba(26,115,232,.1);margin-top:auto}.sidebar-user{display:flex;flex-direction:column;gap:12px;align-items:center}.notification-link{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#f0f7ff;transition:all .3s ease}.notification-link:hover{background:#e3f2fd;transform:scale(1.1)}.notification-icon{font-size:20px;color:#2d3748}.notification-link:hover .notification-icon{color:#1a73e8}.sidebar-user .user-info{padding:8px 12px;border-radius:12px;background:#e3f2fd;display:flex;align-items:center;gap:8px;width:100%;justify-content:center}.sidebar-user .user-info:hover{background:#f3f8ff;box-shadow:0 4px 12px #1a73e826;transform:translateY(-2px)}.sidebar-user .user-name{font-weight:600;color:#1a1a1a;font-size:14px}.sidebar-toggle-btn{color:#64748b;transition:all .3s ease}.sidebar-toggle-btn:hover{color:#1a73e8;background:#1a73e814}.ai-chat-container{display:flex;flex-direction:column;height:100%;background:#f8fafc}.ai-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.ai-message{display:flex;align-items:flex-start;animation:messageSlideIn .3s ease-out}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.ai-message-user{justify-content:flex-end}.ai-message-bot{justify-content:flex-start}.ai-message-bubble{max-width:80%;padding:12px 16px;border-radius:12px;line-height:1.6;word-wrap:break-word;white-space:pre-wrap;box-shadow:0 2px 8px #00000014;transition:all .2s ease}.ai-message-user .ai-message-bubble{background:linear-gradient(135deg,#1a73e8,#1557b0);color:#fff;border-top-right-radius:4px}.ai-message-bot .ai-message-bubble{background:#fff;color:#0f172a;border-top-left-radius:4px;border:1px solid #e2e8f0}.ai-thinking{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f1f5f9;border-radius:4px 12px 12px;color:#64748b;font-size:14px;border:1px solid #e2e8f0}.ai-thinking-dots{display:flex;gap:4px}.ai-thinking-dot{width:6px;height:6px;background:#64748b;border-radius:50%;animation:thinking 1.4s infinite ease-in-out}.ai-thinking-dot:nth-child(2){animation-delay:.2s}.ai-thinking-dot:nth-child(3){animation-delay:.4s}@keyframes thinking{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1.2);opacity:1}}.ai-input-area{padding:16px;background:#fff;border-top:1px solid #e2e8f0;display:flex;gap:12px;align-items:flex-end}.ai-input-area textarea{border-radius:12px;border:1px solid #dbe3ee;transition:all .3s ease}.ai-input-area textarea:focus{border-color:#1a73e8;box-shadow:0 0 0 2px #1a73e81a}.ai-input-area button{border-radius:12px;height:40px;font-weight:500}.ai-markdown{font-size:14px;line-height:1.8}.ai-markdown h1,.ai-markdown h2,.ai-markdown h3{font-weight:600;margin:12px 0 8px;color:#1a237e}.ai-markdown h1{font-size:20px}.ai-markdown h2{font-size:18px}.ai-markdown h3{font-size:16px}.ai-markdown p{margin:8px 0}.ai-markdown code{background:#f1f3f4;padding:2px 6px;border-radius:4px;font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;color:#e91e63}.ai-markdown pre{margin:12px 0;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.ai-markdown pre code{background:none;padding:0;color:inherit;font-size:13px}.ai-markdown ul,.ai-markdown ol{margin:8px 0;padding-left:24px}.ai-markdown li{margin:4px 0}.ai-markdown blockquote{border-left:4px solid #1a73e8;margin:12px 0;color:#64748b;font-style:italic;background:#f8fafc;padding:8px 12px;border-radius:4px}.ai-markdown strong{font-weight:600;color:#1a237e}.ai-markdown em{font-style:italic}.ai-markdown table{width:100%;border-collapse:collapse;margin:12px 0;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000000d}.ai-markdown th,.ai-markdown td{border:1px solid #e5e7eb;padding:8px 12px;font-size:13px;text-align:left}.ai-markdown thead th{background:#f8fafc;font-weight:600;color:#1a237e}.ai-markdown a{color:#1a73e8;text-decoration:none;transition:color .2s ease}.ai-markdown a:hover{color:#0d47a1;text-decoration:underline}.ai-messages::-webkit-scrollbar{width:6px}.ai-messages::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.ai-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px;transition:background .2s ease}.ai-messages::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media(max-width:768px){.ai-message-bubble{max-width:85%}}.app-layout{min-height:100vh;background:linear-gradient(135deg,#f0f4ff,#e8f2ff,#f8fafc);background-size:400% 400%;animation:gradientShift 15s ease infinite;position:relative}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.app-layout:before{content:"";position:fixed;inset:0;background:radial-gradient(circle at 20% 80%,rgba(26,115,232,.06) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(102,187,106,.06) 0%,transparent 50%),radial-gradient(circle at 40% 40%,rgba(255,193,7,.04) 0%,transparent 50%);pointer-events:none;z-index:0;animation:floatingBubbles 20s ease-in-out infinite}@keyframes floatingBubbles{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-30px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.9)}}.app-layout:after{content:"";position:fixed;inset:0;background:radial-gradient(circle at 60% 70%,rgba(156,39,176,.03) 0%,transparent 40%),radial-gradient(circle at 30% 30%,rgba(233,30,99,.03) 0%,transparent 40%);pointer-events:none;z-index:0;animation:floatingBubbles 25s ease-in-out infinite reverse}.app-content{position:relative;z-index:1;min-height:calc(100vh - 144px);padding:24px}.app-footer{background:#fff;border-top:1px solid #e2e8f0;padding:24px;text-align:center;position:relative;z-index:1}.footer-content{max-width:1280px;margin:0 auto}.footer-content p{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;color:#4a5568;margin-bottom:16px}.footer-content a{color:#2d3748;text-decoration:none;transition:color .2s;position:relative;padding:0 4px}.footer-content a:after{content:"";position:absolute;bottom:0;left:0;width:0;height:1px;background:#1a73e8;transition:width .3s ease}.footer-content a:hover{color:#1a73e8}.footer-content a:hover:after{width:100%}.footer-icp{margin-top:16px;color:#666;font-size:12px}.footer-icp a{color:#666;margin:0 8px}.layout-left .main-layout{margin-left:220px}.layout-left .app-content{min-height:calc(100vh - 80px)}.layout-top .main-layout{margin-left:0}@media(max-width:768px){.app-content{padding:16px}.layout-left .main-layout{margin-left:0}}.home-container{max-width:1280px;margin:0 auto;padding:0}.hero-section{padding:100px 24px;text-align:center;background:linear-gradient(135deg,#667eea,#764ba2,#f093fb);background-size:200% 200%;animation:heroGradient 10s ease infinite;border-radius:24px;margin-bottom:80px;position:relative;overflow:hidden;box-shadow:0 20px 60px #667eea4d}@keyframes heroGradient{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.hero-section:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.15) 0%,transparent 70%);transform:rotate(15deg);animation:pulse 20s infinite;pointer-events:none}@keyframes pulse{0%,to{transform:rotate(15deg) scale(1);opacity:.8}50%{transform:rotate(15deg) scale(1.1);opacity:1}}.hero-section:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:#ffffff1a;top:-100px;right:-100px;animation:float 15s ease-in-out infinite}@keyframes float{0%,to{transform:translate(0) scale(1)}50%{transform:translate(-50px,50px) scale(1.1)}}.hero-title{font-size:3.5rem!important;margin-bottom:24px!important;color:#fff;text-shadow:0 4px 20px rgba(0,0,0,.2);line-height:1.1;letter-spacing:-.03em;animation:titleFadeIn 1s ease-out}@keyframes titleFadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.hero-subtitle{font-size:1.2rem;color:#fffffff2;max-width:600px;margin:0 auto 40px;line-height:1.7;text-shadow:0 2px 10px rgba(0,0,0,.1);animation:subtitleFadeIn 1s ease-out .2s both}@keyframes subtitleFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.stats-row{margin:48px 0 40px}.stat-card{text-align:center;border-radius:16px;transition:all .3s ease;border:1px solid rgba(26,115,232,.1);background:#ffffffb3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.stat-card:hover{transform:translateY(-5px);box-shadow:0 8px 30px #1a73e826;background:#ffffffe6}.cta-button{height:56px;padding:0 48px;font-size:1.1rem;font-weight:600;border-radius:28px;background:#fff;color:#667eea;border:none;box-shadow:0 8px 25px #ffffff4d;transition:all .3s ease;animation:buttonFadeIn 1s ease-out .4s both}@keyframes buttonFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.cta-button:hover{transform:translateY(-5px) scale(1.05);box-shadow:0 15px 40px #ffffff80;background:#f0f4ff}.features-section{padding:80px 24px;background:#fff;border-radius:24px;margin-bottom:40px}.section-title{text-align:center;font-size:2.5rem!important;color:#1a73e8;margin-bottom:16px!important}.section-subtitle{text-align:center;color:#6b7280;max-width:600px;margin:0 auto 64px;font-size:1rem}.features-grid{margin-top:48px}.feature-card{border-radius:16px;padding:32px;text-align:center;transition:all .3s ease;border:1px solid rgba(26,115,232,.1);height:100%;position:relative;overflow:hidden}.feature-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:#1a73e8;transform:scaleX(0);transition:transform .3s ease}.feature-card:hover:before{transform:scaleX(1)}.feature-card:hover{transform:translateY(-10px);box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.feature-icon{display:flex;justify-content:center;align-items:center;width:80px;height:80px;background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:16px;margin:0 auto 24px;transition:all .3s ease}.feature-card:hover .feature-icon{transform:scale(1.1) rotate(5deg);background:linear-gradient(135deg,#667eea33,#764ba233)}.feature-title{font-size:1.5rem!important;margin-bottom:16px!important;color:#2d3748}.feature-description{color:#6b7280;line-height:1.7;margin:0}@media(max-width:768px){.hero-title{font-size:2.5rem!important}.hero-subtitle{font-size:1rem}.section-title{font-size:2rem!important}.stats-row{margin:32px 0 24px}}@media(max-width:480px){.hero-section{padding:60px 16px}.hero-title{font-size:2rem!important}.cta-button{width:100%;height:48px}}.problems-container{max-width:1600px;margin:0 auto;animation:fadeIn .5s ease-out}.problems-card{border-radius:20px;box-shadow:0 12px 40px #667eea26;background:#fff;border:1px solid rgba(102,126,234,.1);overflow:hidden;transition:all .3s ease}.problems-card:hover{box-shadow:0 16px 50px #667eea33;transform:translateY(-2px)}.page-title{margin-bottom:32px!important;color:#1a237e;font-weight:700;font-size:32px!important;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;position:relative;display:inline-block}.page-title:after{content:"";position:absolute;bottom:-8px;left:0;width:60px;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:2px}.search-container{margin-bottom:24px}.problems-table{margin-top:24px}.problems-table .ant-table-thead>tr>th{background:linear-gradient(135deg,#1a73e80d,#66bb6a0d);font-weight:700;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #1a73e8}.problems-table .ant-table-tbody>tr:hover{background:#1a73e808}.problem-link{color:#1a73e8;font-weight:600;text-decoration:none;transition:all .3s ease}@media(max-width:768px){.problems-table .ant-table-thead>tr>th:nth-child(4),.problems-table .ant-table-tbody>tr>td:nth-child(4),.problems-table .ant-table-thead>tr>th:nth-child(5),.problems-table .ant-table-tbody>tr>td:nth-child(5){display:none}}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.submissions-container{max-width:1600px;margin:0 auto;animation:fadeIn .5s ease-out}.submissions-card{border-radius:16px;box-shadow:0 8px 32px #0000001a;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.page-title{margin-bottom:24px!important;color:#2d3748;font-weight:600}.filter-container{margin-bottom:24px}.submissions-table{margin-top:24px}.submissions-table .ant-table-thead>tr>th{background:linear-gradient(135deg,#1a73e80d,#66bb6a0d);font-weight:700}.submissions-table .ant-table-tbody>tr:hover{background:#1a73e808}.problem-link{color:#1a73e8;font-weight:600;text-decoration:none}.problem-link:hover{color:#0d47a1;text-decoration:underline}.pagination-container{margin-top:32px;display:flex;justify-content:center}.ranklist-container{max-width:1000px;margin:0 auto}.ranklist-card{border-radius:16px;box-shadow:0 8px 32px #0000001a;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ranklist-header{text-align:center;padding:24px;background:linear-gradient(135deg,#f1f5f9,#bbdefb);border-radius:16px 16px 0 0;color:#fff;margin:-24px -24px 32px}.page-title{color:#1a237e!important;margin-bottom:8px!important;margin-top:-8px!important}.header-subtitle{color:#475569;margin:0;font-size:14px;font-weight:500}.top-rankings{margin:48px 0}.top-rank-card{text-align:center;border-radius:16px;transition:all .3s ease;height:100%}.top-rank-card.rank-1{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:2px solid #fde68a;transform:scale(1.05)}.top-rank-card.rank-2{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:2px solid #cbd5e1}.top-rank-card.rank-3{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fecaca}.top-rank-card.current-user{border:2px dashed #3b82f6;position:relative}.top-rank-card.current-user:after{content:"你";position:absolute;top:-8px;right:16px;background:#3b82f6;color:#fff;font-size:12px;padding:0 6px;border-radius:10px;font-weight:700}.top-rank-card:hover{transform:translateY(-5px) scale(1.02);box-shadow:0 10px 25px #00000026}.medal-icon{margin-bottom:16px}.top-rank-name{font-size:20px;font-weight:700;margin-bottom:8px;color:#2d3748}.top-rank-id{font-size:14px;color:#6b7280;margin-bottom:16px}.top-rank-stats{background:#fff;border-radius:20px;padding:8px 16px;display:inline-block;font-weight:600;color:#2d3748}.pass-count{color:#66bb6a;font-size:18px}.ranking-list{margin-top:32px}.current-user-row{background:#3b82f61a!important;border:2px dashed #3b82f6}.current-user-row:before{content:"你";position:absolute;left:-30px;background:#3b82f6;color:#fff;font-size:12px;padding:2px 6px;border-radius:4px;font-weight:700}@media(max-width:768px){.top-rank-card.rank-1{transform:scale(1)}.top-rankings{margin:32px 0}}.competitions-container{max-width:1600px;margin:0 auto;padding:24px;animation:fadeIn .5s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.competitions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px;padding:32px;background:linear-gradient(135deg,#f1f5f9,#bbdefb);border-radius:20px;box-shadow:0 12px 40px #667eea4d}.page-title{font-size:3rem!important;font-weight:700;color:#1a237e!important;text-shadow:0 2px 8px rgba(0,0,0,.1);letter-spacing:-.025em;margin:0!important;position:relative;animation:titleSlideIn .6s ease-out}@keyframes titleSlideIn{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.competitions-header .ant-space{animation:controlsFadeIn .6s ease-out .2s both}@keyframes controlsFadeIn{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.competitions-header .ant-checkbox-wrapper{color:#1e293b;font-weight:500}.competitions-header .ant-btn{background:#fffc;border:1px solid rgba(0,0,0,.1);color:#1e293b;font-weight:600}.competitions-header .ant-btn:hover{background:#fff;border-color:#0003;transform:translateY(-2px);color:#1a237e}.competitions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:28px}.competition-card{border-radius:20px;box-shadow:0 8px 32px #667eea1f;background:#fff;border:1px solid rgba(102,126,234,.1);transition:all .4s cubic-bezier(.4,0,.2,1);overflow:hidden;position:relative}.competition-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.competition-card:hover:before{transform:scaleX(1)}.competition-card:hover{transform:translateY(-12px);box-shadow:0 20px 50px #667eea40;border-color:#667eea4d}.competition-header-section{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.competition-icon{width:56px;height:56px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;flex-shrink:0;box-shadow:0 8px 20px #667eea4d;transition:all .3s ease}.competition-card:hover .competition-icon{transform:scale(1.1) rotate(5deg);box-shadow:0 12px 28px #667eea66}.competition-title-section{flex:1}.competition-title{margin-bottom:12px!important;color:#1e293b}.status-tag{font-size:14px;padding:4px 12px;border-radius:8px}.competition-info{margin-bottom:16px}.info-item{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.progress-section{margin-top:16px}.progress-text{display:block;margin-top:8px;font-size:12px}.card-footer-content{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 8px}.participants{display:flex;align-items:center;gap:8px;color:#64748b;font-size:14px}@media(max-width:1200px){.competitions-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media(max-width:768px){.competitions-container{padding:16px}.competitions-header{flex-direction:column;align-items:flex-start;gap:16px;padding:24px}.page-title{font-size:2rem!important}.competitions-grid{grid-template-columns:1fr;gap:20px}.competition-header-section{flex-direction:column}.card-footer-content{flex-direction:column;gap:12px;align-items:stretch}}.competition-detail{min-height:calc(100vh - 64px);background:#f5f5f5}.competition-ranklist{min-height:calc(100vh - 64px);background:#f5f5f5}.competition-submissions{min-height:calc(100vh - 64px);background:#f5f5f5}.competition-nav{background:#fff;box-shadow:0 2px 8px #0000001a;padding:16px 24px;margin-bottom:24px;display:flex;justify-content:center}.nav-button{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:6px;transition:all .3s}.nav-button:hover{background:#1a73e81a;color:#1a73e8}.nav-button.active{background:#1a73e8;color:#fff}.info-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:box-shadow .3s}.info-card:hover{box-shadow:0 4px 12px #00000026}.notifications-page{max-width:1100px;margin:0 auto;padding:24px 0}.notifications-card{border-radius:16px;box-shadow:0 12px 32px #0f172a14}.notifications-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.notifications-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px}.notifications-filters .ant-input,.notifications-filters .ant-select{min-width:220px}.notifications-list .notification-item{padding:16px;border-radius:12px;margin-bottom:12px;border:1px solid rgba(226,232,240,.8);transition:all .2s ease}.notifications-list .notification-item.unread{border-left:4px solid #1a73e8;background:#1a73e808}.notifications-list .notification-item:hover{box-shadow:0 6px 20px #0f172a14;transform:translateY(-2px)}.notification-description{margin-bottom:0;color:#4b5563}.notifications-pagination{margin-top:24px;display:flex;justify-content:center}@media(max-width:768px){.notifications-filters{flex-direction:column}.notifications-filters .ant-input,.notifications-filters .ant-select{width:100%}}.notification-detail-container{max-width:900px;margin:0 auto;padding:24px 0}.notification-detail-card{border-radius:16px;box-shadow:0 12px 32px #0f172a14}.notification-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.detail-title{margin:0!important}.notification-detail-body{display:flex;flex-direction:column;gap:16px}.detail-status{display:flex;flex-wrap:wrap}.detail-description{font-size:16px;line-height:1.8;color:#374151;white-space:pre-wrap}.settings-container{max-width:1200px;margin:0 auto;padding:24px}.settings-layout{background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001a;overflow:hidden;min-height:600px}.settings-sidebar{background:linear-gradient(145deg,#f8f9fa,#e9ecef);border-right:1px solid rgba(0,0,0,.05)}.sidebar-title{padding:24px;margin:0!important;color:#2b2d42;border-bottom:1px solid rgba(0,0,0,.05)}.settings-menu{border-right:none;background:transparent}.settings-menu .ant-menu-item{margin:8px 16px;border-radius:8px;transition:all .3s ease}.settings-menu .ant-menu-item-selected{background:#1a73e8;color:#fff}.settings-menu .ant-menu-item:hover{background:#1a73e81a}.settings-content{padding:32px;background:#fff}.setting-card{border:none;box-shadow:none}.section-title{margin-bottom:32px!important;padding-bottom:16px;border-bottom:2px solid #1a73e8;color:#2b2d42}.avatar-section{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:32px}.avatar-note{font-size:14px;color:#999}@media(max-width:768px){.settings-layout{flex-direction:column}.settings-sidebar{width:100%!important;border-right:none;border-bottom:1px solid #eee}.settings-menu{display:flex;flex-direction:row;overflow-x:auto}.settings-content{padding:24px}}.about-container{max-width:1200px;margin:0 auto;padding:0 24px}.hero-section{background:linear-gradient(135deg,#e0f2fe,#dbeafe,#eff6ff);padding:80px 24px;text-align:center;border-radius:24px;margin-bottom:48px;position:relative;overflow:hidden}.hero-section:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(26,115,232,.05) 0%,transparent 70%);pointer-events:none}.hero-content{position:relative;z-index:1}.hero-title{font-size:3.5rem!important;margin-bottom:24px!important;line-height:1.2}.text-gradient{background:linear-gradient(90deg,#3b82f6,#60a5fa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-subtitle{font-size:1.2rem;color:#4a5568;max-width:800px;margin:0 auto;line-height:1.7}.content-card{margin-bottom:48px;border-radius:16px;box-shadow:0 8px 32px #0000001a}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:24px!important;color:#1a73e8}.content-text{color:#4a5568;line-height:1.8}.languages-grid{margin-top:32px}.language-card{text-align:center;border-radius:12px;transition:all .3s ease}.language-card:hover{transform:translateY(-5px);box-shadow:0 8px 24px #0000001f}.language-icon{width:64px;height:64px;background:linear-gradient(135deg,#e0f2fe,#bbdefb);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:24px;font-weight:700;color:#1a73e8}.features-grid{margin-top:32px}.feature-card{text-align:center;border-radius:16px;height:100%;transition:all .3s ease}.feature-card:hover{transform:translateY(-8px);box-shadow:0 12px 32px #0000001f}.feature-icon-wrapper{width:120px;height:120px;background:linear-gradient(135deg,#3b82f6,#60a5fa);border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;color:#fff}.stats-section{margin:64px 0;padding:48px 24px;background:#f8fafc;border-radius:24px}.stat-card{text-align:center;border-radius:12px;transition:all .3s ease}.stat-card:hover{transform:translateY(-5px);box-shadow:0 8px 24px #0000001f}.back-to-top{position:fixed;bottom:32px;right:32px;z-index:1000;box-shadow:0 4px 12px #00000026}@media(max-width:768px){.hero-title{font-size:2.5rem!important}.hero-subtitle{font-size:1rem}}.user-profile-container{max-width:1000px;margin:0 auto;padding:24px}.profile-card{margin-bottom:24px;border-radius:16px;box-shadow:0 8px 32px #0000001a;background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.profile-header{display:flex;justify-content:space-between;align-items:center;gap:32px}.profile-left{display:flex;align-items:center;gap:24px}.profile-info{display:flex;flex-direction:column;gap:8px}.user-name{margin:0!important;color:#1e293b}.user-signature{font-size:16px;color:#64748b}.profile-stats{display:flex;gap:16px}.stat-card{min-width:120px;text-align:center;border-radius:12px;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.problems-card{border-radius:16px;box-shadow:0 8px 32px #0000001a}.problems-title{margin-bottom:24px!important;color:#1e293b}.problem-item{border-bottom:1px solid #e2e8f0;padding:12px 0!important;transition:all .3s ease}.problem-item:hover{background:#f8fafc;border-radius:8px;padding-left:8px!important}.problem-link{display:flex;align-items:center;gap:12px;width:100%;color:#4a5568;text-decoration:none;transition:all .3s ease}.problem-link:hover{color:#1a73e8}.problem-id{font-family:monospace;font-size:14px}.arrow-icon{margin-left:auto;color:#cbd5e1;transition:all .3s ease}.problem-link:hover .arrow-icon{color:#1a73e8;transform:translate(4px)}.empty-state{text-align:center;padding:40px;color:#94a3b8}@media(max-width:768px){.profile-header{flex-direction:column;align-items:flex-start}.profile-stats{width:100%;justify-content:space-around}.stat-card{flex:1}}.admin-users{max-width:1400px;margin:0 auto}.admin-problems{max-width:1400px;margin:0 auto}.admin-solves{max-width:1400px;margin:0 auto}.admin-competitions{max-width:1400px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.admin-layout{min-height:100vh}.admin-sidebar{background:#fff;box-shadow:2px 0 8px #0000001a}.admin-logo{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 16px;border-bottom:1px solid #e2e8f0}.admin-menu{border-right:none;padding:16px 0}.admin-menu .ant-menu-item{margin:8px 16px;border-radius:8px;transition:all .3s ease}.admin-menu .ant-menu-item-selected{background:#1a73e8;color:#fff}.admin-menu .ant-menu-item:hover{background:#1a73e81a}.admin-header{background:#fff;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;align-items:center;padding:0 24px}.admin-user-info{display:flex;align-items:center}.admin-content{background:#f5f5f5;padding:24px;min-height:calc(100vh - 64px)}.problem-detail-container{max-width:1200px;margin:0 auto;padding:24px 16px 48px}.problem-card{border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:24px 28px}.problem-header{margin-bottom:24px}.problem-meta{display:flex;gap:16px;align-items:center;margin-top:16px}.problem-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:16px}.meta-card{border:1px solid rgba(26,115,232,.12);border-radius:12px;padding:12px 16px;background:#1a73e805}.problem-tags{margin-bottom:16px}.problem-section{margin-bottom:32px}.problem-pre{background:#0f172a;color:#e2e8f0;padding:16px;border-radius:12px;font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-x:auto}.samples-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:24px}.samples-grid .sample-card{border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:16px;background:#0f172a05}.editor-card{border-radius:16px;box-shadow:0 12px 32px #0f172a14}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 0 20px}.editor-actions{margin-top:16px;display:flex;justify-content:flex-end}.editor-result{margin-top:16px;display:flex;flex-direction:column;gap:12px}.code-textarea{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:15px;line-height:1.6;border-radius:12px;border:1px solid rgba(15,23,42,.2);padding:16px;background:#0f172a05}.comment-card{border-radius:16px}.comment-editor{display:flex;flex-direction:column;gap:12px}.comment-toolbar{display:flex;justify-content:space-between;align-items:center}.comment-list{max-height:600px;overflow-y:auto}.comment-item{border:1px solid rgba(15,23,42,.08);border-radius:12px;padding:16px;margin-bottom:16px;background:#f8fafcb3}.comment-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.comment-meta{display:flex;flex-direction:column;gap:4px;min-width:160px}.comment-author{font-weight:600;color:#0f172a}.comment-time{font-size:12px;color:#94a3b8}.comment-item-content p{margin-bottom:8px}.comment-children{border-left:2px solid rgba(26,115,232,.2);margin-left:32px;padding-left:16px;margin-top:12px}.reply-target{padding:8px 12px;background:#1a73e814;border-radius:8px;display:flex;justify-content:space-between;align-items:center;color:#1a73e8}@media(max-width:768px){.problem-meta-grid{grid-template-columns:1fr 1fr}.samples-grid{grid-template-columns:1fr}.editor-toolbar{flex-direction:column;align-items:flex-start;gap:12px}}.solution-page{max-width:1200px;margin:0 auto;padding:24px 16px 48px}.solution-card{border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:24px 28px}.solution-header{margin-bottom:24px}.solution-meta{display:flex;gap:16px;align-items:center;margin-top:16px}.solution-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:16px}.solution-meta-card{border:1px solid rgba(26,115,232,.12);border-radius:12px;padding:12px 16px;background:#1a73e805}.solution-meta-label{display:block;font-size:13px;color:#64748b}.solution-meta-value{font-size:20px;font-weight:600;color:#1f2937;margin-top:4px}.solution-card-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px}.solution-card-list .ant-card{border-radius:16px;box-shadow:0 8px 32px #00000014;transition:transform .2s ease,box-shadow .2s ease}.solution-card-list .ant-card:hover{transform:translateY(-2px);box-shadow:0 12px 40px #0000001f}.solution-card-title{font-size:18px;font-weight:600;margin-bottom:8px}.solution-card-content{color:#4b5563;margin-bottom:12px}.solution-detail-container{max-width:1200px;margin:0 auto;padding:24px 16px 48px}.solution-detail-card{border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:24px 28px}.solution-detail-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:24px}.solution-publish-container{max-width:1200px;margin:0 auto;padding:24px 16px 48px}.solution-publish-card{border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:24px 28px}.solution-publish-card textarea{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:15px;line-height:1.6;border-radius:12px;border:1px solid rgba(15,23,42,.2);padding:16px;background:#0f172a05}.solution-publish-card textarea:focus{border-color:#1a73e8;box-shadow:0 0 0 2px #1a73e81a}.solution-preview{min-height:200px;background:#0f172a;color:#e2e8f0;border-radius:12px;padding:16px;overflow:auto}.solution-preview .markdown-body{color:inherit}.solution-preview .markdown-body pre{background:#0f172ab3}.markdown-body{font-size:16px;line-height:1.9;color:#1f2933}.markdown-body p{margin-bottom:12px}.markdown-body code{background:#0f172a14;padding:2px 6px;border-radius:6px;font-size:14px}.markdown-body pre{background:#0f172a;color:#e2e8f0;padding:16px;border-radius:12px;overflow-x:auto}@media(max-width:768px){.solution-page,.solution-detail-container,.solution-publish-container{padding:16px 12px 32px}.solution-meta-grid,.solution-detail-meta{grid-template-columns:1fr 1fr}.solution-card-list{grid-template-columns:1fr}}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*{box-sizing:border-box}body{margin:0;padding:0;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}#root{min-height:100vh}
