.lk{padding:22px 0 40px}
.lk [hidden]{display:none!important}
.lk-wide{width:min(calc(100vw - 48px),1800px);margin-left:calc(50% - min(50vw - 24px,900px))}
.lk-head{margin:0 0 16px}
.lk-crumb{margin:0 0 6px;font-size:13px;color:var(--mut)}
.lk-crumb a{color:var(--mut);text-decoration:none}
.lk-crumb a:hover{color:var(--ink);text-decoration:underline}
.lk-crumb span{margin:0 6px;opacity:.6}
.lk-ht{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.lk-ht h1{font-size:clamp(26px,3.2vw,38px);line-height:1.15;letter-spacing:-.02em;margin:0 6px 0 0}
.lk-chip{display:inline-flex;align-items:center;height:26px;padding:0 11px;border:1px solid var(--line);border-radius:999px;font-size:12.5px;font-weight:650;color:#a5f3fc;background:rgba(34,211,238,.08);white-space:nowrap}
.lk-chip.new{color:#fde68a;background:rgba(250,204,21,.09)}
.lk-lead{margin:8px 0 0;color:var(--mut);font-size:15.5px;max-width:900px}
.lk-langs{display:flex;gap:8px;margin:0 0 14px}
.lk-langs a{padding:6px 14px;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-weight:700;font-size:14px}
.lk-langs a[aria-current]{background:var(--ink);color:var(--bg)}

.lk-grid{display:grid;grid-template-columns:224px minmax(0,1fr);gap:18px;align-items:start}
.lk-main{min-width:0;display:flex;flex-direction:column;gap:16px}
.lk-c{padding:16px 18px;border-radius:14px;background:var(--card);border:1px solid var(--line);min-width:0}
.lk-c h2{font-size:16px;margin:0 0 8px;letter-spacing:-.01em}
.lk-c h3{font-size:15px;margin:0 0 8px}
.lk-c p{margin:0 0 8px;line-height:1.65}
.lk-c p:last-child{margin-bottom:0}
.lk-c code,.lk-c p code,.lk-c li code,.lk-say code,.lk-sub code,.lk-qt code,.lk-op code,.lk-fdesc code,.lk-tbl td code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;padding:1px 5px;border-radius:5px;background:rgba(255,255,255,.08);color:#e9d5ff;word-break:break-word}
.lk-sub{color:var(--mut);font-size:14px}

.lk-toc{position:sticky;top:76px;max-height:calc(100vh - 92px);overflow:auto;padding:12px;border-radius:14px;background:var(--card);border:1px solid var(--line)}
.lk-toc-hub{display:block;padding:8px 10px;border-radius:9px;font-weight:800;text-decoration:none}
.lk-toc-h{margin:12px 10px 4px;font-size:11.5px;font-weight:700;color:var(--mut);letter-spacing:.04em;text-transform:uppercase}
.lk-toc-l{list-style:none;margin:0;padding:0}
.lk-toc-l a,.lk-toc-hub{color:var(--ink)}
.lk-toc-l a{display:flex;gap:9px;align-items:center;padding:7px 10px;border-radius:9px;text-decoration:none;font-size:14.5px}
.lk-toc-l b{display:inline-grid;place-items:center;flex:0 0 22px;height:22px;border-radius:7px;background:rgba(255,255,255,.07);font-size:12px;color:var(--mut)}
.lk-toc-l a:hover,.lk-toc-hub:hover{background:rgba(255,255,255,.07)}
.lk-toc-l a[aria-current],.lk-toc-hub[aria-current]{background:rgba(124,92,255,.22);box-shadow:inset 3px 0 0 var(--a1)}
.lk-toc-l a[aria-current] b{background:var(--a1);color:#fff}

.lk-intro{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.lk-mean p{font-size:16.5px;font-weight:600;line-height:1.6}

.lk-pre{margin:0;padding:10px 0;border-radius:12px;background:#0d1328;border:1px solid rgba(255,255,255,.1);font:13.5px/1.62 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#e6ebff;overflow:auto;position:relative;tab-size:4}
.lk-pre code{display:inline-block;min-width:100%;counter-reset:lkn;font:inherit}
.lk-l{display:block;padding:0 16px 0 54px;position:relative;white-space:pre}
.lk-l::before{counter-increment:lkn;content:counter(lkn);position:absolute;left:0;width:38px;text-align:right;color:#55618a;user-select:none}
.lk-snip{font-size:13px}
.lk-snip .lk-l{padding-left:14px}
.lk-snip .lk-l::before{display:none}
.lk-l.on{background:rgba(250,204,21,.17);box-shadow:inset 3px 0 0 #facc15}
.lk-l.on::before{color:#facc15}
.hk{color:#c792ea;font-weight:600}.ht{color:#7dd3fc}.hs{color:#86efac}.hc{color:#7480a8;font-style:italic}.hn{color:#fdba74}.ha{color:#f9a8d4}.hf{color:#fde68a}

.lk-before h2{color:#fbcfe8}
.lk-bf{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px;align-items:start}
.lk-tag{display:inline-block;margin:0 0 6px!important;padding:2px 9px;border-radius:6px;font-size:12px;font-weight:750}
.lk-tag.bad{background:rgba(244,114,182,.15);color:#fbcfe8}
.lk-tag.ok{background:rgba(52,211,153,.14);color:#a7f3d0}

.lk-bench{display:flex;flex-direction:column;gap:10px}
.lk-bh{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.lk-bh h2{font-size:18px;margin:0}
.lk-file{font:12.5px ui-monospace,Menlo,Consolas,monospace;color:var(--mut)}
.lk-bh-b{display:flex;gap:8px;margin-left:auto}
.lk-b{height:36px;padding:0 14px;font-size:14px}
.lk-b[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.lk-bg{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:14px;align-items:start}
.lk-code{min-width:0}
.lk-main-code{max-height:calc(100vh - 150px);min-height:420px}
.lk-ed{border-radius:12px;overflow:hidden;border:1px solid rgba(125,211,252,.35)}
.lk-ed .cm-editor{max-height:calc(100vh - 190px);min-height:420px}
.lk-ed .cm-scroller{overflow:auto}
.lk-ednote{margin:8px 2px 0;font-size:13.5px;color:#fde68a}
.lk-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.lk-sh{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.lk-sh h3{margin:0}
.lk-sn{font-size:12.5px;color:var(--mut);white-space:nowrap;font-variant-numeric:tabular-nums}
.lk-say{min-height:5.1em;margin:10px 0!important;font-size:14.5px}
.lk-sb{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px}
.lk-sb .btn2{height:40px;padding:0 10px}
.lk-vars{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.lk-vh{margin:0 0 6px!important;font-size:12.5px;color:var(--mut);font-weight:700}
.lk-vars dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 12px;margin:0;font:13px/1.5 ui-monospace,Menlo,Consolas,monospace;min-height:1.5em}
.lk-vars dt{color:#a5b0d0}
.lk-vars dd{margin:0;color:#e6ebff;word-break:break-all}
.lk-vars .ch{color:#facc15}
.lk-vars dd.ch{font-weight:700}
.lk-vars .lk-vn{grid-column:1/-1;color:var(--mut);font-family:inherit}
.lk-outp{margin:0;padding:10px 14px;border-radius:10px;background:#070b18;border:1px solid rgba(255,255,255,.08);font:13px/1.6 ui-monospace,Menlo,Consolas,monospace;color:#bbf7d0;overflow:auto}
.lk-o{display:block;white-space:pre}
.lk-outp.tr .lk-o{opacity:.22}
.lk-outp.tr .lk-o.lit{opacity:1}
.lk-src-note{margin:8px 0 0!important;font-size:12.5px;color:var(--mut)}
.lk-uml{margin:0}
.lk-svgw{overflow:auto;padding:4px 0}
.lk-svg{display:block;max-width:100%;height:auto;margin:0 auto}
.lk-svg text{font:12px ui-monospace,Menlo,Consolas,monospace;fill:#e6ebff}
.lk-svg .lk-st{font-size:11px;fill:#94a3c8}
.lk-svg .lk-cn{font-weight:700;font-size:12.5px}
.lk-svg .it{font-style:italic}
.lk-svg .st{text-decoration:underline}
.lk-bx{fill:#111934;stroke:rgba(255,255,255,.3);stroke-width:1.2}
.k-interface .lk-bx{stroke:#22d3ee;stroke-dasharray:5 3}
.k-abstract .lk-bx{stroke:#a78bfa}
.k-protocol .lk-bx{stroke:#22d3ee;stroke-dasharray:5 3}
.k-enum .lk-bx{stroke:#facc15}
.lk-sep{stroke:rgba(255,255,255,.18);stroke-width:1}
.lk-svg .lk-ln{fill:none;stroke:#a5b0d0;stroke-width:1.4}
.lk-svg .lk-ln.impl{stroke-dasharray:5 4}
.lk-mk{fill:#0b1020;stroke:#a5b0d0;stroke-width:1.2}
.lk-mkd{fill:#a5b0d0}
.lk-key{margin:8px 0 0!important;font-size:12px;color:var(--mut)}

.lk-tw{overflow:auto}
.lk-tbl table{width:100%;border-collapse:collapse;font-size:14px}
.lk-tbl th,.lk-tbl td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.lk-tbl thead th{font-size:12.5px;color:var(--mut);font-weight:700;overflow-wrap:normal;word-break:keep-all;min-width:4.2em}
.lk-tbl tbody th{white-space:nowrap}
.lk-tbl tbody th code{font:13px ui-monospace,Menlo,Consolas,monospace;color:#c4b5fd}
.lk-tbl td.y{color:#86efac;font-weight:800;text-align:center}
.lk-tbl td.n{color:#6b7699;text-align:center}

.lk-mgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.lk-when{grid-column:1/-1}
.lk-ul{margin:0;padding-left:20px;line-height:1.65}
.lk-ul li{margin:0 0 4px}
.lk-when .lk-ul{columns:3 260px;column-gap:28px}
.lk-when .lk-ul li{break-inside:avoid}
.lk-mh,.lk-qh{grid-column:1/-1;font-size:18px;margin:6px 0 -4px}
.lk-m{display:flex;flex-direction:column;gap:10px}
.lk-m h3{margin:0}
.lk-mn{color:var(--mut);font-size:14px}
.lk-mw,.lk-mf{min-width:0}
.lk-mf{margin-top:auto}
.lk-err,.lk-run{margin:6px 0 0!important;padding:8px 10px;border-radius:9px;font-size:12.5px;line-height:1.5}
.lk-err{background:rgba(244,114,182,.1);color:#fbcfe8}
.lk-run.bad{background:rgba(244,114,182,.1);color:#fbcfe8}
.lk-run.ok{background:rgba(52,211,153,.1);color:#a7f3d0}
.lk-err b,.lk-run b{display:block;font-size:11.5px;opacity:.8;margin-bottom:2px}
.lk-err code,.lk-run code{font:12.5px ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word}

.lk-qgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.lk-q{display:flex;flex-direction:column;gap:10px}
.lk-qn{margin:0!important;font-size:12px;font-weight:800;color:#a5f3fc;letter-spacing:.03em}
.lk-qt{font-weight:650}
.lk-opts{display:flex;flex-direction:column;gap:7px}
.lk-op{display:flex;gap:10px;align-items:center;width:100%;min-height:42px;padding:7px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.04);color:var(--ink);font:inherit;font-size:14.5px;text-align:left;cursor:pointer}
.lk-op b{display:inline-grid;place-items:center;flex:0 0 22px;height:22px;border-radius:50%;background:rgba(255,255,255,.08);font-size:12px}
.lk-op:hover{background:rgba(255,255,255,.09)}
.lk-op.ok{border-color:#34d399;background:rgba(52,211,153,.13)}
.lk-op.no{border-color:#f472b6;background:rgba(244,114,182,.1)}
.lk-qr{min-height:1.4em;margin:0!important;font-size:13.5px;font-weight:700}
.lk-qr.ok{color:#6ee7b7}.lk-qr.no{color:#f9a8d4}
.lk-qa{margin-top:auto;border-top:1px solid var(--line);padding-top:8px}
.lk-qa summary{cursor:pointer;font-size:13.5px;color:var(--mut);font-weight:700}
.lk-qa p{margin:8px 0 0!important;font-size:14px}
.lk-nx{display:flex;flex-direction:column;gap:8px}
.lk-nx a{display:block;padding:10px 12px;border:1px solid var(--line);border-radius:10px;text-decoration:none;background:rgba(255,255,255,.03)}
.lk-nx a:hover{background:rgba(255,255,255,.08)}
.lk-nx small{display:block;font-size:11.5px;color:var(--mut)}
.lk-nx span{font-weight:750}
.lk .faq{padding:4px 0 8px;max-width:none}
.lk .faq h2{font-size:18px}

.lk-tcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.lk-tc{display:flex;flex-direction:column;gap:6px;text-decoration:none;transition:transform .15s,background .15s}
.lk-tc:hover{transform:translateY(-2px);background:rgba(255,255,255,.09)}
.lk-tc-n{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(124,92,255,.25);font-weight:800;font-size:13px}
.lk-tc-s .lk-tc-n{background:rgba(34,211,238,.22)}
.lk-tc-t{font-weight:800;font-size:16.5px}
.lk-tc-d{color:var(--mut);font-size:14px;line-height:1.55;flex:1}
.lk-tc-e{font-size:12.5px;color:#a5f3fc}
.lk-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;align-items:stretch}
.lk-shell{font-size:13px}
.lk-ol{margin:0;padding-left:20px;line-height:1.7}

.lk-root{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin-bottom:12px}
.lk-langcards{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.lk-lc{display:flex;flex-direction:column;gap:8px;text-decoration:none;border-color:rgba(124,92,255,.45);background:linear-gradient(135deg,rgba(124,92,255,.18),rgba(34,211,238,.06))}
.lk-lc:hover{background:linear-gradient(135deg,rgba(124,92,255,.26),rgba(34,211,238,.1))}
.lk-lc-n{font-size:24px;font-weight:850;letter-spacing:-.02em}
.lk-lc .lk-chip{align-self:flex-start}
.lk-lc-d{color:var(--mut);line-height:1.55}
.lk-lc-t{display:flex;flex-wrap:wrap;gap:6px}
.lk-lc-t i{font-style:normal;font-size:12.5px;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.07)}
.lk-lc-go{align-self:flex-start;margin-top:4px;padding:7px 16px;border-radius:999px;background:var(--ink);color:var(--bg);font-weight:800;font-size:14px}

.lk-bld{display:flex;flex-direction:column;gap:12px}
.lk-bld>h2{font-size:18px;margin:0}
.lk-opts2{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.lk-og{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--mut);font-weight:700}
.lk-og input{height:40px;width:140px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#0d1328;color:var(--ink);font:14px ui-monospace,Menlo,Consolas,monospace}
.lk-og-w input{width:185px}
.lk-og input[aria-invalid=true]{border-color:#f472b6}
.lk-seg{display:flex;padding:3px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.04)}
.lk-seg button{height:34px;padding:0 13px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:650;cursor:pointer;white-space:nowrap}
.lk-seg button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.lk-zip{height:42px;margin-left:auto}
.lk-bmsg{min-height:1.2em;margin:-4px 0 0!important;font-size:13.5px;font-weight:650}
.lk-bmsg.err{color:#f9a8d4}.lk-bmsg.ok{color:#6ee7b7}
.lk-bres{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr) minmax(280px,340px);gap:12px;align-items:stretch}
.lk-c2{padding:12px 14px;border-radius:12px;background:rgba(0,0,0,.18);border:1px solid var(--line);min-width:0}
.lk-c2 h3{font-size:14px;margin:0 0 8px}
.lk-c2 h3 small{font-weight:600;color:var(--mut);margin-left:6px}
.lk-tree,.lk-tree ul{list-style:none;margin:0;padding:0}
.lk-tree ul{padding-left:16px;border-left:1px dashed rgba(255,255,255,.14);margin-left:6px}
.lk-tree li{margin:1px 0}
.lk-dir{display:block;padding:3px 6px;font:13px ui-monospace,Menlo,Consolas,monospace;color:#94a3c8}
.lk-fl{display:block;width:100%;padding:4px 8px;border:0;border-radius:7px;background:none;color:var(--ink);font:13px ui-monospace,Menlo,Consolas,monospace;text-align:left;cursor:pointer;word-break:break-all}
.lk-fl:hover{background:rgba(255,255,255,.07)}
.lk-fl[aria-current]{background:rgba(124,92,255,.3);color:#fff}
#lk-fpath{font:13.5px ui-monospace,Menlo,Consolas,monospace;word-break:break-all;color:#c4b5fd}
.lk-fdesc{font-size:14px;margin:0 0 10px!important}
.lk-filev .lk-pre{max-height:520px}
.lk-lay{display:block;width:100%;height:auto;max-width:360px;margin:0 auto 8px}
.lk-lb{fill:#111934;stroke:rgba(255,255,255,.3)}
.lk-lb.im{stroke-dasharray:5 3;stroke:#22d3ee}
.lk-ln1{font:700 12.5px ui-monospace,Menlo,Consolas,monospace;fill:#e6ebff}
.lk-ln2{font:12px system-ui,sans-serif;fill:#a5b0d0}
.lk-la{fill:none;stroke:#a5b0d0;stroke-width:1.5}
.lk-la.im{stroke-dasharray:5 4}
.lk-lf{fill:#a5b0d0}
.lk-lt{fill:#0b1020;stroke:#a5b0d0;stroke-width:1.3}
.lk-vers{margin:0!important;font-size:13px;color:var(--mut)}
.lk-pd{margin:-8px 0 0}
.lk-pats{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:14px;align-items:stretch}
.lk-pat{display:flex;flex-direction:column;gap:8px}
.lk-pat .lk-pre{flex:1}
.lk-pat .lk-tag{align-self:flex-start}
.lk-uis{display:flex;flex-direction:column;gap:14px}
.lk-uib{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.lk-uic{min-width:0}
.lk-uif{margin:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.lk-uif img{display:block;width:100%;max-width:300px;height:auto;border-radius:22px}
.lk-uif figcaption{font-size:13px;color:var(--mut);text-align:center}
.lk-offscreen{position:fixed;left:-9999px;top:0;opacity:0}

.lk-runb{min-width:92px}
.lk-runb:disabled{opacity:.7;cursor:progress}
.lk-runf{position:fixed;left:-20px;top:-20px;width:1px;height:1px;border:0;opacity:0;pointer-events:none}
.lk-runbox{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.lk-runh{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;margin:0 0 8px}
.lk-runh h4{margin:0;font-size:13.5px}
.lk-runst{font-size:12.5px;color:var(--mut);font-variant-numeric:tabular-nums}
.lk-runst.ok{color:#6ee7b7}.lk-runst.no{color:#f9a8d4}
.lk-runout{max-height:320px;white-space:pre;color:#e6ebff;min-height:2.4em}
.lk-runout.em{color:var(--mut);font-style:italic}
.lk-runcmp{margin:6px 0 0!important;font-size:12.5px;color:var(--mut)}
.lk-runcmp.ok{color:#6ee7b7}
.lk-cmpcard{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;text-decoration:none;border-color:rgba(34,211,238,.4)}
.lk-cmpcard b{font-size:16.5px}
.lk-cmpcard span{color:var(--mut);font-size:14.5px}
.lk-cmpcard:hover{background:rgba(255,255,255,.08)}
.lk-cmp{margin-bottom:8px}
.lk-cmph{font-size:18px;margin:18px 0 6px}
.lk-cmpd{margin:0 0 12px!important}
.lk-cmp table{min-width:640px}
.lk-cmp tbody th{white-space:normal;width:15%;font-size:13.5px;color:#c4b5fd}
.lk-cmp td{line-height:1.55;width:auto}
.lk-cmpcode{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:14px;align-items:stretch;margin-bottom:16px}
.lk-cmpcode h3 small{font:12.5px ui-monospace,Menlo,Consolas,monospace;color:var(--mut);margin-left:6px}
.lk-cmpnx{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:16px}
.lk-cmpnx h2{grid-column:1/-1}

@media (max-width:1600px){
  .lk-mgrid{grid-template-columns:minmax(0,1fr)}
  .lk-m{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-items:start}
  .lk-m h3,.lk-m .lk-mn{grid-column:1/-1}
  .lk-mf{margin-top:0}
}
@media (max-width:1300px){
  .lk-bres{grid-template-columns:minmax(240px,300px) minmax(0,1fr)}
  .lk-layw{grid-column:1/-1}
  .lk-lay{max-width:420px}
}
@media (max-width:1180px){
  .lk-grid{grid-template-columns:minmax(0,1fr)}
  .lk-toc{position:static;max-height:none;padding:8px;overflow-x:auto}
  .lk-toc-in{display:flex;align-items:center;gap:6px;white-space:nowrap}
  .lk-toc-h{display:none}
  .lk-toc-l{display:flex;gap:4px}
  .lk-toc-l a,.lk-toc-hub{padding:6px 10px}
  .lk-intro{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lk-intro .lk-mean{grid-column:1/-1}
  .lk-bg{grid-template-columns:minmax(0,1fr) 360px}
  .lk-qgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .lk-wide{width:auto;margin-left:0}
  .lk{padding-top:14px}
  .lk-intro,.lk-bf,.lk-bg,.lk-qgrid,.lk-bres{grid-template-columns:minmax(0,1fr)}
  .lk-m{display:flex}
  .lk-main-code{max-height:52vh;min-height:0}
  .lk-ed .cm-editor{max-height:60vh;min-height:240px}
  .lk-bh-b{margin-left:0;width:100%}
  .lk-bh-b .lk-b{flex:1}
  .lk-pats,.lk-cmpcode,.lk-uib{grid-template-columns:minmax(0,1fr)}
  .lk-uif img{max-width:260px}
  .lk-opts2{gap:10px}
  .lk-og,.lk-og input,.lk-og-w input{width:100%}
  .lk-seg{width:100%}
  .lk-seg button{flex:1;padding:0 6px}
  .lk-zip{width:100%;margin-left:0}
  .lk-when .lk-ul{columns:1}
  .lk-c{padding:14px}
  .lk-l{padding-left:44px}
  .lk-l::before{width:30px}
  .lk-snip .lk-l{padding-left:12px}
}

/* 11-12 PHP(plan/111) · $변수 색 · 보안 기초 쪽(틀린 코드 | 고친 코드 두 칸) */
.hv{color:#a5b4fc}
.lk-seclead{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.lk-sec{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;align-items:start}
.lk-sec h3,.lk-sec .lk-mn,.lk-sec .lk-secw,.lk-sec .lk-sectag{grid-column:1/-1}
.lk-sec .lk-mf{margin-top:0}
.lk-secn{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:9px;border-radius:7px;background:rgba(124,92,255,.3);font-size:13px;vertical-align:1px}
.lk-sectag{margin:0!important;font-size:12.5px;color:var(--mut)}
.lk-secw{margin:0!important}
@media (max-width:860px){
  .lk-seclead,.lk-sec{grid-template-columns:minmax(0,1fr)}
}

/* 11-12 언어 소개 절(허브 FAQ 위) · /learn 첫 쪽 다섯 언어 표 */
.lk-hist-g{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px 22px;align-items:start}
.lk-hist .lk-tw{border:1px solid var(--line);border-radius:10px}
.lk-hist table{font-size:13.5px}
.lk-hist tbody th{white-space:normal;width:7.5em;color:var(--mut);font-size:12.5px;font-weight:700}
.lk-hist tbody tr:last-child th,.lk-hist tbody tr:last-child td{border-bottom:0}
.lk-hist-go{font-size:14px}
.lk-hist-go b{margin-right:4px}
.lk-hist-go a{display:inline-block;margin:2px 8px 2px 0;color:#7dd3fc}
.lk-hist-root{grid-column:1/-1}
.lk-hist-root table{min-width:560px;font-size:13.5px}
.lk-hist-root tbody th a{color:#7dd3fc;font-weight:700}
@media (max-width:860px){
  .lk-hist-g{grid-template-columns:minmax(0,1fr)}
}
.lk-tc{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;grid-template-areas:"n t a" "d d d" "e e e";column-gap:12px;row-gap:8px;align-items:center;padding:16px 18px;color:var(--ink)}
.lk-tc::after{content:"";grid-area:a;width:9px;height:9px;justify-self:end;border-top:2px solid var(--mut);border-right:2px solid var(--mut);transform:rotate(45deg);opacity:.7;transition:transform .15s,border-color .15s}
.lk-tc:hover::after{border-color:var(--a2);transform:translateX(2px) rotate(45deg)}
.lk-tc-n{grid-area:n;width:32px;height:32px;border-radius:9px;font-size:14px;color:#fff;background:linear-gradient(135deg,rgba(124,92,255,.7),rgba(124,92,255,.35))}
.lk-tc-s .lk-tc-n{background:linear-gradient(135deg,rgba(34,211,238,.6),rgba(34,211,238,.3))}
.lk-tc-t{grid-area:t;min-width:0;font-size:16.5px;line-height:1.35}
.lk-tc-d{grid-area:d;margin:0;font-size:14px;line-height:1.6}
.lk-tc-e{grid-area:e;justify-self:start;padding:3px 10px;border-radius:999px;background:rgba(34,211,238,.1);border:1px solid rgba(34,211,238,.25);font-size:12.5px;line-height:1.5}
.lk-tc:hover{border-color:rgba(124,92,255,.5)}
.lk-tc:focus-visible{outline:2px solid var(--a2);outline-offset:2px}
@media (max-width:1180px){
  .lk-toc{overflow:visible;padding:10px}
  .lk-toc-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;white-space:normal}
  .lk-toc-hub{grid-column:1/-1;text-align:center}
  .lk-toc-l{display:contents}
  .lk-toc-l li{min-width:0}
  .lk-toc-l a{min-width:0;height:100%;padding:8px 10px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.03);font-size:14px;line-height:1.3}
  .lk-toc-l a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .lk-toc-l a[aria-current]{border-color:rgba(124,92,255,.55)}
}
@media (min-width:700px) and (max-width:1180px){.lk-toc-in{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:420px){.lk-tc{padding:14px;column-gap:10px}.lk-tc-t{font-size:16px}.lk-toc-l a{padding:7px 8px;font-size:13.5px}}
@media (prefers-reduced-motion:reduce){.lk-tc::after{transition:none}}
