/* Un fond crème épuré pour distinguer la confirmation de l’annonce. */
#invitation #presence {
    --ink: #51483d;
    --soft-brown: #736650;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    padding: clamp(72px, 9svh, 96px) clamp(18px, 4.5vw, 40px) 76px;
    border: 0;
    background: radial-gradient(ellipse at 50% 42%, #fffdf8 0%, #f4eee3 65%, #ece2d1 100%);
    color: var(--ink);
}
#invitation #presence > * { position: relative; z-index: 1; max-width: 100%; }
#invitation #presence::before,
#invitation #presence::after {
    content: none;
}
#invitation #presence > h2 {
    margin: 0;
    font: 400 clamp(30px, 4.3svh, 42px)/1.2 var(--romantic);
    color: #806b45;
    text-wrap: balance;
}
#invitation #presence .rsvp-intro {
    width: min(100%, 460px);
    margin: 0 auto 8px;
    color: var(--soft-brown);
    font: 400 clamp(17px, 2.3svh, 21px)/1.45 var(--serif);
    text-wrap: balance;
}
#invitation #presence .rsvp-card {
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: clamp(14px, 3vw, 26px);
    border: 0;
    border-radius: 16px;
    background: #fafaf8;
    box-shadow: none;
}
#invitation #presence #rsvp-placeholder {
    max-width: 420px;
    margin: 0 auto;
    padding: 16px 8px;
}
#invitation #presence #rsvp-loading,
#invitation #presence #rsvp-connection-error {
    margin: 0;
    color: var(--soft-brown);
    font: 400 18px/1.55 var(--serif);
}
#invitation #presence #rsvp-frame {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #fafaf8;
}
#invitation #presence #rsvp-retry {
    min-height: 46px;
    margin-top: 18px;
    padding: 12px 24px;
    border: 0;
    border-radius: 12px;
    background: #e4d4b0;
    color: #58462e;
    font: 500 13px/1.35 var(--sans);
    letter-spacing: 0;
    text-transform: none;
}
#invitation #presence #rsvp-retry:hover { background: #d8c18f; }
html[lang="ar"] #invitation #presence > h2 { font-size: clamp(28px, 4.2svh, 36px); line-height: 1.5; }
html[lang="ar"] #invitation #presence #rsvp-retry { font-size: 17px; }
@media (max-height: 600px) {
    #invitation #presence { gap: 12px; padding-block: 64px 68px; }
    #invitation #presence > h2 { font-size: 30px; }
    #invitation #presence .rsvp-intro { font-size: 18px; }
}
