@font-face {
  font-family: "Wedding Pinyon";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/wedding-pinyon.woff2") format("woff2");
}

@font-face {
  font-family: "Wedding Beloved";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/wedding-beloved.woff2") format("woff2");
}

:root {
  --wt-serif: "Gelasio", Georgia, serif;
  --wt-cormorant: "Cormorant Garamond", Georgia, serif;
  --font-noto-sans: "Noto Sans", system-ui, -apple-system, sans-serif;
  --font-inter: "Inter", system-ui, -apple-system, sans-serif;
  --public-coral: #ad3c5e;
  --gold-1: #f5e6c2;
  --gold-2: #d4b373;
  --wt-ink: #302f39;
  --wt-muted: #76717b;
  --wt-border: #e9e5e8;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-inter);
  color: var(--wt-ink);
  background: #f9f7f8;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font-family: inherit; }

/* ===== TOP NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 11, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fbf6ec;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.site-brand-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5e6c2, #d4b373);
  color: #1d160a;
  display: grid;
  place-items: center;
  font-family: var(--wt-serif);
  font-weight: 700;
  font-size: 15px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav a, .site-nav button {
  color: #e6dfd5;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.site-nav a:hover, .site-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-nav .nav-cta {
  background: linear-gradient(120deg, #f5e6c2 0%, #d4b373 48%, #f0dcae 100%);
  color: #1d160a;
  font-weight: 600;
}
.site-nav .nav-cta:hover {
  background: linear-gradient(120deg, #f8ebcc 0%, #dcbd80 48%, #f4e2b8 100%);
  color: #1d160a;
}

/* ===== HERO & BALLROOM STAGE ===== */
.led-hero {
  isolation: isolate;
  color: #f6f1e7;
  background:
    radial-gradient(90% 55% at 50% 0, #1d1b29 0%, #0000 70%),
    radial-gradient(70% 40% at 50% 62%, #7882c81a, #0000 70%),
    linear-gradient(#0c0b12, #050507 80%);
  padding-top: clamp(44px, 5.5vw, 80px);
  position: relative;
  overflow: hidden;
}
.led-hero-copy {
  text-align: center;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding-inline: 20px;
  display: grid;
}
.led-hero-kicker {
  letter-spacing: 0.13em;
  color: #e6d2a6;
  background: #ffffff0a;
  border: 1px solid #e6d2a652;
  border-radius: 50px;
  margin: 0;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}
.led-hero h1 {
  letter-spacing: -1.4px;
  color: #fbf6ec;
  text-wrap: balance;
  margin: 22px 0 18px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 650;
  line-height: 1.2;
}
.led-hero h1 em {
  letter-spacing: -1px;
  background: linear-gradient(120deg, #f5e6c2 0%, #d4b373 48%, #f0dcae 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.06em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.led-hero-lead {
  color: #f6f1e7ad;
  max-width: 600px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}
.led-hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  display: flex;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 99px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: #1d160a;
  background: linear-gradient(120deg, #f5e6c2 0%, #d4b373 48%, #f0dcae 100%);
  box-shadow: 0 10px 30px -12px #d4b37399, inset 0 1px #ffffff80;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-gold:hover {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #f8ebcc 0%, #dcbd80 48%, #f4e2b8 100%);
  box-shadow: 0 14px 36px -12px #d4b373cc, inset 0 1px #ffffff80;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 99px;
  border: 1px solid rgba(239, 227, 200, 0.3);
  color: #efe3c8;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}
.led-hero-benefits {
  color: #f6f1e799;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 12px;
  list-style: none;
  display: flex;
}
.led-hero-benefits li::before {
  content: "✓";
  color: #e6d2a6;
  margin-right: 5px;
}

.led-stage {
  width: min(1160px, 100%);
  margin: clamp(40px, 5vw, 72px) auto 0;
  padding-inline: clamp(10px, 3vw, 40px);
  position: relative;
}
.led-stage-truss {
  background:
    repeating-linear-gradient(60deg, #0000 0 10px, #ffffff17 10px 11px),
    repeating-linear-gradient(-60deg, #0000 0 10px, #ffffff17 10px 11px),
    #0d0d12;
  border-block: 1px solid #ffffff29;
  height: 16px;
  margin: 0 1% clamp(18px, 3vw, 34px);
  position: relative;
}
.led-stage-truss::after {
  content: "";
  background: radial-gradient(circle at 50% 25%, #fffaf0 0 2.4px, #ffe8be99 3.4px, #0000 9px) 0 0/11.1111% 100% repeat-x;
  height: 16px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
.led-stage-beams {
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
  background:
    conic-gradient(from 166deg at 6% 0, #0000, #ffeac817 14deg, #0000 28deg),
    conic-gradient(from 166deg at 27% 0, #0000, #ffeac812 14deg, #0000 28deg),
    conic-gradient(from 166deg at 73% 0, #0000, #ffeac812 14deg, #0000 28deg),
    conic-gradient(from 166deg at 94% 0, #0000, #ffeac817 14deg, #0000 28deg);
  height: 92%;
  position: absolute;
  inset: 16px 0 auto;
  -webkit-mask-image: linear-gradient(#000 20%, #0000 95%);
  mask-image: linear-gradient(#000 20%, #0000 95%);
}
.led-stage-wall {
  z-index: 1;
  aspect-ratio: 16/9;
  background: #000;
  width: 86%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ffffff12, 0 0 140px 6px #a0aaff1c, 0 60px 120px -30px #000;
}
.led-stage-wall > * {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.led-stage-wall::after {
  content: "";
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(#0006 0.6px, #0000 1px);
  background-size: 3px 3px;
  position: absolute;
  inset: 0;
}
.led-stage-deck {
  height: clamp(26px, 4.4vw, 56px);
  position: relative;
}
.led-stage-deck::before {
  content: "";
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
  background: linear-gradient(#4a4238 0, #211d18 18%, #0b0a09 100%);
  position: absolute;
  inset: 0 -1%;
}
.led-stage-deck::after {
  content: "";
  pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0, #bec8ff33, #0000);
  height: 100%;
  position: absolute;
  inset: 0 12% auto;
}
.led-stage-flowers {
  z-index: 2;
  filter: drop-shadow(0 0 14px #fff0e438);
  width: 17%;
  height: auto;
  position: absolute;
  bottom: 55%;
}
.led-stage-flowers--l { left: 1%; }
.led-stage-flowers--r { right: 1%; transform: scaleX(-1); }
.led-stage-crowd {
  z-index: 3;
  width: calc(100% + clamp(20px, 6vw, 80px));
  max-width: none;
  height: auto;
  margin: -6% calc(-1 * clamp(10px, 3vw, 40px)) 0;
  display: block;
  position: relative;
}
.led-stage-caption {
  z-index: 3;
  text-align: center;
  letter-spacing: 0.02em;
  color: #f6f1e76b;
  padding: 16px 20px 34px;
  font-size: 12.5px;
  position: relative;
}

/* ===== TEMPLATE GALLERY SECTION ===== */
.gallery-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  scroll-margin-top: 72px;
}
.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}
.section-head h2 {
  font-size: clamp(23px, 2.5vw, 32px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: #1f1d26;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--wt-muted);
  font-size: 15px;
  line-height: 1.7;
}
.tl-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1080px) {
  .tl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .tl-gallery { grid-template-columns: 1fr; }
}
.tl-template {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tl-template:hover {
  transform: translateY(-3px);
  border-color: #d6a4b5;
  box-shadow: 0 14px 32px rgba(48, 32, 44, 0.1);
}
.tl-template.is-active {
  border-color: var(--public-coral);
  box-shadow: 0 0 0 2px var(--public-coral);
}
.tl-template-media {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background: #03050e;
  overflow: hidden;
}
.tl-template-cta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  background: rgba(12, 11, 18, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 500;
}
.tl-template-body {
  padding: 14px 16px 16px;
}
.tl-template-body h3 {
  margin: 0 0 5px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1f1d26;
}
.tl-template-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--wt-muted);
  line-height: 1.55;
}

/* ===== STUDIO WORKSPACE ===== */
.wt-page {
  max-width: 1340px;
  margin: 0 auto;
  padding: 20px 24px 80px;
  scroll-margin-top: 72px;
}
.wt-workspace {
  border: 1px solid var(--wt-border);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(57, 38, 55, 0.06);
}
.wt-workspace-heading {
  border-bottom: 1px solid var(--wt-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  flex-wrap: wrap;
}
.wt-workspace-heading > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wt-tool-icon {
  color: var(--public-coral);
  background: #fbf1f4;
  border-radius: 14px;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 24px;
  display: grid;
}
.wt-workspace-heading h2 {
  margin: 0;
  font-family: var(--wt-serif);
  font-size: 24px;
  line-height: 1.25;
}
.wt-workspace-heading p {
  color: var(--wt-muted);
  margin: 3px 0 0;
  font-size: 13px;
}
.wt-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wt-editor {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
}
.wt-settings {
  border-right: 1px solid var(--wt-border);
  padding: 22px 24px 28px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
.wt-section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}
.wt-section-label > span {
  color: var(--public-coral);
  background: #fbf1f4;
  border-radius: 99px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
}
.wt-section-label h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: #1f1d26;
}
.wt-section-second {
  border-top: 1px solid var(--wt-border);
  margin-top: 22px;
  padding-top: 20px;
}
.wt-settings label, .wt-settings legend {
  color: #504c57;
  margin-bottom: 13px;
  font-size: 13px;
  font-weight: 500;
  display: block;
}
.wt-settings input:not([type=range]):not([type=checkbox]):not([type=color]),
.wt-settings select {
  width: 100%;
  min-width: 0;
  color: var(--wt-ink);
  background: #fff;
  border: 1px solid #e0dbe2;
  border-radius: 8px;
  height: 40px;
  margin-top: 6px;
  padding: 8px 11px;
  font-size: 13.5px;
  transition: border-color 0.2s;
  display: block;
}
.wt-settings input:hover, .wt-settings select:hover { border-color: #c79cab; }
.wt-settings input:focus, .wt-settings select:focus {
  outline: none;
  border-color: var(--public-coral);
  box-shadow: 0 0 0 3px rgba(173, 60, 94, 0.1);
}
.wt-name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wt-optional { color: #8c858c; font-size: 11.5px; font-weight: 400; }
.wt-lunar-preview {
  font-size: 12px;
  color: #7d5b68;
  margin-top: 5px;
  font-style: italic;
}

.wt-template-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.wt-template-pill {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2dce4;
  border-radius: 10px;
  padding: 9px 11px;
  transition: all 0.15s;
}
.wt-template-pill strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #24212b;
}
.wt-template-pill small {
  display: block;
  font-size: 11px;
  color: var(--wt-muted);
  margin-top: 2px;
}
.wt-template-pill.is-selected {
  border-color: var(--public-coral);
  background: #fff6f9;
  box-shadow: 0 0 0 1px var(--public-coral);
}

.wt-theme-field { border: 0; min-width: 0; margin: 0 0 16px; padding: 0; }
.wt-theme-field legend { margin: 0 0 8px; }
.wt-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wt-themes button { cursor: pointer; color: #746a75; background: 0 0; border: 0; min-width: 0; padding: 0; }
.wt-themes button > span {
  color: #f5e9d4;
  border: 3px solid #fff;
  border-radius: 8px;
  outline: 1px solid #e3dfe4;
  justify-content: center;
  align-items: center;
  height: 36px;
  display: flex;
  font-size: 14px;
}
.wt-themes button.is-selected > span { outline: 2px solid var(--public-coral); }
.wt-themes small { white-space: nowrap; margin-top: 5px; font-size: 11.5px; display: block; text-align: center; }
.wt-themes .is-selected small { color: var(--public-coral); font-weight: 600; }

.wt-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.wt-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  outline: 1px solid #d5ced7;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s;
}
.wt-swatch-btn:hover { transform: scale(1.08); }
.wt-swatch-btn.is-selected { outline: 2px solid var(--public-coral); outline-offset: 2px; }
.wt-swatch-picker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d5ced7;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  background: conic-gradient(#ff7a9c, #ffd36e, #7be0a5, #6fb7ff, #b48cff, #ff7a9c);
  position: relative;
}
.wt-swatch-picker input {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.wt-segment { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.wt-segment > button {
  text-align: left;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  gap: 2px;
  padding: 9px 11px;
  display: grid;
  cursor: pointer;
}
.wt-segment > button[aria-checked="true"] {
  background: #fff6f9;
  border-color: var(--public-coral);
  box-shadow: inset 0 0 0 1px var(--public-coral);
}
.wt-segment strong { color: #111; font-size: 12.5px; font-weight: 600; }
.wt-segment small { color: #6b7280; font-size: 11px; line-height: 1.35; }

.wt-scene-toggles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.wt-scene-toggles > button {
  color: #444;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 11px;
  font-size: 12px;
  display: inline-flex;
  cursor: pointer;
}
.wt-scene-toggles > button[aria-pressed="true"] {
  color: #fff;
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.wt-ratio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.wt-ratio-btn {
  border: 1px solid #e0dbe2;
  background: #fff;
  border-radius: 8px;
  padding: 7px 4px;
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}
.wt-ratio-btn.is-selected {
  border-color: var(--public-coral);
  background: #fff6f9;
  color: var(--public-coral);
}

.wt-range-label { position: relative; }
.wt-range-label > span { float: right; color: var(--wt-muted); font-size: 12px; font-weight: 400; }
.wt-settings input[type=range] {
  width: 100%;
  height: 20px;
  accent-color: var(--public-coral);
  cursor: pointer;
  margin: 6px 0 0;
  display: block;
}

.wt-checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 12px;
}
.wt-checkbox-row input { width: 16px; height: 16px; accent-color: var(--public-coral); }

.wt-advanced { border-top: 1px solid var(--wt-border); margin-top: 16px; padding-top: 14px; }
.wt-advanced summary {
  cursor: pointer;
  color: #6b5762;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
}
.wt-advanced summary::after { content: "+"; margin-left: auto; font-size: 16px; }
.wt-advanced[open] summary { margin-bottom: 14px; }
.wt-advanced[open] summary::after { content: "−"; }

.wt-preview-panel {
  background: #f6f4f7;
  min-width: 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}
.wt-preview-heading {
  color: #716877;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wt-preview-badge {
  border: 1px solid #ddd6df;
  background: #fff;
  border-radius: 6px;
  padding: 3px 9px;
  font-weight: 500;
}
.wt-preview-frame-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #101016;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(20, 19, 38, 0.14);
}
.wt-preview-frame {
  width: 100%;
  max-height: 62vh;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wt-preview-frame .wt-stage {
  width: min(100%, calc(60vh * var(--ratio, 1.7778)));
}

.wt-preview-toolbar {
  color: #5e5866;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 0 18px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
}
.wt-toolbar-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wt-tool-btn {
  cursor: pointer;
  color: #3d3744;
  background: #fff;
  border: 1px solid #dfd8e1;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  transition: all 0.15s;
}
.wt-tool-btn:hover { border-color: #b79ca8; background: #fdfbfc; }
.wt-tool-btn.is-active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.wt-present-card {
  border-top: 1px solid #e5e0e8;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
}
.wt-present-card h3 { margin: 0 0 5px; font-size: 15px; font-weight: 600; }
.wt-present-card p { color: var(--wt-muted); max-width: 420px; margin: 0; font-size: 13px; line-height: 1.6; }
.wt-launch {
  color: #fff;
  background: var(--public-coral);
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  box-shadow: 0 5px 15px rgba(173, 60, 94, 0.25);
}
.wt-launch:hover { background: #94304f; }

.wt-share-box {
  background: #fff;
  border: 1px solid #e5dce2;
  border-radius: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
@media (max-width: 680px) {
  .wt-share-box { grid-template-columns: 1fr; }
}
.wt-share-box label { display: block; font-size: 13px; font-weight: 600; color: #3a313b; margin-bottom: 6px; }
.wt-share-row { display: flex; gap: 8px; }
.wt-share-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ded7df;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  color: #444;
  background: #faf8fa;
}
.wt-share-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px;
  background: #fff;
  border: 1px solid #ece5ec;
  border-radius: 10px;
}
.wt-share-qr img { width: 108px; height: 108px; display: block; border-radius: 4px; }
.wt-share-qr span { font-size: 11px; color: var(--wt-muted); }

/* ===== VIDEO MP4 EXPORT CARD ===== */
.wt-export-box {
  background: #fff;
  border: 1px solid #e5dce2;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.wt-export-head h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 650;
  color: #1f1d26;
}
.wt-export-head p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--wt-muted);
  line-height: 1.55;
}
.wt-export-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a4452;
  margin-bottom: 8px;
}
.wt-dur-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.wt-dur-chips button {
  cursor: pointer;
  background: #f9f7fa;
  color: #3f3946;
  border: 1px solid #dfd8e2;
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.15s;
}
.wt-dur-chips button:hover { border-color: #c28ea0; }
.wt-dur-chips button.is-selected {
  background: var(--public-coral);
  color: #fff;
  border-color: var(--public-coral);
}
.wt-export-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.wt-export-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: #4a4452;
}
.wt-export-inline input[type="number"] {
  width: 78px;
  height: 38px;
  border: 1px solid #dcd5df;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1f1d26;
}
.wt-export-inline select {
  height: 38px;
  border: 1px solid #dcd5df;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: #1f1d26;
  background: #fff;
}
.wt-export-btn {
  margin-left: auto;
  padding: 10px 18px;
  font-size: 13.5px;
}
.wt-export-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wt-export-meta {
  margin: 10px 0 0;
  font-size: 12px;
  color: #6f6777;
}
.wt-export-progress {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #efe9ee;
}
.wt-export-bar {
  width: 100%;
  height: 9px;
  background: #efe9ef;
  border-radius: 99px;
  overflow: hidden;
}
.wt-export-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ad3c5e, #d4895c);
  border-radius: 99px;
  transition: width 0.2s ease;
}
.wt-export-status {
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #3e3440;
}
.wt-export-status.is-error { color: #b42318; }
.wt-export-status.is-ok { color: #166534; }

/* ===== EXACT WEDDING STAGE ENGINE STYLES ===== */
.wt-stage {
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 115%, var(--stage-glow), transparent 66%), var(--stage-bg);
  width: 100%;
  color: var(--stage-ink);
  font-family: var(--wt-serif), Georgia, serif;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}
.wt-stars {
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  position: absolute;
}
.wt-stage-border {
  inset: 5%;
  border: 1px solid color-mix(in srgb, var(--stage-ink) 20%, transparent);
  pointer-events: none;
  position: absolute;
}
.wt-stage-content {
  inset: 9% 8%;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.3;
  display: flex;
  position: absolute;
  overflow: hidden;
}
.wt-stage-star { opacity: 0.9; margin-bottom: 1.5cqw; font-size: 3.3cqw; line-height: 1; }
.wt-stage-caption {
  font-family: var(--font-noto-sans), Arial, sans-serif;
  font-size: calc(1.35cqw * var(--text-scale));
  letter-spacing: 0.35em;
  padding-left: 0.35em;
  overflow-wrap: anywhere;
  max-width: 100%;
  margin: 0 0 2cqw;
}
.wt-couple {
  font-size: calc(5.6cqw * var(--text-scale));
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2cqw 1.8cqw;
  max-width: 100%;
  font-weight: 400;
  line-height: 1.25;
  display: flex;
}
.wt-couple span { overflow-wrap: anywhere; max-width: 100%; }
.wt-couple i { font-size: calc(0.75em * var(--amp-scale, 1)); opacity: 0.7; font-weight: 400; font-style: italic; }
.wt-stage-date {
  font-family: var(--font-noto-sans), Arial, sans-serif;
  font-size: calc(1.5cqw * var(--text-scale));
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  margin: 1.7cqw 0 0;
}
.wt-stage-divider {
  opacity: 0.55;
  align-items: center;
  gap: 1.2cqw;
  margin: 1.8cqw 0 1.2cqw;
  font-size: 1.4cqw;
  display: flex;
}
.wt-stage-divider span { background: currentColor; width: 4cqw; height: 1px; }
.wt-stage-message {
  font-style: italic;
  font-size: calc(1.8cqw * var(--text-scale));
  overflow-wrap: anywhere;
  opacity: 0.8;
  max-width: 90%;
  margin: 0;
  line-height: 1.5;
}

.wt-stage-galaxy { background: var(--stage-bg); }
.wt-stage-galaxy .wt-stage-border { display: none; }
.wt-stage-galaxy .wt-stage-content { text-shadow: 0 2px 18px #02030e, 0 0 35px #02030e; }
.wt-stage-galaxy .wt-stage-star { opacity: 0.65; }
.wt-stage-galaxy .wt-couple { color: #f0f3ff; }
.wt-stage-galaxy .wt-stage-caption { letter-spacing: 0.45em; }

.wt-stage-falling { background: var(--stage-bg); }
.wt-stage-falling .wt-stage-border { display: none; }
.wt-stage-falling .wt-stage-content,
.wt-stage-galaxy .wt-stage-content {
  inset: 21% 8% 20%;
  text-shadow: 0 0 18px #dce5ff38, 0 2px 18px #02030e, 0 0 32px #02030ecc;
  overflow: visible;
}
.wt-stage-falling .wt-stage-content:not(.wt-scene) {
  inset: 22% 8% 21%;
}
.wt-stage-falling .wt-stage-star,
.wt-stage-galaxy .wt-stage-star { display: none; }
.wt-stage-falling .wt-couple,
.wt-stage-galaxy .wt-couple {
  font-family: "Wedding Pinyon", Georgia, serif;
  font-weight: 400;
  font-size: calc(var(--name-size) * var(--text-scale));
  color: var(--stage-ink);
  flex-flow: column;
  gap: 0;
  line-height: 1.08;
  display: flex;
}
.wt-stage-falling .wt-stage-content:not(.wt-scene) .wt-couple {
  font-size: calc(var(--name-size) * var(--text-scale) * 0.9);
}
.wt-stage-falling .wt-couple span,
.wt-stage-galaxy .wt-couple span { margin: -0.14em 0; padding: 0.2em 0.25em; }
.wt-stage-falling .wt-couple i,
.wt-stage-galaxy .wt-couple i {
  font-size: calc(0.45em * var(--amp-scale, 1));
  margin: 0.08em 0;
  font-weight: 400;
  line-height: 1.2;
}
.wt-stage-falling .wt-stage-caption,
.wt-stage-galaxy .wt-stage-caption {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(1.3cqw * var(--text-scale));
  letter-spacing: 0.45em;
  padding-left: 0;
  text-indent: 0.45em;
  align-items: center;
  gap: 1.4cqw;
  margin-bottom: 1.7cqw;
  display: flex;
}
.wt-stage-falling .wt-stage-caption::before,
.wt-stage-falling .wt-stage-caption::after,
.wt-stage-galaxy .wt-stage-caption::before,
.wt-stage-galaxy .wt-stage-caption::after {
  content: "";
  background: linear-gradient(90deg, #0000, #dce5ff88, #0000);
  flex-shrink: 0;
  width: 4cqw;
  height: 1px;
}
.wt-stage-falling .wt-stage-date,
.wt-stage-galaxy .wt-stage-date {
  font-family: var(--wt-serif), Georgia, serif;
  letter-spacing: 0.35em;
  padding-left: 0.35em;
  margin-top: 1.5cqw;
}
.wt-stage-falling .wt-stage-divider,
.wt-stage-galaxy .wt-stage-divider { display: none; }
.wt-stage-falling .wt-stage-message,
.wt-stage-galaxy .wt-stage-message {
  font-size: calc(1.4cqw * var(--text-scale));
  opacity: 0.78;
  margin-top: 1.0cqw;
}
.wt-stage .wt-couple i {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(0.4em * var(--amp-scale, 1));
  opacity: 0.8;
  line-height: 1.2;
}
.wt-stage[data-wide] .wt-couple,
.wt-stage[data-names="row"] .wt-couple {
  font-size: calc(var(--row-fit, var(--name-size)) * var(--text-scale) * 0.72);
  flex-direction: row;
  gap: 2cqw;
}
.wt-stage[data-wide] .wt-couple i,
.wt-stage[data-names="row"] .wt-couple i { margin: 0; }
.wt-stage[data-wide] .wt-stage-content { inset: 19% 8%; }

.wt-stage-silk {
  background: linear-gradient(110deg, #380302, #861a10 22%, #c45b3e 28%, #470504 35%, #7c120b 60%, #bf5337 70%, #4b0603);
}
.wt-stage-silk .wt-stage-border,
.wt-stage-silk .wt-stage-star,
.wt-stage-silk .wt-stage-divider { display: none; }
.wt-stage-silk .wt-stage-content {
  inset: 15% 7%;
  color: #fff0d2;
  text-shadow: 0 2px 12px #25000088;
  overflow: visible;
}
.wt-stage-silk .wt-stage-caption {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(1.4cqw * var(--text-scale));
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  margin-bottom: 2.6cqw;
}
.wt-stage-silk .wt-couple {
  font-family: "Wedding Pinyon", Georgia, serif;
  font-size: calc(var(--name-size) * var(--text-scale) * 0.82);
  flex-flow: row;
  align-items: baseline;
  gap: 1.8cqw;
  max-width: 100%;
  font-weight: 400;
  line-height: 1.3;
  display: flex;
}
.wt-stage-silk .wt-couple span { margin: -0.15em -0.15em; padding: 0.15em 0.22em; }
.wt-stage-silk .wt-couple i {
  font-family: var(--wt-cormorant), Georgia, serif;
  font-style: italic;
  font-size: calc(0.62em * var(--amp-scale, 1));
  opacity: 0.85;
}
.wt-stage-silk .wt-stage-date {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(1.75cqw * var(--text-scale));
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  margin-top: 1.8cqw;
}
.wt-stage-silk .wt-stage-message {
  font-size: calc(1.45cqw * var(--text-scale));
  opacity: 0.86;
  margin-top: 1.6cqw;
}

.wt-video-background {
  inset: 0;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
}
.wt-stage-video { background: #eee; }
.wt-stage-video .wt-stage-content { color: #57273a; text-shadow: 0 1px 6px #ffffff80; }
.wt-stage-video .wt-stage-message { opacity: 1; }
.wt-stage-video[data-ink="light"] { background: #4a0303; }
.wt-stage-video[data-ink="light"] .wt-stage-content {
  color: #fff1de;
  text-shadow: 0 2px 14px #1f0000cc, 0 0 30px #2a000088;
}

.wt-stage[data-tall] .wt-stage-content { inset: 16% 8%; }
.wt-stage[data-tall] .wt-couple,
.wt-stage-silk[data-tall] .wt-couple { flex-flow: column; gap: 0; width: 100%; }
.wt-stage[data-tall] .wt-couple span { white-space: nowrap; overflow-wrap: normal; }
.wt-stage[data-tall] .wt-couple i { margin: 0.1em 0; }
.wt-stage[data-tall] .wt-stage-star { margin-bottom: 3cqw; font-size: 5.5cqw; }
.wt-stage[data-tall] .wt-stage-divider { gap: 2cqw; font-size: 2.6cqw; }
.wt-stage[data-tall] .wt-stage-divider span { width: 8cqw; }
.wt-stage[data-tall] .wt-stage-message { max-width: 100%; }
.wt-stage[data-tall] .wt-cal { flex-direction: column; gap: 1.5cqw; }
.wt-stage[data-tall] .wt-cal-day { font-size: calc(12cqw * var(--text-scale)); }
.wt-stage[data-tall] .wt-family { grid-template-columns: 1fr; }
.wt-stage[data-tall] .wt-family-col + .wt-family-col {
  border-left: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  margin-top: 2cqw;
  padding-top: 4cqw;
}
.wt-stage[data-tall] .wt-scene-message { max-width: 100%; }
.wt-stage[data-tall] .wt-family-name { font-size: calc(3.1cqw * var(--text-scale)); }
.wt-stage[data-tall] .wt-family-label { font-size: calc(1.6cqw * var(--text-scale)); }
.wt-stage[data-tall] .wt-cal-side { font-size: calc(2.6cqw * var(--text-scale)); }

.wt-scene { animation: wt-scene var(--scene-dur, 8s) ease-in-out both; }
.wt-scene.is-pinned { animation: none; }
@keyframes wt-scene {
  0% { opacity: 0; filter: blur(0.9cqw); transform: translateY(0.8cqw); }
  13% { opacity: 1; filter: blur(0); transform: none; }
  85% { opacity: 1; filter: blur(0); transform: none; }
  100% { opacity: 0; filter: blur(0.9cqw); transform: translateY(-0.4cqw); }
}

.wt-cal-weekday {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(1.3cqw * var(--text-scale));
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  text-transform: uppercase;
  opacity: 0.88;
  align-items: center;
  gap: 1.4cqw;
  margin: 0 0 2.4cqw;
  display: flex;
}
.wt-cal-weekday::before, .wt-cal-weekday::after {
  content: "";
  opacity: 0.45;
  background: currentColor;
  width: 4cqw;
  height: 1px;
}
.wt-cal {
  font-family: var(--wt-serif), Georgia, serif;
  justify-content: center;
  align-items: center;
  gap: 4.5cqw;
  display: flex;
}
.wt-cal-side {
  font-size: calc(2cqw * var(--text-scale));
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  text-transform: uppercase;
  opacity: 0.9;
  white-space: nowrap;
}
.wt-cal-day { font-size: calc(9cqw * var(--text-scale)); font-weight: 400; line-height: 1; }
.wt-cal-lunar {
  font-family: var(--wt-serif), Georgia, serif;
  font-style: italic;
  font-size: calc(1.8cqw * var(--text-scale));
  opacity: 0.84;
  margin: 2.6cqw 0 0;
}

.wt-family { width: 100%; font-family: var(--wt-serif), Georgia, serif; grid-template-columns: 1fr 1fr; display: grid; }
.wt-family.is-single { grid-template-columns: 1fr; }
.wt-family-col { flex-direction: column; align-items: center; gap: 0.6cqw; padding: 1.5cqw 3cqw; display: flex; }
.wt-family-col + .wt-family-col { border-left: 1px solid color-mix(in srgb, currentColor 32%, transparent); }
.wt-family-label {
  font-size: calc(1.2cqw * var(--text-scale));
  letter-spacing: 0.45em;
  padding-left: 0.45em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 1.4cqw;
}
.wt-family-name { font-size: calc(2.4cqw * var(--text-scale)); margin: 0; line-height: 1.55; }

.wt-scene-message {
  font-family: var(--wt-serif), Georgia, serif;
  font-style: italic;
  font-size: calc(2.8cqw * var(--text-scale));
  overflow-wrap: anywhere;
  max-width: 80%;
  margin: 0;
  line-height: 1.5;
}
.wt-scene-ornament {
  font-size: calc(1.3cqw * var(--text-scale));
  opacity: 0.6;
  align-items: center;
  gap: 1.4cqw;
  margin: 2.6cqw 0 1.6cqw;
  display: flex;
}
.wt-scene-ornament span { background: currentColor; width: 5cqw; height: 1px; }
.wt-scene-sign { font-family: "Wedding Pinyon", Georgia, serif; font-size: calc(4cqw * var(--text-scale)); margin: 0; line-height: 1.3; }

/* Script templates: meteor, nightsky, pinkgalaxy, constellation */
.wt-stage-meteor { background: var(--stage-bg); }
.wt-stage-script .wt-stage-border,
.wt-stage-script .wt-stage-star,
.wt-stage-script .wt-stage-divider { display: none; }
.wt-stage-script .wt-stage-content {
  inset: 8% 6% 12%;
  text-shadow: 0 0 18px color-mix(in srgb, var(--stage-ink) 30%, transparent), 0 2px 14px #000;
  justify-content: center;
  overflow: visible;
}
.wt-monogram {
  width: 1.05em;
  height: 1.3em;
  font-family: "Wedding Pinyon", Georgia, serif;
  font-size: calc(7.6cqw * var(--text-scale));
  color: var(--stage-ink);
  flex-shrink: 0;
  margin: 0 0 0.5em;
  line-height: 1;
  position: relative;
}
.wt-monogram span { position: absolute; }
.wt-monogram span:first-child { top: -0.12em; left: 0; }
.wt-monogram span:last-child { top: 0.26em; left: 0.3em; }
.wt-monogram.is-hidden { visibility: hidden; }
.wt-stage-script .wt-stage-caption {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(1.35cqw * var(--text-scale));
  letter-spacing: 0.45em;
  padding-left: 0;
  text-indent: 0.45em;
  opacity: 0.88;
  margin: 0 0 2.4cqw;
}
.wt-stage-script .wt-couple {
  font-family: "Wedding Pinyon", Georgia, serif;
  font-size: calc(var(--pair-size) * var(--text-scale));
  white-space: nowrap;
  color: var(--stage-ink);
  flex-flow: row;
  column-gap: 1.4cqw;
  line-height: 1.25;
}
.wt-stage-script .wt-couple i { font-size: calc(0.5em * var(--amp-scale, 1)); opacity: 0.85; }
.wt-stage-script .wt-stage-date {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(1.6cqw * var(--text-scale));
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  opacity: 0.88;
  margin-top: 2.2cqw;
}
.wt-stage-script[data-wide] .wt-monogram { font-size: calc(6.2cqw * var(--text-scale)); }
.wt-stage-script[data-wide] .wt-monogram.is-hidden { display: none; }
.wt-stage-script[data-wide] .wt-stage-caption { margin-bottom: 2cqw; }
.wt-stage-script[data-wide] .wt-couple { align-items: baseline; }
.wt-stage-script[data-wide] .wt-couple i { position: relative; top: -0.28em; }
.wt-stage-script .wt-stage-message {
  font-style: normal;
  font-size: calc(1.15cqw * var(--text-scale));
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-top: 2cqw;
}
.wt-meteor-quote {
  font-family: var(--wt-serif), Georgia, serif;
  font-size: calc(1.45cqw * var(--text-scale));
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  max-width: 94%;
  margin: 3.4cqw 0 0;
  line-height: 1.9;
}
.wt-glyph { flex-shrink: 0; width: 0.9em; height: 0.9em; display: block; }
.wt-meteor-hearts {
  font-size: calc(1.6cqw * var(--text-scale));
  opacity: 0.9;
  gap: 2cqw;
  margin-top: 2.2cqw;
  display: flex;
}
.wt-stage-meteor .wt-scene { animation-name: wt-meteor-scene; }
@keyframes wt-meteor-scene {
  0%, 15% { opacity: 0; filter: blur(1cqw); transform: translateY(0.6cqw); }
  29% { opacity: 1; filter: blur(0); transform: none; }
  86% { opacity: 1; filter: blur(0); transform: none; }
  100% { opacity: 0; filter: blur(0.9cqw); transform: translateY(-0.4cqw); }
}
.wt-stage-script[data-tall] .wt-stage-content { inset: 7% 6% 11%; }
.wt-stage-meteor .wt-stage-content { inset: 4% 6% 19%; }
.wt-stage-meteor[data-tall] .wt-stage-content { inset: 3% 6% 16%; }
.wt-stage-script .wt-stage-content:not(.wt-scene) .wt-monogram { font-size: calc(6.2cqw * var(--text-scale)); margin-bottom: 0.35em; }
.wt-stage-script .wt-stage-content:not(.wt-scene) .wt-stage-caption { margin-bottom: 1.8cqw; }
.wt-stage-script .wt-stage-content:not(.wt-scene) .wt-stage-date { margin-top: 1.7cqw; }
.wt-stage-script .wt-stage-content:not(.wt-scene) .wt-stage-message { margin-top: 1.4cqw; }
.wt-stage-script[data-tall] .wt-couple { white-space: normal; flex-direction: column; }

/* Nightsky */
.wt-stage-nightsky { background: var(--stage-bg); }
.wt-stage-nightsky .wt-monogram { width: 1.15em; height: 1.15em; font-size: calc(10.2cqw * var(--text-scale)); margin-bottom: 0.34em; }
.wt-stage-nightsky .wt-monogram span:last-child { font-family: var(--wt-cormorant), Georgia, serif; font-weight: 500; top: -0.06em; left: 0.02em; }
.wt-stage-nightsky .wt-monogram span:first-child { z-index: 1; text-shadow: 0 0 0.14em var(--stage-bg), 0 0 0.24em var(--stage-bg); font-size: 0.8em; top: 0.24em; left: 0.36em; }
.wt-stage-nightsky .wt-stage-caption { align-items: center; gap: 1.4cqw; display: flex; }
.wt-stage-nightsky .wt-stage-caption::before,
.wt-stage-nightsky .wt-stage-caption::after {
  content: "◆";
  letter-spacing: 0;
  opacity: 0.85;
  background: linear-gradient(90deg, #0000, currentColor 90%) 0/6cqw 1px no-repeat;
  padding-left: 7cqw;
  font-size: 0.55em;
}
.wt-stage-nightsky .wt-stage-caption::after {
  background: linear-gradient(90deg, currentColor 10%, #0000) 100%/6cqw 1px no-repeat;
  padding: 0 7cqw 0 0;
}
.wt-stage-nightsky .wt-cal-weekday::before,
.wt-stage-nightsky .wt-cal-weekday::after { width: 6cqw; }
.wt-stage-nightsky .wt-cal-side {
  border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  padding: 1cqw 0;
}

/* Show templates: pinkgalaxy & constellation */
.wt-scene-canvas { inset: 0; z-index: 3; pointer-events: none; width: 100%; height: 100%; position: absolute; }
.wt-stage-show .wt-monogram,
.wt-stage-show[data-wide] .wt-monogram,
.wt-stage-show .wt-infinity { top: var(--show-top, 0px); position: absolute; left: 0; right: 0; }
.wt-stage-show .wt-monogram.is-hidden,
.wt-stage-show[data-wide] .wt-monogram.is-hidden,
.wt-stage-show .wt-infinity.is-hidden { visibility: hidden; display: block; }
.wt-stage-show .wt-stage-content,
.wt-stage-show[data-tall] .wt-stage-content,
.wt-stage-show[data-wide] .wt-stage-content { inset: 0 5%; justify-content: flex-start; }
.wt-stage-show .wt-stage-content::before,
.wt-stage-show .wt-stage-content::after { content: ""; flex: 1; min-height: 0; }
.wt-stage-show .wt-stage-content::before { min-height: var(--show-clear, 0px); }
.wt-stage-show .wt-stage-message:empty { display: none; }
.wt-stage-show .wt-scene:not(.is-pinned) { animation-name: wt-show-scene; }
@keyframes wt-show-scene {
  0%, 92% { opacity: 1; filter: blur(0); }
  100% { opacity: 0; filter: blur(0.9cqw); }
}
.wt-stage-show .wt-scene > * {
  animation: 0.9s ease-out backwards wt-show-in;
  animation-delay: calc(var(--show-reveal, 1.2s) + 0.3s - var(--scene-clock, 0s));
  animation-play-state: var(--scene-play, running);
}
.wt-stage-show .wt-scene > .wt-stage-caption,
.wt-stage-show .wt-scene > .wt-cal-weekday { animation-delay: calc(var(--show-reveal, 1.2s) + 0.1s - var(--scene-clock, 0s)); }
.wt-stage-show .wt-scene > .wt-stage-date,
.wt-stage-show .wt-scene > .wt-cal-lunar,
.wt-stage-show .wt-scene > .wt-meteor-hearts { animation-delay: calc(var(--show-reveal, 1.2s) + 0.65s - var(--scene-clock, 0s)); }
.wt-stage-show .wt-scene > .wt-stage-message { animation-delay: calc(var(--show-reveal, 1.2s) + 0.9s - var(--scene-clock, 0s)); }
@keyframes wt-show-in {
  0% { opacity: 0; filter: blur(0.8cqw); transform: translateY(0.5cqw); }
}
.wt-stage-show .wt-stage-message { margin-top: 1.9cqw; }
.wt-stage-show .wt-cal-weekday,
.wt-stage-show .wt-meteor-quote { margin-top: 0; }
.wt-stage-show .wt-stage-caption,
.wt-stage-show[data-wide] .wt-stage-caption { align-items: center; gap: 1.2cqw; display: flex; }
.wt-stage-show .wt-stage-caption::before,
.wt-stage-show .wt-stage-caption::after {
  content: "◆";
  letter-spacing: 0;
  opacity: 0.85;
  background: linear-gradient(90deg, #0000, currentColor 90%) 0/6cqw 1px no-repeat;
  padding-left: 7cqw;
  font-size: 0.5em;
}
.wt-stage-show .wt-stage-caption::after {
  background: linear-gradient(90deg, currentColor 10%, #0000) 100%/6cqw 1px no-repeat;
  padding: 0 7cqw 0 0;
}
.wt-stage-show .wt-couple,
.wt-stage-show[data-wide] .wt-couple { align-items: center; }
.wt-stage-show .wt-couple i,
.wt-stage-show[data-wide] .wt-couple i { opacity: 1; display: flex; position: static; }

.wt-stage-pinkgalaxy { background: var(--stage-bg); }
.wt-stage-pinkgalaxy .wt-stage-content {
  text-shadow: 0 0 0.45em rgba(var(--show-glow, 255, 176, 232), 0.5), 0 0 1.5em rgba(var(--show-glow-deep, 190, 110, 200), 0.35), 0 2px 14px var(--show-shade, #12061a);
}
.wt-stage-pinkgalaxy .wt-monogram,
.wt-stage-pinkgalaxy .wt-couple {
  text-shadow: 0 0 0.022em currentColor, 0 0 0.4em rgba(var(--show-glow, 255, 176, 232), 0.55), 0 0 1.4em rgba(var(--show-glow-deep, 190, 110, 200), 0.35), 0 2px 14px var(--show-shade, #12061a);
}
.wt-stage-pinkgalaxy .wt-monogram,
.wt-stage-pinkgalaxy[data-wide] .wt-monogram {
  width: 1.05em;
  height: 1.3em;
  font-size: calc(9cqw * var(--text-scale));
  margin: 0 auto;
}
.wt-stage-pinkgalaxy .wt-scene > .wt-monogram {
  animation-name: wt-pink-monogram;
  animation-duration: 1.4s;
  animation-delay: calc(var(--show-reveal, 1.2s) - 1s - var(--scene-clock, 0s));
}
@keyframes wt-pink-monogram {
  0% { opacity: 0; filter: blur(1.2cqw); }
  55% { opacity: 0.7; filter: blur(0.4cqw); }
}
.wt-stage-pinkgalaxy .wt-stage-caption,
.wt-stage-pinkgalaxy[data-wide] .wt-stage-caption {
  font-size: calc(1.25cqw * var(--text-scale));
  letter-spacing: 0.42em;
  opacity: 0.8;
  margin: 0 0 0.9cqw;
}
.wt-stage-pinkgalaxy .wt-couple,
.wt-stage-pinkgalaxy[data-wide] .wt-couple { word-spacing: 0.16em; column-gap: 1.5cqw; }
.wt-stage-pinkgalaxy .wt-couple i,
.wt-stage-pinkgalaxy[data-wide] .wt-couple i {
  font-size: calc(0.66em * var(--amp-scale, 1));
  filter: drop-shadow(0 0 0.22em rgba(var(--show-glow, 255, 170, 225), 0.75));
}
.wt-stage-pinkgalaxy .wt-stage-date {
  font-size: calc(1.55cqw * var(--text-scale));
  letter-spacing: 0.08em;
  opacity: 0.72;
  margin-top: 2.1cqw;
}

.wt-stage-constellation { background: var(--stage-bg); }
.wt-stage-constellation .wt-stage-content {
  text-shadow: 0 0 0.5em rgba(var(--show-glow, 255, 226, 170), 0.3), 0 2px 12px #000;
}
.wt-infinity {
  width: calc(19.1cqw * var(--text-scale));
  color: var(--show-sign, #fffaea);
  filter: drop-shadow(0 0 0.22cqw rgba(var(--show-glow, 255, 226, 160), 0.95)) drop-shadow(0 0 1cqw rgba(var(--show-glow-deep, 255, 200, 110), 0.45));
  flex-shrink: 0;
  margin: 0 auto;
}
.wt-infinity svg { width: 100%; height: auto; display: block; overflow: visible; }
.wt-infinity-line { fill: none; stroke: currentColor; stroke-width: 0.058px; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.wt-infinity-heart { fill: none; stroke: currentColor; stroke-width: 3.4px; stroke-linejoin: round; }
.wt-infinity-letter { fill: currentColor; stroke: currentColor; stroke-width: 1.5px; stroke-linejoin: round; text-anchor: middle; font-family: "Wedding Beloved", "Wedding Pinyon", Georgia, serif; font-size: 80px; }
.wt-infinity-letter + .wt-infinity-letter { font-size: 74px; }
.wt-stage-show .wt-scene > .wt-infinity { animation: none; }
.wt-stage-constellation .wt-scene .wt-infinity-line {
  animation: wt-sign-draw var(--sign-draw, 2.4s) var(--sign-ease, cubic-bezier(0.37, 0, 0.63, 1)) both;
  animation-delay: calc(var(--sign-from, 3.15s) - var(--scene-clock, 0s));
  animation-play-state: var(--scene-play, running);
}
.wt-stage-constellation .wt-scene .wt-infinity-heart,
.wt-stage-constellation .wt-scene .wt-infinity-letter {
  animation: wt-sign-fill calc(var(--sign-draw, 2.4s) * 0.6) ease-in-out both;
  animation-delay: calc(var(--sign-from, 3.15s) + var(--sign-draw, 2.4s) * 0.3 - var(--scene-clock, 0s));
  animation-play-state: var(--scene-play, running);
}
.wt-stage-constellation .wt-scene .wt-infinity-heart {
  animation-delay: calc(var(--sign-from, 3.15s) + var(--sign-draw, 2.4s) * 0.48 - var(--scene-clock, 0s));
}
.wt-stage-constellation .wt-scene .wt-infinity-letter + .wt-infinity-letter {
  animation-delay: calc(var(--sign-from, 3.15s) + var(--sign-draw, 2.4s) * 0.62 - var(--scene-clock, 0s));
}
@keyframes wt-sign-draw {
  0% { stroke-dashoffset: 1px; opacity: 0; }
  10% { opacity: 1; }
}
@keyframes wt-sign-fill {
  0% { opacity: 0; }
}
.wt-stage-constellation .wt-stage-caption,
.wt-stage-constellation[data-wide] .wt-stage-caption {
  font-size: calc(1.72cqw * var(--text-scale));
  letter-spacing: 0.5em;
  opacity: 0.95;
  margin: 0 0 0.8cqw;
}
.wt-stage-constellation .wt-couple,
.wt-stage-constellation[data-wide] .wt-couple {
  word-spacing: 0.22em;
  column-gap: 1.7cqw;
  font-family: "Wedding Beloved", "Wedding Pinyon", Georgia, serif;
  line-height: 1.15;
}
.wt-stage-constellation .wt-couple i,
.wt-stage-constellation[data-wide] .wt-couple i { font-size: calc(0.36em * var(--amp-scale, 1)); }
.wt-stage-constellation .wt-stage-date {
  font-size: calc(2.05cqw * var(--text-scale));
  letter-spacing: 0.06em;
  opacity: 0.95;
  margin-top: 1.15cqw;
}
.wt-stage-show .wt-scene.is-pinned > *,
.wt-stage-show .wt-scene.is-pinned > .wt-monogram,
.wt-stage-show .wt-scene.is-pinned .wt-infinity * { animation: none; }

/* ===== PRESENTATION FULLSCREEN OVERLAY ===== */
.wt-presentation {
  inset: 0;
  z-index: 2147483647;
  font-family: var(--font-noto-sans), Arial, sans-serif;
  background: #000;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
}
.wt-presentation.wt-idle { cursor: none; }
.wt-presentation .wt-stage {
  width: min(100vw, calc(100dvh * var(--screen-ratio, 1.7778)));
  max-height: 100dvh;
  flex-shrink: 0;
}
.wt-screen-controls {
  opacity: 0;
  gap: 8px;
  transition: opacity 0.2s;
  display: flex;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  cursor: auto;
}
.wt-screen-controls.is-visible,
.wt-screen-controls:focus-within { opacity: 1; }
.wt-screen-controls:not(.is-visible):not(:focus-within) { pointer-events: none; }
.wt-screen-controls button {
  color: #fff;
  cursor: pointer;
  background: rgba(21, 21, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  font-size: 13.5px;
  display: flex;
}
.wt-screen-controls button:hover { background: rgba(40, 40, 52, 0.95); }
.wt-screen-notice {
  text-align: center;
  color: #eee;
  pointer-events: none;
  font-size: 13px;
  animation: 1s 6s forwards wt-notice-fade;
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  z-index: 10;
}
@keyframes wt-notice-fade { to { opacity: 0; } }

@media (max-width: 980px) {
  .wt-editor { grid-template-columns: 1fr; }
  .wt-preview-panel { order: -1; padding: 18px; }
  .wt-settings { border-right: 0; border-top: 1px solid var(--wt-border); max-height: none; }
}
@media (max-width: 640px) {
  .led-stage-wall { width: 94%; }
  .led-stage-truss { height: 10px; }
  .led-stage-flowers { width: 22%; bottom: 40%; }
  .wt-page { padding: 16px 12px 60px; }
}
