/* Lottery Defence KB. Palette from build/common.py (the PDFs). */
:root {
  color-scheme: dark;
  --bg: #0e1016;
  --panel: #181b25;
  --panel-2: #141720;
  --panel-hi: #20242f;
  --ink: #e2e6f0;
  --ink-dim: #9aa3b5;
  --ink-faint: #6e778a;
  --rule: #262b37;
  --rule-hi: #39404f;
  --terran: #4a90d9;
  --protoss: #f5c542;
  --zerg: #b06ff7;
  --neutral: #e45d5d;
  --race: #8a94a8;
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.r-terran { --race: var(--terran); }
.r-protoss { --race: var(--protoss); }
.r-zerg { --race: var(--zerg); }
.r-neutral { --race: var(--neutral); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; width: 100%; padding-bottom: 48px; }
a { color: var(--terran); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--protoss); outline-offset: 2px; border-radius: 3px; }
img { max-width: 100%; }
code { font: 0.86em var(--mono); background: var(--panel); padding: 1px 5px; border-radius: 4px; color: var(--ink-dim); overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.muted { color: var(--ink-dim); }
.hint { color: var(--ink-dim); font-size: 14px; margin: 10px 0 0; max-width: 75ch; }
.lead { color: var(--ink-dim); font-size: 18px; max-width: 70ch; margin: 6px 0 0; }
.count { color: var(--ink-faint); font-weight: 500; font-size: 0.8em; margin-left: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--protoss); color: #000; padding: 6px 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(14, 16, 22, 0.94); border-bottom: 1px solid var(--rule); backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; gap: 8px 22px; min-height: 58px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.mark { color: var(--terran); flex: none; }
.mark .m1 { fill: var(--protoss); }
.b1 { font-weight: 750; letter-spacing: 0.01em; }
.b2 { font-size: 12px; color: var(--ink-faint); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-dim); padding: 6px 10px; border-radius: 6px; font-size: 15px; font-weight: 550; }
.nav a:hover { color: var(--ink); background: var(--panel); text-decoration: none; }
.nav a[aria-current] { color: var(--ink); background: var(--panel-hi); }
.search { position: relative; margin-left: auto; flex: 0 1 300px; min-width: 200px; }
.search input {
  width: 100%; height: 38px; border-radius: 8px; border: 1px solid var(--rule-hi); background: var(--panel-2);
  color: var(--ink); font: 15px var(--font); padding: 0 34px 0 34px;
}
.search input::placeholder { color: var(--ink-faint); }
.search input:focus { outline: none; border-color: var(--terran); background: var(--panel); }
.search input::-webkit-search-cancel-button { display: none; }
.search-i { position: absolute; left: 11px; top: 11px; color: var(--ink-faint); pointer-events: none; }
.qk { position: absolute; right: 9px; top: 9px; font: 12px var(--mono); color: var(--ink-faint); border: 1px solid var(--rule-hi); border-radius: 4px; padding: 0 6px; line-height: 18px; pointer-events: none; }
.search input:focus ~ .qk { display: none; }
.qr {
  position: absolute; top: 44px; right: 0; width: min(420px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto;
  margin: 0; padding: 6px; list-style: none; background: var(--panel); border: 1px solid var(--rule-hi); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.qr li { margin: 0; }
.qr a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 7px; color: var(--ink); }
.qr a:hover { text-decoration: none; }
.qr [aria-selected="true"] a, .qr a:hover { background: var(--panel-hi); }
.qr img, .qr .qi { width: 30px; height: 30px; border-radius: 4px; flex: none; }
.qr .qi { display: grid; place-items: center; background: var(--panel-2); color: var(--ink-faint); font-size: 13px; border: 1px solid var(--rule); }
.qr .qt { display: flex; flex-direction: column; min-width: 0; }
.qr .qt b { font-weight: 600; font-size: 15px; }
.qr .qt span { font-size: 12.5px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr .qt mark { background: none; color: var(--protoss); }
.qr .qnone { color: var(--ink-dim); padding: 10px; font-size: 14px; }
@media (max-width: 719px) {
  .top { position: static; }
  .top-in { gap: 8px 12px; }
  .search { order: 3; flex: 1 1 100%; margin-left: 0; }
  .nav { margin-left: auto; }
  .nav a { padding: 6px 7px; font-size: 14px; }
  .b2 { display: none; }
  .qk { display: none; }
  .qr { left: 0; right: auto; width: 100%; }
}
@media (max-width: 400px) { .b1 { font-size: 15px; } .nav a { padding: 5px 5px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); color: var(--ink-faint); font-size: 13px; padding: 18px 0 26px; }
.foot p { margin: 4px 0; max-width: 90ch; }
.foot a { color: var(--ink-dim); text-decoration: underline; text-decoration-color: var(--rule-hi); }

/* ---------- shared bits ---------- */
.crumbs { font-size: 14px; color: var(--ink-faint); margin: 18px 0 0; }
.crumbs a { color: var(--ink-dim); }
.crumbs span { margin: 0 3px; }
.phead { margin: 30px 0 22px; }
.phead h1, .ghead h1, .hero h1 { margin: 0; font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.01em; }
.sec { margin: 34px 0 0; }
.sec h2, .usec h2 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.11em; color: var(--ink-dim); font-weight: 700;
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); display: flex; align-items: baseline; gap: 4px;
}
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
.sec-h h2 { border: 0; margin: 0; }
.cond {
  display: inline-block; font: 600 12px/1.6 var(--font); color: var(--protoss); background: rgba(245, 197, 66, 0.09);
  border: 1px solid rgba(245, 197, 66, 0.28); border-radius: 4px; padding: 0 6px; white-space: nowrap; letter-spacing: 0.01em;
}
.plus { color: var(--ink-faint); margin: 0 6px; font-weight: 600; }
.note { border-left: 3px solid var(--protoss); background: var(--panel-2); padding: 9px 14px; border-radius: 0 6px 6px 0; margin: 14px 0 0; max-width: 75ch; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ink-dim); border: 1px solid var(--rule-hi); border-radius: 999px; padding: 1px 10px; margin: 0 6px 6px 0; }
.tag.race { color: var(--race); border-color: color-mix(in srgb, var(--race) 50%, transparent); }
.tag.tier { color: var(--ink); background: var(--panel-hi); }
.ph img, img.ph { outline: 1px dashed var(--ink-faint); outline-offset: 1px; }

