/* =========================================================
   Bản 2 — Rèm nhung đỏ · chữ trắng · ánh sáng mập mờ
   (nạp sau styles.css, ghi đè những gì cần đổi)
   ========================================================= */
@font-face { font-family: "Great Vibes VN"; src: url("fonts/greatvibes-vietnamese.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Great Vibes VN"; src: url("fonts/greatvibes-latin-ext.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Great Vibes VN"; src: url("fonts/greatvibes-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Cormorant VN"; font-weight: 400; src: url("fonts/cormorant-vietnamese-400.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Cormorant VN"; font-weight: 400; src: url("fonts/cormorant-latin-ext-400.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant VN"; font-weight: 400; src: url("fonts/cormorant-latin-400.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant VN"; font-weight: 500; src: url("fonts/cormorant-vietnamese-500.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Cormorant VN"; font-weight: 500; src: url("fonts/cormorant-latin-ext-500.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant VN"; font-weight: 500; src: url("fonts/cormorant-latin-500.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Plex Mono VN"; src: url("fonts/plexmono-vietnamese.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Plex Mono VN"; src: url("fonts/plexmono-latin-ext.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono VN"; src: url("fonts/plexmono-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Mulish VN"; src: url("fonts/mulish-vietnamese.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Mulish VN"; src: url("fonts/mulish-latin-ext.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish VN"; src: url("fonts/mulish-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --script: "Great Vibes VN", "Snell Roundhand", cursive;
  --display: "Cormorant VN", "Cormorant Garamond", Georgia, serif;
  --mono: "Plex Mono VN", "IBM Plex Mono", ui-monospace, monospace;
  --muli: "Mulish VN", "Mulish", system-ui, sans-serif;
  --wine-ink: #4A1020;
  --crimson: #C21F3A;
  --white: #FFFFFF;
  --gold: #FFFFFF;
  --gold-light: #FFFFFF;
  --gold-dark: #E6E6E6;
  --gold-grad: linear-gradient(135deg, #E9E9E9 0%, #FFFFFF 35%, #F2F2F2 60%, #FFFFFF 100%);
  --cream: #FFFFFF;
  --cream-muted: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .5);
  --line-soft: rgba(255, 255, 255, .2);
}

/* ---------- Nền chung: vải nhung đỏ + ánh sáng mập mờ (cố định sau mọi phần) ---------- */
html { background: #160007; }
body { background: transparent; }
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; }
body::before {
  background:
    linear-gradient(180deg, rgba(14, 0, 5, .55), rgba(14, 0, 5, .2) 30%, rgba(14, 0, 5, .25) 70%, rgba(14, 0, 5, .65)),
    url("images/velvet.jpg") center / cover no-repeat, #2A000E;
}
body::after {
  z-index: -1;
  background:
    radial-gradient(38% 30% at 30% 22%, rgba(255, 190, 200, .16), transparent 70%),
    radial-gradient(34% 26% at 72% 58%, rgba(255, 170, 180, .12), transparent 70%),
    radial-gradient(120% 80% at 50% 50%, transparent 40%, rgba(8, 0, 3, .6));
  animation: lightdrift 18s ease-in-out infinite alternate;
}
@keyframes lightdrift {
  0% { transform: translate3d(-3%, -2%, 0) scale(1.05); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.1); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.04); }
}
.sec-velvet, .sec-stripes, .hero, .footer, .wishes, .thanks, .rsvp, .couple, .gift { background: transparent; }
.panel {
  background: linear-gradient(180deg, rgba(40, 0, 12, .62), rgba(26, 0, 8, .72));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 6px rgba(26, 0, 8, .4), inset 0 0 0 7px var(--line-soft);
}
.footer { border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, transparent, rgba(14, 0, 5, .5)); }
.details-overlay { background: linear-gradient(180deg, rgba(26, 0, 8, .9), rgba(42, 0, 14, .82) 50%, rgba(26, 0, 8, .92)); }
.sec-title, .person-name, .cal-title, .footer-names, .db-day, .cd-num, .ev-title, .portrait .name { text-shadow: none; }
.eyebrow { color: #fff; }
.btn-gold-solid { color: #3A0612; }
.btn-gold-solid:hover { box-shadow: 0 14px 30px -10px rgba(255, 255, 255, .35); }
.btn-gold:hover, .btn-outline-gold:hover { color: #3A0612; }
.site-nav.is-scrolled { background: rgba(26, 0, 8, .82); }

/* =========================================================
   1. RÈM NHUNG MỞ ĐẦU
   ========================================================= */
.stage { background: #0E0004; }
.stage .cover-inner {
  background:
    radial-gradient(60% 45% at 50% 42%, rgba(255, 200, 205, .14), transparent 70%),
    linear-gradient(180deg, rgba(14, 0, 5, .55), rgba(14, 0, 5, .25) 35%, rgba(14, 0, 5, .65)),
    url("images/velvet.jpg") center / cover no-repeat, #2A000E;
}
.curtain {
  position: absolute; inset: 0; z-index: 3; padding: 0; margin: 0; border: 0; background: none;
  cursor: pointer; color: #fff; -webkit-tap-highlight-color: transparent;
}
.curtain:focus-visible { outline: none; }
.curtain:focus-visible .st-hint { text-decoration: underline; }
.curtain-half {
  position: absolute; top: 0; bottom: 0; width: 50.4%; overflow: hidden; pointer-events: none;
  transition: transform 2.6s cubic-bezier(.62, 0, .18, 1), filter 2.6s var(--ease);
  will-change: transform;
}
.cl { left: 0; transform-origin: 0 40%; }
.stage.is-opening .cl { box-shadow: 18px 0 30px -12px rgba(0, 0, 0, .7); }
.cr { right: 0; transform-origin: 100% 40%; }
.stage.is-opening .cr { box-shadow: -18px 0 30px -12px rgba(0, 0, 0, .7); }
.curtain-img {
  position: absolute; top: 0; bottom: 0; width: 198.4%;
  background: url("images/curtain-stage-2.jpg") center 30% / cover no-repeat;
}
.cl .curtain-img { left: 0; }
.cr .curtain-img { right: 0; }
/* chạm nhẹ: rèm khẽ lay */
.stage:not(.is-opening) .cl { animation: swayL 6s ease-in-out infinite; }
.stage:not(.is-opening) .cr { animation: swayR 6s ease-in-out infinite; }
@keyframes swayL { 50% { transform: skewY(.25deg) scaleX(1.004); } }
@keyframes swayR { 50% { transform: skewY(-.25deg) scaleX(1.004); } }
/* mở: hai cánh rèm gom lại sát hai mép như rèm sân khấu được kéo */
.stage.is-opening .cl { transform: translateX(-2%) scaleX(.13) skewY(1.2deg); filter: brightness(.8); }
.stage.is-opening .cr { transform: translateX(2%) scaleX(.13) skewY(-1.2deg); filter: brightness(.8); }
.stage.is-opening .curtain { pointer-events: none; }

.stage-text {
  position: absolute; inset: 0; display: block; pointer-events: none;
  transition: opacity .8s var(--ease), transform 1.2s var(--ease), filter .9s;
}
.stage.is-opening .stage-text { opacity: 0; transform: scale(1.04); filter: blur(4px); }
.st-welcome {
  position: absolute; left: 0; right: 0; top: calc(9% + env(safe-area-inset-top));
  font: 400 clamp(13px, 3.6vw, 16px)/1.4 var(--muli); letter-spacing: .04em; color: rgba(255, 255, 255, .92);
  animation: fadeup 1.4s var(--ease) .3s both;
}
.st-names {
  position: absolute; left: 50%; top: 47%; width: min(84vw, 420px); height: clamp(170px, 46vw, 230px);
  translate: -50% -50%; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
}
.st-n1, .st-n2, .st-amp { position: absolute; font-family: var(--script); font-weight: 400; line-height: 1; }
.st-n1 { left: 4%; top: 0; font-size: clamp(4.4rem, 22vw, 6.4rem); animation: fadeup 1.6s var(--ease) .6s both; }
.st-amp { left: 41%; top: 36%; font-size: clamp(1.6rem, 7vw, 2.2rem); animation: fadeup 1.6s var(--ease) .9s both; }
.st-n2 { right: 0; bottom: 0; font-size: clamp(3.4rem, 17vw, 5rem); animation: fadeup 1.6s var(--ease) 1.1s both; }
.st-date {
  position: absolute; left: 0; right: 0; bottom: calc(8% + env(safe-area-inset-bottom));
  font: 400 clamp(13px, 3.6vw, 15px)/1 var(--muli); letter-spacing: .6em; padding-left: .6em; color: #fff;
  animation: fadeup 1.4s var(--ease) 1.4s both;
}
.st-hint {
  position: absolute; left: 0; right: 0; bottom: calc(8% + env(safe-area-inset-bottom) + 34px);
  font: 400 10.5px/1 var(--muli); letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
  animation: fadeup 1.4s var(--ease) 2s both, hint 2.6s ease-in-out 3.4s infinite;
}
@keyframes hint { 50% { opacity: .35; } }

/* Lớp ánh sáng rọi: những vùng sáng mềm trôi chậm + viền tối */
.stage-light { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.stage-light::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 85% at 50% 45%, transparent 35%, rgba(6, 0, 2, .72));
}
.stage-light i {
  position: absolute; border-radius: 50%; mix-blend-mode: screen; filter: blur(20px);
  background: radial-gradient(circle, rgba(255, 196, 206, .32), rgba(255, 150, 170, .12) 45%, transparent 70%);
}
.stage-light i:nth-child(1) { width: 90vmin; height: 110vmin; left: -10vmin; top: -30vmin; animation: spot1 14s ease-in-out infinite alternate; }
.stage-light i:nth-child(2) { width: 70vmin; height: 90vmin; right: -20vmin; top: 20vmin; opacity: .7; animation: spot2 17s ease-in-out infinite alternate; }
.stage-light i:nth-child(3) { width: 60vmin; height: 40vmin; left: 20vmin; bottom: -14vmin; opacity: .5; animation: spot1 20s ease-in-out infinite alternate-reverse; }
@keyframes spot1 { to { transform: translate3d(18vmin, 14vmin, 0) scale(1.15); } }
@keyframes spot2 { to { transform: translate3d(-22vmin, -10vmin, 0) scale(.9); } }

/* Sau rèm: câu hỏi khách nhà nào */
.stage .ci-ask { position: relative; z-index: 2; padding: 20px 15%; }
.stage.is-asking .ci-ask { visibility: visible; opacity: 1; }
.sa-eyebrow { font: 400 clamp(2.6rem, 11vw, 3.2rem)/1.1 var(--script); color: #fff; }
.sa-title { font: 400 clamp(.95rem, 3.6vw, 1.05rem)/1.45 var(--display); font-weight: 500; letter-spacing: .16em; color: #fff; }
.stage .sa-options { width: min(100%, 400px, calc((100svh - 230px) / 1.5)); }
.sa-opt, .sa-opt.gai { --c: #FFFFFF; --c-glow: rgba(255, 255, 255, .45); }
.sa-name { font: 400 clamp(1.65rem, 7.2vw, 2.3rem)/1.2 var(--script); color: #fff; }
.sa-tag { color: #fff; border-color: rgba(255, 255, 255, .8); }
.sa-meta, .sa-where { color: #fff; }
.sa-options::after { content: "&"; font-family: var(--script); color: #fff; border-color: #fff; }

/* =========================================================
   2. SAVE THE DATE — polaroid kẹp giấy
   ========================================================= */
.std { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 22px) var(--gutter) 96px; }
.std-inner { width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.std-head { display: flex; align-items: baseline; justify-content: center; gap: .55em; color: #fff; }
.std-head span { font: 400 clamp(15px, 4.4vw, 18px)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.std-head em { font: 400 clamp(2.8rem, 12vw, 3.6rem)/.8 var(--script); font-style: normal; translate: 0 .06em; }
.pola { position: relative; width: min(84vw, 400px); aspect-ratio: 957 / 1151; margin: 26px 0 0; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.pola-photo { position: absolute; left: 4.2%; top: 6.6%; width: 91.6%; height: 72.8%; overflow: hidden; background: #2b2b2b; }
.pola-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60% !important; filter: saturate(.92) contrast(1.02); }
.pola-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pola-clip { position: absolute; right: 2.5%; top: -4.5%; width: 7.6%; height: auto; pointer-events: none; filter: drop-shadow(2px 4px 3px rgba(0, 0, 0, .35)); }
.pola-cap {
  position: absolute; left: 6%; right: 6%; bottom: 3.2%; height: 14.5%; display: flex; align-items: center; justify-content: center;
  font: 400 clamp(1.9rem, 8.6vw, 2.6rem)/1 var(--script); color: #1C1416; white-space: nowrap;
}
.pola-cap em { font-style: normal; font-size: .62em; margin: 0 .4em 0 .32em; }
.std-when { margin-top: 32px; display: flex; gap: .9em; align-items: center; font: 400 clamp(15px, 4.6vw, 19px)/1 var(--mono); letter-spacing: .14em; color: #fff; }
.std-when i { font-style: normal; opacity: .9; }
.std-where { margin-top: 22px; font: 400 clamp(11px, 3.2vw, 13px)/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.std .scroll-cue { font-family: var(--muli); }

/* =========================================================
   3. LỜI MỜI — đơn giản như thiệp in, nền lụa đỏ
   ========================================================= */
.iv {
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(255, 120, 150, .12), transparent 70%),
    url("images/silk.jpg") center / cover no-repeat, #7A1428;
  color: #fff; padding: clamp(72px, 12vw, 120px) 0;
}
.iv-card { text-align: center; font-family: var(--display); font-variant-numeric: lining-nums; }
.iv-card, .iv-card *, .tl-card * { font-feature-settings: "lnum" 1 !important; font-variant-numeric: lining-nums !important; }
.iv-families { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.iv-fam p { margin: 0; font: 400 clamp(1rem, 3.9vw, 1.2rem)/1.25 var(--display); text-wrap: balance; }
.iv-fam-label { margin-bottom: 2px !important; font-size: clamp(1.1rem, 4.3vw, 1.3rem) !important; }
.iv-lead { margin-top: clamp(30px, 7vw, 44px); font: 400 clamp(1.08rem, 4.3vw, 1.4rem)/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #fff; text-wrap: balance; }
.iv-name { margin-top: 18px; padding: 0 .2em; font: 400 clamp(2.9rem, 13vw, 4.6rem)/1.15 var(--script); color: #fff; text-shadow: 0 3px 18px rgba(40, 0, 10, .35); }
.iv-amp { margin: 4px 0 -6px; font: 400 clamp(1.4rem, 6vw, 2rem)/1 var(--script); }
.iv-amp + .iv-name { margin-top: 0; }
.iv-rank { margin-top: 6px; font: 400 clamp(1rem, 4vw, 1.2rem)/1.3 var(--display); }
.iv .invite-guest { margin-top: 20px; font: 400 clamp(1.5rem, 6vw, 2rem)/1.2 var(--script); color: #fff; }
.iv-venue { margin-top: clamp(26px, 6vw, 38px); font: 400 clamp(1rem, 4vw, 1.25rem)/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.iv-addr { margin-top: 2px; font: 400 clamp(1rem, 4vw, 1.2rem)/1.35 var(--display); text-wrap: balance; }
.iv-when { margin-top: 10px; font: 500 clamp(1.1rem, 4.5vw, 1.45rem)/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.iv-lunar { margin-top: 2px; font: 400 clamp(1rem, 4vw, 1.2rem)/1.3 var(--display); }
.iv-card[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.iv-card.is-in { opacity: 1; transform: none; }

/* =========================================================
   4. CÔ DÂU & CHÚ RỂ — bỏ tiêu đề, chỉ còn hai khung ảnh
   ========================================================= */
.couple { padding-top: clamp(64px, 10vw, 110px); }

/* =========================================================
   5. TIMELINE — khung trắng cổ điển trên nền sọc đỏ trắng
   ========================================================= */
.tl-sec {
  padding: clamp(64px, 11vw, 110px) 22px;
  background:
    repeating-linear-gradient(90deg,
      #5A0E1F 0 26px, #FFFFFF 26px 34px, #5A0E1F 34px 37px, #FFFFFF 37px 45px);
}
.tl-card { position: relative; width: min(100%, 410px); margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(40, 0, 10, .45)); color: var(--wine-ink); }
.tl-cap { display: block; height: 76px; line-height: 0; }
.tl-cap svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tl-bottom { transform: scaleY(-1); }
.tl-cap .o { fill: #fff; stroke: var(--wine-ink); stroke-width: 5; vector-effect: non-scaling-stroke; }
.tl-cap .i { fill: none; stroke: var(--wine-ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.tl-cap .m { fill: #fff; }
.tl-body {
  position: relative; margin: -1px 0; padding: 0 30px 6px;
  background: #fff;
  box-shadow: inset 5px 0 0 var(--wine-ink), inset 9px 0 0 #fff, inset 10.4px 0 0 var(--wine-ink),
              inset -5px 0 0 var(--wine-ink), inset -9px 0 0 #fff, inset -10.4px 0 0 var(--wine-ink);
}
.tl-bump { position: absolute; top: 50%; width: 22px; height: 74px; translate: 0 -50%; line-height: 0; }
.tl-bump svg { width: 100%; height: 100%; overflow: visible; }
.tl-bump-l { left: -17px; }
.tl-bump-r { right: -17px; transform: scaleX(-1); }
.tl-title { margin: -26px 0 0; font: 400 clamp(2.5rem, 10vw, 3rem)/1.1 var(--script); color: var(--crimson); text-align: center; letter-spacing: 0; text-transform: none; }
.tl-list { position: relative; list-style: none; width: fit-content; margin: 20px auto 0; padding: 0; display: grid; gap: 14px; }
.tl-list::before { content: ""; position: absolute; left: 81px; top: 22px; bottom: 22px; width: 1px; background: var(--wine-ink); opacity: .7; }
.tl-item { display: grid; grid-template-columns: 72px 20px minmax(0, 1fr); align-items: center; gap: 0; text-align: left; opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.tl-card.is-in .tl-item { opacity: 1; transform: none; }
.tl-card.is-in .tl-item:nth-child(2) { transition-delay: .12s; }
.tl-card.is-in .tl-item:nth-child(3) { transition-delay: .24s; }
.tl-card.is-in .tl-item:nth-child(4) { transition-delay: .36s; }
.tl-card.is-in .tl-item:nth-child(5) { transition-delay: .48s; }
.tl-icon { width: 60px; height: 52px; object-fit: contain; justify-self: center; }
.tl-dot { position: relative; z-index: 1; justify-self: center; width: 6px; height: 6px; border-radius: 50%; background: var(--wine-ink); box-shadow: 0 0 0 3px #fff; }
.tl-text { display: flex; flex-direction: column; padding-left: 8px; }
.tl-time { font: 400 1.4rem/1 var(--display); color: var(--crimson); }
.tl-what { margin-top: 3px; font: 500 1.02rem/1.2 var(--display); color: #2A0A12; }
.tl-sec.only-dress .tl-list { display: none; }
.tl-sec.only-dress .tl-dress { margin-top: 10px; }
.tl-dress { margin: 22px auto 0; max-width: 300px; text-align: center; }
.tl-dress-note { font: 500 .95rem/1.35 var(--display); color: #2A0A12; text-wrap: balance; }
.tl-swatches { list-style: none; display: flex; justify-content: center; gap: 14px; margin: 14px 0 0; padding: 0; }
.tl-swatches li { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 400 .78rem/1 var(--display); color: #4A2A30; }
.tl-swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }

/* =========================================================
   Chi tiết khác
   ========================================================= */
.details > .container > .dday { margin-top: 0; }
.gift-note { max-width: 520px; margin: 18px auto 0 !important; font-size: 15px !important; line-height: 1.75; color: #fff !important; }
.nav-crest { width: 44px; height: 46px; border: 0; border-radius: 0; color: #fff; }
.nav-crest svg { width: 100%; height: 100%; overflow: visible; }
.footer-crest { width: 168px; height: auto; }
.footer-logo { width: 100%; aspect-ratio: 154.5 / 163.1; color: #fff; }
.footer-logo svg { width: 100%; height: 100%; overflow: visible; }
.petals { mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  body::after, .stage-light i, .cl, .cr { animation: none !important; }
  .curtain-half { transition-duration: .4s; }
}

/* Chữ "Vi & Nguyen" — nét Sloop Script Pro (vẽ thành hình vector từ file thiết kế) */
.sloop { display: block; overflow: visible; fill: currentColor; }
.st-n1, .st-amp, .st-n2 { line-height: 0; }
.st-names { font-size: clamp(76px, 22vw, 104px); }
.st-n1 { left: 6%; top: 0; font-size: 1em; }
.st-amp { left: 50%; top: 31%; font-size: .62em; }
.st-n2 { right: 2%; left: auto; bottom: -4%; font-size: 1em; }
.pola-cap { font-size: clamp(40px, 11.5vw, 54px); color: #1C1416; }
.pola-cap .sloop { height: .85em !important; width: auto !important; }
.std-head em { margin-right: .18em; }

/* Bản chính thức: tên – thứ bậc – tên; dòng giờ | ngày | thứ */
.iv-name + .iv-rank { margin-top: 2px; }
.iv-rank + .iv-name { margin-top: 0; }
.iv-when { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .1em .55em; }
.iv-when b { font-weight: 500; font-size: 1.45em; letter-spacing: .01em; }
.iv-when i { font-style: normal; font-weight: 400; opacity: .9; }

/* Tên cô dâu chú rể: vàng kim như bản cũ */
.nav-names, .sa-name, .iv-name, .portrait .name, .footer-names {
  background: linear-gradient(135deg, #9A7550 0%, #EBD3A2 30%, #C9A36B 55%, #F3E2B8 78%, #A9824F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.iv-name, .sa-name { text-shadow: none; filter: drop-shadow(0 3px 10px rgba(30, 0, 8, .45)); }
.footer-names em { -webkit-text-fill-color: transparent; }

/* Chữ còn lại (không phải tên viết tay): Maitree như thiệp in */
:root { --display: "Maitree VN", Georgia, serif; --muli: "Maitree VN", Georgia, serif; }
.iv-fam p { font-size: clamp(.9rem, 3.5vw, 1.05rem); line-height: 1.4; }
.iv-fam-label { font-size: clamp(.95rem, 3.7vw, 1.12rem) !important; }
.iv-lead { font-size: clamp(.92rem, 3.7vw, 1.2rem); line-height: 1.5; letter-spacing: .04em; }
.iv-venue { font-size: clamp(.9rem, 3.6vw, 1.1rem); letter-spacing: .04em; }
.iv-addr, .iv-lunar, .iv-rank { font-size: clamp(.9rem, 3.5vw, 1.05rem); line-height: 1.5; }
.iv-when { font-weight: 400; font-size: clamp(1rem, 4vw, 1.25rem); }
.iv-when b { font-weight: 400; font-size: 1.5em; }
.tl-time { font-size: 1.15rem; }
.tl-what { font-weight: 400; font-size: .92rem; }
.tl-dress-note { font-weight: 400; font-size: .85rem; line-height: 1.5; }
.tl-swatches li { font-size: .7rem; }
.sa-title { font-weight: 400; font-size: clamp(.85rem, 3.4vw, .98rem); }
.st-hint { font-size: clamp(12.5px, 3.5vw, 14px); letter-spacing: .2em; color: rgba(255, 255, 255, .92); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); bottom: calc(8% + env(safe-area-inset-bottom) + 40px); }
@keyframes hint { 50% { opacity: .55; } }
.st-date { font-size: clamp(15px, 4.2vw, 17px); }
.st-welcome { font-size: clamp(15px, 4.2vw, 18px); }
/* Bước chọn nhà: tắt lớp ánh sáng rọi để ảnh không bị phủ trắng mờ */
.stage-light { transition: opacity 1.2s var(--ease); }
.stage.is-asking .stage-light { opacity: 0; }
.stage.is-asking .ci-ask { z-index: 5; }
.stage .sa-photo::before { display: none; }

/* Tên bằng nét HLT Burgues Script (hình vector vàng kim) */
.name-art { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; overflow: visible; filter: drop-shadow(0 2px 8px rgba(30, 0, 8, .4)); }
.nav-names, .sa-name, .iv-name, .portrait .name, .footer-names { -webkit-text-fill-color: initial; }
.nav-names { font-size: 17px; }
.nav-names .name-art { filter: none; }
.sa-name { font-size: clamp(22px, 6.6vw, 30px); line-height: 1; padding: 4px 0 0; width: 100%; }
.iv-name { font-size: clamp(34px, 10.4vw, 62px); line-height: 1; margin-top: 14px; }
.iv-rank + .iv-name { margin-top: 2px; }
.portrait .name { font-size: clamp(30px, 9vw, 46px); line-height: 1; margin-top: 8px; padding: 0; }
.footer-names { font-size: clamp(38px, 11vw, 56px); gap: 6px; }
.footer-names em { color: #E8D1A0; -webkit-text-fill-color: #E8D1A0; font-family: var(--script); }
.nav-names { color: #E8D1A0; }

/* Bản chính thức: kích thước tên, tiêu đề, giờ Timeline, lời cảm ơn */
.iv-name { font-size: clamp(46px, 13.5vw, 80px); }
.portrait .name { font-size: clamp(36px, 10vw, 54px); }
.sa-name { font-size: clamp(26px, 7.6vw, 34px); }
.sa-name .name-art path, .nav-names .name-art path { stroke: url(#name-gold); stroke-width: 6; }
.nav-names { font-size: 21px; align-items: center; gap: .3em; }
.tl-title { font-size: clamp(54px, 15vw, 66px); line-height: 1; margin-top: -30px; }
.tl-title .name-art { filter: none; }
.tl-time { font-size: 22px; line-height: 1; }
.tl-time .name-art { filter: none; width: auto !important; height: .75em; }
.letter-title { margin: 0; font-size: clamp(54px, 15vw, 72px); line-height: 1; text-align: center; }
.letter-body p:first-child::first-letter { float: none; margin: 0; font: inherit; color: inherit; }
.letter-sign { margin-top: 30px; font: 400 1.05rem/1.4 var(--serif); color: #fff; text-align: right; }
.letter-date { margin-top: 2px; font: 400 .95rem/1.4 var(--serif); letter-spacing: 0; color: rgba(255, 255, 255, .85); text-align: right; }
.nav-names .name-art, .nav-names em { vertical-align: middle; }
.tl-title { font-size: clamp(46px, 13vw, 58px); margin-top: -24px; }

/* "The" — nét Anastasia Script lấy từ file thiết kế */
.std-head em { display: inline-block; line-height: 0; translate: 0 .08em; }
.std-head .the-art { display: block; height: auto; overflow: visible; }

/* Vàng kim sáng hơn, có ánh nhẹ cho khỏi chìm vào nền đỏ */
.nav-names, .sa-name, .iv-name, .portrait .name, .footer-names {
  background: linear-gradient(135deg, #D9B472 0%, #FFF3D1 30%, #F0CF8A 55%, #FFF8E1 78%, #E2BC78 100%);
  -webkit-background-clip: text; background-clip: text;
}
.name-art { filter: drop-shadow(0 0 6px rgba(255, 214, 140, .35)) drop-shadow(0 2px 6px rgba(20, 0, 6, .55)); }
.iv-name .name-art path, .portrait .name .name-art path, .footer-names .name-art path { stroke: url(#name-gold); stroke-width: 4; }
.nav-names, .footer-names em { color: #F6DEA8; -webkit-text-fill-color: #F6DEA8; }

/* Lời cảm ơn: căn đều hai bên như thiệp in */
.letter-body p { text-align: justify; text-align-last: left; hyphens: none; }
.footer { border-top: 0 !important; }
.std-head em { font-size: clamp(3.3rem, 14vw, 4.2rem); }

/* Nhãn tiếng Anh (Welcome, Guestbook, Wedding gift, Dress code): Pinyon Script — gần nét Anastasia Script nhất trong các font được phép dùng */
.sa-eyebrow, .eyebrow, .tl-title { font-family: "Pinyon Script VN", "Snell Roundhand", cursive; }
.sa-eyebrow { font-size: clamp(2.8rem, 12vw, 3.4rem); }
.eyebrow { font-size: clamp(2.3rem, 9vw, 2.9rem); }

/* Màn rèm: bỏ vùng sáng trắng ở giữa, chỉ giữ viền tối; bố cục tên cân giữa như mẫu */
.stage-light i { display: none; }
.st-names {
  left: 50%; top: 50%; translate: -50% -50%;
  width: min(80vw, 420px); height: auto; aspect-ratio: 395 / 235; font-size: 0;
  text-shadow: none; filter: drop-shadow(0 3px 14px rgba(0, 0, 0, .45));
}
.st-n1, .st-amp, .st-n2 { position: absolute; font-size: 0; line-height: 0; }
.st-n1 { left: 0; top: 0; width: 44%; }
.st-amp { left: 37%; top: 30%; width: 12%; }
.st-n2 { left: 24%; top: 44%; width: 76%; right: auto; bottom: auto; }
.st-names .sloop { width: 100% !important; height: auto !important; }
.st-welcome, .st-hint, .st-date { padding-left: 0; text-indent: 0; }
.st-hint { letter-spacing: .2em; margin-right: -.2em; }
.st-date { letter-spacing: .6em; margin-right: -.6em; padding-left: 0; }
.st-names { aspect-ratio: 395 / 250; }
.st-amp { left: 41%; top: 24%; width: 11%; }
.st-n2 { top: 47%; }

/* Giữa hai nửa ảnh chọn nhà: logo chữ lồng thay cho dấu & */
.sa-options::after { display: none; }
.sa-crest {
  position: absolute; left: 50%; top: 46%; z-index: 4; translate: -50% -50%;
  width: 64px; aspect-ratio: 154.5 / 163.1; color: #fff; pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, .7)) drop-shadow(0 4px 12px rgba(0, 0, 0, .5));
  transition: opacity .5s;
}
.sa-crest svg { width: 100%; height: 100%; overflow: visible; }
.is-picked .sa-crest { opacity: 0; }
.cover-screen.is-asking .ci-ask .sa-crest { animation: fadeup .8s var(--ease) 2.1s both; }

/* Vàng kim kiểu metallic gold (BF953F → FCF6BA → B38728 → FBF5B7 → AA771C) — tông vàng các brand cao cấp hay dùng */
.nav-names, .sa-name, .iv-name, .portrait .name, .footer-names {
  background: linear-gradient(100deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  -webkit-background-clip: text; background-clip: text;
}
.name-art { filter: drop-shadow(0 1px 1px rgba(60, 30, 0, .55)) drop-shadow(0 3px 10px rgba(20, 0, 6, .45)); }
.iv-name .name-art path, .portrait .name .name-art path, .footer-names .name-art path, .sa-name .name-art path, .nav-names .name-art path { stroke: url(#name-gold); stroke-width: 3; }
.nav-names, .footer-names em { color: #D4AF37; -webkit-text-fill-color: #D4AF37; }

/* ===== Bản thiệp in v2: nền rèm có đèn rọi, vàng ấm, lời cảm ơn trên giấy trắng ===== */
.nav-names, .sa-name, .iv-name, .portrait .name, .footer-names {
  background: linear-gradient(90deg, #E9982C 0%, #F7BC52 28%, #FBDC7C 55%, #EDC266 80%, #D2B068 100%);
  -webkit-background-clip: text; background-clip: text;
}
.nav-names, .footer-names em { color: #F7BC52; -webkit-text-fill-color: #F7BC52; }
.name-art { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }

/* Lời mời + Timeline: nền rèm đỏ có đèn rọi từ trên xuống (trang 3, 4, 6) */
.iv, .tl-sec {
  background: #050102 url("images/spot.jpg") center top / cover no-repeat;
}
.iv { padding-top: clamp(80px, 14vw, 130px); }
.tl-sec { padding: clamp(70px, 12vw, 110px) 22px; }
.tl-card { filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .55)); }

/* Lời cảm ơn: tờ giấy trắng, tiêu đề đỏ, chữ tối (trang 5) */
.thanks .letter.panel {
  background: #fff; color: #2A1A1E; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
.thanks .letter .corner { display: none; }
.thanks .letter-title .name-art { filter: none; }
.thanks .letter-body p { color: #2A1A1E; }
.thanks .letter-sign, .thanks .letter-date { color: #2A1A1E; }

/* Hộp mừng cưới: hộp tròn viền ngọc trai, ren, bảng "Wedding", hoa hồng đào */
.wbox.giftbox-art { width: clamp(190px, 56vw, 260px); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.wb-body { transform-box: fill-box; transform-origin: 50% 100%; }
.wb-env { opacity: 0; transform: translateY(-30px); }
.giftbox:not(.is-open) .giftbox-btn:hover .wb-body { animation: wbwiggle .7s ease-in-out; }
@keyframes wbwiggle { 30% { transform: rotate(-1.5deg); } 70% { transform: rotate(1.5deg); } }
.giftbox.is-open .wb-env { animation: wbdrop 1.3s cubic-bezier(.5, 0, .3, 1) .1s both; }
@keyframes wbdrop { 0% { opacity: 0; transform: translateY(-34px); } 25% { opacity: 1; } 70% { opacity: 1; transform: translateY(44px); } 100% { opacity: 0; transform: translateY(60px); } }
.giftbox.is-open .wb-body { animation: wbthump .5s ease-out 1s; }
@keyframes wbthump { 40% { transform: scale(1.025); } }
.wbox .gb-glow circle { fill: #F7BC52; }
.giftbox-art.wbox { animation: none !important; }
.giftbox:not(.is-open) .wbox { animation: float 4s ease-in-out infinite !important; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Logo mới (trang 1 thiệp in) */
.footer-logo, .sa-crest { aspect-ratio: 120.7 / 156.3; }
.nav-crest { width: 36px; height: 46px; }
.sa-crest { width: 66px; }
.footer-crest { width: 140px; }

/* Trang 1 + 2 thiệp in */
.pages { padding: clamp(60px, 10vw, 100px) 0; }
.pages-wrap { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 6vw, 48px); }
.pg { position: relative; margin: 0; background: #4D141C; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.pg img { display: block; width: 100%; height: auto; }
.pg1 { width: min(100%, 560px); }
.pg2 { width: min(86%, 420px); }
.pg1-guest {
  position: absolute; left: 13%; right: 13%; top: 89.5%; translate: 0 -100%; text-align: center;
  font: 400 clamp(16px, 4.6vw, 26px)/1 "Great Vibes VN", cursive; color: #fff;
}
.pg[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.pg.is-in { opacity: 1; transform: none; }
@media (min-width: 900px) { .pages-wrap { flex-direction: row; justify-content: center; align-items: center; } .pg1 { width: 520px; } .pg2 { width: 340px; } }

/* Tên đầy đủ: ảnh chữ vàng lấy nguyên từ thiệp in */
.name-img { display: block; height: auto; max-width: 100%; margin: 0 auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.iv-name { font-size: 0; }
.iv-name .name-img[src*="phan"] { width: min(94%, 560px); }
.iv-name .name-img[src*="ngo"] { width: min(66%, 392px); }
.portrait .name { font-size: 0; margin-top: 10px; }
.portrait .name .name-img[src*="phan"] { width: min(100%, 300px); }
.portrait .name .name-img[src*="ngo"] { width: min(72%, 210px); }

/* Timeline: dùng nguyên trang 4 thiệp in (khung + rèm) */
.tl-sec:not(.only-dress) { padding: 0; background: #000; }
.tl-sec:not(.only-dress) .tl-card { display: none; }
.tl-page { display: block; width: min(100%, 560px); height: auto; margin: 0 auto; }
.tl-sec.only-dress .tl-page { display: none; }

/* Lời cảm ơn: khung trắng nhỏ gọn hơn */
.thanks .container.narrow { max-width: 600px; }
.thanks .letter.panel { padding: clamp(40px, 7vw, 56px) clamp(22px, 6vw, 44px); }
.thanks .letter-title { font-size: clamp(44px, 12vw, 58px); }
.thanks .letter-body { margin-top: 18px; }
.thanks .letter-body p { font-size: 14.5px; line-height: 1.8; margin-top: 12px; }
.thanks .letter-sign { margin-top: 22px; font-size: .98rem; }

/* QR thật: khung trắng gọn */
.qr-frame img { image-rendering: auto; }
.copy-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); } .copy-btn:hover { background: #fff; color: #3A0612; }

/* ===== Sự kiện: gộp đếm ngược + lịch + thông tin buổi lễ vào 1 khung ===== */
.details .container { max-width: 980px; }
.when {
  position: relative; margin: 0 auto; padding: clamp(26px, 6vw, 44px) clamp(16px, 5vw, 40px);
  background: linear-gradient(180deg, rgba(40, 0, 12, .72), rgba(22, 0, 7, .82));
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 6px rgba(22, 0, 7, .5), inset 0 0 0 7px rgba(255, 255, 255, .1), 0 30px 70px -30px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.when-dday { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.when-dday .ribbon-text { position: static; font: 400 clamp(1.9rem, 8vw, 2.6rem)/1 var(--display); letter-spacing: .12em; color: #fff; }
.when-sub { font: 400 clamp(.9rem, 3.6vw, 1rem)/1.4 var(--display); color: rgba(255, 255, 255, .8); }
.when .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 460px; margin: 18px auto 0; }
.when .cd-unit { min-width: 0; padding: 10px 0 8px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.when .cd-num { font: 400 clamp(1.5rem, 7vw, 2.2rem)/1 var(--display); }
.when .cd-label { margin-top: 4px; font: 400 10px/1 var(--display); letter-spacing: .22em; }
.when-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.when .calendar { padding: 0; background: none; border: 0; box-shadow: none; max-width: 340px; margin: 0 auto; width: 100%; }
.when .cal-title { font: 400 1.05rem/1.2 var(--display); letter-spacing: .2em; }
.when .cal-table th { font: 400 10px/1 var(--display); padding: 6px 0; }
.when .cal-table td { font: 400 .95rem/1 var(--display); height: 34px; padding: 0; }
.when .cal-table td.is-day svg { width: 36px; height: 36px; }
.when .cal-legend { display: none !important; }
.when .events { display: grid; gap: 16px; align-content: center; }
.when .event { padding: 0; background: none; border: 0; box-shadow: none; text-align: center; }
.when .event + .event { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.when .ev-title { font: 400 clamp(1.1rem, 4.6vw, 1.35rem)/1.3 var(--display); letter-spacing: .14em; }
.when .ev-time { font: 400 clamp(1.8rem, 8vw, 2.3rem)/1 var(--display); }
.when .ev-date, .when .ev-lunar, .when .ev-venue, .when .ev-addr { font-family: var(--display); }
.when .ev-actions { margin-top: 14px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.when .ev-actions .btn { min-height: 42px; padding: 0 20px; }
@media (min-width: 760px) {
  .when-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
  .when .calendar { margin: 0; border-right: 1px solid rgba(255, 255, 255, .14); padding-right: 30px; max-width: none; }
}

/* ===== Xác nhận tham dự + lời chúc: 1 phần, chữ phụ Maitree như thiệp mời ===== */
.anchor { position: relative; top: calc(-1 * var(--nav-h)); display: block; }
.rw-head { text-align: center; margin-bottom: clamp(26px, 6vw, 40px); }
.rw-title { margin-top: 6px; font: 400 clamp(1.05rem, 4.4vw, 1.4rem)/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.rw-note { margin-top: 8px; font: 400 .95rem/1.6 var(--display); color: rgba(255, 255, 255, .8); }
.rw-note strong { font-weight: 400; color: #fff; }
.rw-grid { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 980px; margin: 0 auto; text-align: left; }
.rw-form {
  padding: clamp(22px, 5vw, 32px); border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(180deg, rgba(40, 0, 12, .7), rgba(22, 0, 7, .8)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.rw, .rw input, .rw select, .rw textarea, .rw button, .rw label, .rw legend, .rw .choice span, .rw .wish-name, .rw .wish-text, .rw .wish-count, .rw .form-status {
  font-family: var(--display);
}
.rw label, .rw legend { font-size: .9rem; letter-spacing: .04em; text-transform: none; color: rgba(255, 255, 255, .9); }
.rw .wish-text { font-size: .98rem; line-height: 1.6; }
.rw .wish-list { max-height: 460px; }
@media (min-width: 860px) { .rw-grid { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.when .event::before, .when .event::after { display: none; } .when .event, .when .event-gai { border: 0 !important; }

/* ===== Tối ưu điện thoại + nền rèm đèn rọi xuyên suốt ===== */
body::before {
  background: #000 url("images/curtain-spot.jpg") center top / cover no-repeat;
}
body::after { background: none; animation: none; }
.iv, .tl-sec:not(.only-dress), .details, .rw, .gift, .thanks, .couple, .footer, .std { background: transparent !important; }
.details-bg, .details-overlay { display: none; }

/* Vàng mượt từ trái sang phải (theo màu chữ trong thiệp in) */
.nav-names, .sa-name, .iv-name, .portrait .name, .footer-names {
  background: linear-gradient(90deg, #F6AE45 0%, #F8C95F 33%, #F7E27C 66%, #F7F494 100%);
  -webkit-background-clip: text; background-clip: text;
}
.name-art path { stroke: none !important; }

/* Lời mời trên điện thoại: tên bố mẹ không xuống dòng, 2 dòng mời gọn như bản in */
.iv .container.narrow { padding-left: 14px; padding-right: 14px; }
.iv-families { gap: 6px; }
.iv-fam p { white-space: nowrap; font-size: clamp(12px, 3.35vw, 17px); }
.iv-fam-label { font-size: clamp(13px, 3.6vw, 18px) !important; }
.iv-lead { font-size: clamp(12.5px, 3.45vw, 19px); letter-spacing: .01em; }
.iv-lead span { white-space: nowrap; }
.iv-venue { font-size: clamp(12.5px, 3.6vw, 18px); letter-spacing: .01em; white-space: nowrap; }
.iv-addr { font-size: clamp(12.5px, 3.5vw, 17px); }
.iv-when { white-space: nowrap; font-size: clamp(14px, 4.2vw, 20px); gap: 0 .45em; }

/* Timeline: ảnh trang 4 thiệp in */
.tl-sec:not(.only-dress) { padding: 0 !important; }
.tl-page { width: 100%; max-width: 560px; }
.iv-lead span { white-space: normal; }
.iv-lead { font-size: clamp(13px, 3.7vw, 19px); text-wrap: balance; }
.iv-fam p { font-size: clamp(12.5px, 3.45vw, 17px); }
.iv-lead span { display: block; text-wrap: balance; } .iv-lead br { display: none; }

/* Màn rèm: "Trân trọng kính mời:" + tên khách trên dòng chấm */
.st-invite {
  position: absolute; left: 50%; translate: -50% 0; bottom: calc(8% + env(safe-area-inset-bottom) + 76px);
  width: min(82vw, 400px); display: flex; flex-direction: column; align-items: center;
  animation: fadeup 1.4s var(--ease) 1.6s both;
}
.st-ttkm { display: block; width: min(52%, 210px); height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }
.st-guest {
  display: block; width: 100%; min-height: 1.35em; margin-top: 4px; padding: 0 4px 3px; text-align: center;
  border-bottom: 1.5px dotted rgba(255, 255, 255, .85);
  font: 400 clamp(26px, 8vw, 36px)/1.2 "Great Vibes VN", cursive; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-names { top: 45%; }
.st-invite { bottom: calc(8% + env(safe-area-inset-bottom) + 92px); }

/* ===== Timeline: khung từ thiệp in + nội dung chữ thật, đặt đúng vị trí bản PDF ===== */
.tl-sec, .tl-sec.only-dress { padding: 0 !important; background: transparent !important; }
.tl-sec .tl-card, .tl-page { display: none !important; }
.tlx {
  position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1359 / 1840;
  background: url("images/tl-frame.jpg") center / 100% 100% no-repeat; container-type: inline-size; color: #2A1A1E;
}
.tlx > *, .tlx li > * { position: absolute; margin: 0; }
.tlx-title { left: 36.5%; top: 15.2%; width: 27%; font-size: 0; line-height: 0; text-align: center; }
.tlx-title .name-art { width: 100% !important; height: auto; filter: none; }
.tlx-list { inset: 0; list-style: none; padding: 0; }
.tlx-list li { display: contents; }
.tlx-icon { height: auto; }
.tlx-line { left: 48.85%; top: 27.93%; height: 35.2%; width: max(1px, .13cqw); background: #4A1A24; }
.tlx-dot { left: 48.9%; width: 1.05cqw; height: 1.05cqw; translate: -50% -50%; border-radius: 50%; background: #4A1A24; }
.tlx-text { left: 53.9%; display: flex; flex-direction: column; align-items: flex-start; }
.tlx-time { font-size: 0; line-height: 0; }
.tlx-time .name-art { width: auto !important; height: 2.95cqw; filter: none; }
.tlx-what { margin-top: .55cqw; font: 400 2.6cqw/1 var(--display); color: #2A1A1E; white-space: nowrap; }
.tlx-note { left: 15%; right: 15%; top: 70.6%; text-align: center; font: 400 2.2cqw/1.22 var(--display); color: #2A1A1E; }
.tlx-sw { inset: 0; list-style: none; padding: 0; pointer-events: none; }
.tlx-sw li { position: absolute; top: 79.11%; width: 3.97%; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 max(1px, .1cqw) rgba(0, 0, 0, .35); }
/* Khách nhà gái: chỉ gợi ý trang phục trong khung */
.tlx.only-dress .tlx-list, .tlx.only-dress .tlx-line { display: none; }
.tlx.only-dress .tlx-title { top: 30%; }
.tlx.only-dress .tlx-note { top: 42%; }
.tlx.only-dress .tlx-sw li { top: 52%; }
.tlx[data-reveal] { opacity: 0; transition: opacity 1.2s var(--ease); }
.tlx.is-in { opacity: 1; }
.tlx.only-dress .tlx-title { font: 400 7cqw/1 "Pinyon Script VN", cursive; color: #B3243F; left: 20%; width: 60%; }
.tlx-title { top: 15.9%; } .tlx.only-dress .tlx-title { top: 30%; }

/* Vàng thống nhất theo chữ tên trong thiệp in */
.nav-names, .sa-name, .iv-name, .portrait .name, .footer-names {
  background: linear-gradient(90deg, #EBB45C 0%, #EAC16B 30%, #F0DD8A 55%, #EFEC9A 80%, #F0EF9C 100%);
  -webkit-background-clip: text; background-clip: text;
}
.nav-names, .footer-names em { color: #EFD27C; -webkit-text-fill-color: #EFD27C; }

/* Bớt khoảng trống giữa các phần */
.section { padding: clamp(44px, 8vw, 80px) 0; }
.std { min-height: auto; padding: calc(var(--nav-h) + 20px) var(--gutter) 70px; }
.iv { padding: clamp(56px, 10vw, 90px) 0 clamp(44px, 8vw, 70px); }
.couple { padding-top: clamp(36px, 7vw, 64px); padding-bottom: clamp(36px, 7vw, 64px); }
.quote { min-height: 60svh; padding: 70px var(--gutter); }
.rw-head { margin-bottom: 20px; }
.rw-title { margin-top: 0; }
.gift .sec-head, .wishes .sec-head { margin-bottom: 24px; }
.thanks { padding-top: 30px; }
.footer { padding: 48px var(--gutter) calc(70px + env(safe-area-inset-bottom)); }
.std { padding-bottom: 96px; }

/* Timeline: chỉ lấy khung trắng (nền trong suốt) trên nền rèm chung */
.tlx { background: url("images/tl-khung.png") 50% 51.1% / 91.9% 92.88% no-repeat; max-width: 600px; }
.tl-sec, .tl-sec.only-dress { padding: clamp(24px, 6vw, 48px) 0 !important; }
/* Màu đúng bản in */
.tlx-what { color: #2A2827; }
.tlx-note { color: #353332; }
.tlx-line, .tlx-dot { background: #431719; }
.tlx.only-dress .tlx-title { color: #BD1A3A; }

/* ===== Câu trích dẫn + dải ảnh: đồng bộ với nền rèm đen-đỏ và chữ trắng/vàng ===== */
.quote { min-height: 70svh; padding: 90px var(--gutter); }
.quote-bg img { filter: saturate(.85) contrast(1.05); }
.quote-overlay {
  background:
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, #000 100%),
    radial-gradient(75% 65% at 50% 45%, rgba(0, 0, 0, .35), rgba(0, 0, 0, .78));
}
.quote-mark {
  height: .5em; font: 400 6rem/1 "Pinyon Script VN", cursive;
  background: linear-gradient(90deg, #EBB45C, #F0DD8A 55%, #F0EF9C); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote-text p { font: 400 clamp(1.45rem, 5.6vw, 2.5rem)/1.5 var(--display); letter-spacing: .01em; color: #fff; text-shadow: 0 3px 22px rgba(0, 0, 0, .7); }
.quote-text footer { margin-top: 18px; font: 400 13px/1.4 var(--display); letter-spacing: .22em; color: rgba(255, 255, 255, .85); }

.marquee { background: transparent; border: 0; padding: 26px 0 30px; }
.marquee img {
  margin-right: 16px; border-radius: 0; padding: 5px; background: #fff;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .85); filter: none;
}
.marquee-track.reverse { margin-top: 16px; }

/* ===== Hộp mừng cưới: gọn ===== */
.gift { padding: clamp(36px, 7vw, 60px) 0; }
.gift .sec-head { margin-bottom: 8px; }
.gift .sec-title { font: 400 clamp(1.05rem, 4.4vw, 1.4rem)/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.gift .flourish { display: none; }
.giftbox-art { width: 112px !important; height: auto; }
.giftbox-btn { gap: 12px; }
.giftbox-label { min-height: 42px; padding: 0 22px; font-size: 11px; }
.gift-panel-inner { padding-top: 14px; }
.gift-tabs { margin-bottom: 12px; }
.gift-tabs [role=tab] { min-height: 40px; padding: 0 20px; }
.gift-card {
  padding: 16px; max-width: 460px; margin: 0 auto;
  background: rgba(20, 0, 6, .7); border: 1px solid rgba(255, 255, 255, .2); box-shadow: none;
}
.gift-card::before, .gift-card::after { display: none; }
.gc-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; text-align: left; }
.gift-card .qr-frame { width: 140px; padding: 6px; margin: 0; border-radius: 8px; background: #fff; box-shadow: none; border: 0; }
.gift-card .qr-frame::before, .gift-card .qr-frame::after { display: none; }
.gift-card .qr-frame img { width: 100%; height: auto; display: block; }
.gc-side { display: flex; flex-direction: column; gap: 3px; }
.gc-bank { margin: 0; font: 400 12px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.gc-acc { margin: 0; font: 400 clamp(1.15rem, 5vw, 1.4rem)/1.2 var(--display); letter-spacing: .04em; color: #fff; white-space: nowrap; }
.gc-name { margin: 0 0 8px; font: 400 13px/1.3 var(--display); letter-spacing: .06em; color: #EFD27C; }
.gc-side .copy-btn { align-self: flex-start; min-height: 36px; padding: 0 14px; font-size: 10.5px; }
@media (max-width: 360px) { .gc-row { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; } .gift-card .qr-frame { width: 120px; } }
.gift-card .qr-frame { aspect-ratio: 1; height: auto; display: block; }
.gift-card .qr-frame img { aspect-ratio: 1; object-fit: contain; }
.gc-side .copy-btn { white-space: nowrap; }
.gift .sec-head { margin-bottom: 18px; }

/* Timeline: đường kẻ chạy từ trên xuống, chấm và từng mốc hiện lần lượt */
.tlx-line { transform: scaleY(0); transform-origin: top; transition: transform 2.2s cubic-bezier(.45, 0, .2, 1) .3s; }
.tlx.is-in .tlx-line { transform: scaleY(1); }
.tlx-dot { transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.tlx-icon, .tlx-text { opacity: 0; transition: opacity .7s ease, translate .7s ease; translate: 0 8px; }
.tlx.is-in .tlx-dot { transform: scale(1); }
.tlx.is-in .tlx-icon, .tlx.is-in .tlx-text { opacity: 1; translate: 0 0; }
.tlx-list li:nth-child(1) > * { transition-delay: .35s; }
.tlx-list li:nth-child(2) > * { transition-delay: .85s; }
.tlx-list li:nth-child(3) > * { transition-delay: 1.35s; }
.tlx-list li:nth-child(4) > * { transition-delay: 1.85s; }
.tlx-list li:nth-child(5) > * { transition-delay: 2.35s; }
@media (prefers-reduced-motion: reduce) { .tlx-line, .tlx-dot, .tlx-icon, .tlx-text { transition: none; transform: none; opacity: 1; translate: none; } }
.gift .sec-head { margin-bottom: 40px; }

/* Câu trích dẫn: bỏ ảnh nền rừng, đặt thẳng trên rèm như các phần khác */
.quote { min-height: 0; padding: clamp(56px, 11vw, 96px) var(--gutter); background: transparent; }
.quote-bg, .quote-overlay { display: none; }
.quote-text { max-width: 640px; padding: clamp(28px, 6vw, 44px) clamp(18px, 5vw, 40px); border-top: 1px solid rgba(239, 210, 124, .55); border-bottom: 1px solid rgba(239, 210, 124, .55); }
.quote-text p { font-size: clamp(1.3rem, 5.2vw, 2.1rem); text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.quote-text footer { color: #EFD27C; }

/* Hộp mừng cưới nổi bật hơn: hộp to hơn, nơ vàng kim, quầng sáng, nút vàng đặc */
.gift .sec-head { margin-bottom: 6px; }
.giftbox-art { width: clamp(150px, 42vw, 190px) !important; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .7)); }
.giftbox-art .gb-ribbon, .giftbox-art .gb-knot { fill: #F0D27E !important; } .giftbox-art .gb-bow { stroke: #F0D27E !important; stroke-width: 4 !important; }
.giftbox-art .gb-line { stroke: #F0D27E !important; }
.giftbox-art .gb-glow circle { fill: #FFD98A !important; opacity: .55; filter: blur(18px); }
.giftbox:not(.is-open) .giftbox-art .gb-glow { animation: gbpulse 2.6s ease-in-out infinite; }
@keyframes gbpulse { 50% { opacity: .35; } }
.giftbox:not(.is-open) .giftbox-art { animation: gbfloat 3.2s ease-in-out infinite; }
@keyframes gbfloat { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
.giftbox-label {
  background: linear-gradient(90deg, #EBB45C, #F0DD8A 55%, #F0EF9C); color: #3A0612 !important;
  border: 0 !important; font-weight: 500; box-shadow: 0 10px 24px -8px rgba(240, 200, 110, .6);
}
.gift .sec-title { color: #EFD27C; }
.giftbox .giftbox-btn .giftbox-label, .giftbox.is-open .giftbox-btn .giftbox-label { background: linear-gradient(90deg, #EBB45C, #F0DD8A 55%, #F0EF9C) !important; color: #3A0612 !important; font-weight: 600; }

/* Ảnh cô dâu – chú rể: khung Polaroid (mẫu 1) */
.couple .couple-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 4vw, 40px); max-width: 760px; margin: 0 auto; align-items: start; }
.couple .portrait { width: 100%; }
.portrait-frame {
  aspect-ratio: auto; padding: 6% 6% 18%; background: #fbfaf7; clip-path: none !important;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .85);
  opacity: 0; translate: 0 26px; transition: opacity 1.1s var(--ease), translate 1.1s var(--ease);
}
.portrait.is-in .portrait-frame { opacity: 1; translate: 0 0; }
#portrait-first .portrait-frame { rotate: -2.5deg; }
#portrait-second .portrait-frame { rotate: 2deg; }
.portrait-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; clip-path: none; transform: none !important; }
.portrait-frame svg { display: none; }
.portrait figcaption { margin-top: 16px; }
.portrait .role { font-family: var(--display); font-size: 11px; color: rgba(255, 255, 255, .85); }
@media (max-width: 420px) { .portrait .role { font-size: 10px; letter-spacing: .2em; } }

/* Hộp mừng: bỏ quầng sáng vàng bên trong, chừa chỗ cho nắp bay lên không đè tiêu đề */
.giftbox-art .gb-glow, .giftbox-art .gb-glow circle, .wbox .gb-glow circle { display: none !important; }
.giftbox:not(.is-open) .giftbox-art .gb-glow { animation: none !important; }
.gift .sec-head { margin-bottom: 0; }
.giftbox { padding-top: clamp(70px, 18vw, 96px); }
.giftbox:not(.is-open) { padding-top: 24px; transition: padding-top .4s ease; }

/* Tiêu đề "Hộp mừng cưới": chữ viết tay vàng như tên */
.gift .sec-title {
  font: 400 clamp(2.6rem, 12vw, 3.6rem)/1.2 "Great Vibes VN", cursive; letter-spacing: 0; text-transform: none;
  background: linear-gradient(90deg, #EBB45C 0%, #EAC16B 30%, #F0DD8A 55%, #EFEC9A 80%, #F0EF9C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); padding: 0 .15em;
}

/* ===== Sự kiện, xác nhận, lời chúc: giấy trắng nổi trên rèm (đồng bộ Timeline + Lời cảm ơn) ===== */
.when, .rw-form, .wish {
  background: #fbfaf7 !important; color: #2A1A1E; border: 0 !important;
  box-shadow: 0 24px 46px -20px rgba(0, 0, 0, .9), inset 0 0 0 6px #fbfaf7, inset 0 0 0 7px rgba(74, 16, 32, .35) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* Sự kiện */
.when-dday .ribbon-text, .when .cd-num, .when .cal-title, .when .ev-title, .when .ev-time { color: #BD1C3C; }
.when-sub, .when .ev-lunar, .when .ev-addr { color: #5A4448; }
.when .ev-venue, .when .ev-date, .when .ev-when { color: #2A1A1E; }
.when .ev-when i, .when .event + .event { background: none; border-color: rgba(74, 16, 32, .25); }
.when .ev-when i { background: rgba(74, 16, 32, .4); }
.when .cd-unit { background: #fff; border-color: rgba(189, 28, 60, .35); }
.when .cd-label { color: #6B4A50; }
.when-grid, .when .calendar { border-color: rgba(74, 16, 32, .18) !important; }
.when .cal-table th { color: #4A1020; }
.when .cal-table td { color: #2A1A1E; }
.when .cal-table td.is-day { color: #fff; }
.when .cal-table td.is-day svg path { fill: #BD1C3C; stroke: none; }
.when .ev-go { background: #BD1C3C; color: #fff; border-color: #BD1C3C; animation: none; }
.when .ev-save { background: transparent; color: #BD1C3C; border-color: #BD1C3C; }
.when .ev-save:hover { background: #BD1C3C; color: #fff; }
/* Form */
.rw-head .rw-title {
  font: 400 clamp(2.4rem, 11vw, 3.4rem)/1.2 "Great Vibes VN", cursive; letter-spacing: 0; text-transform: none;
  background: linear-gradient(90deg, #EBB45C 0%, #EAC16B 30%, #F0DD8A 55%, #EFEC9A 80%, #F0EF9C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); padding: 0 .1em;
}
.rw-form label, .rw-form legend { color: #4A1020 !important; }
.rw-form .opt { color: #8A7074; }
.rw-form .field input[type="text"], .rw-form .field textarea, .rw-form .select select {
  background: #fff; color: #2A1A1E; border: 1px solid rgba(74, 16, 32, .3);
}
.rw-form .field input::placeholder, .rw-form .field textarea::placeholder { color: #A8959A; }
.rw-form .field input:focus, .rw-form .field textarea:focus, .rw-form .select select:focus { background: #fff; border-color: #BD1C3C; box-shadow: 0 0 0 3px rgba(189, 28, 60, .15); }
.rw-form .select::after { border-color: #BD1C3C; }
.rw-form .select select option { background: #fff; color: #2A1A1E; }
.rw-form .choice span { background: #fff; color: #2A1A1E; border-color: rgba(74, 16, 32, .3); }
.rw-form .choice span::before { border-color: #BD1C3C; }
.rw-form .choice input:checked + span { background: rgba(189, 28, 60, .07); border-color: #BD1C3C; }
.rw-form .choice input:checked + span::before { background: #BD1C3C; box-shadow: inset 0 0 0 3px #fff; }
.rw-form .btn-gold-solid { background: #BD1C3C !important; color: #fff !important; border-color: #BD1C3C !important; }
.rw-form .form-status, .rw-form .field-error { color: #BD1C3C; }
/* Lời chúc */
.wish-count { color: #EFD27C !important; font-family: var(--display) !important; }
.wish { border-left: 3px solid #BD1C3C !important; }
.wish-avatar { background: #BD1C3C; color: #fff; }
.wish-name { color: #4A1020 !important; font-family: var(--display) !important; }
.wish-time { color: #8A7074 !important; }
.wish-text { color: #2A1A1E !important; }

/* Sự kiện: bỏ nền giấy trắng, nội dung nằm thẳng trên rèm */
.when { background: transparent !important; box-shadow: none !important; border: 0 !important; padding-left: 0; padding-right: 0; }
.when-dday .ribbon-text, .when .cd-num, .when .cal-title, .when .ev-title, .when .ev-time { color: #EFD27C; }
.when-sub, .when .ev-lunar, .when .ev-addr, .when .cd-label { color: rgba(255, 255, 255, .82); }
.when .ev-venue, .when .ev-date, .when .ev-when, .when .cal-table th, .when .cal-table td { color: #fff; }
.when .ev-when i { background: rgba(255, 255, 255, .5); }
.when .cd-unit { background: rgba(0, 0, 0, .25); border-color: rgba(239, 210, 124, .45); }
.when-grid, .when .calendar, .when .event + .event { border-color: rgba(255, 255, 255, .18) !important; }
.when .cal-table td.is-day { color: #3A0612; }
.when .cal-table td.is-day svg path { fill: #EFD27C; }
.when .ev-go { background: linear-gradient(90deg, #EBB45C, #F0DD8A 55%, #F0EF9C); color: #3A0612; border-color: transparent; }
.when .ev-save { color: #EFD27C; border-color: #EFD27C; }
.when .ev-save:hover { background: #EFD27C; color: #3A0612; }

/* Lời chúc: gom vào một tờ giấy trắng, mỗi lời chúc ngăn bằng đường kẻ mảnh */
.rw .wish-list-wrap {
  background: #fbfaf7; padding: 22px clamp(18px, 4vw, 30px) 18px;
  box-shadow: 0 24px 46px -20px rgba(0, 0, 0, .9), inset 0 0 0 6px #fbfaf7, inset 0 0 0 7px rgba(74, 16, 32, .35);
}
.rw .wish-count { margin: 0 0 6px; text-align: center; color: #BD1C3C !important; font: 400 clamp(1.9rem, 8vw, 2.4rem)/1.2 "Great Vibes VN", cursive !important; letter-spacing: 0; text-transform: none; }
.rw .wish-list { gap: 0; max-height: 420px; }
.rw .wish-list.is-auto { padding: 16px 0; }
.rw .wish {
  background: none !important; box-shadow: none !important; border: 0 !important;
  border-bottom: 1px solid rgba(74, 16, 32, .14) !important; padding: 14px 2px;
  grid-template-columns: 34px 1fr; gap: 12px;
}
.rw .wish:last-child { border-bottom: 0 !important; }
.rw .wish-avatar { width: 34px; height: 34px; font-size: 15px; background: none; color: #BD1C3C; border: 1px solid #BD1C3C; }
.rw .wish-name { font: 500 14.5px/1.4 var(--display) !important; color: #4A1020 !important; }
.rw .wish-time { font-size: 12px; color: #A08A8E !important; }
.rw .wish-text { margin-top: 3px; font: 400 15px/1.6 var(--display) !important; color: #3A2A2E !important; }

/* ===== Lời chúc: những tấm thiệp nhỏ trên rèm (thay khung trắng lớn) ===== */
.rw .wish-list-wrap { background: none !important; box-shadow: none !important; padding: 0 !important; }
.rw .wish-count {
  color: transparent !important; font: 400 clamp(2.2rem, 10vw, 3rem)/1.2 "Great Vibes VN", cursive !important;
  background: linear-gradient(90deg, #EBB45C, #F0DD8A 55%, #F0EF9C); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5));
}
.rw .wish-list { gap: 18px; max-height: 480px; padding: 6px 14px; }
.rw .wish-list.is-auto { padding: 28px 14px;
  -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.rw .wish.note {
  display: block; position: relative; padding: 22px 22px 16px 54px; text-align: left;
  background: #fbfaf7 !important; border: 0 !important; border-bottom: 0 !important;
  box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .85), inset 0 0 0 5px #fbfaf7, inset 0 0 0 6px rgba(189, 28, 60, .25) !important;
}
.rw .wish.note:nth-child(odd) { rotate: -.8deg; margin-right: 10px; }
.rw .wish.note:nth-child(even) { rotate: .8deg; margin-left: 10px; }
.note-q { position: absolute; left: 14px; top: 2px; font: 400 58px/1 Georgia, serif;
  background: linear-gradient(90deg, #EBB45C, #F0DD8A 55%, #F0EF9C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw .wish.note .wish-text { margin: 0; font: 400 15.5px/1.6 var(--display) !important; color: #3A2A2E !important; }
.note-sign { margin: 10px 0 0; display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; }
.rw .wish.note .wish-name { font: 400 clamp(1.5rem, 6vw, 1.8rem)/1 "Great Vibes VN", cursive !important; color: #BD1C3C !important; }
.rw .wish.note .wish-time { margin: 0; font: 400 11.5px/1 var(--display); color: #A08A8E !important; }

/* Câu trích dẫn: chữ viết tay vàng như tên */
.quote-text p {
  font: 400 clamp(2.3rem, 10vw, 4rem)/1.25 "Great Vibes VN", cursive !important; letter-spacing: 0 !important;
  background: linear-gradient(90deg, #EBB45C 0%, #EAC16B 30%, #F0DD8A 55%, #EFEC9A 80%, #F0EF9C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  text-shadow: none !important; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); padding: 0 .2em;
}
.quote-text.is-in p { animation: none; }
.quote-text p.fx-blur:not(.fx-in) { letter-spacing: 0; }

/* ===== Lời chúc: các tấm note kẹp trên sợi dây, kéo ngang ===== */
.rw .rw-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: none; }
.rw .rw-form { width: 100%; max-width: 620px; margin: 0 auto; }
.rw .wish-list-wrap { margin: 18px calc(-1 * var(--gutter)) 0; }
.rw .wish-list, .rw .wish-list.is-auto {
  display: flex; flex-wrap: nowrap; gap: 0; max-height: none; overflow-x: auto; overflow-y: hidden;
  padding: 6px 0 34px !important; scrollbar-width: none; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.rw .wish-list::-webkit-scrollbar { display: none; }
.rw .wish.note {
  flex: 0 0 auto; width: clamp(210px, 62vw, 260px); padding: 46px 14px 0 !important; margin: 0 !important; position: relative;
  background: none !important; box-shadow: none !important; rotate: 0deg !important; display: block;
}
/* đoạn dây võng giữa hai kẹp */
.rw .wish.note::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px;
  border-bottom: 1.6px solid #E8D7B0; border-radius: 0 0 50% 50% / 0 0 100% 100%;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45));
}
.note-pin {
  position: absolute; left: 50%; top: 18px; z-index: 2; width: 12px; height: 38px; translate: -50% 0; border-radius: 3px;
  background: linear-gradient(90deg, #A8782E, #F0DD8A 50%, #A8782E); box-shadow: 0 3px 4px rgba(0, 0, 0, .45);
}
.note-pin::after { content: ""; position: absolute; left: 50%; top: 12px; width: 4px; height: 4px; translate: -50% 0; border-radius: 50%; background: #7A5418; }
.note-card {
  position: relative; min-height: 170px; padding: 26px 18px 14px; background: #fbf8ef;
  box-shadow: 0 14px 22px -10px rgba(0, 0, 0, .8); transform-origin: 50% -10px;
  display: flex; flex-direction: column; justify-content: space-between;
  animation: notesway 5s ease-in-out infinite;
}
.rw .wish.note:nth-child(3n+1) .note-card { rotate: -3deg; animation-delay: -1s; }
.rw .wish.note:nth-child(3n+2) .note-card { rotate: 2.5deg; background: #fff3f1; animation-delay: -2.4s; }
.rw .wish.note:nth-child(3n) .note-card { rotate: -1deg; background: #fbf3dc; animation-delay: -3.6s; }
@keyframes notesway { 50% { transform: rotate(1.6deg); } }
.rw .wish.note .wish-text { margin: 0; font: 400 15px/1.55 var(--display) !important; color: #3A2A2E !important; text-align: left; }
.rw .wish.note .note-sign { margin-top: 12px; justify-content: flex-end; }
.rw .wish.note .wish-name { font-size: clamp(1.4rem, 5.6vw, 1.6rem) !important; }
.rw .wish.note .wish-time { display: none; }
.note-q { display: none; }
@media (prefers-reduced-motion: reduce) { .note-card { animation: none; } }
.rw .wish.note { width: clamp(190px, 54vw, 250px); } .rw .wish.note .wish-text { font-size: 14px !important; }

/* ===== Thu gọn khoảng trống giữa các phần ===== */
main > .section, main > section, .footer { padding-top: clamp(28px, 5vw, 48px) !important; padding-bottom: clamp(28px, 5vw, 48px) !important; }
.std { padding-top: calc(var(--nav-h) + 16px) !important; padding-bottom: 64px !important; }
.tl-sec, .tl-sec.only-dress { padding-top: 12px !important; padding-bottom: 12px !important; }
.quote { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
.quote-text { padding-top: 24px; padding-bottom: 24px; }
.marquee { padding: 10px 0 14px !important; }
.details .container, .rw .container, .gift .container { padding-top: 0; }
.rw-head { margin-bottom: 14px !important; }
.rw .wish-list-wrap { margin-top: 10px; }
.rw .wish-count { margin-bottom: 0 !important; }
.gift .sec-head { margin-bottom: 0 !important; }
.giftbox:not(.is-open) { padding-top: 8px; }
.footer-crest { margin-top: 0; }
.footer { padding-bottom: calc(56px + env(safe-area-inset-bottom)) !important; }

/* Save the date: "Cuộn xuống" nằm dưới địa điểm, không đè chữ */
.std { flex-direction: column; padding-bottom: 28px !important; }
.std .scroll-cue { position: relative; left: auto; right: auto; bottom: auto; top: auto; translate: none; transform: none; margin: 26px auto 0; }

/* bỏ viền đen khi bấm nút chọn nhà */
.sa-opt, .sa-opt:focus, .sa-opt:focus-visible, .sa-opt:active { outline: none !important; -webkit-tap-highlight-color: transparent; }
.sa-opt { border: 0; }
.sa-opt.is-picked, .sa-opt:focus-visible, .side-ask .sa-opt.is-current { box-shadow: none !important; }
.sa-opt.is-picked .sa-tag { box-shadow: 0 0 18px rgba(255,255,255,.35); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus:not(:focus-visible) { outline: none; }
.rw-form .form-status { padding: 0 46px; }

/* Mở hộp mừng: hộp bật nắp rồi thu gọn biến mất cho đỡ dài */
.giftbox-art { max-height: 260px; transition: max-height .7s cubic-bezier(.6,0,.3,1) .55s, opacity .45s ease .5s, transform .6s ease .45s, margin .7s ease .55s; }
.giftbox.is-open .giftbox-art { max-height: 0 !important; opacity: 0; transform: scale(.6); margin: 0 !important; }
.giftbox.is-open .giftbox-btn { gap: 0; }

/* ===== Hộp mừng sau khi mở: gọn, sát tiêu đề, không bóng đen ===== */
.giftbox.is-open { padding-top: 6px !important; transition: padding-top .7s ease .5s; }
.giftbox-btn { transition: max-height .7s cubic-bezier(.6,0,.3,1) .55s, opacity .4s ease .5s; max-height: 420px; }
.giftbox.is-open .giftbox-btn { max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.giftbox.is-open .gift-panel-inner { padding-top: 0 !important; }
.giftbox-art { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)) !important; }
.giftbox-label { box-shadow: 0 8px 22px -10px rgba(240, 200, 110, .55) !important; }

.gift-tabs { margin: 0 auto 16px !important; border-color: rgba(239, 210, 124, .55) !important; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.gift-tab { color: rgba(255, 255, 255, .85) !important; }
.gift-tab[aria-selected="true"] { background: linear-gradient(90deg, #EBB45C, #F0DD8A 55%, #F0EF9C) !important; color: #3A0612 !important; }

.gift-card {
  padding: 18px !important; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)) !important;
  border: 1px solid rgba(239, 210, 124, .6) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18) !important;
}
.gift-card .qr-frame { border-radius: 10px !important; box-shadow: 0 0 0 1px rgba(239, 210, 124, .5) !important; }
.gc-bank { color: rgba(255, 255, 255, .8) !important; }
.gc-side .copy-btn { border-color: rgba(239, 210, 124, .7) !important; color: #F0DD8A !important; }

/* Footer: bỏ tên và ngày dưới logo */
.footer-names, .footer-date { display: none !important; }
.footer-thanks { margin-top: 28px !important; }
.pola-photo img { object-position: 50% 50% !important; }

/* Ô chọn nhà: hai bên thẳng hàng, ngày có năm */
.sa-opt:hover .sa-info, .sa-opt:focus-visible .sa-info { transform: none !important; }
.sa-info { justify-content: flex-end; }
.sa-name { height: clamp(40px, 11vw, 52px); display: flex; align-items: center; justify-content: center; }
.sa-meta { display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; }
.sa-meta .sa-date { font-size: 1.12em; letter-spacing: .08em; }
.sa-where { white-space: nowrap; }

[data-reveal] { transition: opacity .7s var(--ease), transform .8s var(--ease) !important; transform: translateY(22px); }
[data-reveal].is-in { transform: none; }

/* ===== Thư cảm ơn: chữ viết tay (Dancing Script, có tiếng Việt) ===== */
@font-face { font-family: "Thu Tay"; font-weight: 500; font-display: swap; src: url("fonts/dancing-vietnamese-500.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Thu Tay"; font-weight: 500; font-display: swap; src: url("fonts/dancing-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Thu Tay"; font-weight: 500; font-display: swap; src: url("fonts/dancing-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ===== Save the date: thay khung polaroid bằng thiệp giấy trắng khung oval ===== */
.std .pola { aspect-ratio: 1805 / 2661; width: min(74vw, 360px); background: #fff; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 40px -14px rgba(0,0,0,.6); filter: none; }
.std .pola-frame, .std .pola-clip { display: none !important; }
.std .pola-photo { inset: 0; left: 0; top: 0; width: 100%; height: 100%; background: #fff; }
.std .pola-photo img { object-fit: cover; object-position: 50% 50% !important; filter: none; }
.std .pola-cap { bottom: 2.6%; height: 11%; color: #1d1d1d; }
/* Thiệp oval: dùng nguyên ảnh gửi (khổ A, lề trắng), tên nằm ở lề dưới */
.std .pola { aspect-ratio: 2480 / 3496; width: min(78vw, 380px); }
.std .pola-photo img { object-fit: contain; }
.std .pola-cap { bottom: 7%; height: 9%; }


/* ===== Chống trang bị lắc trái/phải khi lướt trên điện thoại ===== */
html, body { max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { position: relative; }
main, section, header.hero, footer, .marquee { max-width: 100vw; overflow-x: clip; }

/* ===== Save the date: khung hoa văn trắng + ảnh oval (tách nền), đặt thẳng trên rèm ===== */
.std .pola { aspect-ratio: 1100 / 1789; width: min(84vw, 400px); background: none !important; box-shadow: none !important; border-radius: 0; filter: none; }
.std .pola-photo { inset: 0 0 auto 0; height: 86%; background: none !important; }
.std .pola-photo img { object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0,0,0,.35)); }
.std .pola-cap { bottom: 0; height: 10%; color: #fff; }
.std .pola-cap svg { fill: #fff; }
.std .pola { aspect-ratio: 1100 / 1720; }
.std .pola-photo { height: 89.5%; }
/* Dải ảnh chạy: bỏ viền khung */
.marquee img { border: 0 !important; outline: 0 !important; padding: 0 !important; background: none !important; box-shadow: 0 8px 18px -8px rgba(0,0,0,.45) !important; border-radius: 3px !important; }
/* Dải ảnh chạy: khung gỗ mạ vàng */
.marquee img {
  padding: 9px !important; border-radius: 2px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.35), transparent 30%, transparent 70%, rgba(0,0,0,.25)),
    repeating-linear-gradient(90deg, rgba(120,70,10,.18) 0 2px, transparent 2px 5px),
    linear-gradient(135deg, #8a5a14 0%, #d9a441 18%, #f6e08e 32%, #c48a2c 50%, #f2d27a 68%, #a8701e 84%, #e8c063 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,236,170,.7), inset 0 0 0 3px rgba(110,64,10,.55), inset 0 0 6px 4px rgba(70,35,0,.35),
              0 12px 22px -10px rgba(0,0,0,.7) !important;
}

/* ánh vàng loé từ khe rèm */
.stage .cover-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0;
  background: radial-gradient(40% 70% at 50% 45%, rgba(255, 226, 160, .55), rgba(255, 200, 120, .12) 50%, transparent 75%);
  transform: scaleX(.05); transition: transform 1.8s cubic-bezier(.3, 0, .2, 1) .15s, opacity 2.6s ease .1s;
}
.stage.is-opening .cover-inner::after { opacity: 1; transform: scaleX(1); animation: glowfade 3s ease 1.4s forwards; }
@keyframes glowfade { to { opacity: .35; } }
.stage .ci-ask { z-index: 4; }

/* ===== Rèm nhung mở như thật ===== */
.stage .curtain-half, .stage.is-opening .cl, .stage.is-opening .cr {
  transform: none !important; filter: none !important; box-shadow: none !important; -webkit-clip-path: none !important; clip-path: none !important; transition: none !important;
}
.stage:not(.is-opening) .cl, .stage:not(.is-opening) .cr { animation: none !important; }
.curtain-half::after { display: none !important; }
.cfold { position: absolute; top: 0; bottom: 0; overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.cl .cfold { --dir: -1; } .cr .cfold { --dir: 1; }
.cfold-img { position: absolute; top: 0; bottom: 0; background: url("images/curtain-stage-2.jpg") center 30% / cover no-repeat; }
/* bóng nếp vải: hiện dần khi rèm dồn lại */
.cfold::after {
  content: ""; position: absolute; inset: 0; opacity: .25; transition: opacity 1.6s ease var(--d);
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(255,170,170,.10) 38%, rgba(255,210,210,.16) 50%, rgba(0,0,0,.05) 64%, rgba(0,0,0,.6));
}
/* lay nhẹ khi chờ */
.stage:not(.is-opening) .cfold { animation: cfSway 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.35s); }
@keyframes cfSway { 50% { transform: skewX(calc(var(--dir) * .35deg)); } }
.stage.is-opening .cfold { animation: cfOpen 2.5s cubic-bezier(.66, 0, .22, 1) var(--d) both; }
.stage.is-opening .cfold::after { opacity: 1; }
@keyframes cfOpen {
  0%   { transform: translateX(0) skewX(0) scaleX(1); }
  55%  { transform: translateX(calc(var(--dir) * var(--i) * 74%)) skewX(calc(var(--dir) * -3.5deg)) scaleX(.94); }
  80%  { transform: translateX(calc(var(--dir) * var(--i) * 86%)) skewX(calc(var(--dir) * 1.2deg)) scaleX(.9); }
  100% { transform: translateX(calc(var(--dir) * var(--i) * 84%)) skewX(0) scaleX(.9); }
}
/* viền vàng mép rèm (tua rua sân khấu) */
.cl .cfold:last-child { box-shadow: inset -2px 0 0 rgba(240, 200, 120, .35); }
.cr .cfold:last-child { box-shadow: inset 2px 0 0 rgba(240, 200, 120, .35); }
/* ánh sáng vàng hắt ra từ khe rèm mạnh hơn */
.stage .cover-inner::after { background: radial-gradient(45% 80% at 50% 45%, rgba(255, 228, 170, .75), rgba(255, 196, 120, .2) 50%, transparent 78%) !important; }

/* Sau rèm: nền đỏ thẫm sâu thay cho lớp xám; ánh sáng khe rèm vàng ấm, tắt hẳn sau khi mở */
.stage .cover-inner {
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(150, 20, 40, .55), transparent 70%),
    radial-gradient(120% 90% at 50% 45%, #3a0610 0%, #1c0207 55%, #0b0003 100%) !important;
}
.stage .cover-inner::after {
  background: radial-gradient(28% 60% at 50% 42%, rgba(255, 196, 110, .55), rgba(220, 120, 60, .18) 50%, transparent 75%) !important;
  mix-blend-mode: screen;
}
.stage.is-opening .cover-inner::after { animation: glowOut 2.8s ease 1s forwards !important; }
@keyframes glowOut { to { opacity: 0; } }

/* Mở rèm nhanh & có chiều sâu; bảng chọn nhà hiện ngay sau ánh sáng */
.stage.is-opening .cfold { animation-duration: 1.9s !important; }
.stage .cover-inner { transition: transform 2.2s cubic-bezier(.2, .7, .2, 1); transform: scale(1.06); }
.stage.is-opening .cover-inner { transform: scale(1); }
.stage .cover-inner::after { transition: transform 1.1s cubic-bezier(.3, 0, .2, 1), opacity .8s ease !important; }
.stage.is-opening .cover-inner::after { animation: glowOut 1.2s ease .7s forwards !important; }
.cover-screen.is-asking .ci-ask > :nth-child(1) { animation: fadeup .7s var(--ease) .15s both !important; }
.cover-screen.is-asking .ci-ask > :nth-child(2) { animation: fadeup .7s var(--ease) .25s both !important; }
.cover-screen.is-asking .ci-ask .sa-options { animation: fadeup .7s var(--ease) .3s both !important; }
.cover-screen.is-asking .ci-ask .sa-opt:nth-child(1) { animation: halfL .9s var(--ease) .35s both !important; }
.cover-screen.is-asking .ci-ask .sa-opt:nth-child(2) { animation: halfR .9s var(--ease) .35s both !important; }
.cover-screen.is-asking .ci-ask .sa-options::before, .cover-screen.is-asking .ci-ask .sa-options::after { animation: fadeup .6s var(--ease) .9s both !important; }
/* vệt bóng lụa chạy qua nếp rèm khi kéo */
.stage.is-opening .cfold-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 220, 220, .22) 50%, transparent 60%) 0 0 / 300% 100%; animation: sheen 1.6s ease var(--d, 0s) both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
