/* ===== ธีมของการ์ดนี้: ชมพูสีน้ำ · พีช · เขียวเซจ (ตามการ์ดและ dress code) ===== */
:root{
  --paper:#fff8f8; --paper-2:#fdeef0; --ink:#4a3a40; --muted:#8a7479;
  --gold:#e8889d; --gold-soft:#ffe1d6; --red:#d4567a; --rose:#e98a6b;
  --card:#ffffff; --line:#f6dfe3;
  --rainbow:linear-gradient(90deg,#f39ab0,#f6b49b,#f7d3c4,#b9d6b0,#f39ab0);
  --txt-grad:linear-gradient(90deg,#d4567a,#e98a6b 50%,#7fa875);
}
body{
  background:var(--paper);
  background-image:radial-gradient(circle at 8% 6%,#ffe0e8 0,transparent 34%),radial-gradient(circle at 94% 26%,#fde3d8 0,transparent 30%),
    radial-gradient(circle at 6% 64%,#e8f2e3 0,transparent 30%),radial-gradient(circle at 92% 88%,#ffe3ea 0,transparent 34%);
}

/* cover */
#cover{background:linear-gradient(160deg,#ffd9e2,#ffe6dc 35%,#fff3ef 55%,#e7f1e2 78%,#ffdbe4);background-size:200% 200%}
.seal{background:radial-gradient(circle at 35% 30%,#ffd1dc,#f08aa4 55%,#d4567a);color:#fff}
.cover-names{background:linear-gradient(90deg,#d4567a,#e98a6b,#7fa875,#d4567a);background-size:250% 100%;-webkit-background-clip:text;background-clip:text}
.btn-gold{background:linear-gradient(90deg,#ef8aa3,#f6a98f,#ef8aa3);background-size:200% 100%;box-shadow:0 6px 18px rgba(212,86,122,.28)}
.btn-red{background:linear-gradient(90deg,#d4567a,#ec8c78);box-shadow:0 6px 16px rgba(212,86,122,.22)}
.btn-ghost{color:#c24b6e}
@keyframes halo{0%,100%{box-shadow:0 6px 18px rgba(212,86,122,.28),0 0 0 0 rgba(239,138,163,0);background-position:0 0}50%{box-shadow:0 6px 22px rgba(212,86,122,.3),0 0 0 8px rgba(239,138,163,.16);background-position:100% 0}}

/* headings and accents */
h2{background:var(--txt-grad);-webkit-background-clip:text;background-clip:text}
.datebox .day{background:linear-gradient(135deg,#d4567a,#e98a6b 55%,#7fa875);-webkit-background-clip:text;background-clip:text}
.ornament{color:#e8889d}
.timeline::before{background:linear-gradient(#f39ab0,#f6b49b,#b9d6b0)}
.ev:nth-child(1){--c:#d4567a}.ev:nth-child(2){--c:#e0795f}.ev:nth-child(3){--c:#6f9a66}.ev:nth-child(4){--c:#c46a8a}
.ev time{filter:none}
.ceremony{font-family:"Charm",cursive;font-size:40px;line-height:1.5;margin:6px 0 2px;background:var(--txt-grad);-webkit-background-clip:text;background-clip:text;color:transparent;display:inline-block}
.couple .name{font-size:28px}
.venue-addr{font-size:17px;line-height:1.8;margin:2px 0 4px}
.swatches i{width:38px;height:38px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.7)}
.toss-count{background:var(--txt-grad);-webkit-background-clip:text;background-clip:text}
.choice input:checked+label{background:rgba(239,138,163,.16)}

/* hero */
.hero-photo{background:#f6c9d3}
.hero-photo::after{background:linear-gradient(180deg,rgba(120,40,70,.12),rgba(0,0,0,0) 22%,rgba(0,0,0,0) 52%,rgba(120,40,70,.72))}
.hero-names{font-size:clamp(38px,11vw,62px)}
.hero-names .amp{color:#ffd1dc}
.hero-text .small{color:#ffe6ee;letter-spacing:.12em;font-size:15px}
.dots i.on{background:#ffd1dc}
/* illustrated slide: show the drawn couple on a soft watercolor background */
.slide.nobg .stage{background:
  radial-gradient(ellipse at 20% 15%,rgba(255,255,255,.55),transparent 45%),
  radial-gradient(ellipse at 85% 75%,rgba(255,214,200,.7),transparent 50%),
  linear-gradient(170deg,#f8b9c8,#f29bb0 55%,#f6b49b)}
.slide.nobg .stage .bg,.slide.nobg .stage .bg-src{visibility:hidden}
@media (min-aspect-ratio:1/1){
  .slide.tall .stage{background:radial-gradient(ellipse at 50% 40%,#f8c7d2,#e88aa1)}
}

/* guide: the couple's drawn faces instead of a cat */
.cat-face{background:url(img/avatar.jpg) center/cover no-repeat;box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(239,138,163,.4),0 10px 22px rgba(212,86,122,.25)}
.cat-face::before,.cat-face::after{content:none}
.cat-bubble{box-shadow:0 8px 24px rgba(212,86,122,.18)}

/* booth / ticket / wall accents */
.booth-modal,.booth-result{background:linear-gradient(160deg,#ffe0e8,#fff1ec 40%,#eef6ea 75%,#ffe3ea)}
.booth-stage{background:#f3cdd6}
.booth-frame b{background:var(--txt-grad);-webkit-background-clip:text;background-clip:text}
.booth-size input{accent-color:#e8748f}
.booth-poses button.on{box-shadow:0 0 0 3px #e8748f}
.balloon .note b{color:#c24b6e}

/* tie the thread */
.tie-stage{position:relative;height:300px;max-width:380px;margin:8px auto 0}
#tieCv{position:absolute;inset:0;width:100%;height:100%}
.tie-count{position:absolute;left:0;right:0;bottom:6px;font-weight:600;color:#c24b6e;font-size:16px}
#tieBtn{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
