/* Wishes – Design „Geschenkpapier“: Flaschengrün, Tomatenrot, Rosa, Buttergelb; Muster wie Geschenkpapier */
@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2'); font-weight: 400 800; font-stretch: 100%; font-display: swap; }

:root {
  /* Abstand Tableiste-Unterkante: im Browser 10px, auf iPhones mit Home-Indikator 20px (statt 14px + 34px). */
  --tab-gap: max(10px, calc(env(safe-area-inset-bottom, 0px) - 14px));
  --green: #0f4c3a; --deep: #0a2a20; --tomato: #ff5a36; --pink: #ffb8d2; --pink-dot: #ff7fb0; --butter: #ffd84d;
  --bg: #ffffff; --surface: #ffffff; --soft: #eef5f0; --text: #0a2a20; --muted: #2c4a40;
  --accent: #0f4c3a; --accent-hover: #0a2a20; --accent-soft: #e2eee7; --border: #cfdfd6; --line: #5f7d72;
  --on-accent: #fff; --ok: #17603a; --danger: #b3260b; --warn: #7a4a00; --focus: #1f5fbf;
  --radius: 18px;
  --bud-fill: #e0b100; --bud-over: #d98a00; --bud-track: #d6e4dc;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --stripes: repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 10px, transparent 10px 20px);
  --dots: radial-gradient(var(--pink-dot) 2.5px, transparent 3px);
  --checks: linear-gradient(rgba(10, 42, 32, .14) 2px, transparent 2px), linear-gradient(90deg, rgba(10, 42, 32, .14) 2px, transparent 2px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background-color: var(--deep); background-image: radial-gradient(rgba(255, 127, 176, .35) 2px, transparent 2.5px); background-size: 22px 22px; }
/* body grün, html dunkel gepunktet: unter dem Footer (iPhone-Leiste, Überscrollen) geht das Punkte-Band weiter statt in Grün zu kippen */
body { margin: 0; background-color: var(--deep); background-image: linear-gradient(var(--green), var(--green)); background-size: 100% calc(100% - 240px); background-repeat: no-repeat; color: var(--text); font: 16px/1.5 var(--font); }
/* Safari (iOS 26) färbt die untere Leiste mit der body-Hintergrundfarbe: deshalb dunkel, Grün nur als Bild-Ebene oben */
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5rem; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.375rem; }
h3, .h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 .75rem; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.topbar :focus-visible, .tabbar :focus-visible, .hero :focus-visible { outline-color: var(--butter); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; color: #fff; }

.topbar { display: flex; align-items: center; justify-content: space-between; max-width: 680px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 8px) 18px 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font: 800 1.7rem/1 var(--font); letter-spacing: -.02em; text-transform: lowercase; color: var(--butter); text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.topbar-help { display: inline-flex; align-items: center; justify-content: flex-end; color: #fff; font-weight: 600; padding: 0 2px 0 10px; min-width: 56px; min-height: 48px; }
.topbar a:hover { color: #fff; }
.brand:hover { color: var(--butter); }
main { display: block; max-width: 680px; min-height: calc(100vh - 64px); margin: 0 auto; padding: 14px 16px calc(90px + var(--tab-gap)); outline: none; background: var(--surface); border-radius: 30px 30px 0 0; overflow: hidden; }

.tabbar { position: fixed; left: 50%; bottom: var(--tab-gap); z-index: 20; transform: translateX(-50%); width: calc(100% - 28px); max-width: 420px; height: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px; background: var(--deep); border-radius: 32px; box-shadow: 0 8px 20px rgba(10, 42, 32, .28); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 26px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 600; line-height: 1.2; }
.tabbar a:hover { color: #fff; }
.tabbar a svg { width: 20px; height: 20px; }
.tabbar a[aria-current="page"] { background: var(--butter); color: var(--deep); font-weight: 700; }

.lead { font-size: 1.05rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hint { font-size: .875rem; color: var(--muted); margin: .25rem 0 .5rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .875rem; }
.ok { color: var(--ok); font-weight: 600; }
.crumb { margin-bottom: .25rem; }
.crumb a { display: inline-block; padding: 12px 0; font-weight: 700; text-decoration: none; }
.section { margin-top: 1.75rem; }
.card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 22px; padding: 16px; }
.card.soft { background: var(--soft); border-color: var(--soft); }
.card.success { background: #e3f1e8; border-color: #b9d8c4; margin: 1rem 0; }
.card.error { background: #fdeae6; border-color: #f0b4a8; margin-bottom: 1rem; }
.card.error ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.empty { color: var(--muted); padding: 14px 0; }
.empty.card { text-align: center; margin-top: 1rem; }
.f-empty p { margin: 0 0 8px; } .f-empty strong { color: var(--text); } .f-empty .quick { margin-top: 10px; } .f-empty .quick .btn { white-space: nowrap; }
.row { display: flex; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.gap { gap: 10px; }
.gap-s { gap: 6px; }
.grow { flex: 1; min-width: 0; }

/* Startseite: grüner Kopf, weißes Blatt, Kacheln wie eingepackte Geschenke */
.hero { position: relative; overflow: hidden; margin: -14px -16px 0; padding: 2px 20px 52px; background: var(--green); }
.hero h1 { position: relative; max-width: 300px; margin: 4px 0 12px; font-size: 2.875rem; line-height: .95; letter-spacing: -.03em; color: #fff; }
.hero .lead { position: relative; max-width: 280px; margin: 0; font-size: .95rem; line-height: 1.4; color: #d6eadf; }
.confetti { position: absolute; }
.confetti.c1 { top: 72px; right: -22px; width: 84px; height: 84px; border-radius: 50%; background: var(--pink); }
.confetti.c2 { top: 4px; right: 58px; width: 18px; height: 18px; background: var(--butter); transform: rotate(20deg); }
.confetti.c3 { top: 152px; right: 30px; width: 26px; height: 13px; border-radius: 13px 13px 0 0; background: var(--tomato); transform: rotate(-24deg); }
main:has(.hero) { background: linear-gradient(var(--green) 0 160px, var(--surface) 160px); }
.home-sheet { position: relative; margin: -30px -16px 0; padding: 18px 16px 8px; background: var(--surface); border-radius: 30px 30px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 112px; padding: 10px; overflow: hidden; border-radius: 22px; color: var(--text); text-decoration: none; }
.tile:hover { color: var(--text); }
.tile-big { grid-column: 1 / -1; min-height: 124px; align-items: center; padding: 16px; }
.t-stripes { background-color: var(--tomato); background-image: var(--stripes); }
.t-dots { background-color: var(--pink); background-image: var(--dots); background-size: 16px 16px; }
.t-checks { background-color: var(--butter); background-image: var(--checks); background-size: 18px 18px; }
.tile-label { position: relative; display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; padding: 9px 12px; background: var(--surface); border-radius: 12px; }
.tile-label strong { font-size: 1.06rem; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; overflow-wrap: break-word; }
.tile-label .small { font-size: .82rem; line-height: 1.3; }
.tile-big .tile-label { flex: none; width: 216px; max-width: calc(100% - 96px); padding: 12px 16px; border-radius: 14px; }
.tile-big .tile-label strong { font-size: 1.5rem; }
.tile-big .tile-label .small { font-size: .875rem; }
.ribbon-v, .ribbon-h { position: absolute; background: var(--butter); }
.tile-big .ribbon-v { top: 0; bottom: 0; right: 58px; width: 22px; }
.tile-big .ribbon-h { left: 0; right: 0; top: 78px; height: 22px; }
.steps { padding-left: 1.3rem; margin: 0 0 .75rem; }
.steps li { margin-bottom: .4rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 18px; border-radius: 24px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); font: 700 1rem var(--font); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); }
.btn-small { min-height: 44px; padding: 8px 14px; font-size: .9rem; }
.btn.wide { width: 100%; margin-top: 8px; }
.btn.big { min-height: 56px; font-size: 1.1rem; border-radius: 28px; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #8a1c07; border-color: #8a1c07; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.danger-text { color: var(--danger); border-color: var(--danger); }
.icon-btn { width: 44px; height: 44px; flex: none; border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 1rem; cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.file-btn { position: relative; }

.field { margin: 0 0 1.1rem; padding: 0; border: 0; min-width: 0; }
.field > label, legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
details.field > summary, details.card > summary, details.section > summary { cursor: pointer; font-weight: 700; padding: 10px 0; min-height: 44px; }
details.field[open] > summary { margin-bottom: 6px; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font: 1rem var(--font); }
.input:focus { border-color: var(--accent); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 2px #f6c9bf; }
.input-s { min-height: 44px; font-size: 1rem; margin-top: 6px; }
textarea.input { resize: vertical; }
select.input { padding-right: 8px; }
.input-unit { display: flex; align-items: center; gap: 8px; }
.input-unit span { font-weight: 700; color: var(--muted); }
.add-row { margin-top: 8px; }
.add-row .input { min-height: 44px; }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; min-height: 44px; }
.switch input { width: 28px; height: 28px; margin: 0; accent-color: var(--accent); flex: none; }
.switch span { line-height: 1.3; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; min-height: 44px; padding: 8px 14px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 600 .95rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--accent); background: var(--soft); }
.chip[aria-pressed="true"], a.chip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip[aria-pressed="true"]::after, a.chip[aria-current="true"]::after { content: '✓'; position: absolute; top: -7px; right: -5px; width: 20px; height: 20px; border-radius: 50%; background: var(--butter); color: var(--deep); font-size: .7rem; font-weight: 700; line-height: 20px; text-align: center; }
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.chip-more { border-style: dashed; color: var(--accent); }
.chip-sel { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); border-color: var(--accent); color: var(--on-accent); padding-right: 12px; }
.chip-sel:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.chip-x { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: .7rem; }
.pick-field { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; border: 1.5px solid var(--line); border-radius: 18px; min-height: 60px; }
.pick-field .chips:empty { display: none; }
.pick-open { min-height: 44px; padding: 8px 10px; border: 0; background: none; color: var(--accent); font: 700 1rem var(--font); cursor: pointer; border-radius: 12px; }
.pick-open:hover { background: var(--soft); }
.search-input { padding-left: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235f7d72' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 14px center; }
.pick-list { display: grid; gap: 16px; margin: 14px 0 16px; }
.pick-h { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pick-label { display: block; margin: 0 0 6px; font-weight: 700; }
.pick-q-row { display: flex; gap: 8px; }
.pick-q-row .input { flex: 1; min-width: 0; }
.pick-own { flex: none; white-space: nowrap; padding-inline: 14px; }
.chip-own { border-style: dashed; border-color: var(--accent); color: var(--accent); font-weight: 700; }
.cat-wrap { min-width: 0; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-bar .cat-tab { padding: 6px 11px; font-size: .86rem; }
.cat-tab { flex: none; scroll-snap-align: start; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); font: 700 .92rem var(--font); cursor: pointer; white-space: nowrap; }
.cat-tab:hover { color: var(--text); }
.cat-tab[aria-selected="true"] { background: var(--butter); color: var(--deep); box-shadow: none; }
.cat-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: .75rem; }
.cat-box { margin-top: 8px; padding: 12px; border-radius: 16px; background: var(--soft); }
.pick-done { position: sticky; bottom: 0; }
.tag { display: inline-block; padding: 4px 10px; margin: 2px 2px 2px 0; border-radius: 14px; background: #fff1b8; color: var(--deep); font-size: .875rem; font-weight: 600; }
.tag-no { background: var(--surface); color: var(--danger); box-shadow: inset 0 0 0 1.5px var(--danger); }
.tags { margin-bottom: 1rem; }
.pill { flex: none; font-size: .8rem; font-weight: 700; color: var(--deep); background: var(--butter); padding: 5px 10px; border-radius: 14px; white-space: nowrap; }
.badge { font-size: .78rem; font-weight: 700; color: var(--accent); }

.result-summary { font-weight: 600; color: var(--muted); }
.ideas, .ideas-plain, .list, .name-list, .excl-list, .wish-list { list-style: none; margin: 0; padding: 0; }
.ideas { display: grid; gap: 6px; }
.idea { background: var(--soft); border-radius: 18px; }
.idea-main { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 8px; }
.idea-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 2px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.idea-t { flex: 1; min-width: 0; display: grid; }
.idea-title { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.idea-cat { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 3px; font-size: .82rem; color: var(--muted); }
.tg { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 10px; font-size: .75rem; font-weight: 700; color: var(--text); background: #d8ecd9; white-space: nowrap; }
.tg.t-butter { background: #ffeab0; }
.tg.t-pink { background: #ffdbe8; }
.tg.t-blue { background: #dfe7f6; }
/* Geschenkkarte: Icon-Kachel mit Status-Abzeichen (Finder und Listen) */
.gtile { position: relative; flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #d8ecd9; color: var(--deep); }
.gemoji { font-size: 28px; line-height: 1; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.gtile.has-img { background: #fff; }
.gtile.has-img .gemoji { visibility: hidden; }
.gimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); }
.gtile svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gtile.t-butter { background: #ffeab0; }
.gtile.t-pink { background: #ffdbe8; }
.gtile.t-blue { background: #dfe7f6; }
.gbadge { position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--soft); }
.gbadge svg { width: 12px; height: 12px; stroke-width: 3; }
.g-gekauft { background: var(--butter); color: var(--deep); }
.g-verschenkt { background: var(--accent); color: var(--on-accent); }
.add-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--surface); color: var(--accent); display: grid; place-items: center; cursor: pointer; padding: 0; }
.add-btn:hover { background: var(--accent-soft); }
.add-btn[aria-pressed="true"] { background: var(--butter); border-color: var(--butter); color: var(--deep); }
.why { font-size: .9rem; color: var(--muted); }
.li-ic { font-weight: 600; }
.hint-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e0b100; margin-left: 6px; vertical-align: 1px; }
.idea-more { display: grid; gap: 10px; padding: 2px 12px 12px; }
.idea-more .li-info > button:last-child { border-radius: 0 0 14px 14px; }
.idea-more .li-info > :only-child, .idea-more .li-info > :only-child a { border-radius: 14px; }
.idea-more p { margin: 0; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.res-head .result-summary { margin: 0; }
.saved-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 600; color: var(--accent); }
.hint.center { text-align: center; }
@media (prefers-reduced-motion: no-preference) { .idea.fresh { animation: idea-in .35s ease-out; } @keyframes idea-in { from { opacity: 0; transform: translateY(6px); } } }
.price { font-weight: 700; white-space: nowrap; }
.idea-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
.idea-actions .badge { grid-column: 1 / -1; }
.ideas-plain .idea-actions { display: inline-flex; margin-top: 6px; }
.ad-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.ad-note { margin-top: 12px; }
.idea-row { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 12px; margin-top: 10px; }
.seg { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.seg-btn { flex: 1; min-height: 44px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 600 .9rem var(--font); cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }

.list-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; min-height: 64px; background: var(--soft); border: 0; border-radius: var(--radius); margin-bottom: 8px; color: var(--text); text-decoration: none; }
a.list-row:hover, .list-row.as-btn:hover { background: var(--accent-soft); color: var(--text); }
.list-row .small { display: block; }
.list-row.as-btn { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.list-row.is-done { background: #f4f8f5; }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--butter); color: var(--deep); font: 800 1.1rem var(--font); display: flex; align-items: center; justify-content: center; }
.avatar.big { width: 64px; height: 64px; font-size: 1.6rem; }
.swatch { width: 48px; height: 48px; flex: none; border-radius: 14px; background-color: var(--tomato); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .3) 0 6px, transparent 6px 12px); }
.swatch.sw-dots { background-color: var(--pink); background-image: var(--dots); background-size: 12px 12px; }
.swatch.sw-checks { background-color: var(--butter); background-image: var(--checks); background-size: 12px 12px; }
.swatch.s { width: 32px; height: 32px; border-radius: 10px; }
.count { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--green); color: #fff; font-size: .7rem; font-weight: 600; line-height: 1.1; }
.count b { font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--butter); }
.count b.s { font-size: .85rem; }
.count.warn { background: #fff3c4; color: var(--deep); font-weight: 700; }
.count.warn b { color: var(--deep); }
.person-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.person-head h1 { margin: 0; }
.facts p { margin-bottom: .6rem; }
.name-row, .excl-row { margin-bottom: 8px; flex-wrap: wrap; }
.name-row .input { flex: 1 1 0; min-width: 0; }
.name-row .field-error, .excl-row .field-error { flex-basis: 100%; margin-top: 2px; }
.excl-row select { flex: 1; min-width: 0; }
.wish-row { margin-bottom: 12px; }
.add-link { min-height: 36px; margin-top: 2px; padding: 4px 2px; border: 0; background: none; color: var(--accent); font: 600 .9rem var(--font); cursor: pointer; }
.soft-row { background: var(--soft); border-radius: 18px; text-decoration: none; }
details.more > summary { color: var(--accent); }
.send-list .list-row { flex-wrap: wrap; }

/* Wichtel aufdecken: gepunktetes Geschenkpapier mit Schleifenband und weißem Anhänger */
.reveal { position: relative; overflow: hidden; margin-top: 4px; padding: 58px 14px 14px; border-radius: 26px; background-color: var(--pink); background-image: var(--dots); background-size: 16px 16px; }
.reveal .ribbon-v { top: 0; bottom: 0; right: 44px; width: 24px; background: var(--tomato); }
.reveal .ribbon-h { left: 0; right: 0; top: 18px; height: 24px; background: var(--tomato); }
.reveal-card { position: relative; padding: 16px 18px 18px; background: var(--surface); border-radius: 18px; }
.reveal-card > :last-child { margin-bottom: 0; }
.reveal-hi { font-size: 1.2rem; font-weight: 700; }
.reveal-label { margin: 6px 0 0; font-weight: 600; color: var(--muted); }
.reveal-name { font-size: 4rem; line-height: .92; letter-spacing: -.04em; color: var(--text); margin: 2px 0 12px; outline: none; overflow-wrap: anywhere; }
.reveal-name.sm { font-size: 3rem; }
.reveal-name.xs { font-size: 2.1rem; letter-spacing: -.02em; line-height: 1; }

.faq details { margin-bottom: 10px; padding: 6px 16px; }
.faq details p { margin-top: 4px; }

.toast { position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 8px); min-height: 52px; transform: translate(-50%, -20px); width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--deep); color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 40; }
.toast.toast-top { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 10px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; visibility: visible; }
.toast-x { background: none; border: 0; color: #fff; font-size: 1rem; min-width: 44px; min-height: 44px; cursor: pointer; margin-right: -8px; }
.toast-btn { background: none; border: 0; color: var(--butter); font: 700 1rem var(--font); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
.head-row { align-items: center; }
.head-row h1 { margin: 0; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(10, 42, 32, .55); display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop[hidden] { display: none; }
.sheet { width: 100%; max-width: 680px; max-height: 85vh; overflow: auto; background: var(--surface); border-radius: 30px 30px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sheet-head h2 { margin: 0; }
.sheet form { margin-top: 10px; }

/* Fuß: Ratgeber im weißen Bereich, darunter ein farbiges Band mit Hilfe & Rechtlichem, immer ganz unten */
main:has(> .foot) { display: flex; flex-direction: column; }
main:has(> .foot) > * { flex: none; }
/* Inhalt füllt mindestens den Bildschirm: Footer erst beim Runterscrollen sichtbar */
.view { min-height: calc(100svh - 78px - env(safe-area-inset-top, 0px)); }
.foot { padding-top: 1.5rem; }
.more-card { border: 1.5px solid var(--border); border-radius: var(--radius); }
.more-row + .more-row { border-top: 1px solid var(--border); }
.more-row > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; cursor: pointer; font-weight: 600; list-style: none; }
.more-row > summary::-webkit-details-marker { display: none; }
.more-row > summary::after, .more-link::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 4px; border: solid var(--muted); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .15s; }
.more-row[open] > summary::after { transform: rotate(135deg); }
.more-row > summary svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.more-row > :not(summary) { margin-left: 16px; margin-right: 16px; }
.more-row > :last-child:not(summary) { margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-links a { display: inline-block; padding: 12px 0; }
.foot-band { margin: 0 -16px calc(-90px - var(--tab-gap)); padding: 14px 16px calc(80px + var(--tab-gap)); border-radius: 22px 22px 0 0; border-top: 4px solid var(--butter); background-color: var(--deep); background-image: radial-gradient(rgba(255, 127, 176, .35) 2px, transparent 2.5px); background-size: 22px 22px; color: #fff; text-align: center; }
.foot-brand { margin: 0; font-weight: 800; font-size: 1.05rem; color: var(--butter); letter-spacing: -.02em; }
.foot-brand span { font-weight: 600; font-size: .85rem; color: var(--pink); letter-spacing: 0; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; margin: 0; font-size: .875rem; }
.foot-legal a { display: inline-block; padding: 10px 0; color: #fff; font-weight: 600; text-underline-offset: 3px; }
.foot-legal a:hover { color: var(--butter); }
.foot-band :focus-visible { outline-color: var(--butter); }

.sticky-cta { position: sticky; bottom: calc(78px + var(--tab-gap)); z-index: 10; }
main:focus-visible, [tabindex="-1"]:focus-visible { outline: none; }
@keyframes gm-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.03); } 100% { transform: scale(1); } }
.pulse { animation: gm-pulse .35s ease-out; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.btn.is-saved { background: #e3f1e8; border-color: var(--ok); color: var(--ok); }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ok); }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 14px; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0; }
.url-field { margin: 0 0 12px; color: var(--muted); }
.new-person { margin-top: 16px; }
.new-person label { display: block; margin-bottom: 6px; }
.ad-note a, .hint a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
.inline-count { margin-top: 10px; border: 0; background: none; color: var(--accent); font: 700 1rem var(--font); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 2px; }
.inline-count[hidden] { display: none; }
.card.error ul { list-style: none; padding-left: 0; }
.card.error li { margin-top: 4px; }
.card.error li::before { content: '→ '; color: var(--danger); }
.card.error li:has(.link-btn)::before { content: none; }
.card.error li.resolved { color: var(--ok); text-decoration: line-through; }
.card.error li.resolved::before { content: '✓ '; }
.link-btn::before { content: '→ '; text-decoration: none; display: inline-block; margin-right: 2px; }
.link-btn { display: block; width: 100%; background: none; border: 0; padding: 6px 0; min-height: 44px; color: var(--danger); font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.section-s { margin-top: 8px; align-items: center; }
.two-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.list.section { margin-top: 1rem; }
.stale { display: block; font-size: .85rem; font-weight: 600; color: var(--warn); margin-top: 2px; }
.warn-text { color: var(--warn); font-weight: 600; }
.card.warn { background: #fff4d6; border-color: #f0d27a; margin-bottom: 12px; }
.row.wrap > .field.grow { min-width: 160px; }
.card.soft + p.muted { margin-top: 14px; }
.draft-note { margin-bottom: 12px; align-items: center; }

html { scroll-padding-bottom: 160px; }
.send-row { background: var(--soft); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.send-row .check { color: var(--text); }
.send-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.label-like { font-weight: 700; margin-bottom: 6px; }
.block { display: block; }
.field-error { color: var(--danger); font-weight: 600; margin: 6px 0 0; }
.field-error:empty { display: none; }

.float-hint { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(78px + var(--tab-gap)); z-index: 25; width: max-content; max-width: calc(100% - 32px); }
.float-hint[hidden] { display: none; }

/* Statische Seiten (Ratgeber, Rechtliches) */
.page { max-width: 680px; margin: 0 auto; padding: 14px 16px 24px; background: var(--surface); }
main.page { min-height: 0; }
.page h2 { margin-top: 1.5rem; }
body.static { min-height: 100vh; display: flex; flex-direction: column; }
body.static main.page { flex: 1 0 auto; width: 100%; }
body.static .topbar { width: 100%; }
footer.page.foot { width: 100%; margin-top: 0; padding-top: 1.5rem; padding-bottom: 0; }
footer.page .foot-band { margin-bottom: 0; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 560px) {
  h1 { font-size: 2.1rem; }
  .hero h1 { max-width: 420px; font-size: 3.4rem; }
  .hero .lead { max-width: 380px; }
  .tile-big .tile-label { width: 280px; }
}
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- Wunschlisten ---------- */
.quick { display: flex; gap: 6px; padding: 6px; margin: 0 0 10px; background: var(--soft); border-radius: 20px; border: 2px solid transparent; }
.quick:focus-within { border-color: var(--accent); }
.quick .input { border: 0; background: transparent; min-height: 44px; padding: 8px 10px; }
.quick .input:focus { outline: none; }
.quick-btn { min-width: 48px; min-height: 44px; padding: 0 14px; border-radius: 16px; font-size: 1.3rem; line-height: 1; }
.quick-who { display: flex; align-items: center; gap: 8px; margin: -2px 0 12px; flex-wrap: wrap; }
.chip-s { min-height: 36px; padding: 5px 12px; font-size: .875rem; }
.chip-n { margin-left: 6px; opacity: .65; font-weight: 700; }
.av-all svg { width: 22px; height: 22px; }
.av-gift { border-radius: 14px; background-color: var(--tomato); background-image: var(--stripes); position: relative; overflow: hidden; }
.av-gift::before, .av-gift::after { content: ''; position: absolute; background: var(--butter); }
.av-gift::before { top: 0; bottom: 0; left: calc(50% - 4px); width: 8px; }
.av-gift::after { left: 0; right: 0; top: calc(50% - 4px); height: 8px; }
.av-checks { border-radius: 14px; background-color: var(--butter); background-image: var(--checks); background-size: 14px 14px; }
.add-person { background: transparent; box-shadow: inset 0 0 0 1.5px var(--border); }
.add-person .avatar { background: var(--soft); color: var(--text); }
.h-small { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.list-top { align-items: center; }
.list-top .crumb { margin: 0; }
.btn-butter { background: var(--butter); border-color: var(--butter); color: var(--deep); }
.btn-butter:hover { background: #f5cc3a; border-color: #f5cc3a; color: var(--deep); }
.person-more { margin: -4px 0 12px; }
.person-more > summary { font-size: .9rem; font-weight: 600; padding: 6px 0; }
.person-more .card { margin-top: 6px; }
.hob-filter { margin: 0 0 12px; }
.li-facets { display: flex; margin: 0 0 12px; }
#li-hob .hob-filter { margin: 0; }
#li-hob .hob-add { margin: 10px 0 0; padding: 0; }
.li-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.li-row { background: var(--soft); border-radius: var(--radius); }
.li-head { display: flex; align-items: center; gap: 4px; padding: 8px 10px 8px 8px; }
.li-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 2px; border: 0; background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; border-radius: 12px; }
.li-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.li-sub { font-size: .875rem; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.li-sub .hint-dot { margin-left: 4px; }
.li-body { display: grid; gap: 12px; padding: 10px 12px 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.steps::before { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 19px; height: 2px; background: var(--border); }
.step { position: relative; display: grid; justify-items: center; gap: 3px; min-height: 44px; padding: 0; border: 0; background: none; font: 600 .8rem var(--font); color: var(--muted); cursor: pointer; }
.step-c { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); display: grid; place-items: center; color: var(--muted); }
.step.past .step-c { border-color: var(--accent); color: var(--accent); }
.step.on { color: var(--text); }
.step.on .step-c { background: var(--deep); border-color: var(--deep); color: #fff; }
.li-info { display: grid; background: var(--surface); border-radius: 14px; }
.li-info > * { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 0; border-top: 1px solid var(--soft); background: none; font: inherit; font-size: .9rem; color: var(--text); text-align: left; }
.li-info > :first-child { border-top: 0; }
.li-info svg { flex: none; color: var(--muted); }
.li-info b { margin-left: auto; font-weight: 600; text-align: right; }
.li-info b .hint-dot { margin: 0 6px 0 0; }
.li-info button { cursor: pointer; border-radius: 0; }
.li-info > button:last-child { border-radius: 0 0 14px 14px; }
.li-info .li-note { font-style: normal; }
.li-info > .li-price { padding-block: 4px; cursor: text; }
.li-price-in { margin-left: auto; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.li-price-in input { width: 5.5em; min-height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font: 600 1rem var(--font); text-align: right; -moz-appearance: textfield; appearance: textfield; }
.li-price-in input::-webkit-outer-spin-button, .li-price-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.li-info > .li-shop { padding: 0 6px 0 0; gap: 4px; }
.li-shop a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 6px 8px 12px; color: var(--text); text-decoration: none; border-radius: 14px 0 0 0; }
.li-shop a:hover .li-go { text-decoration: underline; }
.li-shop-t { display: grid; line-height: 1.25; }
.li-shop-t .small { font-size: .75rem; color: var(--muted); font-weight: 600; }
.li-shop-t .small:empty { display: none; }
.li-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text); }
.li-info .li-add { flex: none; min-height: 44px; padding: 0 10px; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 700; color: var(--accent); cursor: pointer; border-radius: 12px; }
.li-add:hover { background: var(--accent-soft); }
.li-info .li-chg { color: var(--accent); font-weight: 700; }
.li-host { font-size: .75rem; color: var(--muted); font-weight: 600; }
.li-head-p { gap: 12px; padding-left: 10px; }
/* Kopf einer Ideenzeile: ohne die Außenabstände des Seitenkopfs (.li-head weiter unten), damit über und unter der Kachel gleich viel Platz ist */
.li-row > .li-head { margin: 0; }
.li-lens { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 8px; border-radius: 12px; color: var(--accent); font-size: .875rem; font-weight: 700; text-decoration: none; }
.li-lens:hover { background: var(--accent-soft); color: var(--accent); }
.li-lens svg { width: 13px; height: 13px; }
.li-head.is-bare .gtile { width: 44px; height: 44px; border-radius: 12px; }
.li-head.is-bare .gemoji { font-size: 24px; }
.li-lens-note { display: flex; align-items: center; gap: 6px; margin: 12px 4px 0; font-size: .8125rem; color: var(--muted); }
.li-lens-note svg { flex: none; width: 13px; height: 13px; }
.li-main-i { flex: none; padding: 0; }
.li-ttl { border: 0; background: none; padding: 0; font: inherit; color: var(--text); text-align: left; cursor: pointer; border-radius: 6px; }
.li-shoplink { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent); text-decoration: none; padding: 6px 0; margin: -6px 0; }
.li-shoplink:hover { text-decoration: underline; }
.li-go svg { color: var(--accent); }
.li-info .li-link, .li-link { flex: none; min-height: 0; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); color: var(--accent); display: grid; place-items: center; cursor: pointer; padding: 0; }
.li-link:hover { border-color: var(--accent); background: var(--accent-soft); }
.li-link svg { color: var(--accent); }
.li-title { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.is-given .li-title { text-decoration: line-through; color: var(--muted); }
.li-note { font-size: .875rem; color: var(--muted); font-style: italic; overflow-wrap: anywhere; }
.li-edit { display: grid; gap: 10px; }
.li-edit label, .li-edit .label-like { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 3px; }
.li-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.li-actions { align-items: center; }
.btn.danger { color: var(--danger); border-color: var(--danger); background: transparent; }
.find-more { display: block; margin: 12px 0 0; padding: 13px 16px; border-radius: var(--radius); border: 1.5px dashed var(--accent); color: var(--accent); font-weight: 700; text-decoration: none; }
.find-more::before { content: '✨ '; }
.facets { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 12px; padding: 3px 16px; scrollbar-width: none; }
.facets::-webkit-scrollbar { display: none; }
.facet { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; max-width: 220px; padding: 6px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 700 .9rem var(--font); white-space: nowrap; cursor: pointer; }
.facet.on { background: var(--butter); border-color: var(--butter); color: var(--deep); }
.facet[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); }
.facet-c { font-size: .7rem; opacity: .7; }
.fpanel { background: var(--soft); border-radius: var(--radius); padding: 12px; margin: 0 0 12px; }
.fpanel .field:last-child { margin-bottom: 0; }
.chip-add { border-style: dashed; }
.q-np { margin-top: 8px; }
.wish-view .is-bought strong { text-decoration: line-through; color: var(--muted); }
.wish-view .is-bought .ok { display: block; }
.upcoming .count { width: 46px; height: 46px; border-radius: 12px; }
.upcoming .count b { font-size: 1.2rem; }
.upcoming .list-row { gap: 12px; }

/* ===== Anlässe pro Person ===== */
.find-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin: -2px 0 14px; }
.find-btn::before { content: '✨ '; }
.occs { display: grid; gap: 8px; margin: 0 0 6px; }
.occ { background: var(--soft); border-radius: var(--radius); }
.occ-empty { background: #ffe4dc; }
.occ-h { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 10px 8px 8px; border: 0; background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; border-radius: var(--radius); }
.dtile { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; text-align: center; line-height: 1; background: var(--surface); }
.dtile b { display: block; font-size: 1.1rem; }
.dtile span { display: block; margin-top: 2px; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.occ-sub { display: flex; align-items: center; gap: 0 6px; flex-wrap: wrap; font-size: .875rem; color: var(--muted); }
.occ-bud { display: flex; align-items: center; gap: 10px; padding: 0 2px; }
.occ-bud .occ-bar { flex: 1; height: 6px; border: 0; }
.occ-h[aria-expanded="false"] .occ-turns { display: none; }
.occ-links { display: flex; justify-content: center; align-items: center; gap: 2px; flex-wrap: wrap; }
.occ-links > button, .occ-links > a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 12px; background: none; font: 700 .95rem var(--font); color: var(--accent); text-decoration: none; cursor: pointer; }
.occ-links > button:hover, .occ-links > a:hover { background: var(--accent-soft); color: var(--accent-hover); }
.occ-links svg { width: 16px; height: 16px; }
.occ-sep { color: var(--line); }
.occ-t { flex: 1; min-width: 0; display: grid; }
.occ-t strong { font-size: 1.05rem; }
.occ-b { padding: 0 12px 12px; display: grid; gap: 8px; }
.occ-b .li-row { background: var(--surface); }
.occ-bar { height: 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.occ-bar i { display: block; height: 100%; background: var(--butter); }
/* Budget zugeklappt: feine Linie am unteren Kartenrand, aufgeklappt übernimmt der Balken im Body */
.occ { position: relative; }
.occ-line { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.occ-line::before, .occ-line i { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; }
.occ-line::before { right: 0; background: var(--bud-track); }
.occ-line i { background: var(--bud-fill); }
.occ-line.over i { background: var(--bud-over); }
.occ-h[aria-expanded="true"] + .occ-line { display: none; }
.occ-bartxt { flex: none; font-size: .8rem; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.occ-none { margin: 0; }
.occ-quick { margin: 0; background: var(--surface); }
.li-sec { margin-top: 18px; }
.follow { margin-top: 16px; padding: 12px; border-radius: var(--radius); background: var(--butter); }
.follow .h-small { color: var(--deep); }
.follow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.follow-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 16px; background: var(--surface); }
.follow-row .gbadge { border-color: var(--surface); }
.follow-row .grow { display: grid; min-width: 0; }
/* Persönliche Vorschläge „Passt zu …“: ruhige gelbe Karte */
.ps { margin: 14px 0 4px; padding: 10px 12px 12px; border-radius: var(--radius); background: var(--ps-bg, #fff3c4); }
.ps-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ps-head .h-small { margin: 0; color: var(--text); }
.ps-more { background: none; border: 0; padding: 10px 4px; min-height: 44px; font: inherit; font-size: .875rem; font-weight: 700; color: var(--accent); cursor: pointer; }
.ps .follow-row { gap: 10px; }
.ps .follow-row .small { line-height: 1.3; }
.ps-no { flex: none; width: 36px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 1.2rem; }
.ps-no:hover, .ps-no[aria-expanded="true"] { background: var(--surface); }
.ps-ask { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 6px 52px; }
/* Formular */
.occ-form { display: grid; gap: 8px; }
.orow { border: 2px solid var(--border); border-radius: 16px; padding: 10px 12px; display: grid; gap: 8px; }
.orow.on { border-color: var(--accent); background: var(--soft); }
.orow-top { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 32px; cursor: pointer; }
p.orow-top { cursor: default; }
.orow .row { align-items: center; }
.orow select.input { width: auto; flex: 1 1 80px; }
.input-year { flex: 1 1 80px; width: auto; }
.occ-budget { flex: 1 1 120px; }
.occ-budget .input { width: 100%; }
.tog { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; margin: 0; border-radius: 99px; background: var(--border); position: relative; cursor: pointer; transition: background .15s; }
.tog::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.tog:checked { background: var(--accent); }
.tog:checked::after { left: 23px; }
@media (prefers-reduced-motion: reduce) { .tog, .tog::after { transition: none; } }
.person-head .grow { min-width: 0; }
.person-head h1 { overflow-wrap: break-word; hyphens: auto; font-size: clamp(1.6rem, 7vw, 2.4rem); }
.occ-budget { max-width: 240px; }
.occ-budget span { white-space: nowrap; }
/* Hobby-Baum in der Auswahl */
.hob-group { display: grid; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.hob-group:last-child { border-bottom: 0; }
.hob-group > .chip { justify-self: start; }
.hob-subs { padding-left: 14px; border-left: 2px solid var(--border); margin-left: 10px; }
.chip-sub { font-weight: 600; }

/* ===== Teilen: Auswahl ===== */
.share-form { display: grid; gap: 4px; }
.share-form legend { font-weight: 700; margin-bottom: 6px; }
.opt-list { display: grid; gap: 6px; }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid var(--border); border-radius: 14px; cursor: pointer; }
.opt-row:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.opt-row input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.opt-row > span { display: grid; }
.design-pick { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; }
.design-sw { flex: none; display: grid; justify-items: center; gap: 4px; padding: 4px; border: 2px solid transparent; border-radius: 14px; background: none; font: 600 .78rem var(--font); color: var(--text); cursor: pointer; }
.design-sw[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); }
.wl-prev { display: block; width: 64px; height: 44px; border-radius: 10px; }

/* ===== Geteilte Wunschliste: Designs ===== */
.wl, .wl-prev { --wl-bg: var(--green); --wl-ink: #fff; --wl-accent: var(--butter); --wl-pattern: var(--stripes); --wl-pattern-size: auto; --wl-dot: var(--butter); }
.wl { margin: 4px 0 14px; }
.wl-band, .wl-prev { background: var(--wl-pattern), var(--wl-bg); background-size: var(--wl-pattern-size), auto; }
.wl-band { position: relative; overflow: hidden; color: var(--wl-ink); border-radius: var(--radius); padding: 22px 18px 18px; margin-bottom: 12px; }
.wl-band h1 { color: var(--wl-ink); margin: 0; overflow-wrap: break-word; hyphens: auto; }
.wl-kicker { margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wl-accent); }
.wl-meta { margin: 8px 0 0; font-size: .85rem; opacity: .9; }
.wl-ribbon { position: absolute; top: 0; bottom: 0; right: 28px; width: 14px; background: var(--wl-accent); opacity: .9; }
.wl-ribbon::after { content: ''; position: absolute; top: 10px; left: -11px; width: 36px; height: 20px; border: 5px solid var(--wl-accent); border-radius: 50% 50% 40% 40%; box-sizing: border-box; }
.wl-band > :not(.wl-ribbon) { position: relative; padding-right: 44px; }
.wl-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--wl-dot); border: 2px solid var(--wl-bg); }
.wl-note { background: var(--soft); border-radius: 14px; padding: 10px 12px; margin: 10px 0 0; }
.wl-weihnachten { --wl-bg: #a3182a; --wl-accent: #ffd84d; --wl-dot: #a3182a; --wl-pattern: radial-gradient(rgba(255, 255, 255, .55) 1.6px, transparent 2.2px); --wl-pattern-size: 18px 18px; }
.wl-geburtstag { --wl-bg: #ffb8d2; --wl-ink: #0a2a20; --wl-accent: #ff5a36; --wl-dot: #ff5a36; --wl-pattern: radial-gradient(#ffd84d 2.5px, transparent 3px), radial-gradient(#0f4c3a 2px, transparent 2.6px); --wl-pattern-size: 26px 26px, 34px 34px; }
.wl-baby { --wl-bg: #d9ecf2; --wl-ink: #0a2a20; --wl-accent: #0f4c3a; --wl-dot: #8fc3d4; --wl-pattern: radial-gradient(rgba(255, 255, 255, .9) 4px, transparent 4.6px); --wl-pattern-size: 30px 30px; }
.wl-sterne { --wl-bg: #13204a; --wl-accent: #ffd84d; --wl-dot: #ffd84d; --wl-pattern: radial-gradient(#ffd84d 1.2px, transparent 1.8px), radial-gradient(rgba(255, 255, 255, .7) 1px, transparent 1.5px); --wl-pattern-size: 40px 40px, 23px 23px; }

/* Eine Hauptaktion pro Liste: Teilen/Bearbeiten als Icons, Finden als Link */
.head-acts { display: flex; gap: 8px; flex: none; }
.ic-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); color: var(--accent); display: grid; place-items: center; cursor: pointer; text-decoration: none; padding: 0; }
.ic-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.ic-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.find-row { justify-content: flex-start; margin: 2px 0 16px; }
.find-link { font-weight: 700; font-size: .95rem; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.find-link::before { content: '✨\00a0'; }

/* Ruhiger: leere Anlässe ohne Rot, nur ein sanfter gelber Hinweis */
.occ-empty { background: var(--soft); }
.occ-bar.over i { background: var(--bud-over); }
.follow { background: var(--soft); }
.occ-b .gbadge { border-color: var(--surface); }

/* Meine Menschen: eigene Liste in der Reihe, Reihenfolge änderbar */
.me-tag { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: .72rem; font-weight: 700; color: var(--muted); vertical-align: 2px; }
#home-lists a.list-row { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.sort-tip { margin: -4px 0 0; text-align: center; }
.sort-link { background: none; border: 0; min-height: 44px; padding: 6px 10px; font: 600 .875rem var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sort-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sort-row { gap: 10px; touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.sort-row.dragging { background: var(--accent-soft); box-shadow: 0 6px 18px rgba(10, 42, 32, .18); cursor: grabbing; position: relative; z-index: 2; }
.sort-handle { font-size: 1.3rem; color: var(--line); width: 18px; text-align: center; flex: none; }
.ic-s { width: 40px; height: 40px; font: 700 1rem var(--font); }
.ic-s:disabled { opacity: .35; cursor: default; }

/* Kopf der Liste: eine Zeile, Nebenaktionen im „⋯“ */
.li-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; }
.li-head h1 { margin: 0; font-size: clamp(1.4rem, 6vw, 1.8rem); line-height: 1.1; overflow-wrap: anywhere; }
.li-head .grow { min-width: 0; }
.li-sub { margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-back { flex: none; width: 36px; height: 44px; display: grid; place-items: center; margin-left: -6px; font: 800 1.4rem var(--font); color: var(--accent); text-decoration: none; }
.dd { position: relative; flex: none; }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(290px, calc(100vw - 40px)); background: var(--surface); border-radius: 16px; box-shadow: 0 10px 30px rgba(10, 42, 32, .2); padding: 6px; }
.dd-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 600 .95rem var(--font); text-align: left; text-decoration: none; cursor: pointer; }
.dd-item:hover { background: var(--soft); }
.dd-item svg { color: var(--accent); flex: none; }
.dd-facts { border-top: 1px solid var(--border); margin-top: 4px; padding: 8px 10px 4px; font-size: .9rem; }
.dd-facts p { margin: 0 0 6px; }
.chip-find { border-style: dashed; color: var(--accent); }
.chip-find::before { content: '✨\00a0'; }

/* Ratgeber-Seiten: Geschenkkarten wie im Finder (aufklappbar, „+“ übernimmt in die App) */
.rg-ideas { margin-top: 14px; }
.rg-idea { position: relative; }
.rg-idea > details > summary { list-style: none; cursor: pointer; padding-right: 62px; min-height: 64px; border-radius: 18px; }
.rg-idea > details > summary::-webkit-details-marker { display: none; }
.rg-idea .idea-title { margin: 0; font-size: 1rem; letter-spacing: 0; }
.rg-idea .gtile { margin-right: 4px; }
.rg-add { position: absolute; right: 10px; top: 10px; text-decoration: none; }
.rg-idea .idea-more { padding-top: 0; color: var(--muted); font-size: .95rem; }
.rg-shop { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-self: start; min-height: 44px; font-weight: 700; color: var(--accent); }
.rg-shop .ad-label { font-size: .68rem; padding: 1px 5px; }
.ad-note .ad-label { font-size: .68rem; padding: 0 4px; }
.rg-cta .btn { width: 100%; background: var(--butter); border-color: var(--butter); color: var(--deep); }
.rg-cta .btn:hover { background: #f5c900; border-color: #f5c900; color: var(--deep); }
.rg-text { margin-top: 1.5rem; }
.rg-text h2 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.rg-text p { color: var(--muted); }
.rg-faq { margin: 0; display: grid; gap: 6px; }
.rg-faq dt { font-weight: 700; margin-top: 8px; }
.rg-faq dd { margin: 0; color: var(--muted); }
.rg-more { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.rg-more::-webkit-scrollbar { display: none; }
.rg-more li { flex: none; scroll-snap-align: start; }
.rg-more a { display: block; width: 136px; min-height: 96px; padding: 10px 12px; border-radius: 16px; background: var(--soft); color: var(--text); font-weight: 700; font-size: .9rem; line-height: 1.2; text-decoration: none; }
.rg-more a:hover { color: var(--accent); }
.rg-more i { display: block; width: 30px; height: 30px; border-radius: 10px; margin-bottom: 8px; }
.foot-guide { margin-bottom: 18px; }
.foot-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 10px; }
/* Eingabe der Liste: Notieren und Ideen finden an einer Stelle */
.i-drop { margin: -6px 0 14px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px; box-shadow: 0 10px 26px rgba(10, 42, 32, .12); overflow: hidden; }
.drop-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.drop-opt + .drop-opt { border-top: 1px solid var(--border); }
.drop-opt:hover { background: var(--soft); }
.drop-opt strong { display: block; line-height: 1.25; }
.drop-opt .small { display: block; }
.drop-k { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
.k-add { background: var(--accent); color: var(--on-accent); }
.k-find { background: var(--butter); }
.drop-sugs { list-style: none; margin: 0; padding: 4px 10px 10px; display: grid; gap: 6px; border-top: 1px solid var(--border); }
.drop-sug { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 14px; padding: 6px 6px 6px 6px; }
.drop-sug .gtile { width: 40px; height: 40px; border-radius: 11px; }
.drop-sug .gtile svg { width: 20px; height: 20px; }
.drop-sug strong { display: block; font-size: .92rem; line-height: 1.25; }
.drop-sug .small { display: block; }

/* Hobby-Chips: ohne Ideen etwas leiser, „Mehr“ gestrichelt */
.chip-zero { color: var(--muted); }
.chip-more { border-style: dashed; color: var(--accent); }

.chip-add { border-style: dashed; color: var(--accent); font-weight: 600; }
.hob-add { background: var(--soft); border-radius: var(--radius); padding: 12px; margin: 0 0 14px; display: grid; gap: 10px; }
.hob-add-l { font-size: .9rem; color: var(--muted); font-weight: 600; }
.hob-add .hint { margin: 0; }

/* Nach dem Anlass: ruhige Nachfrage, vergangene einmalige Anlässe */
.occ-ask-box { background: #fffbea; }
.occ-h.as-div { cursor: default; }
.occ-ask { padding: 0 12px 12px; }
.occ-ask-q { margin: 0 0 8px; font-weight: 700; }
.ask-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.ask-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 6px 10px 6px 8px; cursor: pointer; min-height: 52px; }
.ask-row input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.ask-row .gtile { width: 40px; height: 40px; border-radius: 11px; }
.ask-row .gtile svg { width: 20px; height: 20px; }
.ask-row strong { display: block; line-height: 1.25; }
.ask-row .small { display: block; }
.ask-keep { border: 0; margin: 0 0 12px; padding: 0; }
.ask-keep legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.ask-keep .seg { display: flex; gap: 4px; background: var(--surface); border-radius: 12px; padding: 4px; }
.ask-keep .seg label { flex: 1; }
.ask-keep .seg input { position: absolute; opacity: 0; pointer-events: none; }
.ask-keep .seg span { display: block; text-align: center; padding: 8px 6px; border-radius: 9px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.ask-keep .seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.ask-keep .seg input:focus-visible + span { outline: 3px solid var(--focus); }
.occ-past { margin-top: 12px; }
.occ-past .list-row { background: #f4f8f5; }
/* Wichteln: ruhig, eine Hauptaktion, Nebenaktionen als kleine Icons */
.more-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 16px; border: 0; background: none; color: var(--text); font: 600 1rem var(--font); text-align: left; text-decoration: none; cursor: pointer; }
.more-link:hover { background: var(--soft); color: var(--text); }
.more-link + .more-link, .more-row + .more-link, .more-link + .more-row { border-top: 1px solid var(--border); }
.more-link > svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.more-link .small { display: block; font-weight: 400; }
.wl-badge { flex: none; padding: 1px 9px; border-radius: 999px; background: #fff3c4; color: #0a2a20; font-size: .72rem; font-weight: 700; }
.wl-body p:first-child { margin: 0 0 10px; font-size: .95rem; }
.wl-body .quick { margin-bottom: 6px; }
.wl-body .quick .btn { flex: none; min-height: 44px; padding: 8px 14px; border-radius: 16px; white-space: nowrap; }
.wl-done { padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: .95rem; }
.more-card > .more-link:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.more-card > .more-link:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.w-lead { margin: 4px 0 14px; color: var(--muted); font-size: 1rem; }
.w-steps { margin: 0 0 8px; padding-left: 1.2rem; display: grid; gap: 6px; }
.w-draft { padding-right: 10px; }
.w-draft-a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-height: 48px; }
.w-draft .avatar svg { width: 18px; height: 18px; }
.w-who { margin-bottom: 6px; }
.w-who legend { font-weight: 700; margin-bottom: 8px; }
.w-who .quick { margin-bottom: 8px; }
.name-list .name-row { min-height: 56px; padding: 6px 6px 6px 8px; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.name-row .avatar { width: 36px; height: 36px; font-size: .95rem; }
.name-row .name-in { flex: 1 1 0; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: 6px 4px; font-weight: 700; }
.name-row .name-in:focus { outline: none; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.ic-x { color: var(--muted); border-color: transparent; background: transparent; font-weight: 400; }
.ic-x:hover { color: var(--text); border-color: var(--border); background: var(--surface); }
.w-paste { margin: 0 0 4px; }
.w-set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; }
.w-set .field { margin-bottom: 0; }
.w-set + .field { margin-top: 14px; }
.w-go { margin-top: 18px; }
.w-go svg, .w-next svg { width: 20px; height: 20px; }
.w-note { margin: 0 0 12px; }
.w-prog { margin: 0 0 14px; }
.w-prog p { margin: 6px 0 0; color: var(--muted); }
.w-prog strong { color: var(--text); }
.w-bar { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.w-bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; transition: width .3s; }
.w-next { margin-bottom: 6px; }
.w-explain { margin: 0 0 14px; }
.w-done { margin: 0 0 14px; }
.w-people { margin-top: 12px; }
.w-person { gap: 8px; padding-right: 8px; }
.w-person .grow { min-width: 0; }
.w-person strong { display: block; overflow-wrap: anywhere; }
.w-stat { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; margin: 0 0 0 -6px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 500 .85rem var(--font); cursor: pointer; }
.w-stat:hover { background: var(--surface); }
.w-stat .hint-dot { margin: 0 2px 0 0; }
.w-person.is-sent .w-stat { color: var(--ok); font-weight: 600; }
.w-person.is-sent { background: #f4f8f5; }
.w-person .ic-btn svg { width: 18px; height: 18px; }
@media (max-width: 360px) { .w-set { grid-template-columns: 1fr; } }
.w-add { flex-wrap: wrap; }
.w-add .input { flex: 1 1 0; min-width: 0; }
.w-add .field-error { flex-basis: 100%; order: 3; margin: 0 8px 4px; }

/* Startseite: „So funktioniert“ im Mehr-Block */
.how-steps { list-style: none; counter-reset: how; display: grid; gap: 10px; padding: 0; margin: 2px 0 14px; }
.how-steps li { counter-increment: how; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.how-steps li::before { content: counter(how); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; }
.home-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* Dark Mode: automatisch nach Systemeinstellung. Variante „Nachtgrün“: tiefes Grün, Mint für Aktionen, Gelb bleibt Highlight. */
/* Ein Aufklapp-Stil überall: Pfeil rechts wie in den „Mehr“-Listen, kein ▶ */
details.card > summary, details.field > summary, details.more > summary { list-style: none; position: relative; padding-right: 32px; }
details.card > summary::-webkit-details-marker, details.field > summary::-webkit-details-marker, details.more > summary::-webkit-details-marker { display: none; }
details.card > summary::after, details.field > summary::after, details.more > summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--muted); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .15s; }
details.card[open] > summary::after, details.field[open] > summary::after, details.more[open] > summary::after { transform: rotate(135deg); margin-top: -8px; }

@media (prefers-color-scheme: dark) {
  :root { --green: #0d3a2d; --deep: #071a13; --bg: #0b1f18; --surface: #0f241c; --soft: #17332a; --text: #eaf3ee; --muted: #a8c3b8;
    --accent: #8fd6b0; --accent-hover: #b3e6ca; --accent-soft: #1d4034; --border: #2b4c3f; --line: #86a89b; --on-accent: #0a2a20; }
  :root { --bud-fill: #ffd84d; --bud-over: #f2a73b; --bud-track: rgba(255, 255, 255, .12); }
  :root { color-scheme: dark; --danger: #ff8f75; --ok: #8fd6b0; --warn: #ffd27a; --focus: #9cc0ff;
    --checks: linear-gradient(rgba(255, 255, 255, .08) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 255, 255, .08) 2px, transparent 2px); }
  .card.success, .btn.is-saved { background: rgba(143, 214, 176, .12); border-color: rgba(143, 214, 176, .4); }
  .card.error { background: rgba(255, 143, 117, .12); border-color: rgba(255, 143, 117, .45); }
  .card.warn, .occ-ask-box { background: rgba(255, 216, 77, .1); border-color: rgba(255, 216, 77, .35); }
  .ps { --ps-bg: rgba(255, 216, 77, .1); }
  .tag { background: rgba(255, 216, 77, .18); color: var(--text); }
  .gtile, .tg { background: rgba(143, 214, 176, .16); color: var(--text); }
  .gtile.t-butter, .tg.t-butter { background: rgba(255, 216, 77, .18); }
  .gtile.t-pink, .tg.t-pink { background: rgba(255, 184, 210, .18); }
  .gtile.t-blue, .tg.t-blue { background: rgba(160, 185, 240, .18); }
  .count.warn { background: rgba(255, 216, 77, .2); color: var(--text); }
  .list-row.is-done, .occ-past .list-row, .w-person.is-sent { background: var(--bg); }
  .btn-danger { color: var(--deep); }
  .btn-danger:hover { background: #ffb3a1; border-color: #ffb3a1; }
  .input[aria-invalid="true"] { box-shadow: 0 0 0 2px rgba(255, 143, 117, .35); }
  .sheet-backdrop { background: rgba(0, 0, 0, .6); }
}

/* Interessen als eine wischbare Chip-Zeile auf der Personenseite (wie Finden), „+“ bleibt rechts stehen */
.hrow-wrap { display: flex; align-items: center; gap: 6px; margin: 0 -16px 12px 0; }
.hrow { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 24px 3px 0; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.hrow::-webkit-scrollbar { display: none; }
.hrow > .chip { flex: none; }
.hrow-add { flex: none; min-width: 44px; margin: 5px 16px 0 0; }
.chip-dim:not([aria-pressed="true"]) { opacity: .6; }
.hrow-wrap + .hob-add { margin-top: -2px; }
/* Blatt „passt zu …“ */
.sh-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.sh-row { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 0; border-radius: 14px; background: var(--soft); color: var(--text); font: 600 1rem var(--font); text-align: left; cursor: pointer; }
.sh-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.sh-row[aria-pressed="true"] .sh-dot { border: 6px solid var(--accent); }
#hobi-sugg { margin-top: 8px; }