/* unit chip: icon + name, inline */
.uchip {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; color: var(--ink); font-weight: 550;
  background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--race); border-radius: 6px;
  padding: 2px 8px 2px 3px; margin: 2px 0; line-height: 1.35; font-size: 15px;
}
a.uchip:hover { background: var(--panel-hi); text-decoration: none; }
.uchip img { width: 22px; height: 22px; border-radius: 3px; }
.uchip b { color: var(--race); }
.uchip.none { border-left-color: var(--rule-hi); color: var(--ink-dim); padding-left: 8px; font-weight: 500; }
.assumed { color: var(--protoss); font-weight: 700; margin-left: 2px; cursor: help; }

/* ---------- home ---------- */
.hero { padding: 44px 0 6px; }
.eyebrow { color: var(--protoss); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }
.hero .lead { font-size: 19px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.stats li { background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 14px; color: var(--ink-dim); font-size: 14px; }
.stats b { color: var(--ink); font-size: 20px; margin-right: 4px; font-variant-numeric: tabular-nums; }
.hero-cta { margin: 24px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--terran); color: #06101d; font-weight: 700; padding: 9px 16px; border-radius: 8px; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule-hi); }
.gcards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.gcard {
  display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--rule);
  border-top: 3px solid var(--race); color: var(--ink); height: 100%;
}
.gcard:hover { text-decoration: none; background: var(--panel-hi); }
.gc-t { font-size: 19px; font-weight: 700; }
.gc-s { color: var(--ink-dim); font-size: 14px; }
.gc-i { display: flex; gap: 6px; margin-top: 10px; }
.gc-i img { border-radius: 4px; }
.glist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.glist a { display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--rule); color: var(--ink); height: 100%; }
.glist a:hover { text-decoration: none; background: var(--panel-hi); }
.glist b { font-size: 17px; }
.glist span { color: var(--ink-dim); font-size: 14px; }

