.rK6Psy{background-color:var(--bg-primary);min-height:100vh;color:var(--text-primary);justify-content:center;align-items:center;padding:2rem;display:flex}.BEufDg{text-align:center;background-color:var(--bg-card);max-width:600px;box-shadow:var(--shadow-lg);border:1px solid var(--border-color);border-radius:8px;padding:2rem}.dMLGpl{color:var(--accent-color);margin-bottom:1rem;font-size:2rem}.bVWmDh{color:var(--text-secondary);margin-bottom:2rem;line-height:1.6}.e-FseD{text-align:left;background:var(--bg-secondary);color:var(--text-primary);border-radius:4px;margin-top:2rem;padding:1rem;font-family:monospace;font-size:.9rem;overflow-x:auto}.e-FseD summary{cursor:pointer;color:var(--text-secondary);margin-bottom:.5rem;font-weight:700}.jjTssa{background-color:var(--primary-color);color:#fff;cursor:pointer;border:none;border-radius:4px;margin-top:1.5rem;padding:.75rem 1.5rem;font-weight:600;transition:opacity .2s}.jjTssa:hover{opacity:.9}.ZphNqk{background-color:var(--main-bg);width:100vw;height:100vh;color:var(--text-main);flex-direction:column;display:flex;overflow:hidden}.Xao-dC{flex:1;display:flex;position:relative;overflow:hidden}.VkpgKK{scrollbar-gutter:stable;flex:1;width:100%;padding:24px 60px 24px 24px;position:relative;overflow-y:auto}.YxrRuU{z-index:150;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000bf;display:none;position:fixed;inset:0}@media (max-width:1023px){.VkpgKK{padding:24px 20px 96px}.YxrRuU.gH7bUs{display:block}}.WvmzVf{width:100%;height:var(--toolbar-height);border-bottom:1px solid var(--toolbar-border);z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background-color:var(--toolbar-bg);box-shadow:var(--toolbar-shadow);flex-shrink:0;justify-content:space-between;align-items:center;padding:0;transition:background-color .3s,border-color .3s;display:flex}.QLphIw{align-items:center;height:100%;padding-left:0;display:flex}@media (max-width:1023px){.QLphIw{padding-left:20px}}.EqHs-z{align-items:center;gap:6px;margin-left:16px;display:flex}._5PyhxE{border-radius:var(--button-radius);min-height:36px;color:var(--text-secondary);letter-spacing:.01em;white-space:nowrap;background:0 0;border:0;align-items:center;padding:0 14px;font-size:1.05rem;font-weight:550;line-height:1;text-decoration:none;transition:color .2s,background-color .2s;display:inline-flex}._5PyhxE:hover{background:color-mix(in oklab, var(--accent) 5%, transparent);color:var(--accent)}._5PyhxE:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.S8Hg74{background:color-mix(in oklab, var(--sidebar-item-active-bg) 50%, transparent);color:var(--sidebar-item-active-text)}.S8Hg74:hover{background:color-mix(in oklab, var(--sidebar-item-active-bg) 50%, transparent)}.ez-F6f{background:var(--toolbar-border);opacity:.8;width:1px;height:32px}@media (max-width:1023px){.EqHs-z{gap:4px;margin-left:8px}._5PyhxE{padding:0 10px;font-size:.9rem}.ez-F6f{height:28px}}.E-3i9S{align-items:center;gap:12px;padding-right:20px;display:flex}.HG5qGK{color:var(--text-header);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin-left:-8px;margin-right:16px;padding:8px;font-size:1.2rem;display:none}@media (max-width:1023px){.HG5qGK{display:flex}}.S8hubI{width:390px;height:100%;color:var(--text-header);letter-spacing:.01em;background-color:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);cursor:pointer;flex-shrink:0;align-items:center;gap:10px;padding-left:20px;font-size:1.23rem;font-weight:700;transition:all .3s;display:flex}@media (max-width:1023px){.S8hubI{background-color:#0000;border-right:none;width:auto;padding-left:0}}.pzd0nK{--text-glow-color:#6366f133}[data-theme=dark] .pzd0nK{--text-glow-color:#8b5cf64d}.pzd0nK{text-transform:uppercase;transition:all .3s;animation:5s ease-in-out infinite oqdKvw}.pzd0nK:hover{text-shadow:0 2px 8px #6366f14d;transform:translateY(-1px)}[data-theme=dark] .pzd0nK:hover{text-shadow:0 2px 8px #8b5cf666}.JgL1cQ{color:var(--accent);font-size:1.2rem;animation:4s ease-in-out infinite -efE7d,6s ease-in-out infinite xpPVlA}.ZCNodJ,.wfiyW9{border-radius:var(--button-radius);cursor:pointer;background:var(--toggle-bg);border:1px solid var(--toggle-border);height:36px;color:var(--toggle-text);align-items:center;gap:8px;padding:0 16px;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.ZCNodJ:hover,.wfiyW9:hover{background:var(--toggle-hover-bg);color:var(--toggle-hover-text);border-color:var(--toggle-border)}@media (max-width:767px){.ZCNodJ,.wfiyW9{justify-content:center;gap:0;width:36px;padding:0}.ZCNodJ span,.wfiyW9 span{display:none}.ZCNodJ i,.wfiyW9 i,.ZCNodJ svg,.wfiyW9 svg{width:1rem;height:1rem;margin:0;font-size:1rem}}.wfiyW9{justify-content:center;width:36px;padding:0}.eXjNto{border-color:var(--accent);background:var(--sidebar-item-active-bg);color:var(--sidebar-item-active-text)}.USpKkN{--preferences-attention-inset-opacity:24%;--preferences-attention-glow-opacity:26%;--preferences-attention-hover-inset-opacity:30%;--preferences-attention-hover-glow-opacity:34%;--preferences-attention-pulse-ring-opacity:18%;--preferences-attention-pulse-glow-opacity:36%;border-color:color-mix(in oklab, var(--accent) 50%, var(--toggle-border));background:linear-gradient(160deg, color-mix(in oklab, var(--accent) 20%, transparent), transparent 62%), var(--toggle-bg);box-shadow:0 0 0 1px color-mix(in oklab, var(--accent) var(--preferences-attention-inset-opacity), transparent) inset, 0 0 10px color-mix(in oklab, var(--accent) var(--preferences-attention-glow-opacity), transparent);animation:10s ease-in-out infinite wi67PW;position:relative;overflow:visible}.USpKkN:after{content:"";border-radius:calc(var(--button-radius) + 2px);border:1px solid color-mix(in oklab, var(--accent) 65%, transparent);opacity:0;pointer-events:none;animation:6s ease-in-out infinite rHhlw0;position:absolute;inset:-2px;transform:scale(.9)}.USpKkN:hover{border-color:color-mix(in oklab, var(--accent) 70%, var(--toggle-border));box-shadow:0 0 0 1px color-mix(in oklab, var(--accent) var(--preferences-attention-hover-inset-opacity), transparent) inset, 0 0 12px color-mix(in oklab, var(--accent) var(--preferences-attention-hover-glow-opacity), transparent)}[data-theme=dark] .USpKkN{--preferences-attention-inset-opacity:14%;--preferences-attention-glow-opacity:12%;--preferences-attention-hover-inset-opacity:18%;--preferences-attention-hover-glow-opacity:17%;--preferences-attention-pulse-ring-opacity:10%;--preferences-attention-pulse-glow-opacity:22%}@keyframes -efE7d{0%,to{filter:drop-shadow(0 0 2px var(--accent)) brightness(1)}50%{filter:drop-shadow(0 0 6px var(--accent)) brightness(1.15)}}@keyframes xpPVlA{0%,to{filter:hue-rotate()}50%{filter:hue-rotate(5deg)}}@keyframes oqdKvw{0%,to{text-shadow:0 0 8px #0000}50%{text-shadow:0 0 12px var(--text-glow-color)}}@keyframes wi67PW{0%,76%,to{box-shadow:0 0 0 1px color-mix(in oklab, var(--accent) var(--preferences-attention-inset-opacity), transparent) inset, 0 0 10px color-mix(in oklab, var(--accent) var(--preferences-attention-glow-opacity), transparent);transform:translateY(0)scale(1)}83%{box-shadow:0 0 0 1px color-mix(in oklab, var(--accent) var(--preferences-attention-hover-inset-opacity), transparent) inset, 0 0 0 4px color-mix(in oklab, var(--accent) var(--preferences-attention-pulse-ring-opacity), transparent), 0 0 16px color-mix(in oklab, var(--accent) var(--preferences-attention-pulse-glow-opacity), transparent);transform:translateY(-1px)scale(1.045)}88%{box-shadow:0 0 0 1px color-mix(in oklab, var(--accent) var(--preferences-attention-inset-opacity), transparent) inset, 0 0 10px color-mix(in oklab, var(--accent) var(--preferences-attention-glow-opacity), transparent);transform:translateY(0)scale(1)}}@keyframes rHhlw0{0%,76%,to{opacity:0;transform:scale(.9)}83%{opacity:.62;transform:scale(1.08)}88%{opacity:0;transform:scale(1.22)}}@media (prefers-reduced-motion:reduce){.USpKkN,.USpKkN:after,._5PyhxE{transition:none;animation:none}}.i8pxaV{z-index:1000;background:var(--overlay-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);place-items:center;padding:clamp(16px,4vw,48px);display:grid;position:fixed;inset:0}.QglcuF{cursor:default;background:0 0;border:0;width:100%;height:100%;position:absolute;inset:0}._2LzccI{z-index:1;border:1px solid var(--modal-header-border);width:min(880px,100%);max-height:min(84vh,900px);color:var(--modal-body-text);background:var(--modal-bg);box-shadow:var(--modal-shadow);border-radius:14px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:relative;overflow:hidden}.YUTz9f{border-bottom:1px solid var(--modal-header-border);background:var(--modal-header-bg);padding:20px clamp(20px,4vw,36px)}.YUTz9f h2{color:var(--modal-body-heading);margin:0;font-size:clamp(1.4rem,3vw,1.75rem);font-weight:600}._1VXQda{padding:24px clamp(20px,4vw,36px) 32px;font-size:.96rem;line-height:1.68;overflow-y:auto}._1VXQda h3,._1VXQda h4{color:var(--modal-body-heading);line-height:1.35}._1VXQda h3{margin:1.8rem 0 .65rem;font-size:1.08rem}._1VXQda h4{margin:1.4rem 0 .5rem;font-size:1rem}._1VXQda p,._1VXQda ul,._1VXQda ol{margin:0 0 1rem}._1VXQda ul,._1VXQda ol{padding-left:1.4rem}._1VXQda li+li{margin-top:.35rem}._1VXQda a{color:var(--accent)}._1VXQda code{font-family:var(--font-family-chivo-mono)}._1VXQda hr{border:0;border-top:1px solid var(--modal-header-border);margin:1.5rem 0}.fk8rgL{border-top:1px solid var(--modal-header-border);background:var(--modal-header-bg);justify-content:flex-end;padding:14px clamp(20px,4vw,36px);display:flex}.fk8rgL button{min-width:88px;color:var(--color-text-static-white);background:var(--modal-btn-bg);font:inherit;cursor:pointer;border:0;border-radius:7px;padding:.65rem 1.25rem;font-weight:600}.fk8rgL button:hover{background:var(--modal-btn-hover-bg)}.fk8rgL button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}@media (max-width:479px){.i8pxaV{padding:12px}._2LzccI{max-height:92vh}}.TdaKlT{background-color:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);flex-direction:column;flex-shrink:0;width:390px;height:100%;transition:transform .3s ease-in-out;display:flex;box-shadow:2px 0 8px #0000000a}@media (max-width:1023px){.TdaKlT{z-index:200;width:390px;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.TdaKlT.QC4jHz{transform:translate(0)}}@media (max-width:479px){.TdaKlT{width:320px}}.h026g3{background:var(--sidebar-bg);border:1px solid var(--sidebar-border);width:48px;height:48px;color:var(--text-secondary);cursor:pointer;z-index:101;justify-content:center;align-items:center;font-size:1.1rem;display:none;position:absolute;right:-49px;box-shadow:2px 2px 8px #0000001a}.h026g3:hover{background:var(--sidebar-hover);color:var(--text-main)}@media (max-width:1023px){.h026g3{opacity:0;pointer-events:none;transition:opacity .2s ease-in-out;display:flex}.QC4jHz .h026g3{opacity:1;pointer-events:auto}}._5m09wb{background:var(--sidebar-bg);border-bottom:1px solid var(--sidebar-border);z-index:1;padding:20px 20px 19px;position:relative}.f-smDh{width:100%;position:relative}.UzpKbw{color:var(--sidebar-text);pointer-events:none;z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:16px;right:auto;transform:translateY(-50%)}.ayVU3c{background:var(--sidebar-search-clear-bg);color:var(--sidebar-search-clear-text);cursor:pointer;z-index:10;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:.7rem;transition:all .2s;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.ayVU3c:hover{background:var(--sidebar-search-clear-hover-bg);color:var(--sidebar-search-clear-hover-text)}.bpeJ1y{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex}.TujaQI{letter-spacing:.05em;text-transform:uppercase;color:var(--sidebar-text);opacity:.8;white-space:nowrap;font-size:.68rem;font-weight:600}.Mbs3Yg{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;color:var(--sidebar-text-hover);font-size:.9rem;overflow:hidden}.Mbs3Yg strong{color:var(--color-text-primary);font-weight:700}.BF3zjx{color:var(--sidebar-text);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px 12px;font-size:.85rem;display:flex}.BF3zjx svg{opacity:.55}.OHWEUh{opacity:1;flex-direction:column;flex:1;min-height:0;transition:opacity .2s;display:flex;overflow:hidden}.ptJnF6{opacity:.2}[data-theme=dark] .ptJnF6{opacity:.1}.EE-ClI{border-top:1px solid var(--sidebar-border);min-height:0;color:var(--sidebar-text);background:var(--sidebar-bg);flex:0 0 32px;justify-content:center;align-items:center;gap:7px;font-size:.72rem;display:flex}.EE-ClI button{color:inherit;font:inherit;cursor:pointer;opacity:.72;background:0 0;border:0;padding:2px 0}.EE-ClI button:hover{color:var(--sidebar-text-hover);opacity:1;text-decoration:underline}.EE-ClI button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.EE-ClI>span{opacity:.45}.Jf1Ucp{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.Jf1Ucp.hCaxQ3{flex:none}._4JNFpl{background:var(--accordion-header-bg);color:var(--accordion-header-text);letter-spacing:.512px;text-transform:uppercase;cursor:pointer;-webkit-user-select:none;user-select:none;border-bottom:.706px solid var(--accordion-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:20px;font-size:.88rem;font-weight:600;line-height:1;transition:background-color .15s;display:flex}._4JNFpl:hover{background:var(--accordion-header-bg-hover)}._4JNFpl span{align-items:center;gap:10px;display:flex}._4JNFpl svg{width:18.37px;height:18.37px;color:var(--accordion-icon-color)}.zOTRVH,.FfctVI{margin-top:4px}.FfctVI{opacity:.8;margin-left:6px;font-size:.85rem;font-weight:500}.Pj0Kf1{width:22.99px;height:22.99px;color:var(--accordion-icon-color);transition:transform .2s}.Jf1Ucp.hCaxQ3 .Pj0Kf1{transform:rotate(-90deg)}.Jf1Ucp:not(.hCaxQ3) .Pj0Kf1{transform:rotate(0)}.OozfjQ{background:var(--sidebar-bg);flex:1;min-height:0;padding:6px 0 32px;overflow-y:auto;box-shadow:inset 0 -40px 30px -30px #0000001a}.OozfjQ.hCaxQ3{display:none}.MaRJIw{color:var(--color-success);background:var(--color-bg-tertiary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:auto;height:auto;margin-left:auto;margin-right:-12px;padding:6px;font-size:.9rem;display:flex}.liIbau{color:var(--sidebar-text);cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:1px 12px;padding:13px 20px;font-size:.95rem;font-weight:500;line-height:1.5;text-decoration:none;transition:all .15s;display:flex}.liIbau:hover{background:var(--sidebar-item-hover-glass-bg);border-color:var(--sidebar-item-hover-glass-border);box-shadow:var(--sidebar-item-hover-glass-shadow);-webkit-backdrop-filter:blur(10px)saturate(150%);backdrop-filter:blur(10px)saturate(150%);color:var(--sidebar-text-hover)}.liIbau._8gg23o{background:var(--sidebar-item-active-glass-bg);color:var(--sidebar-active);border-color:var(--sidebar-item-active-glass-border);box-shadow:var(--sidebar-item-active-glass-shadow);-webkit-backdrop-filter:blur(12px)saturate(165%);backdrop-filter:blur(12px)saturate(165%);background-size:220% 220%;animation:6s ease-in-out infinite KRDLyK}.liIbau._8gg23o .LLzT9n{background:var(--insert-scaffold-bg);color:var(--color-text-static-white)}.liIbau._6fiHBO{color:var(--color-text-tertiary)}.liIbau._6fiHBO._8gg23o{color:var(--sidebar-active)}.B3rnMJ{flex:1;align-items:center;gap:12px;min-width:0;display:flex}._6u-xjc{flex:1;min-width:0;font-weight:500;position:relative;overflow:hidden}.liIbau._8gg23o ._6u-xjc{color:var(--sidebar-active);animation:.7s cubic-bezier(.22,1,.36,1) both wAdP-w,1.2s ease-out opBjXy}.liIbau._8gg23o ._6u-xjc:after{content:"";opacity:0;mix-blend-mode:plus-lighter;filter:saturate(135%)brightness(1.22);pointer-events:none;background:linear-gradient(102deg,#0000 0%,#fff0 22%,#ffffff38 38%,#ffffffeb 50%,#ffffff38 62%,#fff0 78%,#0000 100%);animation:1.9s cubic-bezier(.2,.7,.2,1) _5zCDQg;position:absolute;inset:-35% -55%;transform:translate(-130%)skew(-18deg)}.LLzT9n{font-family:var(--font-primary);color:inherit;text-align:center;background:0 0;border-radius:5px;flex-shrink:0;align-self:flex-start;min-width:26px;padding:3px 7px;font-size:.9rem;font-weight:600}@keyframes KRDLyK{0%,to{background-position:0%}50%{background-position:100%}}@keyframes wAdP-w{0%{opacity:.7;letter-spacing:.002em;transform:scale(.985)}to{opacity:1;letter-spacing:0;transform:scale(1)}}@keyframes opBjXy{0%{text-shadow:0 0 #0000,0 0 #0000}35%{text-shadow:0 0 10px #ffffff3d,0 0 20px #ffffff24}to{text-shadow:0 0 #0000,0 0 #0000}}@keyframes _5zCDQg{0%{opacity:0;transform:translate(-130%)skew(-18deg)}22%{opacity:1}to{opacity:0;transform:translate(130%)skew(-18deg)}}@media (prefers-reduced-motion:reduce){.liIbau._8gg23o ._6u-xjc{animation:none}}:root{--font-family-sans:"Inter", sans-serif;--font-family-mono:"Fira Code", monospace;--font-family-chivo-mono:"Chivo Mono", monospace;--color-bg-primary:#f8fafc;--color-bg-secondary:#f1f5f9;--color-bg-tertiary:#fff;--color-bg-elevated:#fff;--color-text-primary:#0f172a;--color-text-secondary:#334155;--color-text-tertiary:#475569;--color-text-muted:#64748b;--color-text-subtle:#94a3b8;--color-border-default:#e2e8f0;--color-border-muted:#cbd5e1;--color-accent-primary:#3b82f6;--color-accent-secondary:#2563eb;--color-accent-bg:#dbeafe;--color-accent-text:#1e40af;--color-bg-danger-solid:#dc2626;--color-text-static-white:#fff;--insert-scaffold-bg:linear-gradient(135deg, #2563eb, #1d4ed8);--insert-scaffold-hover-bg:linear-gradient(135deg, #3b82f6, #1e40af);--sidebar-bg:#f1f5f9;--sidebar-border:#cbd5e1;--sidebar-text:#475569;--sidebar-text-hover:#0f172a;--sidebar-item-hover-bg:#e2e8f0;--sidebar-item-active-bg:#dbeafe;--sidebar-item-active-text:#2563eb;--sidebar-item-hover-glass-bg:linear-gradient(145deg, #ffffff85 0%, #dbeafe47 52%, #bfdbfe33 100%);--sidebar-item-hover-glass-border:#94a3b873;--sidebar-item-hover-glass-shadow:inset 0 1px 0 #ffffff9e, 0 8px 18px #0f172a17;--sidebar-item-active-glass-bg:linear-gradient(140deg, #dbeafeb8 0%, #bfdbfe99 52%, #93c5fd8a 100%);--sidebar-item-active-glass-border:#3b82f685;--sidebar-item-active-glass-shadow:inset 0 1px 0 #ffffffa6, 0 8px 16px -4px #1e40af26;--sidebar-search-bg:#fff;--sidebar-search-border:#e2e8f0;--sidebar-brand-text:#0f172a;--accordion-bg:#fff;--accordion-text:#151e27;--accordion-hover-bg:#f8fafc;--accordion-icon-bg:#f1f5f9;--accordion-icon-color:#64748b;--accordion-icon-bg-hover:#e2e8f0;--accordion-icon-color-hover:#0f172a;--accordion-header-text-hover:#0f172a;--accordion-header-bg:#fff;--accordion-header-bg-hover:#f8fafc;--accordion-border:#cbd5e1;--toolbar-bg:#ffffffe6;--toolbar-border:#e2e8f0;--toolbar-btn-bg:#fff;--toolbar-btn-border:#cbd5e1;--toolbar-btn-text:#475569;--toolbar-btn-hover-bg:#f8fafc;--toolbar-btn-hover-text:#0f172a;--toolbar-height:68px;--modal-overlay-bg:#fffffff0;--modal-bg:#fff;--modal-shadow:0 24px 38px 3px #00000024, 0 9px 46px 8px #0000001f, 0 11px 15px -7px #0003;--modal-header-bg:#f8fafc;--modal-header-text:#0f172a;--modal-header-border:#e2e8f0;--modal-body-text:#4b5563;--modal-body-heading:#1f2937;--modal-body-subheading:#374151;--modal-list-text:#334155;--modal-list-icon:#64748b;--modal-nested-bg:#f1f5f9;--modal-nested-border:#e2e8f0;--modal-nested-text:#475569;--modal-footer-bg:#fff;--modal-footer-border:#e2e8f0;--modal-checkbox-text:#64748b;--modal-btn-bg:#2563eb;--modal-btn-hover-bg:#1d4ed8;--modal-icon-accent:#f59e0b;--card-bg:#fff;--card-border:#e2e8f0;--card-header-bg:transparent;--card-title-text:#0f172a;--problem-title-number-text:#a8b2c0;--card-active-gradient:linear-gradient(135deg, #476bbf 0%, #5273c4 33%, #5e7bc9 67%, #6983ce 100%);--card-radius:8px;--problem-desc-text:#334155;--section-title-color:#64748b;--highlight-bg:#fef3c7;--highlight-text:#92400e;--mono-bg:#f1f5f9;--problem-mono-bg:#f1f5f9;--problem-mono-text:#c026d3;--problem-mono-border:#e2e8f0;--problem-intro-text:#64748b;--example-bg:#fff;--example-border:#e2e8f0;--example-header-bg:#f8fafc;--example-header-text:#64748b;--example-label-text:#475569;--example-io-bg:#f1f5f9;--example-io-border:#e2e8f0;--example-output-bg:#dcfce7;--example-output-text:#166534;--example-explanation-border:#e2e8f0;--example-explanation-text:#475569;--edge-case-bg:#fafafa;--edge-case-border:#e5e5e5;--edge-case-icon-bg:#f1f5f9;--edge-case-icon-color:#64748b;--edge-case-text:#475569;--constraints-bg:#fff1f2;--constraints-border:#fda4af;--constraints-text:#881337;--constraints-bullet:#e11d48;--constraints-icon:#9f1239;--constraints-box-bg:#fff;--constraints-box-border:#bfdbfe;--constraints-list-text:var(--color-text-secondary);--complexity-bg:linear-gradient(140deg, #eff6ffe6 0%, #f8fafcf0 55%, #dbeafec7 100%);--complexity-border:#bfdbfe;--complexity-label:#475569;--complexity-value:#1e3a8a;--complexity-note:#475569;--complexity-title-text:#334155;--complexity-title-underline:#93c5fd;--solution-toggle-btn-bg:#fafafa;--solution-toggle-btn-border:#e5e5e5;--solution-toggle-btn-text:#475569;--solution-toggle-btn-hover-bg:#f1f5f9;--solution-toggle-btn-hover-text:#334155;--solution-toggle-btn-hover-border:#cbd5e1;--solution-toggle-btn-active-bg:#2563eb;--solution-toggle-btn-active-text:#fff;--solution-toggle-btn-active-hover-bg:#1d4ed8;--solution-header-bg:#f8fafc;--solution-header-border:#f1f5f9;--solution-lang-bg:#f1f5f9;--solution-lang-text:#334155;--solution-lang-border:#e2e8f0;--solution-lang-active-bg:#eff6ff;--solution-lang-active-border:#2563eb;--solution-lang-active-text:#1e40af;--solution-hint-bg:#fefce8;--solution-hint-border:#facc15;--solution-hint-text:#854d0e;--solution-hint-title:#a16207;--solution-hint-icon:#ca8a04;--solution-step-border:#94a3b8;--solution-step-active-border:#22c55e;--solution-step-error-border:#ef4444;--solution-step-success-bg:#f0fdf4;--solution-step-error-bg:#fef2f2;--solution-step-number-default:#94a3b8;--solution-step-number-success:#166534;--solution-step-number-error:#dc2626;--solution-verify-bg:#f1f5f9;--solution-verify-border:#cbd5e1;--solution-verify-text:#64748b;--solution-h3-text:#334155;--solution-verify-pass-bg:#dcfce7;--solution-verify-pass-border:#86efac;--solution-verify-pass-text:#166534;--solution-verify-fail-bg:#fee2e2;--solution-verify-fail-border:#ef4444;--solution-verify-fail-text:#dc2626;--solution-loading-text:#64748b;--solution-retry-btn-hover-bg:#1d4ed8;--execution-console-line-error:#b42318;--execution-console-line-test-pass:#027a48;--execution-console-line-test-fail:#b42318;--execution-console-line-test-detail:var(--color-text-secondary);--execution-submit-btn-bg:var(--insert-scaffold-bg);--execution-submit-btn-border:#1d4ed8;--execution-submit-btn-text:var(--color-text-static-white);--execution-submit-btn-hover-bg:var(--insert-scaffold-hover-bg);--execution-submit-btn-hover-border:#1e40af;--execution-submit-btn-hover-text:var(--color-text-static-white);--execution-toolbar-separator:#1e293b;--execution-submit-overlay-bg:var(--color-bg-elevated);--execution-submit-overlay-border:var(--color-border-default);--execution-submit-overlay-text:var(--color-text-secondary);--execution-submit-overlay-title:var(--color-text-primary);--execution-submit-overlay-surface:#ffffffa6;--execution-submit-overlay-gradient-1:#a7f3d0;--execution-submit-overlay-gradient-2:#93c5fd;--execution-submit-overlay-gradient-3:#c4b5fd;--execution-submit-overlay-gradient-4:#67e8f9;--execution-submit-overlay-success-bg:#ecfdf3;--execution-submit-overlay-success-border:#6ce9a6;--execution-submit-overlay-success-surface:#ecfdf3b8;--execution-submit-overlay-success-gradient-1:#34d399;--execution-submit-overlay-success-gradient-2:#22c55e;--execution-submit-overlay-success-gradient-3:#14b8a6;--execution-submit-overlay-success-gradient-4:#4ade80;--execution-submit-overlay-failure-bg:#fef3f2;--execution-submit-overlay-failure-border:#fda29b;--execution-submit-overlay-failure-surface:#fef3f2b8;--execution-submit-overlay-failure-gradient-1:#f97316;--execution-submit-overlay-failure-gradient-2:#ef4444;--execution-submit-overlay-failure-gradient-3:#fb7185;--execution-submit-overlay-failure-gradient-4:#f59e0b;--execution-submit-overlay-neutral-bg:var(--color-bg-elevated);--execution-submit-overlay-neutral-border:var(--color-border-muted);--execution-submit-overlay-neutral-surface:#ffffffad;--execution-submit-overlay-neutral-gradient-1:#60a5fa;--execution-submit-overlay-neutral-gradient-2:#22d3ee;--execution-submit-overlay-neutral-gradient-3:#a78bfa;--execution-submit-overlay-neutral-gradient-4:#38bdf8;--execution-submit-overlay-dismiss-bg:var(--solution-toggle-btn-bg);--execution-submit-overlay-dismiss-border:var(--solution-toggle-btn-border);--execution-submit-overlay-dismiss-text:var(--solution-toggle-btn-text);--solution-error-bg:#fff1f2;--solution-error-border:#fda4af;--solution-error-text:#9f1239;--solution-error-icon-color:#e11d48;--solution-error-icon-bg:#ffe4e6;--solution-error-subtext:#881337;--code-block-bg:#f1f5f9;--code-block-border:#e2e8f0;--code-block-text:#334155;--code-inline-bg:#f1f5f9;--code-inline-border:#e2e8f0;--code-inline-text:#c026d3;--code-inline-method:#7c3aed;--code-inline-type:#0891b2;--code-inline-params:#475569;--code-dark-bg:#1e293b;--code-dark-text:#e2e8f0;--code-copy-bg:#e2e8f0;--code-copy-text:#334155;--syntax-keyword:#d73a49;--syntax-string:#032f62;--syntax-variable:#e36209;--syntax-comment:#6a737d;--syntax-type:#6f42c1;--syntax-function:#6f42c1;--syntax-number:#005cc5;--syntax-operator:#d73a49;--tag-bg:#e0f2fe;--tag-text:#0369a1;--tag-border:transparent;--visual-bg:#f8fafc;--visual-border:#cbd5e1;--visual-text:#64748b;--visual-node-border:#334155;--visual-arrow:#94a3b8;--heap-structure-bg:#f8fafc;--heap-structure-border:#cbd5e1;--heap-label:#64748b;--heap-node-bg:#fff;--heap-node-border:#3b82f6;--heap-node-text:#1e40af;--heap-node-shadow:#0000000d;--heap-root-bg:#eff6ff;--heap-root-border:#2563eb;--heap-src-text:#60a5fa;--heap-connector:#cbd5e1;--heap-caption:#94a3b8;--heap-action:#3b82f6;--result-list-bg:#f0fdf4;--result-list-border:#86efac;--visual-land-bg:#22c55e;--visual-land-text:#fff;--visual-water-bg:#e0f2fe;--highlight-success-bg:#dcfce7;--highlight-success-text:#166534;--highlight-success-border:#86efac;--highlight-warning-bg:#fef3c7;--highlight-warning-text:#92400e;--highlight-warning-border:#fcd34d;--ws-grid-bg:#e2e8f0;--ws-cell-bg:#fff;--ws-cell-border:#cbd5e1;--ws-cell-text:#64748b;--ws-cell-active-bg:#3b82f6;--ws-cell-active-text:#fff;--sm-grid-bg:#f8fafc;--sm-cell-bg:#fff;--sm-cell-border:#e2e8f0;--sm-cell-text:#1e293b;--sm-path-color:#3b82f6;--table-th-bg:#f8fafc;--table-stripe-bg:#fafafa;--table-border:#e2e8f0;--trace-header-bg:#1e293b;--trace-header-text:#fff;--trace-border:#e2e8f0;--trace-bg:#fff;--trace-row-stripe:#fafafa;--code-sm-bg:#f1f5f9;--code-sm-text:#334155;--code-sm-null:#94a3b8;--code-sm-success-bg:#dcfce7;--code-sm-success-text:#166534;--code-sm-miss-bg:#fee2e2;--code-sm-miss-text:#dc2626;--cache-item-bg:#dbeafe;--cache-item-text:#1e40af;--cache-item-active-bg:#bbf7d0;--cache-item-active-text:#166534;--cache-item-active-border:#86efac;--cache-evicted-bg:#fee2e2;--cache-evicted-text:#dc2626;--hashmap-bg:#fefce8;--hashmap-border:#facc15;--hashmap-key:#a16207;--hashmap-arrow:#ca8a04;--hashmap-value:#854d0e;--dll-node-border:#94a3b8;--dll-node-bg:#fff;--dll-mru-border:#22c55e;--dll-mru-bg:#f0fdf4;--dll-mru-text:#166534;--dll-lru-border:#ef4444;--dll-lru-bg:#fef2f2;--dll-lru-text:#dc2626;--visual-container-bg:#fff;--visual-container-border:#cbd5e1;--visual-node-bg:#fff;--visual-cell-fresh-bg:#fb923c;--visual-cell-fresh-border:#f97316;--visual-cell-rotten-bg:#ef4444;--visual-cell-rotten-border:#dc2626;--rain-bar-bg:#0f172a;--rain-water-bg:#3b82f6;--grid-visual-border:#334155;--grid-visual-bg:#334155;--grid-cell-bg:#fff;--scroll-track:transparent;--scroll-thumb:#cbd5e1;--scroll-thumb-hover:#94a3b8;--focus-ring:#3b82f680;--overlay-backdrop:#00000080;--font-sans:var(--font-family-sans);--font-mono:var(--font-family-mono);--main-bg:var(--color-bg-primary);--text-header:var(--color-text-primary);--text-main:var(--color-text-secondary);--border-color:var(--color-border-default);--accent:var(--color-accent-primary);--intro-color:var(--color-text-muted);--mono-color:var(--code-inline-text);--code-bg:var(--code-block-bg);--search-bg:var(--sidebar-search-bg);--sidebar-hover:var(--sidebar-item-hover-bg);--sidebar-active:var(--sidebar-item-active-text);--sidebar-active-bg:var(--sidebar-item-active-bg);--sidebar-search-clear-bg:#e2e8f0;--sidebar-search-clear-text:#64748b;--sidebar-search-clear-hover-bg:#cbd5e1;--sidebar-search-clear-hover-text:#475569;--toolbar-shadow:0 3px 5px -2px #00000012, 0 1px 3px -1px #0000000a;--btn-bg:var(--toolbar-btn-bg);--btn-border:var(--toolbar-btn-border);--btn-text:var(--toolbar-btn-text);--btn-hover-bg:var(--toolbar-btn-hover-bg);--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--shadow-glow:0 0 15px #3b82f680;--shadow-inset-sm:inset 0 2px 4px #0000000d;--shadow-sm-color:#0000000d;--toggle-bg:#fff;--toggle-border:#cbd5e1;--toggle-text:#475569;--toggle-hover-bg:#f8fafc;--toggle-hover-text:#0f172a;--problem-nav-btn-bg:#f8fafc;--problem-nav-btn-text:#64748b;--problem-nav-btn-border:#e2e8f0;--problem-nav-btn-hover-bg:#e2e8f0;--problem-nav-btn-hover-text:#334155;--problem-nav-btn-disabled-opacity:.4;--btn-secondary-border:#cbd5e1;--button-radius:6px}[data-theme=dark]{--insert-scaffold-bg:linear-gradient(135deg, #d97706, #b45309);--insert-scaffold-hover-bg:linear-gradient(135deg, #ea580c, #b45309);--color-bg-primary:#1a1a1a;--color-bg-secondary:#0f0f0f;--color-bg-tertiary:#1a1a1a;--color-bg-elevated:#242424;--color-text-primary:#e0e0e0;--color-text-secondary:#9a9a9a;--color-text-tertiary:#b8b8b8;--color-text-muted:#888;--color-text-subtle:#707070;--color-border-default:#272727;--color-border-muted:#353535;--color-accent-primary:#888;--color-accent-secondary:#9a9a9a;--color-accent-bg:#88888826;--color-accent-text:#d0d0d0;--sidebar-bg:#1a1a1a;--sidebar-border:#272727;--sidebar-text:#a8a8a8;--sidebar-text-hover:#b8b8b8;--sidebar-item-hover-bg:#242424;--sidebar-item-active-bg:#88888826;--sidebar-item-active-text:#ececec;--sidebar-item-hover-glass-bg:linear-gradient(145deg, #5858585c 0%, #4444444d 52%, #2828286b 100%);--sidebar-item-hover-glass-border:#88888857;--sidebar-item-hover-glass-shadow:inset 0 1px 0 #ffffff12, 0 8px 20px #0000004d;--sidebar-item-active-glass-bg:linear-gradient(140deg, #68686870 0%, #53535366 52%, #3a3a3a8a 100%);--sidebar-item-active-glass-border:#b0b0b094;--sidebar-item-active-glass-shadow:inset 0 1px 0 #ffffff1a, 0 12px 26px #00000061;--sidebar-search-bg:#1a1a1a;--sidebar-search-border:#272727;--sidebar-brand-text:#e0e0e0;--sidebar-search-clear-bg:#272727;--sidebar-search-clear-text:#888;--sidebar-search-clear-hover-bg:#353535;--sidebar-search-clear-hover-text:#d0d0d0;--toolbar-shadow:0 3px 5px -2px #00000038, 0 1px 3px -1px #0000001a;--accordion-bg:#121212;--accordion-text:#9a9a9a;--accordion-hover-bg:#242424;--accordion-icon-bg:#242424;--accordion-icon-color:#9a9a9a;--accordion-header-text-hover:#e0e0e0;--accordion-header-bg:#121212;--accordion-header-bg-hover:#242424;--accordion-border:#404040;--accordion-icon-bg-hover:#383838;--accordion-icon-color-hover:#e0e0e0;--toolbar-bg:#1a1a1af2;--toolbar-border:#272727;--toolbar-btn-bg:#2e2e2e;--toolbar-btn-border:#363636;--toolbar-btn-text:#d0d0d0;--toolbar-btn-hover-bg:#383838;--toolbar-btn-hover-text:#e0e0e0;--modal-overlay-bg:#000000eb;--modal-bg:#242424;--modal-shadow:0 24px 38px 3px #0006, 0 9px 46px 8px #0000004d, 0 11px 15px -7px #00000080;--modal-header-bg:#1a1a1a;--modal-header-text:#e0e0e0;--modal-header-border:#353535;--modal-body-text:#9a9a9a;--modal-body-heading:#e0e0e0;--modal-body-subheading:#b8b8b8;--modal-list-text:#b8b8b8;--modal-list-icon:#888;--modal-nested-bg:#1a1a1a;--modal-nested-border:#353535;--modal-nested-text:#9a9a9a;--modal-footer-bg:#242424;--modal-footer-border:#353535;--modal-checkbox-text:#9a9a9a;--modal-btn-bg:#383838;--modal-btn-hover-bg:#4a4a4a;--modal-icon-accent:#888;--card-bg:#242424;--card-border:#272727;--card-header-bg:transparent;--card-title-text:#e0e0e0;--problem-title-number-text:#5c5c5c;--card-active-gradient:linear-gradient(135deg, #5a4031 0%, #a86634 25%, #c48946 50%, #a86634 75%, #5a4031 100%);--problem-desc-text:#9a9a9a;--section-title-color:#94a3b8;--highlight-bg:#fef3c71a;--highlight-text:#fde68a;--mono-bg:#202020;--problem-mono-bg:#202020;--problem-mono-text:#d4d4d4;--problem-mono-border:#353535;--problem-intro-text:#9a9a9a;--force-light-bg-in-dark:#444;--example-bg:#1b1b1b;--example-border:#272727;--example-header-bg:#1a1a1a;--example-header-text:#9a9a9a;--example-label-text:#9a9a9a;--example-io-bg:#202020;--example-io-border:#353535;--example-output-bg:#16653433;--example-output-text:#86efac;--example-explanation-border:#353535;--example-explanation-text:#9a9a9a;--edge-case-bg:#1e1e1e;--edge-case-border:#353535;--edge-case-icon-bg:#1a1a1a;--edge-case-icon-color:#888;--edge-case-text:#b8b8b8;--constraints-bg:#b4b4b41a;--constraints-border:#707070;--constraints-text:#c8c8c8;--constraints-bullet:#93c5fd;--constraints-icon:#888;--constraints-box-bg:#1f1f1f;--constraints-box-border:#000;--constraints-list-text:#d1d5db;--complexity-bg:linear-gradient(140deg, #3c3c3c8a 0%, #22222270 55%, #0000004d 100%);--complexity-border:#0f0e0e75;--complexity-label:#cbd5e1;--complexity-value:#dbeafe;--complexity-note:#d1d5db;--complexity-title-text:#d1d5db;--complexity-title-underline:#545454;--solution-toggle-btn-bg:#1a1a1a;--solution-toggle-btn-border:#353535;--solution-toggle-btn-text:#9a9a9a;--solution-toggle-btn-hover-bg:#242424;--solution-toggle-btn-hover-text:#e0e0e0;--solution-toggle-btn-hover-border:#404040;--solution-toggle-btn-active-bg:#888;--solution-toggle-btn-active-text:#1a1a1a;--solution-toggle-btn-active-hover-bg:#a8a8a8;--solution-header-bg:#1a1a1a;--solution-header-border:#272727;--solution-lang-bg:#242424;--solution-lang-text:#9a9a9a;--solution-lang-border:#353535;--solution-lang-active-bg:#2e2e2e;--solution-lang-active-border:#888;--solution-lang-active-text:#d0d0d0;--solution-hint-bg:#8888881a;--solution-hint-border:#707070;--solution-hint-text:#b8b8b8;--solution-hint-title:#9a9a9a;--solution-hint-icon:#888;--solution-step-border:#404040;--solution-step-active-border:#888;--solution-step-error-border:#707070;--solution-step-success-bg:#8888881a;--solution-step-error-bg:#8888881a;--solution-step-number-default:#707070;--solution-step-number-success:#b8b8b8;--solution-step-number-error:#c8c8c8;--solution-verify-bg:#242424;--solution-verify-border:#353535;--solution-verify-text:#9a9a9a;--solution-h3-text:#b8b8b8;--solution-verify-pass-bg:#88888826;--solution-verify-pass-border:#707070;--solution-verify-pass-text:#b8b8b8;--solution-verify-fail-bg:#88888826;--solution-verify-fail-border:#707070;--solution-verify-fail-text:#fca5a5;--solution-loading-text:#9a9a9a;--solution-retry-btn-hover-bg:#888;--execution-console-line-error:#f97066;--execution-console-line-test-pass:#32d583;--execution-console-line-test-fail:#f97066;--execution-console-line-test-detail:var(--color-text-secondary);--execution-submit-btn-bg:var(--insert-scaffold-bg);--execution-submit-btn-border:#92400e;--execution-submit-btn-text:var(--color-text-static-white);--execution-submit-btn-hover-bg:var(--insert-scaffold-hover-bg);--execution-submit-btn-hover-border:#92400e;--execution-submit-btn-hover-text:var(--color-text-static-white);--execution-toolbar-separator:#6b7280;--execution-submit-overlay-bg:#2a2a2a;--execution-submit-overlay-border:#404040;--execution-submit-overlay-text:#d0d0d0;--execution-submit-overlay-title:#e0e0e0;--execution-submit-overlay-surface:#2222229e;--execution-submit-overlay-gradient-1:#22d3ee;--execution-submit-overlay-gradient-2:#818cf8;--execution-submit-overlay-gradient-3:#34d399;--execution-submit-overlay-gradient-4:#38bdf8;--execution-submit-overlay-success-bg:#126e3a47;--execution-submit-overlay-success-border:#2cb670;--execution-submit-overlay-success-surface:#134e3a8f;--execution-submit-overlay-success-gradient-1:#10b981;--execution-submit-overlay-success-gradient-2:#34d399;--execution-submit-overlay-success-gradient-3:#2dd4bf;--execution-submit-overlay-success-gradient-4:#22c55e;--execution-submit-overlay-failure-bg:#8b1d1d4d;--execution-submit-overlay-failure-border:#f97066;--execution-submit-overlay-failure-surface:#5c1e1e94;--execution-submit-overlay-failure-gradient-1:#fb7185;--execution-submit-overlay-failure-gradient-2:#f97316;--execution-submit-overlay-failure-gradient-3:#ef4444;--execution-submit-overlay-failure-gradient-4:#f59e0b;--execution-submit-overlay-neutral-bg:#2a2a2a;--execution-submit-overlay-neutral-border:#606060;--execution-submit-overlay-neutral-surface:#2a2a2a99;--execution-submit-overlay-neutral-gradient-1:#60a5fa;--execution-submit-overlay-neutral-gradient-2:#22d3ee;--execution-submit-overlay-neutral-gradient-3:#a78bfa;--execution-submit-overlay-neutral-gradient-4:#38bdf8;--execution-submit-overlay-dismiss-bg:var(--solution-toggle-btn-bg);--execution-submit-overlay-dismiss-border:var(--solution-toggle-btn-border);--execution-submit-overlay-dismiss-text:var(--solution-toggle-btn-text);--solution-error-bg:#450a0a4d;--solution-error-border:#7f1d1d;--solution-error-text:#fca5a5;--solution-error-icon-color:#f87171;--solution-error-icon-bg:#7f1d1d66;--solution-error-subtext:#cbcaca;--code-block-bg:#202020;--code-block-border:#353535;--code-block-text:#d4d4d4;--code-inline-bg:#202020;--code-inline-border:#353535;--code-inline-text:#d4d4d4;--code-inline-method:#b8a8d4;--code-inline-type:#88c0d0;--code-inline-params:#9a9a9a;--code-dark-bg:#1a1a1a;--code-dark-text:#d4d4d4;--code-copy-bg:#2e2e2e;--code-copy-text:#d0d0d0;--syntax-keyword:#ff7b72;--syntax-string:#a5d6ff;--syntax-variable:#79c0ff;--syntax-comment:#8b949e;--syntax-type:#d2a8ff;--syntax-function:#d2a8ff;--syntax-number:#79c0ff;--syntax-operator:#ff7b72;--tag-bg:#88888826;--tag-text:#a8a8a8;--tag-border:transparent;--visual-bg:#1a1a1a;--visual-border:#353535;--visual-text:#888;--visual-node-border:#707070;--visual-arrow:#707070;--heap-structure-bg:#1e1e1e;--heap-structure-border:#353535;--heap-label:#888;--heap-node-bg:#2d2d2d;--heap-node-border:#3b82f6;--heap-node-text:#93c5fd;--heap-node-shadow:#0003;--heap-root-bg:#1e3a8a4d;--heap-root-border:#1d4ed8;--heap-src-text:#60a5fa;--heap-connector:#475569;--heap-caption:#888;--heap-action:#60a5fa;--result-list-bg:#16653433;--result-list-border:#14532d;--dll-lru-bg:#7f1d1d66;--dll-lru-text:#fca5a5;--visual-container-bg:#1e1e1e;--visual-container-border:#353535;--visual-node-bg:#2d2d2d;--rain-bar-bg:#e0e0e0;--rain-water-bg:#a7e82f;--grid-visual-border:#404040;--grid-visual-bg:#404040;--grid-cell-bg:#2d2d2d;--visual-land-bg:#15803d;--visual-land-text:#f0fdf4;--visual-water-bg:#0c4a6e;--visual-cell-fresh-bg:#ea580c;--visual-cell-fresh-border:#c2410c;--visual-cell-rotten-bg:#dc2626;--visual-cell-rotten-border:#b91c1c;--problem-nav-btn-bg:#1a1a1a;--problem-nav-btn-text:#888;--problem-nav-btn-border:#353535;--problem-nav-btn-hover-bg:#242424;--problem-nav-btn-hover-text:#e0e0e0;--problem-nav-btn-disabled-opacity:.3;--btn-secondary-border:#4a4a4a;--shadow-sm:0 1px 2px 0 #0000004d;--shadow-md:0 4px 6px -1px #00000080, 0 2px 4px -2px #0000004d;--shadow-lg:0 10px 15px -3px #00000080, 0 4px 6px -4px #0000004d;--shadow-glow:0 0 15px #3b82f64d;--toggle-bg:#2e2e2e;--toggle-border:#363636;--toggle-text:#d0d0d0;--toggle-hover-bg:#383838;--toggle-hover-text:#e0e0e0;--highlight-success-bg:#16653433;--highlight-success-text:#86efac;--highlight-success-border:#14532d;--highlight-warning-bg:#92400e33;--highlight-warning-text:#fde68a;--highlight-warning-border:#78350f;--trace-header-bg:#1a1a1a;--trace-header-text:#e0e0e0;--trace-border:#353535;--trace-bg:#1e1e1e;--trace-row-stripe:#ffffff08;--code-sm-bg:#2d2d2d;--code-sm-text:#a0a0a0;--code-sm-null:#64748b;--code-sm-success-bg:#16653433;--code-sm-success-text:#86efac;--code-sm-miss-bg:#7f1d1d66;--code-sm-miss-text:#fca5a5;--cache-item-bg:#1e3a8a4d;--cache-item-text:#93c5fd;--cache-item-active-bg:#16653433;--cache-item-active-text:#86efac;--cache-item-active-border:#14532d;--cache-evicted-bg:#7f1d1d66;--cache-evicted-text:#fca5a5;--hashmap-bg:#a162071a;--hashmap-border:#713f12;--hashmap-key:#fde047;--hashmap-arrow:#b45309;--hashmap-value:#fcd34d;--dll-node-border:#475569;--dll-node-bg:#1e1e1e;--dll-mru-border:#14532d;--dll-mru-bg:#16653433;--dll-mru-text:#86efac;--dll-lru-border:#7f1d1d;--ws-grid-bg:#1e1e1e;--ws-cell-bg:#2d2d2d;--ws-cell-border:#404040;--ws-cell-text:#a0a0a0;--ws-cell-active-bg:#a7e82f;--ws-cell-active-text:#1a1a1a;--sm-grid-bg:#1e1e1e;--sm-cell-bg:#2d2d2d;--sm-cell-border:#404040;--sm-cell-text:#e2e8f0;--sm-path-color:#a7e82f;--table-th-bg:#242424;--table-stripe-bg:#ffffff08;--table-border:#353535;--scroll-track:transparent;--scroll-thumb:#404040;--scroll-thumb-hover:#606060;--focus-ring:#88888880;--overlay-backdrop:#000c;--text-header:var(--color-text-primary);--text-main:var(--color-text-secondary);--intro-color:var(--color-text-muted)}[data-theme=warm]{--color-bg-primary:#faf9f7;--color-bg-secondary:#f4f3f1;--color-text-primary:#1a1612;--color-text-secondary:#38322a;--color-text-tertiary:#4a4339;--color-text-muted:#665d52;--color-text-subtle:#968b7e;--color-border-default:#e7e3dc;--color-border-muted:#d0c8bc;--color-accent-primary:#6f6457;--color-accent-secondary:#009000;--color-accent-bg:#e7e2d8;--color-accent-text:#3f3528;--insert-scaffold-bg:linear-gradient(135deg, #009000, #00a000);--insert-scaffold-hover-bg:linear-gradient(135deg, #00a000, #009000);--sidebar-bg:#f4f3f1;--sidebar-border:#e9dccc;--sidebar-text:#4a4339;--sidebar-text-hover:#1a1612;--sidebar-item-hover-bg:#e7e3dc;--sidebar-item-active-bg:#e7e2d8;--sidebar-item-active-text:#005a00;--sidebar-item-hover-glass-bg:linear-gradient(145deg, #ffffff85 0%, #e7e2d847 52%, #d0c8bc33 100%);--sidebar-item-hover-glass-border:#968b7e73;--sidebar-item-hover-glass-shadow:inset 0 1px 0 #ffffff9e, 0 8px 18px #1a161217;--sidebar-item-active-glass-bg:linear-gradient(140deg, #e7e2d8b8 0%, #d0c8bc99 92%, #fffffff0 100%);--sidebar-item-active-glass-border:#6f645785;--sidebar-item-active-glass-shadow:inset 0 1px 0 #ffffffa6, 0 8px 16px -4px #3f352826;--sidebar-search-border:#e7e3dc;--sidebar-brand-text:#1a1612;--accordion-text:#1a1612;--accordion-hover-bg:#faf9f7;--accordion-icon-bg:#f4f3f1;--accordion-icon-color:#665d52;--accordion-icon-bg-hover:#e7e3dc;--accordion-icon-color-hover:#1a1612;--accordion-header-text-hover:#1a1612;--accordion-header-bg-hover:#faf9f7;--accordion-border:#e9dccc;--toolbar-border:#e7e3dc;--toolbar-btn-border:#e9dccc;--toolbar-btn-text:#4a4339;--toolbar-btn-hover-bg:#faf9f7;--toolbar-btn-hover-text:#1a1612;--modal-header-bg:#faf9f7;--modal-header-text:#1a1612;--modal-header-border:#e7e3dc;--modal-body-text:#4a4339;--modal-body-heading:#2a2418;--modal-body-subheading:#3a342a;--modal-list-text:#38322a;--modal-list-icon:#665d52;--modal-nested-bg:#f4f3f1;--modal-nested-border:#e7e3dc;--modal-nested-text:#4a4339;--modal-footer-border:#e7e3dc;--modal-checkbox-text:#665d52;--modal-btn-bg:#009000;--modal-btn-hover-bg:#3f3528;--card-border:#e7e3dc;--card-title-text:#1a1612;--problem-title-number-text:#aa9f90;--card-active-gradient:linear-gradient(135deg, #7d7060 0%, #857868 33%, #8d806f 67%, #948875 100%);--problem-desc-text:#38322a;--section-title-color:#665d52;--mono-bg:#f4f3f1;--problem-mono-bg:#f4f3f1;--problem-mono-text:#6a5d4f;--problem-mono-border:#e7e3dc;--problem-intro-text:#665d52;--example-border:#e7e3dc;--example-header-bg:#faf9f7;--example-header-text:#665d52;--example-label-text:#4a4339;--example-io-bg:#f4f3f1;--example-io-border:#e7e3dc;--example-explanation-border:#e7e3dc;--example-explanation-text:#4a4339;--edge-case-icon-bg:#f4f3f1;--edge-case-icon-color:#665d52;--edge-case-text:#4a4339;--constraints-box-border:#d0c8bc;--complexity-bg:linear-gradient(140deg, #f4f3f1e6 0%, #faf9f7f0 55%, #e7e2d8c7 100%);--complexity-border:#d0c8bc;--complexity-label:#4a4339;--complexity-value:#3f3528;--complexity-note:#4a4339;--complexity-title-text:#38322a;--complexity-title-underline:#aa9f90;--solution-toggle-btn-text:#4a4339;--solution-toggle-btn-hover-bg:#f4f3f1;--solution-toggle-btn-hover-text:#38322a;--solution-toggle-btn-hover-border:#d0c8bc;--solution-toggle-btn-active-bg:#009000;--solution-toggle-btn-active-hover-bg:green;--solution-header-bg:#faf9f7;--solution-header-border:#f4f3f1;--solution-lang-bg:#f4f3f1;--solution-lang-text:#38322a;--solution-lang-border:#e7e3dc;--solution-lang-active-bg:#f4f3f1;--solution-lang-active-border:#009000;--solution-lang-active-text:#3f3528;--solution-step-border:#968b7e;--solution-step-number-default:#968b7e;--solution-verify-bg:#f4f3f1;--solution-verify-border:#d0c8bc;--solution-verify-text:#665d52;--solution-h3-text:#38322a;--solution-loading-text:#665d52;--solution-retry-btn-hover-bg:#3f3528;--execution-submit-btn-border:#007000;--execution-submit-btn-hover-border:#006b00;--execution-toolbar-separator:#3f3528;--execution-submit-overlay-gradient-2:#aa9f90;--execution-submit-overlay-gradient-3:#b8a89a;--execution-submit-overlay-neutral-gradient-1:#8a7d6c;--execution-submit-overlay-neutral-gradient-2:#8a7d6c;--execution-submit-overlay-neutral-gradient-3:#8a7d6c;--execution-submit-overlay-neutral-gradient-4:#8a7d6c;--code-block-bg:#f4f3f1;--code-block-border:#e7e3dc;--code-block-text:#38322a;--code-inline-bg:#f4f3f1;--code-inline-border:#e7e3dc;--code-inline-text:#6a5d4f;--code-inline-method:#6a5d4f;--code-inline-type:#5a5044;--code-inline-params:#4a4339;--code-copy-bg:#e7e3dc;--code-copy-text:#38322a;--syntax-string:#2a2218;--syntax-comment:#6e655c;--syntax-type:#6a5d4f;--syntax-function:#6a5d4f;--syntax-number:#009000;--tag-bg:#eeeae3;--tag-text:#009000;--visual-bg:#faf9f7;--visual-border:#d0c8bc;--visual-text:#665d52;--visual-node-border:#38322a;--visual-arrow:#968b7e;--heap-structure-bg:#faf9f7;--heap-structure-border:#d0c8bc;--heap-label:#665d52;--heap-node-border:#6f6457;--heap-node-text:#3f3528;--heap-root-bg:#f4f3f1;--heap-root-border:#009000;--heap-src-text:#8a7d6c;--heap-connector:#d0c8bc;--heap-caption:#968b7e;--heap-action:#6f6457;--visual-water-bg:#e7e2d8;--ws-grid-bg:#e7e3dc;--ws-cell-border:#d0c8bc;--ws-cell-text:#665d52;--ws-cell-active-bg:#6f6457;--sm-grid-bg:#faf9f7;--sm-cell-border:#e7e3dc;--sm-cell-text:#3f3528;--sm-path-color:#6f6457;--table-th-bg:#faf9f7;--table-border:#e7e3dc;--trace-header-bg:#3f3528;--trace-border:#e7e3dc;--code-sm-bg:#f4f3f1;--code-sm-text:#38322a;--code-sm-null:#968b7e;--cache-item-bg:#e7e2d8;--cache-item-text:#3f3528;--dll-node-border:#968b7e;--visual-container-border:#d0c8bc;--rain-bar-bg:#1a1612;--rain-water-bg:#6f6457;--grid-visual-border:#38322a;--grid-visual-bg:#38322a;--scroll-thumb:#d0c8bc;--scroll-thumb-hover:#968b7e;--focus-ring:#6f645780;--sidebar-search-clear-bg:#e7e3dc;--sidebar-search-clear-text:#665d52;--sidebar-search-clear-hover-bg:#d0c8bc;--sidebar-search-clear-hover-text:#4a4339;--shadow-glow:0 0 15px #6f645780;--toggle-border:#d0c8bc;--toggle-text:#4a4339;--toggle-hover-bg:#faf9f7;--toggle-hover-text:#1a1612;--problem-nav-btn-bg:#faf9f7;--problem-nav-btn-text:#665d52;--problem-nav-btn-border:#e7e3dc;--problem-nav-btn-hover-bg:#e7e3dc;--problem-nav-btn-hover-text:#38322a;--btn-secondary-border:#d0c8bc}.lru-visual{flex-wrap:wrap;justify-content:center;align-items:center;gap:24px;margin-bottom:20px;display:flex}.lru-component{text-align:center}.component-label{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);margin-bottom:10px;font-size:.75rem;font-weight:700}.hashmap-box{background:var(--hashmap-bg);border:2px solid var(--hashmap-border);border-radius:8px;padding:16px 20px}.hashmap-entry{font-family:var(--font-mono);align-items:center;gap:8px;font-size:.9rem;display:flex}.hm-key{color:var(--hashmap-key);font-weight:600}.hm-arrow{color:var(--hashmap-arrow)}.hm-value{color:var(--hashmap-value)}.lru-connector{color:var(--visual-arrow);font-size:1.5rem}.dll-visual{align-items:center;gap:6px;display:flex}.dll-sentinel{background:var(--code-block-bg);border:1px solid var(--border-color);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.03em;border-radius:6px;padding:8px 12px;font-size:.7rem;font-weight:700}.dll-arrow{color:var(--visual-arrow);font-size:.9rem}.dll-node{border:2px solid var(--dll-node-border);background:var(--dll-node-bg);border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.dll-node.mru{border-color:var(--dll-mru-border);background:var(--dll-mru-bg)}.dll-node.lru{border-color:var(--dll-lru-border);background:var(--dll-lru-bg);border-style:dashed}.node-label{color:inherit;font-size:.65rem;font-weight:700}.dll-node.mru .node-label{color:var(--dll-mru-text)}.dll-node.lru .node-label{color:var(--dll-lru-text)}.node-dots{color:var(--visual-arrow);font-size:1rem}.visual-caption{color:var(--color-text-muted);justify-content:center;gap:24px;font-size:.8rem;display:flex}.caption-item{align-items:center;gap:6px;display:flex}.caption-dot{border:2px solid;border-radius:50%;width:12px;height:12px}.caption-dot.mru{border-color:var(--dll-mru-border);background:var(--dll-mru-bg)}.caption-dot.lru{border-color:var(--dll-lru-border);background:var(--dll-lru-bg);border-style:dashed}.trace-table{border:1px solid var(--trace-border);border-radius:10px;margin:16px 0 24px;overflow:hidden}.trace-header{background:var(--trace-header-bg);color:var(--trace-header-text);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:700;display:flex}.trace-row{border-bottom:1px solid var(--trace-border);background:var(--trace-bg);display:flex}.trace-row:last-child{border-bottom:none}.trace-row:nth-child(2n){background:var(--trace-row-stripe)}.trace-col{align-items:center;padding:10px 14px;font-size:.85rem;display:flex}.trace-col.op{flex-shrink:0;width:140px}.trace-col.cache{flex-wrap:wrap;flex:1;gap:6px}.trace-col.result{flex-shrink:0;justify-content:center;width:80px}.code-sm{font-family:var(--font-mono);background:var(--code-sm-bg);color:var(--code-sm-text);border-radius:4px;padding:3px 6px;font-size:.95rem}.code-sm.null{color:var(--code-sm-null)}.code-sm.success{background:var(--code-sm-success-bg);color:var(--code-sm-success-text);font-weight:600}.code-sm.miss{background:var(--code-sm-miss-bg);color:var(--code-sm-miss-text);font-weight:600}.cache-item{font-family:var(--font-mono);background:var(--cache-item-bg);color:var(--cache-item-text);border-radius:4px;padding:3px 8px;font-size:.8rem;font-weight:500}.cache-item.active{background:var(--cache-item-active-bg);color:var(--cache-item-active-text);border:1px solid var(--cache-item-active-border)}.evicted{color:var(--cache-evicted-text);background:var(--cache-evicted-bg);border-radius:4px;padding:2px 6px;font-size:.7rem;font-style:italic}.empty-state{color:var(--color-text-subtle);font-style:italic}.heap-visual{flex-direction:column;align-items:center;gap:20px;padding:10px 0;display:flex}.heap-structure{background:var(--heap-structure-bg);border:2px dashed var(--heap-structure-border);text-align:center;border-radius:12px;padding:16px 30px;position:relative}.heap-label{text-transform:uppercase;color:var(--heap-label);letter-spacing:.05em;margin-bottom:12px;font-size:.7rem;font-weight:700}.heap-nodes{flex-direction:column;align-items:center;gap:12px;display:flex}.heap-node{background:var(--heap-node-bg);border:2px solid var(--heap-node-border);width:44px;height:44px;color:var(--heap-node-text);box-shadow:0 2px 4px var(--heap-node-shadow);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;font-weight:700;display:flex;position:relative}.heap-node.root{background:var(--heap-root-bg);border-color:var(--heap-root-border);z-index:2}.heap-node .h-val{font-size:.95rem;line-height:1}.heap-node .h-src{color:var(--heap-src-text);margin-top:-2px;font-size:.6rem}.heap-children{gap:24px;display:flex;position:relative}.heap-children:before{content:"";border:2px solid var(--heap-connector);border-top:none;border-bottom:none;border-radius:0 0 10px 10px;width:60%;height:12px;display:none;position:absolute;top:-12px;left:50%;transform:translate(-50%)skew(20deg)}.heap-caption{color:var(--heap-caption);margin-top:10px;font-size:.7rem}.merge-arrow{color:var(--heap-action);flex-direction:column;align-items:center;gap:4px;display:flex}.animate-pulse{animation:2s infinite pulse}@keyframes pulse{0%,to{opacity:1;transform:translateY(0)}50%{opacity:.6;transform:translateY(4px)}}.action-text{color:var(--heap-action);font-size:.75rem;font-weight:600}.result-list-visual{background:var(--result-list-bg);border:1px solid var(--result-list-border);border-radius:12px;width:100%;padding:16px 24px}.list-chain{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.list-node{background:var(--dll-node-bg);border:2px solid var(--dll-mru-border);width:36px;height:36px;color:var(--dll-mru-text);font-weight:700;font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;display:flex}.list-node.ghost{border-style:dashed;border-color:var(--dll-mru-border);color:var(--dll-mru-border);background:0 0}.list-link{color:var(--dll-mru-text);font-size:1.1rem}.h-item{font-family:var(--font-mono);background:var(--code-inline-bg);color:var(--code-inline-text);border-radius:4px;padding:2px 6px;font-size:.85rem}.spiral-matrix-grid{background:var(--sm-grid-bg);width:-moz-fit-content;width:fit-content;box-shadow:var(--shadow-inset-sm);border-radius:16px;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px;display:grid}.spiral-matrix-cell{background:var(--sm-cell-bg);border:2px solid var(--sm-cell-border);width:48px;height:48px;color:var(--sm-cell-text);box-shadow:0 2px 4px var(--shadow-sm-color);z-index:1;font-size:1.1rem;font-weight:700;font-family:var(--font-mono);border-radius:10px;justify-content:center;align-items:center;display:flex;position:relative}.spiral-matrix-cell:after{content:"";background:var(--sm-path-color);z-index:10;pointer-events:none;transition:all .3s;position:absolute}.spiral-matrix-cell:before{content:"";border-right:2px solid var(--sm-path-color);border-bottom:2px solid var(--sm-path-color);z-index:10;pointer-events:none;width:6px;height:6px;position:absolute}.spiral-matrix-cell.dir-right:after{width:calc(100% + 12px);height:3px;top:50%;left:50%;transform:translateY(-50%)}.spiral-matrix-cell.dir-right:before{top:50%;left:calc(100% + 5px);transform:translate(-50%,-50%)rotate(-45deg)}.spiral-matrix-cell.dir-down:after{width:3px;height:calc(100% + 12px);top:50%;left:50%;transform:translate(-50%)}.spiral-matrix-cell.dir-down:before{top:calc(100% + 5px);left:50%;transform:translate(-50%,-50%)rotate(45deg)}.spiral-matrix-cell.dir-left:after{width:calc(100% + 12px);height:3px;top:50%;right:50%;transform:translateY(-50%)}.spiral-matrix-cell.dir-left:before{top:50%;right:calc(100% + 5px);transform:translate(50%,-50%)rotate(135deg)}.spiral-matrix-cell.dir-up:after{width:3px;height:calc(100% + 12px);bottom:50%;left:50%;transform:translate(-50%)}.spiral-matrix-cell.dir-up:before{bottom:calc(100% + 5px);left:50%;transform:translate(-50%,50%)rotate(-135deg)}.rotting-visual{flex-wrap:wrap;justify-content:center;gap:20px;padding:10px;display:flex}.rotting-step{flex-direction:column;align-items:center;gap:8px;display:flex}.step-label{text-transform:uppercase;color:var(--visual-text);font-size:.8rem;font-weight:700}.rotting-grid{border:2px solid var(--grid-visual-border);background:var(--grid-visual-bg);border-radius:6px;grid-template-rows:repeat(3,30px);grid-template-columns:repeat(3,30px);gap:4px;padding:6px;display:grid}.r-cell{border-radius:4px;justify-content:center;align-items:center;width:30px;height:30px;font-size:.9rem;display:flex}.r-cell.fresh{background:var(--visual-cell-fresh-bg);border:1px solid var(--visual-cell-fresh-border)}.r-cell.rotten{background:var(--visual-cell-rotten-bg);border:1px solid var(--visual-cell-rotten-border);color:var(--color-text-static-white)}.r-cell.rotten i{color:var(--color-text-static-white);font-size:.8rem}.r-cell.empty{background:var(--grid-cell-bg)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:1s linear infinite spin}[data-theme=dark] .accordion-header i.fa-chevron-down{background:var(--accordion-icon-bg);color:var(--accordion-icon-color)}[data-theme=dark] .accordion-header:hover i.fa-chevron-down{background:var(--toolbar-btn-hover-bg);color:var(--toolbar-btn-hover-text)}[data-theme=dark] .problem-description{color:var(--problem-desc-text)}[data-theme=dark] .example-card{background:var(--example-bg);border:1px solid var(--example-border)}[data-theme=dark] .example-header{background:var(--example-header-bg);color:var(--example-header-text);border-bottom:1px solid var(--example-border)}[data-theme=dark] .example-label{color:var(--example-label-text)}[data-theme=dark] .example-explanation{border-top:1px dashed var(--example-explanation-border);color:var(--example-explanation-text)}[data-theme=dark] .edge-icon{background:var(--edge-case-icon-bg);color:var(--edge-case-icon-color)}[data-theme=dark] .edge-content{color:var(--edge-case-text)}[data-theme=dark] .complexity-item{background:var(--complexity-bg);border:1px solid var(--complexity-border)}[data-theme=dark] .complexity-label{color:var(--complexity-label)}[data-theme=dark] .complexity-value{color:var(--complexity-value)}[data-theme=dark] .complexity-note{color:var(--complexity-note)}[data-theme=dark] .code-inline{background:var(--code-inline-bg);color:var(--code-inline-text);border:1px solid var(--code-inline-border)}[data-theme=dark] .code-inline.method-name{color:var(--code-inline-method)}[data-theme=dark] .code-inline.return-type{color:var(--code-inline-type)}[data-theme=dark] .code-inline.params{color:var(--code-inline-params)}[data-theme=dark] .code-inline.output-array{background:var(--example-output-bg);border-color:var(--example-border);color:var(--example-output-text)}[data-theme=dark] .api-method{background:var(--code-block-bg);border:1px solid var(--code-block-border);border-left:3px solid var(--color-accent-primary)}[data-theme=dark] .api-desc{color:var(--problem-desc-text)}[data-theme=dark] .component-label{color:var(--example-label-text)}[data-theme=dark] .highlight-good{background:var(--highlight-success-bg);color:var(--highlight-success-text);border:1px solid var(--highlight-success-border)}[data-theme=dark] .highlight-warn{background:var(--solution-verify-pass-bg);color:var(--solution-verify-fail-text);border:1px solid var(--solution-verify-pass-border)}[data-theme=dark] .output-value,[data-theme=dark] .solution-content code:not(.hljs),[data-theme=dark] .mono{background:var(--example-output-bg);color:var(--example-output-text)}[data-theme=dark] .solution-content code:not(.hljs){border:none}[data-theme=dark] .code-sm{background:var(--code-block-bg);color:var(--code-block-text)}[data-theme=dark] .code-sm.null{color:var(--color-text-muted)}[data-theme=dark] .code-sm.success{background:var(--solution-verify-pass-bg);color:var(--solution-verify-pass-text)}[data-theme=dark] .code-sm.miss{background:var(--solution-verify-fail-bg);color:var(--solution-verify-fail-text)}[data-theme=dark] .problem-id{background:var(--color-accent-primary);color:var(--color-bg-primary)}[data-theme=dark] .solution-toggle-btn{color:var(--solution-toggle-btn-text);background:var(--solution-toggle-btn-bg);border:1px solid var(--solution-toggle-btn-border)}[data-theme=dark] .solution-toggle-btn:hover{background:var(--solution-toggle-hover-bg);color:var(--toolbar-btn-hover-text);border-color:var(--solution-toggle-border)}[data-theme=dark] .solution-toggle-btn[aria-pressed=true]{background:var(--solution-toggle-btn-active-bg);color:var(--solution-toggle-btn-active-text);border-color:var(--solution-toggle-btn-active-bg)}[data-theme=dark] .solution-toggle-btn[aria-pressed=true]:hover{background:var(--color-accent-secondary)}[data-theme=dark] .visual-container{background:var(--visual-bg);border:1px dashed var(--visual-border)}[data-theme=dark] .visual-container.force-light-bg-in-dark{background:var(--force-light-bg-in-dark)}[data-theme=dark] .example-explanation span.mono{background:var(--code-inline-bg);color:var(--code-inline-text)}[data-theme=dark] .edge-case-item{background:var(--edge-case-bg);border:1px solid var(--edge-case-border)}[data-theme=dark] .problem-card.active:before{background:var(--card-active-gradient);background-size:160% 160%;animation:3s ease-in-out infinite gradientShift}#landing-modal-overlay{background-color:var(--modal-overlay-bg)}#landing-modal{background:var(--modal-bg)}.modal-body h1{background-color:var(--modal-header-bg);color:var(--text-header);border-bottom:1px solid var(--border-color)}.modal-body h2{color:var(--text-header)}.modal-body h3,.modal-body p,.modal-body>.modal-content-scroll>ul>li{color:var(--text-main)}.modal-body ul ul{background:var(--code-block-bg);border:1px solid var(--border-color)}.modal-body ul ul li{color:var(--text-main)}.modal-body ul ul li strong{color:var(--text-header)}.modal-body blockquote{background:var(--code-block-bg);color:var(--text-header)}.modal-body strong{color:var(--text-header)}.modal-body .modal-content-scroll::-webkit-scrollbar-thumb{background-color:var(--scroll-thumb)}.modal-body .modal-content-scroll::-webkit-scrollbar-thumb:hover{background-color:var(--scroll-thumb-hover)}.modal-footer{border-top:1px solid var(--border-color);background:var(--modal-bg)}.toolbar-btn{height:32px;color:var(--btn-text);background:var(--btn-bg);border:1px solid var(--btn-border);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:.875rem;font-weight:400;transition:all .2s;display:inline-flex}.toolbar-btn:hover{background:var(--btn-hover-bg);color:var(--text-header);border-color:var(--sidebar-text)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background-color:var(--main-bg);color:var(--text-main);height:100vh;display:flex;overflow:hidden}body.editor-fullscreen-active #main-toolbar{display:none!important}h1{color:var(--text-header);margin-bottom:10px;font-size:2.5rem}@keyframes gradientShift{0%,to{background-position:0%}50%{background-position:100%}}.section-title{text-transform:uppercase;letter-spacing:.05em;color:var(--text-header);align-items:center;gap:8px;margin:24px 0 12px;font-size:1.09rem;font-weight:700;display:flex}.problem-content .section-title:first-of-type{border-top:1px dashed var(--example-explanation-border);padding-top:14px}.example-card,.edge-cases,.constraints-box{margin-left:25px}@media (max-width:479px){.example-card,.edge-cases,.constraints-box{margin-left:0}}p{color:var(--text-main);margin-bottom:16px;line-height:1.7}.code-block{background:var(--code-block-bg);border-left:4px solid var(--accent);font-family:var(--font-mono);color:var(--text-main);border-radius:0 8px 8px 0;margin-bottom:16px;padding:16px;font-size:1rem;line-height:1.6rem}.mono{font-family:var(--font-mono);background:var(--mono-bg);color:var(--mono-color);border-radius:4px;padding:2px 6px;font-size:.9em}.highlight-word{background-color:var(--highlight-bg);color:var(--highlight-text);border-radius:2px;padding:0 4px;font-weight:600}.constraints-box{background:var(--constraints-box-bg,var(--constraints-bg));border:1px solid var(--constraints-box-border,var(--constraints-border));box-shadow:var(--constraints-box-shadow,none);border-radius:14px;padding:20px}.constraints-list{list-style:none}.constraints-list li{color:var(--constraints-list-text,var(--constraints-text));margin-bottom:10px;padding-left:20px;font-size:1.03rem;line-height:1.55;position:relative}.constraints-list li:before{content:"•";color:var(--constraints-bullet);font-weight:700;position:absolute;left:0}.complexity{font-family:var(--font-mono);color:var(--complexity-color);background:var(--complexity-bg);border-radius:4px;margin-top:12px;padding:8px;font-size:.9rem;display:inline-block}.visual-container{background:var(--visual-container-bg);border:1px dashed var(--visual-container-border);border-radius:8px;justify-content:center;align-items:center;min-height:100px;margin:20px 0;padding:20px;display:flex}.node{border:2px solid var(--accent);background:var(--visual-node-bg);z-index:2;border-color:var(--visual-node-border);border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-weight:700;display:flex}.arrow{color:var(--visual-arrow);font-size:20px}.list-visual{align-items:center;gap:8px;display:flex}.word-search-grid{background:var(--ws-grid-bg);border-radius:8px;grid-template-columns:repeat(4,1fr);gap:0;width:-moz-fit-content;width:fit-content;padding:10px;display:grid}.word-search-cell{background:var(--ws-cell-bg);width:36px;height:36px;color:var(--ws-cell-text);border:1px solid var(--ws-cell-border);font-weight:700;font-family:var(--font-mono);justify-content:center;align-items:center;margin-bottom:-1px;margin-right:-1px;font-size:1rem;transition:all .2s;display:flex;position:relative}.word-search-cell.active{background:var(--ws-cell-active-bg);color:var(--ws-cell-active-text);z-index:10;border-color:var(--ws-cell-active-bg);box-shadow:0 0 0 1px var(--ws-cell-active-bg)}.tree-visual{flex-direction:column;align-items:center;gap:10px;display:flex}.tree-row{gap:20px;display:flex}.rain-visual{align-items:flex-end;gap:4px;height:100px;display:flex}.bar-col{flex-direction:column;justify-content:flex-end;width:20px;display:flex}.bar{background:var(--rain-bar-bg);width:100%;transition:height .3s}.water{background:var(--rain-water-bg);opacity:.7;width:100%}[data-theme=dark] .water{background:var(--rain-water-bg)}.grid-visual{background:var(--grid-visual-bg);border:2px solid var(--grid-visual-border);grid-template-columns:repeat(5,1fr);gap:2px;display:grid}.cell{background:var(--grid-cell-bg);justify-content:center;align-items:center;width:30px;height:30px;font-size:.8rem;display:flex}.cell.land{background:var(--visual-land-bg);color:var(--visual-land-text)}.cell.water{background:var(--visual-water-bg)}.problem-description{color:var(--text-main);font-size:1.05rem;line-height:1.7}.highlight-good{background:var(--highlight-success-bg);color:var(--highlight-success-text);border:1px solid var(--highlight-success-border);border-radius:4px;padding:2px 6px}.highlight-warn{background:var(--highlight-warning-bg);color:var(--highlight-warning-text);border:1px solid var(--highlight-warning-border);border-radius:4px;padding:2px 6px}.example-card{background:var(--example-bg);border:1px solid var(--example-border);border-radius:10px;margin-bottom:16px;overflow:hidden}.example-header{background:var(--example-header-bg);color:var(--example-header-text);text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--example-border);padding:10px 16px;font-size:.8rem;font-weight:700}.example-body{padding:16px}.example-row{align-items:center;gap:12px;margin-bottom:8px;display:flex}.example-label{color:var(--example-label-text);min-width:60px;font-size:.85rem;font-weight:600}.output-value{background:var(--example-output-bg);color:var(--example-output-text);border-radius:6px;padding:4px 10px;font-weight:700}.example-explanation{border-top:1px dashed var(--example-explanation-border);color:var(--example-explanation-text);margin-top:12px;padding-top:12px;font-size:.9rem;line-height:1.6}.merge-k-sorted-lists-visual{flex-direction:column;gap:10px;display:flex}.merge-k-sorted-lists-visual .linked-lists-title,.merge-k-sorted-lists-visual .linked-lists-merge-label{color:var(--text-header);font-weight:600}.merge-k-sorted-lists-visual .linked-list-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.merge-k-sorted-lists-visual .list-node{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:28px;height:28px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:.84rem;font-weight:700;display:inline-flex}.merge-k-sorted-lists-visual .list-arrow{color:var(--color-text-muted);font-family:var(--font-mono);font-weight:700}.merge-k-sorted-lists-visual .linked-list-row-merged{margin-top:2px}.merge-k-sorted-lists-visual .list-node-merged{background:var(--example-output-bg);color:var(--example-output-text);border-color:var(--example-border)}.word-ladder-visual{flex-direction:column;gap:10px;display:flex}.word-ladder-visual .word-ladder-title{color:var(--text-header);font-weight:700}.word-ladder-visual .word-ladder-track{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex}.word-ladder-visual .word-ladder-word{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:42px;height:32px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:.8rem;font-weight:700;display:inline-flex}.word-ladder-visual .word-ladder-start{border-color:var(--color-accent-secondary);background:var(--color-accent-bg);color:var(--color-accent-text)}.word-ladder-visual .word-ladder-end{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.word-ladder-visual .word-ladder-arrow{color:var(--color-text-muted);font-size:.78rem}.word-ladder-visual .word-ladder-neighbors{flex-wrap:wrap;gap:8px;display:flex}.word-ladder-visual .word-ladder-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.word-ladder-visual .word-ladder-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.minimum-window-substring-visual{flex-direction:column;gap:10px;display:flex}.minimum-window-substring-visual .minimum-window-substring-title{color:var(--text-header);font-weight:700}.minimum-window-substring-visual .minimum-window-substring-track{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-wrap:wrap;gap:6px;padding:10px;display:flex}.minimum-window-substring-visual .minimum-window-substring-char{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:28px;height:28px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;font-size:.78rem;font-weight:700;display:inline-flex}.minimum-window-substring-visual .minimum-window-substring-hit{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.minimum-window-substring-visual .minimum-window-substring-legend,.problem-3sum-visual .problem-3sum-array,.problem-3sum-visual .problem-3sum-results,.task-scheduler-visual .task-scheduler-legend{flex-wrap:wrap;gap:8px;display:flex}.minimum-window-substring-visual .minimum-window-substring-chip,.problem-3sum-visual .problem-3sum-chip,.task-scheduler-visual .task-scheduler-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.minimum-window-substring-visual .minimum-window-substring-chip-strong,.problem-3sum-visual .problem-3sum-chip-strong,.task-scheduler-visual .task-scheduler-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-3sum-visual{flex-direction:column;gap:10px;display:flex}.problem-3sum-visual .problem-3sum-title{color:var(--text-header);font-weight:700}.implement-trie-prefix-tree-visual{flex-direction:column;gap:10px;display:flex}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-title{color:var(--text-header);font-weight:700}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-rows{gap:8px;display:grid}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-row{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;display:flex}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-node{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:30px;height:28px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:.76rem;font-weight:700;display:inline-flex}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-node-word{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-arrow{color:var(--color-text-muted);font-size:.76rem}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-results{flex-wrap:wrap;gap:8px;display:flex}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-badge{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-badge-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.meeting-rooms-ii-visual{flex-direction:column;gap:10px;display:flex}.meeting-rooms-ii-visual .meeting-rooms-ii-title{color:var(--text-header);font-weight:700}.meeting-rooms-ii-visual .meeting-rooms-ii-lane-wrap{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;gap:8px;padding:10px;display:grid}.meeting-rooms-ii-visual .meeting-rooms-ii-lane{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.meeting-rooms-ii-visual .meeting-rooms-ii-lane-label{min-width:56px;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.76rem;font-weight:700}.meeting-rooms-ii-visual .meeting-rooms-ii-block{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:54px;height:30px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;padding:0 10px;font-size:.76rem;font-weight:700;display:inline-flex}.meeting-rooms-ii-visual .meeting-rooms-ii-block-long{min-width:112px}.meeting-rooms-ii-visual .meeting-rooms-ii-legend{flex-wrap:wrap;gap:8px;display:flex}.meeting-rooms-ii-visual .meeting-rooms-ii-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.meeting-rooms-ii-visual .meeting-rooms-ii-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.task-scheduler-visual{flex-direction:column;gap:10px;display:flex}.task-scheduler-visual .task-scheduler-title{color:var(--text-header);font-weight:700}.task-scheduler-visual .task-scheduler-timeline{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-wrap:wrap;gap:6px;padding:10px;display:flex}.task-scheduler-visual .task-scheduler-slot{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:34px;height:28px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;padding:0 8px;font-size:.76rem;font-weight:700;display:inline-flex}.task-scheduler-visual .task-scheduler-idle{color:var(--color-text-muted)}.lru-cache-visual{flex-direction:column;gap:8px;display:flex}.lru-cache-visual .lru-cache-lru-header{color:var(--text-header);margin-bottom:2px;font-weight:600}.lru-cache-visual .lru-cache-lru-step{grid-template-columns:minmax(120px,190px) auto auto;justify-content:start;align-items:center;gap:10px;display:grid}.lru-cache-visual .lru-cache-lru-op{font-family:var(--font-mono);color:var(--code-inline-text);background:var(--code-inline-bg);border:1px solid var(--code-inline-border);border-radius:6px;padding:3px 8px;font-size:.84rem;font-weight:700}.lru-cache-visual .lru-cache-lru-cache{flex-wrap:wrap;gap:6px;display:flex}.lru-cache-visual .lru-cache-lru-entry{border:1px solid var(--example-border);background:var(--example-output-bg);min-width:38px;color:var(--example-output-text);font-family:var(--font-mono);text-align:center;border-radius:999px;padding:3px 8px;font-size:.82rem;font-weight:700}.lru-cache-visual .lru-cache-lru-ret{font-family:var(--font-mono);color:var(--example-output-text);background:var(--example-output-bg);border:1px solid var(--example-border);white-space:nowrap;border-radius:6px;padding:2px 8px;font-size:.82rem;font-weight:700}.lru-cache-visual .lru-cache-lru-note{color:var(--color-text-muted);white-space:nowrap;font-size:.82rem;font-weight:600}.longest-increasing-path-in-a-matrix-visual{flex-direction:column;gap:8px;display:flex}.longest-increasing-path-in-a-matrix-visual .longest-increasing-path-in-a-matrix-lip-title{color:var(--text-header);font-weight:600}.longest-increasing-path-in-a-matrix-visual .longest-increasing-path-in-a-matrix-lip-path{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.longest-increasing-path-in-a-matrix-visual .longest-increasing-path-in-a-matrix-lip-node{border:1px solid var(--example-border);background:var(--example-output-bg);min-width:28px;height:28px;color:var(--example-output-text);font-family:var(--font-mono);border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:.84rem;font-weight:700;display:inline-flex}.longest-increasing-path-in-a-matrix-visual .longest-increasing-path-in-a-matrix-lip-arrow{color:var(--color-text-muted);font-family:var(--font-mono);font-weight:700}.longest-increasing-path-in-a-matrix-visual .longest-increasing-path-in-a-matrix-lip-meta{color:var(--color-text-muted);font-size:.84rem;font-weight:600}.container-with-most-water-visual{flex-direction:column;gap:12px;display:flex}.container-with-most-water-visual .container-with-most-water-water-title{color:var(--text-header);font-weight:600}.container-with-most-water-visual .container-with-most-water-water-chart{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;grid-template-columns:repeat(9,minmax(0,1fr));align-items:end;gap:8px;padding:10px 10px 8px;display:grid}.container-with-most-water-visual .container-with-most-water-water-col{justify-content:center;align-items:flex-end;height:152px;display:flex;position:relative}.container-with-most-water-visual .container-with-most-water-water-fill{height:calc(var(--water-h) * 14px);background:var(--color-accent-bg);border:1px solid var(--visual-container-border);border-radius:6px 6px 0 0;position:absolute;inset:auto 2px 20px}.container-with-most-water-visual .container-with-most-water-bar{width:12px;height:calc(var(--bar-h) * 14px);background:var(--code-inline-bg);border:1px solid var(--code-inline-border);border-radius:4px 4px 0 0;position:absolute;bottom:20px}.container-with-most-water-visual .container-with-most-water-col-boundary .container-with-most-water-bar{background:var(--color-accent-primary);border-color:var(--color-accent-secondary)}.container-with-most-water-visual .container-with-most-water-col-label{text-align:center;width:100%;font-family:var(--font-mono);color:var(--color-text-muted);font-size:.72rem;position:absolute;bottom:0}.container-with-most-water-visual .container-with-most-water-water-math{flex-wrap:wrap;gap:8px;display:flex}.container-with-most-water-visual .container-with-most-water-math-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:4px 10px;font-size:.8rem;font-weight:600;display:inline-flex}.container-with-most-water-visual .container-with-most-water-math-chip-strong{background:var(--example-output-bg);border-color:var(--example-border);color:var(--example-output-text)}.lowest-common-ancestor-visual{flex-direction:column;gap:10px;display:flex}.lowest-common-ancestor-visual .lowest-common-ancestor-lca-title{color:var(--text-header);font-weight:700}.lowest-common-ancestor-visual .lowest-common-ancestor-lca-canvas{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;width:100%;max-width:620px;max-height:320px;margin-inline:auto;padding:10px;overflow:hidden}.lowest-common-ancestor-visual .lowest-common-ancestor-lca-canvas svg{width:100%;height:auto;max-height:280px;margin-inline:auto;display:block}.lowest-common-ancestor-visual .lowest-common-ancestor-edge{stroke:var(--visual-container-border);stroke-width:2.5px}.lowest-common-ancestor-visual .lowest-common-ancestor-edge-highlight{stroke:var(--color-accent-primary);stroke-width:4px}.lowest-common-ancestor-visual .lowest-common-ancestor-node{fill:var(--code-inline-bg);stroke:var(--code-inline-border);stroke-width:1.5px}.lowest-common-ancestor-visual .lowest-common-ancestor-node-target{fill:var(--color-accent-bg);stroke:var(--color-accent-secondary)}.lowest-common-ancestor-visual .lowest-common-ancestor-node-lca{fill:var(--color-accent-primary);stroke:var(--color-accent-secondary)}.lowest-common-ancestor-visual .lowest-common-ancestor-node-text{fill:var(--code-inline-text);font-family:var(--font-mono);font-size:14px;font-weight:700}.lowest-common-ancestor-visual .lowest-common-ancestor-node-text-strong{fill:var(--color-bg-primary)}.lowest-common-ancestor-visual .lowest-common-ancestor-lca-legend{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.lowest-common-ancestor-visual .lowest-common-ancestor-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:4px 10px;font-size:.8rem;font-weight:700;display:inline-flex}.lowest-common-ancestor-visual .lowest-common-ancestor-chip-target{border-color:var(--color-accent-secondary);background:var(--color-accent-bg);color:var(--color-accent-text)}.lowest-common-ancestor-visual .lowest-common-ancestor-chip-lca{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.group-anagrams-visual{flex-direction:column;gap:10px;display:flex}.group-anagrams-visual .group-anagrams-anagram-title{color:var(--text-header);font-weight:700}.group-anagrams-visual .group-anagrams-anagram-grid{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;gap:6px;padding:10px;display:grid}.group-anagrams-visual .group-anagrams-anagram-row{grid-template-columns:minmax(52px,70px) auto minmax(52px,70px) auto minmax(170px,1fr);align-items:center;gap:8px;display:grid}.group-anagrams-visual .group-anagrams-word,.group-anagrams-visual .group-anagrams-key,.group-anagrams-visual .group-anagrams-bucket{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;padding:4px 8px;font-size:.8rem;font-weight:700;display:inline-flex}.group-anagrams-visual .group-anagrams-key{border-color:var(--color-accent-secondary);background:var(--color-accent-bg);color:var(--color-accent-text)}.group-anagrams-visual .group-anagrams-bucket{color:var(--example-output-text);background:var(--example-output-bg);border-color:var(--example-border);justify-content:flex-start}.group-anagrams-visual .group-anagrams-arrow{color:var(--color-text-muted);font-family:var(--font-mono);text-align:center;font-weight:700}.group-anagrams-visual .group-anagrams-anagram-legend{flex-wrap:wrap;gap:8px;display:flex}.group-anagrams-visual .group-anagrams-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:4px 10px;font-size:.8rem;font-weight:700;display:inline-flex}.group-anagrams-visual .group-anagrams-chip-key{border-color:var(--color-accent-secondary);background:var(--color-accent-bg);color:var(--color-accent-text)}.group-anagrams-visual .group-anagrams-chip-out{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.find-median-from-data-stream-visual{flex-direction:column;gap:8px;display:flex}.find-median-from-data-stream-visual .find-median-from-data-stream-title{color:var(--text-header);font-weight:700}.find-median-from-data-stream-visual .find-median-from-data-stream-step{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:8px;grid-template-columns:minmax(110px,140px) minmax(180px,1fr) auto;align-items:center;gap:8px;padding:6px 8px;display:grid}.find-median-from-data-stream-visual .find-median-from-data-stream-op,.find-median-from-data-stream-visual .find-median-from-data-stream-heaps,.find-median-from-data-stream-visual .find-median-from-data-stream-median{font-family:var(--font-mono);font-size:.8rem}.find-median-from-data-stream-visual .find-median-from-data-stream-op{color:var(--code-inline-text);background:var(--code-inline-bg);border:1px solid var(--code-inline-border);border-radius:6px;padding:3px 8px;font-weight:700}.find-median-from-data-stream-visual .find-median-from-data-stream-heaps{color:var(--text-main)}.find-median-from-data-stream-visual .find-median-from-data-stream-median{color:var(--example-output-text);background:var(--example-output-bg);border:1px solid var(--example-border);white-space:nowrap;border-radius:6px;padding:2px 8px;font-weight:700}.merge-intervals-visual{flex-direction:column;gap:8px;display:flex}.merge-intervals-visual .merge-intervals-title{color:var(--text-header);font-weight:700}.merge-intervals-visual .merge-intervals-track{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;gap:6px;padding:10px;display:grid;position:relative}.merge-intervals-visual .merge-intervals-track:before{content:"";background:var(--visual-container-border);height:1px;position:absolute;top:50%;left:10px;right:10px;transform:translateY(-50%)}.merge-intervals-visual .merge-intervals-item{z-index:1;margin-left:calc(var(--start) / 18 * 100%);width:calc((var(--end) - var(--start)) / 18 * 100%);border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:46px;color:var(--code-inline-text);font-family:var(--font-mono);text-align:center;border-radius:6px;padding:3px 6px;font-size:.78rem;font-weight:700;position:relative}.merge-intervals-visual .merge-intervals-item-a,.merge-intervals-visual .merge-intervals-item-b{border-color:var(--color-accent-secondary);background:var(--color-accent-bg);color:var(--color-accent-text)}.merge-intervals-visual .merge-intervals-item-merged{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.rotate-image-visual{flex-direction:column;gap:8px;display:flex}.rotate-image-visual .rotate-image-rotate-title{color:var(--text-header);font-weight:700}.rotate-image-visual .rotate-image-rotate-stage{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;padding:10px;display:flex}.rotate-image-visual .rotate-image-op{font-family:var(--font-mono);color:var(--color-accent-text);background:var(--color-accent-bg);border:1px solid var(--color-accent-secondary);border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700}.rotate-image-visual .rotate-image-matrix{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);border-radius:8px;grid-template-columns:repeat(3,32px);gap:4px;padding:8px;display:grid}.rotate-image-visual .rotate-image-cell{border:1px solid var(--code-inline-border);background:var(--visual-container-bg);width:32px;height:32px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;font-size:.8rem;font-weight:700;display:inline-flex}.rotate-image-visual .rotate-image-matrix-final .rotate-image-cell{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.maximum-subarray-visual{flex-direction:column;gap:8px;display:flex}.maximum-subarray-visual .maximum-subarray-title{color:var(--text-header);font-weight:700}.maximum-subarray-visual .maximum-subarray-array{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-wrap:wrap;gap:6px;padding:8px;display:flex}.maximum-subarray-visual .maximum-subarray-num{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:34px;height:30px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;padding:0 8px;font-size:.8rem;font-weight:700;display:inline-flex}.maximum-subarray-visual .maximum-subarray-best{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.maximum-subarray-visual .maximum-subarray-steps{gap:6px;display:grid}.maximum-subarray-visual .maximum-subarray-step{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:8px;grid-template-columns:minmax(88px,120px) 1fr;align-items:center;gap:8px;padding:6px 8px;display:grid}.maximum-subarray-visual .maximum-subarray-op{font-family:var(--font-mono);color:var(--code-inline-text);font-size:.78rem;font-weight:700}.maximum-subarray-visual .maximum-subarray-state{font-family:var(--font-mono);color:var(--text-main);font-size:.78rem}.maximum-subarray-visual .maximum-subarray-result{color:var(--text-main);flex-wrap:wrap;align-items:center;gap:8px;font-size:.84rem;display:flex}.maximum-subarray-visual .maximum-subarray-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.maximum-subarray-visual .maximum-subarray-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.daily-temperatures-visual{flex-direction:column;gap:8px;display:flex}.daily-temperatures-visual .daily-temperatures-title{color:var(--text-header);font-weight:700}.daily-temperatures-visual .daily-temperatures-row{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;display:grid}.daily-temperatures-visual .daily-temperatures-cell{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);height:30px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;font-size:.78rem;font-weight:700;display:inline-flex}.daily-temperatures-visual .daily-temperatures-row-wait .daily-temperatures-cell{background:var(--visual-container-bg);color:var(--text-main)}.daily-temperatures-visual .daily-temperatures-wait{border-color:var(--color-accent-secondary);background:var(--color-accent-bg);color:var(--color-accent-text)}.daily-temperatures-visual .daily-temperatures-none{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.daily-temperatures-visual .daily-temperatures-legend{flex-wrap:wrap;gap:8px;display:flex}.daily-temperatures-visual .daily-temperatures-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.daily-temperatures-visual .daily-temperatures-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.invert-binary-tree-visual{flex-direction:column;gap:8px;display:flex}.invert-binary-tree-visual .invert-binary-tree-title{color:var(--text-header);font-weight:700}.invert-binary-tree-visual .invert-binary-tree-wrap{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.invert-binary-tree-visual .invert-binary-tree-op{font-family:var(--font-mono);color:var(--color-accent-text);background:var(--color-accent-bg);border:1px solid var(--color-accent-secondary);border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700}.invert-binary-tree-visual .invert-binary-tree-tree{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;gap:6px;padding:8px;display:grid}.invert-binary-tree-visual .invert-binary-tree-level{justify-content:center;gap:8px;display:flex}.invert-binary-tree-visual .invert-binary-tree-node{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:30px;height:30px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;justify-content:center;align-items:center;font-size:.78rem;font-weight:700;display:inline-flex}.invert-binary-tree-visual .invert-binary-tree-tree-out .invert-binary-tree-node{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.validate-binary-search-tree-visual{flex-direction:column;gap:8px;display:flex}.validate-binary-search-tree-visual .validate-binary-search-tree-title{color:var(--text-header);font-weight:700}.validate-binary-search-tree-visual .validate-binary-search-tree-tree{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;gap:6px;padding:8px;display:grid}.validate-binary-search-tree-visual .validate-binary-search-tree-level{justify-content:center;gap:10px;display:flex}.validate-binary-search-tree-visual .validate-binary-search-tree-level-2{gap:26px}.validate-binary-search-tree-visual .validate-binary-search-tree-node{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:30px;height:30px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;justify-content:center;align-items:center;font-size:.78rem;font-weight:700;display:inline-flex}.validate-binary-search-tree-visual .validate-binary-search-tree-rules{flex-wrap:wrap;gap:8px;display:flex}.validate-binary-search-tree-visual .validate-binary-search-tree-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.validate-binary-search-tree-visual .validate-binary-search-tree-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.binary-tree-level-order-traversal-visual{flex-direction:column;gap:8px;display:flex}.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-title{color:var(--text-header);font-weight:700}.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-tree{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;gap:6px;padding:8px;display:grid}.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-level{justify-content:center;gap:10px;display:flex}.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-node{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:30px;height:30px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;justify-content:center;align-items:center;font-size:.78rem;font-weight:700;display:inline-flex}.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-groups{flex-wrap:wrap;gap:8px;display:flex}.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.clone-graph-visual{flex-direction:column;gap:10px;display:flex}.clone-graph-visual .clone-graph-title{color:var(--text-header);font-weight:700}.clone-graph-visual .clone-graph-graphs{grid-template-columns:1fr auto 1fr;justify-content:center;place-items:center;gap:10px;display:grid}.clone-graph-visual .clone-graph-graph-box{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;max-width:260px;max-height:220px;margin-inline:auto;padding:8px;overflow:hidden}.clone-graph-visual .clone-graph-graph-label{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);margin-bottom:6px;font-size:.76rem;font-weight:700}.clone-graph-visual svg{width:100%;max-width:240px;height:auto;max-height:170px;margin-inline:auto;display:block}.clone-graph-visual .clone-graph-edge{stroke:var(--visual-container-border);stroke-width:2.5px}.clone-graph-visual .clone-graph-node{fill:var(--code-inline-bg);stroke:var(--code-inline-border);stroke-width:1.5px}.clone-graph-visual .clone-graph-node-clone{fill:var(--example-output-bg);stroke:var(--example-border)}.clone-graph-visual .clone-graph-text{fill:var(--code-inline-text);font-family:var(--font-mono);font-size:13px;font-weight:700}.clone-graph-visual .clone-graph-text-clone{fill:var(--example-output-text)}.clone-graph-visual .clone-graph-map{font-family:var(--font-mono);color:var(--color-accent-text);background:var(--color-accent-bg);border:1px solid var(--color-accent-secondary);white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700}.clone-graph-visual .clone-graph-legend{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.clone-graph-visual .clone-graph-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.house-robber-visual{flex-direction:column;gap:10px;display:flex}.house-robber-visual .house-robber-title{color:var(--text-header);font-weight:700}.house-robber-visual .house-robber-houses{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.house-robber-visual .house-robber-house{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);border-radius:10px;flex-direction:column;align-items:center;gap:2px;min-width:66px;padding:8px 10px;display:flex}.house-robber-visual .house-robber-picked{border-color:var(--example-border);background:var(--example-output-bg)}.house-robber-visual .house-robber-idx{font-family:var(--font-mono);color:var(--color-text-muted);font-size:.7rem;font-weight:700}.house-robber-visual .house-robber-money{font-family:var(--font-mono);color:var(--code-inline-text);font-size:.95rem;font-weight:700}.house-robber-visual .house-robber-picked .house-robber-money{color:var(--example-output-text)}.house-robber-visual .house-robber-gap{border:1px solid var(--edge-case-border);background:var(--edge-case-bg);width:24px;height:24px;color:var(--edge-case-icon-color);border-radius:999px;justify-content:center;align-items:center;font-size:.72rem;display:inline-flex}.house-robber-visual .house-robber-states{flex-wrap:wrap;gap:8px;display:flex}.house-robber-visual .house-robber-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.house-robber-visual .house-robber-chip strong{color:inherit}.house-robber-visual .house-robber-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.unique-paths-visual{flex-direction:column;gap:10px;display:flex}.unique-paths-visual .unique-paths-title{color:var(--text-header);font-weight:700}.unique-paths-visual .unique-paths-formula{flex-wrap:wrap;gap:8px;display:flex}.unique-paths-visual .unique-paths-grid{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;grid-template-columns:repeat(7,1fr);gap:6px;max-width:420px;padding:10px;display:grid}.unique-paths-visual .unique-paths-cell{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);min-width:44px;height:34px;color:var(--code-inline-text);font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;font-size:.8rem;font-weight:700;display:inline-flex}.unique-paths-visual .unique-paths-edge{color:var(--color-text-muted)}.unique-paths-visual .unique-paths-goal{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.unique-paths-visual .unique-paths-legend{flex-wrap:wrap;gap:8px;display:flex}.unique-paths-visual .unique-paths-chip{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);font-family:var(--font-mono);border-radius:999px;align-items:center;padding:3px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.unique-paths-visual .unique-paths-chip-strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-two-sum-visual,.problem-fruit-baskets-visual,.problem-asteroid-collision-visual,.problem-kth-matrix-visual,.problem-remove-nth-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-direction:column;gap:12px;margin-top:18px;padding:16px;display:flex}.problem-two-sum-title,.problem-fruit-baskets-title,.problem-asteroid-collision-title,.problem-kth-matrix-title,.problem-remove-nth-title{color:var(--text-header);font-weight:700}.problem-two-sum-array{align-items:center;gap:10px;display:flex}.problem-two-sum-cell{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);width:52px;height:50px;color:var(--text-header);border-radius:8px;justify-content:center;align-items:center;font-weight:700;display:inline-flex;position:relative}.problem-two-sum-cell-match{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-two-sum-index{background:var(--tag-bg);width:20px;height:20px;color:var(--tag-text);border-radius:999px;justify-content:center;align-items:center;font-size:.72rem;display:inline-flex;position:absolute;top:-9px;right:-7px}.problem-two-sum-value,.problem-two-sum-target{font-size:1.05rem;font-weight:700}.problem-two-sum-operator{color:var(--text-secondary);font-size:1.15rem;font-weight:700}.problem-two-sum-target{border-bottom:2px solid var(--accent);min-width:46px;min-height:46px;color:var(--text-header);justify-content:center;align-items:center;display:inline-flex}.problem-two-sum-note,.problem-kth-matrix-note{color:var(--text-secondary);line-height:1.55}.problem-fruit-baskets-track{flex-wrap:wrap;gap:8px;display:flex}.problem-fruit-baskets-tree{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);width:48px;height:48px;color:var(--text-header);border-radius:999px 999px 8px 8px;justify-content:center;align-items:center;font-weight:700;display:inline-flex;position:relative}.problem-fruit-baskets-tree-in{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-fruit-baskets-tree-out{opacity:.48}.problem-fruit-baskets-index{background:var(--tag-bg);color:var(--tag-text);border-radius:999px;padding:1px 5px;font-size:.68rem;position:absolute;bottom:-9px;right:-5px}.problem-fruit-baskets-fruit{font-size:1.02rem}.problem-fruit-baskets-window{border-left:3px solid var(--accent);width:-moz-fit-content;width:fit-content;color:var(--text-secondary);padding:4px 10px;font-size:.88rem;font-weight:600}.problem-fruit-baskets-baskets{flex-wrap:wrap;gap:8px;display:flex}.problem-fruit-baskets-baskets span{border:1px solid var(--code-inline-border);background:var(--code-inline-bg);color:var(--code-inline-text);border-radius:999px;padding:5px 10px;font-size:.82rem;font-weight:600}.problem-asteroid-collision-stage,.problem-asteroid-collision-flow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.problem-asteroid-collision-rock{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-width:58px;color:var(--text-header);border-radius:999px;align-items:center;gap:5px;padding:9px 12px;font-weight:700;display:inline-flex}.problem-asteroid-collision-rock-large{min-width:72px;padding-block:13px}.problem-asteroid-collision-rock-incoming{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-asteroid-collision-impact{border-bottom:2px solid var(--accent);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;padding:3px 8px;font-size:.78rem;font-weight:700}.problem-asteroid-collision-flow{color:var(--text-secondary);font-size:.86rem}.problem-asteroid-collision-flow strong{color:var(--example-output-text)}.problem-kth-matrix-grid{grid-template-columns:repeat(3,minmax(48px,64px));gap:6px;width:-moz-fit-content;width:fit-content;display:grid}.problem-kth-matrix-cell{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-height:44px;color:var(--text-header);border-radius:7px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.problem-kth-matrix-cell-counted{background:var(--code-inline-bg);color:var(--code-inline-text)}.problem-kth-matrix-cell-answer{border:2px solid var(--accent);background:var(--example-output-bg);color:var(--example-output-text)}.problem-kth-matrix-legend{color:var(--text-secondary);flex-wrap:wrap;gap:12px;font-size:.82rem;display:flex}.problem-kth-matrix-legend span{align-items:center;gap:6px;display:inline-flex}.problem-kth-matrix-swatch{border:1px solid var(--visual-node-border);background:var(--code-inline-bg);border-radius:3px;width:13px;height:13px;display:inline-block}.problem-kth-matrix-swatch-counted{background:var(--code-inline-bg)}.problem-kth-matrix-swatch-answer{border:2px solid var(--accent);background:var(--example-output-bg)}.problem-remove-nth-list,.problem-remove-nth-pointers{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.problem-remove-nth-list-before{border-bottom:1px solid var(--border-color);padding-bottom:10px}.problem-remove-nth-list-after{padding-top:2px}.problem-remove-nth-node{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);width:38px;height:38px;color:var(--text-header);border-radius:999px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.problem-remove-nth-node-dummy{color:var(--text-secondary);border-style:dashed}.problem-remove-nth-node-remove{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text);text-decoration:line-through}.problem-remove-nth-arrow{color:var(--visual-arrow);font-size:1rem}.problem-remove-nth-arrow-skip{color:var(--accent);font-size:1.2rem}.problem-remove-nth-pointers{color:var(--text-secondary);padding-left:4px;font-size:.82rem}.problem-remove-nth-pointers span{border-left:2px solid var(--border-color);padding:3px 8px}.problem-sort-colors-visual,.problem-largest-number-visual,.problem-find-duplicate-visual,.problem-rotated-search-visual,.problem-rotated-min-visual,.problem-find-peak-visual,.problem-single-number-visual,.problem-hamming-weight-visual,.problem-counting-bits-visual,.problem-reverse-bits-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-direction:column;gap:12px;margin-top:18px;padding:16px;display:flex}.problem-sort-colors-title,.problem-largest-number-title,.problem-find-duplicate-title,.problem-rotated-search-title,.problem-rotated-min-title,.problem-find-peak-title,.problem-single-number-title,.problem-hamming-weight-title,.problem-counting-bits-title,.problem-reverse-bits-title{color:var(--text-header);font-weight:700}.problem-sort-colors-row,.problem-sort-colors-labels{flex-wrap:wrap;gap:7px;display:flex}.problem-sort-colors-cell{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);width:42px;height:42px;color:var(--text-header);border-radius:8px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.problem-sort-colors-zero{border-bottom:3px solid var(--visual-arrow)}.problem-sort-colors-one{border-bottom:3px solid var(--border-color)}.problem-sort-colors-two{border-bottom:3px solid var(--accent)}.problem-sort-colors-unknown{color:var(--text-secondary);border-style:dashed}.problem-sort-colors-labels{color:var(--text-secondary);justify-content:space-between;font-size:.8rem}.problem-largest-number-compare,.problem-largest-number-order{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.problem-largest-number-compare span,.problem-largest-number-compare strong,.problem-largest-number-order span{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);color:var(--text-header);border-radius:7px;padding:5px 9px}.problem-largest-number-compare strong,.problem-largest-number-order strong{color:var(--example-output-text)}.problem-largest-number-versus{text-transform:uppercase;font-size:.78rem;color:var(--text-secondary)!important;background:0 0!important;border:0!important}.problem-largest-number-order strong{border-left:2px solid var(--accent);margin-left:4px;padding-left:12px}.problem-find-duplicate-map{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.problem-find-duplicate-map span,.problem-find-duplicate-map strong{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);width:36px;height:36px;color:var(--text-header);border-radius:999px;justify-content:center;align-items:center;font-style:normal;display:inline-flex}.problem-find-duplicate-map strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-find-duplicate-map i{color:var(--visual-arrow);font-style:normal}.problem-find-duplicate-note,.problem-rotated-min-note,.problem-find-peak-note,.problem-hamming-weight-note{color:var(--text-secondary);line-height:1.5}.problem-rotated-search-row,.problem-rotated-search-ranges{flex-wrap:wrap;gap:6px;display:flex}.problem-rotated-search-row span{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);width:39px;height:39px;color:var(--text-header);border-radius:7px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.problem-rotated-search-row .problem-rotated-search-mid{border-bottom:3px solid var(--visual-arrow)}.problem-rotated-search-row .problem-rotated-search-target{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-rotated-search-ranges{color:var(--text-secondary);justify-content:space-between;font-size:.82rem}.problem-rotated-search-ranges strong{color:var(--example-output-text)}.problem-rotated-min-chart,.problem-find-peak-hills{border-bottom:1px solid var(--border-color);align-items:flex-end;gap:7px;min-height:116px;padding-top:8px;display:flex}.problem-rotated-min-chart span,.problem-rotated-min-chart strong,.problem-find-peak-hills span,.problem-find-peak-hills strong{width:42px;height:var(--problem-rotated-min-height,var(--problem-find-peak-height));border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-height:28px;color:var(--text-header);border-radius:7px 7px 0 0;justify-content:center;align-items:flex-end;padding-bottom:6px;font-weight:700;display:inline-flex}.problem-rotated-min-chart .problem-rotated-min-mid{border-top:3px solid var(--visual-arrow)}.problem-rotated-min-chart strong,.problem-find-peak-hills strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-single-number-equation,.problem-single-number-rules{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.problem-single-number-equation span,.problem-single-number-equation strong{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-width:38px;height:38px;color:var(--text-header);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.problem-single-number-equation strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-single-number-equation i{color:var(--text-secondary);text-transform:uppercase;font-size:.76rem;font-style:normal}.problem-single-number-equation b{color:var(--example-output-text)}.problem-single-number-rules span{border-left:2px solid var(--border-color);color:var(--text-secondary);padding:4px 9px;font-size:.82rem}.problem-hamming-weight-steps,.problem-reverse-bits-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.problem-hamming-weight-steps span,.problem-hamming-weight-steps strong,.problem-reverse-bits-row span,.problem-reverse-bits-row strong{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);color:var(--text-header);font-family:var(--font-mono);border-radius:7px;padding:6px 10px;font-weight:700}.problem-hamming-weight-steps strong,.problem-reverse-bits-row strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-hamming-weight-steps i,.problem-reverse-bits-row i{color:var(--visual-arrow);font-style:normal}.problem-counting-bits-table{gap:5px;max-width:520px;display:grid}.problem-counting-bits-table>span{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);color:var(--text-header);border-radius:6px;grid-template-columns:52px 88px minmax(150px,1fr);gap:8px;padding:6px 8px;display:grid}.problem-counting-bits-table b,.problem-counting-bits-table em{font-style:normal}.problem-counting-bits-table>span:first-child{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-reverse-bits-positions{flex-wrap:wrap;gap:8px;display:flex}.problem-reverse-bits-positions span{border-left:2px solid var(--border-color);color:var(--text-secondary);padding:4px 9px;font-size:.82rem}.problem-missing-number-visual,.problem-happy-number-visual,.problem-first-missing-positive-visual,.problem-sum-of-two-integers-visual,.problem-flatten-binary-tree-to-linked-list-visual,.problem-walls-and-gates-visual,.problem-shortest-path-in-binary-matrix-visual,.problem-number-of-connected-components-in-an-undirected-graph-visual,.problem-search-a-2d-matrix-visual,.problem-set-matrix-zeroes-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);border-radius:10px;flex-direction:column;gap:12px;min-width:0;margin-top:18px;padding:16px;display:flex}.problem-missing-number-title,.problem-happy-number-title,.problem-first-missing-positive-title,.problem-sum-of-two-integers-title,.problem-flatten-binary-tree-to-linked-list-title,.problem-walls-and-gates-title,.problem-shortest-path-in-binary-matrix-title,.problem-number-of-connected-components-in-an-undirected-graph-title,.problem-search-a-2d-matrix-title,.problem-set-matrix-zeroes-title{color:var(--text-header);font-weight:700}.problem-missing-number-row,.problem-missing-number-result,.problem-happy-number-chain,.problem-first-missing-positive-slots,.problem-sum-of-two-integers-row,.problem-flatten-binary-tree-to-linked-list-tree,.problem-flatten-binary-tree-to-linked-list-chain,.problem-walls-and-gates-grid,.problem-shortest-path-in-binary-matrix-grid,.problem-number-of-connected-components-in-an-undirected-graph-components,.problem-number-of-connected-components-in-an-undirected-graph-component,.problem-search-a-2d-matrix-grid,.problem-set-matrix-zeroes-grid{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.problem-missing-number-row>span,.problem-missing-number-result>span,.problem-missing-number-row>strong,.problem-missing-number-result>b{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-width:38px;min-height:36px;color:var(--text-header);font-family:var(--font-mono);border-radius:7px;justify-content:center;align-items:center;padding:5px 9px;font-weight:700;display:inline-flex}.problem-missing-number-row>span,.problem-missing-number-result>span{min-width:104px;color:var(--text-secondary);background:0 0;border:0;justify-content:flex-start;font-family:inherit;font-size:.82rem;font-weight:600}.problem-missing-number-result{border-top:1px dashed var(--border-color);padding-top:4px}.problem-missing-number-result>b{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-happy-number-chain{flex-wrap:nowrap;padding:4px 0;overflow-x:auto}.problem-happy-number-chain>span,.problem-happy-number-chain>strong{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-width:48px;height:38px;color:var(--text-header);font-family:var(--font-mono);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:0 9px;font-weight:700;display:inline-flex}.problem-happy-number-chain>strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-happy-number-chain>i{color:var(--visual-arrow);font-style:normal}.problem-happy-number-note,.problem-first-missing-positive-result,.problem-sum-of-two-integers-carry,.problem-flatten-binary-tree-to-linked-list-note,.problem-walls-and-gates-note,.problem-shortest-path-in-binary-matrix-note,.problem-number-of-connected-components-in-an-undirected-graph-note,.problem-search-a-2d-matrix-note,.problem-set-matrix-zeroes-note{color:var(--text-secondary);line-height:1.5}.problem-first-missing-positive-slots{grid-template-columns:72px repeat(4,minmax(38px,1fr));gap:6px;max-width:480px;display:grid}.problem-first-missing-positive-slots>span,.problem-first-missing-positive-slots>strong,.problem-first-missing-positive-slots>b{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-height:38px;color:var(--text-header);font-family:var(--font-mono);border-radius:7px;justify-content:center;align-items:center;padding:5px 8px;font-weight:700;display:inline-flex}.problem-first-missing-positive-slots>.problem-first-missing-positive-index{color:var(--text-secondary);background:0 0;border:0;justify-content:flex-start;font-family:inherit;font-size:.82rem}.problem-first-missing-positive-slots>strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-first-missing-positive-slots>b{color:var(--text-secondary);border-style:dashed}.problem-sum-of-two-integers-row{grid-template-columns:80px repeat(4,minmax(32px,1fr));gap:6px;max-width:480px;display:grid}.problem-sum-of-two-integers-row>span,.problem-sum-of-two-integers-row>b,.problem-sum-of-two-integers-row>strong{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-height:34px;color:var(--text-header);font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;padding:4px 7px;font-weight:700;display:inline-flex}.problem-sum-of-two-integers-row>span{color:var(--text-secondary);background:0 0;border:0;justify-content:flex-start;font-family:inherit;font-size:.82rem}.problem-sum-of-two-integers-row>strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-sum-of-two-integers-carry{border-left:2px solid var(--visual-arrow);padding-left:10px}.problem-flatten-binary-tree-to-linked-list-tree,.problem-flatten-binary-tree-to-linked-list-chain{flex-wrap:nowrap;padding:5px 0;overflow-x:auto}.problem-flatten-binary-tree-to-linked-list-tree>span,.problem-flatten-binary-tree-to-linked-list-chain>strong{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-width:38px;height:38px;color:var(--text-header);font-family:var(--font-mono);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:0 8px;font-weight:700;display:inline-flex}.problem-flatten-binary-tree-to-linked-list-chain>strong{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-flatten-binary-tree-to-linked-list-tree>i,.problem-flatten-binary-tree-to-linked-list-chain>i{color:var(--visual-arrow);font-style:normal}.problem-walls-and-gates-grid,.problem-shortest-path-in-binary-matrix-grid,.problem-search-a-2d-matrix-grid,.problem-set-matrix-zeroes-grid{grid-template-columns:repeat(4,minmax(38px,1fr));gap:5px;width:min(100%,400px);display:grid;overflow-x:auto}.problem-shortest-path-in-binary-matrix-grid.problem-shortest-path-in-binary-matrix-grid-two{grid-template-columns:repeat(2,minmax(38px,1fr));width:min(100%,220px)}.problem-set-matrix-zeroes-grid.problem-set-matrix-zeroes-grid-three{grid-template-columns:repeat(3,minmax(48px,1fr));width:min(100%,300px)}.problem-walls-and-gates-cell,.problem-shortest-path-in-binary-matrix-cell,.problem-search-a-2d-matrix-cell,.problem-set-matrix-zeroes-cell{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);min-width:38px;min-height:38px;color:var(--text-header);font-family:var(--font-mono);text-align:center;border-radius:6px;justify-content:center;align-items:center;padding:4px;font-size:.82rem;font-weight:700;display:inline-flex}.problem-walls-and-gates-cell.problem-walls-and-gates-wall,.problem-shortest-path-in-binary-matrix-cell.problem-shortest-path-in-binary-matrix-blocked{border-color:var(--border-color);background:var(--code-block-bg);color:var(--text-secondary)}.problem-walls-and-gates-cell.problem-walls-and-gates-gate,.problem-shortest-path-in-binary-matrix-cell.problem-shortest-path-in-binary-matrix-start,.problem-shortest-path-in-binary-matrix-cell.problem-shortest-path-in-binary-matrix-goal{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-walls-and-gates-cell.problem-walls-and-gates-distance,.problem-shortest-path-in-binary-matrix-cell.problem-shortest-path-in-binary-matrix-distance{border-color:var(--visual-arrow)}.problem-number-of-connected-components-in-an-undirected-graph-components{align-items:stretch;gap:12px}.problem-number-of-connected-components-in-an-undirected-graph-component{border:1px solid var(--visual-node-border);background:var(--visual-node-bg);border-radius:8px;flex-direction:column;flex:150px;align-items:stretch;padding:12px}.problem-number-of-connected-components-in-an-undirected-graph-component-node,.problem-number-of-connected-components-in-an-undirected-graph-component-edge{min-height:34px;font-family:var(--font-mono);border-radius:7px;justify-content:center;align-items:center;padding:4px 8px;font-size:.82rem;font-weight:700;display:inline-flex}.problem-number-of-connected-components-in-an-undirected-graph-component-node{border:1px solid var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-number-of-connected-components-in-an-undirected-graph-component-edge{border-left:2px solid var(--visual-arrow);color:var(--text-secondary)}.problem-search-a-2d-matrix-grid{grid-template-columns:repeat(4,minmax(48px,1fr))}.problem-search-a-2d-matrix-cell.problem-search-a-2d-matrix-mid{border-bottom:3px solid var(--visual-arrow)}.problem-search-a-2d-matrix-cell.problem-search-a-2d-matrix-target{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-search-a-2d-matrix-label{color:var(--text-secondary);font-size:.82rem}.problem-set-matrix-zeroes-grid{grid-template-columns:repeat(4,minmax(48px,1fr))}.problem-set-matrix-zeroes-cell.problem-set-matrix-zeroes-zero,.problem-set-matrix-zeroes-cell.problem-set-matrix-zeroes-marker-row,.problem-set-matrix-zeroes-cell.problem-set-matrix-zeroes-marker-column{border-color:var(--example-border);background:var(--example-output-bg);color:var(--example-output-text)}.problem-set-matrix-zeroes-cell.problem-set-matrix-zeroes-result{border-color:var(--visual-arrow)}.edge-cases{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.edge-case-item{background:var(--edge-case-bg);border:1px solid var(--edge-case-border);border-radius:8px;align-items:center;gap:12px;padding:14px;display:flex}.edge-icon{background:var(--edge-case-icon-bg);width:28px;height:28px;color:var(--edge-case-icon-color);border-radius:6px;justify-content:center;align-items:center;font-size:.75rem;display:flex}.edge-content{color:var(--edge-case-text);font-size:.9rem;line-height:1.5}.complexity-target{flex-wrap:wrap;gap:24px;margin-top:14px;display:flex}.constraints-box .complexity-target:before{content:"Complexity";text-transform:uppercase;letter-spacing:.06em;width:100%;color:var(--complexity-title-text);border-bottom:1px solid var(--complexity-title-underline);margin-top:16px;padding-bottom:6px;font-size:.78rem;font-weight:700;display:block}.complexity-item{background:var(--complexity-bg);border:1px solid var(--complexity-border);border-radius:10px;flex-direction:column;flex:1;gap:4px;min-width:200px;padding:16px 20px;display:flex}.complexity-label{text-transform:uppercase;letter-spacing:.06em;color:var(--complexity-label);opacity:.98;font-size:.84rem;font-weight:700}.complexity-value{font-family:var(--font-mono);color:var(--complexity-value);font-size:1.3rem;font-weight:700}.complexity-note{color:var(--complexity-note);margin-top:4px;font-size:.9rem;font-weight:500;line-height:1.45}@media (max-width:768px){.constraints-box{border-radius:12px;padding:16px}.problem-two-sum-visual,.problem-fruit-baskets-visual,.problem-asteroid-collision-visual,.problem-kth-matrix-visual,.problem-remove-nth-visual,.problem-sort-colors-visual,.problem-largest-number-visual,.problem-find-duplicate-visual,.problem-rotated-search-visual,.problem-rotated-min-visual,.problem-find-peak-visual,.problem-single-number-visual,.problem-hamming-weight-visual,.problem-counting-bits-visual,.problem-reverse-bits-visual,.problem-missing-number-visual,.problem-happy-number-visual,.problem-first-missing-positive-visual,.problem-sum-of-two-integers-visual,.problem-flatten-binary-tree-to-linked-list-visual,.problem-walls-and-gates-visual,.problem-shortest-path-in-binary-matrix-visual,.problem-number-of-connected-components-in-an-undirected-graph-visual,.problem-search-a-2d-matrix-visual,.problem-set-matrix-zeroes-visual{padding:13px}.problem-first-missing-positive-slots{grid-template-columns:58px repeat(4,minmax(32px,1fr));gap:4px}.problem-sum-of-two-integers-row{grid-template-columns:64px repeat(4,minmax(28px,1fr));gap:4px}.problem-walls-and-gates-grid,.problem-shortest-path-in-binary-matrix-grid,.problem-search-a-2d-matrix-grid,.problem-set-matrix-zeroes-grid{grid-template-columns:repeat(4,minmax(32px,1fr));gap:4px}.problem-shortest-path-in-binary-matrix-grid.problem-shortest-path-in-binary-matrix-grid-two{grid-template-columns:repeat(2,minmax(32px,1fr))}.problem-set-matrix-zeroes-grid.problem-set-matrix-zeroes-grid-three{grid-template-columns:repeat(3,minmax(32px,1fr))}.problem-walls-and-gates-cell,.problem-shortest-path-in-binary-matrix-cell,.problem-search-a-2d-matrix-cell,.problem-set-matrix-zeroes-cell{min-width:32px;min-height:32px;font-size:.72rem}.problem-missing-number-row>span,.problem-missing-number-result>span{min-width:86px}.problem-number-of-connected-components-in-an-undirected-graph-component{flex-basis:126px;padding:9px}.problem-counting-bits-table>span{grid-template-columns:34px 60px minmax(128px,1fr);font-size:.78rem}.problem-two-sum-array,.problem-asteroid-collision-stage,.problem-remove-nth-list{gap:6px}.problem-two-sum-cell{width:44px;height:44px}.problem-remove-nth-node{width:32px;height:32px}.merge-k-sorted-lists-visual .list-node{min-width:26px;height:26px;padding:0 7px;font-size:.8rem}.word-ladder-visual .word-ladder-track{gap:6px;padding:8px}.word-ladder-visual .word-ladder-word{min-width:38px;height:28px;font-size:.74rem}.word-ladder-visual .word-ladder-chip{font-size:.7rem}.minimum-window-substring-visual .minimum-window-substring-track,.task-scheduler-visual .task-scheduler-timeline{gap:4px;padding:8px}.minimum-window-substring-visual .minimum-window-substring-char,.task-scheduler-visual .task-scheduler-slot{min-width:24px;height:24px;font-size:.7rem}.minimum-window-substring-visual .minimum-window-substring-chip,.problem-3sum-visual .problem-3sum-chip,.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-badge,.meeting-rooms-ii-visual .meeting-rooms-ii-chip,.task-scheduler-visual .task-scheduler-chip{font-size:.68rem}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-row,.meeting-rooms-ii-visual .meeting-rooms-ii-lane-wrap{padding:8px}.implement-trie-prefix-tree-visual .implement-trie-prefix-tree-node{min-width:26px;height:24px;font-size:.7rem}.meeting-rooms-ii-visual .meeting-rooms-ii-lane-label{min-width:48px;font-size:.68rem}.meeting-rooms-ii-visual .meeting-rooms-ii-block{min-width:48px;height:26px;font-size:.7rem}.meeting-rooms-ii-visual .meeting-rooms-ii-block-long{min-width:92px}.lru-cache-visual .lru-cache-lru-step{grid-template-columns:1fr;align-items:flex-start;gap:6px}.lru-cache-visual .lru-cache-lru-op,.lru-cache-visual .lru-cache-lru-ret,.lru-cache-visual .lru-cache-lru-note{white-space:normal}.longest-increasing-path-in-a-matrix-visual .longest-increasing-path-in-a-matrix-lip-node{min-width:26px;height:26px;font-size:.8rem}.container-with-most-water-visual .container-with-most-water-water-chart{gap:4px;padding:8px 6px 6px}.container-with-most-water-visual .container-with-most-water-water-col{height:122px}.container-with-most-water-visual .container-with-most-water-water-fill{height:calc(var(--water-h) * 11px);inset:auto 1px 16px}.container-with-most-water-visual .container-with-most-water-bar{width:10px;height:calc(var(--bar-h) * 11px);bottom:16px}.container-with-most-water-visual .container-with-most-water-col-label{font-size:.66rem}.lowest-common-ancestor-visual .lowest-common-ancestor-lca-canvas{max-width:100%;max-height:260px;padding:6px}.lowest-common-ancestor-visual .lowest-common-ancestor-node-text{font-size:12px}.group-anagrams-visual .group-anagrams-anagram-row{grid-template-columns:1fr;justify-items:start;gap:4px}.group-anagrams-visual .group-anagrams-arrow{display:none}.group-anagrams-visual .group-anagrams-bucket{width:100%}.find-median-from-data-stream-visual .find-median-from-data-stream-step{grid-template-columns:1fr;align-items:flex-start}.find-median-from-data-stream-visual .find-median-from-data-stream-median{white-space:normal}.merge-intervals-visual .merge-intervals-track{padding:8px}.merge-intervals-visual .merge-intervals-item{min-width:40px;font-size:.72rem}.rotate-image-visual .rotate-image-rotate-stage{align-items:flex-start;gap:8px;padding:8px}.rotate-image-visual .rotate-image-op{padding:3px 8px;font-size:.72rem}.rotate-image-visual .rotate-image-matrix{grid-template-columns:repeat(3,28px)}.rotate-image-visual .rotate-image-cell{width:28px;height:28px;font-size:.75rem}.maximum-subarray-visual .maximum-subarray-step{grid-template-columns:1fr;gap:4px}.daily-temperatures-visual .daily-temperatures-row{gap:4px}.daily-temperatures-visual .daily-temperatures-cell{height:28px;font-size:.72rem}.invert-binary-tree-visual .invert-binary-tree-wrap{align-items:flex-start;gap:8px}.invert-binary-tree-visual .invert-binary-tree-node,.validate-binary-search-tree-visual .validate-binary-search-tree-node,.binary-tree-level-order-traversal-visual .binary-tree-level-order-traversal-node{min-width:28px;height:28px;font-size:.72rem}.clone-graph-visual .clone-graph-graphs{grid-template-columns:1fr;place-items:center}.clone-graph-visual .clone-graph-graph-box{max-width:220px;max-height:200px}.clone-graph-visual svg{max-width:200px;max-height:150px}.clone-graph-visual .clone-graph-map{padding:3px 8px;font-size:.72rem}.clone-graph-visual .clone-graph-text{font-size:11px}.house-robber-visual .house-robber-houses{gap:6px}.house-robber-visual .house-robber-house{min-width:58px;padding:6px 8px}.house-robber-visual .house-robber-chip,.unique-paths-visual .unique-paths-chip{font-size:.7rem}.unique-paths-visual .unique-paths-grid{gap:4px;max-width:100%;padding:8px}.unique-paths-visual .unique-paths-cell{min-width:0;height:30px;font-size:.72rem}.constraints-list li{font-size:.98rem}.complexity-target{gap:12px}.complexity-item{min-width:100%;padding:14px 16px}.complexity-value{font-size:1.18rem}.complexity-note{font-size:.88rem}}.code-inline{font-family:var(--font-mono);background:var(--code-inline-bg);color:var(--code-inline-text);border:1px solid var(--code-inline-border);white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:.875em}.code-inline.method-name{color:var(--code-inline-method);font-weight:600}.code-inline.return-type{color:var(--code-inline-type)}.code-inline.params{color:var(--code-inline-params)}.code-inline.output-array{background:var(--highlight-success-bg);border-color:var(--highlight-success-border);color:var(--highlight-success-text)}.code-block-clean{font-family:var(--font-mono);background:var(--code-dark-bg);color:var(--code-dark-text);border-radius:8px;padding:16px 20px;font-size:.85rem;line-height:1.7;overflow-x:auto}.code-comment{color:var(--color-text-muted);font-style:italic}.api-spec{flex-direction:column;gap:12px;margin-bottom:20px;display:flex}.api-method{background:var(--card-bg);border:1px solid var(--border-color);border-left:3px solid var(--accent);border-radius:6px;padding:14px 18px}.api-signature{margin-bottom:8px}.api-desc{color:var(--color-text-tertiary);font-size:.9rem;line-height:1.5}.problem-valid-sudoku-visual,.problem-combination-sum-ii-visual,.problem-koko-eating-bananas-visual,.problem-time-based-key-value-store-visual,.problem-design-twitter-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:10px;margin-top:16px;padding:16px;overflow-x:auto}.problem-valid-sudoku-title,.problem-combination-sum-ii-title,.problem-koko-eating-bananas-title,.problem-time-based-key-value-store-title,.problem-design-twitter-title{color:var(--color-text-secondary);letter-spacing:.02em;margin-bottom:12px;font-size:.85rem;font-weight:700}.problem-valid-sudoku-board{border:2px solid var(--visual-node-border);grid-template-columns:repeat(9,minmax(26px,34px));width:max-content;margin:0 auto;display:grid}.problem-valid-sudoku-cell{border-right:1px solid var(--visual-container-border);border-bottom:1px solid var(--visual-container-border);background:var(--card-bg);min-height:30px;color:var(--color-text-primary);font-family:var(--font-mono);place-items:center;font-size:.82rem;display:grid}.problem-valid-sudoku-cell:nth-child(3n){border-right:2px solid var(--visual-node-border)}.problem-valid-sudoku-cell:nth-child(9n){border-right:0}.problem-valid-sudoku-cell:nth-child(n+19):nth-child(-n+27),.problem-valid-sudoku-cell:nth-child(n+46):nth-child(-n+54){border-bottom:2px solid var(--visual-node-border)}.problem-valid-sudoku-cell.problem-valid-sudoku-focus{background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-valid-sudoku-note,.problem-combination-sum-ii-note,.problem-koko-eating-bananas-note,.problem-time-based-key-value-store-note,.problem-design-twitter-note{color:var(--color-text-tertiary);margin-top:12px;font-size:.82rem;line-height:1.55}.problem-combination-sum-ii-candidates,.problem-combination-sum-ii-branches{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.problem-combination-sum-ii-candidates span,.problem-combination-sum-ii-branches span{border:1px solid var(--visual-node-border);background:var(--card-bg);min-width:34px;min-height:30px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;padding:4px 8px;font-size:.8rem;display:inline-flex}.problem-combination-sum-ii-candidates .problem-combination-sum-ii-keep,.problem-combination-sum-ii-branches .problem-combination-sum-ii-branch-keep{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:700}.problem-combination-sum-ii-branches{margin-top:10px}.problem-combination-sum-ii-branches .problem-combination-sum-ii-branch-skip{border-color:var(--highlight-warning-border);background:var(--highlight-warning-bg);color:var(--highlight-warning-text)}.problem-koko-eating-bananas-track{border-bottom:2px solid var(--visual-node-border);align-items:center;gap:5px;min-width:540px;padding:12px 8px;display:flex}.problem-koko-eating-bananas-track span{border:1px solid var(--visual-container-border);background:var(--card-bg);min-width:42px;min-height:34px;color:var(--color-text-tertiary);font-family:var(--font-mono);border-radius:6px 6px 0 0;justify-content:center;align-items:center;font-size:.78rem;display:inline-flex}.problem-koko-eating-bananas-track span.problem-koko-eating-bananas-feasible{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text)}.problem-koko-eating-bananas-track span.problem-koko-eating-bananas-feasible:nth-child(4){outline:2px solid var(--accent);outline-offset:2px;font-weight:800}.problem-koko-eating-bananas-labels{min-width:540px;color:var(--color-text-tertiary);justify-content:space-between;gap:12px;margin-top:10px;font-size:.78rem;display:flex}.problem-koko-eating-bananas-labels strong{color:var(--accent);white-space:nowrap}.problem-time-based-key-value-store-timeline{border-bottom:2px solid var(--visual-node-border);justify-content:center;align-items:center;gap:12px;min-width:440px;padding:18px 8px 10px;display:flex}.problem-time-based-key-value-store-event,.problem-time-based-key-value-store-query{border:1px solid var(--visual-node-border);background:var(--card-bg);min-width:64px;min-height:54px;color:var(--color-text-primary);border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.78rem;display:inline-flex}.problem-time-based-key-value-store-event em{color:var(--color-text-tertiary);font-family:var(--font-mono);font-size:.75rem;font-style:normal}.problem-time-based-key-value-store-query{border-style:dashed;border-color:var(--highlight-success-border);color:var(--highlight-success-text)}.problem-time-based-key-value-store-query strong{font-family:var(--font-mono)}.problem-design-twitter-streams{grid-template-columns:repeat(3,minmax(130px,1fr));gap:12px;min-width:440px;display:grid}.problem-design-twitter-streams>div{border:1px solid var(--visual-node-border);background:var(--card-bg);min-height:72px;color:var(--color-text-secondary);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:.8rem;display:flex}.problem-design-twitter-streams>div span{color:var(--color-text-primary);font-family:var(--font-mono)}.problem-design-twitter-streams>div .problem-design-twitter-new{color:var(--highlight-success-text);font-weight:800}.problem-design-twitter-streams>div.problem-design-twitter-heap{border-color:var(--accent);background:var(--highlight-success-bg)}.problem-design-twitter-heap span{border:1px solid var(--highlight-success-border);border-radius:4px;margin:0 3px;padding:3px 6px;display:inline-block}@media (max-width:600px){.problem-valid-sudoku-visual,.problem-combination-sum-ii-visual,.problem-koko-eating-bananas-visual,.problem-time-based-key-value-store-visual,.problem-design-twitter-visual{padding:12px}.problem-design-twitter-streams{grid-template-columns:1fr;min-width:0}.problem-time-based-key-value-store-timeline{justify-content:flex-start;min-width:0;overflow-x:auto}}.problem-car-fleet-visual,.problem-min-stack-visual,.problem-insert-interval-visual,.problem-encode-and-decode-strings-visual,.problem-jump-game-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:10px;margin-top:16px;padding:16px;overflow-x:auto}.problem-car-fleet-title,.problem-min-stack-title,.problem-insert-interval-title,.problem-encode-and-decode-strings-title,.problem-jump-game-title{color:var(--color-text-secondary);letter-spacing:.02em;margin-bottom:12px;font-size:.85rem;font-weight:700}.problem-car-fleet-track{border-bottom:2px solid var(--visual-node-border);justify-content:space-between;align-items:center;gap:8px;min-width:480px;padding:10px 8px;display:flex}.problem-car-fleet-car{border:1px solid var(--visual-node-border);background:var(--card-bg);min-width:70px;min-height:34px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;font-size:.75rem;display:inline-flex}.problem-car-fleet-car.problem-car-fleet-fleet{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text)}.problem-min-stack-columns{grid-template-columns:repeat(2,minmax(130px,1fr));justify-content:center;gap:18px;min-width:300px;max-width:420px;margin:0 auto;display:grid}.problem-min-stack-columns>div{flex-direction:column;gap:5px;display:flex}.problem-min-stack-columns strong{color:var(--color-text-secondary);text-align:center;padding-bottom:4px;font-size:.8rem}.problem-min-stack-columns span{border:1px solid var(--visual-node-border);background:var(--card-bg);min-height:30px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:5px;justify-content:center;align-items:center;font-size:.8rem;display:inline-flex}.problem-min-stack-columns>div:last-child span{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text)}.problem-insert-interval-lanes{grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;min-width:400px;display:grid}.problem-insert-interval-lanes span,.problem-insert-interval-lanes strong{border:1px solid var(--visual-node-border);background:var(--card-bg);min-height:42px;color:var(--color-text-tertiary);font-family:var(--font-mono);text-align:center;border-radius:7px;justify-content:center;align-items:center;font-size:.76rem;font-weight:500;display:inline-flex}.problem-insert-interval-lanes strong{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-encode-and-decode-strings-records{flex-wrap:wrap;justify-content:center;gap:7px;min-width:420px;display:flex}.problem-encode-and-decode-strings-records span{border:1px solid var(--visual-node-border);background:var(--card-bg);min-height:36px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:6px;align-items:center;padding:5px 9px;font-size:.78rem;display:inline-flex}.problem-encode-and-decode-strings-records b{color:var(--accent);margin-right:4px}.problem-jump-game-cells{justify-content:center;gap:7px;min-width:440px;display:flex}.problem-jump-game-cells span{border:1px solid var(--visual-node-border);background:var(--card-bg);min-width:48px;min-height:48px;color:var(--color-text-tertiary);font-family:var(--font-mono);border-radius:6px;flex-direction:column;justify-content:center;align-items:center;font-size:.76rem;line-height:1.25;display:inline-flex}.problem-jump-game-cells span.problem-jump-game-reached{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text)}.problem-jump-game-cells span.problem-jump-game-goal{border-color:var(--accent);color:var(--accent);font-weight:800}.problem-jump-game-ii-visual,.problem-maximum-product-subarray-visual,.problem-partition-equal-subset-sum-visual,.problem-target-sum-visual,.problem-ones-and-zeroes-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:10px;margin-top:16px;padding:16px;overflow-x:auto}.problem-jump-game-ii-title,.problem-maximum-product-subarray-title,.problem-partition-equal-subset-sum-title,.problem-target-sum-title,.problem-ones-and-zeroes-title{color:var(--color-text-secondary);letter-spacing:.02em;margin-bottom:12px;font-size:.85rem;font-weight:700}.problem-jump-game-ii-cells,.problem-maximum-product-subarray-row{justify-content:center;gap:7px;min-width:360px;display:flex}.problem-jump-game-ii-cells span,.problem-maximum-product-subarray-row span{border:1px solid var(--visual-node-border);background:var(--card-bg);min-width:46px;min-height:42px;color:var(--color-text-tertiary);font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;font-size:.78rem;display:inline-flex}.problem-jump-game-ii-cells span.problem-jump-game-ii-current,.problem-maximum-product-subarray-row span.problem-maximum-product-subarray-negative{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:700}.problem-jump-game-ii-cells span.problem-jump-game-ii-next{color:var(--accent);border-style:dashed}.problem-jump-game-ii-cells span.problem-jump-game-ii-goal{border-color:var(--accent);color:var(--accent);font-weight:800}.problem-jump-game-ii-cells span.problem-jump-game-ii-layer-zero{color:var(--color-text-primary);font-weight:800}.problem-jump-game-ii-labels,.problem-maximum-product-subarray-states,.problem-partition-equal-subset-sum-sums,.problem-target-sum-branches,.problem-ones-and-zeroes-budget,.problem-ones-and-zeroes-items{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px;display:flex}.problem-jump-game-ii-labels span,.problem-jump-game-ii-labels strong,.problem-maximum-product-subarray-states span,.problem-maximum-product-subarray-states strong,.problem-partition-equal-subset-sum-sums span,.problem-target-sum-branches span,.problem-target-sum-branches strong,.problem-ones-and-zeroes-budget span,.problem-ones-and-zeroes-budget strong,.problem-ones-and-zeroes-items span{border:1px solid var(--visual-container-border);background:var(--card-bg);min-height:30px;color:var(--color-text-tertiary);font-family:var(--font-mono);text-align:center;border-radius:5px;justify-content:center;align-items:center;padding:4px 8px;font-size:.75rem;display:inline-flex}.problem-jump-game-ii-labels strong,.problem-maximum-product-subarray-states strong,.problem-partition-equal-subset-sum-sums span.problem-partition-equal-subset-sum-hit,.problem-target-sum-branches strong,.problem-ones-and-zeroes-budget strong{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-maximum-product-subarray-states span{color:var(--color-text-primary)}.problem-partition-equal-subset-sum-target{border:1px solid var(--accent);width:max-content;color:var(--accent);font-family:var(--font-mono);border-radius:6px;margin:0 auto;padding:5px 10px;font-size:.8rem;font-weight:800}.problem-partition-equal-subset-sum-sums span{min-width:32px}.problem-target-sum-branches span,.problem-target-sum-branches strong{min-height:42px}.problem-ones-and-zeroes-budget span,.problem-ones-and-zeroes-budget strong{min-height:34px}.problem-ones-and-zeroes-items span{color:var(--color-text-primary)}.problem-jump-game-ii-note,.problem-maximum-product-subarray-note,.problem-partition-equal-subset-sum-note,.problem-target-sum-note,.problem-ones-and-zeroes-note{color:var(--color-text-tertiary);margin-top:12px;font-size:.82rem;line-height:1.55}.problem-edit-distance-visual,.problem-distinct-subsequences-visual,.problem-course-schedule-ii-visual,.problem-evaluate-division-visual,.problem-redundant-connection-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);min-width:0;color:var(--color-text-primary);border-radius:10px;flex-direction:column;gap:12px;margin-top:16px;padding:16px;display:flex;overflow-x:auto}.problem-edit-distance-visual__caption,.problem-distinct-subsequences-visual__caption,.problem-course-schedule-ii-visual__caption,.problem-evaluate-division-visual__caption,.problem-redundant-connection-visual__caption{color:var(--color-text-secondary);font-size:.84rem;line-height:1.55}.problem-edit-distance-visual__grid{border-top:1px solid var(--visual-node-border);border-left:1px solid var(--visual-node-border);grid-template-columns:50px repeat(4,minmax(42px,1fr));width:min(100%,430px);margin:0 auto;display:grid}.problem-edit-distance-visual__corner,.problem-edit-distance-visual__axis,.problem-edit-distance-visual__cell{border-right:1px solid var(--visual-node-border);border-bottom:1px solid var(--visual-node-border);min-height:36px;font-family:var(--font-mono);justify-content:center;align-items:center;font-size:.76rem;display:flex}.problem-edit-distance-visual__corner,.problem-edit-distance-visual__axis{background:var(--card-bg);color:var(--color-text-secondary);font-weight:700}.problem-edit-distance-visual__cell{background:var(--visual-container-bg);color:var(--color-text-primary)}.problem-edit-distance-visual__cell--active{background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-edit-distance-visual__legend,.problem-course-schedule-ii-visual__queue,.problem-redundant-connection-visual__rule{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.problem-edit-distance-visual__legend span,.problem-course-schedule-ii-visual__queue span,.problem-course-schedule-ii-visual__queue strong,.problem-redundant-connection-visual__rule strong,.problem-redundant-connection-visual__rule i{border:1px solid var(--visual-container-border);background:var(--card-bg);min-height:28px;color:var(--color-text-tertiary);border-radius:5px;justify-content:center;align-items:center;gap:5px;padding:4px 8px;font-size:.74rem;display:inline-flex}.problem-course-schedule-ii-visual__queue strong,.problem-redundant-connection-visual__rule strong{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-family:var(--font-mono)}.problem-distinct-subsequences-visual__source,.problem-distinct-subsequences-visual__branches,.problem-distinct-subsequences-visual__count{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.problem-distinct-subsequences-visual__label,.problem-distinct-subsequences-visual__branch,.problem-distinct-subsequences-visual__count span,.problem-distinct-subsequences-visual__count strong{border:1px solid var(--visual-container-border);background:var(--card-bg);min-height:32px;color:var(--color-text-tertiary);border-radius:5px;align-items:center;gap:5px;padding:5px 9px;font-size:.76rem;display:inline-flex}.problem-distinct-subsequences-visual__letter{border:1px solid var(--visual-node-border);background:var(--card-bg);width:34px;height:34px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.problem-distinct-subsequences-visual__letter--active,.problem-distinct-subsequences-visual__branch--take,.problem-distinct-subsequences-visual__count strong{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-distinct-subsequences-visual__branch--skip{border-style:dashed}.problem-distinct-subsequences-visual__count strong{font-family:var(--font-mono)}.problem-course-schedule-ii-visual__graph,.problem-evaluate-division-visual__path,.problem-evaluate-division-visual__result,.problem-evaluate-division-visual__reverse{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.problem-course-schedule-ii-visual__node,.problem-evaluate-division-visual__node{border:1px solid var(--visual-node-border);background:var(--card-bg);min-width:58px;min-height:42px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:7px;flex-direction:column;justify-content:center;align-items:center;padding:5px 8px;font-weight:800;display:inline-flex}.problem-course-schedule-ii-visual__node span{color:var(--color-text-tertiary);font-family:var(--font-sans);margin-top:3px;font-size:.65rem;font-weight:500}.problem-course-schedule-ii-visual__node--done,.problem-evaluate-division-visual__node--target{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text)}.problem-course-schedule-ii-visual__arrow,.problem-evaluate-division-visual__edge{color:var(--accent);font-family:var(--font-mono);font-size:.78rem;font-weight:800}.problem-evaluate-division-visual__edge{border:1px dashed var(--visual-node-border);border-radius:5px;padding:4px 6px}.problem-evaluate-division-visual__result,.problem-evaluate-division-visual__reverse{color:var(--color-text-secondary);font-size:.78rem}.problem-evaluate-division-visual__result strong,.problem-evaluate-division-visual__reverse strong{border:1px solid var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-family:var(--font-mono);border-radius:5px;padding:5px 9px}.problem-redundant-connection-visual__steps{grid-template-columns:repeat(3,minmax(130px,1fr));gap:8px;min-width:410px;display:grid}.problem-redundant-connection-visual__step{border:1px solid var(--visual-node-border);background:var(--card-bg);border-radius:7px;flex-direction:column;align-items:center;gap:7px;padding:9px;display:flex}.problem-redundant-connection-visual__edge-label,.problem-redundant-connection-visual__component{color:var(--color-text-primary);font-family:var(--font-mono);text-align:center;font-size:.76rem}.problem-redundant-connection-visual__edge-label{color:var(--accent);font-weight:800}.problem-redundant-connection-visual__step--cycle{border-color:var(--highlight-error-border);background:var(--highlight-error-bg)}.problem-redundant-connection-visual__step--cycle .problem-redundant-connection-visual__component{color:var(--highlight-error-text);font-weight:800}.problem-accounts-merge-visual,.problem-pacific-atlantic-water-flow-visual,.problem-network-delay-time-visual,.problem-min-cost-to-connect-all-points-visual,.problem-gas-station-visual,.problem-hand-of-straights-visual,.problem-candy-visual,.problem-non-overlapping-intervals-visual,.problem-minimum-number-of-arrows-to-burst-balloons-visual,.problem-find-all-anagrams-in-a-string-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);min-width:0;color:var(--color-text-primary);border-radius:10px;flex-direction:column;gap:12px;margin-top:16px;padding:16px;display:flex;overflow-x:auto}.problem-accounts-merge-visual__caption,.problem-pacific-atlantic-water-flow-visual__caption,.problem-network-delay-time-visual__caption,.problem-min-cost-to-connect-all-points-visual__caption,.problem-gas-station-visual__caption,.problem-hand-of-straights-visual__caption,.problem-candy-visual__caption,.problem-non-overlapping-intervals-visual__caption,.problem-minimum-number-of-arrows-to-burst-balloons-visual__caption,.problem-find-all-anagrams-in-a-string-visual__caption{color:var(--color-text-secondary);font-size:.84rem;line-height:1.55}.problem-accounts-merge-visual__accounts,.problem-accounts-merge-visual__result,.problem-pacific-atlantic-water-flow-visual__legend,.problem-network-delay-time-visual__nodes,.problem-network-delay-time-visual__heap,.problem-min-cost-to-connect-all-points-visual__points,.problem-min-cost-to-connect-all-points-visual__state,.problem-gas-station-visual__stations,.problem-gas-station-visual__rule,.problem-hand-of-straights-visual__cards,.problem-candy-visual__ratings,.problem-candy-visual__sweeps,.problem-non-overlapping-intervals-visual__timeline,.problem-non-overlapping-intervals-visual__rule,.problem-minimum-number-of-arrows-to-burst-balloons-visual__intervals,.problem-minimum-number-of-arrows-to-burst-balloons-visual__rule,.problem-find-all-anagrams-in-a-string-visual__pattern,.problem-find-all-anagrams-in-a-string-visual__window{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.problem-accounts-merge-visual__account,.problem-accounts-merge-visual__email,.problem-accounts-merge-visual__shared,.problem-accounts-merge-visual__result span,.problem-accounts-merge-visual__result strong,.problem-pacific-atlantic-water-flow-visual__legend span,.problem-pacific-atlantic-water-flow-visual__legend strong,.problem-network-delay-time-visual__heap span,.problem-network-delay-time-visual__heap strong,.problem-min-cost-to-connect-all-points-visual__state span,.problem-min-cost-to-connect-all-points-visual__state strong,.problem-gas-station-visual__station,.problem-gas-station-visual__gain,.problem-gas-station-visual__rule strong,.problem-hand-of-straights-visual__card,.problem-hand-of-straights-visual__complete,.problem-candy-visual__sweeps span,.problem-candy-visual__sweeps strong,.problem-non-overlapping-intervals-visual__interval,.problem-non-overlapping-intervals-visual__marker,.problem-non-overlapping-intervals-visual__rule strong,.problem-minimum-number-of-arrows-to-burst-balloons-visual__interval,.problem-minimum-number-of-arrows-to-burst-balloons-visual__arrow,.problem-minimum-number-of-arrows-to-burst-balloons-visual__rule strong,.problem-find-all-anagrams-in-a-string-visual__pattern span,.problem-find-all-anagrams-in-a-string-visual__pattern strong,.problem-find-all-anagrams-in-a-string-visual__char,.problem-find-all-anagrams-in-a-string-visual__window-label{border:1px solid var(--visual-container-border);background:var(--card-bg);min-height:32px;color:var(--color-text-tertiary);font-family:var(--font-mono);text-align:center;border-radius:5px;justify-content:center;align-items:center;padding:5px 9px;font-size:.74rem;display:inline-flex}.problem-accounts-merge-visual__account,.problem-accounts-merge-visual__shared,.problem-hand-of-straights-visual__card--anchor,.problem-hand-of-straights-visual__complete,.problem-gas-station-visual__station--candidate,.problem-candy-visual__sweeps strong,.problem-non-overlapping-intervals-visual__interval--keep,.problem-minimum-number-of-arrows-to-burst-balloons-visual__interval--active,.problem-find-all-anagrams-in-a-string-visual__pattern strong,.problem-find-all-anagrams-in-a-string-visual__char--active,.problem-find-all-anagrams-in-a-string-visual__window-label{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-accounts-merge-visual__shared,.problem-hand-of-straights-visual__card,.problem-gas-station-visual__gain,.problem-candy-visual__rating,.problem-non-overlapping-intervals-visual__interval,.problem-minimum-number-of-arrows-to-burst-balloons-visual__interval,.problem-find-all-anagrams-in-a-string-visual__char{min-width:48px}.problem-accounts-merge-visual__email,.problem-accounts-merge-visual__shared{overflow-wrap:anywhere}.problem-accounts-merge-visual__result span,.problem-accounts-merge-visual__result strong,.problem-gas-station-visual__rule strong,.problem-non-overlapping-intervals-visual__rule strong,.problem-minimum-number-of-arrows-to-burst-balloons-visual__rule strong,.problem-find-all-anagrams-in-a-string-visual__window-label{font-family:var(--font-sans)}.problem-accounts-merge-visual__result i,.problem-gas-station-visual__rule i,.problem-non-overlapping-intervals-visual__rule i,.problem-minimum-number-of-arrows-to-burst-balloons-visual__rule i{color:var(--accent)}.problem-pacific-atlantic-water-flow-visual__grid{border-top:1px solid var(--visual-node-border);border-left:1px solid var(--visual-node-border);grid-template-columns:repeat(4,minmax(42px,1fr));width:min(100%,300px);margin:0 auto;display:grid}.problem-pacific-atlantic-water-flow-visual__ocean,.problem-pacific-atlantic-water-flow-visual__cell{border-right:1px solid var(--visual-node-border);border-bottom:1px solid var(--visual-node-border);background:var(--card-bg);min-height:42px;color:var(--color-text-primary);font-family:var(--font-mono);justify-content:center;align-items:center;font-size:.78rem;font-weight:700;display:flex}.problem-pacific-atlantic-water-flow-visual__ocean{color:var(--accent);font-weight:800}.problem-pacific-atlantic-water-flow-visual__cell--both,.problem-network-delay-time-visual__node--settled,.problem-min-cost-to-connect-all-points-visual__point--tree,.problem-min-cost-to-connect-all-points-visual__point--next{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-pacific-atlantic-water-flow-visual__cell--rise,.problem-hand-of-straights-visual__card,.problem-gas-station-visual__gain,.problem-non-overlapping-intervals-visual__interval,.problem-minimum-number-of-arrows-to-burst-balloons-visual__interval,.problem-find-all-anagrams-in-a-string-visual__char{border-style:dashed}.problem-network-delay-time-visual__node,.problem-min-cost-to-connect-all-points-visual__point{border:1px solid var(--visual-node-border);background:var(--card-bg);min-width:60px;min-height:44px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:7px;flex-direction:column;justify-content:center;align-items:center;padding:5px 8px;font-weight:800;display:inline-flex}.problem-network-delay-time-visual__node strong{color:var(--color-text-tertiary);margin-top:3px;font-size:.68rem;font-weight:500}.problem-network-delay-time-visual__edge,.problem-min-cost-to-connect-all-points-visual__line,.problem-hand-of-straights-visual__arrow{color:var(--accent);font-family:var(--font-mono);font-size:.74rem;font-weight:800}.problem-network-delay-time-visual__edge,.problem-min-cost-to-connect-all-points-visual__line{border:1px dashed var(--visual-node-border);border-radius:5px;padding:4px 7px}.problem-gas-station-visual__station--failed,.problem-non-overlapping-intervals-visual__interval--remove{border-color:var(--highlight-error-border);background:var(--highlight-error-bg);color:var(--highlight-error-text);font-weight:800}.problem-candy-visual__rating{border:1px solid var(--visual-node-border);background:var(--card-bg);width:38px;height:38px;color:var(--color-text-primary);font-family:var(--font-mono);border-radius:6px;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.problem-candy-visual__rating--peak{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text)}.problem-non-overlapping-intervals-visual__timeline{align-content:center;min-height:88px}.problem-minimum-number-of-arrows-to-burst-balloons-visual__arrow{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-family:var(--font-sans);font-weight:800}.problem-letter-combinations-of-a-phone-number-visual,.problem-palindrome-partitioning-visual,.problem-decode-string-visual,.problem-basic-calculator-ii-visual,.problem-interleaving-string-visual{border:1px solid var(--visual-container-border);background:var(--visual-container-bg);min-width:0;color:var(--color-text-primary);border-radius:10px;flex-direction:column;gap:12px;margin-top:16px;padding:16px;display:flex;overflow-x:auto}.problem-letter-combinations-of-a-phone-number-visual__caption,.problem-palindrome-partitioning-visual__caption,.problem-decode-string-visual__caption,.problem-basic-calculator-ii-visual__caption,.problem-interleaving-string-visual__caption{color:var(--color-text-secondary);font-size:.84rem;line-height:1.55}.problem-letter-combinations-of-a-phone-number-visual__levels,.problem-letter-combinations-of-a-phone-number-visual__leaves,.problem-palindrome-partitioning-visual__string,.problem-palindrome-partitioning-visual__choices,.problem-decode-string-visual__frames,.problem-basic-calculator-ii-visual__expression{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.problem-letter-combinations-of-a-phone-number-visual__prefix,.problem-letter-combinations-of-a-phone-number-visual__branch,.problem-letter-combinations-of-a-phone-number-visual__leaves strong,.problem-palindrome-partitioning-visual__string span,.problem-palindrome-partitioning-visual__choices strong,.problem-palindrome-partitioning-visual__choices span,.problem-decode-string-visual__frame,.problem-decode-string-visual__result,.problem-basic-calculator-ii-visual__expression span,.problem-basic-calculator-ii-visual__expression strong{border:1px solid var(--visual-container-border);background:var(--card-bg);min-height:32px;color:var(--color-text-tertiary);font-family:var(--font-mono);text-align:center;border-radius:5px;justify-content:center;align-items:center;padding:5px 9px;font-size:.74rem;display:inline-flex}.problem-letter-combinations-of-a-phone-number-visual__leaves strong,.problem-palindrome-partitioning-visual__choices strong,.problem-decode-string-visual__frame--active,.problem-decode-string-visual__result,.problem-basic-calculator-ii-visual__term,.problem-basic-calculator-ii-visual__expression strong,.problem-interleaving-string-visual__cell--active{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text);font-weight:800}.problem-palindrome-partitioning-visual__string span,.problem-letter-combinations-of-a-phone-number-visual__leaves strong{min-width:34px}.problem-palindrome-partitioning-visual__string .problem-palindrome-partitioning-visual__char--active{border-color:var(--accent);color:var(--accent);font-weight:800}.problem-palindrome-partitioning-visual__choices span{border-style:dashed}.problem-basic-calculator-ii-visual__expression>span{font-family:var(--font-mono);background:0 0;border:0;font-size:.9rem;font-weight:800}.problem-basic-calculator-ii-visual__expression .problem-basic-calculator-ii-visual__term{border-color:var(--highlight-success-border);background:var(--highlight-success-bg);color:var(--highlight-success-text)}.problem-interleaving-string-visual__grid{border-top:1px solid var(--visual-node-border);border-left:1px solid var(--visual-node-border);grid-template-columns:58px repeat(3,minmax(70px,1fr));width:min(100%,390px);margin:0 auto;display:grid}.problem-interleaving-string-visual__corner,.problem-interleaving-string-visual__axis,.problem-interleaving-string-visual__cell{border-right:1px solid var(--visual-node-border);border-bottom:1px solid var(--visual-node-border);background:var(--card-bg);min-height:42px;color:var(--color-text-primary);font-family:var(--font-mono);text-align:center;justify-content:center;align-items:center;padding:4px;font-size:.7rem;display:flex}.problem-interleaving-string-visual__corner,.problem-interleaving-string-visual__axis{color:var(--color-text-secondary);font-weight:800}.problem-interleaving-string-visual__cell{background:var(--visual-container-bg)}.problem-reconstruct-itinerary-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-reconstruct-itinerary-visual__title,.problem-reconstruct-itinerary-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-reconstruct-itinerary-visual__route,.problem-reconstruct-itinerary-visual__legend{flex-wrap:wrap;justify-content:center;align-items:center;gap:.55rem;margin-top:1rem;display:flex}.problem-reconstruct-itinerary-visual__airport,.problem-reconstruct-itinerary-visual__ticket{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:8px;padding:.45rem .65rem;font-size:.82rem;font-weight:800}.problem-reconstruct-itinerary-visual__arrow{color:var(--color-text-secondary);font-weight:800}.problem-reconstruct-itinerary-visual__ticket{color:var(--color-text-secondary);font-size:.75rem}.problem-find-median-from-two-arrays-follow-up-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-find-median-from-two-arrays-follow-up-visual__title,.problem-find-median-from-two-arrays-follow-up-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-find-median-from-two-arrays-follow-up-visual__array{flex-wrap:wrap;justify-content:center;align-items:center;gap:.35rem;margin-top:.8rem;display:flex;overflow-x:auto}.problem-find-median-from-two-arrays-follow-up-visual__label{min-width:1.5rem;color:var(--color-text-secondary);font-family:var(--font-mono);font-weight:800}.problem-find-median-from-two-arrays-follow-up-visual__value,.problem-find-median-from-two-arrays-follow-up-visual__cut{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:7px;padding:.45rem .65rem;font-size:.82rem;font-weight:800}.problem-find-median-from-two-arrays-follow-up-visual__cut{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-find-median-from-two-arrays-follow-up-visual__caption{font-family:var(--font-mono);margin-top:.9rem;font-size:.75rem}.problem-n-queens-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-n-queens-visual__title,.problem-n-queens-visual__legend{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-n-queens-visual__board{grid-template-columns:repeat(4,minmax(2rem,3.2rem));justify-content:center;margin:1rem auto;display:grid}.problem-n-queens-visual__cell,.problem-n-queens-visual__key{border:1px solid var(--visual-node-border);background:var(--card-bg);min-height:2.5rem;color:var(--color-text-secondary);font-family:var(--font-mono);place-items:center;font-weight:800;display:grid}.problem-n-queens-visual__cell--queen,.problem-n-queens-visual__key--queen{background:var(--color-accent-primary);color:var(--color-text-inverse)}.problem-n-queens-visual__cell--blocked,.problem-n-queens-visual__key--blocked{background:var(--visual-container-bg);color:var(--color-text-secondary)}.problem-n-queens-visual__key{vertical-align:middle;min-width:1.5rem;min-height:1.5rem;margin:0 .25rem;display:inline-grid}.problem-word-search-ii-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-word-search-ii-visual__title{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-word-search-ii-visual__trie,.problem-word-search-ii-visual__board{flex-wrap:wrap;justify-content:center;align-items:center;gap:.45rem;margin-top:1rem;display:flex}.problem-word-search-ii-visual__trie-node,.problem-word-search-ii-visual__cell{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:7px;padding:.45rem .65rem;font-size:.82rem;font-weight:800}.problem-word-search-ii-visual__trie-node--word,.problem-word-search-ii-visual__cell--active{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-word-search-ii-visual__branch{color:var(--color-text-secondary);font-weight:800}.problem-word-search-ii-visual__board{grid-template-columns:repeat(3,minmax(2.2rem,3.5rem));display:grid}.problem-longest-valid-parentheses-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-longest-valid-parentheses-visual__title,.problem-longest-valid-parentheses-visual__range{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-longest-valid-parentheses-visual__indices,.problem-longest-valid-parentheses-visual__symbols{grid-template-columns:repeat(5,minmax(2rem,3rem));justify-content:center;margin-top:.8rem;display:grid}.problem-longest-valid-parentheses-visual__index,.problem-longest-valid-parentheses-visual__symbol{border:1px solid var(--visual-node-border);background:var(--card-bg);color:var(--color-text-secondary);font-family:var(--font-mono);text-align:center;padding:.45rem;font-size:.82rem;font-weight:800}.problem-longest-valid-parentheses-visual__symbol--boundary{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-longest-valid-parentheses-visual__range{font-family:var(--font-mono);margin-top:.9rem;font-size:.75rem}.problem-sliding-window-maximum-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-sliding-window-maximum-visual__title,.problem-sliding-window-maximum-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-sliding-window-maximum-visual__window,.problem-sliding-window-maximum-visual__deque{flex-wrap:wrap;justify-content:center;align-items:center;gap:.45rem;margin-top:1rem;display:flex}.problem-sliding-window-maximum-visual__value,.problem-sliding-window-maximum-visual__deque{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:7px;padding:.45rem .65rem;font-size:.82rem;font-weight:800}.problem-sliding-window-maximum-visual__value--front,.problem-sliding-window-maximum-visual__value--new{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-sliding-window-maximum-visual__caption{margin-top:.9rem;font-size:.78rem}.problem-largest-rectangle-in-histogram-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-largest-rectangle-in-histogram-visual__title,.problem-largest-rectangle-in-histogram-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-largest-rectangle-in-histogram-visual__bars{border-bottom:2px solid var(--visual-node-border);justify-content:center;align-items:end;gap:.35rem;min-height:6rem;margin-top:1rem;display:flex}.problem-largest-rectangle-in-histogram-visual__bar{border:1px solid var(--visual-node-border);background:var(--color-accent-primary);width:clamp(1.5rem,9vw,3rem)}.problem-largest-rectangle-in-histogram-visual__bar--short{background:var(--card-bg)}.problem-largest-rectangle-in-histogram-visual__bar--active{outline:2px solid var(--color-accent-primary);outline-offset:2px}.problem-largest-rectangle-in-histogram-visual__bar--h2{height:2rem}.problem-largest-rectangle-in-histogram-visual__bar--h3{height:3rem}.problem-largest-rectangle-in-histogram-visual__bar--h4{height:4rem}.problem-largest-rectangle-in-histogram-visual__bar--h5{height:5rem}.problem-largest-rectangle-in-histogram-visual__caption{margin-top:.9rem;font-size:.78rem}.problem-maximal-rectangle-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-maximal-rectangle-visual__title,.problem-maximal-rectangle-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-maximal-rectangle-visual__matrix,.problem-maximal-rectangle-visual__heights{grid-template-columns:repeat(6,minmax(1.8rem,3rem));justify-content:center;gap:.25rem;margin-top:1rem;display:grid}.problem-maximal-rectangle-visual__matrix span,.problem-maximal-rectangle-visual__heights span{border:1px solid var(--visual-node-border);background:var(--card-bg);color:var(--color-text-primary);font-family:var(--font-mono);text-align:center;padding:.45rem;font-size:.8rem;font-weight:800}.problem-maximal-rectangle-visual__arrow{color:var(--color-text-secondary);text-align:center;margin:.7rem 0;font-size:.8rem;font-weight:800}.problem-maximal-rectangle-visual__caption{margin-top:.9rem;font-size:.78rem}.problem-best-time-to-buy-and-sell-stock-with-cooldown-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.55rem;margin:1.5rem 0;padding:1rem;display:flex}.problem-best-time-to-buy-and-sell-stock-with-cooldown-visual__state{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:8px;padding:.5rem .7rem;font-size:.78rem;font-weight:800}.problem-best-time-to-buy-and-sell-stock-with-cooldown-visual__state--sold{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-best-time-to-buy-and-sell-stock-with-cooldown-visual__arrow{color:var(--color-text-secondary);font-weight:800}.problem-best-time-to-buy-and-sell-stock-with-cooldown-visual__caption{color:var(--color-text-secondary);text-align:center;flex-basis:100%;font-size:.78rem;font-weight:700}.problem-minimum-path-sum-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-minimum-path-sum-visual__grid{grid-template-columns:repeat(3,minmax(2.2rem,3.5rem));justify-content:center;gap:.25rem;display:grid}.problem-minimum-path-sum-visual__grid span{border:1px solid var(--visual-node-border);background:var(--card-bg);color:var(--color-text-primary);font-family:var(--font-mono);text-align:center;padding:.55rem;font-size:.85rem;font-weight:800}.problem-minimum-path-sum-visual__caption{color:var(--color-text-secondary);text-align:center;margin-top:.9rem;font-size:.78rem;font-weight:700}.problem-surrounded-regions-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-surrounded-regions-visual__title,.problem-surrounded-regions-visual__legend{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-surrounded-regions-visual__grid{grid-template-columns:repeat(4,minmax(2rem,3rem));justify-content:center;gap:.25rem;margin:1rem auto;display:grid}.problem-surrounded-regions-visual__cell,.problem-surrounded-regions-visual__key{border:1px solid var(--visual-node-border);background:var(--card-bg);min-height:2rem;color:var(--color-text-secondary);font-family:var(--font-mono);place-items:center;font-size:.8rem;font-weight:800;display:grid}.problem-surrounded-regions-visual__cell--safe,.problem-surrounded-regions-visual__key--safe{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-surrounded-regions-visual__cell--captured,.problem-surrounded-regions-visual__key--captured{background:var(--visual-container-bg);text-decoration:line-through}.problem-surrounded-regions-visual__key{vertical-align:middle;min-width:4rem;min-height:1.5rem;margin:0 .25rem;display:inline-grid}.problem-minimum-height-trees-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-minimum-height-trees-visual__title,.problem-minimum-height-trees-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-minimum-height-trees-visual__layers{flex-wrap:wrap;justify-content:center;align-items:center;gap:.55rem;margin-top:1rem;display:flex}.problem-minimum-height-trees-visual__leaf,.problem-minimum-height-trees-visual__center{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:8px;padding:.5rem .7rem;font-size:.78rem;font-weight:800}.problem-minimum-height-trees-visual__center{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-minimum-height-trees-visual__arrow{color:var(--color-text-secondary);font-weight:800}.problem-minimum-height-trees-visual__caption{margin-top:.9rem;font-size:.78rem}.problem-critical-connections-in-a-network-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-critical-connections-in-a-network-visual__title,.problem-critical-connections-in-a-network-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-critical-connections-in-a-network-visual__graph{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;margin-top:1rem;display:flex}.problem-critical-connections-in-a-network-visual__node,.problem-critical-connections-in-a-network-visual__edge{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:7px;padding:.45rem .6rem;font-size:.75rem;font-weight:800}.problem-critical-connections-in-a-network-visual__node--low,.problem-critical-connections-in-a-network-visual__edge--bridge{border-color:var(--color-accent-primary);color:var(--color-accent-primary)}.problem-critical-connections-in-a-network-visual__caption{font-family:var(--font-mono);margin-top:.9rem;font-size:.75rem}.problem-cheapest-flights-within-k-stops-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-cheapest-flights-within-k-stops-visual__title,.problem-cheapest-flights-within-k-stops-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-cheapest-flights-within-k-stops-visual__layers{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;margin-top:1rem;display:flex}.problem-cheapest-flights-within-k-stops-visual__city{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:8px;padding:.5rem .65rem;font-size:.78rem;font-weight:800}.problem-cheapest-flights-within-k-stops-visual__arrow{color:var(--color-text-secondary);font-weight:800}.problem-cheapest-flights-within-k-stops-visual__caption{margin-top:.9rem;font-size:.78rem}.problem-swim-in-rising-water-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:12px;margin:1.5rem 0;padding:1rem}.problem-swim-in-rising-water-visual__title,.problem-swim-in-rising-water-visual__caption{color:var(--color-text-secondary);text-align:center;font-size:.9rem;font-weight:700}.problem-swim-in-rising-water-visual__grid{grid-template-columns:repeat(3,minmax(2.2rem,3.5rem));justify-content:center;gap:.25rem;margin-top:1rem;display:grid}.problem-swim-in-rising-water-visual__grid span{border:1px solid var(--visual-node-border);background:var(--card-bg);color:var(--color-text-primary);font-family:var(--font-mono);text-align:center;padding:.5rem;font-size:.8rem;font-weight:800}.problem-swim-in-rising-water-visual__cell--path{border-color:var(--color-accent-primary)!important;color:var(--color-accent-primary)!important}.problem-swim-in-rising-water-visual__caption{margin-top:.9rem;font-size:.78rem}.problem-linked-list-cycle-ii-visual,.problem-reverse-nodes-in-k-group-visual,.problem-lfu-cache-visual,.problem-all-oone-data-structure-visual,.problem-maximum-frequency-stack-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:.85rem;margin:1.5rem 0;padding:1.1rem}.problem-linked-list-cycle-ii-visual__title,.problem-reverse-nodes-in-k-group-visual__title,.problem-lfu-cache-visual__title,.problem-all-oone-data-structure-visual__title,.problem-maximum-frequency-stack-visual__title{color:var(--color-text-primary);margin-bottom:.9rem;font-weight:700}.problem-linked-list-cycle-ii-visual__track,.problem-reverse-nodes-in-k-group-visual__groups,.problem-reverse-nodes-in-k-group-visual__result,.problem-lfu-cache-visual__buckets,.problem-all-oone-data-structure-visual__chain,.problem-maximum-frequency-stack-visual__stacks,.problem-linked-list-cycle-ii-visual__legend{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.problem-linked-list-cycle-ii-visual__track b,.problem-reverse-nodes-in-k-group-visual__groups span,.problem-lfu-cache-visual__bucket span,.problem-all-oone-data-structure-visual__chain div span,.problem-maximum-frequency-stack-visual__stacks span{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:.4rem;padding:.36rem .56rem;font-style:normal}.problem-linked-list-cycle-ii-visual__track i,.problem-reverse-nodes-in-k-group-visual__groups i,.problem-all-oone-data-structure-visual__chain>i{background:var(--color-text-secondary);width:1.4rem;height:1px;position:relative}.problem-linked-list-cycle-ii-visual__track i:after,.problem-reverse-nodes-in-k-group-visual__groups i:after,.problem-all-oone-data-structure-visual__chain>i:after{content:"";border-style:solid;border-width:3px 0 3px 5px;border-color:transparent transparent transparent var(--color-text-secondary);position:absolute;top:-3px;right:0}.problem-linked-list-cycle-ii-visual__track>span,.problem-linked-list-cycle-ii-visual__track em,.problem-linked-list-cycle-ii-visual__legend,.problem-linked-list-cycle-ii-visual__legend strong,.problem-reverse-nodes-in-k-group-visual__groups small,.problem-lfu-cache-visual__caption,.problem-all-oone-data-structure-visual__caption,.problem-maximum-frequency-stack-visual__caption{color:var(--color-text-secondary)}.problem-linked-list-cycle-ii-visual__entry,.problem-lfu-cache-visual__bucket--min,.problem-maximum-frequency-stack-visual__top{box-shadow:0 0 0 1px color-mix(in srgb, var(--color-accent-primary) 25%, transparent);border-color:var(--color-accent-primary)!important}.problem-linked-list-cycle-ii-visual__loop-arrow{border-top:1px solid var(--color-accent-primary);border-radius:50%;background:0 0!important;width:2.4rem!important}.problem-linked-list-cycle-ii-visual__legend span{font-size:.84rem}.problem-reverse-nodes-in-k-group-visual__groups>div{border:1px dashed var(--visual-node-border);border-radius:.55rem;align-items:center;gap:.35rem;padding:.6rem;display:flex}.problem-reverse-nodes-in-k-group-visual__groups small{width:100%;font-size:.75rem;display:block}.problem-reverse-nodes-in-k-group-visual__partial{opacity:.72}.problem-reverse-nodes-in-k-group-visual__result span{background:color-mix(in srgb, var(--color-accent-primary) 12%, transparent);font-family:var(--font-mono);border-radius:.4rem;padding:.35rem .55rem}.problem-lfu-cache-visual__bucket,.problem-maximum-frequency-stack-visual__stacks>div{border:1px solid var(--visual-node-border);background:var(--card-bg);border-radius:.55rem;gap:.42rem;min-width:9.4rem;padding:.65rem;display:grid}.problem-lfu-cache-visual__bucket strong,.problem-maximum-frequency-stack-visual__stacks strong{color:var(--color-accent-primary);font-size:.82rem}.problem-all-oone-data-structure-visual__chain>div{border:1px solid var(--visual-node-border);background:var(--card-bg);border-radius:.55rem;gap:.35rem;min-width:8rem;padding:.6rem;display:grid}.problem-all-oone-data-structure-visual__chain>div strong{color:var(--color-accent-primary);font-size:.82rem}.problem-all-oone-data-structure-visual__sentinel{color:var(--color-text-secondary);font-size:.72rem;font-weight:700}.problem-maximum-frequency-stack-visual__stacks{align-items:end}.problem-maximum-frequency-stack-visual__stacks>div{min-height:6rem}.problem-pow-x-n-visual,.problem-count-of-smaller-numbers-after-self-visual,.problem-wildcard-matching-visual,.problem-russian-doll-envelopes-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:.85rem;margin:1.5rem 0;padding:1.1rem}.problem-pow-x-n-visual__title,.problem-count-of-smaller-numbers-after-self-visual__title,.problem-wildcard-matching-visual__title,.problem-russian-doll-envelopes-visual__title{margin-bottom:.9rem;font-weight:700}.problem-pow-x-n-visual__powers,.problem-wildcard-matching-visual__rows{gap:.45rem;display:grid}.problem-pow-x-n-visual__powers>div,.problem-wildcard-matching-visual__rows>div{grid-template-columns:minmax(6rem,.8fr) repeat(4,minmax(3rem,1fr));align-items:center;gap:.4rem;display:grid}.problem-pow-x-n-visual__powers span,.problem-wildcard-matching-visual__rows span,.problem-count-of-smaller-numbers-after-self-visual__merge span,.problem-russian-doll-envelopes-visual__sequence span{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);text-align:center;border-radius:.4rem;padding:.38rem .5rem}.problem-pow-x-n-visual__chosen,.problem-wildcard-matching-visual__covered,.problem-russian-doll-envelopes-visual__chosen{border-color:var(--color-accent-primary)!important;background:color-mix(in srgb, var(--color-accent-primary) 14%, var(--card-bg))!important}.problem-pow-x-n-visual__caption,.problem-count-of-smaller-numbers-after-self-visual__caption,.problem-wildcard-matching-visual__caption,.problem-russian-doll-envelopes-visual__caption{color:var(--color-text-secondary);margin-top:.8rem;font-size:.88rem}.problem-count-of-smaller-numbers-after-self-visual__merge,.problem-russian-doll-envelopes-visual__sequence{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.problem-count-of-smaller-numbers-after-self-visual__merge>div,.problem-russian-doll-envelopes-visual__sequence>div{border:1px dashed var(--visual-node-border);border-radius:.55rem;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.6rem;display:flex}.problem-count-of-smaller-numbers-after-self-visual__merge strong,.problem-russian-doll-envelopes-visual__sequence strong,.problem-pow-x-n-visual__powers strong,.problem-wildcard-matching-visual__rows strong{color:var(--color-accent-primary);font-size:.82rem}.problem-count-of-smaller-numbers-after-self-visual__result{border-color:var(--color-accent-primary)!important}.problem-binary-tree-right-side-view-visual,.problem-burst-balloons-visual,.problem-house-robber-ii-visual,.problem-longest-increasing-subsequence-visual,.problem-path-sum-iii-visual{border:1px solid var(--visual-node-border);background:var(--visual-container-bg);color:var(--color-text-primary);border-radius:.85rem;gap:.65rem;margin:1.25rem 0 0;padding:1rem;display:grid}.problem-binary-tree-right-side-view-visual__title,.problem-burst-balloons-visual__title,.problem-house-robber-ii-visual__title,.problem-longest-increasing-subsequence-visual__title,.problem-path-sum-iii-visual__title{font-weight:700}.problem-binary-tree-right-side-view-visual__level,.problem-house-robber-ii-visual__case,.problem-longest-increasing-subsequence-visual__row,.problem-path-sum-iii-visual__equation,.problem-burst-balloons-visual__interval{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.problem-binary-tree-right-side-view-visual__level strong,.problem-house-robber-ii-visual__case strong,.problem-longest-increasing-subsequence-visual__row strong{min-width:5.5rem;color:var(--color-text-secondary);font-size:.82rem}.problem-binary-tree-right-side-view-visual__level span,.problem-house-robber-ii-visual__case span,.problem-longest-increasing-subsequence-visual__row span,.problem-path-sum-iii-visual__equation span,.problem-burst-balloons-visual__interval span,.problem-burst-balloons-visual__interval strong{border:1px solid var(--visual-node-border);background:var(--card-bg);font-family:var(--font-mono);border-radius:.45rem;padding:.4rem .55rem}.problem-binary-tree-right-side-view-visual__visible,.problem-longest-increasing-subsequence-visual__replaced,.problem-path-sum-iii-visual__equation strong,.problem-burst-balloons-visual__interval strong{color:var(--color-accent-primary);border-color:var(--color-accent-primary)!important}.problem-burst-balloons-visual__caption{color:var(--color-text-secondary);font-size:.88rem}@media (max-width:640px){.problem-pow-x-n-visual__powers>div,.problem-wildcard-matching-visual__rows>div{grid-template-columns:1fr 1fr}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--scroll-track)}::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover)}
