.prose figure.code-figure{--code-bg:#16181d;--code-fg:#e1e4e8;--code-muted:#8b93a1;--code-rule:#ffffff0f;background:var(--code-bg);border:1px solid var(--code-rule);border-radius:14px;margin:1.75em 0;overflow:hidden;box-shadow:0 1px 2px #0000001f,0 8px 24px #00000024}.prose figure.code-figure>pre[data-theme]{background:var(--code-bg);color:var(--code-fg);border:0;border-radius:0;margin:0;padding:1rem 1.25rem 1.15rem;font-size:.84rem;line-height:1.65}.code-head{border-bottom:1px solid var(--code-rule);letter-spacing:.06em;text-transform:uppercase;color:var(--code-muted);background:#1d2027;align-items:center;gap:.9rem;padding:.6rem .75rem .6rem 1rem;font:600 .72rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.code-dots{gap:6px;display:inline-flex}.code-dots i{background:#ff5f57;border-radius:50%;width:10px;height:10px;display:block}.code-dots i:nth-child(2){background:#febc2e}.code-dots i:nth-child(3){background:#28c840}.code-copy{color:var(--code-muted);cursor:pointer;background:0 0;border:1px solid #ffffff1f;border-radius:6px;margin-left:auto;padding:.35rem .6rem;font:500 .75rem/1 system-ui,-apple-system,sans-serif}.code-copy:hover{color:var(--code-fg);border-color:#ffffff3d}.code-copy:focus-visible{outline-offset:2px;outline:2px solid #3987e5}.code-figure [data-diff]{margin:0 -1.25rem;padding:0 1.25rem}.code-figure [data-diff=add]{background-color:#2ea04333;box-shadow:inset 3px 0 #3fb950}.code-figure [data-diff=del]{background-color:#f851492e;box-shadow:inset 3px 0 #f85149}
