/* Magos Particles 1.0 Manual, v3. Light by default; the Blender panel is the only dark element. */
:root {
  --bg: #f7f5f0;
  --bg-2: #efece5;
  --fg: #1d1c1a;
  --muted: #69655d;
  --rule: #dcd7cc;
  --rule-strong: #b9b3a6;
  --accent: #a3461d;
  --accent-tint: rgba(163, 70, 29, .13);
  --code-bg: #ebe7de;
  --hot: #fbe7c6;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, ui-monospace, monospace;
  --top: 48px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1a18; --bg-2: #232220; --fg: #e9e6df; --muted: #a09b91; --rule: #36342f; --rule-strong: #4c4943;
    --accent: #e3925f; --accent-tint: rgba(227, 146, 95, .16); --code-bg: #2a2825; --hot: #3d3220; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1b1a18; --bg-2: #232220; --fg: #e9e6df; --muted: #a09b91; --rule: #36342f; --rule-strong: #4c4943;
  --accent: #e3925f; --accent-tint: rgba(227, 146, 95, .16); --code-bg: #2a2825; --hot: #3d3220; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.6 var(--sans); }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[id] { scroll-margin-top: calc(var(--top) + 16px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
kbd { font: 12px var(--mono); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 0 4px; background: var(--bg); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--bg); padding: 4px 8px; }

/* ---- top bar */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 12px;
  padding: 0 16px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.brand { color: var(--fg); text-decoration: none; font-weight: 600; white-space: nowrap; }
.brand .muted { font-weight: 400; }
.search-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 10px;
  min-width: 220px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--bg); color: var(--muted);
  font: inherit; font-size: 14px; cursor: pointer; }
.search-btn kbd { margin-left: auto; }
.search-btn:hover { border-color: var(--fg); color: var(--fg); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid transparent;
  border-radius: 4px; background: none; color: var(--fg); cursor: pointer; }
.icon-btn:hover { border-color: var(--rule-strong); }
.menu-btn { display: none; }

/* ---- layout */
.layout { display: grid; grid-template-columns: 268px minmax(0, 1fr) 216px; min-height: calc(100vh - var(--top)); }
.sidebar { position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow-y: auto; padding: 20px 16px 40px 20px;
  border-right: 1px solid var(--rule); font-size: 14px; background: var(--bg); }
main { min-width: 0; padding: 36px 56px 120px; outline: none; }
.rail { position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow-y: auto; padding: 40px 20px 40px 16px;
  font-size: 13px; }

.sidebar h2 { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 6px; letter-spacing: .02em; }
.sidebar ol, .sidebar ul { list-style: none; margin: 0 0 20px; padding: 0; }
.sidebar li a { display: flex; gap: 8px; align-items: center; padding: 3px 6px; margin: 0 -6px; border-radius: 3px; color: var(--fg); text-decoration: none; line-height: 1.35; }
.sidebar li a:hover { background: var(--bg-2); }
.sidebar a[aria-current="page"] { color: var(--accent); font-weight: 600; background: var(--accent-tint); }
.sidebar .num { font: 12px var(--mono); color: var(--muted); width: 1.2em; text-align: right; flex: none; }
.sidebar img { width: 16px; height: 16px; flex: none; filter: invert(1) brightness(.25); }
:root[data-theme="dark"] .sidebar img { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sidebar img { filter: none; } }
.sidebar .cat { font-size: 12px; color: var(--muted); margin: 12px 0 2px; }
.op-filter { width: 100%; height: 30px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--bg); color: var(--fg);
  font: inherit; font-size: 13px; padding: 0 8px; margin: 0 0 6px; }
.op-none { font-size: 13px; color: var(--muted); }

.rail h2 { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.rail ul { list-style: none; margin: 0; padding: 0; }
.rail a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; line-height: 1.35; }
.rail a:hover { color: var(--fg); }
.rail a.on { color: var(--fg); font-weight: 600; }

