/* tickIt: Stylesheet. Wird von index.html geladen, keine Build-Pipeline. */
:root {
  color-scheme: dark;
  --bg: #22252B; --card: #2C3038; --card-2: #353A43; --ink: #F1F2F5; --muted: #A2A9B5; --line: #3C414B;
  --accent: #FF8A62; --done: #6C737F; --danger: #FF6B6B;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -12px rgba(0,0,0,.7);
  --c-essen: #FF8A62; --c-kultur: #B39AFB; --c-ausflug: #3DD68C;
  --brand-a: var(--c-essen); --brand-b: var(--c-ausflug); --brand-c: var(--c-kultur);
  --tint: 12%; --tint-line: 30%; --tap: 44px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); overscroll-behavior-y: none; }
body {
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  min-height: 100dvh; padding: max(64px, env(safe-area-inset-top)) 24px 72px; position: relative;
}
/* Hintergrund (.bg-blobs): vier weiche, sehr zurückhaltende Farbschleier in den Markenfarben über den ganzen Bildschirm.
   Nur ein Hauch Farbe (niedrige Deckkraft), Größe und Wege in vmin, damit es am Desktop nicht zu riesigen Flecken wird.
   Langsam wandernd (nur transform, 40–56 s je Runde). Bei „Bewegung reduzieren“ blenden sie nur sanft auf und ab. */
body { background: transparent; }
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blobs i { position: absolute; width: 110vmin; height: 110vmin; margin: -55vmin 0 0 -55vmin; border-radius: 50%;
  background: radial-gradient(closest-side, var(--b), transparent); opacity: .13; will-change: transform; }
