/* GEN0: a sketchbook. Warm paper, ink line drawings, handwritten notes. */
:root {
  --paper: #f7f6ef;
  --paper-2: #f0efe6;
  --ink: #30332b;
  --muted: #62665b;
  --faint: #6b6f63;
  --line: #d8d9ce;
  --accent: #526246;
  --wash: #dce5d2;
  --food: #6f8a4e;
  --energy: #b98d32;
  --materials: #8b6b55;
  --goods: #5b6f86;
  --llm: #6b5a98;
  --fallen: #a4483f;
  --display: Georgia, "Times New Roman", serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #23251f;
    --paper-2: #2a2c25;
    --ink: #e9e8de;
    --muted: #b5b8aa;
    --faint: #9a9e90;
    --line: #3d4037;
    --accent: #a9bc95;
    --wash: #313a2c;
    --food: #9dbb78;
    --energy: #dcb25d;
    --materials: #bf9b82;
    --goods: #93a8c2;
    --llm: #a996d6;
    --fallen: #df7d72;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 15px/1.6 var(--sans); }
:focus-visible { outline: 2px dashed var(--accent); outline-offset: 3px; border-radius: 4px; }
button, select, input { font: inherit; color: inherit; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 6px 12px; border-radius: 6px; }
.skip:focus { left: 12px; }

/* ---- nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
}
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 30px/1 var(--hand); letter-spacing: -0.01em; }
.wordmark svg { width: 30px; height: 30px; }
.wordmark svg path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wordmark svg .leaf { fill: var(--wash); }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav a { text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.wide .nav { max-width: none; }

/* ---- landing ---- */
.hero { max-width: 760px; margin: 0 auto; padding: 24px 24px 40px; text-align: center; }
.hero-art { width: min(340px, 80vw); height: auto; display: block; margin: 0 auto 8px; }
.hero h1 { font: 400 clamp(44px, 7vw, 76px)/1.05 var(--display); letter-spacing: -0.02em; margin: 8px 0 14px; }
.hero p.sub { font: 400 24px/1.3 var(--display); margin: 0 auto 22px; max-width: none; color: var(--ink); }
.hero p { color: var(--muted); max-width: 470px; margin: 0 auto; line-height: 1.75; }
.actions { display: flex; gap: 22px; justify-content: center; align-items: center; margin: 28px 0 0; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--ink); color: var(--paper); border: 0; border-radius: 6px;
  padding: 9px 16px; text-decoration: none; cursor: pointer; font-size: 15px;
}
.btn:hover { background: var(--accent); }
.btn.quiet { background: none; color: var(--ink); border: 1px solid var(--line); }
.btn.quiet:hover { border-color: var(--ink); }
.textlink { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.land-strip { max-width: 1180px; margin: 10px auto 0; padding: 0 24px; position: relative; }
.land-strip svg { width: 100%; height: auto; display: block; }
.note { font: 400 19px/1.3 var(--hand); color: var(--muted); }
.land-strip .note { position: absolute; }

.section { max-width: 1000px; margin: 0 auto; padding: 64px 24px; }
.section h2 { font: 400 40px/1.15 var(--display); letter-spacing: -0.01em; margin: 0 0 12px; text-align: center; }
.section > p.lead { color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 36px; line-height: 1.75; }
.doings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .doings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doings li { text-align: center; }
.doings svg { width: 88px; height: 72px; display: block; margin: 0 auto 6px; }
.doings h3 { font: 700 22px/1.2 var(--hand); margin: 0 0 4px; }
.doings p { margin: 0; color: var(--muted); font-size: 14px; }
.question { border-top: 1px solid var(--line); }
.verdicts { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; }
.verdicts li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.verdicts .who { font: 400 19px/1.35 var(--display); }
.verdicts .who small { display: block; font: 13px var(--sans); color: var(--muted); }
.verdicts .score { font: 700 22px var(--hand); text-align: right; }
.verdicts .score small { display: block; font: 13px var(--sans); color: var(--muted); font-weight: 400; }
.footer { text-align: center; padding: 40px 24px 60px; color: var(--faint); font-size: 13px; }

/* ---- sketch map (shared) ---- */
.land-wash { fill: var(--wash); opacity: 0.55; }
.land-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.doodle { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; opacity: 0.55; }
.doodle .canopy { fill: var(--paper); }
.region-name { font: 400 22px var(--hand); fill: var(--muted); text-anchor: middle; }
.ring { fill: none; stroke-width: 3.2; stroke-linecap: round; }
.ring.food { stroke: var(--food); } .ring.energy { stroke: var(--energy); } .ring.materials { stroke: var(--materials); }
.hut { cursor: pointer; }
.hut-body { fill: var(--paper); stroke: none; }
.hut-line { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hut.llm .hut-body { fill: color-mix(in srgb, var(--llm) 22%, var(--paper)); }
.hut.llm .hut-line { stroke: var(--llm); }
.hut.fallen .hut-line { stroke: var(--fallen); stroke-dasharray: 4 3; }
.hut.home .hut-body { fill: color-mix(in srgb, var(--accent) 38%, var(--paper)); }
.hut.home .hut-line { stroke: var(--accent); stroke-width: 2.2; }
.hut:hover .hut-line, .hut.chosen .hut-line { stroke-width: 2.6; }
.colony-name { font: 700 16px var(--hand); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.colony-name.fallen { fill: var(--fallen); }
.colony-pop { font: 400 12px var(--sans); fill: var(--muted); text-anchor: middle; pointer-events: none; }
.exodus { fill: none; stroke: var(--faint); stroke-width: 1.3; stroke-dasharray: 2 5; stroke-linecap: round; }
.exodus.llm { stroke: var(--llm); }

/* ---- app shell (atlas, play) ---- */
.app-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 0 24px 14px; border-bottom: 1px solid var(--line); }
.app-bar label { min-width: 0; max-width: 100%; }
.app-bar select {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; max-width: min(52ch, 100%);
}
.app-bar .facts { margin: 0; color: var(--muted); font-size: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); }
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); } .atlas { border-right: 0; border-bottom: 1px solid var(--line); } }
.atlas { padding: 12px 24px 28px; border-right: 1px solid var(--line); min-width: 0; }
.atlas > svg.map { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 13px; margin: 2px 0 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .note { font-size: 16px; }
.sw { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.sw.food { background: var(--food); } .sw.energy { background: var(--energy); } .sw.materials { background: var(--materials); }
.swatch-hut { width: 12px; height: 11px; display: inline-block; border: 1.6px solid var(--ink); border-radius: 2px 2px 1px 1px; }
.swatch-hut.llm { border-color: var(--llm); background: color-mix(in srgb, var(--llm) 22%, var(--paper)); }
.swatch-hut.fallen { border: 1.6px dashed var(--fallen); }

.clock { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.round {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper);
  display: grid; place-items: center; cursor: pointer;
}
.round svg { width: 14px; height: 14px; fill: var(--ink); }
.track { position: relative; }
.track input { width: 100%; accent-color: var(--accent); margin: 0; }
.marks { position: relative; height: 10px; margin-top: 2px; }
.marks i { position: absolute; top: 0; width: 2px; height: 8px; background: var(--faint); border-radius: 1px; }
.marks i.colony_collapse { background: var(--fallen); }
.day { font: 700 20px var(--hand); min-width: 12ch; text-align: right; }
.spark { width: 100%; height: 70px; display: block; margin-top: 10px; }
.spark .area { fill: var(--wash); opacity: 0.7; }
.spark .line { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.spark .cursor { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 3; }

.pane { min-width: 0; display: flex; flex-direction: column; }
.tabs { display: flex; gap: 6px; padding: 10px 24px 0; border-bottom: 1px solid var(--line); }
.tabs button {
  border: 0; background: none; padding: 6px 10px 8px; cursor: pointer; color: var(--muted);
  font: 400 19px var(--hand); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.panel { padding: 22px 26px 48px; overflow: auto; max-height: calc(100vh - 150px); }
@media (max-width: 980px) { .panel { max-height: none; } }
.panel h2 { font: 400 30px/1.15 var(--display); margin: 0 0 6px; letter-spacing: -0.01em; }
.panel h3 { font: 400 21px/1.3 var(--display); margin: 26px 0 6px; }
.panel h2.sub-head { font: 400 21px/1.3 var(--display); margin: 26px 0 6px; letter-spacing: 0; }
.lede { color: var(--muted); margin: 0 0 18px; max-width: 62ch; line-height: 1.7; }
.muted { color: var(--faint); }
.empty { color: var(--muted); max-width: 52ch; line-height: 1.7; }
.error { color: var(--fallen); }

.annal { list-style: none; margin: 0; padding: 0; }
.annal li { display: grid; grid-template-columns: 8.5ch 1fr; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.annal li.future { opacity: 0.38; }
.annal li.now .when { color: var(--accent); font-weight: 700; }
.when {
  border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
  font: 400 17px/1.4 var(--hand); color: var(--muted);
}
.when:hover { color: var(--ink); text-decoration: underline; }
.annal p { margin: 0; font: 16px/1.55 var(--display); max-width: 64ch; }
.house-card { padding: 12px 0 14px; border-top: 1px dashed var(--line); }
.house-card h3 { margin-top: 4px; }
.house-card p { margin: 2px 0; max-width: 64ch; }
blockquote { margin: 8px 0; padding: 0 0 0 14px; border-left: 2px solid var(--llm); font: italic 16px/1.55 var(--display); color: var(--muted); }
.voice { font: 15px/1.5 var(--display); margin: 4px 0; }

.split { display: grid; grid-template-columns: minmax(170px, 0.8fr) minmax(0, 1.6fr); gap: 22px; }
@media (max-width: 1240px) { .split { grid-template-columns: 1fr; } }
.house-list { list-style: none; margin: 0; padding: 0; max-height: 70vh; overflow: auto; }
.house-list button {
  width: 100%; border: 0; background: none; text-align: left; padding: 5px 8px; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 8px; border-radius: 6px;
}
.house-list button:hover { background: var(--paper-2); }
.house-list button[aria-current="true"] { background: var(--wash); }
.house-list .name { font: 700 18px var(--hand); }
.house-list .name.llm { color: var(--llm); }
.house-list .n { color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; align-self: center; }
.tree, .tree ul { list-style: none; margin: 0; padding-left: 16px; }
.tree { padding-left: 0; }
.tree ul { border-left: 1px dashed var(--line); margin-left: 6px; }
.tree summary { cursor: pointer; }
.person { border: 0; background: none; padding: 2px 4px; cursor: pointer; text-align: left; font-size: 14px; border-radius: 4px; }
.person:hover { background: var(--paper-2); }
.person .job { font-weight: 600; }
.person .fate { color: var(--faint); }
.person .fate.starvation { color: var(--fallen); }
.person.alive .job::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--food); margin-right: 5px; vertical-align: middle; }

.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 2px; }
.chart-head h3 { margin: 0; }
.keys { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.keys span { display: inline-flex; align-items: center; gap: 5px; }
.chart { width: 100%; height: 170px; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.chart text { font: 11px var(--sans); fill: var(--faint); font-variant-numeric: tabular-nums; }
.chart .series { fill: none; stroke-width: 1.7; stroke-linejoin: round; }
.chart .cursor { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 3; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; }
.chips button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 3px 12px; cursor: pointer; font-size: 14px;
}
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips button.fallen { color: var(--fallen); }
.chips button.fallen[aria-pressed="true"] { background: var(--fallen); color: var(--paper); border-color: var(--fallen); }

.facts-list { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 10px 0 0; }
.facts-list dt { color: var(--faint); }
.facts-list dd { margin: 0; }
.link { border: 0; background: none; padding: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.link:hover { text-decoration-color: var(--ink); }
.params { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.params td { padding: 4px 0; border-top: 1px dashed var(--line); }
.params td:last-child { text-align: right; }
.life { list-style: none; margin: 0; padding: 0; }
.life li { display: grid; grid-template-columns: 8.5ch 1fr; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.life li.thought p { font: 15px/1.55 var(--display); }
.life li.thought .what { color: var(--llm); font: 700 16px var(--hand); }
.life p { margin: 0; }

/* ---- play ---- */
.ended { margin: 0; padding: 12px 24px; border-bottom: 1px dashed var(--fallen); color: var(--fallen); font: 400 20px/1.4 var(--hand); }
.colony-title { font: 700 26px/1.2 var(--hand); margin: 8px 0 2px; }
.side-head { font: 400 21px/1.3 var(--display); margin: 18px 0 6px; }
.lede.tight { margin-bottom: 6px; }
code { font-size: 15px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.purse { display: flex; gap: 26px; flex-wrap: wrap; align-items: baseline; margin: 4px 0 6px; }
.purse .coin { font: 700 34px/1 var(--hand); }
.purse .coin small { font: 400 14px var(--sans); color: var(--muted); margin-left: 6px; }
.holdings { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.market { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.market th { text-align: left; font: 400 13px var(--sans); color: var(--faint); padding: 0 6px 6px 0; }
.market td { padding: 8px 6px 8px 0; border-top: 1px dashed var(--line); vertical-align: middle; }
.market .res { font: 700 18px var(--hand); }
.market .res i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.market input { width: 6.5ch; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.market .go { display: flex; gap: 6px; }
.market .go button { padding: 4px 10px; font-size: 13px; }
.up { color: var(--food); } .down { color: var(--fallen); }
.feed { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.feed li { display: grid; grid-template-columns: 8.5ch 1fr; gap: 10px; padding: 5px 0; border-top: 1px dashed var(--line); }
.feed .t { font: 400 15px var(--hand); color: var(--faint); }
.feed li.mine { color: var(--accent); }
.toast { min-height: 1.6em; margin: 6px 0 0; font: 400 17px var(--hand); color: var(--accent); }
.toast.bad { color: var(--fallen); }
.speed { display: flex; gap: 6px; align-items: center; }

/* ---- live ---- */
.live-head { display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; padding: 0 24px 14px; border-bottom: 1px solid var(--line); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fallen); margin: 0; align-self: center;
  animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.live-when { font: 700 30px/1.1 var(--hand); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font: 700 30px/1.1 var(--hand); }
.stats span { color: var(--muted); font-size: 13px; }
.almanac, .colonies { list-style: none; margin: 0; padding: 0; }
.almanac li { padding: 5px 0; border-top: 1px dashed var(--line); font: 15px/1.5 var(--display); }
.colonies li { display: grid; grid-template-columns: 11ch minmax(0, 1fr); gap: 10px; padding: 5px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.colonies .name { font: 700 17px var(--hand); }
.colonies li.fallen { color: var(--fallen); }

/* ---- small screens ---- */
@media (max-width: 640px) {
  .nav { padding: 16px 16px; gap: 12px; flex-wrap: wrap; }
  .nav ul { gap: 16px; flex-wrap: wrap; }
  .wordmark { font-size: 26px; }
  .hero { padding: 12px 16px 28px; }
  .hero p.sub { font-size: 20px; }
  .section { padding: 44px 16px; }
  .section h2 { font-size: 32px; }
  .land-strip { padding: 0 8px; }
  .land-strip .note { position: static; margin: 0 8px 4px; font-size: 16px; }
  .verdicts li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .verdicts .score { text-align: left; }
  .app-bar, .atlas { padding-left: 16px; padding-right: 16px; }
  .tabs { padding: 8px 12px 0; overflow-x: auto; }
  .panel { padding: 18px 16px 40px; }
  .annal li, .life li, .feed li { grid-template-columns: 6.5ch minmax(0, 1fr); gap: 8px; }
  .market { display: block; overflow-x: auto; }
  .day { font-size: 17px; min-width: 9ch; }
  .live-head { padding: 0 16px 12px; }
  .live-when { font-size: 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* placing arms and portraits in the atlas */
.mini-arms { display: inline-block; width: 20px; flex: none; margin-right: 7px; }
.house-list .name { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.house-card.with-arms { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
.house-card.with-arms > :not(.arms-slot) { grid-column: 2; }
.house-card.with-arms > .arms-slot { grid-row: 1 / span 6; padding-top: 4px; }
.arms-slot { width: 64px; }
.arms-slot.big { width: 96px; flex: none; }
.house-head { display: flex; gap: 16px; align-items: flex-start; }
.house-head h3 { margin-top: 4px; }
.person-head { display: flex; gap: 16px; align-items: flex-end; margin: 6px 0 4px; }
.portrait-slot { width: 120px; border: 1.5px solid var(--ink); border-radius: 50% 50% 8px 8px; padding: 8px 8px 0; background: var(--wash); overflow: hidden; }

/* ---- heraldry: arms and portraits (sim/viewer/static/heraldry.js) ---- */
.arms, .portrait { display: block; overflow: visible; }
.h-field { fill: var(--paper); }
.h-tint { fill: color-mix(in srgb, var(--tincture) 42%, var(--paper)); }
.h-tint.light { fill: color-mix(in srgb, var(--tincture) 18%, var(--paper)); }
.h-hatch { stroke: color-mix(in srgb, var(--tincture) 70%, var(--ink)); stroke-width: 0.7; opacity: 0.35; }
.h-edge { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.h-edge.inner { stroke-width: 0.9; opacity: 0.6; }
.h-ink { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h-ink.h-fill { fill: var(--paper); }
.h-ink.h-grain { fill: color-mix(in srgb, var(--energy) 45%, var(--paper)); stroke-width: 1.1; }
.h-ink.h-band { stroke-width: 3; stroke: var(--materials); }
.h-ink.h-gold { fill: color-mix(in srgb, var(--energy) 55%, var(--paper)); }
.h-star { fill: var(--llm); stroke: var(--ink); stroke-width: 0.8; }
.h-ribbon { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.h-name { font: 700 11px var(--hand); fill: var(--ink); }
.p-ink { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-ink.thin { stroke-width: 1.1; opacity: 0.7; }
.p-skin { fill: var(--skin); }
.p-hair { fill: var(--hair); }
.p-tunic { fill: color-mix(in srgb, var(--tunic) 45%, var(--paper)); }
.p-eye { fill: var(--ink); }
.p-blush { fill: #e8a8a0; opacity: 0.45; }
.p-straw { fill: #e6cf8f; }
.p-helmet { fill: color-mix(in srgb, var(--materials) 55%, var(--paper)); }
.p-lamp { fill: #f3d36b; }
.p-goggle { fill: color-mix(in srgb, var(--goods) 35%, var(--paper)); }
.p-cap { fill: color-mix(in srgb, var(--goods) 45%, var(--paper)); }
.p-hood { fill: color-mix(in srgb, var(--fallen) 40%, var(--paper)); }
.portrait.dead { filter: grayscale(1) sepia(0.35); opacity: 0.6; }
