:root {
  --bg: #07060f;
  --panel: rgba(13, 12, 30, 0.74);
  --panel-solid: #121029;
  --line: rgba(170, 160, 255, 0.18);
  --line-strong: rgba(170, 160, 255, 0.38);
  --text: #ecebff;
  --dim: #a3a1c8;
  --teal: #6ff5e0;
  --gold: #ffd36b;
  --violet: #b59bff;
  --energy: #ffd166;
  --matter: #f4845f;
  --insight: #7ad7f0;
  --aether: #d2b8ff;
  --good: #7ff0b0;
  --warn: #ffb35a;
  --bad: #ff6b6b;
  --radius: 12px;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); }
body { -webkit-tap-highlight-color: transparent; user-select: none; }
button { font: inherit; color: inherit; cursor: pointer; }
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; outline: none; }

/* ---------------------------------------------------------------- Top */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 60px; display: flex; align-items: center; gap: 16px;
  padding: 0 14px; pointer-events: none; z-index: 20;
  background: linear-gradient(180deg, rgba(7, 6, 15, 0.85), rgba(7, 6, 15, 0));
}
#topbar > * { pointer-events: auto; }
.civ { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.civ .home { color: var(--dim); text-decoration: none; font-size: 18px; padding: 4px 8px; border-radius: 8px; }
.civ .home:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
#rank-name { font-weight: 650; letter-spacing: 0.02em; font-size: 14px; }
#rank-type { color: var(--violet); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
#resources { flex: 1; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pill {
  display: flex; align-items: baseline; gap: 7px; padding: 7px 13px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px); min-width: 120px;
}
.pill .ico { font-size: 15px; }
.pill .amount { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; }
.pill .rate { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.pill.energy .ico { color: var(--energy); }
.pill.matter .ico { color: var(--matter); }
.pill.insight .ico { color: var(--insight); }
.pill.aether .ico, .pill.aether .amount { color: var(--aether); }
.pill.aether { cursor: pointer; }
.pill.aether.ready { border-color: var(--aether); box-shadow: 0 0 18px rgba(200, 160, 255, 0.45); animation: breathe 2s ease-in-out infinite; }
.pill.aether .rate { color: var(--aether); }
.tools { display: flex; gap: 6px; min-width: 90px; justify-content: flex-end; }
.tools button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  font-size: 16px; backdrop-filter: blur(8px);
}
.tools button:hover { border-color: var(--line-strong); }

/* ------------------------------------------------------------- Realms */
#realms {
  position: fixed; left: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 20;
}
.realm {
  position: relative; width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--panel); backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.realm .ico { font-size: 24px; line-height: 1; }
.realm .name { font-size: 10px; color: var(--dim); letter-spacing: 0.04em; }
.realm .lock { position: absolute; top: 3px; right: 5px; font-size: 10px; display: none; }
.realm.locked { opacity: 0.45; }
.realm.locked .lock { display: block; }
.realm.locked .ico { filter: grayscale(1); }
.realm:hover:not(.locked) { transform: translateX(3px); border-color: var(--line-strong); }
.realm.active { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset, 0 0 22px rgba(111, 245, 224, 0.25); }
.realm.active .name { color: var(--teal); }
.realm.glow { border-color: var(--aether); box-shadow: 0 0 22px rgba(200, 160, 255, 0.55); animation: breathe 2s ease-in-out infinite; }

/* -------------------------------------------------------------- Panel */
#panel {
  position: fixed; top: 68px; right: 14px; bottom: 14px; width: 360px; z-index: 15;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(12px);
  overflow-y: auto; padding: 16px 16px 20px; scrollbar-width: thin; scrollbar-color: rgba(170, 160, 255, 0.3) transparent;
}
body[data-realm="ascension"] #panel { display: none; }
#panel-toggle { display: none; }
#panel h2 { margin: 0; font-size: 21px; letter-spacing: 0.01em; }
#panel .sub { margin: 3px 0 12px; color: var(--violet); font-size: 13px; }
#panel p { margin: 8px 0; line-height: 1.45; font-size: 14px; }
.dim { color: var(--dim); }
.small { font-size: 12px !important; }
.good { color: var(--good); }
.warn { color: var(--warn); }
h3.section { margin: 20px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); font-weight: 600; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 12px 0; background: rgba(255, 255, 255, 0.025); }
.card h3 { margin: 0 0 4px; font-size: 15px; display: flex; justify-content: space-between; }
.card h3 b { color: var(--teal); }
.card.celestial { border-color: rgba(210, 184, 255, 0.5); box-shadow: 0 0 24px rgba(181, 155, 255, 0.15) inset; }
.stat { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(170, 160, 255, 0.08); font-size: 14px; }
.stat span:first-child { color: var(--dim); }
.choices { display: flex; flex-direction: column; gap: 8px; }

