/* Life OS – Gestaltung. Ruhiges Petrol, Papier, ein rotes Siegel für Fristen und Urkunden. */
:root {
  --paper: #f2f4f1;
  --surface: #ffffff;
  --sunken: #e8ece8;
  --ink: #16232b;
  --muted: #5b6870;
  --line: #d6ddd9;
  --petrol: #0f5c63;
  --petrol-ink: #ffffff;
  --petrol-soft: #dceceb;
  --seal: #b33a2e;
  --seal-soft: #f6e3e0;
  --ok: #2f7a4a;
  --ok-soft: #e0f0e5;
  --warn: #9a6210;
  --warn-soft: #f7ecd9;
  --radius: 14px;
  --radius-s: 9px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tabbar-h: 68px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1417;
    --surface: #152025;
    --sunken: #1b282e;
    --ink: #e5ebe8;
    --muted: #96a4a9;
    --line: #26353b;
    --petrol: #56b6bb;
    --petrol-ink: #06262a;
    --petrol-soft: #16363a;
    --seal: #e2725f;
    --seal-soft: #3a1f1b;
    --ok: #6cc28a;
    --ok-soft: #173126;
    --warn: #e0a64a;
    --warn-soft: #33271a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.5 var(--sans); font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--petrol); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; }
h1 { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; }
code { font-size: 0.92em; background: var(--sunken); padding: 1px 5px; border-radius: 5px; word-break: break-all; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
:focus-visible { outline: 2.5px solid var(--petrol); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 10px; }

/* ---------- Grundgerüst ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--seal); margin-right: 8px; vertical-align: 2px; }
#view { max-width: 640px; margin: 0 auto; padding: 4px 16px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 28px); outline: none; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-around;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line);
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 11.5px; padding: 6px 0; }
.tabbar a.active { color: var(--petrol); font-weight: 600; }
.tabbar svg, .icon-btn svg, .ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.capture-btn {
  width: 58px; height: 58px; margin: -26px 6px 0; border-radius: 50%; border: 4px solid var(--paper);
  background: var(--petrol); color: var(--petrol-ink); display: grid; place-items: center; cursor: pointer; flex: none;
}
.capture-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--sunken); }

/* ---------- Seitenkopf ---------- */
.page-head { display: flex; align-items: flex-end; gap: 12px; margin: 10px 0 18px; }
.page-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 14px; margin-top: 8px; }

/* ---------- Abschnitte und Listen ---------- */
.section { margin: 0 0 26px; }
.section-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; }
.section-title h2 { font-size: 16px; }
.section-title a, .section-title button.link { margin-left: auto; font-size: 14px; }
.panel { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.panel.pad { padding: 14px 16px; }
.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list > li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); min-height: 52px; }
.list > li:first-child { border-top: 0; }
.list > li.clickable { cursor: pointer; }
.list > li.clickable:hover { background: var(--sunken); }
.list .main { flex: 1; min-width: 0; }
.list .title { display: block; overflow: hidden; text-overflow: ellipsis; }
.list .meta { display: block; color: var(--muted); font-size: 13.5px; }
.list .amount { font-weight: 600; white-space: nowrap; }
.empty { padding: 18px 16px; color: var(--muted); text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .btn { margin-top: 10px; }

.pos { color: var(--ok); }
.neg { color: var(--ink); }
.due-over { color: var(--seal); font-weight: 600; }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; background: var(--sunken); color: var(--muted); white-space: nowrap; border: 0; font-family: inherit; }
.chip.petrol { background: var(--petrol-soft); color: var(--petrol); }
.chip.seal { background: var(--seal-soft); color: var(--seal); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
button.chip { cursor: pointer; }
button.chip.on { background: var(--petrol); color: var(--petrol-ink); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.scroller { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }

/* ---------- Formulare ---------- */
label { display: block; font-size: 14px; color: var(--muted); margin: 0 0 12px; }
label > input, label > select, label > textarea { margin-top: 5px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 11px 12px; min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px var(--petrol-soft); }
input[type=checkbox] { width: 22px; height: 22px; min-height: 0; accent-color: var(--petrol); margin: 0; flex: none; }
input[type=range] { padding: 0; border: 0; accent-color: var(--petrol); background: transparent; min-height: 30px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 8px; }
.check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; }
.error { background: var(--seal-soft); color: var(--seal); padding: 10px 12px; border-radius: var(--radius-s); font-size: 14px; }
.warn { background: var(--warn-soft); color: var(--warn); padding: 10px 12px; border-radius: var(--radius-s); font-size: 14px; }
.hint { background: var(--petrol-soft); color: var(--ink); padding: 10px 12px; border-radius: var(--radius-s); font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px;
  min-height: 46px; padding: 10px 18px; border-radius: 99px; border: 1px solid transparent; cursor: pointer;
  background: var(--petrol); color: var(--petrol-ink); text-decoration: none; white-space: nowrap;
}
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--petrol); padding: 8px 10px; min-height: 40px; }
.btn.danger { background: var(--seal-soft); color: var(--seal); }
.btn.small { min-height: 36px; padding: 6px 13px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn .ic { width: 20px; height: 20px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
button.link { background: none; border: 0; color: var(--petrol); font: inherit; cursor: pointer; padding: 0; }

/* ---------- Heute ---------- */
.greeting { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin: 14px 0 4px; }
.dateline { color: var(--muted); margin-bottom: 18px; }
.focus {
  background: var(--petrol); color: var(--petrol-ink); border-radius: 18px; padding: 16px 18px; margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.focus .ic { width: 30px; height: 30px; flex: none; }
.focus strong { display: block; font-size: 17px; }
.focus span { opacity: 0.85; font-size: 14px; }
.focus.seal { background: var(--seal); color: #fff; }
.quick { display: flex; gap: 8px; margin-bottom: 22px; }
.quick input { flex: 1; border-radius: 99px; padding-left: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; text-decoration: none; color: inherit; display: block; }
.stat .label { font-size: 13px; color: var(--muted); display: block; }
.stat .value { font-size: 22px; font-weight: 650; display: block; margin: 2px 0 6px; }
.stat .value small { font-size: 13px; font-weight: 400; color: var(--muted); }
.bar { height: 6px; border-radius: 9px; background: var(--sunken); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 9px; background: var(--petrol); }
.bar.over > i { background: var(--seal); }
.bar.ok > i { background: var(--ok); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 12px 12px; font-size: 14.5px; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--petrol); }
.timeline li.t-urkunde::before { border-color: var(--seal); }
.timeline .when { color: var(--muted); font-size: 12.5px; display: block; }
.timeline a { color: inherit; text-decoration: none; }

/* ---------- Ringe (Ernährung) ---------- */
.rings { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 8px; align-items: center; text-align: center; }
.ring { position: relative; }
.ring svg { width: 100%; height: auto; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--sunken); }
.ring .fill { stroke: var(--petrol); stroke-linecap: round; transition: stroke-dashoffset 0.5s; }
.ring.over .fill { stroke: var(--seal); }
.ring .in { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1.1; }
.ring .in b { font-size: 16px; }
.ring.big .in b { font-size: 21px; }
.ring .in small { font-size: 10.5px; color: var(--muted); }
.ring-label { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Training ---------- */
.set-table { width: 100%; border-collapse: collapse; }
.set-table th { font-size: 12.5px; color: var(--muted); font-weight: 500; text-align: left; padding: 4px 4px; }
.set-table td { padding: 4px; }
.set-table input { min-height: 42px; padding: 8px; text-align: center; }
.set-table tr.done input { background: var(--ok-soft); border-color: transparent; }
.set-no { width: 34px; color: var(--muted); text-align: center; }
.done-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.done-btn.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.done-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ex-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 8px; margin-bottom: 12px; }
.ex-card header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.ex-card header h3 { flex: 1; }
.rest-timer {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 14px); z-index: 35;
  background: var(--ink); color: var(--paper); border-radius: 99px; padding: 10px 18px; display: flex; gap: 14px; align-items: center; font-weight: 600;
}
.rest-timer button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.plan-item { display: grid; grid-template-columns: 1fr 58px 58px 70px 34px; gap: 6px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.plan-item:first-child { border-top: 0; }
.plan-item input { min-height: 40px; padding: 6px; text-align: center; }
.plan-item .name { font-size: 15px; line-height: 1.25; }
.plan-head { display: grid; grid-template-columns: 1fr 58px 58px 70px 34px; gap: 6px; font-size: 12px; color: var(--muted); }

/* ---------- Diagramme ---------- */
.chart { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--petrol); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .line2 { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .dot { fill: var(--surface); stroke: var(--petrol); stroke-width: 2; }
.chart text { fill: var(--muted); font-size: 19px; font-family: var(--sans); }
.chart .barv { fill: var(--petrol); }
.chart .barv.alt { fill: var(--sunken); }
.chart .goal { stroke: var(--seal); stroke-width: 1.2; stroke-dasharray: 3 3; }

/* ---------- Finanzen ---------- */
.money-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.cat-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.cat-row:first-child { border-top: 0; }
.cat-row .bar { grid-column: 1 / -1; }
.hours { font-size: 12.5px; color: var(--muted); }

/* ---------- Urkundenrolle ---------- */
.deed-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 18px 18px 14px; margin-bottom: 14px; position: relative;
  font-family: var(--serif); box-shadow: 0 1px 0 var(--line), 0 3px 0 -1px var(--surface), 0 4px 0 -1px var(--line);
}
.deed-card .ur { margin-right: 66px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.deed-card h3 { font-family: var(--serif); font-size: 19px; margin: 4px 70px 10px 0; }
.deed-card .content { white-space: pre-wrap; line-height: 1.6; }
.deed-card .cond { margin-top: 8px; font-style: italic; color: var(--muted); }
.deed-card .facts { font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.deed-card .amend { font-family: var(--sans); font-size: 14px; border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 8px; }
.deed-card .amend p { margin: 0 0 6px; }
.deed-card .actions { font-family: var(--sans); margin-top: 12px; }
.seal-mark {
  position: absolute; top: 14px; right: 14px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font: 600 10px/1.1 var(--sans); color: #fff; background: var(--seal);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--seal); transform: rotate(-8deg);
}
.seal-mark.open { background: transparent; color: var(--seal); box-shadow: inset 0 0 0 2px var(--seal); }
.seal-mark.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ok); }
.seal-mark.grey { background: var(--muted); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--muted); }

/* ---------- Sonntagsbrief ---------- */
.letter {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 26px 22px; font-family: var(--serif);
  font-size: 17px; line-height: 1.7; white-space: pre-wrap;
}
.letter .head { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 14px; white-space: normal; }

/* ---------- Mehr ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; min-height: 104px; }
.tile .ic { color: var(--petrol); }
.tile strong { font-size: 15.5px; }
.tile span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.tile.seal .ic { color: var(--seal); }

/* ---------- Kalender ---------- */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid .dow { font-size: 12px; color: var(--muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1 / 1; border-radius: 10px; border: 0; background: transparent; font: inherit; color: var(--ink); cursor: pointer; position: relative; display: grid; place-items: center; }
.cal-day.other { color: var(--muted); opacity: 0.5; }
.cal-day.today { font-weight: 700; color: var(--petrol); box-shadow: inset 0 0 0 1.5px var(--petrol); }
.cal-day.sel { background: var(--petrol); color: var(--petrol-ink); }
.cal-day .dots { position: absolute; bottom: 5px; display: flex; gap: 2px; }
.cal-day .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--petrol); }
.cal-day .dots i.deadline, .cal-day .dots i.deed { background: var(--seal); }
.cal-day.sel .dots i { background: var(--petrol-ink); }
.kind-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--petrol); flex: none; }
.kind-dot.deadline, .kind-dot.deed { background: var(--seal); }
.kind-dot.task { background: var(--warn); }

