.hp-modal {
    --hp-rad: 10px;
    --hp-green: #93C9A0; --hp-ink: #5b5346; --hp-muted: #9a9080;
    position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center;
    justify-content: center; background: rgba(91,83,70,.4); padding: 22px;
    font-family: 'Fredoka', sans-serif;
}
.hp-modal[hidden] { display: none; }
.hp-card {
    background: #fff; border-radius: var(--hp-rad); padding: 34px 30px 28px; text-align: center;
    max-width: 430px; width: 100%; box-shadow: 0 20px 60px rgba(80,70,50,.25); color: var(--hp-ink);
}
.hp-heart { font-size: 34px; }
.hp-heart svg { width: 42px; height: 42px; display: block; margin: 0 auto; filter: drop-shadow(0 4px 8px rgba(246,206,94,.4)); }
.hp-card h2 { font-size: 24px; font-weight: 700; margin: 10px 0 6px; }
.hp-card p { font-size: 14px; color: var(--hp-muted); margin-bottom: 20px; }
.hp-field { display: flex; align-items: stretch; border: 1.5px solid #e7e0d2; border-radius: var(--hp-rad); overflow: hidden; margin-bottom: 10px; }
.hp-input { flex: 1; border: 0; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--hp-ink); outline: none; background: #fdfbf7; }
.hp-remove { background: #fdfbf7; border: 0; border-left: 1.5px solid #e7e0d2; color: var(--hp-muted); font-size: 20px; line-height: 1; width: 46px; cursor: pointer; }
.hp-remove:hover { color: #c0392b; }
.hp-add { display: block; width: 100%; background: none; border: 1.5px dashed #cfc6b4; border-radius: var(--hp-rad); color: var(--hp-ink); font: inherit; font-weight: 600; font-size: 14px; padding: 11px; cursor: pointer; margin: 4px 0 14px; }
.hp-go { display: block; width: 100%; background: var(--hp-green); color: #fff; border: 0; border-radius: var(--hp-rad); font: inherit; font-weight: 600; font-size: 15px; padding: 14px; cursor: pointer; margin-bottom: 12px; }
.hp-skip { background: none; border: 0; font: inherit; font-size: 13px; color: var(--hp-muted); text-decoration: underline; cursor: pointer; }
.hp-pill {
    position: fixed; right: 16px; bottom: 16px; z-index: 99998; background: #fff;
    border: 1.5px solid #93C9A0; color: #4f8a63; border-radius: 10px; padding: 9px 14px;
    font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
    box-shadow: 0 6px 20px rgba(120,110,90,.18);
}

/* ---- Foto-Upload im Popup (gezeichnete Sitzungs-Vorschau) ---- */
.hp-photo { margin: 6px 0 14px; }
.hp-photo-divider {
    display: flex; align-items: center; gap: 12px;
    color: var(--hp-muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
    margin: 16px 0 12px;
}
.hp-photo-divider::before, .hp-photo-divider::after {
    content: ""; flex: 1; height: 1px; background: #e7e0d2;
}
.hp-photo-lead { font-size: 14px; font-weight: 600; color: var(--hp-ink); margin: 0 0 12px; }
.hp-photo-result {
    display: block; width: 150px; height: auto; border-radius: 8px;
    margin: 0; box-shadow: 0 8px 22px rgba(120,110,90,.20);
}
.hp-photo-figure { position: relative; width: 150px; margin: 0 auto 12px; }
.hp-photo-figure[hidden] { display: none; }
.hp-photo-remove {
    position: absolute; top: -6px; right: -6px; z-index: 2;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    background: #fff; border: 1.5px solid #e7e0d2; color: var(--hp-ink);
    font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(80,70,50,.18); padding: 0;
}
.hp-photo-remove:hover { color: #c0392b; border-color: #c0392b; }
.hp-photo-cta {
    display: flex; align-items: center; justify-content: center; gap: .5em; width: 100%;
    cursor: pointer; background: #fff7e2; border: 1.5px solid #F6CE5E; border-radius: var(--hp-rad);
    color: var(--hp-ink); font-weight: 700; font-size: 14px; padding: 13px 16px;
    transition: background .15s ease;
}
.hp-photo-cta:hover { background: #ffeec2; }
.hp-photo-status { font-size: 13px; color: var(--hp-muted); margin: 10px 0 0; }
.hp-photo-privacy {
    display: flex; align-items: center; justify-content: center; gap: .5em; text-align: center;
    font-size: 12px; line-height: 1.45; color: var(--hp-muted); margin: 12px 0 0;
}
.hp-photo-privacy strong { color: var(--hp-ink); font-weight: 600; }
.hp-flag { font-size: 15px; line-height: 1.3; flex: none; }

/* Pille mit gezeichnetem Mini-Avatar */
.hp-pill { display: inline-flex; align-items: center; gap: .5em; }
.hp-pill-avatar {
    width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; margin: -2px 0 -2px -4px;
}

/* Site-weiter Bild-Slot, sobald befüllt */
.hamimi-child-filled { background-repeat: no-repeat; }

@media(max-width:380px){
  .hp-card{padding:26px 18px 22px;}
  .hp-photo-result{width:120px;}
  .hp-photo-figure{width:120px;}
}
