body[a=dark]{filter:invert(1)}body[a=dark] img{filter:invert(1)}body[a=dark] img.ioda{filter:invert(0)}body[a=dark] iframe{filter:invert(1)}@media(prefers-color-scheme: dark){body[a=auto]{filter:invert(1)}body[a=auto] img{filter:invert(1)}body[a=auto] img.ioda{filter:invert(0)}body[a=auto] iframe{filter:invert(1)}}html,body{background:#fff}html{height:100%;scroll-behavior:smooth}body{color:#000;font-family:monospace;font-size:16px;line-height:1.45;margin:0;min-height:100%;overflow-wrap:break-word}h2,h3,h4,h5,h6{margin-top:2.5rem}p{margin:1rem 0}li{margin:.4rem 0}*:target{background:#ff0}.w{max-width:860px;margin:0 auto;padding:2rem}table,th,td{border:thin solid #000;border-collapse:collapse;padding:.4rem}code{color:#fff;background:#000}blockquote{font-style:italic;border:thin solid #000;padding:1rem}blockquote p{margin:0}img{max-width:100%;display:block;margin:0 auto}.site-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:2rem}.site-nav__links{display:flex;flex-wrap:wrap;gap:.75rem}.site-nav__link,.link-button,.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:2.5rem;padding:.45rem .85rem;border:1px solid currentColor;background:#fff;color:inherit;text-decoration:none;font:inherit;cursor:pointer}.icon-button{min-width:2.5rem;min-height:2.5rem;padding:.45rem;line-height:0}.icon-button .icon{width:1.35rem;height:1.35rem}.site-nav__link-icon{font-size:1.35rem}.icon{display:inline-block;width:1em;height:1em;flex:0 0 auto;fill:currentColor}.theme-toggle__icon{font-size:1.35rem}.site-nav .theme-toggle{min-width:3.5rem;min-height:3.5rem}.site-nav [data-back-button]{min-width:3.5rem;box-sizing:border-box}.site-nav__link:hover,.link-button:hover,.theme-toggle:hover{background:#000;color:#fff}.page-header{display:grid;gap:.5rem;margin-bottom:2rem}.page-header p{max-width:60ch}.card-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit, minmax(260px, 1fr))}.content-card{display:grid;gap:.8rem;padding:1rem;border:1px solid currentColor;background:rgba(0,0,0,.02)}.content-card h3{margin:0}.content-card p{margin:0}.content-card__meta{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.post-meta{text-align:right}.site-body.page-wide .w{max-width:none;width:100%;padding-left:clamp(1rem,2vw,2rem);padding-right:clamp(1rem,2vw,2rem);box-sizing:border-box}.code-shell__actions{display:flex;flex-wrap:wrap;gap:.5rem}.highlight,.highlighter-rouge{margin:1rem 0}.highlight{position:relative;border:1px solid currentColor;background:#f8f8f8}.code-copy-button{position:absolute;top:.75rem;right:.75rem;z-index:1}.code-enhanced{position:relative}.highlight pre,.code-enhanced pre{margin:0}.highlight pre{padding:1rem;overflow-x:auto}.highlight code{background:rgba(0,0,0,0);color:inherit}.highlight .c,.highlight .c1,.highlight .cm,.highlight .cp{color:#6a737d}.highlight .k,.highlight .kd,.highlight .kn,.highlight .kp,.highlight .kr{color:#d73a49}.highlight .kt,.highlight .nc,.highlight .nd{color:#6f42c1}.highlight .nf,.highlight .fm{color:#005cc5}.highlight .s,.highlight .sa,.highlight .sb,.highlight .sc,.highlight .dl,.highlight .sd,.highlight .s2,.highlight .sh,.highlight .si,.highlight .sr,.highlight .ss{color:#032f62}.highlight .m,.highlight .mb,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .il{color:#005cc5}.highlight .o,.highlight .ow{color:#d73a49}.highlight .p{color:inherit}.highlight .na,.highlight .nb,.highlight .bp,.highlight .nv{color:#24292e}.math-block{overflow-x:auto}.problems-header,.problem-header{display:grid;gap:.5rem;margin-bottom:1rem}.problems-header p{max-width:68ch}.filters{display:grid;gap:1.15rem;margin:1.25rem 0 1.5rem}.filter-group{padding:1.1rem;border:1px solid currentColor;background:rgba(0,0,0,.02)}.filter-group__head{display:flex;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.filter-group__head h2{margin:0;font-size:.95rem;letter-spacing:.04em;text-transform:uppercase}.filter-help{margin:.6rem 0 0;font-size:.92rem;opacity:.75}.control-group{display:grid;gap:.7rem}.control-group__head{display:grid;gap:.25rem}.control-group__head h2,.control-group__head h3{margin:0;font-size:.95rem;letter-spacing:.04em;text-transform:uppercase}.control-group__head p{margin:0;opacity:.75}.control-group__head--inline{margin-bottom:.35rem}.filter-row{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center}.filter-row--search input{min-width:min(100%,18rem);flex:1 1 18rem;padding:.7rem .8rem;border:1px solid currentColor;background:#fff;color:inherit;font:inherit}.filter-button,.filter-chip,.language-tab,.approach-tab,.solution-pill{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:2.5rem;padding:.45rem .85rem;border:1px solid currentColor;background:#fff;color:inherit;font:inherit;text-decoration:none;cursor:pointer}.filter-button:hover,.filter-chip:hover,.language-tab:hover,.approach-tab:hover,.solution-pill:hover{background:#000;color:#fff}.filter-chip.is-active,.language-tab.is-active,.approach-tab.is-active{background:#000;color:#fff}.filter-chip--all{border-width:2px;font-weight:700;background:rgba(0,0,0,.06)}.filter-chip--all.is-active{background:#000;color:#fff}.filter-chips{display:flex;flex-wrap:wrap;gap:.8rem}.filters__summary{margin:0;opacity:.8}.table-wrap{width:100%;overflow-x:auto;border:1px solid currentColor}.problem-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.problem-table th,.problem-table td{padding:.85rem;vertical-align:top;border-bottom:1px solid currentColor}.problem-table th:first-child{width:30%}.problem-table th:nth-child(2){width:25%}.problem-table th:nth-child(n+3){width:calc(45%/var(--language-columns))}.problem-table thead th{position:sticky;top:0;z-index:1;text-align:left;white-space:nowrap;background:#fff}.problem-row>td{background:#fff;transition:background-color 120ms ease}.problem-row--easy>td{background:#f1f9f1}.problem-row--medium>td{background:#fbf4e1}.problem-row--hard>td{background:#f9e8e8}.problem-row--easy:hover>td{background:#e7f3e7}.problem-row--medium:hover>td{background:#f8ebca}.problem-row--hard:hover>td{background:#f4dede}.problem-title__link{color:inherit;font-weight:700;text-decoration:none}.problem-title__link:hover{text-decoration:underline}.problem-title__slug{margin-top:.15rem;opacity:.65;font-size:.88rem}.problem-title{display:grid;gap:.45rem}.badge{display:inline-flex;align-items:center;padding:.25rem .55rem;border:1px solid currentColor;white-space:nowrap}.badge--easy,.badge--medium,.badge--hard{font-weight:700}.badge--easy{background:#e8f4e8}.badge--medium{background:#f7efd8}.badge--hard{background:#f6dfdf}.badge-list,.solution-pills{display:flex;flex-wrap:wrap;gap:.5rem}.badge-list--single-line,.problem-meta--single-line{flex-wrap:nowrap;overflow-x:auto}.badge-list .badge{font-size:.9rem}.solution-pill{min-height:2.5rem;padding:.25rem .5rem;font-size:.88rem;text-transform:lowercase}.solution-pill--icon{min-width:2.5rem;padding:.45rem;line-height:0;box-sizing:border-box}.solution-pill--icon .icon{width:1.35rem;height:1.35rem}.solution-empty{opacity:.55}.problem-page,.problem-embed{display:grid;gap:1rem}.problem-embed--centered{max-width:980px;margin:0 auto}.problem-meta{display:flex;flex-wrap:wrap;gap:.5rem}.problem-viewer{display:grid;gap:1rem}.problem-viewer__frame{display:grid;gap:0;border:1px solid currentColor;background:#fff;overflow:hidden}.language-switcher,.approach-switcher{display:flex;flex-wrap:wrap;gap:.75rem}.code-shell__selector-groups{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.language-panel{display:grid;gap:0}.language-panel[hidden],.code-shell__panel[hidden]{display:none}.code-shell__panel{display:block}.code-shell{display:grid;background:#fff}.code-shell__toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem;border-bottom:1px solid currentColor}.code-shell__toolbar .language-switcher,.code-shell__toolbar .approach-switcher{gap:.5rem}.approach-tab .icon{width:1.35rem;height:1.35rem}.code-shell__action-groups,.code-shell__actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.code-shell__actions .link-button.icon-button{box-sizing:border-box}.code-shell__actions[hidden]{display:none}.code-markdown .highlight{margin:0;background:#f8f8f8}.code-markdown{margin:0}.code-markdown .highlighter-rouge{margin:0}.code-markdown .highlight pre{margin:0;padding:0;overflow-x:auto}.code-markdown .highlight code{background:rgba(0,0,0,0);color:inherit}.code-copy-button{gap:.4rem}.code-markdown .highlight .c,.code-markdown .highlight .c1,.code-markdown .highlight .cm,.code-markdown .highlight .cp{color:#6a737d}.code-markdown .highlight .k,.code-markdown .highlight .kd,.code-markdown .highlight .kn,.code-markdown .highlight .kp,.code-markdown .highlight .kr{color:#d73a49}.code-markdown .highlight .kt,.code-markdown .highlight .nc,.code-markdown .highlight .nd{color:#6f42c1}.code-markdown .highlight .nf,.code-markdown .highlight .fm{color:#005cc5}.code-markdown .highlight .s,.code-markdown .highlight .sa,.code-markdown .highlight .sb,.code-markdown .highlight .sc,.code-markdown .highlight .dl,.code-markdown .highlight .sd,.code-markdown .highlight .s2,.code-markdown .highlight .sh,.code-markdown .highlight .si,.code-markdown .highlight .sr,.code-markdown .highlight .ss{color:#032f62}.code-markdown .highlight .m,.code-markdown .highlight .mb,.code-markdown .highlight .mf,.code-markdown .highlight .mh,.code-markdown .highlight .mi,.code-markdown .highlight .il{color:#005cc5}.code-markdown .highlight .o,.code-markdown .highlight .ow{color:#d73a49}.code-markdown .highlight .p{color:inherit}.code-markdown .highlight .na,.code-markdown .highlight .nb,.code-markdown .highlight .bp,.code-markdown .highlight .nv{color:#24292e}@media(max-width: 768px){.problem-table{min-width:900px}.filter-row--search input{min-width:100%}.code-shell__toolbar{align-items:flex-start}}/*# sourceMappingURL=main.css.map */