/* 40 Teile – „Umzugskarton“: Packpapier, Kraftkarton, gelbes Klebeband, Grün für „weg damit“. Gerüst: /shared/app-page.css */
@font-face { font-family: "Anton"; src: url("/vierzigteile/fonts/Anton-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/vierzigteile/fonts/Karla-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/vierzigteile/fonts/Karla-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #f4ecdf; --surface: #fffbf4; --sunken: #ecdfca;
  --ink: #2a211a; --ink-soft: #6b5c4e; --ink-faint: #9a8a78; --line: #e2d3be;
  --accent: #2b7f5a; --on-accent: #ffffff; --accent-strong: #1f6446;
  --panel: #2a211a; --panel-ink: #f4ecdf; --panel-ink-soft: #f2c14e; --panel-line: #43382d;
  --good: #2b7f5a; --signal: #d25a35; --soon: #f2c14e; --overdue: #d25a35; --credit: #2b7f5a;
  --sage: #f6e3b0; --marker: #f2c14e;
  --display: "Anton", system-ui, sans-serif; --ui: "Karla", system-ui, sans-serif;
  --display-weight: 400; --display-tracking: 0.01em;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1814; --surface: #2a241e; --sunken: #15120f;
    --ink: #f3eadd; --ink-soft: #bfaf9c; --ink-faint: #8f8070; --line: #43382d;
    --accent: #52c28e; --on-accent: #1c1814; --accent-strong: #74d6a7;
    --panel: #2a241e; --panel-line: #43382d; --sage: #3a2f14;
  }
}
.mosaik { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 360px; }
.mosaik span { aspect-ratio: 1; border-radius: 8px; display: flex; align-items: flex-end; padding: 4px;
  font-family: var(--ui); font-weight: 800; font-size: clamp(9px, 2.2vw, 11px); line-height: 1.1; color: #fff; overflow: hidden; }
.mosaik .c { background: #d25a35; } .mosaik .g { background: #2b7f5a; } .mosaik .b { background: #3a76ab; }
.mosaik .y { background: #f2c14e; color: #2a211a; }
.mosaik .n { background: #f2c14e; position: relative; }
.mosaik .n::after { content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 28px; color: #2a211a; }
.mosaik .e { background: rgba(200, 147, 95, .12); border: 1.5px dashed #c8935f; }
