/* ==========================================================================
   Undangan Pernikahan Digital — Caleb & N.8
   Palet: cream, gold, dan ink hangat. Berdiri sendiri, tanpa framework CSS.
   ========================================================================== */

:root {
    --wed-cream: #fdf8f0;
    --wed-cream-deep: #f6ead9;
    --wed-blush: #f3e3cf;
    --wed-gold: #a3793f;
    --wed-gold-light: #c79a52;
    --wed-gold-pale: #e6cb9a;
    --wed-ink: #3a2e22;
    --wed-ink-soft: #7a6a57;
    --wed-line: #e0cda3;
    --wed-card: #fffdf9;
}

.wed-font-script {
    font-family: 'Cormorant Garamond', 'Poppins', serif;
}

body.wed-body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--wed-cream);
    color: var(--wed-ink);
}

/* ==========================================================================
   Decorative layer — reusable ornament system
   Tujuan: kesan "kertas undangan" yang berlapis, bukan flat color block.
   Dipakai berulang di tiap section supaya konsisten mewah, bukan cuma hero.
   ========================================================================== */

/* Wrapper umum: tekstur halus + vignette lembut di tepi */
.wed-textured {
    position: relative;
}
.wed-textured::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(163,121,63,0.05) 1px, transparent 0);
    background-size: 18px 18px;
    opacity: 0.6;
}
.wed-textured::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    box-shadow: inset 0 0 120px rgba(58,46,34,0.10);
}

/* Corner ornaments — floral line motif, 4 corners, low-opacity gold */
.wed-corner-ornament {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
}
.wed-corner-ornament.tl { top: 18px; left: 18px; }
.wed-corner-ornament.tr { top: 18px; right: 18px; transform: scaleX(-1); }
.wed-corner-ornament.bl { bottom: 18px; left: 18px; transform: scaleY(-1); }
.wed-corner-ornament.br { bottom: 18px; right: 18px; transform: scale(-1,-1); }

@media (max-width: 640px) {
    .wed-corner-ornament { width: 70px; height: 70px; opacity: 0.4; }
}

/* ---------------------------------------------------------------
   Hero — layered: gradient base + vignette + corner ornaments +
   floating petal/sparkle accents, frame around the title.
--------------------------------------------------------------- */
.wed-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 7rem 1.5rem 4rem;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, var(--wed-blush) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 100%, var(--wed-cream-deep) 0%, transparent 65%),
        linear-gradient(180deg, var(--wed-cream) 0%, var(--wed-cream) 100%);
}

.wed-hero::before {
    /* soft vignette so edges feel framed, not abruptly cut */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    box-shadow: inset 0 0 160px rgba(122,90,42,0.14);
}

.wed-hero .wed-ornament-line {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

.wed-hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wed-gold);
    font-weight: 600;
}

/* Frame around the names: thin double rule with small flourish ticks,
   echoes engraved-invitation borders without becoming a heavy box. */
.wed-name-frame {
    position: relative;
    padding: 2.75rem 1.5rem;
}
.wed-name-frame::before,
.wed-name-frame::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 14px;
}
.wed-name-frame::before { top: 0; }
.wed-name-frame::after { bottom: 0; }

.wed-names {
    font-family: 'Cormorant Garamond', 'Poppins', serif;
    font-weight: 600;
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    line-height: 1.05;
    color: var(--wed-ink);
}

.wed-names .amp {
    display: block;
    color: var(--wed-gold);
    font-size: 0.5em;
    margin: 0.15em 0;
    font-style: italic;
}

.wed-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wed-card);
    border: 1px solid var(--wed-line);
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--wed-ink-soft);
    box-shadow: 0 8px 24px -12px rgba(58,46,34,0.18);
}

/* Countdown */
.wed-countdown-box {
    background: var(--wed-card);
    border-radius: 1rem;
    padding: 0.9rem 0.5rem;
    min-width: 64px;
    box-shadow: 0 8px 20px -12px rgba(58,46,34,0.20);
    border: 1px solid var(--wed-line);
}
.wed-countdown-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--wed-gold);
    line-height: 1;
}
.wed-countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wed-ink-soft);
}

/* ---------------------------------------------------------------
   Section utilities
--------------------------------------------------------------- */
.wed-section {
    padding: 5.5rem 1.5rem;
    position: relative;
}
.wed-section-alt {
    background-color: var(--wed-cream-deep);
}
.wed-divider-gold {
    position: relative;
    width: 96px;
    height: 18px;
    margin: 0 auto;
}
.wed-divider-gold svg { width: 100%; height: 100%; }

