html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,em,img,ins,kbd,q,s,samp,small,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,menu,nav,output,section,summary,time,mark,audio,video{font-size:100%;font:inherit;vertical-align:baseline;border:0;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}:root{--bg:#0d1117;--bg-secondary:#161b22;--text:#c9d1d9;--text-muted:#8b949e;--border:#30363d;--link:#58a6ff;--easy:#3fb950;--medium:#d29922;--hard:#f85149;--tag-bg:#21262d}[data-theme=light]{--bg:#fff;--bg-secondary:#f6f8fa;--text:#24292f;--text-muted:#57606a;--border:#d0d7de;--link:#0969da;--easy:#1a7f37;--medium:#9a6700;--hard:#cf222e;--tag-bg:#eaeef2}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);flex-direction:column;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.6;display:flex}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}h1{margin-bottom:.5em;font-size:2rem;font-weight:700;line-height:1.2}h2{margin-bottom:.5em;font-size:1.5rem;font-weight:600;line-height:1.3}h3{margin-bottom:.5em;font-size:1.25rem;font-weight:600;line-height:1.4}h4,h5,h6{margin-bottom:.5em;font-size:1rem;font-weight:600;line-height:1.4}p{margin-bottom:1em}p:last-child{margin-bottom:0}.description ul,.description ol,.notes-content ul,.notes-content ol,.constraints ul,.constraints ol{margin-bottom:1em;padding-left:1.5em}.description ul,.notes-content ul{list-style:outside}.description ol,.notes-content ol{list-style:decimal}.description li,.notes-content li,.constraints li{margin-bottom:.25em}body>header{background:var(--bg-secondary);border-bottom:1px solid var(--border)}body>header nav{align-items:center;gap:1.5rem;margin:0 auto;padding:1rem;display:flex}@media (width>=1440px){body>header nav{max-width:1400px}}body>header .logo{color:var(--text);font-size:1.25rem;font-weight:700}.nav-search{flex:1;margin-left:auto;position:relative}.nav-search input{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:6px;width:100%;padding:.4rem .75rem;font-size:.875rem}.nav-search input:focus{border-color:var(--link);outline:none}.settings-btn{border:1px solid var(--border);width:2rem;height:2rem;color:var(--text-muted);border-radius:6px;justify-content:center;align-items:center;margin-left:auto;transition:all .2s;display:flex}.settings-btn:hover{color:var(--text);border-color:var(--text-muted);text-decoration:none}.theme-toggle{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;width:2rem;height:2rem;padding:0;font-size:.875rem;line-height:1;transition:border-color .2s;display:flex}.theme-toggle:hover{border-color:var(--text-muted)}.theme-icon{display:none}[data-theme-setting=dark] .theme-icon[data-mode=dark],[data-theme-setting=light] .theme-icon[data-mode=light],[data-theme-setting=auto] .theme-icon[data-mode=auto],:root:not([data-theme-setting]) .theme-icon[data-mode=auto]{display:inline}.nav-search input::placeholder{color:var(--text-muted)}.search-shortcut{background:var(--bg-secondary);border:1px solid var(--border);color:var(--text-muted);pointer-events:none;white-space:nowrap;border-radius:4px;padding:.15rem .5rem;font-family:inherit;font-size:.65rem;transition:opacity .15s;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.shortcut-divider{opacity:.5;margin:0 .1rem}.nav-search input{padding-right:90px}.search-dropdown{background:var(--bg-secondary);border:1px solid var(--border);z-index:100;border-radius:8px;width:350px;max-height:400px;margin-top:.5rem;display:none;position:absolute;top:100%;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000004d}.search-result{color:var(--text);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.75rem 1rem;text-decoration:none;display:flex}.search-result:last-child{border-bottom:none}.search-result:hover,.search-result.active{background:var(--bg)}.search-result-name{flex:1}.search-result-name mark{color:var(--link);background:#58a6ff4d;border-radius:2px;padding:0 2px}.search-result-difficulty{text-transform:capitalize;border-radius:999px;margin-left:.5rem;padding:.15rem .5rem;font-size:.7rem;font-weight:600}.search-result-difficulty.easy{color:var(--easy);background:#3fb95033}.search-result-difficulty.medium{color:var(--medium);background:#d2992233}.search-result-difficulty.hard{color:var(--hard);background:#f8514933}main{flex:1;width:100%;margin:0 auto;padding:1.5rem 1rem}@media (width>=1440px){main{max-width:1400px}}footer{background:var(--bg-secondary);border-top:1px solid var(--border);color:var(--text-muted)}.footer-content{justify-content:space-between;align-items:center;margin:0 auto;padding:1rem;display:flex}@media (width>=1440px){.footer-content{max-width:1400px}}.footer-left{font-size:.875rem}.footer-right{font-size:.75rem;font-style:italic}h1,h2,h3{color:var(--text);margin-bottom:1rem}h1{font-size:2rem}h2{margin-top:2rem;font-size:1.5rem}h3{font-size:1.25rem}.description{color:var(--text-muted);margin-bottom:2rem}.filter-bar{gap:1rem;margin-bottom:1.5rem;display:flex}.filter-bar input,.filter-bar select{background:var(--bg-secondary);border:1px solid var(--border);color:var(--text);border-radius:6px;padding:.5rem 1rem;font-size:1rem}.filter-bar input{flex:1}.filter-bar input:focus,.filter-bar select:focus{border-color:var(--link);outline:none}.problems-table{border-collapse:collapse;width:100%}.problems-table th,.problems-table td{text-align:left;border-bottom:1px solid var(--border);padding:.75rem 1rem}.problems-table th{color:var(--text-muted);text-transform:uppercase;font-size:.875rem;font-weight:600}.problems-table th.sortable{cursor:pointer;user-select:none;transition:color .2s}.problems-table th.sortable:hover{color:var(--link)}.problems-table th.sortable:after{content:"↕";opacity:.3;text-align:center;min-width:1em;margin-left:.5rem;display:inline-block}.problems-table th.sortable:hover:after{opacity:.5}.problems-table th.sortable.sort-asc:after{content:"↑";opacity:1}.problems-table th.sortable.sort-desc:after{content:"↓";opacity:1}.problems-table tr:hover{background:var(--bg-secondary)}.problems-table .status-col{text-align:center;width:3.5rem}.problems-table .status-cell{text-align:center;white-space:nowrap;font-size:.875rem}.status-solved{color:var(--easy);white-space:nowrap;font-weight:600}.status-attempted{color:var(--medium)}.problem-status:empty{display:none}.status-badge{border-radius:999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;display:inline-block}.status-badge.solved{color:var(--link);background:#58a6ff33}.status-badge.attempted{background:var(--tag-bg);color:var(--text-muted)}.difficulty{text-transform:capitalize;border-radius:999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-block}.difficulty:hover{filter:brightness(1.2);text-decoration:none}.difficulty.easy{color:var(--easy);background:#3fb95033}.difficulty.medium{color:var(--medium);background:#d2992233}.difficulty.hard{color:var(--hard);background:#f8514933}.tags{flex-wrap:wrap;gap:.5rem;display:flex}.tag{background:var(--tag-bg);color:var(--text-muted);border-radius:4px;padding:.25rem .5rem;font-size:.75rem;display:inline-block}.problem-layout{flex-direction:column;gap:1rem;display:flex}@media (width<=1023px){.problem-layout{flex-direction:column;display:flex}.problem-content{display:contents}.problem-content>.problem-header{order:1}.problem-content>.description{order:2}.problem-content>.constraints{order:3}.problem-content>.signature{order:4}.problem-editor-pane{order:5}.problem-content>.complexity{order:6}.problem-content>.hints{order:7}.problem-content>.notes{order:8}.problem-content>.solutions{order:9}.problem-content>.problem-footer{order:10}.problem-content>section,.problem-content>header,.problem-content>details,.problem-content>footer{width:100%}}@media (width>=1024px){.problem-layout{grid-template-columns:1fr 500px;align-items:stretch;gap:2rem;display:grid}}@media (width>=1200px){.problem-layout{grid-template-columns:1fr 600px}}.problem-content{min-width:0}.problem-editor-pane{flex-direction:column;gap:1rem;display:flex}@media (width>=1024px){.problem-editor-pane{display:block}.problem-editor-pane-inner{flex-direction:column;gap:1rem;display:flex;position:sticky;top:1rem}.problem-editor-pane .testcases{flex:0 auto}.problem-editor-pane .code-editor-section,.problem-editor-pane .problem-runner,.problem-editor-pane .editor-container{flex-direction:column;flex:auto;min-height:0;display:flex}}.problem-editor-pane h3{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin:0 0 .5rem;font-size:1rem}.problem-editor-pane .testcases{padding:0}.problem-editor-pane .testcase-tabs{margin-top:.5rem}.problem-editor-pane .testcase-content{flex-direction:column;gap:.5rem;padding:.75rem;display:flex}.problem-editor-pane .testcase-input pre,.problem-editor-pane .testcase-output pre{padding:.5rem;font-size:.75rem}.problem-editor-pane .code-editor-section{margin-top:0}.mobile-collapsible,.collapsible-section{border:1px solid var(--border);background:var(--bg-secondary);border-radius:8px}.mobile-collapsible>summary,.collapsible-section>summary{cursor:pointer;justify-content:space-between;align-items:center;padding:.75rem 1rem;list-style:none;display:flex}.mobile-collapsible>summary::-webkit-details-marker,.collapsible-section>summary::-webkit-details-marker{display:none}.mobile-collapsible>summary:after,.collapsible-section>summary:after{content:"+";color:var(--text-muted);font-size:1.25rem;font-weight:600}.mobile-collapsible[open]>summary:after,.collapsible-section[open]>summary:after{content:"−"}.mobile-collapsible>summary h3,.collapsible-section>summary h2{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin:0;font-size:.875rem;font-weight:600}.mobile-collapsible>.problem-runner{border-top:1px solid var(--border)}.collapsible-section>ul,.collapsible-section>dl,.collapsible-section>.notes-content{border-top:1px solid var(--border);margin:0;padding:.75rem 1rem}.collapsible-section>ul{padding-left:2rem;list-style:outside}.collapsible-section.hints dl{margin:0}.collapsible-section.hints dt{color:var(--text-muted);margin-top:.5rem;font-weight:600}.collapsible-section.hints dt:first-child{margin-top:0}.collapsible-section.hints dd{margin-bottom:.5rem;margin-left:1rem}@media (width>=1024px){.mobile-collapsible{background:0 0;border:none}.mobile-collapsible>.problem-runner{border-top:none;border:1px solid var(--border);border-radius:8px}.mobile-collapsible>summary{pointer-events:none;margin-bottom:.5rem;padding:0;list-style:none}.mobile-collapsible>summary:after{display:none}.mobile-collapsible>summary h3{font-size:1rem}.collapsible-section{margin-top:1rem}}.problem-editor-pane .problem-runner{border-radius:8px}.problem-editor-pane .editor-area{flex:auto;min-height:150px;overflow-y:auto}@media (width>=1024px){.problem-editor-pane .editor-area{max-height:none}}.problem-editor-pane .test-results{max-height:250px;overflow-y:auto}@media (width>=1024px){.problem-editor-pane .test-results{max-height:30vh}}.problem-editor-pane .editor-area,.problem-editor-pane .test-results{scrollbar-width:thin;scrollbar-color:var(--border)transparent}.problem-editor-pane .editor-area::-webkit-scrollbar,.problem-editor-pane .test-results::-webkit-scrollbar{width:6px}.problem-editor-pane .editor-area::-webkit-scrollbar-track,.problem-editor-pane .test-results::-webkit-scrollbar-track{background:0 0}.problem-editor-pane .editor-area::-webkit-scrollbar-thumb,.problem-editor-pane .test-results::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.problem-editor-pane .editor-area::-webkit-scrollbar-thumb:hover,.problem-editor-pane .test-results::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.problem-header{margin-bottom:2rem}.problem-header .meta{align-items:center;gap:1rem;margin:1rem 0;display:flex}.leetcode-link{color:var(--text-muted);font-size:.875rem}.description-text{background:var(--bg-secondary);border:1px solid var(--border);color:var(--text);white-space:pre-wrap;border-radius:8px;padding:1.5rem;font-family:IBM Plex Mono,monospace;line-height:1.8}.description-text p{margin-bottom:1rem}.description-text p:last-child{margin-bottom:0}.description-text code{background:var(--bg);border-radius:4px;padding:.125rem .5rem;font-family:IBM Plex Mono,monospace}.description-text strong{color:var(--link)}.description-text .label{color:var(--text-muted);font-weight:500}.constraints ul{padding-left:1.5rem;list-style:outside}.constraints li{padding:.25rem 0}.constraints code{background:var(--bg-secondary);border-radius:4px;padding:.125rem .5rem}.signature-code{background:var(--bg-secondary);border:1px solid var(--border);color:var(--link);border-radius:8px;margin:0;padding:1rem 1.5rem 1rem 1rem;font-family:IBM Plex Mono,monospace;font-size:.95rem;overflow-x:auto}.testcases h2{margin-bottom:1rem}.testcase-tabs{position:relative}.testcase-tab-buttons{flex-wrap:wrap;gap:.25rem;margin-bottom:1rem;display:flex}.testcase-tab-buttons input[type=radio]{opacity:0;pointer-events:none;position:absolute}.testcase-tab-buttons label{background:var(--bg-secondary);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;text-align:center;border-radius:6px;min-width:2.5rem;padding:.4rem .75rem;font-size:.8rem;font-weight:600;transition:all .2s}.testcase-tab-buttons label:hover{color:var(--text);border-color:var(--text-muted)}.testcase-tab-buttons input[type=radio]:checked+label{background:var(--link);color:var(--bg);border-color:var(--link)}.testcase-tab-panels .testcase-tab-panel{display:none}.testcase-tabs:has(input:first-of-type:checked) .testcase-tab-panel:first-child,.testcase-tabs:has(input:nth-of-type(2):checked) .testcase-tab-panel:nth-child(2),.testcase-tabs:has(input:nth-of-type(3):checked) .testcase-tab-panel:nth-child(3),.testcase-tabs:has(input:nth-of-type(4):checked) .testcase-tab-panel:nth-child(4),.testcase-tabs:has(input:nth-of-type(5):checked) .testcase-tab-panel:nth-child(5),.testcase-tabs:has(input:nth-of-type(6):checked) .testcase-tab-panel:nth-child(6),.testcase-tabs:has(input:nth-of-type(7):checked) .testcase-tab-panel:nth-child(7),.testcase-tabs:has(input:nth-of-type(8):checked) .testcase-tab-panel:nth-child(8),.testcase-tabs:has(input:nth-of-type(9):checked) .testcase-tab-panel:nth-child(9),.testcase-tabs:has(input:nth-of-type(10):checked) .testcase-tab-panel:nth-child(10),.testcase-tabs:has(input:nth-of-type(11):checked) .testcase-tab-panel:nth-child(11),.testcase-tabs:has(input:nth-of-type(12):checked) .testcase-tab-panel:nth-child(12),.testcase-tabs:has(input:nth-of-type(13):checked) .testcase-tab-panel:nth-child(13),.testcase-tabs:has(input:nth-of-type(14):checked) .testcase-tab-panel:nth-child(14),.testcase-tabs:has(input:nth-of-type(15):checked) .testcase-tab-panel:nth-child(15),.testcase-tabs:has(input:nth-of-type(16):checked) .testcase-tab-panel:nth-child(16),.testcase-tabs:has(input:nth-of-type(17):checked) .testcase-tab-panel:nth-child(17),.testcase-tabs:has(input:nth-of-type(18):checked) .testcase-tab-panel:nth-child(18),.testcase-tabs:has(input:nth-of-type(19):checked) .testcase-tab-panel:nth-child(19),.testcase-tabs:has(input:nth-of-type(20):checked) .testcase-tab-panel:nth-child(20){display:block}.testcase-tab-panel{background:var(--bg-secondary);border:1px solid var(--border);border-radius:8px}.testcase-content{grid-template-columns:1fr 1fr;gap:1rem;padding:1rem;display:grid}@media (width<=600px){.testcase-content{grid-template-columns:1fr}}.testcase-input strong,.testcase-output strong{color:var(--text-muted);margin-bottom:.5rem;font-size:.875rem;display:block}.testcase-input pre,.testcase-output pre{background:var(--bg);white-space:pre-wrap;word-break:break-word;border-radius:6px;margin:0;padding:.75rem;font-family:IBM Plex Mono,monospace;font-size:.8rem;line-height:1.4;overflow-x:auto}.complexity code{background:var(--bg);color:var(--link);border-radius:4px;padding:.125rem .5rem}.notes-content{font-size:.9rem;line-height:1.6}.notes-content p{margin-bottom:1rem}.notes-content p:last-child{margin-bottom:0}.notes-content code{background:var(--bg);border-radius:4px;padding:.125rem .5rem;font-family:IBM Plex Mono,monospace}.notes-content pre{background:var(--bg);border-radius:6px;margin:1rem 0;padding:1rem;overflow-x:auto}.notes-content pre code{background:0 0;padding:0}.notes-content ul,.notes-content ol{margin:1rem 0;padding-left:1.5rem}.notes-content li{margin-bottom:.5rem}.notes-content h1,.notes-content h2,.notes-content h3{margin-top:1.5rem;margin-bottom:.75rem}.notes-content h1:first-child,.notes-content h2:first-child,.notes-content h3:first-child{margin-top:0}.tabs{position:relative}.tab-buttons{gap:.5rem;margin-bottom:1rem;display:flex}.tab-buttons input[type=radio]{opacity:0;pointer-events:none;position:absolute}.tab-buttons label{background:var(--bg-secondary);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .2s}.tab-buttons label:hover{color:var(--text);border-color:var(--text-muted)}.tab-buttons input[type=radio]:checked+label{background:var(--link);color:var(--bg);border-color:var(--link)}.tab-panels .tab-panel{display:none}.tab-buttons input:first-of-type:checked~.tab-buttons+.tab-panels .tab-panel:first-child,.tabs:has(input:first-of-type:checked) .tab-panel:first-child,.tabs:has(input:nth-of-type(2):checked) .tab-panel:nth-child(2),.tabs:has(input:nth-of-type(3):checked) .tab-panel:nth-child(3),.tabs:has(input:nth-of-type(4):checked) .tab-panel:nth-child(4),.tabs:has(input:nth-of-type(5):checked) .tab-panel:nth-child(5),.tabs:has(input:nth-of-type(6):checked) .tab-panel:nth-child(6){display:block}.tab-panel details{background:var(--bg-secondary);border:1px solid var(--border);border-radius:8px}.tab-panel summary{cursor:pointer;color:var(--link);user-select:none;padding:1rem;font-weight:600}.tab-panel summary:hover{background:#58a6ff1a;border-radius:8px}.tab-panel details[open] summary{border-radius:8px 8px 0 0}.tab-panel pre{border-top:1px solid var(--border);border-radius:0 0 8px 8px;margin:0;overflow-x:auto}.tab-panel code{font-family:IBM Plex Mono,monospace;font-size:.875rem;line-height:1.5}.solution-toggles{flex-wrap:wrap;align-items:flex-start;gap:.5rem;display:flex}.solution-toggle{display:contents}.solution-toggle input[type=radio]{display:none}.solution-btn{color:var(--link);border:1px solid var(--link);cursor:pointer;background:0 0;border-radius:6px;order:0;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .2s;display:inline-block}.solution-btn:hover{background:#58a6ff1a}.solution-toggle input[type=radio]:checked+.solution-btn{background:var(--link);color:var(--bg)}.solution-content{border:1px solid var(--border);background:0 0;border-radius:8px;order:1;width:100%;margin-top:.5rem;display:none;overflow:hidden}.solution-toggle input[type=radio]:checked~.solution-content{display:block}.solution-content pre,.solution-content pre[class*=language-]{background:0 0;margin:0;padding:1rem;overflow-x:auto}.solution-content code,.solution-content code[class*=language-]{background:0 0;font-family:IBM Plex Mono,monospace;font-size:.875rem;line-height:1.5}.solution-none{display:none}.solution-content{position:relative}.solution-actions{gap:.25rem;display:flex;position:absolute;top:.5rem;right:.5rem}.copy-btn{background:var(--bg);border:1px solid var(--border);cursor:pointer;color:var(--text-muted);border-radius:4px;padding:.25rem .5rem;font-size:.75rem;transition:all .2s}.copy-btn:hover{background:var(--link);color:var(--bg);border-color:var(--link)}.copy-btn.copied{background:var(--easy);color:var(--bg);border-color:var(--easy)}.solution-close{background:var(--bg);border:1px solid var(--border);cursor:pointer;width:1.5rem;height:1.5rem;color:var(--text-muted);border-radius:4px;justify-content:center;align-items:center;font-size:1rem;transition:all .2s;display:flex}.solution-close:hover{background:var(--link);color:var(--bg);border-color:var(--link)}.problem-footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;width:100%;margin-top:3rem;padding-top:1rem;display:flex;background:0 0!important}.problem-footer .back-link{margin:0;padding:0}.problem-footer .back-link a{color:var(--link);opacity:.7;font-size:.8rem;transition:opacity .2s}.problem-footer .back-link a:hover{opacity:1}.problem-footer .last-updated{margin:0;font-size:.8rem}.back-link{margin-top:2rem;padding-top:1rem}.problems-table+.back-link{border-top:none;margin-top:1.5rem}.last-updated{color:var(--text-muted);margin-top:1rem;font-size:.75rem}footer .git-info{color:var(--text-muted);margin-top:.5rem;font-size:.75rem}footer .git-info a{color:var(--text-muted)}footer .git-info a:hover{color:var(--link)}.tags-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-top:1.5rem;display:grid}.tag-card{background:var(--bg-secondary);border:1px solid var(--border);border-radius:8px;flex-direction:column;padding:1rem 1.25rem;text-decoration:none;transition:all .2s;display:flex}.tag-card:hover{border-color:var(--link);background:#58a6ff0d;text-decoration:none}.tag-card .tag-name{color:var(--text);margin-bottom:.25rem;font-size:1rem;font-weight:600}.tag-card .tag-count{color:var(--text-muted);font-size:.8rem}.home-nav{margin-bottom:2rem}.home-nav .nav-link{background:var(--bg-secondary);border:1px solid var(--border);color:var(--link);border-radius:6px;padding:.5rem 1rem;font-size:.875rem;display:inline-block}.home-nav .nav-link:hover{border-color:var(--link);text-decoration:none}.difficulties-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-top:1.5rem;display:grid}.difficulty-card{background:var(--bg-secondary);border:1px solid var(--border);text-align:center;border-radius:8px;flex-direction:column;padding:1.5rem;text-decoration:none;transition:all .2s;display:flex}.difficulty-card:hover{text-decoration:none}.difficulty-card.easy{border-color:var(--easy)}.difficulty-card.easy:hover{background:#3fb9501a}.difficulty-card.medium{border-color:var(--medium)}.difficulty-card.medium:hover{background:#d299221a}.difficulty-card.hard{border-color:var(--hard)}.difficulty-card.hard:hover{background:#f851491a}.difficulty-card .difficulty-name{margin-bottom:.5rem;font-size:1.25rem;font-weight:600}.difficulty-card.easy .difficulty-name{color:var(--easy)}.difficulty-card.medium .difficulty-name{color:var(--medium)}.difficulty-card.hard .difficulty-name{color:var(--hard)}.difficulty-card .difficulty-count{color:var(--text-muted);font-size:.875rem}.difficulty-header{background:var(--bg-secondary);border:2px solid var(--border);text-align:center;border-radius:12px;flex-direction:column;align-items:center;margin-bottom:2rem;padding:2rem;display:flex}.difficulty-header .difficulty-name{margin-bottom:.5rem;font-size:2rem;font-weight:700}.difficulty-header .difficulty-count{color:var(--text-muted);font-size:1rem}.difficulty-header.easy{border-color:var(--easy)}.difficulty-header.easy .difficulty-name{color:var(--easy)}.difficulty-header.medium{border-color:var(--medium)}.difficulty-header.medium .difficulty-name{color:var(--medium)}.difficulty-header.hard{border-color:var(--hard)}.difficulty-header.hard .difficulty-name{color:var(--hard)}@media (width<=768px){body>header nav{flex-wrap:wrap;gap:.75rem;padding:.75rem .5rem}body>header .logo{font-size:1rem}body>header nav>a:not(.logo){font-size:.8rem}body>header nav>.logo+a{margin-left:auto}.nav-search{flex:1;order:10;margin-top:.5rem}.settings-btn{order:11;margin-top:.5rem;margin-left:0}.theme-toggle{order:12;margin-top:.5rem}.nav-search input{width:100%}main{padding:.75rem .5rem}h1{margin-bottom:.25rem;font-size:1.5rem}h2{margin-top:.5rem;margin-bottom:.25rem;font-size:1.1rem}.problem-content>section,.problem-content>header,.problem-content>details{margin-bottom:.75rem}.problem-content>section h2,.problem-content>.description h2,.problem-content>.constraints h2,.problem-content>.signature h2,.problem-content>.complexity h2,.problem-content>.hints h2,.problem-content>.notes h2,.problem-content>.solutions h2{margin-top:0;margin-bottom:.25rem}.problem-header{margin-bottom:.5rem}.problem-header .meta{gap:.5rem;margin:.25rem 0}.problem-header .tags{margin-top:.25rem}.description-text{padding:.75rem;line-height:1.5}.constraints{margin-top:0}.constraints ul{margin:0;padding-left:1.25rem}.constraints li{padding:0}.signature-code{padding:.5rem .75rem;font-size:.8rem}.problem-content section{margin-bottom:0}.mobile-collapsible,.collapsible-section{margin-bottom:.75rem}.problem-editor-pane .testcases{margin-bottom:1rem}.problem-editor-pane .mobile-collapsible{margin-top:.5rem}.mobile-collapsible>summary h3,.collapsible-section>summary h2{font-size:.875rem}.collapsible-section>ul,.collapsible-section>dl,.collapsible-section>.notes-content{padding:.5rem .75rem}.collapsible-section>ul{padding-left:1.5rem}.filter-bar{flex-direction:column}.filter-bar input{max-width:100%}.problems-table{display:block}.problems-table thead{display:none}.problems-table tbody{flex-direction:column;gap:.75rem;display:flex}.problems-table tr{background:var(--bg-secondary);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:.5rem;padding:.75rem;display:flex}.problems-table tr:hover{background:var(--bg-secondary)}.problems-table td{border:none;padding:0}.problems-table .status-cell{position:absolute;top:.75rem;right:.75rem}.problems-table tr{position:relative}.problems-table td:nth-child(2){font-weight:600}.problems-table td:nth-child(2) a{font-size:1rem}.problems-table .tags{margin-top:.25rem}.problems-table .tag{font-size:.7rem}.tags-grid,.difficulties-grid{grid-template-columns:1fr 1fr;gap:.75rem}.tag-card,.difficulty-card{padding:.75rem}footer{padding:.75rem .5rem}.footer-content{text-align:center;flex-direction:column;gap:.5rem}.footer-left,.footer-right{font-size:.75rem}.difficulty-header{margin-bottom:1.5rem;padding:1.5rem}.difficulty-header .difficulty-name{font-size:1.5rem}.difficulty-header .difficulty-count{font-size:.875rem}}@media (width<=480px){body>header nav>a:not(.logo){font-size:.75rem}.tags-grid,.difficulties-grid{grid-template-columns:1fr}.search-shortcut{display:none}.nav-search input{padding-right:.75rem}}.code-editor-section{margin-top:2rem}.problem-runner{background:var(--bg-secondary);border:1px solid var(--border);border-radius:8px;position:relative;overflow-x:auto}.editor-container{background:var(--bg-secondary);position:relative;overflow:hidden}.editor-area{tab-size:4;white-space:pre;min-height:200px;max-height:400px;color:var(--text);background:0 0;outline:none;padding:1rem;font-family:IBM Plex Mono,monospace;font-size:.875rem;line-height:1.6;overflow:auto}.editor-area:focus{box-shadow:inset 0 0 0 2px #58a6ff4d}.editor-with-lines{max-height:400px;display:flex;position:relative;overflow:hidden}.line-numbers{background:var(--bg-secondary);border-right:1px solid var(--border);color:var(--text-muted);text-align:right;user-select:none;flex-shrink:0;max-height:400px;padding:1rem .75rem 1rem .5rem;font-family:IBM Plex Mono,monospace;font-size:.875rem;line-height:1.6;overflow:hidden}.line-numbers span{display:block}.editor-with-lines .editor-area{flex:1;min-width:0;max-height:400px;overflow:auto}.editor-controls{background:0 0;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.editor-controls .help-btn{order:10;margin-left:auto}.editor-controls .keybinding-selector{order:11}.editor-controls .runner-status{order:12}.run-btn,.reset-btn{cursor:pointer;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .2s}.run-btn{background:var(--easy);color:var(--bg)}.run-btn:hover:not(:disabled){filter:brightness(1.1)}.run-btn:disabled{opacity:.6;cursor:not-allowed}.reset-btn{color:var(--text-muted);border:1px solid var(--border);background:0 0}.reset-btn:hover{color:var(--text);border-color:var(--text-muted)}.runner-status{border-radius:4px;padding:.25rem .75rem;font-size:.8rem}.status-loading{color:var(--text-muted)}.status-ready{color:var(--easy)}.status-running{color:var(--medium)}.status-success{color:var(--easy);background:#3fb95026}.status-partial{color:var(--medium);background:#d2992226}.status-error{color:var(--hard);background:#f8514926}.keybinding-selector{align-items:center;gap:.5rem;display:flex}.keybinding-select{border:1px solid var(--border);background:var(--bg);color:var(--text);cursor:pointer;border-radius:4px;padding:.25rem .5rem;font-size:.75rem}.keybinding-select:hover{border-color:var(--text-muted)}.vim-mode-indicator{text-transform:uppercase;letter-spacing:.5px;border-radius:3px;padding:.15rem .4rem;font-size:.65rem;font-weight:700}.vim-mode-indicator.vim-normal{background:var(--link);color:var(--bg)}.vim-mode-indicator.vim-insert{background:var(--easy);color:var(--bg)}.vim-mode-indicator.vim-visual,.vim-mode-indicator.vim-visual-line{background:var(--medium);color:var(--bg)}.vim-cursor{background:var(--text);opacity:.7;pointer-events:none;width:.6em;height:1.2em;animation:1s step-end infinite vim-blink;position:absolute}@keyframes vim-blink{50%{opacity:.3}}.emacs-cursor{background:var(--text);pointer-events:none;width:2px;height:1.2em;animation:1s step-end infinite emacs-blink;position:absolute}@keyframes emacs-blink{50%{opacity:.3}}.editor-search{background:var(--bg-secondary);border-bottom:1px solid var(--border);align-items:center;gap:.5rem;padding:.5rem;display:flex}.editor-search-input{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:4px;outline:none;flex:1;padding:.25rem .5rem;font-family:inherit;font-size:.875rem}.editor-search-input:focus{border-color:var(--link)}.editor-search-info{color:var(--text-muted);min-width:4rem;font-size:.75rem}.search-match{color:inherit;background:#ffd50066;border-radius:2px}.editor-area ::selection{background:#58a6ff66}.editor-area .cm-editor{height:100%;min-height:200px;max-height:400px}.editor-area .cm-editor.cm-focused{outline:none}.editor-area .cm-scroller{font-family:IBM Plex Mono,monospace;font-size:.875rem;line-height:1.6}.editor-area .cm-vim-panel{background:var(--bg-tertiary);border-top:1px solid var(--border);padding:.25rem .5rem;font-size:.75rem}.test-results{padding:0}.test-results:empty{display:none}.test-result{border-bottom:1px solid var(--border);padding:.75rem 1rem}.test-result:last-child{border-bottom:none}.result-header{align-items:center;gap:.5rem;display:flex}.result-icon{font-size:1rem;font-weight:700}.result-icon.pass{color:var(--easy)}.result-icon.fail{color:var(--hard)}.result-title{font-size:.875rem;font-weight:600}.result-pass .result-title{color:var(--easy)}.result-fail .result-title{color:var(--hard)}.result-details{margin-top:.5rem;margin-left:1.5rem;font-size:.8rem}.result-input,.result-expected,.result-actual{margin:.25rem 0}.result-input code,.result-expected code,.result-actual code{background:var(--bg);border-radius:4px;padding:.125rem .5rem;font-family:IBM Plex Mono,monospace}.result-error{color:var(--hard);white-space:pre-wrap;background:#f851491a;border-radius:6px;margin-top:.5rem;margin-left:1.5rem;padding:.75rem;font-family:IBM Plex Mono,monospace;font-size:.8rem;overflow-x:auto}.result-stdout,.result-stderr{margin-top:.5rem}.result-stdout pre,.result-stderr pre{background:var(--bg);white-space:pre-wrap;border-radius:4px;margin:.25rem 0 0;padding:.5rem;font-family:IBM Plex Mono,monospace;font-size:.75rem;overflow-x:auto}.result-stdout pre{border-left:3px solid var(--text-muted)}.result-stderr pre{border-left:3px solid var(--medium);color:var(--medium)}@media (width<=768px){.editor-area{min-height:150px;font-size:.8rem}.editor-controls{flex-wrap:wrap}.editor-controls .runner-status{text-align:center;order:20;width:100%;margin-top:.5rem}}.submissions-btn{cursor:pointer;border:1px solid var(--border);color:var(--text-muted);background:0 0;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .2s}.submissions-btn:hover:not(:disabled){color:var(--text);border-color:var(--text-muted)}.submissions-btn:disabled,.submissions-btn.empty{opacity:.5;cursor:not-allowed}.submissions-modal{z-index:1000;background:#000000b3;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.submissions-content{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;flex-direction:column;width:100%;max-width:600px;max-height:80vh;display:flex;overflow:hidden}.submissions-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.submissions-header h3{margin:0;font-size:1.125rem}.submissions-close{border:1px solid var(--border);cursor:pointer;width:2rem;height:2rem;color:var(--text-muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;font-size:1.25rem;transition:all .2s;display:flex}.submissions-close:hover{background:var(--hard);color:var(--bg);border-color:var(--hard)}.submissions-list{flex:1;overflow-y:auto}.submission-item{border-bottom:1px solid var(--border);cursor:pointer;padding:1rem 1.5rem;transition:background .2s}.submission-item:last-child{border-bottom:none}.submission-item:hover{background:var(--bg)}.submission-info{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.submission-date{color:var(--text-muted);font-size:.8rem}.submission-status{border-radius:4px;padding:.2rem .5rem;font-size:.75rem;font-weight:600}.submission-status.pass{color:var(--easy);background:#3fb95033}.submission-status.fail{color:var(--hard);background:#f8514933}.submission-preview{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.submission-preview code{background:var(--bg);border-radius:3px;padding:.125rem .25rem;font-family:IBM Plex Mono,monospace}.submissions-header-actions{align-items:center;gap:.5rem;display:flex}.submissions-clear{border:1px solid var(--hard);cursor:pointer;color:var(--hard);background:0 0;border-radius:6px;padding:.35rem .75rem;font-size:.75rem;transition:all .2s}.submissions-clear:hover{background:var(--hard);color:var(--bg)}.submission-delete{border:1px solid var(--border);cursor:pointer;width:1.25rem;height:1.25rem;color:var(--text-muted);background:0 0;border-radius:4px;justify-content:center;align-items:center;margin-left:auto;padding:0;font-size:.875rem;transition:all .2s;display:flex}.submission-delete:hover{background:var(--hard);color:var(--bg);border-color:var(--hard)}.help-btn{cursor:pointer;border:1px solid var(--border);width:2rem;height:2rem;color:var(--text-muted);background:0 0;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:.875rem;font-weight:700;transition:all .2s;display:flex}.help-btn:hover{color:var(--text);border-color:var(--text-muted)}.help-modal{z-index:1000;background:#000000b3;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.help-content{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;flex-direction:column;width:100%;max-width:700px;max-height:85vh;display:flex;overflow:hidden}.help-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.help-header h3{margin:0;font-size:1.125rem}.help-close{border:1px solid var(--border);cursor:pointer;width:2rem;height:2rem;color:var(--text-muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;font-size:1.25rem;transition:all .2s;display:flex}.help-close:hover{background:var(--hard);color:var(--bg);border-color:var(--hard)}.help-body{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;padding:1rem 1.5rem;display:grid;overflow-y:auto}.help-section h4{color:var(--link);text-transform:uppercase;letter-spacing:.05em;margin:0 0 .75rem;font-size:.875rem}.help-section table{border-collapse:collapse;width:100%;font-size:.8rem}.help-section td{vertical-align:top;padding:.35rem 0}.help-section td:first-child{width:55%;color:var(--text-muted);white-space:nowrap}.help-section td:last-child{color:var(--text)}.help-section kbd{background:var(--bg);border:1px solid var(--border);border-radius:4px;margin-right:.15rem;padding:.15rem .4rem;font-family:IBM Plex Mono,monospace;font-size:.7rem;display:inline-block}@media (width<=600px){.help-body{grid-template-columns:1fr}}.stats-overview{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem;display:grid}.stat-card{background:var(--bg-secondary);border:1px solid var(--border);text-align:center;border-radius:12px;padding:1.5rem;text-decoration:none;transition:transform .2s,box-shadow .2s;display:block}a.stat-card:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 4px 12px #0003}.stat-card.total{border-color:var(--link)}.stat-card.easy{border-color:var(--easy)}.stat-card.medium{border-color:var(--medium)}.stat-card.hard{border-color:var(--hard)}.stat-number{margin-bottom:.5rem;font-size:2.5rem;font-weight:700;line-height:1}.stat-card.total .stat-number{color:var(--link)}.stat-card.easy .stat-number{color:var(--easy)}.stat-card.medium .stat-number{color:var(--medium)}.stat-card.hard .stat-number{color:var(--hard)}.stat-label{color:var(--text);margin-bottom:.25rem;font-size:.875rem;font-weight:600}.stat-detail{color:var(--text-muted);font-size:.75rem}.stats-row{grid-template-columns:1fr 2fr;gap:1.5rem;margin-bottom:2rem;display:grid}.stats-section{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;margin-bottom:1.5rem;padding:1.5rem}.stats-section h2{margin:0 0 1rem;font-size:1.125rem}.streak-stats{flex-direction:column;gap:.75rem;display:flex}.streak-item{background:var(--bg);border-radius:8px;justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.streak-number{color:var(--link);font-size:1.5rem;font-weight:700}.streak-label{color:var(--text-muted);text-align:right;font-size:.875rem}.activity-heatmap{padding-bottom:.5rem;overflow-x:auto}.stats-section:has(.activity-heatmap){overflow:hidden}.heatmap-grid{gap:3px;display:flex}.heatmap-week{flex-direction:column;gap:3px;display:flex}.heatmap-day{background:var(--bg);border-radius:2px;width:12px;height:12px}.heatmap-day.empty{background:0 0}.heatmap-day.level-0{background:var(--bg)}.heatmap-day.level-1{background:#3fb9504d}.heatmap-day.level-2{background:#3fb95080}.heatmap-day.level-3{background:#3fb950b3}.heatmap-day.level-4{background:var(--easy)}[data-theme=light] .heatmap-day.level-1{background:#1a7f3733}[data-theme=light] .heatmap-day.level-2{background:#1a7f3766}[data-theme=light] .heatmap-day.level-3{background:#1a7f3799}[data-theme=light] .heatmap-day.level-4{background:var(--easy)}.heatmap-months{color:var(--text-muted);grid-template-columns:repeat(53,15px);margin-top:.5rem;font-size:.65rem;display:grid}.heatmap-legend{color:var(--text-muted);align-items:center;gap:.5rem;margin-top:.75rem;font-size:.7rem;display:flex}.legend-boxes{gap:3px;display:flex}.legend-box{border-radius:2px;width:12px;height:12px}.legend-box.level-0{background:var(--bg)}.legend-box.level-1{background:#3fb9504d}.legend-box.level-2{background:#3fb95080}.legend-box.level-3{background:#3fb950b3}.legend-box.level-4{background:var(--easy)}[data-theme=light] .legend-box.level-1{background:#1a7f3733}[data-theme=light] .legend-box.level-2{background:#1a7f3766}[data-theme=light] .legend-box.level-3{background:#1a7f3799}.tags-progress{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;display:grid}.tag-progress-item{background:var(--bg);color:inherit;border-radius:8px;padding:.75rem;text-decoration:none;transition:transform .2s,box-shadow .2s;display:block}a.tag-progress-item:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.tag-progress-header{justify-content:space-between;margin-bottom:.5rem;display:flex}.tag-name{font-size:.875rem;font-weight:500}.tag-count{color:var(--text-muted);font-size:.75rem}.tag-progress-bar{background:var(--border);border-radius:3px;height:6px;overflow:hidden}.tag-progress-fill{background:var(--easy);border-radius:3px;height:100%;transition:width .3s}.submissions-table{border-collapse:collapse;width:100%}.submissions-table th,.submissions-table td{text-align:left;border-bottom:1px solid var(--border);padding:.75rem}.submissions-table th{text-transform:uppercase;color:var(--text-muted);font-size:.75rem;font-weight:600}.submissions-table td.passed{color:var(--easy)}.submissions-table td.failed{color:var(--hard)}.submissions-table td.time-ago{color:var(--text-muted);font-size:.875rem}.solved-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.75rem;display:grid}.solved-item{background:var(--bg);color:var(--text);border-radius:8px;justify-content:space-between;align-items:center;padding:.75rem 1rem;text-decoration:none;transition:background .2s;display:flex}.solved-item:hover{background:var(--border);text-decoration:none}.solved-name{font-size:.875rem}.empty-state{color:var(--text-muted);text-align:center;padding:2rem}@media (width<=768px){.stats-overview{grid-template-columns:repeat(2,1fr)}.stats-row{grid-template-columns:1fr}.stat-number{font-size:2rem}.tags-progress,.solved-grid{grid-template-columns:1fr}.heatmap-day{width:8px;height:8px}.heatmap-grid,.heatmap-week{gap:2px}.heatmap-months{grid-template-columns:repeat(53,10px);font-size:.6rem}.legend-box{width:8px;height:8px}}@media (width<=480px){.stats-overview{grid-template-columns:1fr 1fr;gap:.75rem}.stat-card{padding:1rem}.stat-number{font-size:1.5rem}}.settings-section{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;margin-bottom:1.5rem;padding:1.5rem}.settings-section h2{margin:0 0 1rem;font-size:1.125rem}.setting-item{background:var(--bg);border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem;padding:1rem;display:flex}.setting-item:last-child{margin-bottom:0}.setting-item.danger{border:1px solid var(--hard)}.setting-info{flex:1}.setting-info label{margin-bottom:.25rem;font-weight:600;display:block}.setting-desc{color:var(--text-muted);margin:0;font-size:.8rem}.setting-select{background:var(--bg-secondary);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:6px;padding:.5rem 1rem;font-size:.875rem}.setting-select:hover{border-color:var(--text-muted)}.setting-btn{background:var(--link);color:var(--bg);cursor:pointer;white-space:nowrap;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .2s}.setting-btn:hover{filter:brightness(1.1)}.setting-btn.danger{border:1px solid var(--hard);color:var(--hard);background:0 0}.setting-btn.danger:hover{background:var(--hard);color:var(--bg)}.storage-info{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.storage-item{background:var(--bg);text-align:center;border-radius:8px;padding:1rem}.storage-label{color:var(--text-muted);margin-bottom:.5rem;font-size:.75rem;display:block}.storage-value{color:var(--link);font-size:1.25rem;font-weight:700}.storage-explorer-header{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.storage-filter{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:6px;flex:1;padding:.5rem 1rem;font-size:.875rem;line-height:1.25}.storage-explorer-header .setting-btn{padding:.5rem 1rem;line-height:1.25}.storage-filter:focus{border-color:var(--link);outline:none}.storage-explorer-list{border:1px solid var(--border);border-radius:8px;max-height:400px;overflow-y:auto}.storage-explorer-item{border-bottom:1px solid var(--border);cursor:pointer;grid-template-columns:1fr 1fr auto auto;align-items:center;gap:1rem;padding:.75rem 1rem;transition:background .2s;display:grid}.storage-explorer-item:last-child{border-bottom:none}.storage-explorer-item:hover{background:var(--bg)}.storage-explorer-key{color:var(--link);text-overflow:ellipsis;white-space:nowrap;font-family:IBM Plex Mono,monospace;font-size:.8rem;font-weight:600;overflow:hidden}.storage-explorer-preview{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.storage-explorer-size{color:var(--text-muted);white-space:nowrap;font-size:.7rem}.storage-explorer-delete{border:1px solid var(--border);width:1.5rem;height:1.5rem;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:4px;padding:0;font-size:1rem;line-height:1;transition:all .2s}.storage-explorer-delete:hover{background:var(--hard);border-color:var(--hard);color:var(--bg)}.storage-empty{text-align:center;color:var(--text-muted);padding:2rem}.storage-modal{z-index:1000;background:#000000b3;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.storage-modal-content{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;flex-direction:column;width:100%;max-width:600px;max-height:80vh;display:flex}.storage-modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.storage-modal-header h3{color:var(--link);text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:IBM Plex Mono,monospace;font-size:.9rem;overflow:hidden}.storage-modal-close{border:1px solid var(--border);width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;flex-shrink:0;padding:0;font-size:1.25rem;transition:all .2s}.storage-modal-close:hover{background:var(--hard);border-color:var(--hard);color:var(--bg)}.storage-modal-body{flex:1;padding:1rem 1.5rem;overflow:hidden}.storage-modal-textarea{background:var(--bg);border:1px solid var(--border);width:100%;height:300px;color:var(--text);resize:vertical;border-radius:8px;padding:1rem;font-family:IBM Plex Mono,monospace;font-size:.8rem;line-height:1.5}.storage-modal-textarea:focus{border-color:var(--link);outline:none}.storage-modal-footer{border-top:1px solid var(--border);justify-content:space-between;padding:1rem 1.5rem;display:flex}.dialog-overlay{z-index:2000;background:#000000b3;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.dialog-box{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;width:100%;max-width:400px;padding:1.5rem}.dialog-message{color:var(--text);margin-bottom:1.5rem;font-size:1rem;line-height:1.5}.dialog-buttons{justify-content:flex-end;gap:.75rem;display:flex}.dialog-btn{cursor:pointer;border:1px solid var(--border);color:var(--text);background:0 0;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .2s}.dialog-btn:hover{border-color:var(--text-muted)}.dialog-btn.primary{background:var(--link);border-color:var(--link);color:var(--bg)}.dialog-btn.primary:hover{filter:brightness(1.1)}@media (width<=768px){.setting-item{flex-direction:column;align-items:flex-start}.setting-select,.setting-btn{text-align:center;width:100%}.storage-info{grid-template-columns:1fr}.storage-explorer-item{grid-template-columns:1fr auto auto}.storage-explorer-preview{display:none}}pre code{color:var(--syntax-fg,#e6edf3);background:0 0}.comment,.punctuation.definition.comment{color:var(--syntax-comment,#8b949e);font-style:italic}.string,.string.quoted,.string.template{color:var(--syntax-string,#a5d6ff)}.constant.numeric,.constant.language,.constant.character{color:var(--syntax-constant,#79c0ff)}.keyword,.keyword.control,.keyword.operator.new,.storage,.storage.type,.storage.modifier{color:var(--syntax-keyword,#ff7b72)}.keyword.operator,.keyword.operator.arithmetic,.keyword.operator.logical,.keyword.operator.comparison,.keyword.operator.assignment{color:var(--syntax-operator,#ff7b72)}.entity.name.function,.support.function,.meta.function-call{color:var(--syntax-function,#d2a8ff)}.entity.name.class,.entity.name.type,.support.class,.support.type{color:var(--syntax-type,#ffa657)}.variable,.variable.parameter,.variable.other{color:var(--syntax-variable,#ffa657)}.variable.other.property,.meta.property-name,.support.variable.property{color:var(--syntax-property,#79c0ff)}.entity.name.tag,.meta.tag{color:var(--syntax-tag,#7ee787)}.entity.other.attribute-name{color:var(--syntax-attribute,#79c0ff)}.punctuation,.punctuation.definition,.punctuation.separator,.punctuation.terminator{color:var(--syntax-punctuation,#e6edf3)}.punctuation.section,.punctuation.definition.string{color:var(--syntax-bracket,#e6edf3)}.variable.language{color:var(--syntax-keyword,#ff7b72)}.support.function.builtin,.entity.name.function.builtin{color:var(--syntax-builtin,#ffa657)}.meta.annotation,.entity.name.function.decorator,.punctuation.definition.annotation{color:var(--syntax-decorator,#d2a8ff)}.string.regexp{color:var(--syntax-regex,#7ee787)}.invalid,.invalid.illegal{color:#f85149;background:#f851491a}.markup.inserted,.punctuation.definition.inserted{color:#7ee787;background:#2ea04326}.markup.deleted,.punctuation.definition.deleted{color:#f85149;background:#f8514926}.markup.changed{color:#ffa657}.markup.heading{color:var(--syntax-keyword,#ff7b72);font-weight:700}.markup.bold{font-weight:700}.markup.italic{font-style:italic}.markup.raw,.markup.inline.raw{color:var(--syntax-string,#a5d6ff)}:root{--syntax-fg:#e6edf3;--syntax-comment:#8b949e;--syntax-string:#a5d6ff;--syntax-constant:#79c0ff;--syntax-keyword:#ff7b72;--syntax-operator:#ff7b72;--syntax-function:#d2a8ff;--syntax-type:#ffa657;--syntax-variable:#ffa657;--syntax-property:#79c0ff;--syntax-tag:#7ee787;--syntax-attribute:#79c0ff;--syntax-punctuation:#e6edf3;--syntax-bracket:#e6edf3;--syntax-builtin:#ffa657;--syntax-decorator:#d2a8ff;--syntax-regex:#7ee787}[data-theme=light]{--syntax-fg:#24292f;--syntax-comment:#6e7781;--syntax-string:#0a3069;--syntax-constant:#0550ae;--syntax-keyword:#cf222e;--syntax-operator:#cf222e;--syntax-function:#8250df;--syntax-type:#953800;--syntax-variable:#24292f;--syntax-property:#0550ae;--syntax-tag:#116329;--syntax-attribute:#0550ae;--syntax-punctuation:#24292f;--syntax-bracket:#24292f;--syntax-builtin:#0550ae;--syntax-decorator:#8250df;--syntax-regex:#116329}