.bg-blobs i:nth-child(1) { --b: var(--c-essen); left: 12%; top: 15%; animation: bg-a 44s ease-in-out infinite alternate; }
.bg-blobs i:nth-child(2) { --b: var(--c-kultur); left: 88%; top: 40%; opacity: .15; animation: bg-b 52s ease-in-out infinite alternate; }
.bg-blobs i:nth-child(3) { --b: var(--c-ausflug); left: 20%; top: 85%; opacity: .1; animation: bg-c 56s ease-in-out infinite alternate; }
.bg-blobs i:nth-child(4) { --b: var(--c-kultur); left: 80%; top: 100%; opacity: .1; animation: bg-d 40s ease-in-out infinite alternate; }
@keyframes bg-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(22vmin, 12vmin) scale(1.1); } 100% { transform: translate(6vmin, 26vmin) scale(.95); } }
@keyframes bg-b { 0% { transform: translate(0, 0) scale(1.05); } 50% { transform: translate(-24vmin, -14vmin) scale(.92); } 100% { transform: translate(-10vmin, 18vmin) scale(1.08); } }
@keyframes bg-c { 0% { transform: translate(0, 0) scale(.95); } 50% { transform: translate(20vmin, -18vmin) scale(1.08); } 100% { transform: translate(34vmin, -4vmin) scale(1); } }
@keyframes bg-d { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20vmin, -20vmin) scale(1.1); } 100% { transform: translate(-32vmin, -8vmin) scale(.92); } }
@keyframes bg-fade { from { opacity: .06; } to { opacity: .15; } }
main { max-width: 560px; margin: 0 auto; }
button { font: inherit; color: inherit; }
input, [contenteditable]:not(h1) { font-size: max(16px, 1em); }
svg.i { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Info & Hilfe */
dialog.info { max-width: 460px; padding: 0 0 18px; }
.info-hero { display: grid; justify-items: center; gap: 4px; padding: 30px 24px 22px; text-align: center;
  background: radial-gradient(200px 140px at 20% 0%, color-mix(in srgb, var(--brand-a) 22%, transparent), transparent 70%), radial-gradient(220px 150px at 85% 10%, color-mix(in srgb, var(--brand-c) 22%, transparent), transparent 70%), radial-gradient(240px 140px at 50% 110%, color-mix(in srgb, var(--brand-b) 16%, transparent), transparent 70%); }
.info-mark { width: 64px; height: 64px; margin-bottom: 6px; }
.info-name { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.info-name b { color: var(--brand-b); font-weight: 700; }
.info-claim { color: var(--muted); font-size: 15px; }
.info-actions { display: flex; gap: 8px; padding: 0 20px; }
.info-actions button { flex: 1; white-space: nowrap; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--tap); border: 0; border-radius: 999px; background: var(--card-2); color: var(--ink); font-weight: 600; cursor: pointer; }
.info-actions button.primary { background: var(--accent); color: #1B1D22; }
.info-actions svg.i { width: 17px; height: 17px; }
.info-h { margin: 22px 24px 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-steps { display: grid; gap: 8px; padding: 0 20px; }
.info-steps > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; padding: 12px; border-radius: 14px; background: var(--card-2); }
.info-steps span { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #1B1D22; background: var(--brand-b); }
.info-steps > div:nth-child(1) span { background: var(--brand-a); } .info-steps > div:nth-child(3) span { background: var(--brand-c); }
.info-steps small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.faqs { padding: 0 20px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 2px; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { margin-left: auto; color: var(--muted); transition: transform .2s; }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq > div { padding: 0 2px 14px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.faq > div p { margin: 0 0 8px; } .faq > div b { color: var(--ink); font-weight: 600; }
.faq code { font-size: 13px; background: var(--card-2); padding: 1px 5px; border-radius: 6px; }
.info-foot { margin: 18px 24px 0; text-align: center; color: var(--muted); font-size: 12.5px; }
/* Kopf */
header { margin-bottom: 26px; }
@media (min-width: 641px) { .topbar { margin-bottom: 14px; } }
/* Listenkopf: Name (direkt editierbar) mit Kurzstatistik links, Mitglieder und Teilen rechts */
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-top: 6px; }
.lh-main { min-width: 0; flex: 1 1 260px; }
h1 { display: inline-block; max-width: 100%; font-size: clamp(26px, 6vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 -8px; padding: 2px 8px; border-radius: 10px; outline: none; word-break: break-word; cursor: text;
  text-decoration: underline dotted color-mix(in srgb, var(--muted) 45%, transparent); text-decoration-thickness: 2px; text-underline-offset: 7px; transition: background .15s, box-shadow .15s; }
h1:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
h1:focus { text-decoration: none; background: var(--card); box-shadow: 0 0 0 2px var(--accent); }
.lh-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.lh-sub:empty { display: none; }
h1:empty::before { content: "Neue Liste"; color: var(--done); }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.tb-btn.icon { position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.tb-btn.icon svg.i { width: 22px; height: 22px; }
.meta .right { display: inline-flex; align-items: center; gap: 4px; }
.meta .left { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.lists-btn { padding-left: 4px; color: var(--ink); font-weight: 500; }
.lists-panel .lrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px; border: 0; border-radius: 14px; background: none; color: var(--ink); cursor: pointer; text-align: left; }
.lists-panel .lrow:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.lists-panel .lrow.cur { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.lists-panel .lico { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; font-weight: 700; color: #1B1D22; }
.lists-panel .lname { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lists-panel .lname b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lists-panel .lname small { font-size: 12.5px; color: var(--muted); }
.lists-panel .ltick { color: var(--accent); }
.lists-panel .lrm { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.lists-panel .lrm:hover { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.lists-panel .lactions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.lists-panel .lactions button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--ink); font-weight: 500; cursor: pointer; }
.lists-panel .lactions button.primary { background: var(--accent); color: #1B1D22; font-weight: 600; }
.lists-panel .lactions svg.i { width: 18px; height: 18px; }
.lists-panel .lhint { font-size: 12.5px; color: var(--muted); margin: 10px 4px 0; }
dialog#listsDlg { max-width: 400px; }
.title-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.members { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 14px; cursor: pointer; }
.members:hover { color: var(--ink); border-color: var(--muted); }
.members .avs { display: inline-flex; }
.members .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #1B1D22; border: 2px solid var(--card); margin-right: -8px; }
.members .av.av-add { background: color-mix(in srgb, var(--ink) 14%, var(--card)); color: var(--muted); }
.members .av.av-add svg.i { width: 13px; height: 13px; stroke-width: 2.5; }
.members .lbl-text { margin-left: 10px; }
.members .av { color: #1B1D22; }
.menu.people { min-width: 340px; }
.people .prow { display: flex; align-items: center; gap: 12px; padding: 8px 10px; min-height: 52px; }
.people .pav { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #1B1D22; }
.people .pname { min-width: 0; display: flex; flex-direction: column; }
.people .pname b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people .pname b small { font-weight: 400; color: var(--muted); }
.people .pname > small { font-size: 12.5px; color: var(--muted); }
.menu.people .prow button.pme { width: auto; min-height: 36px; margin-left: auto; flex: none; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--muted); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.menu.people .prow button.pme:hover { color: var(--ink); }
.people .phint { margin: 4px 10px 8px; font-size: 13px; color: var(--muted); }
.menu.people button.pinvite { color: var(--ink); font-weight: 500; }
.menu.people button.pinvite svg.cat { color: var(--ink); }
.linkbox { display: flex; gap: 8px; align-items: center; }
.linkbox input { flex: 1; min-width: 0; font-size: 16px; color: var(--muted); text-overflow: ellipsis; pointer-events: none; }
@media (max-width: 640px) { .linkbox input { pointer-events: auto; } }
.linkbox button { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
dialog .btns button svg.i { width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; }
dialog .btns button.primary { display: inline-flex; align-items: center; justify-content: center; }
dialog .btns button[hidden], .linkbox button[hidden] { display: none; }
.set-h { margin: 18px 4px 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
dialog p + .set-h { margin-top: 4px; }
.set-more { margin: 14px 4px 0; font-size: 12.5px; color: var(--muted); }
.setrow[hidden] { display: none; }
.setrow.danger b, .setrow.danger svg.i { color: var(--danger); }
.setlist { display: flex; flex-direction: column; gap: 6px; margin: 0 -6px; }
.setrow { display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left; padding: 12px 10px; border: 0; border-radius: 14px; background: none; color: var(--ink); cursor: pointer; }
.setrow:hover:not(.static) { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.setrow svg.i { width: 20px; height: 20px; margin-top: 2px; color: var(--muted); }
.setrow span { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.setrow b { font-weight: 600; } .setrow small { color: var(--muted); font-size: 12.5px; }
.setrow input { margin-top: 8px; padding: 10px 12px; }
#mergeList { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
#mergeList:empty { display: none; }
.mrow { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.mrow b { color: var(--ink); font-weight: 500; }
.mrow button { margin-left: auto; border: 1.5px solid var(--line); background: none; color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.mrow button:hover { border-color: var(--muted); }
.mhint { display: block; margin: 10px 0 6px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.name-known { margin-top: 14px; } .name-known small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.known-row { display: flex; flex-wrap: wrap; gap: 8px; }
.known-row .known { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 5px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-size: 15px; cursor: pointer; }
.known-row .known .pav { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #1B1D22; }
@media (max-width: 640px) { .topbar { position: sticky; top: 0; z-index: 25; margin: 0 -16px; padding: max(10px, env(safe-area-inset-top)) 12px 6px 16px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.status { display: inline-flex; align-items: center; gap: 8px; }
.brand-btn { padding-left: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; gap: 7px; }
.brand.brand-btn .mark { width: 32px; height: 32px; }
.brand-btn b { font-weight: 700; }
@media (max-width: 640px) { .status { font-size: 0; gap: 0; padding: 6px; } .meta .left { gap: 4px; } .meta { flex-wrap: nowrap; } }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-ausflug); }
.status.saving::before { background: #FFC15E; }
.status.offline::before { background: var(--danger); }
.tb-btn { display: inline-flex; align-items: center; gap: 6px; background: none; color: var(--muted); border: 0; padding: 10px 8px; min-height: var(--tap); cursor: pointer; border-radius: 10px; }
.tb-btn:hover, .tb-btn:focus-visible { color: var(--ink); outline: none; }

/* Eingabe */
.add { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 18px; transition: border-color .15s; touch-action: manipulation; }
.add:focus-within { border-color: var(--accent); }
.add .line { display: flex; align-items: center; gap: 10px; cursor: text; touch-action: manipulation; }
.add input { flex: 1; min-width: 0; min-height: 48px; font: inherit; font-size: 18px; color: var(--ink); background: none; border: 0; padding: 8px 4px; outline: none; touch-action: manipulation; }
.add input::placeholder { color: var(--muted); }
.send { width: var(--tap); height: var(--tap); border-radius: 50%; border: 0; background: var(--accent); color: #1B1D22; cursor: pointer; display: grid; place-items: center; flex: none; transition: transform .12s, opacity .15s; }
.send:disabled { opacity: .35; cursor: default; }
.send:not(:disabled):hover { transform: scale(1.06); }
.send:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.add .opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; padding: 0 12px 0 10px; min-height: 38px; border-radius: 999px;
  border: 0; cursor: pointer; color: var(--c, var(--ink)); background: color-mix(in srgb, var(--c, var(--ink)) 14%, var(--card));
}
.pill svg.i { width: 16px; height: 16px; }
.pill .chev { width: 14px; height: 14px; opacity: .7; margin-left: -2px; }
.pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pill.ghost { background: none; border: 1.5px solid var(--line); color: var(--muted); }
.pill.ghost.set { color: var(--c, var(--ink)); border-color: color-mix(in srgb, var(--c, var(--ink)) 50%, transparent); }

/* Pull to refresh */
.ptr { height: 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; transition: height .25s ease; }
.ptr.drag { transition: none; }
.ptr .ring { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 14px; opacity: 0; transition: opacity .15s; }
.ptr .ring svg.i { width: 16px; height: 16px; transition: transform .2s; }
.ptr .ring .dots { display: none; gap: 5px; }
.ptr .ring .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1s infinite ease-in-out; }
.ptr .ring .dots i:nth-child(2) { animation-delay: .15s; } .ptr .ring .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.ptr.ready .ring svg.i { transform: rotate(180deg); color: var(--accent); }
.ptr.loading .ring svg.i, .ptr.loading .ring .txt { display: none; }
.ptr.loading .ring .dots { display: flex; }
/* Toast mit Aktion */
.toast { display: flex; align-items: center; gap: 14px; }
.toast button { border: 0; background: none; color: var(--accent); font-weight: 700; padding: 6px 2px; cursor: pointer; }
.toast.action { pointer-events: auto; }

/* Konfetti */
.confetti { position: fixed; z-index: 60; pointer-events: none; width: 8px; height: 8px; border-radius: 2px; animation: fly .9s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes fly { 0% { transform: translate(0,0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* Gemacht – Erfolge */
#doneBox summary { color: var(--ink); }
#doneBox summary .trophy { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #FFC15E, #FF8A62); color: #1B1D22; flex: none; }
#doneBox summary .trophy svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 6px 14px; }
.stat { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 12px 10px; }
.stat b { display: block; font-size: 24px; font-weight: 600; line-height: 1.1; }
.stat small { color: var(--muted); font-size: 13px; }
.progress { margin: 0 6px 18px; }
.progress .bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.progress .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3DD68C, #FFC15E, #FF8A62); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.progress small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.month { margin: 18px 6px 8px; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#doneBox li { background: color-mix(in srgb, var(--c) 8%, var(--card)); border-color: color-mix(in srgb, var(--c) 22%, var(--card)); }
#doneBox .head .body { padding-right: 8px; }
#doneBox .meta-line .medal { color: var(--c); font-weight: 600; }
#doneBox li.done .title { text-decoration: none; color: var(--ink); font-weight: 500; }
#doneBox li .check { background: var(--c); border-color: var(--c); }
.badge-new { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: linear-gradient(135deg, #FFC15E, #FF8A62); color: #1B1D22; font-size: 11px; font-weight: 700; vertical-align: middle; }
/* Drag & Drop */
li.dragging { animation: none !important; opacity: .96; z-index: 50; box-shadow: 0 18px 40px rgba(0,0,0,.5); transform: scale(1.02); transition: none; }
.grip { width: 44px; height: 100%; min-height: 56px; border: 0; background: none; color: var(--muted); cursor: grab; display: grid; place-items: center; touch-action: none; opacity: .55; }
.grip svg.i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.grip:hover, .grip:active { opacity: 1; }
li.open .chev-cell { transform: none; }
li.lifting { transform: scale(1.02); box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .15s, box-shadow .15s; }
li.drop-gap { transition: transform .18s ease; }
body.is-dragging { user-select: none; -webkit-user-select: none; }
body.is-dragging * { cursor: grabbing !important; }
.group.drop-only { display: none; }
body.is-dragging .drag-home .group.drop-only { display: block; margin-bottom: 10px; }
.group.drop-only:not(:has(li)) h3 { display: none; }
body.is-dragging .group ul:empty { min-height: 48px; border: 1.5px dashed color-mix(in srgb, var(--c) 40%, transparent); border-radius: 16px; display: grid; place-items: center; }
body.is-dragging .group ul:empty::before { content: 'Hierher ziehen'; font-size: 13px; color: var(--muted); }
body.is-dragging .group.drop-only ul:empty::before { content: attr(data-label); font-weight: 600; color: var(--c); }

/* Filter-Slider */
/* Filterzeile */
.fbar { margin: 12px -24px 30px; }
.fsep { flex: none; width: 1.5px; height: 26px; margin: 0 4px; border-radius: 2px; background: var(--line); }
.frow { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 24px; scroll-padding-inline: 24px;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent); }
.frow::-webkit-scrollbar { display: none; }
.frow > * { flex: none; }
.frow + .frow { margin-top: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 14px 0 11px; border: 1.5px solid color-mix(in srgb, var(--c) 26%, var(--line)); border-radius: 999px; background: none; color: var(--muted); font-size: 14.5px; cursor: pointer; transition: transform .12s, background .15s, color .15s; white-space: nowrap; }
.fchip svg.i { width: 16px; height: 16px; color: var(--c); }
.fchip:active { transform: scale(.96); }
.fchip.on { background: var(--c); border-color: var(--c); color: #1B1D22; font-weight: 600; }
.fchip.on svg.i { color: #1B1D22; }
.fchip.all { --c: var(--ink); padding-left: 14px; }
.fchip.all.on, .fchip.all.on svg.i { color: var(--bg); }
.fchip.time { --c: var(--accent); padding-right: 10px; }
.fchip.time .chev { width: 13px; height: 13px; opacity: .8; }
@media (max-width: 640px) { .fbar { margin: 10px -16px 24px; } .frow { padding: 4px 16px; scroll-padding-inline: 16px; } }
.chips::-webkit-scrollbar { display: none; }
.chips .chip { flex: none; scroll-snap-align: start; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; padding: 0 14px 0 11px; min-height: 38px; border-radius: 999px; border: 0; cursor: pointer; color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--card)); }
.chip svg.i { width: 17px; height: 17px; }
.chip.on { background: var(--c); color: #1B1D22; box-shadow: 0 2px 10px -2px color-mix(in srgb, var(--c) 60%, transparent); }
.chip.all { color: var(--ink); background: color-mix(in srgb, var(--ink) 10%, var(--bg)); padding-left: 14px; }
.chip.all.on { background: var(--ink); color: var(--bg); }
.chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Blöcke & Gruppen */
.block { margin-bottom: 52px; }
.block > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px 6px; color: var(--ink); font-size: 19px; font-weight: 600; }
.block > h2 .n { color: var(--muted); font-weight: 400; font-size: 16px; }
.block > .sub { margin: 0 0 18px 6px; color: var(--muted); font-size: 12.5px; opacity: .85; }
.block.later { padding: 22px 16px 8px; border: 1.5px dashed var(--line); border-radius: 24px; background: color-mix(in srgb, var(--card) 40%, transparent); }
.block.year > h2 { font-size: 18px; }
ul { list-style: none; margin: 0; padding: 0; }
.group { margin-bottom: 34px; }
.group h3 { font-size: 14px; font-weight: 600; color: var(--c, var(--muted)); margin: 0 0 12px 6px; display: flex; align-items: center; gap: 8px; }

/* Karte */
li.open { overflow: visible; }
li {
  box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--c, var(--muted)) var(--tint), var(--card));
  border: 1.5px solid color-mix(in srgb, var(--c, var(--muted)) var(--tint-line), var(--card));
  border-radius: 20px; margin-bottom: 14px; overflow: hidden;
}
li.leaving { animation: leave .28s ease forwards; }
@keyframes leave { to { opacity: 0; transform: translateY(6px); } }
.head { display: grid; grid-template-columns: 52px 1fr var(--tap); align-items: center; min-height: 66px; cursor: pointer; touch-action: pan-y; -webkit-touch-callout: none; }
.head .check-cell, .head .chev-cell { display: grid; place-items: center; align-self: stretch; }
.check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--c, var(--muted)); background: transparent; cursor: pointer; padding: 0; display: grid; place-items: center; transition: background .18s; }
.check-cell { width: 52px; height: 100%; min-height: 66px; display: grid; place-items: center; cursor: pointer; }
.check svg { width: 15px; height: 15px; stroke: #1B1D22; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .22s ease .05s; }
li.done .check { background: var(--c, var(--muted)); }
li.done .check svg { stroke-dashoffset: 0; }
.head .body { min-width: 0; padding: 16px 6px 16px 0; }
.title { font-size: 18px; font-weight: 500; line-height: 1.35; outline: none; word-break: break-word; border-radius: 4px; }
.title:focus { box-shadow: 0 0 0 4px var(--card-2); background: var(--card-2); }
.title-row { display: flex; align-items: flex-start; gap: 6px; }
.title-row .title { flex: 1; min-width: 0; }
.pen { flex: none; width: 36px; height: 36px; margin: -6px 0 -6px 0; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; opacity: .7; }
.pen:hover, .pen:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); opacity: 1; outline: none; }
.pen svg.i { width: 16px; height: 16px; }
li.done .title, li.trashed .title { color: var(--done); font-weight: 400; }
li.done .title { text-decoration: line-through; text-decoration-color: var(--done); }
.meta-line { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; font-size: 13.5px; color: var(--muted); align-items: center; }
.meta-line span { display: inline-flex; align-items: center; gap: 4px; }
.meta-line svg.i { width: 14px; height: 14px; }
.meta-line .date { color: var(--c); font-weight: 600; }
.card-preview { margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-line .age { opacity: .7; }
.meta-line .fresh { padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.mini-avs { display: inline-flex; margin-right: 4px; }
.mini-av { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #1B1D22; border: 1.5px solid var(--card); margin-right: -5px; }
.mini-av:last-child { margin-right: 0; }
li:not(.open) .head .body { padding-top: 14px; padding-bottom: 14px; }
.title.editable { cursor: text; border-radius: 8px; margin: -2px -6px; padding: 2px 6px; transition: background .15s, box-shadow .15s; }
.title.editable:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.title.editable[contenteditable="true"] { outline: none; background: var(--card); box-shadow: 0 0 0 2px var(--c); }
.chev-cell { color: var(--muted); transition: transform .2s; }
li.open .chev-cell { transform: rotate(180deg); }

/* Detail */
.detail { padding: 8px 20px 20px 20px; border-top: 1.5px solid color-mix(in srgb, var(--c) var(--tint-line), var(--card)); }
.section { margin-top: 24px; }
.section .lbl { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: none; margin: 0 0 12px 2px; display: flex; align-items: center; gap: 6px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; }
.desc { font-size: 16px; line-height: 1.6; word-break: break-word; }
.desc h3 { font-size: 20px; font-weight: 600; margin: 12px 0 4px; line-height: 1.25; }
.desc h4 { font-size: 17px; font-weight: 600; margin: 10px 0 2px; color: var(--c); }
.desc p { margin: 0 0 8px; } .desc p:last-child { margin-bottom: 0; }
.desc ul, .desc ol { margin: 4px 0 8px; padding-left: 22px; } .desc a { color: var(--c); } .desc strong { font-weight: 600; }
.desc-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1.5px dashed var(--line); color: var(--muted); border-radius: 12px; padding: 10px 14px; min-height: var(--tap); cursor: pointer; }
.desc-btn:hover { color: var(--ink); border-color: var(--muted); }
.desc-view { cursor: text; border-radius: 10px; padding: 2px; }
.desc-view:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.foot button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; padding: 10px 8px; min-height: var(--tap); border-radius: 10px; }
.foot button:hover { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.foot button.restore:hover { color: var(--c-ausflug); background: color-mix(in srgb, var(--c-ausflug) 12%, transparent); }

.date-wrap { position: relative; }
.date-wrap .date-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; padding: 0; border: 0; cursor: pointer; -webkit-appearance: none; appearance: none; font-size: 16px; }
.date-wrap .date-input::-webkit-date-and-time-value { height: 100%; }
.date-wrap:focus-within .pill { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Dropdown */
.menu-wrap { position: relative; display: inline-flex; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 210px; padding: 6px; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.menu.up { top: auto; bottom: calc(100% + 8px); }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: var(--tap); padding: 6px 10px; border: 0; border-radius: 9px; background: none; color: var(--ink); font-size: 15px; cursor: pointer; text-align: left; }
.menu button:hover, .menu button:focus-visible { background: color-mix(in srgb, var(--ink) 8%, transparent); outline: none; }
.menu button svg.cat { color: var(--mc); width: 17px; height: 17px; }
.menu button .tick { margin-left: auto; width: 16px; height: 16px; visibility: hidden; }
.menu button.on .tick { visibility: visible; }
.menu button.plain { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; margin-top: 4px; padding-top: 10px; }
.menu button.plain svg.cat { color: var(--muted); }

/* Bottom Sheet (mobil) */
.sheet-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; background: var(--card-2); border-radius: 22px 22px 0 0; padding: 8px 12px calc(16px + env(safe-area-inset-bottom)); max-height: 80vh; overflow: auto; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(0,0,0,.5); }
.sheet.in { transform: none; } .sheet-scrim.in { opacity: 1; }
html.sheet-lock, html.sheet-lock body { overflow: hidden; overscroll-behavior: none; touch-action: none; }
.sheet { touch-action: pan-y; }
.sheet .grip { min-height: 0; opacity: 1; width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 12px; }
.sheet .stitle { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 8px 8px; }
.sheet .menu { position: static; box-shadow: none; border: 0; background: none; padding: 0; min-width: 0; }
.sheet .menu button { min-height: 52px; font-size: 17px; border-radius: 12px; }
.sheet .menu button.plain { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; }
/* Kalender */
.cal { padding: 0 6px; }
.cal .nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal .nav b { font-size: 17px; font-weight: 600; }
.cal .nav button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cal .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .wd { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.cal .day { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 16px; cursor: pointer; display: grid; place-items: center; }
.cal .day.other { color: var(--done); } .cal .day.today { box-shadow: inset 0 0 0 1.5px var(--muted); }
.cal .day.sel { background: var(--c, var(--accent)); color: #1B1D22; font-weight: 700; }
.cal .day:active { transform: scale(.92); }
.cal .actions { display: flex; gap: 8px; margin-top: 12px; }
.cal .actions button { flex: 1; min-height: 44px; border: 1.5px solid var(--line); border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.cal .actions button.clear { color: var(--danger); }
.date-wrap .date-input { display: none; }
.thread { margin-bottom: 12px; }
.msg { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: 15.5px; }
.msg + .msg { border-top: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); }
.msg:first-child { padding-top: 4px; }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; color: #1B1D22; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.msg-body { flex: 1; min-width: 0; }
.msg .who { display: flex; gap: 8px; align-items: center; min-height: 24px; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.msg .who b { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.msg .txt { line-height: 1.5; word-break: break-word; }
.msg .txt p { margin: 0 0 6px; } .msg .txt p:last-child { margin: 0; }
.msg .txt strong { font-weight: 600; } .msg .txt ul, .msg .txt ol { margin: 4px 0; padding-left: 22px; } .msg .txt a { color: var(--c); }
.msg .editor { margin-top: 6px; }
.msg-more { margin-left: auto; }
.msg-more .more { width: 32px; height: 32px; margin: -4px -6px -4px 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.msg-more .more svg.i { width: 18px; height: 18px; }
.msg-more .more:hover, .msg-more .more:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); outline: none; }
.msg-more .menu { left: auto; right: 0; }
.compose { display: flex; align-items: center; gap: 10px; width: 100%; min-height: var(--tap); padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); font-size: 15px; cursor: text; text-align: left; }
.compose:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.compose .avatar { width: 30px; height: 30px; }
/* Editor */
.editor { background: var(--bg); border-radius: 16px; padding: 10px 12px; margin-top: 12px; }
.editor:focus-within { box-shadow: 0 0 0 2px var(--c); }
.editor .tb { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 4px; }
.editor .tb button { min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; font-size: 13px; display: grid; place-items: center; }
.editor .tb button:hover, .editor .tb button.active { background: var(--card-2); color: var(--ink); }
.editor .tb .sep { width: 1px; background: var(--line); margin: 6px 4px; }
.editor .tb button.b { font-weight: 700; } .editor .tb button.i { font-style: italic; } .editor .tb button.s { text-decoration: line-through; }
.editor .tb button.h1 { font-weight: 700; font-size: 15px; } .editor .tb button.h2 { font-weight: 600; font-size: 13px; }
.editor .box { min-height: 28px; max-height: 45vh; overflow: auto; outline: none; font-size: 16px; line-height: 1.6; padding: 8px 6px; word-break: break-word; }
.editor .box:empty::before { content: attr(data-placeholder); color: var(--muted); }
.editor .box h3 { font-size: 20px; font-weight: 600; margin: 8px 0 4px; } .editor .box h4 { font-size: 17px; font-weight: 600; margin: 8px 0 2px; color: var(--c); }
.editor .box p { margin: 0 0 8px; } .editor .box ul, .editor .box ol { margin: 4px 0; padding-left: 22px; }
.editor .foot-e { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.editor .foot-e button { border: 0; border-radius: 999px; padding: 0 16px; min-height: 38px; cursor: pointer; font-weight: 600; font-size: 14px; background: var(--c); color: #1B1D22; }
.editor .foot-e button.ghost { background: var(--card-2); color: var(--ink); font-weight: 500; }

/* Zugeklappte Bereiche */
details { margin-top: 30px; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); padding: 12px 6px; min-height: var(--tap); border-radius: 12px; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary:hover, summary:focus-visible { color: var(--ink); outline: none; }
summary .count { font-weight: 400; } summary .chev { margin-left: auto; transition: transform .2s; }
details[open] summary .chev { transform: rotate(180deg); }
details .tools { display: flex; justify-content: flex-end; margin: 4px 6px 12px; }
details .tools button { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 8px 4px; min-height: var(--tap); }
details .tools button:hover { color: var(--danger); }
details li { background: transparent; border-color: var(--line); box-shadow: none; }

.empty { color: var(--muted); padding: 20px 6px; }
/* Footer */
.site-foot { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.sf-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.sf-mark { width: 30px; height: 30px; flex: none; }
.sf-name b { color: var(--brand-b); font-weight: 700; }
.sf-intro { margin: 10px 0 0; max-width: 400px; line-height: 1.55; }
.sf-stat { margin: 6px 0 0; }
.sf-stat:empty { display: none; }
.sf-stat b { color: var(--ink); font-weight: 600; }
.sf-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 2px 36px; margin-top: 18px; }
@media (min-width: 641px) { .sf-links { grid-template-columns: repeat(3, max-content); } }
.sf-links button { position: relative; justify-self: start; border: 0; background: none; padding: 9px 0 9px 14px; color: var(--ink); font: inherit; font-size: 14.5px; cursor: pointer; text-align: left; }
.sf-links button[hidden] { display: none; }
.sf-links button::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--dc, var(--muted)); }
[data-act=share], [data-act=help] { --dc: var(--brand-a); } [data-act=lists], [data-act=feedback] { --dc: var(--brand-b); } [data-act=cats], [data-act=mail] { --dc: var(--brand-c); }
.sf-links button:hover { text-decoration: underline; text-decoration-color: var(--dc); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.sf-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 22px; font-size: 12px; }
.sf-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.brand { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.brand b { font-weight: 600; color: var(--brand-b); }
.brand .mark { width: 16px; height: 16px; flex: none; }
.tour-brand { display: flex; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.tour-brand .mark { width: 34px; height: 34px; }
.toast { position: fixed; left: 50%; bottom: calc(max(24px, env(safe-area-inset-bottom)) + 90px); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap; max-width: calc(100vw - 32px); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 40; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

dialog { border: 0; border-radius: 22px; background: var(--card); color: var(--ink); padding: 24px; box-shadow: var(--shadow); max-width: 340px; width: calc(100% - 40px); margin: auto; max-height: 85dvh; overflow: auto; }
dialog.wide { max-width: 420px; }
dialog::backdrop { background: rgba(0,0,0,.5); }
dialog p { margin: 0 0 14px; } dialog p.sub { color: var(--muted); font-size: 15px; margin-top: -8px; }
dialog input { width: 100%; font: inherit; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); outline: none; }
dialog input:focus { border-color: var(--accent); }
dialog .btns { display: flex; gap: 8px; margin-top: 14px; }
dialog .btns button { flex: 1; border: 0; border-radius: 999px; min-height: var(--tap); cursor: pointer; font-weight: 600; background: var(--card-2); color: var(--ink); }
dialog .btns button.primary { background: var(--accent); color: #1B1D22; }
dialog .btns button.danger { background: var(--danger); color: #1B1D22; }
dialog .btns button.ghost-danger { background: none; color: var(--danger); flex: 0 0 auto; padding-inline: 12px; }
.mailopt { display: flex; align-items: center; gap: 12px; padding: 8px 2px; min-height: var(--tap); cursor: pointer; }
.mailopt:first-of-type { margin-top: 6px; }
.mailopt input { width: 22px; height: 22px; flex: none; padding: 0; accent-color: var(--accent); }
.mailopt span { display: flex; flex-direction: column; gap: 2px; } .mailopt small { color: var(--muted); font-size: 13px; }
#mailState { color: var(--muted); font-size: 14px; margin: 8px 0 0; } #mailState.err { color: var(--danger); } #mailState:empty { display: none; }
.catlist { display: flex; flex-direction: column; gap: 4px; margin: 0 -6px; }
.catlist .crow { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; }
.catlist .crow:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.catlist .crow .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--mc) 18%, var(--card)); color: var(--mc); flex: none; }
.catlist .crow button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; min-width: 40px; min-height: 40px; border-radius: 8px; display: grid; place-items: center; }
.catlist .crow button:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 10%, transparent); }
.catlist .crow button:disabled { opacity: .25; cursor: default; }
.catlist .crow .edit { flex: 1; text-align: left; padding: 6px 0; color: var(--ink); font-size: 16px; display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catlist .crow .ord { display: flex; }
.catadd { margin-top: 10px; width: 100%; border: 1.5px dashed var(--line); background: none; color: var(--muted); border-radius: 12px; min-height: var(--tap); cursor: pointer; }
.catadd:hover { color: var(--ink); border-color: var(--muted); }
.field { margin-top: 14px; font-size: 14px; color: var(--muted); } .field label { display: block; margin-bottom: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--sc); }
.sw.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--card); }
.icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.icons button { aspect-ratio: 1; border: 1.5px solid transparent; border-radius: 10px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 0; }
.icons button svg.i { width: 18px; height: 18px; }
.icons button.on { color: var(--mc); border-color: var(--mc); background: color-mix(in srgb, var(--mc) 14%, transparent); }
.preview { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--mc); color: #1B1D22; font-weight: 500; font-size: 15px; }
.preview svg.i { width: 17px; height: 17px; }

/* Mobil: Eingabe unten am Daumen */
@media (max-width: 640px) {
  body { padding: 0 16px calc(120px + env(safe-area-inset-bottom)); }
  header { margin-bottom: 32px; }
  h1 { margin-top: 18px; }
  .add {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); margin: 0; z-index: 31; padding: 12px 14px;
    background: color-mix(in srgb, var(--card-2) 92%, var(--accent)); border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--line));
    box-shadow: 0 -4px 30px rgba(0,0,0,.35), 0 12px 40px -10px rgba(0,0,0,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform-origin: calc(100% - 28px) calc(100% - 28px);
    transform: scale(.08); opacity: 0; pointer-events: none;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  }
  body.composer-open .add { transform: none; opacity: 1; pointer-events: auto; }
  .add .opts { margin-top: 8px; padding-right: 0; }
  .add .line { padding-right: 34px; }
  .scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.28); opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.composer-open .scrim { opacity: 1; pointer-events: auto; }
  .fbar { margin: 10px -16px 24px; }
  body { font-size: 18px; }
  .chip { font-size: 16px; min-height: 46px; padding: 0 18px 0 14px; gap: 8px; }
  .chip svg.i { width: 18px; height: 18px; }
  .pill { font-size: 16px; min-height: 46px; padding: 0 16px 0 13px; }
  .title { font-size: 20px; }
  .head { min-height: 72px; grid-template-columns: 56px 1fr 48px; }
  .check-cell { width: 56px; min-height: 72px; }
  .check { width: 28px; height: 28px; }
  .meta-line { font-size: 14px; }
  .desc { font-size: 17px; }
  .msg { font-size: 16px; }
  .compose { font-size: 16px; }
  .desc-btn, .foot button { font-size: 16px; }
  .menu button { font-size: 16px; min-height: 48px; }
  .editor .tb button { min-width: 40px; height: 40px; font-size: 14px; }
  .section .lbl { font-size: 14px; }
  .block > .sub { font-size: 12.5px; }
  .group h3 { font-size: 15px; }
  .add input { font-size: 19px; }
  .block.later { padding: 16px 10px 4px; }
  .block > .sub { margin-bottom: 16px; }
  .menu { min-width: 230px; }
  .editor .box { max-height: 38vh; }
  dialog { margin: auto; max-height: 82dvh; }
}
/* Plus-Button & HUD (mobil) */
.fab {
  display: grid; position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 32;
  width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--accent); color: #1B1D22; cursor: pointer;
  place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.45);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s;
}
.fab svg.i { width: 26px; height: 26px; stroke-width: 2.5; }
.fab:active { transform: scale(.9); }
body.composer-open .fab { transform: scale(.4) rotate(90deg); opacity: 0; pointer-events: none; }
.add .close { display: grid; position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--muted); cursor: pointer; place-items: center; }
.add .close:hover { color: var(--ink); }
@media (min-width: 641px) { .add { position: relative; } .fab, .add .close, .scrim { display: none; } }

/* Ladesequenz */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity .35s ease; }
#loader.hide { opacity: 0; pointer-events: none; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
main { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
main.ready { opacity: 1; transform: none; }
li.stagger { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Feedback */
li.enter { animation: pop .5s cubic-bezier(.2,.8,.2,1.15) both; }
@keyframes pop { 0% { opacity: 0; transform: translateY(-10px) scale(.96); } 60% { opacity: 1; } 100% { transform: none; } }
.send:not(:disabled):active { transform: scale(.88); }
.send.fire { animation: fire .45s ease; }
@keyframes fire { 0% { transform: scale(1); } 30% { transform: scale(1.18); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 30%, transparent); } 100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; } }
.add.fire { border-color: var(--accent); }
.check { transition: background .18s, transform .15s; }
.check-cell:active .check { transform: scale(.82); }
li.done .check { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.22); } }
.head { transition: background .15s; }
.head:active { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.pill, .chip, .tb-btn, .desc-btn, .menu button, .foot button, dialog .btns button { transition: transform .12s, background .15s, color .15s; }
.pill:active, .chip:active, .desc-btn:active, dialog .btns button:active { transform: scale(.96); }

/* Detail hübscher */
.detail { animation: unfold .25s ease both; }
@keyframes unfold { from { opacity: 0; transform: translateY(-4px); } }
.detail .section.desc-sec { margin-top: 20px; }
.desc-view { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--card) 55%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); }
.desc-view:hover { background: color-mix(in srgb, var(--card) 80%, transparent); }
.section .lbl { letter-spacing: .01em; }
.saved-note { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--c-ausflug); opacity: 0; transition: opacity .2s; }
.saved-note.show { opacity: 1; }
.saved-note.wait { color: var(--muted); }
.saved-note svg.i { width: 13px; height: 13px; }
.section .lbl svg.i { width: 15px; height: 15px; }
.section.plan { padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.section.comments { padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.foot { border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); padding-top: 12px; }
/* Feedback */
/* Feedback: Aufbau wie die Info-Seite (Kopf, Abschnitte mit kleinen Überschriften) */
.fb-hero { padding-bottom: 18px; }
.fb-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-a); background: color-mix(in srgb, var(--brand-a) 14%, transparent); }
.fb-badge svg.i { width: 15px; height: 15px; }
.fb .info-name { font-size: 26px; }
.fb-intro { max-width: 330px; line-height: 1.45; margin-top: 4px; }
.fb-form { padding: 0 20px; }
.fb-form .btns { margin-top: 12px; }
.fb-kind { display: flex; gap: 8px; margin-bottom: 10px; }
.fb-kind button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--tap); border: 0; border-radius: 14px; background: var(--card-2); color: var(--muted); cursor: pointer; font-size: 15px; transition: background .15s, color .15s; }
.fb-kind button.on { color: var(--k); background: color-mix(in srgb, var(--k) 16%, var(--card-2)); font-weight: 600; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--k) 55%, transparent); }
.fb-kind button svg.i { width: 17px; height: 17px; }
#fbText { width: 100%; font: inherit; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; outline: none; resize: vertical; display: block; }
#fbText:focus { border-color: var(--accent); }
dialog .fb-meta { margin: 8px 2px 0; font-size: 12.5px; color: var(--muted); }
.fb .info-h { display: flex; align-items: center; gap: 8px; }
#fbCount:not(:empty) { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--card-2); color: var(--ink); font-size: 12px; letter-spacing: 0; text-align: center; }
dialog .fb-lead { margin: -4px 24px 10px; color: var(--muted); font-size: 14px; }
.fb-known, .fb-items { display: flex; flex-direction: column; gap: 8px; padding: 0 20px; }
.fb-kn { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); }
.fb-kn .fb-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; flex: none; background: var(--k); box-shadow: 0 0 0 4px color-mix(in srgb, var(--k) 18%, transparent); }
.fb-kn .fb-state { margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--k); }
.fb-kn.fixed .fb-txt { color: var(--muted); }
.fb-tip { margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.fb-body { flex: 1; min-width: 0; }
.fb-txt { font-size: 15px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.fb-item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card-2); }
.fb-item.done { opacity: .55; } .fb-item.done .fb-txt { text-decoration: line-through; }
.fb-item .fb-tick { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--k); background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.fb-item .fb-tick svg { width: 12px; height: 12px; stroke: #1B1D22; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.fb-item.done .fb-tick { background: var(--k); } .fb-item.done .fb-tick svg { opacity: 1; }
.fb-item .fb-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.fb-item .fb-sub b { color: var(--k); font-weight: 600; }
.fb-item .fb-del { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; align-self: flex-start; border-radius: 8px; }
.fb-item .fb-del:hover { color: var(--danger); }
.fb-more { display: block; margin: 8px auto 0; min-height: var(--tap); padding: 0 14px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.fb-more:hover { color: var(--ink); }
.fb-empty { color: var(--muted); font-size: 14.5px; padding: 14px 4px; text-align: center; }
/* Hilfe-Tour */
dialog.tour { max-width: 380px; padding: 0; overflow: hidden; }
.tour-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.tour-close:hover { color: var(--ink); }
.tour-stage { position: relative; height: 200px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--accent) 16%, var(--card-2)), var(--card-2)); }
.tour-stage .demo { width: 250px; pointer-events: none; transform: scale(.92); }
.tour-text { padding: 16px 18px 0; }
.tour-text h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.tour-text p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.tour-foot { display: flex; align-items: center; gap: 10px; padding: 14px 18px 16px; }
.tour-foot > button { border: 0; border-radius: 999px; height: 38px; padding: 0 14px; cursor: pointer; background: var(--card-2); color: var(--ink); font-weight: 500; font-size: 14px; white-space: nowrap; flex: none; }
.tour-foot > button.primary { background: var(--accent); color: #1B1D22; font-weight: 600; padding: 0 16px; margin-left: auto; }
.tour-foot > button.arrow { width: 38px; padding: 0; display: grid; place-items: center; }
.tour-foot > button.arrow svg.i { width: 16px; height: 16px; }
.tour-foot > button.arrow[hidden] { display: none; }
.tour-foot > button.skip { background: none; color: var(--muted); padding: 0 2px; font-weight: 400; font-size: 13.5px; }
.tour-foot > button.skip:hover { color: var(--ink); }
.dots { display: flex; gap: 5px; flex: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: width .2s, background .2s; }
.dots i.on { width: 16px; background: var(--accent); }
@media (max-width: 380px) { .tour-foot > button.skip { display: none; } }
/* Demo-Elemente */
.demo .d-card { display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--dc) 12%, var(--card)); border: 1.5px solid color-mix(in srgb, var(--dc) 30%, var(--card)); border-radius: 16px; padding: 12px 14px; margin-bottom: 8px; }
.demo .d-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--dc); flex: none; display: grid; place-items: center; }
.demo .d-check svg { width: 13px; height: 13px; stroke: #1B1D22; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.demo .d-card.done .d-check { background: var(--dc); } .demo .d-card.done .d-check svg { opacity: 1; }
.demo .d-card.done .d-title { text-decoration: line-through; color: var(--done); }
.demo .d-title { font-size: 15px; font-weight: 500; }
.demo .d-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.demo .d-bar { display: flex; align-items: center; gap: 10px; background: var(--card-2); border: 1.5px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: 16px; padding: 10px 12px; }
.demo .d-input { flex: 1; font-size: 15px; color: var(--ink); }
.demo .d-caret { display: inline-block; width: 1.5px; height: 16px; background: var(--accent); vertical-align: -3px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo .d-send { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #1B1D22; display: grid; place-items: center; flex: none; }
.demo .d-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--dc, var(--ink)) 16%, var(--card)); color: var(--dc, var(--ink)); }
.demo .d-row { display: flex; gap: 6px; flex-wrap: wrap; }
.demo .d-sheet { background: var(--card-2); border-radius: 16px 16px 0 0; padding: 10px; }
.demo .d-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; }
.demo .d-opt.sel { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.demo .d-opt .tickm { margin-left: auto; color: var(--accent); }
.demo .d-finger { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.55); }
.demo .d-cmt { display: flex; gap: 8px; font-size: 13px; margin-top: 6px; }
.demo .d-av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #1B1D22; flex: none; }
.tour-stage .demo * { animation-fill-mode: both; }
@keyframes tapPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.94); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes fingerMove { 0% { opacity: 0; transform: translate(var(--x1), var(--y1)); } 15% { opacity: 1; } 55% { opacity: 1; transform: translate(var(--x2), var(--y2)); } 70% { transform: translate(var(--x2), var(--y2)) scale(.8); } 85%, 100% { opacity: 0; transform: translate(var(--x2), var(--y2)); } }
@keyframes slideUp { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } main { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bg-blobs i { animation: bg-fade 16s ease-in-out infinite alternate !important; } .bg-blobs i:nth-child(2n) { animation-delay: -8s !important; } }

