:root{color:#f5f5f5;background-color:#181818;font-family:Lexend,sans-serif}html{scrollbar-gutter:stable}body{background-position:50%;background-repeat:no-repeat;background-size:cover;background-attachment:fixed;min-width:320px;min-height:100vh;margin:0}#root{background:#111114;min-height:100vh}.navbar{z-index:1000;background:#1c1c1f;border-radius:30px;justify-content:space-between;align-items:center;width:calc(100% - 24px);max-width:1450px;height:58px;padding:0 16px;display:flex;position:fixed;top:8px;left:50%;transform:translate(-50%);box-shadow:0 12px 30px #0000004d,0 1px #0003}.navbar-brand{align-items:center;gap:12px;display:flex}.menu-button{color:#696969;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:flex}.menu-button svg{width:28px;height:28px;display:block}.menu-button:hover{color:#6b8}.sidebar-overlay{z-index:999;opacity:0;pointer-events:none;background:#0000007a;transition:opacity .22s;position:fixed;inset:0}.sidebar-overlay.open{opacity:1;pointer-events:auto}.sidebar{opacity:0;transform-origin:0 0;pointer-events:none;background:linear-gradient(145deg,#202023,#151518);border:none;border-radius:18px;flex-direction:column;gap:8px;width:260px;max-width:calc(100vw - 24px);padding:14px;transition:transform .22s,opacity .18s;display:flex;position:absolute;top:74px;left:max(12px,50vw - 725px);transform:translateY(-12px)scale(.98);box-shadow:0 18px 48px #0000007a}.sidebar-overlay.open .sidebar{opacity:1;pointer-events:auto;transform:translateY(0)scale(1)}.sidebar a{color:#f5f5f5;border-radius:10px;padding:14px 16px;text-decoration:none;transition:color .16s,background-color .16s;display:block}.sidebar a:hover,.sidebar a:focus-visible{color:#f5a86c;background:#f5a86c1a;outline:none}.sidebar-divider{border:0;border-top:1px solid #ffffff1a;width:calc(100% - 16px);margin:0 auto}.logo{color:#f5a86c;font-size:1.4rem;font-weight:700;text-decoration:none}.logo img{width:140px;height:auto;margin-top:3%}.profile-icon{width:36px;height:36px;display:block}.nav-links{align-items:center;gap:24px;display:flex}.nav-links a{color:#696969;border-radius:999px;padding:8px 12px;text-decoration:none;transition:color .2s,background-color .2s}.nav-links a.active{color:#f5a86c;background:#292929}.nav-links a:hover{background:#292929}.hero{text-align:center;background-image:url(/homebg2.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;display:flex}.hero h1{color:#f5a86c;margin:0 0 16px;font-size:clamp(2rem,8vw,4rem)}.hero p{color:#cfcfcf;margin:0;font-size:clamp(.95rem,3vw,1.2rem);line-height:1.8}.hero-buttons-container{flex-direction:column;align-items:center;display:flex}.start-buttons{flex-wrap:wrap;justify-content:center;gap:16px;margin-bottom:32px;display:flex}.problem-buttons{gap:20px;display:flex}.hero-buttons{color:#181818;background-color:#f5a86c;border-radius:8px;margin-top:32px;padding:12px 24px;font-weight:700;text-decoration:none;transition:all .2s}.hero-buttons:hover{background-color:#6b8;transform:translateY(-3px);box-shadow:0 6px 18px #66bb8840}.auth-page{background-image:url(/homebg2.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;justify-content:center;align-items:center;min-height:100vh;padding:32px;display:flex}.auth-card{text-align:left;color:#f5a86c;background:#1c1c1f;border:1px solid #ffffff1f;border-radius:12px;width:100%;max-width:480px;margin-top:36px;padding:32px;box-shadow:0 20px 50px #00000073,0 4px 12px #00000040}.auth-card h1{margin:0 0 8px;font-size:2rem}.auth-card>p{color:#a8a8a8;margin:0 0 32px}.form-group{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.form-group label{font-size:.95rem;font-weight:700}.form-group input{color:#f5f5f5;background-color:#222;border:1px solid #333;border-radius:6px;padding:12px 14px;font-size:1rem}.form-group input:focus{border-color:#f5a86c;outline:none}.auth-card button{color:#181818;cursor:pointer;background-color:#f5a86c;border:none;border-radius:8px;width:100%;margin-top:32px;padding:10px 0;font-size:16px;font-weight:700;transition:all .2s}.auth-card button:hover{background-color:#6b8;transform:translateY(-3px);box-shadow:0 6px 18px #66bb8840}.auth-card span{color:#aeb4b6;font-size:12px;display:block}.auth-divider{color:#888;align-items:center;gap:12px;margin-top:26px;font-size:12px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#444;flex:1;height:1px}.auth-card .google-button{cursor:pointer;width:28px;height:28px;box-shadow:none;background:0 0;border:none;border-radius:0;justify-content:center;align-items:center;margin:14px auto 0;padding:0;transition:transform .2s;display:flex;position:relative;top:8px}.auth-card .google-button:hover{box-shadow:none;background:0 0;transform:scale(1.15)}.auth-card .google-button img{width:22px;height:22px;display:block}.error-message{color:#ffb3b3;text-align:center;background-color:#d9534f26;border:1px solid #d9534f;border-radius:8px;margin-bottom:16px;padding:12px 16px}.problems-page{box-sizing:border-box;flex-direction:column;max-width:1150px;height:100vh;margin:0 auto;padding:96px 32px 24px;display:flex}.problems-page h1{text-shadow:2px 2px 6px #000c;margin-bottom:58px}.search-container{flex-shrink:0;align-items:center;gap:10px;width:100%;max-width:350px;margin:20px auto;display:flex}.search-icon{flex-shrink:0;width:28px;height:28px}.search-container input{color:#fff;background:#222;border:none;border-radius:28px;flex:1;width:380px;min-width:0;padding:10px 14px;font-family:inherit;font-size:14px}.search-container input:focus{border-color:#f5a86c;outline:none}.problem-list{box-sizing:border-box;scrollbar-width:none;flex-direction:column;flex:1;gap:12px;max-width:1120px;min-height:0;margin-top:30px;display:flex;overflow-y:auto}.problem-card{color:#6b8;background:#292929;border:1px solid #101010;border-radius:28px;justify-content:space-between;align-items:center;padding:16px 20px;text-decoration:none;display:flex;box-shadow:0 16px 40px #00000052,0 2px 8px #0000002e,0 1px #00000059}.problem-card:hover{border-color:#f5a86c}.problem-heading{align-items:center;gap:14px;min-width:0;display:flex}.problem-id{box-sizing:border-box;color:#f5f5f5;font-variant-numeric:tabular-nums;background:#222;border:none;border-radius:999px;flex:none;justify-content:center;align-items:center;min-width:24px;height:24px;padding:0 10px;font-size:.85rem;font-weight:600;display:inline-flex}.problem-title{color:#f5f5f5;font-weight:400}.problem-difficulty{color:#a8a8a8}.problem-difficulty.difficulty-easy{color:#00af9b}.problem-difficulty.difficulty-medium{color:#ffb800}.problem-difficulty.difficulty-hard{color:#ff375f}.skeleton-card{border-radius:28px;align-items:center;padding:16px 20px;display:flex}.skeleton{background:linear-gradient(90deg,#292e30 25%,#383e40 50%,#292e30 75%) 0 0/200% 100%;border-radius:8px;animation:1.5s ease-in-out infinite skeleton-shimmer}.skeleton-icon{border-radius:30px;width:24px;height:24px}.skeleton-content{flex:1}.skeleton-title{width:55%;height:15px;margin-left:2px}.skeleton-content{flex:1;min-width:0}.skeleton-tags{flex:0 0 80px;justify-content:flex-end;margin-left:auto;display:flex}.skeleton-tag{flex-shrink:0;width:50px;height:18px}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.problem-details{box-sizing:border-box;flex-direction:column;max-width:900px;min-height:100vh;margin:0 auto;padding:118px 60px 26px;display:flex;position:relative}.problem-details-card{text-align:left;background:#1c1c1f;border:none;border-radius:30px;width:100%;padding:22px 24px}.problem-details-header{grid-template-columns:1fr auto;align-content:center;padding:12px 8px;display:grid}.problem-details h1{align-self:center;margin:0}.problem-link{color:#bdbdbd;cursor:pointer;background:#292929;border-radius:30px;justify-content:center;place-self:center end;padding:8px 12px;font-family:inherit;font-size:12px;transition:all .2s}.problem-link img{width:20px;height:20px}.problem-link:hover{color:#181818;background:#f5a86c}.problem-details-difficulty{color:#6b8;grid-column:1;margin:6px 0 0;font-size:14px;font-weight:600}.problem-description{color:#cfcfcf;max-width:900px;min-height:250px;margin-top:32px;padding:0 12px;font-size:16px;line-height:1.7}.problem-description p{margin:0 0 18px}.problem-description code{background:#2a2a2a;border-radius:4px;padding:2px 6px;font-family:monospace;font-size:.9em}.problem-description strong{font-weight:700}.problem-description em{font-style:italic}.problem-meta{align-items:center;gap:18px;margin:18px 0 28px;font-size:14px;display:flex}.problem-stats{justify-content:space-between;align-items:center;margin-bottom:40px;display:flex}.problem-likes,.problem-dislikes{background:#292929;border-radius:30px;justify-content:center;align-items:center;gap:6px;min-width:80px;height:30px;padding:0 10px;font-family:inherit;font-size:12px;display:flex}.problem-likes{color:#6b8}.problem-dislikes{color:#e57373}.problem-likes img,.problem-dislikes img{object-fit:contain;width:18px;height:18px}.problem-details button{color:#181818;cursor:pointer;background-color:#f5a86c;border:none;border-radius:8px;width:100%;max-width:400px;margin:auto auto 20px;padding:14px 20px;font-size:1.1rem;font-weight:700;transition:all .2s;display:block}.problem-details-buttons:hover{background-color:#6b8;transform:translateY(-3px);box-shadow:0 6px 18px #66bb8840}.add-problem-modal{color:#cfcfcf;background:#1c1c1f;border:1px solid #ffffff1f;border-radius:14px;width:calc(100% - 32px);max-width:420px;padding:28px;box-shadow:0 20px 50px #00000080}.add-problem-modal h2{color:#f5a86c;margin:0 0 16px;font-size:22px}.add-problem-modal p{color:#b8b8b8;margin:0;line-height:1.7}.add-problem-modal strong{color:#f5f5f5}.add-problem-actions{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}.add-problem-actions button{cursor:pointer;border:none;border-radius:8px;padding:10px 18px;font-family:inherit;font-weight:600}.cancel-add{color:#cfcfcf;background:#292929}.confirm-add{color:#181818;background:#f5a86c}.add-problem-actions button:disabled{opacity:.6;cursor:not-allowed}@media (hover:hover) and (pointer:fine){.cancel-add:hover{background:#383838}.confirm-add:hover{background:#6b8}}.profile-page{grid-template-columns:370px 1fr;align-items:start;column-gap:20px;width:100%;min-height:100vh;padding:118px 60px 26px;display:grid;position:relative}@media (width<=918px){.profile-page{grid-template-columns:1fr}}*{box-sizing:border-box}.profile-left{flex-direction:column;align-items:center;gap:40px;min-width:0;margin-left:30px;display:flex}.profile-card{text-align:left;color:#6b8;background:#1c1c1f;border:none;border-radius:12px;width:100%;padding:22px 24px;box-shadow:0 16px 40px #00000052,0 2px 8px #0000002e,0 1px #00000059}.card-divider{border:none;border-top:1px solid #444;margin:4px 0 14px}.profile-card h1{color:#f5a86c;margin-bottom:14px}.profile-card h2{color:#f5a86c;margin-bottom:8px}.profile-card p{color:#696969;margin:0}.profile-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.profile-info{justify-content:flex-start;align-items:center;gap:6px;display:flex}.profile-info h1{margin-right:0;font-size:20px}.username-badge{margin:4px 0 0}.profile-info h3{color:#696969;margin:10px 0 2px;font-size:12px}.edit-profile-icon{color:#bdbdbd;cursor:pointer;background:0 0;border-radius:30px;margin:22px 0 15px;padding:9px 12px;font-family:inherit;font-size:12px}.edit-profile-icon:hover{color:#6b8;background:#f5a86c14;transition:transform .2s,background .2s;transform:scale(1.1)}.about-section{margin-bottom:40px}.about-section p{color:#b8b8b8;font-size:14px}.social-links{flex-direction:column;gap:10px;display:flex}.social-links a{border-radius:7px;justify-content:flex-start;align-items:center;gap:10px;width:100%;height:32px;text-decoration:none;transition:transform .2s,background .2s;display:flex}.social-links a img{object-fit:contain;flex-shrink:0;width:20px;height:20px;transition:transform .2s,opacity .2s}.social-links a span{color:#b8b8b8;font-size:14px;line-height:1;transition:color .2s}.social-links a:hover{background:#f5a86c14;transform:translateY(-2px)}.social-links a:hover img{transform:scale(1.1)}.modal-overlay{z-index:2000;background:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.edit-profile-modal{box-sizing:border-box;scrollbar-width:none;background:linear-gradient(145deg,#191c1efa,#05080afa);border-radius:14px;width:100%;max-width:500px;max-height:90vh;padding:28px;overflow-y:auto;box-shadow:0 10px 40px #00000080}.edit-profile-modal h2{color:#f5f5f5;margin:0 0 24px;font-size:22px}.edit-profile-modal form{flex-direction:column;gap:8px;display:flex}.edit-profile-modal label{color:#f5a86c;margin-top:8px;font-size:14px;font-weight:500}.edit-profile-modal input,.edit-profile-modal textarea{box-sizing:border-box;color:#f5f5f5;background:#111;border:1px solid #333;border-radius:8px;outline:none;width:100%;padding:11px 12px;font-family:inherit;font-size:14px;transition:border-color .2s}.edit-profile-modal input:focus,.edit-profile-modal textarea:focus{border-color:#f5a86c}.edit-profile-modal textarea{resize:vertical;min-height:100px}.edit-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.edit-actions button{cursor:pointer;border:none;border-radius:7px;padding:9px 16px;font-family:inherit;font-size:14px}.edit-actions button[type=button]{color:#ccc;background:#292929}.edit-actions button[type=submit]{color:#101010;background:#f5a86c}.edit-actions button[type=submit]:hover{background-color:#6b8;box-shadow:0 6px 18px #66bb8840}.profile-right{flex-direction:column;align-items:center;gap:20px;min-width:0;margin-right:30px;display:flex}.profile-stats{justify-content:space-between;gap:20px;margin-top:32px;display:flex}.stat-box{text-align:center;flex:1;padding:0}.stat{border:2px solid #333;border-radius:60px;padding:20px}.stat h1{color:#cfcfcf;text-shadow:0 0 8px #aeb4b6;margin:0;font-size:2.5rem}.stat h2{color:#a8a8a8;margin:0;font-size:1.5rem}.stat-icons{margin:30px auto auto}.revision-progress{margin-top:32px;padding-top:24px}.streak-stats{justify-content:space-between;margin-bottom:28px;display:flex}.streak-stat{flex-direction:column;gap:6px;display:flex}.streak-label{color:#696969;font-size:.9rem}.heatmap-container{border:none;border-radius:8px;width:100%;padding:18px 12px;overflow-x:auto}.month-labels{color:#a8a8a8;grid-auto-columns:18px;column-gap:4px;width:max-content;margin-bottom:6px;display:grid}.month-labels span:not(:first-child):not(:last-child){transform:translate(22px)}.heatmap{grid-template-rows:repeat(7,22px);grid-auto-columns:18px;column-gap:4px;width:max-content;display:grid}.heatmap-cell{border:none;border-radius:5px;justify-content:center;align-items:center;width:18px;height:18px;font-size:8px;display:flex}.level-0{background:#333}.level-1{background:#0e4429}.level-2{background:#22a447}.level-3{background:#39d353}.level-4{background:#6ee787}.heatmap-container::-webkit-scrollbar{height:8px}.heatmap-container::-webkit-scrollbar-track{background:#222}.heatmap-container::-webkit-scrollbar-thumb{background:#444;border-radius:999px}.heatmap-container::-webkit-scrollbar-thumb:hover{background:#696969}.revision-progress-title{justify-content:flex-start;align-items:center;gap:6px;display:flex}.revision-progress-title h2{color:#f5a86c;margin:0 0 20px;font-size:24px;font-weight:400}.revision-icon{margin-bottom:20px}.progress-info{flex-wrap:wrap;gap:28px;display:flex}.progress-item{flex-direction:column;align-items:center;padding:0 28px;display:flex}.revision-count{color:#cfcfcf;text-align:center;width:100%;max-width:150px;margin-top:8px;padding:0;font-size:20px;font-weight:700}.revision-count span{color:#a8a8a8;text-align:center;font-size:14px}.revision-count p{text-align:center;margin-top:4px;font-size:14px}.revision-percentage{color:#aeb4b6;margin-top:4px;margin-left:50%;font-size:14px}.progress-ring{width:140px;height:140px;margin:80px 0 16px;transition:transform .3s;position:relative;overflow:visible}.progress-ring svg{transition:transform .2s;overflow:visible;transform:rotate(-90deg)}.progress-ring svg:hover{transform:rotate(-90deg)scale(1.1)}.progress-ring-bg{fill:none;stroke:#2a2f31;stroke-width:7px}.progress-ring-fill{fill:none;stroke:#6b8;stroke-width:7px;stroke-linecap:round;stroke-dasharray:377;transition:stroke-dashoffset .8s}.progress-text{color:#aeb4b6;font-size:24px;font-weight:500;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.logout-button{color:#222;cursor:pointer;background:#f5a86c;border:none;border-radius:8px;margin-top:60px;margin-bottom:24px;padding:10px 28px;font-family:inherit;font-size:1rem;font-weight:600;transition:all .2s}.logout-button:hover{background-color:#6b8;transform:translateY(-3px);box-shadow:0 6px 18px #66bb8840}.logout-button:active{transform:scale(.97)}.user-problems-page{box-sizing:border-box;flex-direction:column;width:100%;max-width:1150px;height:100dvh;margin:0 auto;padding:96px 32px 24px;display:flex;overflow:hidden}.user-problems-page h1{text-shadow:2px 2px 6px #000c;width:95%;margin:0 auto 32px}.user-problem-list{scrollbar-width:none;flex-direction:column;flex:1;gap:16px;min-height:0;display:flex;overflow-y:auto}.user-problem-card{color:#6b8;background:#1c1c1f;border:none;border-radius:14px;flex:none;grid-template-columns:minmax(0,1fr) 112px;align-items:stretch;width:95%;min-height:120px;margin:0 auto;text-decoration:none;display:grid;overflow:hidden;box-shadow:0 12px 30px #00000059,0 3px 8px #0003}.user-problem-content{min-width:0;padding:20px 24px}.user-problem-link{text-decoration:none}.user-problem-card h2{color:#cfcfcf;margin:0;font-size:1.25rem;text-decoration:none}.user-problem-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.user-problem-title-group{flex:1;align-items:center;gap:10px;min-width:0;margin-bottom:20px;display:flex}.user-problem-title-group .user-problem-link{flex:1;min-width:0}.user-problem-id-pill{color:#f5a86c;font-variant-numeric:tabular-nums;flex:none;justify-content:center;min-width:38px;font-weight:600}.user-problem-pills{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.user-problem-next-revision{text-align:right;margin-left:auto}.user-problem-pill{color:#cfcfcf;background:#ffffff0d;border:none;border-radius:999px;align-items:center;max-width:100%;padding:6px 12px;font-size:.9rem;line-height:1.35;display:inline-flex}.user-problem-difficulty{flex:none;font-weight:600}.user-problem-pill-value{border-left:1px solid #fff3;margin-left:8px;padding-left:8px}.user-problem-difficulty.difficulty-easy{color:#00af9b;background:#00af9b1f;border-color:#00af9b73}.user-problem-difficulty.difficulty-medium{color:#ffb800;background:#ffb8001f;border-color:#ffb80073}.user-problem-difficulty.difficulty-hard{color:#ff375f;background:#ff375f1f;border-color:#ff375f73}.user-problem-revision-count{color:#6b8;font-weight:600}.revise-button{color:#cfcfcf;cursor:pointer;background:#ffffff0d;border:none;border-left:1px solid #ffffff1f;border-radius:0;align-self:stretch;width:100%;padding:12px;font-family:inherit;font-size:18px;font-weight:800;transition:background-color .2s,color .2s}.revise-button:hover{color:#ffd0a9;background-color:#f5a86c38}@media (width<=600px){.user-problems-page{height:100dvh;padding:88px 12px 20px}.user-problem-card{grid-template-columns:minmax(0,1fr) 88px;width:100%}.user-problem-content{padding:16px 12px}.user-problem-card h2{font-size:1rem}.user-problem-heading{gap:8px}.user-problem-title-group{gap:6px}.user-problem-pill{padding:4px 7px;font-size:.72rem}.user-problem-id-pill{min-width:32px}.revise-button{padding:8px 6px;font-size:.85rem}.sidebar{max-width:calc(100vw - 20px);top:60px;left:10px}.logo img{width:105px;height:auto;margin-top:5%}.navbar{width:calc(100% - 20px);height:44px;padding:0 12px}.logo img{width:100px}.nav-links{gap:10px}.nav-links a{padding:6px;font-size:12px}.auth-card p{font-size:12px}.auth-card button:hover,.hero-buttons:hover{color:#181818;box-shadow:none;background-color:#f5a86c;transform:none}main{padding:112px 32px 64px}}@media (hover:none),(pointer:coarse){.menu-button:hover{color:#696969}.sidebar a:hover{color:#f5f5f5;background:0 0}.nav-links a:hover{color:#696969}.nav-links a.active,.nav-links a.active:hover{color:#f5a86c}.hero-buttons:hover,.auth-card button:hover,.problem-details-buttons:hover,.logout-button:hover{color:#181818;box-shadow:none;background-color:#f5a86c;transform:none}.revise-button:hover{color:#f5a86c;box-shadow:none;background-color:#f5a86c1f;transform:none}.auth-card .google-button:hover{box-shadow:none;background:0 0;transform:none}.problem-card:hover{border-color:#101010}.problem-link:hover{color:#bdbdbd;background:#292929}.edit-profile-icon:hover{color:#bdbdbd;background:0 0;transform:none}.social-links a:hover{background:0 0;transform:none}.social-links a:hover img,.progress-ring svg:hover{transform:none}.edit-actions button[type=submit]:hover{box-shadow:none;background-color:#f5a86c}.heatmap-container::-webkit-scrollbar-thumb:hover{background:#444}.revise-button{transform:none}}