/* ---------- units index ---------- */
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 8px; }
@media (max-width: 480px) { .ugrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ucard {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 8px 10px 8px 8px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--rule);
  border-left: 3px solid var(--race); color: var(--ink); min-width: 0;
}
.ucard:hover { background: var(--panel-hi); text-decoration: none; }
.ucard img { grid-row: 1 / 3; border-radius: 4px; }
.uc-t { font-weight: 650; line-height: 1.25; align-self: end; overflow-wrap: anywhere; }
.uc-s { font-size: 13px; color: var(--ink-dim); align-self: start; }
.usec { margin-top: 30px; }
.usec h2 { color: var(--race); }
.usec h2 a { color: inherit; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; }
.filters .fl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin: 0 4px 0 8px; }
.filters .fl:first-child { margin-left: 0; }
.filters button {
  font: 550 14px var(--font); color: var(--ink-dim); background: var(--panel); border: 1px solid var(--rule-hi);
  border-radius: 999px; padding: 4px 12px; cursor: pointer;
}
.filters button[class^="r-"] { color: var(--race); }
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--panel-hi); border-color: var(--ink-faint); }
.filters button[class^="r-"][aria-pressed="true"] { border-color: var(--race); color: var(--race); }

/* ---------- unit page ---------- */
.uhead { display: flex; gap: 20px; align-items: center; margin: 18px 0 0; }
.uicon { flex: none; padding: 5px; border-radius: 12px; background: var(--panel); border: 1px solid var(--rule); border-bottom: 3px solid var(--race); }
.uicon img { display: block; width: 96px; height: 96px; border-radius: 7px; }
.uicon.ph img { outline-offset: 2px; }
.uhead h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.01em; }
.tags { margin: 0; }
.aka { margin: 4px 0 0; font-size: 14px; color: var(--ink-faint); }
@media (max-width: 480px) { .uhead { gap: 14px; } .uicon img { width: 72px; height: 72px; } }
.recipe { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.rplus { align-self: center; color: var(--ink-faint); font-size: 26px; font-weight: 300; }
.ing {
  position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; align-content: center;
  min-width: 230px; flex: 0 1 280px; padding: 10px 14px 10px 10px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--rule); border-left: 3px solid var(--race); color: var(--ink);
}
.ing:hover { background: var(--panel-hi); text-decoration: none; }
.ing img { grid-row: 1 / 5; border-radius: 6px; }
.ing-q { font-size: 22px; font-weight: 800; color: var(--race); line-height: 1.1; }
.ing-t { font-weight: 650; font-size: 17px; line-height: 1.25; }
.ing-s { font-size: 13px; color: var(--ink-dim); }
.ing .cond { justify-self: start; margin-top: 4px; }
@media (max-width: 560px) { .ing { flex: 1 1 100%; min-width: 0; } .rplus { flex: 1 1 100%; text-align: center; line-height: 0.6; } }
.feeds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.feeds li { display: flex; flex-direction: column; gap: 4px; }
.needs { font-size: 13px; color: var(--ink-dim); padding-left: 4px; }
.needs b { color: var(--ink); }
.tree-ctl { display: flex; gap: 6px; padding-bottom: 6px; }
.tree-ctl button { font: 550 13px var(--font); color: var(--ink-dim); background: transparent; border: 1px solid var(--rule-hi); border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.tree-ctl button:hover { color: var(--ink); background: var(--panel); }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { margin-left: 13px; padding-left: 14px; border-left: 1px solid var(--rule-hi); }
.tree li { margin: 0; }
.tree summary { list-style: none; cursor: pointer; display: flex; align-items: center; }
.tree summary::-webkit-details-marker { display: none; }
.tree summary::before {
  content: ""; flex: none; width: 0; height: 0; margin: 0 6px 0 -2px; border: 5px solid transparent; border-left: 7px solid var(--ink-faint);
  transform-origin: 3px 50%; transition: transform 0.12s;
}
.tree details[open] > summary::before { transform: rotate(90deg); }
.tree .leaf { padding-left: 13px; }
.tn { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; padding: 4px 0; min-height: 36px; }
.tn img { width: 28px; height: 28px; border-radius: 4px; border-bottom: 2px solid var(--race); }
.tn .q { color: var(--race); }
.tn a { color: var(--ink); font-weight: 550; }
.tn strong { font-size: 17px; }
.tn .t { font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.lead-s { margin: 0 0 12px; color: var(--ink-dim); }
.lead-s b { color: var(--ink); }
.totals { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 12px; }
.totals li { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--rule); padding: 2px 0; }
.totals .tq { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 17px; }
.src { margin-top: 26px; font-size: 13px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; border-top: 1px solid var(--rule); padding-top: 16px; }
.pager a { display: grid; gap: 1px; color: var(--ink); font-weight: 600; padding: 6px 0; }
.pager a span { font-size: 13px; color: var(--ink-faint); font-weight: 500; }
.pager .next { text-align: right; }

/* ---------- group page ---------- */
.ghead { margin: 12px 0 0; padding-bottom: 14px; border-bottom: 3px solid var(--race); }
.ghead h1 { color: var(--ink); }
.gtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.gtabs a { font-size: 14px; font-weight: 600; color: var(--race); border: 1px solid var(--rule-hi); border-radius: 999px; padding: 3px 12px; }
.gtabs a:hover { text-decoration: none; background: var(--panel); }
.gtabs a[aria-current] { background: var(--panel-hi); border-color: var(--race); }
.chainwrap { overflow-x: auto; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 10px; padding: 8px; }
.chain { display: block; width: 100%; min-width: 980px; height: auto; }
@media (min-width: 1260px) {
  .chainwrap { width: min(calc(100vw - 64px), 1540px); margin-left: 50%; transform: translateX(-50%); }
}
.ch-col { fill: var(--ink-faint); font: 700 11px var(--font); letter-spacing: 0.1em; }
.ch-edge path { fill: none; stroke: var(--rule-hi); stroke-width: 1.3; }
.ch-edge circle { fill: var(--race); }
.ch-q { fill: var(--race); font: 700 11.5px var(--font); }
.ch-c { fill: var(--ink-faint); font: 600 10.5px var(--font); }
.ch-node rect { fill: var(--panel); stroke: var(--race); stroke-width: 1.4; }
.ch-node.ext rect { fill: var(--bg); stroke: var(--rule-hi); stroke-width: 1; }
.ch-node text { fill: var(--ink); font: 650 13.5px var(--font); }
.ch-node.ext text { fill: var(--ink-dim); font-weight: 450; }
.ch-node .ph-mark { fill: none; stroke: var(--ink-faint); stroke-dasharray: 2 2; stroke-width: 1; }
.ch-node:hover rect, .ch-node:focus rect { fill: var(--panel-hi); }
.ch-node:focus { outline: none; }
.ch-node:focus rect { stroke: var(--protoss); stroke-width: 2; }
.chain.hl .ch-edge, .chain.hl .ch-node { opacity: 0.22; transition: opacity 0.12s; }
.chain.hl .on { opacity: 1; }
.chain.hl .ch-edge.on path { stroke: var(--race); stroke-width: 2; }
.band { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--race); margin: 22px 0 8px; }
.band span { color: var(--ink-faint); text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.grows { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.grow {
  display: grid; grid-template-columns: minmax(200px, 250px) 1fr minmax(150px, 220px); gap: 8px 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 12px 8px 8px;
}
.gu { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.gu:hover { text-decoration: none; }
.gu:hover b { text-decoration: underline; }
.gu img { border-radius: 4px; flex: none; border-bottom: 2px solid var(--race); }
.gu span { display: grid; }
.gu b { font-size: 16px; }
.gu small { color: var(--ink-dim); font-size: 12.5px; }
.gr .rin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.rpart { display: inline-flex; align-items: center; gap: 5px; }
.gf { font-size: 13.5px; color: var(--ink-dim); }
.gf .k { color: var(--ink-faint); text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; font-weight: 700; margin-right: 2px; }
@media (max-width: 860px) {
  .grow { grid-template-columns: 1fr; padding: 10px 12px; }
}

/* ---------- articles ---------- */
.article { margin-top: 26px; }
.article.has-toc { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: start; }
.toc { position: sticky; top: 80px; font-size: 14px; border-left: 1px solid var(--rule); padding-left: 16px; }
.toc p { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.toc a { color: var(--ink-dim); }
@media (max-width: 960px) { .article.has-toc { display: block; } .toc { display: none; } }
.prose { max-width: 78ch; }
.prose h1 { margin: 0; font-size: clamp(30px, 5vw, 40px); }
.prose h2 { margin: 38px 0 12px; font-size: 24px; text-transform: none; letter-spacing: 0; color: var(--ink); border: 0; padding: 0; display: block; }
.prose h3 { margin: 26px 0 10px; font-size: 18px; }
.prose p, .prose li { color: #cfd4df; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td, .data th, .data td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th, .data th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; margin: 14px 0; }
.data { border-collapse: collapse; width: 100%; font-size: 15px; }
.uses { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.uses li { margin: 0; }
.arrow { color: var(--ink-faint); margin: 0 3px; }
.admonition { border-left: 3px solid var(--terran); background: var(--panel-2); padding: 10px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }
.admonition.warning { border-left-color: var(--protoss); }
.admonition.question { border-left-color: var(--zerg); }
.admonition-title { font-weight: 700; margin: 0 0 4px; color: var(--ink) !important; }
.admonition p:last-child { margin-bottom: 0; }
.vsum { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vsum li { background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 12px; font-size: 14px; margin: 0; }
.vsum b { font-size: 18px; margin-right: 4px; color: var(--ink); }
.olist { display: grid; gap: 8px; }
.orecipe { background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--rule-hi); border-radius: var(--radius); padding: 10px 14px; }
.orecipe.st-same { border-left-color: #4caf7d; }
.orecipe.st-changed { border-left-color: var(--protoss); }
.orecipe.st-base { border-left-color: var(--terran); }
.orecipe.st-only { border-left-color: var(--neutral); }
.ohead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.status { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); }
.st-same .status { color: #5cc490; }
.st-changed .status { color: var(--protoss); }
.st-base .status { color: var(--terran); }
.st-only .status { color: var(--neutral); }
.vsum .st-same b { color: #5cc490; } .vsum .st-changed b { color: var(--protoss); } .vsum .st-base b { color: var(--terran); } .vsum .st-only b { color: var(--neutral); }
.oparts { margin-top: 6px; color: var(--ink-faint); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.onote { margin-top: 6px; font-size: 14px; color: var(--ink-dim); font-style: italic; }
.now { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--rule-hi); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; }
.now .k { color: var(--ink-faint); font-weight: 700; margin-right: 4px; }
.sets td:first-child { min-width: 260px; }
.artifacts li { margin: 3px 0; }
.downloads { list-style: none; padding: 0; display: grid; gap: 8px; }
.downloads li { margin: 0; }
.dl { display: grid; gap: 2px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; }
.dl:hover { background: var(--panel-hi); text-decoration: none; }
.dl-t { font-weight: 700; color: var(--ink); }
.dl-m { color: var(--ink-dim); font-size: 14px; }
.prose dl { margin: 14px 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.prose dt { font-weight: 700; color: var(--ink); }
.prose dd { margin: 0; color: #cfd4df; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 8px; } }