/* Suche und Filter: eine schlanke Zeile über der Liste */
.toolbar { display: flex; align-items: center; gap: 8px; margin: 0 0 28px; }
.toolbar[hidden] { display: none; }
.search-bar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 4px 0 13px; border: 1px solid transparent; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); transition: border-color .15s, background .15s; }
.search-bar:focus-within { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: var(--card); }
.search-bar > svg.i { width: 17px; height: 17px; color: var(--muted); flex: none; }
.search-bar:focus-within > svg.i { color: var(--accent); }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--ink); font: inherit; font-size: 15px; padding: 0 2px; height: 100%; text-overflow: ellipsis; }
.search-bar input::placeholder { color: var(--muted); }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-count { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.search-x { width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.search-x svg.i { width: 16px; height: 16px; }
.search-bar:has(input:placeholder-shown) .search-x { display: none; }
.filter-wrap[hidden], .tool-x[hidden] { display: none; }
.filter-wrap { align-items: center; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); flex: 0 1 auto; min-width: 0; max-width: 42%; }
.tool-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; min-width: 0; padding: 0 13px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: inherit; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.tool-btn span { overflow: hidden; text-overflow: ellipsis; }
.tool-btn svg.i { width: 17px; height: 17px; flex: none; }
.tool-btn:hover { color: var(--ink); }
.filter-wrap:has(.tool-btn.on) { background: color-mix(in srgb, var(--c, var(--accent)) 18%, transparent); }
.tool-btn.on { color: var(--ink); font-weight: 600; padding-right: 4px; }
.tool-btn.on svg.i { color: var(--c, var(--accent)); }
.tool-x { width: 34px; height: 34px; margin-right: 4px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.tool-x:hover { color: var(--ink); }
.tool-x svg.i { width: 15px; height: 15px; }
.menu-h { padding: 8px 10px 4px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.menu-h:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.i-gap { width: 17px; flex: none; }
.fmenu { min-width: 230px; max-height: 70vh; overflow-y: auto; }
main.searching .filter-wrap { display: none; }
main.searching #open, main.searching #empty, main.searching #doneBox, main.searching #trashBox { display: none; }
.search-list { margin: -14px 0 30px; padding: 6px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.search-list[hidden] { display: none; }
.search-list li { box-shadow: none; background: none; border: 0; border-radius: 14px; margin: 0; overflow: visible; }
.search-list .search-hint { padding: 18px 12px; color: var(--muted); font-size: 14.5px; text-align: center; }
.search-hit { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; min-height: 52px; cursor: pointer; }
.search-hit.active { background: color-mix(in srgb, var(--c) 14%, var(--card-2)); }
@media (hover: none) { .search-hit.active { background: none; } .search-hit:active { background: color-mix(in srgb, var(--c) 14%, var(--card-2)); } }
.sh-icon { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.sh-icon svg.i { width: 18px; height: 18px; }
.sh-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sh-title { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.search-hit.is-done .sh-title { color: var(--muted); }
.sh-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.sh-meta span:first-child { color: var(--c); }
.search-hit.is-done .sh-meta span:nth-child(2)::before { content: '🏅 '; }
.sh-snip { display: flex; gap: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.sh-snip svg.i { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.sh-snip > span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sh-snip b { color: var(--ink); font-weight: 600; }
.search-list mark { background: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--ink); border-radius: 3px; padding: 0 1px; }
li.found { animation: found 1.6s ease; }
@keyframes found { 0%, 35% { box-shadow: 0 0 0 3px var(--c), var(--shadow); } 100% { box-shadow: var(--shadow); } }
@media (max-width: 640px) { .search-list { margin-inline: -6px; } .search-bar input { font-size: 16px; } .toolbar { margin-bottom: 22px; } }
@media (max-width: 640px) { .list-head { flex-direction: column; align-items: flex-start; } .lh-main { flex-basis: auto; width: 100%; } header { margin-bottom: 20px; } }