.wed-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wed-gold);
}
.wed-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.wed-card {
    background: var(--wed-card);
    border: 1px solid var(--wed-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 32px -18px rgba(58,46,34,0.18);
}

/* Maps embed wrapper */
.wed-map-frame {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--wed-line);
    box-shadow: 0 12px 32px -18px rgba(58,46,34,0.2);
}
.wed-map-frame iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* ---------------------------------------------------------------
   Galeri Prewedding — carousel (satu foto besar, navigasi kiri-kanan,
   auto-slide tiap beberapa detik kalau didiamkan, lihat
   app.js untuk logic-nya)
--------------------------------------------------------------- */
.wed-carousel {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .wed-carousel {
        max-width: 380px;
    }
}

.wed-carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid var(--wed-line);
    box-shadow: 0 16px 40px -20px rgba(58,46,34,0.28);
    aspect-ratio: 4/5;
    background: var(--wed-cream-deep);
}

.wed-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.wed-carousel-slide {
    flex: 0 0 100%;
    height: 100%;
}
.wed-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wed-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,253,249,0.92);
    border: 1px solid var(--wed-line);
    color: var(--wed-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px -10px rgba(58,46,34,0.3);
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.wed-carousel-arrow:hover {
    background: var(--wed-gold);
    color: white;
}
.wed-carousel-arrow:active {
    transform: translateY(-50%) scale(0.94);
}
.wed-carousel-arrow.prev { left: 12px; }
.wed-carousel-arrow.next { right: 12px; }

@media (max-width: 480px) {
    .wed-carousel-arrow { width: 38px; height: 38px; }
}

.wed-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.1rem;
}
.wed-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wed-line);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}
.wed-carousel-dot.is-active {
    background: var(--wed-gold);
    transform: scale(1.25);
}

/* ---------------------------------------------------------------
   Rangkaian Acara — vertical timeline with gold connector
--------------------------------------------------------------- */
.wed-timeline {
    position: relative;
}
.wed-timeline::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--wed-gold-pale), var(--wed-gold), var(--wed-gold-pale));
}
@media (min-width: 768px) {
    .wed-timeline::before { left: 50%; transform: translateX(-50%); }
}

.wed-timeline-item {
    position: relative;
    padding-left: 64px;
    margin-bottom: 2.25rem;
}
.wed-timeline-dot {
    position: absolute;
    left: 16px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--wed-card);
    border: 2px solid var(--wed-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wed-gold);
}
@media (min-width: 768px) {
    .wed-timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 2.5rem;
    }
    .wed-timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 2.5rem;
    }
    .wed-timeline-dot {
        left: auto;
        right: -13px;
    }
    .wed-timeline-item:nth-child(even) .wed-timeline-dot {
        right: auto;
        left: -13px;
    }
    .wed-timeline-item:nth-child(odd) { text-align: right; }
}

/* Music player — small floating control, unobtrusive */
.wed-music-toggle {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 50;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--wed-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px -8px rgba(163,121,63,0.55);
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease;
}
.wed-music-toggle:hover { transform: scale(1.06); }
.wed-music-toggle .wed-disc {
    animation: wed-spin 4s linear infinite;
    animation-play-state: paused;
}
.wed-music-toggle.is-playing .wed-disc {
    animation-play-state: running;
}
@keyframes wed-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .wed-music-toggle .wed-disc { animation: none; }
}