/* ---- pages and prose */
.page { max-width: 900px; }
.page[hidden] { display: none; }
.kicker { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 20px; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--rule); font-weight: 600; }
h3 { font-size: 16px; margin: 24px 0 8px; }
.prose p, .prose li, .op p, .op li { max-width: 70ch; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin: 4px 0; }
strong { font-weight: 600; }
.lede { font-size: 17px; color: var(--fg); }
.note { border-left: 0; background: var(--bg-2); padding: 10px 14px; border-radius: 3px; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; font-size: 13px; color: var(--muted); border-bottom-color: var(--rule-strong); }
figure.shot { margin: 8px 0 20px; }
figure.shot img { max-width: 100%; height: auto; border: 1px solid var(--rule); display: block; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.startlist { list-style: none; padding: 0; }
.startlist li { padding: 8px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.startlist a { font-weight: 600; margin-right: 6px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--rule); }
.pager a { display: flex; flex-direction: column; text-decoration: none; font-weight: 600; }
.pager .next { margin-left: auto; text-align: right; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.op-link, .set-link { white-space: nowrap; }

.flash { animation: flash 1.8s ease-out; }
@keyframes flash { 0%, 30% { background-color: var(--hot); } 100% { background-color: transparent; } }

/* ---- value chips */
.chip { font: 13px/1.3 var(--mono); padding: 0 4px; margin: 0 1px; border: 1px solid var(--rule-strong); border-radius: 3px;
  background: var(--code-bg); color: var(--fg); cursor: copy; vertical-align: baseline; }
.chip:hover { border-color: var(--fg); }
.chip.copied { border-color: var(--accent); color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--fg); color: var(--bg); font-size: 13px;
  padding: 6px 12px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 70; }
.toast.on { opacity: 1; }

/* ---- step lists */
.steps { list-style: none; padding: 0; margin: 0 0 16px; }
.step { display: grid; grid-template-columns: 22px 26px minmax(0, 1fr); align-items: start; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; max-width: none; }
.step-check { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--accent); cursor: pointer; }
.step-n { font: 13px/1.6 var(--mono); color: var(--muted); padding-top: 1px; }
.step-text { max-width: 70ch; }
.step.done .step-text, .step.done .step-n { color: var(--muted); }
.progress { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.recipe h2 { margin-top: 48px; }

/* ---- troubleshooting */
.finder { margin: 0 0 16px; }
.finder label { display: block; font-weight: 600; margin-bottom: 6px; }
.finder input, .gal-controls select, .gal-controls input { height: 36px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--bg);
  color: var(--fg); font: inherit; padding: 0 10px; }
.finder input { width: 100%; max-width: 520px; }
.symptoms { border-top: 1px solid var(--rule-strong); margin-bottom: 24px; }
.symptom { border-bottom: 1px solid var(--rule); }
.symptom summary { cursor: pointer; padding: 10px 0 10px 22px; position: relative; list-style: none; font-weight: 500; }
.symptom summary::-webkit-details-marker { display: none; }
.symptom summary::before { content: ""; position: absolute; left: 4px; top: 18px; border: 5px solid transparent; border-left-color: var(--muted); border-right: 0; }
.symptom[open] summary::before { transform: rotate(90deg); }
.symptom dl { margin: 0 0 14px 22px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; max-width: 76ch; }
.symptom dt { font-size: 13px; color: var(--muted); padding-top: 1px; }
.symptom dd { margin: 0; }

