.ld-sketch{--w:calc(min(90vw, 90rem));width:var(--w);max-width:none;margin-left:calc(50% - var(--w) / 2)}.ld-sketch-body{height:calc(min(48dvh,32rem));display:grid}.ld-sketch-code{font-family:var(--font-mono);padding:1.25rem 1.5rem;font-size:calc(clamp(10px,.9vw,13px));line-height:1.65;position:relative;overflow:hidden}.ld-sketch-lines{transition-property:transform;transition-duration:var(--duration)}.ld-ln{width:1.6em;color:var(--muted-fg);text-align:right;-webkit-user-select:none;user-select:none;margin-right:.8em;display:inline-block}.ld-sketch-out{border-left:1px solid var(--border);min-height:0}@media (width>=1024px){.ld-sketch-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (width<=1023px){.ld-sketch{--w:100%}.ld-sketch-body{grid-template-columns:minmax(0,1fr);height:auto}.ld-sketch-code{border-bottom:1px solid var(--border);height:7.8rem;padding:.9rem 1.1rem;font-size:12px}.ld .ld-sketch-out.ld-phone{width:auto;height:calc(min(60dvh,26rem));margin:.9rem 1rem 1rem}.ld-3d .ld-sketch{height:var(--sim-h);grid-template-rows:auto minmax(0,1fr);display:grid}.ld-3d .ld-sketch-body{grid-template-rows:auto minmax(0,1fr);min-height:0}.ld-3d .ld-sketch-code{height:clamp(4.6rem,var(--sim-h) * .3,7.8rem)}.ld-3d .ld-sketch-out.ld-phone{height:auto;min-height:0}.ld-sketch .ld-line{white-space:pre-wrap;overflow-wrap:anywhere;text-indent:-2.4em;padding-left:calc(.35rem + 2.4em)}}.ld-line{white-space:pre;border-radius:4px;min-height:1.65em;margin-inline:-.35rem;padding-inline:.35rem}.ld-line.is-hidden{visibility:hidden}.ld-line.is-current{background:var(--primary-soft)}