/* ---------------------------------------------------------------
   Form gabungan: RSVP + Ucapan dalam satu submit
--------------------------------------------------------------- */
.wed-input {
    background: var(--wed-card);
    border: 1px solid var(--wed-line);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wed-input:focus {
    border-color: var(--wed-gold);
    box-shadow: 0 0 0 3px rgba(163,121,63,0.18);
    outline: none;
}

.wed-attendance-option {
    cursor: pointer;
    border: 1px solid var(--wed-line);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    transition: border-color 0.2s, background 0.2s;
    background: var(--wed-card);
}
.wed-attendance-option:has(input:checked) {
    border-color: var(--wed-gold);
    background: var(--wed-blush);
}

.wed-btn-gold {
    background: var(--wed-gold);
    color: white;
    transition: background 0.25s, transform 0.25s;
}
.wed-btn-gold:hover {
    background: var(--wed-gold-light);
    transform: translateY(-1px);
}

/* ---------------------------------------------------------------
   Daftar Ucapan (ditampilkan setelah form gabungan)
   Layout/markup intentionally matches the API contract documented
   in api/rsvp.php so backend integration is a drop-in.
--------------------------------------------------------------- */
.wed-comment-card {
    background: var(--wed-card);
    border: 1px solid var(--wed-line);
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
}
.wed-comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wed-gold), var(--wed-gold-light));
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wed-comment-empty {
    text-align: center;
    color: var(--wed-ink-soft);
    font-size: 0.9rem;
    padding: 1.5rem 0;
}
.wed-comment-skeleton {
    background: linear-gradient(90deg, #eee2cc 25%, #f5ece0 37%, #eee2cc 63%);
    background-size: 400% 100%;
    animation: wed-shimmer 1.4s ease infinite;
    border-radius: 0.5rem;
}
@keyframes wed-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Honeypot field — hidden from real users via CSS, not type="hidden",
   so that naive bots which fill every visible-in-DOM field still get caught. */
.wed-honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.wed-toast {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s;
}
.wed-toast.is-shown {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Reveal */
.wed-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.wed-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .wed-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   LAYOUT LAYER
   Pengganti utility class Tailwind yang dipakai di versi Blade.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font-family: inherit; font-size: 1rem; color: inherit; }

.wed-container    { max-width: 48rem; margin: 0 auto; }
.wed-container-md { max-width: 42rem; margin: 0 auto; }
.wed-container-sm { max-width: 36rem; margin: 0 auto; }
.wed-center { text-align: center; }
.wed-above  { position: relative; z-index: 1; }

.wed-icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* Hero */
.wed-hero-inner { position: relative; z-index: 10; max-width: 42rem; margin: 0 auto; }
.wed-name-frame { margin-top: 1.5rem; }
.wed-pill-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.75rem; margin-top: 1rem;
}
.wed-countdown {
    display: flex; justify-content: center; gap: 0.75rem; margin-top: 2.5rem;
}
.wed-countdown-box { text-align: center; }

/* Tombol */
.wed-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: 0;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(163,121,63,0.55);
}
.wed-btn-block { display: block; width: 100%; font-weight: 700; }
.wed-hero .wed-btn { margin-top: 2.5rem; }

/* Judul section */
.wed-section-title { font-size: 2rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .wed-section-title { font-size: 2.5rem; } }
.wed-form-title { font-size: 1.875rem; margin-top: 0.5rem; }
.wed-divider-gold { margin-top: 1.25rem; }
.wed-lead { margin-top: 1.25rem; font-size: 0.875rem; color: var(--wed-ink-soft); }

/* Timeline */
.wed-timeline { max-width: 48rem; margin: 3.5rem auto 0; }
.wed-timeline-dot svg { width: 12px; height: 12px; }
.wed-timeline-card { padding: 1.25rem; text-align: left; }
.wed-time { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; color: var(--wed-gold); }
.wed-card-title { font-size: 1.25rem; margin-top: 0.25rem; }
.wed-card-text { font-size: 0.875rem; margin-top: 0.5rem; color: var(--wed-ink-soft); }

/* Carousel */
.wed-carousel { margin-top: 2.5rem; }
.wed-carousel-arrow svg { width: 20px; height: 20px; }

/* Peta */
.wed-map-frame { max-width: 42rem; margin: 2.5rem auto 0; }
.wed-venue { margin-top: 1.5rem; font-weight: 600; }
.wed-venue small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--wed-ink-soft); margin-top: 0.15rem; }
.wed-maplink {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 1.25rem; font-size: 0.875rem; font-weight: 600;
    color: var(--wed-gold); text-decoration: none;
}
.wed-maplink:hover { text-decoration: underline; }

/* Form */
.wed-form-card { max-width: 36rem; margin: 0 auto; padding: 2rem; }
@media (min-width: 768px) { .wed-form-card { padding: 2.5rem; } }
.wed-form { margin-top: 2rem; }
.wed-field { margin-bottom: 1.25rem; }
.wed-label { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--wed-ink-soft); }
.wed-input { display: block; width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem; }
textarea.wed-input { resize: vertical; min-height: 6rem; }
.wed-attendance { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.5rem; }
.wed-attendance-option { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; }
.wed-btn-gold:focus-visible, .wed-carousel-arrow:focus-visible,
.wed-carousel-dot:focus-visible, .wed-music-toggle:focus-visible,
.wed-maplink:focus-visible { outline: 2px solid var(--wed-ink); outline-offset: 3px; }
.wed-btn:disabled { opacity: 0.6; cursor: wait; }

