:root {
  --bg: #f5f6f2;
  --surface: #ffffff;
  --text: #1c1f1c;
  --muted: #6b716b;
  --line: #e3e6df;
  --accent: #2e7d32;
  --accent-soft: #e3f1e3;
  --danger: #c62828;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141614;
    --surface: #1f231f;
    --text: #eef0ec;
    --muted: #9aa19a;
    --line: #2e332e;
    --accent: #66bb6a;
    --accent-soft: #233a24;
    --danger: #ef6c6c;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a, .item { touch-action: manipulation; }
[hidden] { display: none !important; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.top-text { flex: 1; min-width: 0; }
.top h1 { font-size: 28px; margin: 0; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-switch {
  border: 0; background: none; padding: 0; margin: 0 0 1px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hh-switch .caret { font-size: 10px; }
.conn { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.conn::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.conn.on::before { background: #43a047; box-shadow: 0 0 0 3px color-mix(in srgb, #43a047 25%, transparent); }
.conn.off { color: var(--danger); }
.conn.off::before { background: var(--danger); }

main { max-width: 640px; margin: 0 auto; padding: 0 16px; }

/* Eingabe */
.add { display: flex; gap: 8px; margin: 4px 0 8px; }
.add input, .search-row input {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  outline: none;
}
.add input:focus, .search-row input:focus, .sheet-form input:focus, .recipe-form input:focus,
.recipe-form textarea:focus, .sheet-form select:focus { border-color: var(--accent); }
.add button {
  width: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

/* Liste */
h2.cat { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 18px 4px 6px; font-weight: 600; }
.items { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 6px 8px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.item:last-child { border-bottom: 0; }
.item:active { background: var(--accent-soft); }
.check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.12s, border-color 0.12s;
}
.item.done .check, .item.sel .check { background: var(--accent); border-color: var(--accent); }
.item.done .check::after, .item.sel .check::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.qty { color: var(--muted); font-size: 15px; white-space: nowrap; }
.item.done .name, .item.done .qty { color: var(--muted); text-decoration: line-through; }
.item.checking .check { background: var(--accent); border-color: var(--accent); }
.item.checking .check::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.item.checking .name, .item.checking .qty { color: var(--muted); text-decoration: line-through; }
.item.checking { opacity: 0.6; transition: opacity 0.3s; }
.done-hint { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.item.off .name, .item.off .qty { color: var(--muted); }
.more { border: 0; background: none; color: var(--muted); font-size: 22px; width: 44px; height: 48px; border-radius: 10px; }
/* Wer hat's eingetragen */
.by-wrap { display: inline-flex; flex: none; }
.by {
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff; border: 2px solid var(--surface);
}
.by + .by { margin-left: -7px; }
.item.done .by { opacity: 0.5; }
.by-c0 { background: #2e7d32; } .by-c1 { background: #1565c0; } .by-c2 { background: #c62828; } .by-c3 { background: #6a1b9a; }
.by-c4 { background: #ef6c00; } .by-c5 { background: #00838f; } .by-c6 { background: #ad1457; } .by-c7 { background: #4e342e; }
.by-c8 { background: #5d4037; } .by-c9 { background: #283593; } .by-c10 { background: #558b2f; } .by-c11 { background: #d84315; }
.by-info { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; }
.sort-hint { margin: 6px 4px -8px; font-size: 13px; color: var(--accent); text-align: right; }
.sort-choice { border: 0; padding: 0; margin: 16px 0 0; }
.sort-choice legend { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 6px; }
.sheet-form label.radio-row {
  display: flex; align-items: center; gap: 12px; margin-top: 8px; min-height: 56px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: 16px;
}
.sheet-form label.radio-row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.sheet-form .radio-row input { display: inline-block; width: 22px; height: 22px; margin: 0; padding: 0; flex: none; accent-color: var(--accent); }
.radio-row span { display: flex; flex-direction: column; gap: 2px; }
.radio-row small { font-size: 13px; color: var(--muted); }
/* Geschenkelisten: „Wer darf die Liste sehen?“ */
.gift-vis-people { margin: 6px 0 0 14px; padding-left: 10px; border-left: 2px solid var(--line); }
.gift-vis-people .check-row { margin-top: 2px !important; color: var(--text) !important; font-size: 16px !important; }
.gift-vis-hint { margin: 10px 2px 0; }
.vis-owner { margin-top: 14px; }
.vis-picker { margin-top: 6px; }
.vis-pick-owner { padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
.vis-picker .check-row { margin-top: 0 !important; color: var(--text) !important; font-size: 16px !important; }
.vis-pick-list { padding-left: 30px; }
.vis-pick-list small { font-size: 13px; }
.vis-owner-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; }
.gift-vis-link { display: block; min-height: 48px; margin: 4px 0 0; font-size: 14px; text-align: left; }
.sort-choice .link { margin-top: 8px; padding: 10px 0; min-height: 44px; }
.dup-info { margin: 4px 0 14px; }
.dup-actions { display: flex; flex-direction: column; gap: 8px; }
.dup-actions .btn.wide { margin-top: 0; }
.done-head { display: flex; align-items: center; justify-content: space-between; }
.link { border: 0; background: none; color: var(--accent); font-size: 15px; margin-top: 12px; padding: 6px 4px; }
.onlist { font-style: normal; font-size: 12px; color: var(--accent); margin-left: 4px; white-space: nowrap; }

.empty { text-align: center; color: var(--muted); padding: 48px 16px; }
.empty .big { font-size: 48px; margin-bottom: 8px; }

/* Rezepte */
.search-row { display: flex; gap: 8px; margin: 4px 0 12px; }
.card {
  display: block;
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.card:active { background: var(--accent-soft); }
.card-title { font-weight: 600; }
.card-meta { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* Zurück-Knöpfe: groß genug für den Daumen (mind. 48 px hoch) */
.back {
  display: inline-flex; align-items: center; min-height: 48px;
  margin: 4px 0 10px; padding: 8px 18px 8px 12px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  color: var(--accent); text-decoration: none; font-size: 18px; font-weight: 600;
  box-shadow: var(--shadow);
}
.back:active { background: var(--accent-soft); }
.recipe-title { font-size: 26px; margin: 6px 0 4px; letter-spacing: -0.01em; }
.tags { color: var(--muted); font-size: 14px; }
.servings { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.round {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 24px; line-height: 1; color: var(--accent);
}
.round:active { background: var(--accent-soft); }
.round:disabled { opacity: 0.35; }
h3 { font-size: 18px; margin: 22px 0 8px; }
h3 small { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.steps { white-space: pre-wrap; background: var(--surface); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; color: var(--text); font-size: 16px; font-weight: 500;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--danger); }
.btn.wide { width: 100%; margin-top: 14px; padding: 14px; font-size: 17px; }
.btn:disabled { opacity: 0.45; }
.row { display: flex; gap: 8px; align-items: center; }
.row.actions { margin: 24px 0 8px; }
.spacer { flex: 1; }

.recipe-form label, .sheet-form label { display: block; font-size: 14px; color: var(--muted); margin-top: 14px; }
.recipe-form small { font-size: 12px; }
.recipe-form input, .recipe-form textarea, .sheet-form input, .sheet-form select {
  display: block; width: 100%; margin-top: 6px;
  font-size: 17px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); outline: none;
}
.recipe-form textarea { resize: vertical; line-height: 1.45; }
.recipe-form h2 { margin: 6px 0 0; }

/* Bearbeiten-Sheet */
dialog {
  border: 0; padding: 0; background: transparent; color: inherit;
  width: 100%; max-width: 520px; margin: auto auto 0;
  /* Hohe Fenster (z. B. Wunsch mit Bildern) scrollen in sich, statt aus dem Bildschirm zu ragen; am Ende rutscht
     nichts dahinter mit (overscroll-behavior). Die Höhe passt app.js bei offener Tastatur an (visualViewport). */
  max-height: calc(100vh - 12px);
  max-height: calc(100dvh - env(safe-area-inset-top) - 12px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
/* Solange ein Fenster offen ist, bleibt die Seite dahinter stehen */
html.sheet-open, html.sheet-open body { overflow: hidden; }
dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
.sheet-form {
  background: var(--bg);
  border-radius: 18px 18px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
}
.sheet-form h3 { margin: 0; }
.sheet-form .row { margin-top: 20px; }

/* Tabs */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabs a {
  flex: 1; position: relative;
  display: flex; flex-direction: column; align-items: center;
  font-size: 12px; color: var(--muted); text-decoration: none; padding: 2px 0;
}
.tabs a .ico { font-size: 22px; filter: grayscale(1); opacity: 0.6; }
.tabs a.active { color: var(--accent); font-weight: 600; }
.tabs a.active .ico { filter: none; opacity: 1; }
.badge {
  position: absolute; top: 0; left: calc(50% + 8px);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  display: grid; place-items: center;
}

/* Listenübersicht */
.list-card { display: flex; align-items: center; padding: 0 4px 0 0; }
.list-link { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: inherit; text-decoration: none; min-width: 0; }
.list-link > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.list-icon { font-size: 28px; line-height: 1; }
#lists-overview { padding-top: 4px; }
#lists-overview .btn.wide { margin-top: 6px; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.type-card {
  display: flex !important; align-items: center; gap: 8px; margin: 0 !important;
  padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--text) !important; font-size: 15px !important;
}
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.type-icon { font-size: 22px; }
.items.first { margin-top: 12px; }
.due { font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: 4px; }
.due.today { color: var(--accent); font-weight: 600; }
.due.over { color: var(--danger); font-weight: 600; }
.items.pick { margin-top: 12px; }
label.target { display: block; font-size: 14px; color: var(--muted); margin-top: 16px; }
label.target select, .person-actions select {
  display: block; width: 100%; margin-top: 6px; font-size: 16px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text);
}
.person-actions select { width: auto; margin: 0; font-size: 14px; padding: 6px 8px; border-radius: 10px; }
.small { font-size: 13px; }

/* Haushalte (Admin) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; padding: 3px 4px 3px 10px; border-radius: 12px; background: var(--accent-soft); color: var(--text); }
.chip button { border: 0; background: none; color: var(--muted); font-size: 16px; line-height: 1; padding: 0 6px; }
.hh-new { margin-top: 10px; }
.hh-checks { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.hh-checks .check-row { margin-top: 6px !important; color: var(--text) !important; font-size: 15px !important; }
.recipe-form .label { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Ideen */
.intro { margin: 4px 2px 8px; }
#have-chips { margin: 2px 0 6px; }
.have-options .check-row { margin: 6px 0 !important; font-size: 14px; color: var(--muted); }
.chip-clear { margin: 0 !important; padding: 3px 6px !important; font-size: 13px !important; }
.idea-card .card-meta { margin-top: 3px; }
.idea-ing .mark { flex: none; width: 24px; text-align: center; font-weight: 700; }
.idea-ing.st-have .mark { color: var(--accent); }
.idea-ing.st-missing .mark, .idea-ing.st-missing .qty { color: var(--danger); }
.idea-ing.st-basic .name, .idea-ing.st-optional .name { color: var(--muted); }
.idea-ing { cursor: default; }
.idea-ing:active { background: none; }
.all-there { text-align: center; font-weight: 600; color: var(--accent); margin: 16px 0 0; }
.tabs a { font-size: 11px; }

/* Fehlerprotokoll (Admin) */
.err-log .person { font-size: 14px; overflow-wrap: anywhere; }
.err-log .err-server { border-left: 3px solid var(--danger); }

/* 👤 Konto-Reiter im Stil der iPhone-Einstellungen */
.profile { display: flex; align-items: center; gap: 14px; margin: 8px 0 12px; }
.avatar {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #43a047, #2e7d32);
}
.profile-main { display: flex; flex-direction: column; min-width: 0; }
.profile-main b { font-size: 21px; }
.profile-main span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.profile-stats > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 12px; text-align: center; box-shadow: var(--shadow);
}
.profile-stats b { display: block; font-size: 22px; color: var(--accent); }
.profile-stats span { font-size: 13px; color: var(--muted); }
.set-group { margin-top: 18px; }
.set-group-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; margin: 0 4px 6px; }
.set-card { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.set-row { border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row > summary {
  list-style: none; display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 8px 14px; cursor: pointer; user-select: none; -webkit-user-select: none;
}
.set-row > summary::-webkit-details-marker { display: none; }
/* Zeile, die zu einer eigenen Seite führt (z. B. 🎁 Geschenke) – sieht aus wie die aufklappbaren Zeilen */
a.set-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; color: var(--text); text-decoration: none; }
a.set-link:active { background: var(--accent-soft); }
.set-row > summary:active { background: var(--accent-soft); }
.set-icon { font-size: 22px; width: 28px; text-align: center; }
.set-title { flex: 1; font-size: 17px; }
.set-count { font-size: 15px; color: var(--muted); }
.set-chev { font-size: 22px; color: var(--muted); transition: transform 0.2s; }
.set-row[open] > summary .set-chev { transform: rotate(90deg); }
.set-row[open] > summary { border-bottom: 1px solid var(--line); }
.set-body { padding: 12px 14px 14px; background: var(--bg); }
.set-body > .recipe-form > label:first-of-type, .set-body > .recipe-form > input + label { margin-top: 0; }
.set-body .items.people { box-shadow: none; border: 1px solid var(--line); }
.set-body .badge-grid { margin: 0; }
.set-logout {
  display: block; width: 100%; margin-top: 22px; min-height: 52px;
  background: var(--surface); border: 0; border-radius: 14px; box-shadow: var(--shadow);
  color: var(--danger); font-size: 17px; font-weight: 600;
}
.set-logout:active { background: var(--accent-soft); }
.link-input {
  display: block; width: 100%; margin: 10px 0 14px; font-size: 15px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text);
}
.version { text-align: center; margin-top: 14px; }

/* Anmeldung */
body:not(.authed) .top, body:not(.authed) main, body:not(.authed) .tabs { display: none; }
body:not(.authed) { padding-bottom: 0; }
.auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
}
.auth-card { width: 100%; max-width: 400px; }

/* 🎁 Geschenkelisten */
/* Wunsch des Nutzers: „Meine Listen“ / „Listen der anderen“ deutlich größer als die Abteilungs-Überschriften */
h2.cat.gift-section { font-size: 21px; text-transform: none; letter-spacing: -0.01em; color: var(--text); font-weight: 700; margin: 22px 2px 10px; }
.gift-intro { margin: 4px 2px 12px; line-height: 1.45; }
.gift-share-btn { margin-top: 8px !important; }
.gift-add { margin-top: 14px; }
.gift-manual { display: block; margin: 6px auto 4px !important; min-height: 48px; }
.gift-items { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.gift-card {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer;
}
.gift-card.pub { cursor: default; }
.gift-card.taken { opacity: 0.6; }
.gift-thumb { width: 76px; height: 76px; flex: none; border-radius: 10px; object-fit: contain; background: #fff; }
.gift-noimg { display: grid; place-items: center; font-size: 34px; background: var(--accent-soft) !important; }
.gift-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gift-info b { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.gift-meta { font-size: 14px; color: var(--accent); font-weight: 600; }
.price-down { color: #2e7d32; font-weight: 700; white-space: nowrap; }
.price-up { color: var(--danger); font-weight: 600; white-space: nowrap; }
.gift-refresh { display: block; margin: 0 auto 4px !important; min-height: 48px; }
.gift-refresh small { color: var(--muted); font-weight: 400; }
.gift-auto { color: var(--text) !important; font-size: 15px !important; }
.gift-auto small { color: var(--muted); }
.gift-checked { margin: 2px 0 0; }
.gift-note { font-size: 14px; color: var(--muted); }
.gift-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.gift-actions .btn { min-height: 48px; }
.gift-mine { color: var(--accent); font-weight: 700; font-size: 15px; }
.gift-taken { color: var(--muted); font-weight: 600; font-size: 15px; }
.gift-msg { background: var(--accent-soft); border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: 15px; }
/* „Zur Wunschliste“ (3.6): Anleitung, Code-Feld, Listenauswahl */
.gift-wish-help { display: block; margin: 6px auto 0 !important; min-height: 48px; }
.gift-howto { padding-left: 22px; line-height: 1.5; font-size: 15px; margin: 8px 0; }
.gift-howto li { margin-bottom: 6px; }
.gift-code { width: 100%; font: 12px/1.4 ui-monospace, Menlo, monospace; resize: none; margin-top: 6px; }
.gift-pick { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.gift-pick .btn { min-height: 48px; text-align: left; }
.gift-img-edit { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.gift-big { width: 110px; height: 110px; border-radius: 12px; object-fit: contain; background: #fff; }
/* Mehrere Bilder (3.3): Leiste im Formular, „+2“ auf der Karte, Galerie zum Wischen */
.gift-imgs { display: flex; gap: 10px; overflow-x: auto; padding: 10px 2px 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.gift-img-item { position: relative; flex: none; scroll-snap-align: start; }
.gift-img-item.main .gift-big { outline: 3px solid var(--accent); outline-offset: -3px; }
.gift-img-x, .gift-img-star { position: absolute; top: 4px; width: 34px; height: 34px; border-radius: 50%; border: none; padding: 0;
  background: rgba(0, 0, 0, 0.62); color: #fff; font-size: 16px; line-height: 34px; cursor: pointer; }
.gift-img-x { right: 4px; }
.gift-img-star { left: 4px; }
.gift-img-x::after, .gift-img-star::after { content: ''; position: absolute; inset: -7px; } /* 48 px Tippfläche */
.gift-img-main { position: absolute; left: 6px; bottom: 6px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 8px; }
.gift-img-add { display: block; margin: 8px 0 0 !important; min-height: 48px; color: var(--text) !important; font-size: 15px; cursor: pointer; text-align: center; }
.gift-img-hint { margin: 4px 2px 0; }
.gift-thumb-btn { position: relative; flex: none; padding: 0; border: none; background: none; cursor: zoom-in; border-radius: 10px; min-width: 48px; min-height: 48px; }
.gift-more { position: absolute; right: 4px; bottom: 4px; background: rgba(0, 0, 0, 0.66); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 7px; border-radius: 9px; }
.gift-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 10px -4px 0; border-radius: 14px; background: #fff; }
.gift-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; height: min(62vh, 520px); }
.gift-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gift-gallery-count { text-align: center; margin: 8px 0 0; }
.gift-img-actions { display: flex; flex-direction: column; gap: 8px; }
.gift-img-actions label.btn { margin: 0; color: var(--text); font-size: 15px; cursor: pointer; }
.gift-open { display: inline-block; margin-top: 10px !important; min-height: 48px; }
.gift-share-facts { padding-left: 20px; line-height: 1.5; font-size: 15px; }
.gift-unshare { display: block; margin: 12px auto 0 !important; min-height: 48px; color: var(--danger) !important; }
/* öffentliche Ansicht (geteilter Link) */
.gift-pub { width: 100%; max-width: 560px; align-self: flex-start; }
.gift-pub-head { text-align: center; margin: 8px 0 14px; }
.gift-pub-head h1 { font-size: 26px; margin: 8px 0 4px; letter-spacing: -0.02em; }
.gift-pub-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; font-size: 38px; background: #c62828; }
.gift-pub-foot { text-align: center; margin: 18px 0 10px; }
.gift-of { margin: 4px 2px 8px; line-height: 1.45; }
.auth-logo {
  width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 16px;
  background: #2e7d32; display: grid; place-items: center; font-size: 36px;
}
.auth-card h1 { text-align: center; font-size: 26px; margin: 0 0 8px; letter-spacing: -0.02em; }
.auth-msg { text-align: center; color: var(--muted); margin: 0 0 8px; }
.auth-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* Passwort vergessen */
.forgot-btn { margin-top: 10px !important; min-height: 48px; }
.forgot-code { text-align: center; font-size: 40px; font-weight: 800; letter-spacing: 0.12em; margin: 4px 0 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
.forgot-ways { display: flex; flex-direction: column; gap: 10px; }
.forgot-way { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.forgot-way > b:first-child { display: block; margin-bottom: 4px; }
.forgot-status { text-align: center; margin: 14px 0 0; }
#account-badge { background: #f9a825; font-size: 11px; }
.key-alert { margin: 14px 0; padding: 14px; border: 1px solid #f9a825; border-radius: 14px; background: rgba(249, 168, 37, 0.1); }
.key-alert > b { display: block; font-size: 16px; }
.key-alert p { margin: 6px 0 0; color: var(--muted); }
.key-alert .device-form { margin-top: 4px; }
.device-form input[name=code] { text-align: center; }
.device-form input[name=code]:not(:placeholder-shown) { font-size: 22px; letter-spacing: 0.15em; }
.reset-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.reset-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.reset-who small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reset-row .btn { min-height: 48px; flex: none; }
.auth-form label, .recipe-form .check-row { display: block; font-size: 14px; color: var(--muted); margin-top: 14px; }
.auth-form input:not([type=checkbox]) {
  display: block; width: 100%; margin-top: 6px;
  font-size: 17px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); outline: none;
}
.auth-form input:focus { border-color: var(--accent); }
label.check-row { display: flex !important; align-items: center; gap: 8px; }
.check-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.auth-error { color: var(--danger); font-size: 15px; margin: 12px 0 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }

/* Konto */
.card.static { margin-top: 6px; }
.muted { color: var(--muted); }
.logout { margin: 28px 0 12px; }
.person { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; }
.person-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.btn.small { padding: 6px 10px; font-size: 14px; border-radius: 10px; }
.pill { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 8px; background: var(--line); color: var(--muted); vertical-align: 1px; }
.pill.accent { background: var(--accent-soft); color: var(--accent); }
.link-box { background: var(--accent-soft); border-radius: 14px; padding: 14px; margin-top: 14px; }
.link-box input {
  width: 100%; margin: 10px 0; font-size: 14px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text);
}
.link-box .row { margin-bottom: 8px; }

/* ↓ Zum Aktualisieren ziehen */
.ptr {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top) - 52px); z-index: 30;
  margin-left: -130px; width: 260px; height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); font-size: 14px; font-weight: 600;
  transition: transform 0.25s ease;
}
.ptr.dragging { transition: none; }
.ptr-icon { font-size: 18px; color: var(--accent); display: inline-block; transition: transform 0.2s; }
.ptr.ready .ptr-icon { transform: rotate(180deg); }
.ptr.ready, .ptr.done { color: var(--accent); }
.ptr.loading .ptr-icon {
  width: 16px; height: 16px; border-radius: 50%; font-size: 0;
  border: 2.5px solid var(--accent-soft); border-top-color: var(--accent);
  animation: ptrSpin 0.7s linear infinite;
}
@keyframes ptrSpin { to { transform: rotate(360deg); } }

/* ⭐ Favoriten */
.fav-bar {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px 14px; padding: 2px 16px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.fav-bar::-webkit-scrollbar { display: none; }
.fav-card {
  flex: none; width: 150px; min-height: 96px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 4px; padding: 12px;
  background: linear-gradient(160deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--accent); border-radius: 14px; color: var(--text); text-decoration: none; box-shadow: var(--shadow);
}
.fav-card:active { transform: scale(0.97); }
.fav-star { font-size: 20px; line-height: 1; }
.fav-card b { font-size: 15px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fav-card .card-meta { font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fav-hint { margin: 2px 2px 10px; }
.recipe-card { display: flex; align-items: center; padding: 0 4px 0 0; }
.recipe-link { flex: 1; min-width: 0; padding: 14px 16px; color: inherit; text-decoration: none; }
.star-btn {
  flex: none; width: 48px; height: 48px; border: 0; background: none; border-radius: 12px;
  font-size: 24px; line-height: 1; color: var(--muted);
}
.star-btn.on { color: #f9a825; }
.star-btn:active { background: var(--accent-soft); }
.star-btn.big { width: 52px; height: 52px; font-size: 30px; }
.title-row { display: flex; align-items: center; gap: 8px; }
.title-row .recipe-title { flex: 1; min-width: 0; }

/* 📅 Essensplan */
.plan-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 4px; }
.plan-nav .round { width: 48px; height: 48px; display: grid; place-items: center; text-decoration: none; font-size: 26px; flex: none; }
.plan-week { text-align: center; }
.plan-week b { display: block; font-size: 20px; }
.plan-week span { font-size: 14px; color: var(--muted); }
.plan-today { display: block; text-align: center; margin: 2px 0 6px !important; }
/* Umschalter „Diese Woche | Nächste Woche“ */
.plan-seg { display: flex; gap: 4px; padding: 4px; margin: 8px 0 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.plan-seg .seg { flex: 1; min-height: 48px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.plan-seg .seg.on { background: var(--accent); color: #fff; }
.plan-fill .btn.wide { margin-top: 6px; }
.plan-fill-row { display: flex; gap: 8px; margin-top: 8px; }
.plan-fill-row .btn { flex: 1; min-height: 48px; padding: 10px 8px; font-size: 15px; }
.plan-days { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.plan-day { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 8px 12px; box-shadow: var(--shadow); }
.plan-day.today { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.plan-day.past { opacity: 0.6; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.plan-wd { font-weight: 700; font-size: 16px; }
.plan-day.today .plan-wd, .plan-day.today .plan-date { color: var(--accent); }
.plan-date { font-size: 13px; color: var(--muted); }
.plan-row { display: flex; gap: 6px; align-items: center; }
.plan-input {
  flex: 1; min-width: 0; font-size: 17px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); outline: none;
}
.plan-input:focus { border-color: var(--accent); }
.plan-btn {
  flex: none; width: 48px; height: 48px; border-radius: 12px; font-size: 22px;
  border: 1px solid var(--line); background: var(--bg);
}
.plan-btn:active { background: var(--accent-soft); }
.plan-btn[data-act=open]:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.plan-btn:disabled { opacity: 0.3; filter: grayscale(1); }
.plan-link { display: flex; justify-content: space-between; align-items: center; font-size: 14px; min-height: 4px; }
.plan-link:not(:empty) { margin-top: 6px; }
.plan-clear { margin: 0 !important; padding: 6px 4px !important; font-size: 14px !important; color: var(--muted) !important; }
.plan-servings { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.plan-servings b { font-size: 18px; color: var(--accent); }
.plan-servings .round { background: var(--bg); }
.plan-to-list { margin-top: 16px; }

/* Gerichte bewerten */
.plan-rate { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.plan-rate:not(:empty) { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.plan-rate-q { font-size: 14px; color: var(--muted); margin-right: 2px; }
.plan-rate-who { font-size: 13px; color: var(--muted); flex-basis: 100%; }
/* Vergangene Tage blass – aber „Wie war's?“ bleibt kräftig, das braucht man ja genau dort */
.plan-day.past { opacity: 1 !important; }
.plan-day.past .plan-head, .plan-day.past .plan-row, .plan-day.past .plan-link { opacity: 0.6; }
.plan-btn.rate.on.up, .rate-btn.on.up { border-color: var(--accent); background: var(--accent-soft); }
.plan-btn.rate.on.down, .rate-btn.on.down { border-color: var(--danger); background: rgba(229, 57, 53, 0.15); }
.rate-bar { margin: 12px 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rate-q { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.rate-btns { display: flex; gap: 8px; }
.rate-btn { flex: 1; min-height: 48px; }
.rate-who { margin-top: 8px; }
.rate-note { margin-top: 6px; color: var(--danger); }
.banned { margin: 16px 0 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.banned summary { padding: 14px; min-height: 48px; cursor: pointer; font-weight: 600; }
.banned summary small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.banned-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); }
.banned-title { flex: 1; display: flex; flex-direction: column; }
.banned-title a { color: var(--text); }
.banned-title small { color: var(--muted); font-size: 13px; }
.banned-row .btn { min-height: 48px; flex: none; }
.plan-hint { text-align: center; margin-top: 10px; }
.idea-ing.st-need .mark { color: var(--accent); }

/* 🎲 Zufallsgericht */
.random-box { margin: 6px 0 18px; }
.weekend {
  margin-top: 12px; padding: 14px 16px; border-radius: 14px; text-align: center;
  background: linear-gradient(135deg, #ff9800, #e53935); color: #fff;
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em;
  animation: chickenPop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.weekend span { display: block; font-size: 14px; font-weight: 500; opacity: 0.95; margin-top: 2px; }
.random-card { margin-top: 12px; }
.random-title { font-size: 21px; font-weight: 700; }
.random-card.rolling { opacity: 0.55; }
.random-actions { margin-top: 12px; }
.random-actions .btn { flex: 1; }

/* 🐔 Easter Egg */
.chicken-overlay {
  position: fixed; inset: 0; z-index: 50; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: chickenFade 0.3s ease-out;
}
.chicken-overlay.bye { animation: chickenFadeOut 0.9s ease-in forwards; }
.chicken-run { position: relative; animation: chickenIn 0.9s cubic-bezier(0.2, 0.8, 0.3, 1.1) both; }
.chicken-overlay.bye .chicken-run { animation: chickenOut 0.8s ease-in forwards; }
.chicken {
  font-size: min(58vw, 42vh); line-height: 1;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
  animation: chickenHop 0.32s ease-in-out infinite alternate;
  transform-origin: 50% 90%;
}
.chicken-bubble {
  position: absolute; top: -4%; right: -6%; z-index: 1;
  background: #fff; color: #1c1f1c; font-weight: 800; font-size: min(8vw, 6vh);
  padding: 0.25em 0.55em; border-radius: 1em; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: chickenPop 0.4s 0.8s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.chicken-text {
  margin-top: 2vh; text-align: center; color: #fff; padding: 0 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: chickenPop 0.5s 1s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.chicken-text b { display: block; font-size: min(8vw, 34px); }
.chicken-text span { display: block; margin-top: 6px; font-size: 15px; opacity: 0.9; }
.feather { position: absolute; top: -10vh; animation: featherFall 3.2s linear both; }
@keyframes chickenFade { from { opacity: 0; } }
@keyframes chickenFadeOut { to { opacity: 0; } }
@keyframes chickenIn { from { transform: translateX(120vw); } to { transform: translateX(0); } }
@keyframes chickenOut { to { transform: translateX(-130vw); } }
@keyframes chickenHop { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-7%) rotate(5deg); } }
@keyframes chickenPop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
@keyframes featherFall { to { transform: translateY(125vh) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) {
  .chicken-run, .chicken, .chicken-bubble, .chicken-text, .feather { animation: none; }
  .feather { display: none; }
}
/* ✨ Goldenes Huhn */
.chicken-overlay.golden { background: radial-gradient(circle at 50% 45%, rgba(255, 213, 79, 0.55), rgba(0, 0, 0, 0.6) 65%); }
.golden .chicken, .gold-hen {
  filter: sepia(1) saturate(6) hue-rotate(-12deg) brightness(1.15) drop-shadow(0 0 18px rgba(255, 200, 40, 0.9));
}
.golden .chicken { animation: chickenHop 0.32s ease-in-out infinite alternate, goldGlow 1.2s ease-in-out infinite alternate; }
.golden .chicken-bubble { background: linear-gradient(135deg, #ffe082, #ffb300); color: #5d4000; }
.golden .chicken-text b { color: #ffe082; font-size: min(9vw, 38px); }
@keyframes goldGlow { to { filter: sepia(1) saturate(6) hue-rotate(-12deg) brightness(1.4) drop-shadow(0 0 34px rgba(255, 220, 80, 1)); } }
.gold-hen { display: inline-block; }
.gold-note { font-size: 13px; color: #c99700; font-weight: 600; }

/* 🏅 Abzeichen */
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.badge-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 8px; text-align: center; opacity: 0.55; box-shadow: var(--shadow);
}
.badge-tile.earned { opacity: 1; border-color: var(--accent); background: var(--accent-soft); }
.badge-tile:not(.earned) .badge-icon { filter: grayscale(1); }
.badge-icon { font-size: 30px; line-height: 1.2; }
.badge-name { font-size: 13px; font-weight: 700; margin-top: 2px; }
.badge-desc { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.badge-progress { display: block; font-weight: 700; color: var(--accent); margin-top: 3px; }
.badge-date { font-size: 10px; color: var(--muted); margin-top: 4px; }
.badge-pop {
  position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); z-index: 60;
  transform: translateX(-50%); width: min(92vw, 420px);
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: linear-gradient(135deg, #2e7d32, #43a047); color: #fff;
  border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: badgeIn 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
.badge-pop.bye { animation: badgeOut 0.4s ease-in forwards; }
.badge-pop-icon { font-size: 40px; line-height: 1; }
.badge-pop-title { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; }
.badge-pop b { display: block; font-size: 18px; }
.badge-pop-desc { display: block; font-size: 13px; opacity: 0.9; }
@keyframes badgeIn { from { transform: translate(-50%, -140%); } to { transform: translate(-50%, 0); } }
@keyframes badgeOut { to { transform: translate(-50%, -160%); opacity: 0; } }

/* Hühnerstall im Konto */
.coop-count { font-size: 17px; }
.coop-count b { font-size: 24px; color: var(--accent); }
.coop-hens { font-size: 24px; line-height: 1.3; margin: 6px 0 4px; word-break: break-all; }
.coop-sound { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.coop-sound .check-row { flex: 1; min-height: 48px; margin: 0 !important; color: var(--text) !important; font-size: 15px; }
.coop-listen { min-height: 48px; flex: none; }
.coop-sound-hint { margin: 2px 0 8px; }
.board { list-style: none; padding: 0; margin: 8px 0 0; }
.board li { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; }
.board li.me { font-weight: 700; }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(84px + env(safe-area-inset-bottom));
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 12px; font-size: 15px; z-index: 10;
  max-width: calc(100% - 32px);
}
/* Meldung mit „Rückgängig“-Knopf */
.toast.with-action { display: flex; align-items: center; gap: 12px; padding: 4px 6px 4px 16px; width: max-content; }
.toast.with-action[hidden] { display: none; }
.toast.with-action span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.toast-undo {
  flex: none; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700;
}

/* ---------- Mindestens 48 px für alles Antippbare (Wunsch: keine Mini-Knöpfe) ---------- */
.btn, .btn.small { min-height: 48px; }
.btn.small { padding: 8px 12px; }
label.check-row { min-height: 48px; }
.check-row input { width: 22px; height: 22px; }
/* Wo eine größere Darstellung das Layout sprengen würde: unsichtbar vergrößerte Tippfläche */
.hh-switch, .chip button, .chip-clear { position: relative; z-index: 1; }
.hh-switch::after { content: ""; position: absolute; inset: -18px -16px -17px -16px; }
.hh-switch { overflow: visible; }
#hh-name { display: inline-block; max-width: 65vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.chip button::after { content: ""; position: absolute; inset: -17px -8px; }
.chip-clear::after { content: ""; position: absolute; inset: -12px -6px; }