.act {
  display: flex; flex-direction: column; align-items: stretch; gap: 5px; width: 100%; text-align: left;
  margin: 8px 0 0; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035); transition: border-color 0.12s, background 0.12s, transform 0.08s;
}
.act .label { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.act .label small { font-weight: 400; color: var(--dim); font-size: 12px; line-height: 1.35; }
.act .gain { font-weight: 500; font-size: 12px; color: var(--good); }
.act.ok { border-color: rgba(111, 245, 224, 0.45); background: rgba(111, 245, 224, 0.07); }
.act.ok:hover { background: rgba(111, 245, 224, 0.14); border-color: var(--teal); }
.act.ok:active { transform: scale(0.985); }
.act:disabled { cursor: default; opacity: 0.72; }
.act.primary { background: linear-gradient(135deg, rgba(111, 245, 224, 0.25), rgba(181, 155, 255, 0.25)); }
.act.danger { border-color: rgba(255, 107, 107, 0.5); color: #ffb0b0; }
.act.ascend.ok { border-color: var(--aether); background: linear-gradient(135deg, rgba(210, 184, 255, 0.22), rgba(255, 211, 107, 0.16)); }
.act.ascend .label { font-size: 17px; align-items: center; }
.tag { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 211, 107, 0.18); color: var(--gold); margin-left: 4px; font-weight: 600; }
.cost { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; font-variant-numeric: tabular-nums; align-items: center; }
.c { white-space: nowrap; }
.c.energy { color: var(--energy); }
.c.matter { color: var(--matter); }
.c.insight { color: var(--insight); }
.c.no { opacity: 0.55; }
.eta { color: var(--dim); font-size: 11.5px; margin-left: auto; }
.link { background: none; border: none; color: var(--dim); font-size: 12px; padding: 10px 0 0; text-decoration: underline; }
.link:hover { color: var(--bad); }
.proj { padding: 10px 12px; border-radius: 11px; border: 1px dashed var(--line); margin: 8px 0 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.proj small { color: var(--dim); font-size: 12px; }
.proj.locked { opacity: 0.55; }
ul.plain { list-style: none; padding: 0; margin: 8px 0; font-size: 13.5px; line-height: 1.7; }
ul.rows { list-style: none; padding: 0; margin: 12px 0 0; }
.row {
  width: 100%; display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 9px;
  border: 1px solid transparent; background: none; font-size: 13.5px;
}
.row:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line); }
.row.ready span:last-child { color: var(--teal); }
.row.enroute span:last-child { color: var(--violet); }

/* ------------------------------------------------------------- Labels */
#labels, #floaters { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
#labels .label {
  position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 12px; padding: 3px 8px; border-radius: 999px;
  background: rgba(10, 9, 24, 0.66); border: 1px solid var(--line); color: var(--text); will-change: transform;
}
#labels .label b { color: var(--gold); font-weight: 700; }
#labels .label i { font-style: normal; color: var(--dim); margin-left: 3px; }
#labels .label.empty { color: var(--teal); border-color: rgba(111, 245, 224, 0.35); }
#labels .label.empty b { color: var(--teal); }
#labels .label.sel { border-color: var(--teal); box-shadow: 0 0 12px rgba(111, 245, 224, 0.4); }
#labels .label.hit { border-color: var(--bad); }
#labels .label.hit i { color: var(--bad); }
#labels .label.built i { color: var(--teal); }
#labels .label.ready { border-color: var(--teal); }
#labels .label.dim { opacity: 0.35 !important; }
#labels .label.star { font-size: 13px; }
#labels .label.pick { pointer-events: auto; cursor: pointer; }
#labels .label.pick:hover { border-color: var(--line-strong); background: rgba(30, 26, 60, 0.85); }
#labels .label.warn { background: rgba(80, 20, 10, 0.75); border-color: var(--warn); color: #ffd2a0; animation: breathe 0.8s ease-in-out infinite; }
.floater {
  position: absolute; transform: translate(-50%, -50%); font-weight: 800; font-size: 17px; pointer-events: none;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8); animation: rise 1.3s ease-out forwards;
}
.floater.energy { color: var(--energy); }
.floater.matter { color: var(--matter); }
@keyframes rise { 0% { opacity: 0; transform: translate(-50%, -30%) scale(0.8); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -260%) scale(1); } }
@keyframes breathe { 50% { filter: brightness(1.35); } }