/* Daftar ucapan */
.wed-comments { max-width: 36rem; margin: 2.5rem auto 0; }
.wed-comment-count { text-align: center; margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--wed-ink-soft); }
.wed-comment-card { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.wed-comment-body { flex: 1; min-width: 0; }
.wed-comment-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.wed-comment-name { font-size: 0.875rem; font-weight: 600; }
.wed-comment-time { font-size: 0.75rem; color: var(--wed-ink-soft); white-space: nowrap; }
.wed-comment-msg { margin-top: 0.25rem; font-size: 0.875rem; color: var(--wed-ink-soft); overflow-wrap: anywhere; white-space: pre-line; }
.wed-comment-skeleton-body { flex: 1; display: grid; gap: 0.5rem; }

/* Footer & toast */
.wed-footer { padding: 1.5rem; text-align: center; font-size: 0.875rem; color: #fff; background: var(--wed-ink); }
.wed-footer strong { color: var(--wed-gold-pale); font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.wed-toast {
    position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 40;
    max-width: 20rem; padding: 0.9rem 1.25rem; border-radius: 0.75rem;
    background: var(--wed-ink); color: #fff; font-size: 0.875rem; font-weight: 500;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.4);
}
.wed-music-toggle svg { width: 24px; height: 24px; }

@media (max-width: 480px) {
    .wed-countdown { gap: 0.5rem; }
    .wed-countdown-box { min-width: 58px; }
}


/* ==========================================================================
   COVER (sampul "Kepada Yth. …")
   ========================================================================== */
body.wed-locked { overflow: hidden; }

.wed-cover {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, var(--wed-blush) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 100%, var(--wed-cream-deep) 0%, transparent 65%),
        var(--wed-cream);
    box-shadow: inset 0 0 160px rgba(122,90,42,0.14);
    transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.9s ease;
    overflow-y: auto;
}
.wed-cover.is-open {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.wed-cover-inner { position: relative; z-index: 2; max-width: 30rem; width: 100%; }
.wed-cover-names { margin-top: 1rem; font-size: clamp(2.5rem, 12vw, 4.5rem); }
.wed-cover-date { margin-top: 0.75rem; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--wed-ink-soft); }
.wed-cover-guest {
    margin: 2.25rem auto 2rem;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--wed-line);
    border-bottom: 1px solid var(--wed-line);
}
.wed-cover-to { font-size: 0.85rem; color: var(--wed-ink-soft); }
.wed-cover-name {
    margin-top: 0.4rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--wed-ink);
    overflow-wrap: anywhere;
}
.wed-cover-note { margin-top: 0.5rem; font-size: 0.8rem; color: var(--wed-ink-soft); }

/* ==========================================================================
   AMPLOP DIGITAL
   ========================================================================== */
.wed-gift-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 48rem;
    margin: 3rem auto 0;
}
@media (min-width: 640px) {
    .wed-gift-grid { grid-template-columns: 1fr 1fr; }
}
.wed-gift-card { padding: 1.75rem 1.5rem; text-align: center; }
.wed-gift-address { max-width: 48rem; margin: 1.25rem auto 0; }
.wed-gift-type { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wed-gold); }
.wed-gift-brand { font-size: 1.6rem; margin-top: 0.35rem; }
.wed-gift-qr {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin: 1rem auto 0;
    border: 1px solid var(--wed-line);
    border-radius: 0.75rem;
    padding: 0.4rem;
    background: #fff;
}
.wed-gift-number {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--wed-ink);
    overflow-wrap: anywhere;
}
.wed-gift-holder { margin-top: 0.35rem; font-size: 0.875rem; color: var(--wed-ink-soft); }
.wed-btn-outline {
    margin-top: 1.1rem;
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--wed-gold);
    border-radius: 999px;
    background: transparent;
    color: var(--wed-gold);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.wed-btn-outline:hover, .wed-btn-outline.is-copied { background: var(--wed-gold); color: #fff; }
.wed-btn-outline:focus-visible { outline: 2px solid var(--wed-ink); outline-offset: 3px; }
.wed-input[readonly] { background: var(--wed-cream-deep); cursor: not-allowed; }
.wed-form-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--wed-ink-soft); }

@media (prefers-reduced-motion: reduce) {
    .wed-cover { transition: opacity 0.3s ease; }
    .wed-cover.is-open { transform: none; }
}
.wed-cover[hidden] { display: none; }