/* ---- operator pages */
.op-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.op-head h1 { margin: 0; }
.op-head img { width: 36px; height: 36px; filter: invert(1) brightness(.25); }
:root[data-theme="dark"] .op-head img { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .op-head img { filter: none; } }
.op-head .kicker { margin: 0; }
.live { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: 28px; align-items: start; margin: 8px 0 8px; }
.live-tools { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.btn { height: 30px; padding: 0 10px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--bg); color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.btn:hover { border-color: var(--fg); }
.btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.bf-shot { max-width: 100%; height: auto; display: block; border-radius: 6px; }
.bf-shot[hidden], .bf-host[hidden] { display: none; }
.explain { position: sticky; top: calc(var(--top) + 16px); font-size: 14px; border-top: 1px solid var(--rule-strong); padding-top: 10px; min-height: 120px; }
.explain h3 { margin: 0 0 6px; font-size: 16px; }
.explain .meta { font: 12.5px/1.5 var(--mono); color: var(--muted); margin: 8px 0 0; }
.explain .opts { margin: 8px 0 0; padding-left: 18px; font-size: 13px; }
.settings td:first-child { white-space: nowrap; font-weight: 600; }
.settings .val { font: 13px var(--mono); white-space: nowrap; }
.settings tr.hot td { background: var(--hot); }
.settings tr.off td { color: var(--muted); }
.settings .when { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.settings .opts { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.clip { margin: 8px 0 12px; max-width: 760px; }
.clip video, .ex video { width: 100%; height: auto; display: block; background: #000; aspect-ratio: 16 / 9; cursor: pointer; }
.clip figcaption .path, .ex .path { font: 12.5px var(--mono); color: var(--fg); }
.ref-cat td:first-child { width: 32px; }
.ref-cat img { width: 20px; height: 20px; filter: invert(1) brightness(.25); vertical-align: middle; }
:root[data-theme="dark"] .ref-cat img { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ref-cat img { filter: none; } }
.ref-cat td:nth-child(2) { white-space: nowrap; font-weight: 600; }

/* ---- examples gallery */
.gal-controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 8px 0 16px; }
.gal-controls label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 4px; }
.gal-count { font-size: 13px; color: var(--muted); margin-left: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; }
.ex { margin: 0; min-width: 0; }
.ex figcaption { margin-top: 6px; color: var(--fg); font-size: 13.5px; }
.ex .t { font-weight: 600; display: block; }
.ex .n { color: var(--muted); display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; }
.ex .u { color: var(--muted); display: block; margin-top: 4px; font-size: 12.5px; }
.ex[hidden] { display: none; }

/* ---- the Blender panel (the only dark, Blender-looking element) */
.bf { background: #303030; color: #e6e6e6; border-radius: 6px; padding: 8px 10px 10px; font: 13px/1.2 "Segoe UI", system-ui, sans-serif;
  user-select: none; -webkit-user-select: none; box-shadow: 0 0 0 1px #1f1f1f; }
.bf-head { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(96px, 42%); gap: 8px; align-items: center; height: 28px; margin-bottom: 6px; }
.bf-head img { width: 18px; height: 18px; }
.bf-head .bf-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-seed { background: #545454; border-radius: 4px; height: 22px; display: flex; justify-content: space-between; align-items: center; padding: 0 9px; }
.bf-row { display: grid; grid-template-columns: 40% minmax(0, 1fr) 14px; column-gap: 7px; align-items: center; min-height: 24px; padding: 1px 0; }
.bf-label { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e6e6e6; }
.bf-deco { width: 5px; height: 5px; border-radius: 50%; background: #c8c8c8; justify-self: center; }
.bf-prop { border-radius: 4px; }
.bf-prop.hot { background: rgba(71, 114, 179, .28); }
.bf-prop[hidden] { display: none; }
.bf-num { position: relative; height: 22px; background: #545454; border-radius: 4px; overflow: hidden; cursor: ew-resize; touch-action: none; }
.bf-num:hover { background: #5f5f5f; }
.bf-fill { position: absolute; left: 0; top: 0; bottom: 0; background: #4772b3; pointer-events: none; }
.bf-num input { position: absolute; inset: 0; width: 100%; border: 0; margin: 0; padding: 0 6px; background: transparent; color: #e6e6e6;
  font: inherit; text-align: center; cursor: ew-resize; outline: none; }
.bf-num input:focus { background: #1d1d1d; cursor: text; text-align: left; }
.bf-num:focus-within { box-shadow: 0 0 0 1px #4772b3; }
.bf-vec .bf-row + .bf-row { margin-top: -1px; }
.bf-vec .bf-row:not(:first-child) .bf-num { border-top-left-radius: 0; border-top-right-radius: 0; }
.bf-vec .bf-row:not(:last-child) .bf-num { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.bf-select, .bf-text, .bf-ptr { width: 100%; height: 22px; background: #1d1d1d; border: 1px solid #3d3d3d; border-radius: 4px; color: #e6e6e6; font: inherit; }
.bf-select { appearance: none; -webkit-appearance: none; padding: 0 22px 0 8px; background: #282828 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23d0d0d0' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 8px center; cursor: pointer; }
.bf-select:hover { background-color: #303030; }
.bf-select option { background: #282828; color: #e6e6e6; }
.bf-text { padding: 0 8px; outline: none; }
.bf-ptr { display: flex; align-items: center; gap: 6px; padding: 0 6px; }
.bf-ptr svg { flex: none; }
.bf-ptr input { flex: 1; min-width: 0; border: 0; background: transparent; color: #e6e6e6; font: inherit; outline: none; padding: 0; }
.bf-ptr input::placeholder, .bf-text::placeholder { color: #7d7d7d; }
.bf-select:focus, .bf-text:focus, .bf-ptr:focus-within { border-color: #4772b3; }
.bf-bool { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; min-width: 0; }
.bf-bool span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-check { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 0; border-radius: 3px; background: #545454; cursor: pointer; outline: none; }
.bf-check:hover { background: #5f5f5f; }
.bf-check:checked { background: #4772b3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; }
.bf-check:focus-visible { box-shadow: 0 0 0 1px #9bb8e8; }
.bf-color { width: 100%; height: 22px; padding: 0; border: 1px solid #3d3d3d; border-radius: 4px; background: #1d1d1d; cursor: pointer; }
.bf-color::-webkit-color-swatch-wrapper { padding: 0; }
.bf-color::-webkit-color-swatch { border: 0; border-radius: 3px; }
.bf-sub { color: #e6e6e6; padding: 2px 0 3px; }
.bf-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #303030; }
.bf-groups button { height: 20px; border: 0; margin: 0; background: #545454; color: #e6e6e6; font: 11px var(--sans); cursor: pointer; padding: 0; }
.bf-groups button:first-child { border-top-left-radius: 4px; }
.bf-groups button:nth-child(4) { border-top-right-radius: 4px; }
.bf-groups button:nth-child(5) { border-bottom-left-radius: 4px; }
.bf-groups button:last-child { border-bottom-right-radius: 4px; }
.bf-groups button[aria-pressed="true"] { background: #4772b3; }
.bf-note { margin-top: 8px; border: 1px solid #3d3d3d; border-radius: 4px; background: #2a2a2a; padding: 8px 10px; line-height: 1.5; user-select: text; }
.bf-sends { margin-top: 8px; color: #bdbdbd; }
.bf-empty { color: #9a9a9a; padding: 4px 0; }

/* ---- search */
.search { position: fixed; inset: 0; z-index: 80; background: rgba(20, 19, 17, .35); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search[hidden] { display: none; }
.search-box { width: min(640px, 100%); background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 10px; }
.search-input { width: 100%; height: 42px; font: inherit; font-size: 16px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--bg); color: var(--fg); outline: none; }
.search-input:focus { border-color: var(--accent); }
.search-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: 56vh; overflow-y: auto; }
.search-results li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 3px; cursor: pointer; margin: 0; }
.search-results li .k { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.search-results li[aria-selected="true"] { background: var(--accent-tint); }
.search-results li mark { background: none; color: var(--accent); font-weight: 600; }
.search-results .none { color: var(--muted); cursor: default; }
.search-help { margin: 8px 2px 0; }

/* ---- narrower screens */
@media (max-width: 1240px) {
  .layout { grid-template-columns: 252px minmax(0, 1fr); }
  .rail { display: none; }
  main { padding: 32px 40px 100px; }
}
@media (max-width: 1060px) {
  .live { grid-template-columns: minmax(0, 420px); }
  .explain { position: static; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .menu-btn { display: inline-flex; }
  .sidebar { position: fixed; left: 0; top: var(--top); z-index: 50; width: min(320px, 86vw); transform: translateX(-100%);
    transition: transform .18s ease; border-right: 1px solid var(--rule-strong); }
  body.nav-open .sidebar { transform: none; }
  main { padding: 24px 16px 96px; }
  .search-btn { min-width: 0; }
  .search-btn span, .search-btn kbd { display: none; }
  h1 { font-size: 25px; }
  .symptom dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .symptom dt { padding-top: 6px; }
  .gal-count { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .brand .muted { display: none; }
  .settings td:first-child { white-space: normal; }
}

/* ---- print */
@media print {
  :root, :root[data-theme="dark"] { --bg: #fff; --bg-2: #f3f3f3; --fg: #000; --muted: #444; --rule: #ccc; --rule-strong: #999; --accent: #000; --hot: transparent; color-scheme: light; }
  body { font-size: 11pt; background: #fff; }
  .topbar, .sidebar, .rail, .search, .toast, .live-tools, .pager, .finder, .gal-controls, .step-check, .progress, .skip { display: none !important; }
  .layout { display: block; }
  main { padding: 0; }
  .page { max-width: none; }
  a { color: #000; text-decoration: none; }
  h2 { break-after: avoid; }
  .step, tr, .symptom, .ex, figure { break-inside: avoid; }
  .symptom dl { display: grid !important; }
  .symptom summary::before { display: none; }
  details.symptom > *:not(summary) { display: grid; }
  video { display: none !important; }
  .live { display: block; }
  .explain { display: none; }
  .bf { background: #fff; color: #000; box-shadow: 0 0 0 1px #999; max-width: 420px; }
  .bf-num, .bf-seed, .bf-groups button, .bf-check { background: #eee !important; }
  .bf-fill { background: #bbb; }
  .bf-num input, .bf-label, .bf-sub, .bf-select, .bf-text, .bf-ptr input, .bf-note, .bf-sends { color: #000 !important; }
  .bf-select, .bf-text, .bf-ptr, .bf-note { background: #fff !important; border-color: #999; }
  .bf-head img { filter: invert(1); }
  .bf-deco { background: #888; }
  .chip { border: 0; background: none; padding: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; background: var(--code-bg); color: var(--fg); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
pre.code { background: var(--code-bg); border-radius: 4px; padding: 10px 12px; overflow-x: auto; line-height: 1.45; }
pre.code code { padding: 0; background: none; white-space: pre; overflow-wrap: normal; }