/* --------------------------------------------------------------- Hint */
#hint {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 12; max-width: min(620px, calc(100vw - 520px));
  padding: 9px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px);
  font-size: 13.5px; text-align: center; pointer-events: none;
}
#hint:empty { display: none; }
#hint b { color: var(--teal); }

#toasts { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: min(560px, calc(100vw - 40px)); }
.toast {
  padding: 9px 16px; border-radius: 12px; background: rgba(16, 14, 36, 0.9); border: 1px solid var(--line);
  font-size: 13.5px; animation: toast-in 0.3s ease-out; transition: opacity 0.5s, transform 0.5s; text-align: center;
}
.toast.out { opacity: 0; transform: translateY(-8px); }
.toast.good { border-color: rgba(111, 245, 224, 0.5); }
.toast.warn { border-color: var(--warn); }
.toast.bad { border-color: var(--bad); }
.toast.rank { border-color: var(--gold); box-shadow: 0 0 22px rgba(255, 211, 107, 0.3); font-size: 15px; }
.toast.dim { color: var(--dim); }
.toast b { color: var(--teal); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

#fade { position: fixed; inset: 0; background: #05040c; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 40; }
#fade.on { opacity: 1; }
#fade.white { background: #fff8ee; transition: opacity 0.6s; }

/* ------------------------------------------------------------- Tree */
#tree-view { position: fixed; inset: 60px 0 0 0; z-index: 10; display: none; pointer-events: none; }
body[data-realm="ascension"] #tree-view { display: block; }
#tree-svg { position: absolute; left: 30%; top: 0; width: calc(70% - 390px); height: calc(100% - 64px); pointer-events: auto; overflow: visible; }
#tree-svg line { stroke: rgba(170, 160, 255, 0.16); stroke-width: 2; }
#tree-svg line.open { stroke: rgba(170, 160, 255, 0.35); stroke-dasharray: 6 6; }
#tree-svg line.lit { stroke: var(--gold); stroke-width: 2.5; filter: drop-shadow(0 0 4px rgba(255, 211, 107, 0.8)); }
.node { cursor: pointer; }
.node .halo { fill: transparent; stroke: transparent; }
.node .core { fill: #15132e; stroke: rgba(170, 160, 255, 0.4); stroke-width: 2; transition: fill 0.2s; }
.node text { text-anchor: middle; fill: var(--dim); font-size: 19px; }
.node .cost { fill: var(--text); font-weight: 700; font-size: 20px; }
.node .name { font-size: 18px; paint-order: stroke; stroke: rgba(7, 6, 15, 0.9); stroke-width: 5px; }
.node.locked { opacity: 0.4; }
.node.ready .core { stroke: var(--teal); fill: #123532; }
.node.ready .halo { stroke: rgba(111, 245, 224, 0.5); animation: pulse 1.6s ease-in-out infinite; }
.node.saving .core { stroke: rgba(210, 184, 255, 0.6); }
.node.owned .core { fill: #3a2e10; stroke: var(--gold); filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.8)); }
.node.owned .cost { fill: var(--gold); }
.node.owned .name { fill: var(--gold); }
.node.blocked .core { stroke: var(--warn); }
.node.cap .core { stroke-width: 3; }
.node.cap .name { font-size: 20px; font-weight: 700; fill: var(--aether); }
.node.sel .core { stroke-width: 3.5; stroke: #fff; }
.node:hover .core { stroke: #fff; }
@keyframes pulse { 50% { stroke-opacity: 0.1; } }
#tree-side { position: absolute; right: 14px; top: 8px; bottom: 14px; width: 360px; overflow-y: auto; pointer-events: auto; display: flex; flex-direction: column; gap: 0; }
#tree-side .card { background: var(--panel); backdrop-filter: blur(12px); margin: 0 0 12px; padding: 16px; border-radius: 16px; }
#tree-side h2 { margin: 0 0 6px; font-size: 19px; }
#tree-side p { font-size: 14px; line-height: 1.45; margin: 8px 0; }
.aether-big { font-size: 34px; font-weight: 800; color: var(--aether); text-shadow: 0 0 18px rgba(181, 155, 255, 0.6); }
.aether-big small { font-size: 14px; font-weight: 500; color: var(--dim); }
.aether-text { color: var(--aether); }

/* -------------------------------------------------------------- Modal */
#modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(4, 3, 10, 0.55); backdrop-filter: blur(4px); padding: 16px; }
#modal[hidden] { display: none; }
.modal-card {
  width: min(540px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: rgba(16, 14, 36, 0.95);
  border: 1px solid var(--line-strong); border-radius: 18px; padding: 24px; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(120, 100, 255, 0.15);
  animation: toast-in 0.3s ease-out;
}
.modal-card h2 { margin: 0 0 10px; font-size: 22px; }
.modal-card p { line-height: 1.55; font-size: 15px; }
.modal-buttons { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.modal-buttons .act { flex: 1; min-width: 140px; margin: 0; }
.modal-buttons .act .label { align-items: center; }
.story .logo { margin-bottom: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split h4 { margin: 8px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }

/* ------------------------------------------------------------ Loading */
.logo { font-size: 44px; font-weight: 800; letter-spacing: 0.06em; background: linear-gradient(90deg, #fff, #c9b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo span { background: linear-gradient(90deg, var(--teal), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#loading { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #17123a 0%, #07060f 70%); transition: opacity 0.8s; }
#loading.done { opacity: 0; pointer-events: none; }
.loading-card { text-align: center; }
.bar { width: 260px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); margin: 18px auto 12px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--violet)); transition: width 0.2s; }
#loading-text { color: var(--dim); }
.noscript { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; }

/* ------------------------------------------------------------- Mobile */
@media (max-width: 820px) {
  #topbar { height: auto; padding: 8px 10px; flex-wrap: wrap; gap: 6px; }
  .civ { min-width: 0; flex: 1; }
  #rank-name { font-size: 13px; }
  .tools { min-width: 0; }
  #resources { order: 3; flex-basis: 100%; gap: 6px; }
  .pill { min-width: 0; padding: 5px 10px; gap: 5px; }
  .pill .amount { font-size: 14px; }
  .pill .rate { font-size: 11px; }
  #realms { top: auto; bottom: 10px; left: 50%; transform: translateX(-50%); flex-direction: row; z-index: 22; }
  .realm { width: 58px; height: 52px; border-radius: 13px; }
  .realm .ico { font-size: 20px; }
  .realm:hover:not(.locked) { transform: none; }
  #panel { top: auto; left: 10px; right: 10px; bottom: 72px; width: auto; max-height: 44vh; padding-top: 26px; }
  #panel-toggle { display: block; position: absolute; top: 2px; left: 50%; transform: translateX(-50%); background: none; border: none; color: var(--dim); font-size: 16px; }
  body.panel-min #panel { max-height: 42px; overflow: hidden; }
  body.panel-min #panel-toggle { transform: translateX(-50%) rotate(180deg); }
  #hint { top: 104px; bottom: auto; max-width: calc(100vw - 20px); font-size: 12px; }
  #toasts { top: 140px; }
  #tree-view { inset: 96px 0 0 0; }
  body[data-realm="ascension"] #hint { display: none; }
  #tree-svg { left: 0; right: 0; width: 100%; top: 0; height: 52%; }
  #tree-side { left: 10px; right: 10px; width: auto; top: auto; bottom: 72px; max-height: 40%; }
  .split { grid-template-columns: 1fr; }
  .logo { font-size: 34px; }
}

/* Exploration, trade and the Celestial campaign. */
.activity-tabs { display:grid; grid-template-columns:repeat(6,1fr); gap:3px; margin:8px 0 18px; position:sticky; top:0; z-index:2; background:#100d20; padding:8px 0; }
.activity-tabs button { min-height:40px; padding:8px 1px; letter-spacing:-0.01em; border:1px solid #39304f; border-radius:8px; color:#c0b6db; background:#1a152b; font:inherit; font-size:11px; cursor:pointer; }
.activity-tabs button.active { color:#fff; border-color:#9b83f5; background:#38275c; }
.field { display:block; margin:14px 0; color:#c7bcdf; font-size:13px; text-transform:capitalize; }
.field select, .field input[type=range], .field input[type=color] { display:block; width:100%; margin-top:7px; }
.field select { padding:10px; color:#ece6ff; background:#201a32; border:1px solid #50416d; border-radius:8px; font:inherit; }
.field input { accent-color:#ad93ff; }
.field output { float:right; color:#fff; }
.card small, .good small { display:block; color:#b5aacb; font-size:11px; margin-top:5px; }
progress { width:100%; height:9px; accent-color:#95d8dc; border:0; border-radius:9px; overflow:hidden; }
progress::-webkit-progress-bar { background:#2b2441; } progress::-webkit-progress-value { background:linear-gradient(90deg,#8b78e9,#75e4c4); }
.chapter-list { padding-left:22px; line-height:2; font-size:13px; }
.chapter-list .current { color:#e0c7ff; }
.encounter { border-color:#4c6574; }
.policy-choices { display:grid; grid-template-columns:1fr 1fr; gap:5px; }
.policy-choices .act { font-size:11px; }
.card summary { cursor:pointer; padding:5px 0; font-size:13px; }
.card textarea { width:100%; min-height:210px; box-sizing:border-box; background:#0c0917; color:#c8b6e6; border:1px solid #403054; margin-top:12px; font-size:12px; padding:10px; }

.buy-amounts { display:flex; gap:8px; align-items:center; color:#bdb1d2; font-size:12px; margin:0 0 15px; }
.buy-amounts button { background:#201a32; color:#cdbfe5; border:1px solid #483761; border-radius:6px; padding:6px 14px; cursor:pointer; }
.buy-amounts button.active { background:#4b3475; color:white; border-color:#a28bdf; }
.card.steward.on { border-color: rgba(111, 245, 224, 0.55); box-shadow: 0 0 18px rgba(111, 245, 224, 0.12) inset; }
.steward-budget { margin: 8px 0; flex-wrap: wrap; }
.steward-budget button { padding: 5px 10px; }
.forged-card { border-color: rgba(201, 162, 255, 0.45); }
.stat.milestone b { color: #ffe08a; font-weight: 600; }
.realm[data-realm="galaxy"].glow { border-color: #7ff8ff; box-shadow: 0 0 22px rgba(127, 248, 255, 0.5); }
.label.phenomenon { border-color: rgba(127, 248, 255, 0.7); }
.card.mega.built { border-color: rgba(255, 224, 138, 0.45); }
#tree-trials .trial { border-top: 1px solid var(--line); padding: 10px 0 4px; }
#tree-trials .trial h3 { margin: 0; font-size: 15px; }
#tree-trials .trial p { margin: 4px 0; }
#tree-trials .trial.done { opacity: 0.75; }
#tree-trials progress, .trial-card progress { width: 100%; }
.card.trial-card { border-color: rgba(255, 179, 107, 0.5); }
#tree-starwright .trial { border-top: 1px solid var(--line); padding: 10px 0 4px; }
#tree-starwright .trial h3 { margin: 0; font-size: 15px; }
#tree-starwright .trial p { margin: 4px 0; }
svg.history { width: 100%; height: auto; display: block; background: rgba(0, 0, 0, 0.2); border-radius: 8px; }
svg.history .grid { stroke: rgba(170, 160, 255, 0.14); stroke-width: 1; }
svg.history .tick { fill: #a99fc4; font-size: 8px; text-anchor: end; paint-order: stroke; stroke: #0d0a1a; stroke-width: 3px; }
.legend { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 0; }
ol.chronicle { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
ol.chronicle li { display: grid; grid-template-columns: 58px 1fr; gap: 8px; font-size: 12.5px; padding: 5px 0; border-top: 1px solid var(--line); }
ol.chronicle .when { color: #8f86a8; font-variant-numeric: tabular-nums; }