/* ---------- Bottom Sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(8, 16, 20, 0.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; background: var(--paper); border-radius: 20px 20px 0 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); animation: up 0.22s ease-out;
}
.sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.sheet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sheet-head h2 { flex: 1; }
@keyframes up { from { transform: translateY(30px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } .ring .fill { transition: none; } }

/* ---------- Erfassen ---------- */
.mic-big {
  width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--petrol); color: var(--petrol-ink);
  display: grid; place-items: center; margin: 6px auto 14px; cursor: pointer;
}
.mic-big svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mic-big.rec { background: var(--seal); animation: pulse 1.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--seal) 45%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }
@media (prefers-reduced-motion: reduce) { .mic-big.rec { animation: none; } }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px); transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; font-size: 14.5px; z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: calc(100% - 32px);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--seal); color: #fff; }

/* ---------- Anmeldung ---------- */
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 20px 16px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; }
.auth-card .brand { display: block; font-size: 26px; margin-bottom: 18px; }
.auth-card h2 { font-size: 18px; margin-bottom: 10px; }
.auth-card form { margin-top: 14px; }
.auth-card .btn { width: 100%; margin-top: 6px; }
.qr { width: 220px; max-width: 100%; margin: 10px auto 14px; background: #fff; padding: 6px; border-radius: 10px; }
.qr svg { display: block; width: 100%; height: auto; }
.secret { font-size: 15px; letter-spacing: 0.06em; }
.passkey-btn { height: 64px; font-size: 17px; }
.passkey-btn .ic { width: 28px; height: 28px; }

.loading { padding: 40px 0; text-align: center; color: var(--muted); }
.loading::after { content: ""; display: block; width: 26px; height: 26px; margin: 12px auto 0; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--petrol); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
