/* Phông của giao diện "bienxanh" — Google Fonts, SIL Open Font License 1.1: Comfortaa, The Nautigal. Phông chung khác ở fonts/fonts.css. */
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../../fonts/Comfortaa-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../../fonts/Comfortaa-400-vietnamese.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: 'Comfortaa'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../../fonts/Comfortaa-400-latin.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; }
@font-face { font-family: 'The Nautigal'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../../fonts/TheNautigal-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'The Nautigal'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../../fonts/TheNautigal-400-vietnamese.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: 'The Nautigal'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../../fonts/TheNautigal-400-latin.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; }
@font-face { font-family: 'The Nautigal'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../../fonts/TheNautigal-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'The Nautigal'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../../fonts/TheNautigal-700-vietnamese.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: 'The Nautigal'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../../fonts/TheNautigal-700-latin.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; }
/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════
   BIỂN XANH (giao diện thường, 07/10/2026) — biển miền Trung lúc bình minh: trời hồng đào, mặt trời san hô trên đường chân trời,
   biển xanh ngọc nhiều lớp sóng trôi, thuyền thúng đan nan dập dềnh, hải âu. Ảnh chính là MẶT TRỜI MỌC (khung tròn viền nắng) nhô lên
   khỏi mặt biển, sóng phủ chân ảnh (07/10, BA P1-01: khác hẳn vòm trắng của VIP Santorini);
   đếm ngược = 4 bọt biển (thủy tinh biển); ngày cưới trên mặt trời mọc; thẻ địa điểm mép sóng. Phông The Nautigal (tên) +
   Comfortaa (tiêu đề) + Be Vietnam Pro.
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
[data-theme="bienxanh"] {
  --accent: #0e676d; --accent-2: #8fd0c9; --soft: #dff0ee; --ink: #10313b; --muted: #4d6267; --page: #f6f2ea;
  --nav-bg: #f6f2ea; --nav-ink: #10313b; --paper: #ffffff; --line: #dde7e3; --bg: #f6f2ea;
  --f-head: "Comfortaa", "Be Vietnam Pro", system-ui, sans-serif; --f-name: "The Nautigal", "Dancing Script", cursive; --f-body: "Be Vietnam Pro", system-ui, sans-serif; --f-ui: "Be Vietnam Pro", system-ui, sans-serif;
  --name-style: normal; --name-size: clamp(3.6rem, 15vw, 6.6rem); --t-name-w: 700; --t-h2-w: 700;
  --bx-deep: #0b3a48; --bx-sea: #1f8f93; --bx-coral: #f08a6c; --bx-coral-ink: #a8442c; --bx-sand: #efe4cf;
  --t-name: #0b3a48; --t-amp: #a8442c; --t-role: #a8442c; --t-eyebrow: #9a3e28; --f-guest: "Comfortaa", "Be Vietnam Pro", system-ui, sans-serif; --f-guest-style: normal; --t-sh: 0 1px 2px rgba(16, 49, 59, .06), 0 22px 40px -26px rgba(11, 58, 72, .45); --t-rad: 22px;
  --bx-wave: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='20' viewBox='0 0 120 20' preserveAspectRatio='none'><path d='M0 10C20 0 40 0 60 10S100 20 120 10V20H0z'/></svg>");
  --t-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'><path d='M20 2C10 2 4 10 4 18h32C36 10 30 2 20 2z'/><path d='M0 22c5-4 10-4 15 0s10 4 15 0 8-4 10-3v4c-2-1-5 0-10 3-5 4-10 4-15 0s-10-4-15 0z'/></svg>");
  --t-icon-c: #f08a6c;
  --t-div: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 22'><path d='M0 11c10-8 20-8 30 0s20 8 30 0M120 11c10-8 20-8 30 0s20 8 30 0' fill='none' stroke='black' stroke-width='1.6'/><circle cx='90' cy='11' r='6'/><circle cx='74' cy='11' r='2'/><circle cx='106' cy='11' r='2'/></svg>");
  --t-foot-bg: linear-gradient(180deg, #0e676d, #0b3a48 70%); --t-foot-ink: #e6f4f1; --t-foot-mute: #bfdcd8; --t-foot-i: #f6b49e;
}
/* ── Nền chung của giao diện (biến --t-* khai báo ở khối :root phía trên; khối riêng phía dưới ghi đè) ── */
[data-theme="bienxanh"] body.wd { font-size: 17px; background: var(--t-body-bg, var(--page)); }
[data-theme="bienxanh"] .td-bienxanh { display: block; }
[data-theme="bienxanh"] .td-bienxanh, [data-theme="bienxanh"] .td-bienxanh * { pointer-events: none; }
[data-theme="bienxanh"] :is(.orn, .rings, .photowall) { display: none; }
[data-theme="bienxanh"] .paper::before, [data-theme="bienxanh"] .paper::after { display: none; }
[data-theme="bienxanh"] .paper { background: var(--paper); }
[data-theme="bienxanh"] .wd a:not(.btn) { color: var(--accent); }
[data-theme="bienxanh"] .wd h2 { font: var(--t-h2-w, 400) clamp(2.1rem, 6.4vw, 3.2rem)/1.15 var(--f-head); color: var(--t-h2, var(--ink)); }
[data-theme="bienxanh"] .eyebrow { font: 600 .875rem/1.5 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--t-eyebrow, var(--accent)); }
[data-theme="bienxanh"] .wd .btn { font: 600 1rem var(--f-ui); letter-spacing: .04em; border-radius: var(--t-btn-rad, 999px); min-height: 48px; padding: 0 26px; }
[data-theme="bienxanh"] .wd .btn-accent { background: var(--accent); color: var(--t-on-accent, #fff); border: 0; box-shadow: 0 12px 22px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
[data-theme="bienxanh"] .wd .btn-accent:hover { background: var(--t-accent-hover, color-mix(in srgb, var(--accent) 84%, #000)); }
[data-theme="bienxanh"] .wd .btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent); }
[data-theme="bienxanh"] .wd .btn-ghost:hover { background: var(--soft); }
[data-theme="bienxanh"] .wd :is(input:not([type=radio]):not([type=checkbox]), textarea) { background: var(--t-input, #fff); border: 1.5px solid var(--line); border-radius: var(--t-in-rad, 12px); font: 1.05rem var(--f-body); color: var(--ink); padding: 11px 14px; }
[data-theme="bienxanh"] .wd :is(input, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
[data-theme="bienxanh"] .wd label { font: 600 .95rem var(--f-ui); color: var(--ink); }
[data-theme="bienxanh"] .wd label small { font: italic 400 .95rem var(--f-body); color: var(--muted); }
[data-theme="bienxanh"] .divider { width: 180px; height: 22px; margin: 14px auto 0; background: var(--t-div-c, var(--accent)); border: 0;
  -webkit-mask: var(--t-div) center / contain no-repeat; mask: var(--t-div) center / contain no-repeat; }
[data-theme="bienxanh"] .divider::before, [data-theme="bienxanh"] .divider span { display: none; }
[data-theme="bienxanh"] .sec-head { margin-bottom: 40px; }
[data-theme="bienxanh"] .sec-head::before { content: ""; display: block; width: 48px; height: 30px; margin: 0 auto 10px; background: var(--t-icon-c, var(--accent));
  -webkit-mask: var(--t-icon) center / contain no-repeat; mask: var(--t-icon) center / contain no-repeat; }
[data-theme="bienxanh"] .sec-head .divider { display: none; }
/* Thanh menu */
[data-theme="bienxanh"] .wd-nav { background: color-mix(in srgb, var(--nav-bg) 95%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--t-nav-line, var(--line)); }
[data-theme="bienxanh"] .wd-nav a { font: 600 .9375rem var(--f-ui); letter-spacing: .06em; color: var(--nav-ink); }
[data-theme="bienxanh"] .wd .wd-nav a:not(.btn) { color: var(--nav-ink); }
[data-theme="bienxanh"] .wd-mono { border: 1.5px solid var(--t-mono-line, var(--accent-2)); color: var(--t-mono, var(--accent)) !important; font: 400 1.3rem/1 var(--f-name); gap: 1px; }
[data-theme="bienxanh"] .wd-mono i { color: var(--t-mono-i, var(--accent-2)); font: 400 .8rem var(--f-ui); }
[data-theme="bienxanh"] .wd-burger { border-color: var(--t-nav-line, var(--line)); color: var(--nav-ink); }
[data-theme="bienxanh"] .wd-nav.scrolled { box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .45); }
[data-theme="bienxanh"] .music-btn { background: var(--accent); color: var(--t-on-accent, #fff); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent), 0 8px 18px -6px rgba(0, 0, 0, .4); }
/* Tên & ngày đầu trang (mặc định; khối riêng chỉnh bố cục) */
[data-theme="bienxanh"] .names { font: var(--name-style) var(--t-name-w, 400) var(--name-size)/1.08 var(--f-name); color: var(--t-name, var(--ink)); flex-direction: column; align-items: center; gap: 0; margin: 4px 0 8px; }
[data-theme="bienxanh"] .names .name { display: block; overflow-wrap: anywhere; text-wrap: balance; padding: 0 .08em; }
[data-theme="bienxanh"] .names .amp { font: italic 400 .4em/1.4 var(--f-head); color: var(--t-amp, var(--accent)); }
[data-theme="bienxanh"] .names.names--long { font-size: calc(var(--name-size) * .74); }
[data-theme="bienxanh"] .names.names--xl { font-size: calc(var(--name-size) * .58); }
[data-theme="bienxanh"] .save-card .date { font: 500 1.25rem/1.5 var(--f-head); color: var(--ink); letter-spacing: .02em; }
[data-theme="bienxanh"] .lunar { font: italic 400 1.02rem/1.5 var(--f-body); color: var(--muted); }
[data-theme="bienxanh"] .invitee { font: italic 1.1rem var(--f-body); color: var(--muted); }
[data-theme="bienxanh"] .invitee b { font: var(--name-style) 400 2.3rem/1.2 var(--f-name); color: var(--accent); }
[data-theme="bienxanh"].js-reveal .save-card.reveal { transform: translateY(16px); }
[data-theme="bienxanh"].js-reveal .save-card.reveal.in { transform: none; }
[data-theme="bienxanh"] .intro--noimg .intro-main { display: none; }
/* Cặp đôi */
[data-theme="bienxanh"] .watercolor { background: var(--t-sec2, var(--paper)); }
[data-theme="bienxanh"] section.couple { padding: 84px 14px 80px; }
[data-theme="bienxanh"] .couple-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; max-width: 880px; }
[data-theme="bienxanh"] .person { display: flex; flex-direction: column; align-items: center; text-align: center; grid-row: 1; }
[data-theme="bienxanh"] .person-g { grid-column: 1; } [data-theme="bienxanh"] .person-b { grid-column: 2; }
[data-theme="bienxanh"] .house { display: inline-block; order: 0; margin: 0 0 16px; padding: 4px 14px; border-radius: var(--t-btn-rad, 999px); background: var(--soft); color: var(--t-house, var(--accent));
  font: 600 .875rem var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
[data-theme="bienxanh"] .oval { order: 1; width: min(100%, 260px); margin: 0 0 4px; transform: none; }
[data-theme="bienxanh"] .oval img { border-radius: inherit; }
[data-theme="bienxanh"] .person .role { order: 2; margin: 20px 0 2px; font: 600 .875rem var(--f-ui); letter-spacing: .14em; color: var(--t-role, var(--muted)); }
[data-theme="bienxanh"] .banner { order: 3; display: block; background: none; color: var(--ink); padding: 0; border-radius: 0; margin: 0 0 8px; font: 400 clamp(1.35rem, 5vw, 1.95rem)/1.2 var(--f-head); text-wrap: balance; }
[data-theme="bienxanh"] .info { order: 4; font: 400 1rem/1.6 var(--f-body); color: var(--muted); max-width: 30ch; text-wrap: balance; }
[data-theme="bienxanh"] .couple-amp { display: none; }
/* Lễ thành hôn */
[data-theme="bienxanh"] .event { padding: 84px 16px 90px; overflow: clip; isolation: isolate; }
[data-theme="bienxanh"] .event-row { grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 1040px; }
[data-theme="bienxanh"] .event-photo { width: min(74%, 330px); margin: 0 auto; aspect-ratio: 4 / 5; transform: none; border: 0; }
[data-theme="bienxanh"] .event-photo img { border-radius: inherit; }
[data-theme="bienxanh"].js-reveal .event-photo.reveal { transform: translateY(26px); }
[data-theme="bienxanh"].js-reveal .event-photo.reveal.in, [data-theme="bienxanh"] .is-draft .event-photo.reveal { transform: none !important; }
[data-theme="bienxanh"] .event-card { background: var(--paper); padding: 44px 22px 34px; text-align: center; }
[data-theme="bienxanh"] .ev-intro { display: block; margin-bottom: 4px; }
[data-theme="bienxanh"] .ev-k { font: 600 .875rem/1.5 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--t-role, var(--muted)); margin: 0 0 6px; text-wrap: balance; }
[data-theme="bienxanh"] .ev-names { margin: 0; font: var(--name-style) 400 clamp(2rem, 8vw, 2.9rem)/1.15 var(--f-name); color: var(--accent); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .3em; }
[data-theme="bienxanh"] .ev-names i { font: italic 400 .5em/2 var(--f-head); color: var(--t-amp, var(--accent)); }
[data-theme="bienxanh"] .event-card .lead { font: italic 400 1.1rem/1.55 var(--f-body); color: var(--muted); max-width: 32ch; margin: 10px auto 0; }
[data-theme="bienxanh"] .event-card:has(.dlock) > .date.big { display: none; }
[data-theme="bienxanh"] .event-card .date.big { font: 500 1.4rem var(--f-head); color: var(--ink); }
[data-theme="bienxanh"] .dlock { display: grid; justify-items: center; margin: 22px auto 0; }
[data-theme="bienxanh"] .dl-row { display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; width: min(100%, 360px); }
[data-theme="bienxanh"] :is(.dl-m, .dl-y) { font: 600 .9375rem var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
[data-theme="bienxanh"] .dl-m { text-align: right; } [data-theme="bienxanh"] .dl-y { text-align: left; }
[data-theme="bienxanh"] .dl-d { font: 500 3.2rem/1 var(--f-head); color: var(--accent); }
[data-theme="bienxanh"] .dl-wd { order: 2; margin-top: 12px; font: 600 1rem var(--f-ui); letter-spacing: .06em; color: var(--muted); }
[data-theme="bienxanh"] .dl-wd i { color: var(--accent); }
[data-theme="bienxanh"] .dl-t { display: none; }
[data-theme="bienxanh"] .event-card .lunar { margin-top: 6px; }
[data-theme="bienxanh"] .wd .event-card .countdown { gap: 10px; margin: 26px 0; }
[data-theme="bienxanh"] .wd .event-card .countdown div { width: 74px; min-width: 0; display: grid; place-content: center; padding: 12px 0; }
[data-theme="bienxanh"] .wd .event-card .countdown b { font: 500 1.8rem/1 var(--f-head); color: var(--t-cd, var(--accent)); font-variant-numeric: lining-nums tabular-nums; }
[data-theme="bienxanh"] .wd .event-card .countdown span { font: 600 .8125rem var(--f-ui); color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
/* Địa điểm */
[data-theme="bienxanh"] .location { padding: 76px 16px 84px; }
[data-theme="bienxanh"] .events { gap: 44px; max-width: 1100px; }
[data-theme="bienxanh"] .ev-map { height: 220px; border-radius: var(--t-rad, 16px); box-shadow: 0 0 0 1px var(--line); background: var(--soft); }
[data-theme="bienxanh"] .ev-map-load { font-family: var(--f-ui); background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--accent) 6%, transparent) 0 2px, transparent 2px 14px), var(--soft); }
[data-theme="bienxanh"] .ev-map-load b { color: var(--accent); }
[data-theme="bienxanh"] .ev-map-load:hover b { background: var(--accent); color: var(--t-on-accent, #fff); }
[data-theme="bienxanh"] .ev-card { position: relative; text-align: center; background: var(--paper); padding: 40px 22px 30px; border-radius: var(--t-rad, 16px); box-shadow: 0 0 0 1px var(--line), var(--t-sh); }
[data-theme="bienxanh"] .ev-card::before, [data-theme="bienxanh"] .ev-card::after { display: none; }
[data-theme="bienxanh"] .ev-card h3 { font: var(--name-style) 400 2.2rem/1.15 var(--f-name); color: var(--accent); margin: 4px 0 6px; }
[data-theme="bienxanh"] .ev-place { font: 600 1rem/1.4 var(--f-ui); letter-spacing: .04em; color: var(--ink); margin-bottom: 6px; }
[data-theme="bienxanh"] .ev-card :is(.ev-addr, .ev-time) { font: 400 1.03rem/1.55 var(--f-body); color: var(--muted); }
/* Trích dẫn */
[data-theme="bienxanh"] .quote { min-height: 380px; isolation: isolate; }
[data-theme="bienxanh"] .quote blockquote { z-index: 3; }
[data-theme="bienxanh"] .quote blockquote p { font: italic 400 clamp(1.5rem, 5vw, 2.2rem)/1.45 var(--f-head); }
[data-theme="bienxanh"] .quote--noimg blockquote::before { color: var(--accent); }
/* Album */
[data-theme="bienxanh"] .gallery-sec { padding: 80px 14px; }
[data-theme="bienxanh"] .wd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1180px; }
[data-theme="bienxanh"] .wd-g { aspect-ratio: 4 / 5; border-radius: var(--t-rad, 16px); background: var(--soft); }
[data-theme="bienxanh"] .wd-g img { border-radius: inherit; }
[data-theme="bienxanh"] .wd-g::after { content: ""; border-radius: inherit; background: linear-gradient(transparent 50%, color-mix(in srgb, var(--accent) 40%, transparent)); }
[data-theme="bienxanh"] .wd .album-card { border-radius: var(--t-rad, 16px); box-shadow: 0 0 0 1px var(--line), var(--t-sh); }
[data-theme="bienxanh"] .wd .album-meta h3 { font: 400 1.4rem var(--f-head); color: var(--ink); }
[data-theme="bienxanh"] .gallery-sec:has(> p.center .btn) .wd-g:nth-child(n + 13) { display: none; }
@media (max-width: 760px) { [data-theme="bienxanh"] .gallery-sec:has(> p.center .btn) .wd-g:nth-child(n + 9) { display: none; } }
/* Gửi ảnh */
[data-theme="bienxanh"] .cta { position: relative; margin: 20px 16px 30px; padding: 58px 24px 50px; border-radius: var(--t-rad, 16px); text-align: center; background: var(--soft); box-shadow: var(--t-sh); }
[data-theme="bienxanh"] .cta::before { content: ""; display: block; width: 52px; height: 32px; margin: 0 auto 14px; background: var(--t-icon-c, var(--accent)); -webkit-mask: var(--t-icon) center / contain no-repeat; mask: var(--t-icon) center / contain no-repeat; }
[data-theme="bienxanh"] .wd .cta h2 { font: 400 clamp(1.8rem, 6vw, 2.5rem)/1.2 var(--f-head); }
[data-theme="bienxanh"] .cta p { font: 400 1.08rem/1.6 var(--f-body); color: var(--ink); }
/* Xác nhận, lời chúc, mừng cưới */
[data-theme="bienxanh"] :is(.rsvp, .wishes, .gift) { padding: 72px 16px; overflow-x: clip; }
[data-theme="bienxanh"] .rsvp { max-width: 660px; }
[data-theme="bienxanh"] :is(.rsvp-card, .wish-form, .form-thanks, .rsvp-done) { background: var(--paper); border-radius: var(--t-rad, 16px); padding: 40px 22px 30px; box-shadow: 0 0 0 1px var(--line), var(--t-sh); }
[data-theme="bienxanh"] .rsvp-card { gap: 16px; }
[data-theme="bienxanh"] .rsvp-card .lead { font: italic 400 1.12rem/1.55 var(--f-body); color: var(--muted); margin: 0; }
[data-theme="bienxanh"] :is(.rsvp-invitee b, .rsvp-done b) { font: var(--name-style) 400 2.2rem/1.2 var(--f-name); color: var(--accent); }
[data-theme="bienxanh"] .rsvp-choice span { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: var(--t-btn-rad, 999px); border: 1.5px solid var(--line); background: var(--t-input, #fff); font: 600 1rem/1.25 var(--f-ui); color: var(--ink); padding: 8px 12px; }
[data-theme="bienxanh"] .rsvp-choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--t-on-accent, #fff); }
[data-theme="bienxanh"] :is(.rsvp-card, .wish-form) .btn { justify-self: center; min-width: 210px; }
[data-theme="bienxanh"] .field-hint { font: italic .95rem var(--f-body); color: var(--muted); }
[data-theme="bienxanh"] .wish-form { gap: 14px; margin-bottom: 30px; }
[data-theme="bienxanh"] .wd .wish { border: 0; border-radius: var(--t-rad, 16px); background: var(--paper); padding: 22px 22px 18px; position: relative; box-shadow: 0 0 0 1px var(--line); }
[data-theme="bienxanh"] .wd .wish p { font: 400 1.08rem/1.6 var(--f-body); color: var(--ink); }
[data-theme="bienxanh"] .wd .wish cite { font: 600 .95rem var(--f-ui); color: var(--t-role, var(--accent)); }
[data-theme="bienxanh"] .gift-card { border: 0; border-radius: var(--t-rad, 16px); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--t-sh); }
[data-theme="bienxanh"] .gift-side { color: var(--accent); }
[data-theme="bienxanh"] .gift-qr { border-radius: 12px; border: 1.5px solid var(--line); }
/* Chân trang */
[data-theme="bienxanh"] .wd-foot { position: relative; padding: 90px 16px 70px; color: var(--t-foot-ink); overflow: clip; isolation: isolate; background: var(--t-foot-bg); }
[data-theme="bienxanh"] .wd-foot .wd-mono.big { border-color: color-mix(in srgb, var(--t-foot-ink) 45%, transparent); color: var(--t-foot-ink) !important; font: 400 2rem/1 var(--f-name); }
[data-theme="bienxanh"] .wd-foot .wd-mono i { color: var(--t-foot-i, var(--accent-2)); }
[data-theme="bienxanh"] .wd-foot p { font: italic 400 1.2rem/1.5 var(--f-body); color: var(--t-foot-ink); }
[data-theme="bienxanh"] .wd-foot .muted.small, [data-theme="bienxanh"] .wd-foot .music-credit { color: var(--t-foot-mute) !important; font-style: normal; font-family: var(--f-ui) !important; }
/* Màn "Mở thiệp" */
[data-theme="bienxanh"] .wd-cover-mono { border-color: var(--accent-2); color: var(--accent); font: var(--name-style) 400 1.5rem var(--f-name); }
[data-theme="bienxanh"] .wd-cover-eyebrow { color: var(--t-role, var(--muted)); }
[data-theme="bienxanh"] .wd-cover-names { font: var(--name-style) 400 clamp(2.6rem, 11vw, 4.2rem)/1.08 var(--f-name); color: var(--t-name, var(--ink)); }
[data-theme="bienxanh"] .wd-cover-names i { font: italic 400 .42em/1.6 var(--f-head); color: var(--t-amp, var(--accent)); }
[data-theme="bienxanh"] .wd-cover-date { color: var(--ink); font-family: var(--f-head); }
[data-theme="bienxanh"] .wd-cover-btn { background: var(--accent); color: var(--t-on-accent, #fff); }
/* Máy tính */
@media (min-width: 761px) {
  [data-theme="bienxanh"] section.couple, [data-theme="bienxanh"] .location, [data-theme="bienxanh"] .gallery-sec { padding: 110px 40px; }
  [data-theme="bienxanh"] .couple-row { gap: 0 60px; }
  [data-theme="bienxanh"] .oval { width: min(100%, 300px); }
  [data-theme="bienxanh"] .event { padding: 110px 40px; }
  [data-theme="bienxanh"] .event-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; }
  [data-theme="bienxanh"] .event-photo { width: 100%; max-width: 420px; }
  [data-theme="bienxanh"] .event-card { padding: 54px 44px 40px; }
  [data-theme="bienxanh"] .wd .event-card .countdown div { width: 84px; }
  [data-theme="bienxanh"] .ev-map { height: 340px; }
  [data-theme="bienxanh"] .ev-card { margin-left: -60px; padding: 46px 34px 34px; }
  [data-theme="bienxanh"] .ev:nth-child(even) .ev-card { margin: 0 -60px 0 0; }
  [data-theme="bienxanh"] .wd-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  [data-theme="bienxanh"] .cta { margin: 40px auto 50px; max-width: 760px; padding: 70px 50px 60px; }
}
@media (max-width: 760px) {
  [data-theme="bienxanh"] .ev-card, [data-theme="bienxanh"] .ev:nth-child(even) .ev-card { margin: -10px 4px 0; }
  [data-theme="bienxanh"] .wd-mono:not(.big) { font-size: 1.05rem; }
}
@media (max-width: 380px) {
  [data-theme="bienxanh"] .couple-row { gap: 0 8px; }
  [data-theme="bienxanh"] .wd .event-card .countdown div { width: 64px; }
  [data-theme="bienxanh"] .wd .event-card .countdown b { font-size: 1.45rem; }
  [data-theme="bienxanh"] .dl-row { gap: 8px; }
}
[data-theme="bienxanh"] .is-draft :is(.intro-main, .save-card) { animation-duration: .01s !important; animation-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  [data-theme="bienxanh"] *, [data-theme="bienxanh"] *::before, [data-theme="bienxanh"] *::after { animation: none !important; transition: none !important; }
}
/* Thái/Lào/Trung: số ngày cưới dùng phông tiêu đề (phông tên dạng chữ viết tay khó đọc với chữ số). */
html:is([lang="th"], [lang="lo"], [lang="zh"])[data-theme="bienxanh"] .wd .dl-d { font-family: var(--f-head); }
/* ════════ Phần riêng của giao diện ════════ */
/* ── Đầu trang: bình minh trên biển, ảnh khung trắng mép sóng ── */
[data-theme="bienxanh"] .intro { --bx-pw: min(70vw, 300px); --bx-hz: calc(110px + var(--bx-pw) * .8); position: relative; display: flex; flex-direction: column; align-items: center; padding: 110px 16px 56px; overflow: clip; isolation: isolate;
  background: linear-gradient(180deg, #fde6d8 0%, #fbeee2 calc(var(--bx-hz) - 120px), #f6f2ea var(--bx-hz), var(--page) 100%); }
[data-theme="bienxanh"] .bx-hero { position: absolute; inset: 0; z-index: 3; }
[data-theme="bienxanh"] .bx-sun { display: none; }
[data-theme="bienxanh"] .bx-sun { position: absolute; left: 70%; top: calc(var(--bx-hz) - 70px); width: 120px; aspect-ratio: 1; border-radius: 50%; translate: -50% 0;
  background: radial-gradient(circle, #f9b294 0 50%, rgba(249, 178, 148, .35) 51% 62%, transparent 63%); animation: bx-rise 2.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes bx-rise { from { transform: translateY(50px); opacity: 0; } to { transform: none; opacity: 1; } }
[data-theme="bienxanh"] .bx-gull { position: absolute; width: 34px; animation: bx-fly 9s ease-in-out infinite alternate; }
[data-theme="bienxanh"] .bx-g1 { left: 10%; top: 120px; } [data-theme="bienxanh"] .bx-g2 { left: 22%; top: 150px; width: 24px; animation-delay: -3s; }
@keyframes bx-fly { from { transform: translate(0, 0); } to { transform: translate(40px, -14px); } }
[data-theme="bienxanh"] .bx-sea { position: absolute; left: 0; right: 0; top: var(--bx-hz); height: 112px; background: linear-gradient(180deg, #2a9c9e, #64c0bb 55%, rgba(246, 242, 234, 0) 100%); overflow: hidden; }
[data-theme="bienxanh"] .bx-w { position: absolute; left: 0; width: calc(100% + 240px); height: 18px; background: rgba(255, 255, 255, .55); -webkit-mask: var(--bx-wave) 0 0 / 120px 18px repeat-x; mask: var(--bx-wave) 0 0 / 120px 18px repeat-x; animation: bx-drift 8s linear infinite; }
[data-theme="bienxanh"] .bx-w1 { top: 14px; } [data-theme="bienxanh"] .bx-w2 { top: 44px; opacity: .6; animation-duration: 12s; animation-direction: reverse; left: -60px; }
[data-theme="bienxanh"] .bx-w3 { top: 80px; opacity: .45; animation-duration: 15s; }
@keyframes bx-drift { to { transform: translateX(-120px); } }
[data-theme="bienxanh"] .bx-boat { position: absolute; width: 64px; animation: bx-bob 4s ease-in-out infinite alternate; }
[data-theme="bienxanh"] .bx-b1 { left: 6%; top: 22px; } [data-theme="bienxanh"] .bx-b2 { right: 8%; top: 58px; width: 46px; animation-delay: -2s; }
@keyframes bx-bob { from { transform: translateY(-3px) rotate(-3deg); } to { transform: translateY(3px) rotate(3deg); } }
/* Ảnh: mặt trời mọc — khung tròn viền nắng, sóng biển phủ phần chân ảnh */
[data-theme="bienxanh"] .intro-main { width: var(--bx-pw); aspect-ratio: 1; margin: 0 auto; position: relative; z-index: 2; border-radius: 50%; padding: 7px; background: #fff;
  box-shadow: 0 0 0 9px rgba(249, 178, 148, .55), 0 0 0 22px rgba(249, 200, 160, .28), 0 0 90px 30px rgba(255, 196, 150, .45); animation: bx-sunrise 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes bx-sunrise { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
[data-theme="bienxanh"] .main-photo { aspect-ratio: 1; border: 0; box-shadow: none; transform: none; border-radius: 50%; }
[data-theme="bienxanh"] .main-photo img { border-radius: 50%; }
[data-theme="bienxanh"] .save-card { position: relative; z-index: 4; background: none; padding: 0; margin: 64px auto 0; width: min(640px, 100%); text-align: center; animation: bx-up 1.2s ease .4s both; }
[data-theme="bienxanh"] .names { line-height: .98; }
[data-theme="bienxanh"] .names .amp { font: 700 .34em/1.6 var(--f-head); color: var(--bx-coral-ink); }
[data-theme="bienxanh"] .save-card .date { font: 700 1.1rem var(--f-head); color: var(--accent); }
[data-theme="bienxanh"] .eyebrow { color: var(--bx-coral-ink); }
[data-theme="bienxanh"] .intro--noimg { --bx-hz: 180px; }
[data-theme="bienxanh"] .intro--noimg .save-card { margin-top: 220px; }
/* ── Cặp đôi: ảnh tròn như ô cửa thuyền ── */
[data-theme="bienxanh"] .watercolor { background: var(--paper); }
[data-theme="bienxanh"] .oval { aspect-ratio: 1; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 0 0 3px var(--bx-sea), 0 0 0 8px #fff, 0 0 0 9px var(--accent-2), var(--t-sh); }
[data-theme="bienxanh"] .house { background: var(--soft); color: var(--accent); }
[data-theme="bienxanh"] .banner { font: 700 clamp(1.25rem, 4.8vw, 1.8rem)/1.25 var(--f-head); color: var(--bx-deep); }
/* ── Lễ thành hôn: nền biển, bọt biển đếm ngược ── */
[data-theme="bienxanh"] .event { background: linear-gradient(180deg, #e9f6f4, var(--page)); padding-bottom: 110px; }
[data-theme="bienxanh"] .bx-edge { position: absolute; left: 0; right: 0; height: 22px; background: var(--page); -webkit-mask: var(--bx-wave) 0 0 / 120px 22px repeat-x; mask: var(--bx-wave) 0 0 / 120px 22px repeat-x; }
[data-theme="bienxanh"] .bx-edge-event { bottom: -1px; }
[data-theme="bienxanh"] .event-photo { border-radius: 26px; border: 8px solid #fff; box-shadow: var(--t-sh); }
[data-theme="bienxanh"] .event-card { border-radius: 26px; box-shadow: var(--t-sh); }
[data-theme="bienxanh"] .dl-d { position: relative; width: 120px; height: 70px; display: grid; place-items: end center; padding-bottom: 4px; color: #fff; font: 700 2.4rem/1 var(--f-head); isolation: isolate; }
[data-theme="bienxanh"] .dl-d::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 120px 120px 0 0; background: linear-gradient(180deg, #f6a184, var(--bx-coral-ink)); }
[data-theme="bienxanh"] .dl-row { align-items: end; }
[data-theme="bienxanh"] :is(.dl-m, .dl-y) { color: var(--accent); }
[data-theme="bienxanh"] .wd .event-card .countdown div { aspect-ratio: 1; padding: 0; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 8%, rgba(255, 255, 255, .0) 22%), radial-gradient(circle, #dff3f0, #b9e2dd);
  box-shadow: inset 0 0 0 1.5px rgba(14, 103, 109, .35), 0 8px 16px -10px rgba(11, 58, 72, .5); }
[data-theme="bienxanh"] .wd .event-card .countdown b { color: var(--bx-deep); font: 700 1.55rem/1 var(--f-head); }
[data-theme="bienxanh"] .wd .event-card .countdown span { color: #2d5a62; }
/* ── Địa điểm: thẻ trắng mép trên uốn sóng ── */
[data-theme="bienxanh"] .ev-card { padding-top: 50px; }
[data-theme="bienxanh"] .ev-card::before { display: block !important; content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; inset: 0 0 auto 0; transform: none; box-shadow: none; z-index: 0; border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, var(--bx-sea), #64c0bb); }
[data-theme="bienxanh"] .ev-card h3 { color: var(--bx-coral-ink); font-weight: 700; }
/* ── Trích dẫn: biển sâu ── */
[data-theme="bienxanh"] .quote::after { background: linear-gradient(180deg, rgba(11, 58, 72, .35), rgba(11, 58, 72, .75)); }
[data-theme="bienxanh"] .quote.quote--noimg { background: linear-gradient(180deg, #1f8f93, #0b3a48); color: #e6f4f1; }
[data-theme="bienxanh"] .quote--noimg blockquote::before { color: #f6b49e; }
[data-theme="bienxanh"] .bx-qsea { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 2; overflow: hidden; }
[data-theme="bienxanh"] .bx-qsea .bx-w1 { top: 30px; } [data-theme="bienxanh"] .bx-qsea .bx-w2 { top: 60px; }
[data-theme="bienxanh"] .quote blockquote p { font: 400 clamp(1.4rem, 4.8vw, 2rem)/1.5 var(--f-head); }
[data-theme="bienxanh"] .wd-g:nth-child(3n + 2) { border-radius: 999px 999px 22px 22px; }
[data-theme="bienxanh"] .cta { background: radial-gradient(circle at 85% 20%, #f9c1aa 0 14%, transparent 15%), linear-gradient(180deg, #e9f6f4, #c9e9e4); }
[data-theme="bienxanh"] .wd .wish:nth-child(3n + 2) { background: #f1faf8; }
[data-theme="bienxanh"] .bx-edge-foot { top: -1px; transform: scaleY(-1); }
[data-theme="bienxanh"] .ic { --ic-paper: #ffffff; --ic-env-front: #e3f3f1; --ic-env-flap: #d3ece8; --ic-env-in: #1f8f93; --ic-wax: #e0735a; --ic-wax-ink: #fff4ee;
  --ic-card-bg: #fffefb; --ic-line: rgba(14, 103, 109, .36);
  --ic-liner: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='14'><path d='M0 7c10-7 20-7 30 0s20 7 30 0' fill='none' stroke='%23ffffff' stroke-opacity='.5' stroke-width='1.6'/></svg>") 0 0 / 60px 14px; }
@media (min-width: 761px) {
  [data-theme="bienxanh"] { --name-size: clamp(3.8rem, 6.6vw, 6.6rem); }
  [data-theme="bienxanh"] .intro { --bx-pw: min(26vw, 380px); --bx-hz: calc(130px + var(--bx-pw) * .8); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5vw; align-items: start; min-height: 100svh; padding: 130px 7vw 80px; }
  [data-theme="bienxanh"] .intro-main { grid-column: 1; grid-row: 1; justify-self: end; margin-right: 3vw; }
  [data-theme="bienxanh"] .save-card { grid-column: 2; grid-row: 1; justify-self: start; align-self: start; margin: 0; padding: 34px 36px 30px; border-radius: 28px;
    background: rgba(250, 247, 240, .94); box-shadow: 0 30px 60px -36px rgba(11, 58, 72, .55); }
  [data-theme="bienxanh"] .bx-sun { left: 14%; width: 170px; top: calc(var(--bx-hz) - 100px); }
  [data-theme="bienxanh"] .bx-sea { height: 240px; }
  [data-theme="bienxanh"] .bx-boat { width: 90px; } [data-theme="bienxanh"] .bx-b1 { left: 8%; } [data-theme="bienxanh"] .bx-b2 { right: 12%; width: 64px; }
  [data-theme="bienxanh"] .intro--noimg { grid-template-columns: minmax(0, 1fr); --bx-hz: 420px; }
  [data-theme="bienxanh"] .intro--noimg .save-card { grid-column: 1; justify-self: center; margin: 120px 0 0; }
}

/* 07/10 (BA P0-02): tiêu đề sự kiện, tên trong thẻ, lời chào… dùng phông tiêu đề Comfortaa (The Nautigal chỉ cho tên ở đầu trang). */
[data-theme="bienxanh"] :is(.ev-card h3, .ev-names, .rsvp-invitee b, .rsvp-done b, .invitee b) { font-family: var(--f-head); font-weight: 700; font-style: normal; }
[data-theme="bienxanh"] .ev-card h3 { font-size: 1.75rem; }
[data-theme="bienxanh"] .ev-names { font-size: clamp(1.5rem, 6vw, 2.1rem); }
[data-theme="bienxanh"] :is(.rsvp-invitee b, .rsvp-done b, .invitee b) { font-size: 1.7rem; }
[data-theme="bienxanh"] body.wd { font-synthesis: none; }
[data-theme="bienxanh"] :is(.lunar, .lead, .field-hint, .wd label small, .quote blockquote p, .wd-foot p) { font-style: normal; }
