/* Wunschzeit — eigenständiges Design, ohne externe Schrift- oder Bilddienste. */
:root{--ink:#253e35;--muted:#69766d;--green:#315d4e;--paper:#f6f5ef;--line:#e1e6dd;--schrift-kopf:Georgia,'Times New Roman',serif;--schrift-text:system-ui,-apple-system,'Segoe UI',sans-serif;--c-muted:105 118 109;--c-cta:49 93 78;--c-night:37 62 53;--c-ink:37 62 53;--c-gold:151 95 46;--breite-screen:62rem;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 var(--schrift-text);padding-bottom:112px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2}h2{font-family:var(--schrift-kopf);font-weight:400;font-size:1.8rem}h3{font-size:1.15rem;font-weight:600}a{color:var(--green);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,a{transition:background .18s,box-shadow .18s,transform .18s}a:hover{color:#173c2c}img{max-width:100%}:focus-visible{outline:3px solid #a77c37;outline-offset:4px}[hidden]{display:none!important}.icon{width:23px;height:23px;flex:none;vertical-align:middle}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link:focus{position:fixed;z-index:100;background:white;padding:1rem}
.app-hero{max-width:68rem;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 32px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-family:var(--schrift-kopf);font-size:1.65rem;color:var(--ink);line-height:1.15}.brand-caption{display:block;font:10px/1.5 var(--schrift-text);letter-spacing:.08em;margin-top:5px;text-transform:uppercase;color:var(--muted)}.brand-note{font-size:12px;color:var(--muted)}.topbar{position:sticky;top:0;background:#f6f5eff5;backdrop-filter:blur(16px);z-index:30;border-bottom:1px solid var(--line)}.topbar-inner{max-width:64rem;margin:auto;display:flex;align-items:center;gap:16px;min-height:80px;padding:12px 32px}.topbar-title{flex:1;min-width:0;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topbar-back{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;flex:none}.family-switch{max-width:46%}.family-switch .field-select{font-size:12px;min-height:38px;background:#e9eee6;padding-right:30px}
.screen{max-width:64rem;padding:36px 32px;margin:auto}.section-intro{margin:4px 0 32px}.section-intro h2{font-size:clamp(2.2rem,4vw,3.2rem);letter-spacing:-.04em;line-height:1.12}.section-intro p{margin-top:16px;color:var(--muted);font-size:14px}.list{display:grid;gap:16px}.list-wishes{grid-template-columns:repeat(3,minmax(0,1fr))}.list-count{font-size:12px;color:var(--muted);margin:18px 0}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 5px 20px #253e3503;overflow:hidden}.family-card{padding:0;transition:transform .18s,border-color .18s}.family-card:hover,.wish-card:hover{transform:translateY(-3px);border-color:#adc3b2;box-shadow:0 10px 26px #253e350a}.family-card-link{display:block;padding:24px;color:var(--ink);text-decoration:none}.family-row,.heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.family-card-body{flex:1;min-width:0}.family-card-title{font-family:var(--schrift-kopf);font-size:1.5rem;font-weight:400}.family-card-meta,.family-head-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;color:var(--muted);font-size:12px;margin-top:8px}.family-emblem{width:54px;height:54px;border-radius:17px;background:#edf2e8;color:#527452;display:grid;place-items:center;flex:none}.family-emblem .icon{width:27px;height:27px}.is-current{border-color:#9bb59e}.chevron{width:18px;color:#839286}.family-form{margin-top:24px}.family-form-neu{background:#eff3e9;border-color:#dfe7d6}.family-form-title{font-size:1.5rem}.family-form .form{margin-top:22px}.hint,.field-hint{color:var(--muted);font-size:13px}.hint{margin-top:9px}.family-head-title{font-size:2.1rem;letter-spacing:-.03em}.family-head-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.family-code{text-align:center;margin-top:24px;background:#f0eade;border-color:#e7dfd0}.family-code h2{font-size:1.6rem}.family-code-value{font-family:ui-monospace,monospace;font-size:2rem;letter-spacing:.12em;color:#80613e;margin:22px 0;user-select:all}.family-members{margin-top:36px}.family-members>.list,.family-pending>.list{margin-top:20px}.family-pending{margin-top:24px}.member{display:flex;align-items:center;border:1px solid var(--line);border-radius:16px;background:white;overflow:hidden}.member-link{flex:1;display:flex;align-items:center;gap:16px;padding:16px;text-decoration:none;color:var(--ink);min-width:0}.member-link:hover{background:#f1f5ee}.member-body{flex:1;min-width:0}.member-name{font-size:14px;font-weight:600}.member-meta{font-size:12px;color:var(--muted);margin-top:4px}.member-menu-knopf{border:0;color:var(--green);background:transparent;width:44px;height:44px;margin-right:10px}.emoji-avatar{width:48px;height:48px;background:#edf2e8;display:inline-grid;place-items:center;border-radius:50%;font-size:28px;flex:none}.emoji-avatar.large{width:68px;height:68px;font-size:40px}.you{font-weight:400;color:var(--muted);font-size:12px}.person-intro{display:flex;align-items:center;gap:20px;margin-bottom:28px}.person-intro h2{font-size:2rem}.santa-emoji{font-size:36px}.santa-ziel{display:block;background:#edf3e8;border:1px solid #d4dfcd;padding:22px;border-radius:14px;text-decoration:none}.santa-ziel-name{display:block;font-family:var(--schrift-kopf);font-size:1.75rem}.santa-ziel .hint{display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border-radius:10px;padding:11px 20px;font-size:14px;font-weight:600;text-decoration:none;border:1px solid transparent;line-height:1.4}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--green);color:white;box-shadow:0 3px 6px #315d4e10}.btn-primary:hover{background:#244a3c;color:white}.btn-secondary{background:#fff;color:var(--ink);border-color:#d4dfd2}.btn-secondary:hover{background:#e8eee4}.btn-danger{background:#a94337;color:white}.btn-small{padding:7px 13px;min-height:38px;font-size:12px}.text-button{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:var(--green);font-size:13px;min-height:44px;padding:6px 0;text-decoration:underline;text-underline-offset:4px}.text-button .icon{width:17px}.danger-text{color:#a94337}.button-row,.screen-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.centered{justify-content:center}.spaced{margin-top:24px}.stack{display:grid;gap:12px}.full-width{width:100%}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}
.form{display:grid;gap:20px}.field{display:grid;gap:7px}.field-label,.avatar-field legend{font-size:12px;font-weight:600}.field-input,.field-select{width:100%;min-width:0;min-height:46px;background:#fafbf8;color:var(--ink);border:1px solid #dce3d7;border-radius:10px;padding:11px 13px;font-size:14px}.field-select{padding-right:14px}.field-input::placeholder{color:#909a8f}.field-input:focus,.field-select:focus{border-color:#74967c;box-shadow:0 0 0 3px #315d4e0d}.field-check{display:flex;align-items:flex-start;gap:10px;font-size:13px}.field-check input{accent-color:var(--green);width:18px;height:18px;margin:2px 0 0;flex:none}.form-columns{display:grid;grid-template-columns:1fr 1.6fr;gap:16px}.form-error{padding:12px;border:1px solid #eec5bc;border-radius:10px;background:#fdf0ed;color:#9e3d30;font-size:13px}.file-input{font-size:12px}.file-input::file-selector-button{border:0;border-radius:6px;background:#e6eddf;color:var(--ink);padding:5px 10px;margin-right:10px}.form-intro{margin-bottom:24px}.avatar-field{border:0;padding:0;margin:0}.avatar-options{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin-top:10px}.avatar-options label{position:relative;cursor:pointer}.avatar-options input{position:absolute;opacity:0}.avatar-options label>span:first-of-type{display:grid;place-items:center;aspect-ratio:1;font-size:24px;border:2px solid transparent;background:#f0f4eb;border-radius:10px}.avatar-options input:checked+span{border-color:var(--green)}.avatar-options input:focus-visible+span{outline:3px solid #a77c37}
.app--plain{padding-bottom:0}.screen--plain{max-width:68rem;min-height:calc(100svh - 110px);display:grid;grid-template-columns:1fr 1fr;gap:28px 70px;align-content:center;padding:56px 50px}.screen--plain::before{content:'Die schönsten Geschenke beginnen mit einem Wunsch.';font:400 clamp(2.5rem,4.5vw,4rem)/1.12 var(--schrift-kopf);letter-spacing:-.045em;align-self:center;grid-column:1;grid-row:1;color:#315d4e;max-width:440px}.plain-card{grid-column:2;grid-row:1;background:white;border:1px solid var(--line);border-radius:24px;padding:36px;box-shadow:0 20px 70px #30492d06}.plain-title{font-family:var(--schrift-kopf);font-size:2rem;font-weight:400;letter-spacing:-.03em}.plain-text{font-size:13px;color:var(--muted);margin-top:12px}.plain-card .form{margin-top:28px}.plain-card .btn{width:100%}.plain-links{margin-top:22px;font-size:12px}.setup-note{font-size:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:24px;color:var(--muted)}.own-server{font-size:11px;color:var(--muted);margin-top:30px;display:flex;align-items:center;justify-content:center;gap:6px}.screen--plain>.own-server{grid-column:2;margin:0}.own-server .icon{width:13px;height:13px;color:#a5654f}
.wish-add{margin:24px 0 30px}.wish-add-hint{font-size:12px;color:var(--muted);margin-top:9px}.wish-toolbar{display:flex;gap:12px}.wish-toolbar>label:first-child{flex:1}.wish-toolbar>label:last-child{width:180px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid #dce3d7;border-radius:10px;background:#fff;padding:0 14px;min-width:0}.search-field .icon{width:18px;color:#7c8a7d}.search-field input{border:none;background:none;color:var(--ink);font-size:13px;padding:12px 0;width:100%;min-width:0}.wish-card{padding:0;transition:transform .18s,border-color .18s}.wish-open{display:flex;width:100%;text-align:left;border:0;background:none;color:var(--ink);font:inherit;cursor:pointer}.wish-card-link{flex-direction:column;height:100%;padding:0}.wish-card-image{width:100%;height:180px;object-fit:cover}.wish-placeholder{display:grid;place-items:center;background:#e9eee1}.wish-card:nth-child(3n+2) .wish-placeholder{background:#f2e9dc}.wish-card:nth-child(3n) .wish-placeholder{background:#e7edf0}.wish-placeholder .icon{width:52px;height:52px;stroke-width:1.1;color:#748567}.wish-card-body{padding:20px;width:100%}.wish-card-title{font-family:var(--schrift-kopf);font-size:1.4rem;font-weight:400}.wish-card-text{font-size:12px;color:var(--muted);margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.wish-card-text:empty{display:none}.wish-card-meta{font-size:11px;display:flex;justify-content:space-between;gap:8px;margin-top:18px;flex-wrap:wrap;color:var(--muted)}.wish-card-price{font-weight:600;color:var(--ink)}.wish-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.wish-badges:empty{display:none}.wish-heart{color:#9a6544;font-size:11px;font-weight:600}.badge{padding:3px 8px;border-radius:6px;font-size:10px}.badge-idea{background:#edf2e5;color:#4d6846}.reservation-info{font-size:11px;color:var(--muted);margin-top:14px;display:flex;align-items:center;gap:5px}.reservation-info .icon{width:15px;height:15px}.reservation-info.is-mine{color:#366d47}.is-taken{opacity:.75}.privacy-note{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:11px;margin-top:28px;text-align:center}.privacy-note .icon{width:15px;height:15px}.wish-detail{display:grid;gap:16px}.wish-detail-image{width:100%;max-height:320px;object-fit:contain;border-radius:12px;background:#f4f6ef}.wish-detail-owner{font-size:12px;color:var(--muted)}.wish-detail-price{font-size:1.6rem;font-family:var(--schrift-kopf)}.wish-detail-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.reservation-detail{background:#edf3e7;padding:14px;border-radius:10px;font-size:13px}
.empty-state{grid-column:1/-1;padding:40px 28px;text-align:center;background:#f0f3e9;border:1px dashed #cdd9c4;border-radius:20px;width:100%}.empty-state h2{font-size:1.6rem}.empty-state p{font-size:13px;color:var(--muted);margin-top:12px}.empty-symbol{color:#82926f;margin-bottom:18px}.empty-symbol .icon{width:40px;height:40px}.empty-state+.btn{margin-top:20px}.shopping-summary{display:grid;grid-template-columns:1fr 1fr 1.4fr;background:#eaf0e1;border-radius:20px;padding:28px 18px;gap:12px}.shopping-summary>div{display:grid;text-align:center}.shopping-summary strong{font:400 2rem var(--schrift-kopf)}.shopping-summary span{font-size:11px;color:var(--muted);margin-top:9px}.subheading{font-size:1.5rem;margin-bottom:18px}.shopping-card{padding:0}.shopping-card-link{align-items:center;gap:18px;padding:18px}.shopping-card-image{width:65px;height:65px;border-radius:12px;object-fit:cover;flex:none}.shopping-placeholder{display:grid;place-items:center;background:#edf1e5;color:#7d9067}.shopping-card-body{flex:1;min-width:0}.shopping-card-title{font-size:14px}.shopping-card-meta{font-size:11px;color:var(--muted);margin-top:6px}.shopping-card-status{font-size:13px;white-space:nowrap}.status-wahl{display:flex;gap:8px;padding:0 18px 18px}.status-knopf{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:40px;border:1px solid var(--line);border-radius:8px;background:#fafbf8;color:var(--muted);font-size:12px}.status-knopf.is-active{background:#e8efdf;color:var(--green);border-color:#b9cdae}.status-knopf .icon{width:16px;height:16px}.konto-liste{margin-top:20px}.konto-zeile{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.konto-zeile:last-child{border-bottom:0}.konto-zeile-label{display:block;font-size:11px;color:var(--muted)}.konto-zeile-wert{font-size:14px;font-weight:500}
.tabbar{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:min(530px,calc(100% - 32px));padding:8px;border:1px solid #d9e2d4;border-radius:20px;background:#fffffff5;backdrop-filter:blur(16px);box-shadow:0 10px 40px #263f3512;z-index:40}.tabbar-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:9px 4px;border-radius:13px;color:#7a877c;text-decoration:none;font-size:10px}.tabbar-item.is-active{background:#eaf1e1;color:#2c533d}.tabbar-icon{width:20px;height:20px}.toast{position:fixed;bottom:114px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:14px 22px;background:#254f43;color:#fff;border-radius:12px;box-shadow:0 10px 30px #254f4320;font-size:13px;z-index:100;opacity:0;visibility:hidden;transition:opacity .2s}.toast.is-visible{opacity:1;visibility:visible}.toast.is-error{background:#9b4638}dialog.modal{width:min(540px,calc(100vw - 24px));max-height:calc(100svh - 36px);overflow:auto;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--ink);padding:30px;box-shadow:0 30px 100px #1c392d30}dialog::backdrop{background:#233a3066;backdrop-filter:blur(4px)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.modal-title{font-size:1.8rem}.close-button{width:34px;height:34px;flex:none;border:0;background:#f0f3ea;color:#5a6f5a;border-radius:50%;font-size:25px;line-height:1}.modal-actions{display:flex;justify-content:flex-end;gap:12px}.modal .hint{margin-bottom:18px}.recovery-key{display:block;padding:18px;background:#edf2e6;border:1px solid #d6e0cd;border-radius:12px;color:var(--green);overflow-wrap:anywhere;font-size:15px;user-select:all}
@media(min-width:800px){.screen>.family-form{display:inline-block;vertical-align:top;width:calc(50% - 10px);margin-right:16px}.screen>.family-form:last-child{margin-right:0}.family-form .btn{width:100%}}@media(max-width:799px){.list-wishes{grid-template-columns:repeat(2,minmax(0,1fr))}.screen--plain{display:flex;flex-direction:column;max-width:470px;justify-content:center;padding:32px 20px}.screen--plain::before{display:none}.plain-card{width:100%;padding:28px}.screen--plain>.own-server{margin-top:0}.brand-note{display:none}.app-hero{padding:22px 24px}.topbar-inner{padding:14px 20px}.screen{padding:28px 20px}.brand{font-size:1.5rem}.brand-caption{font-size:9px}.brand img{width:39px;height:39px}}@media(max-width:480px){.screen{padding:24px 16px}.screen--plain{padding:26px 16px}.card{padding:22px}.family-card,.wish-card,.shopping-card{padding:0}.family-card-link{padding:18px}.section-intro h2{font-size:2.35rem}.family-head-title{font-size:1.8rem}.heading-row{flex-wrap:wrap;gap:12px}.family-code-value{font-size:1.6rem}.family-emblem.large{display:none}.list-wishes{grid-template-columns:1fr 1fr;gap:10px}.wish-card-image{height:130px}.wish-card-body{padding:14px}.wish-card-title{font-size:1.15rem}.wish-card-meta{flex-direction:column;gap:4px}.wish-placeholder .icon{width:38px;height:38px}.wish-heart{font-size:9px}.wish-toolbar{flex-direction:column;gap:8px}.wish-toolbar>label:last-child{width:100%}.family-row{gap:12px}.family-emblem{width:42px;height:42px;border-radius:13px}.family-card-title{font-size:1.25rem}.family-card-meta{font-size:11px}.avatar-options{grid-template-columns:repeat(4,1fr)}.form-columns{grid-template-columns:1fr}.family-switch .field-select{font-size:11px}.family-code .btn{font-size:12px;padding:10px 12px}.shopping-summary{padding:22px 10px;gap:6px}.shopping-summary strong{font-size:1.5rem}.shopping-summary span{font-size:10px}.shopping-card-link{gap:12px;padding:16px}.shopping-card-image{width:44px;height:50px}.shopping-card-title{font-size:12px}.shopping-card-status{font-size:11px}.tabbar{bottom:12px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.topbar-inner{padding:12px 16px;gap:10px}.topbar-title{font-size:12px}.topbar-back{width:30px;height:30px}.btn{font-size:13px}.toast{bottom:108px}dialog.modal{padding:24px}.modal-title{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{body{background:white;color:black;padding:0}.app-hero,.topbar,.tabbar,.toast,dialog,.button-row,.status-wahl,.privacy-note{display:none!important}.screen{max-width:none}.card{box-shadow:none;break-inside:avoid}}

/* Vereinfachte Oberfläche für genau eine Familie. */
.tabbar{grid-template-columns:repeat(3,1fr);max-width:440px}.profile-shortcut{text-decoration:none}.profile-shortcut .emoji-avatar{width:36px;height:36px;font-size:23px}.people-filter{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.people-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce3d7;border-radius:999px;padding:9px 16px;background:white;color:var(--muted);font-size:13px;text-decoration:none}.people-chip.selected{background:var(--green);color:white;border-color:var(--green)}.optional-section summary{cursor:pointer;font-size:14px;font-weight:600;min-height:34px;padding:4px 0}.optional-fields{display:grid;gap:20px;padding-top:20px}.section-intro .heading-row{align-items:center}.plain-links{display:flex;gap:12px;flex-wrap:wrap}.optional-section:not([open]){padding-top:16px;padding-bottom:16px}@media(max-width:600px){.section-intro .heading-row{align-items:flex-start;flex-direction:column;gap:20px}.section-intro .heading-row>.btn{width:100%}.section-intro h2{font-size:2rem}.list-wishes{grid-template-columns:1fr}.wish-card-link{flex-direction:row}.wish-card-image{width:100px;height:140px;flex:none}.wish-card-body{padding:16px}.wish-card-meta{margin-top:10px}.wish-placeholder .icon{width:34px;height:34px}.wish-card-title{font-size:1.25rem}}

.personal-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.personal-list{display:flex;align-items:center;gap:20px;text-decoration:none;color:var(--ink);transition:transform .18s,border-color .18s}.personal-list:hover{transform:translateY(-3px);border-color:#9bb59e}.personal-list-own{background:#edf3e7;border-color:#d2dfc7}.personal-list-body{flex:1;min-width:0}.personal-list h2{font-size:1.65rem;overflow-wrap:anywhere}.personal-list p{font-size:13px;color:var(--muted);margin:5px 0 12px}.personal-list-count{font-size:12px;color:var(--green);background:#e6eddf;padding:4px 10px;border-radius:999px}.personal-list-heading{display:flex;gap:18px;align-items:center}@media(max-width:600px){.personal-lists{grid-template-columns:1fr;gap:12px}.personal-list{padding:22px}.personal-list-heading h2{font-size:2rem}}
/* Leise Weihnachtsstimmung: Tannengrün, warmes Papier und ein wenig Gold. */
:root{--paper:#f8f5ee;--green:#244f40;--ink:#253f35;--line:#e6e3d8;--muted:#72796d}
body{background:var(--paper)}
.app-hero{margin-top:20px;background:#183f35;border:1px solid #254d40;border-radius:22px;padding:26px 32px;position:relative;box-shadow:0 8px 24px #233b2e08}
.app-hero::after{content:'';position:absolute;bottom:0;left:32px;right:32px;height:1px;background:linear-gradient(90deg,transparent,#c3aa7170,transparent)}
.brand,.brand:hover{color:#fffbef}.brand-caption{color:#d1c49d;letter-spacing:.12em}.brand-note{color:#d1d9cb;font-size:12px}.brand img{box-shadow:0 0 0 1px #d5bb7330;border-radius:15px}
.topbar{background:#f8f5eef5}.topbar-inner{min-height:76px}.topbar-back{background:#fffdf8}
.screen{padding-top:30px}.christmas-intro{position:relative;isolation:isolate;overflow:hidden;background:#edece1;border:1px solid #e3e2d1;border-radius:24px;padding:34px 38px;margin:0 0 30px;min-height:218px}
.christmas-intro::after{content:'';position:absolute;z-index:-1;right:5px;top:-5px;width:300px;height:230px;background:url('christmas-sprig.svg') center/contain no-repeat}
.christmas-eyebrow{display:block;color:#8a6147;font-size:10px;font-weight:650;letter-spacing:.22em;text-transform:uppercase;margin-bottom:16px}.christmas-intro h2{font-size:clamp(2.2rem,4vw,3.2rem);color:#214e3c}.christmas-intro p{font-size:13px;line-height:1.8;max-width:65%;margin-top:14px}
.personal-lists{gap:20px}.personal-list{background:#fffdf9;border-color:#e7e4d9;padding:28px;border-radius:20px;position:relative;box-shadow:0 5px 20px #433c2503}.personal-list:hover{border-color:#b5c0a2;background:#fffefb;box-shadow:0 12px 28px #31483408}.personal-list-own{background:#edf1e5;border-color:#d5ddc5}.personal-list-own:hover{background:#e9efdf}.personal-list .emoji-avatar{background:#f5f0e5;border:1px solid #e5d9bc}.personal-list-own .emoji-avatar{background:#fffaf0;border-color:#d9c796}.personal-list-count{background:#f0ecdf;color:#6c684a;font-weight:500}.personal-list-own .personal-list-count{background:#dfe7cf;color:#3d5734}.personal-list .chevron{color:#9c8b61}.personal-list h2{font-size:1.7rem}.personal-list p{margin-bottom:14px}
.btn-primary{background:#244f40;box-shadow:0 4px 10px #244f4010}.btn-primary:hover{background:#183f35}.btn-secondary{background:#fffdf8;border-color:#dcdccc}.tabbar{background:#fffdf8f5;border-color:#e1dece;box-shadow:0 10px 35px #34432a12}.tabbar-item.is-active{background:#e9eedc;color:#294e37}.card:not(.personal-list){border-color:#e6e3d8}.wish-placeholder{background:#e8edde}.wish-placeholder .icon{color:#819068}.wish-card:nth-child(3n+2) .wish-placeholder{background:#f0e5d6}.wish-card:nth-child(3n+2) .wish-placeholder .icon{color:#a27e50}.wish-card:nth-child(3n) .wish-placeholder{background:#eee4df}.wish-card:nth-child(3n) .wish-placeholder .icon{color:#a27769}.wish-heart{color:#9b6750}.plain-card{background:#fffdf9;border-color:#e8e0ce}.screen--plain::before{content:'Ein kleiner Wunsch. Ein großes Weihnachtslächeln.';color:#244f40}.screen--plain{min-height:calc(100svh - 130px)}.emoji-avatar{background:#eff0e4}
.avatar-preview{display:flex;align-items:center;gap:16px;margin:16px 0 22px;padding:18px;background:#f3f2e8;border:1px solid #e5e4d6;border-radius:14px}.avatar-preview p{font-size:13px;font-weight:600}.avatar-preview p span{display:block;margin-top:4px;font-size:12px;color:var(--muted);font-weight:400}.avatar-category{margin-top:20px}.avatar-category h3{font:600 12px var(--schrift-text);color:var(--muted)}.avatar-options{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:10px}.avatar-options label>span:first-of-type{font-size:27px;background:#faf9f2;border:1px solid #e7e8dc;min-height:44px}.avatar-options input:checked+span{border:2px solid #54704a;background:#e9efda;box-shadow:0 0 0 2px #dfe8cc}.avatar-options input:focus-visible+span{outline:3px solid #aa8743;outline-offset:2px}dialog.modal{background:#fffdf8;scrollbar-color:#b8c1a6 transparent}.modal .avatar-field{padding-bottom:8px}
@media(min-width:800px){.screen--plain::before{background:url('christmas-sprig.svg') right bottom/200px no-repeat;padding-bottom:110px;margin-bottom:-80px}}
@media(max-width:799px){.app-hero{margin:12px 12px 0;padding:22px;max-width:calc(100% - 24px);border-radius:17px}.brand-caption{font-size:8px}.brand{font-size:1.5rem}.christmas-intro{padding:28px;min-height:205px}.christmas-intro::after{right:-45px;width:240px;opacity:.8}.christmas-intro p{max-width:75%}}
@media(max-width:480px){.christmas-intro{padding:24px;min-height:206px;border-radius:18px;margin-bottom:22px}.christmas-intro h2{font-size:2rem;max-width:220px}.christmas-intro p{font-size:12px;max-width:82%}.christmas-intro::after{width:175px;right:-42px;top:0;opacity:.55}.christmas-eyebrow{font-size:9px;letter-spacing:.17em;margin-bottom:14px}.personal-list{padding:24px;gap:17px}.personal-list h2{font-size:1.5rem}.personal-list .emoji-avatar.large{width:60px;height:60px;font-size:34px}.avatar-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.avatar-options label>span:first-of-type{font-size:25px}.avatar-preview{padding:12px;gap:12px}.avatar-preview .emoji-avatar.large{width:52px;height:52px;font-size:32px}}
@media print{.christmas-intro::after,.app-hero{display:none!important}}
/* Der programmatisch fokussierte Inhaltsbereich braucht keinen Seitenrahmen. */
#screen:focus{outline:none}
/* Smartphone: stabile Seitenbreite und Eingaben ohne automatischen Fokus-Zoom. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;min-width:0}
button,a,input,select,textarea,summary{touch-action:manipulation}
.screen,.form,.field,.heading-row>*,.personal-list-body,.person-intro>div,.personal-list-heading>div,.wish-card-body,.konto-zeile>div{min-width:0}
.member-name,.person-intro h2,.personal-list-heading h2,.wish-card-title,.shopping-card-title,.konto-zeile-wert,.modal-title,.hint,.plain-text{overflow-wrap:anywhere}
.wish-detail-image{min-width:0}.wish-card-body{flex:1;width:auto}.modal-actions{flex-wrap:wrap}.modal-actions>.btn{flex:1}
@media(max-width:799px),(pointer:coarse){
  /* 16px verhindert den üblichen iPhone-Fokuszoom bei kleinen Formularschriften. */
  input:not([type=radio]):not([type=checkbox]),select,textarea,.field-input,.field-select,.file-input,.search-field input{font-size:16px!important}
  .field-input,.field-select{min-height:48px;max-width:100%}
  .btn{min-height:48px}.close-button,.topbar-back{width:44px;height:44px}.profile-shortcut{display:grid;place-items:center;min-width:44px;min-height:44px}
  .screen{width:100%;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .topbar-inner{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));min-height:64px}
  .app-hero{padding:18px}.brand{min-width:0}.brand>span{min-width:0}.brand-caption{overflow-wrap:anywhere}
  .app{padding-bottom:calc(114px + env(safe-area-inset-bottom,0px))}.app--plain{padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}
  .tabbar{bottom:max(10px,env(safe-area-inset-bottom,0px));padding:7px;width:min(440px,calc(100% - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)))}
  .tabbar-item{min-height:54px;font-size:11px}.tabbar-icon{width:22px;height:22px}
  .toast{bottom:calc(100px + env(safe-area-inset-bottom,0px));overflow-wrap:anywhere;text-align:center}
  dialog.modal{position:fixed;top:calc(var(--visual-top,0px) + 12px);bottom:auto;margin:0 auto;width:min(540px,calc(100% - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(var(--visual-height,100dvh) - 24px);padding:22px;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding:16px}
  .modal .form,.modal .field{max-width:100%}.modal-heading{gap:12px}.modal-title{font-size:1.5rem;align-self:center}
  .avatar-preview{min-width:0}.avatar-preview p{min-width:0;overflow-wrap:anywhere}.avatar-options{grid-template-columns:repeat(5,minmax(0,1fr))}
  .keyboard-open .tabbar,.keyboard-open .toast{visibility:hidden;pointer-events:none}
  .screen--plain{min-height:0;padding-top:28px;padding-bottom:28px}.plain-card{padding:24px;min-width:0}.plain-title{font-size:1.85rem}
}
@media(max-width:359px){
  .personal-list{gap:12px;padding:18px}.personal-list .emoji-avatar.large{width:48px;height:48px;font-size:30px}.personal-list h2{font-size:1.35rem}
  .card:not(.personal-list):not(.wish-card):not(.shopping-card){padding:18px}.plain-card{padding:20px}.brand-caption{font-size:7px;letter-spacing:.08em}
  dialog.modal{padding:18px}.avatar-options{grid-template-columns:repeat(4,minmax(0,1fr))}.wish-card-image{width:76px}.wish-card-body{padding:12px}.wish-card-title{font-size:1.1rem}
}
@media(hover:none){.personal-list:hover,.wish-card:hover,.family-card:hover,.btn:hover{transform:none}}

@media(pointer:coarse) and (orientation:landscape) and (max-height:600px){.screen--plain{display:flex;flex-direction:column;max-width:470px;margin:auto}.screen--plain::before{display:none}.app-hero{margin:8px auto 0;max-width:calc(100% - 24px);padding:12px 20px}.brand-note{display:none}.brand img{width:34px;height:34px}.topbar-inner{min-height:56px}.screen{padding-top:20px}}
/* Verhindert versehentlichen Doppeltipp-Zoom, erlaubt bewusstes Pinch-Zoom. */
html{touch-action:manipulation}

/* Private, deactivated entries stay accessible to their creator. */
.inactive-wishes{grid-column:1/-1;min-width:0;margin-top:20px}.inactive-wishes>summary{cursor:pointer;font-weight:600}.inactive-wishes>.hint{margin-top:12px}button:disabled{opacity:.55;cursor:not-allowed}

/* Explicit reservation warning appears only in the deletion flow. */
dialog.modal.modal--danger{border:2px solid #b32921}.modal--danger .modal-title{color:#9c201b;font-weight:700}.delete-reservation-warning{display:flex;align-items:flex-start;gap:14px;padding:20px;border:2px solid #bf3429;border-radius:14px;background:#fff0ed;color:#7c201c;font-size:16px;font-weight:600;line-height:1.6}.warning-symbol{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#ac251d;color:white;font-size:26px;font-weight:800}.delete-acknowledgement{display:flex;align-items:flex-start;gap:12px;line-height:1.5;font-size:15px}.delete-acknowledgement input{flex:none;width:22px;height:22px;margin-top:2px;accent-color:#a94337}.modal--danger .btn-danger{background:#a62620;color:#fff}.modal--danger .btn-danger:hover{background:#861b17}
