/* Shared
 * Shared foundation: tokens, typography, toolbar, themes, reusable controls and cross-page states.
 * Extracted from the v1.0.0 stylesheet; keep page-specific overrides after shared.css.
 */

/* Graduation Invitation v3 - Pham Nhu Quynh
   Main stylesheet for public invitation, admin dashboard and gift portal. */
@keyframes directionPulse {
  0%,
  100% {
    text-shadow: none;
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 14px rgba(47, 50, 54, .28);
    transform: scale(1.075);
  }
}

@keyframes directionPulseDark {
  0%,
  100% {
    text-shadow: 0 0 8px rgba(255, 255, 255, .16);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 18px rgba(255, 255, 255, .5);
    transform: scale(1.075);
  }
}

@supports (background-image: image-set(url("/assets/bg-silk.webp") type("image/webp"))) {
:root {
    --silk-background-image: image-set(url("/assets/bg-silk.webp") type("image/webp"),
        url("/assets/bg-silk.webp") type("image/jpeg"));
    --dark-silk-background-image: image-set(url("/assets/black-bg-silk.webp") type("image/webp"),
        url("/assets/black-bg-silk.webp") type("image/jpeg"));
  }
}

@keyframes indexHeroSettle {
  from {
    opacity: .96;
  }
  to {
    opacity: 1;
  }
}

@keyframes indexHeroImageIn {
  from {
    opacity: .88;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes indexSoftRise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes indexNameFloat {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes indexTimeSheen {
  0% {
    opacity: 0;
    transform: translateX(-65%);
  }
  28% {
    opacity: .65;
  }
  100% {
    opacity: 0;
    transform: translateX(70%);
  }
}

@keyframes welcomeBtnPulse {
  0% {
    transform: scale(0.96);
    opacity: 1;
  }
  100% {
    transform: scale(1.14);
    opacity: 0;
  }
}

@keyframes welcomeFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes music-ripple {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

@keyframes music-ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.36);
    opacity: 0;
  }
}

:root {
  --white: #fff;
  --black: #252525;
  --muted: #6f6a63;
  --line: #cfcfcf;
  --soft: #f8f7f5;
  --red: #b6655c;
  --red-dark: #8d4a44;
  --dark: #2c2c2f;
  --topbar: rgba(251, 250, 247, .82);
  --paper: #fbfaf7;
  --ink: #252321;
  --faint: #ded7cd;
  --rose-dark: #85464b;
  --sage: #7d8a75;
  --gold: #b79a62;
  --charcoal: #2c2b2b;
  --sample-white: #ffffff;
  --sample-ink: #2f3033;
  --sample-muted: #7c7f84;
  --sample-line: #cfd1d4;
  --sample-pink: #cf8d86;
  --sample-soft: #f6f6f5;
  --match-ink: #3c3f44;
  --match-muted: #70757c;
  --match-light: #f7f7f6;
  --match-line: #9da1a6;
  --match-rose: #c9837c;
  --silk-background-image: url("/assets/bg-silk.webp");
  --dark-silk-background-image: url("/assets/black-bg-silk.webp");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(rgba(246, 246, 246, .62), rgba(246, 246, 246, .72)),
    url("/assets/bg-silk.webp") center top / cover fixed;
  color: var(--sample-ink);
  font-family: "Be Vietnam Pro", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(390px, 100%);
  height: 42px;
  z-index: 120;
  padding: 0 10px;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .26);
  border: 0;
  pointer-events: auto;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
  gap: 10px !important;
  padding-right: 11px !important;
  padding-left: 10px !important;
}

.home-cap {
  width: 46px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  font-size: 23px;
}

.menu-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .62);
  color: #333;
  cursor: pointer;
  display: none;
  place-items: center;
  position: fixed;
  top: 12px;
  left: calc(50% - 183px);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.menu-btn span {
  display: block;
  width: 17px;
  height: 1px;
  background: #fff;
  border-radius: 99px;
  margin: 2px 0;
  box-shadow: 0 0 7px rgba(0, 0, 0, .35);
}

.floating-music-btn {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 95;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  font-size: 13px;
  display: grid;
  place-items: center;
  top: 0 !important;
  right: auto !important;
  backdrop-filter: blur(8px);
  line-height: 1;
  overflow: visible !important;
}

.floating-music-btn.playing {
  background: rgba(0, 0, 0, .28);
  color: #fff;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  width: min(390px, calc(100% - 24px));
  z-index: 120;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .18);
  transition: transform .32s ease;
  border-bottom: 1px solid #ddd;
  padding-top: 8px;
  border-bottom-color: var(--faint);
  max-width: 390px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(47, 50, 54, .1);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.side-menu.open {
  transform: translateX(-50%) translateY(0);
}

.side-menu-head {
  height: 56px;
  display: flex;
  padding: 0 14px 0 20px;
  align-items: center;
  justify-content: space-between;
  color: #6d7278;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2.4px;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
}

.side-menu-head button {
  border: 0;
  background: #303238;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.side-menu a {
  display: block;
  padding: 15px 22px 15px 28px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.2px;
  border-top: 1px solid rgba(47, 50, 54, .08);
  color: #343941;
  border-top-color: #ececec;
  position: relative;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 22, .38);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.date-text {
  margin: 7px 0 0;
  font-size: 14px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  display: inline-flex;
  min-height: auto;
  margin-top: 8px;
  padding: 0;
  align-items: center;
  border: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
}

.section {
  padding: 32px 18px;
  text-align: center;
  background: #fff;
  padding-top: 54px;
  padding-bottom: 54px;
}

.quote {
  font-size: 14px;
  line-height: 1.65;
  color: #656970;
  margin: 0 auto 34px;
  max-width: 340px;
  margin-bottom: 32px;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  letter-spacing: .15px;
  text-align: center;
}

.address {
  font-size: 16px;
  line-height: 1.5;
  color: #757a81;
  white-space: normal;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
}

.outline-btn,
.submit-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
}

.outline-btn {
  border: 0;
  color: #6c7076;
  background: transparent;
  margin-top: 18px;
  border-color: rgba(37, 35, 33, .68);
  font-size: 16px;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  letter-spacing: .8px;
}

.submit-btn {
  border: 1.5px solid #8c9095;
  background: #fff;
  color: #555a61;
  border-color: var(--rose-dark);
  box-shadow: none;
  min-height: 34px;
  font-size: 11px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #999;
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

textarea {
  resize: vertical;
  border-radius: 10px;
  min-height: 88px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(182, 101, 92, .12);
}

.admin-body {
  background: linear-gradient(rgba(255, 255, 255, .72), rgba(248, 246, 242, .86)),
    url("/assets/bg-silk.webp") center top / cover repeat-y;
  min-height: 100vh;
  color: #2b2d31;
}

.admin-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 18px;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-login {
  max-width: 430px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .86);
  padding: 30px 26px 26px;
  border: 1px solid rgba(43, 45, 49, .1);
  text-align: left;
  box-shadow: 0 24px 60px rgba(43, 45, 49, .12);
  width: min(420px, 100%);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.admin-login h1 {
  font-family: "Allura", "Great Vibes", cursive;
  font-size: 52px;
  margin: 0;
  color: #2b2d31;
  font-weight: 400;
  line-height: .95;
}

.admin-login input {
  margin-bottom: 12px;
  margin: 0 0 8px;
  min-height: 44px;
  border-color: rgba(43, 45, 49, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #2b2d31;
}

.admin-back-link {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: #34383f;
  text-decoration: none;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.hidden {
  display: none !important;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 20px;
}

.admin-top h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 42px;
}

.gift-page {
  background: linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .9)), url("/assets/bg-silk.webp") center top/cover repeat-y;
}

.gift-guard,
.gift-locked,
.gift-open {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-page,
.gift-page {
  background: #fff;
  box-shadow: 0 0 28px rgba(0, 0, 0, .1);
  max-width: 390px;
}

.home-cap,
.menu-btn {
  width: 44px;
  height: 44px;
}

.section+.section::before {
  position: absolute;
  top: 0;
  right: 36px;
  left: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 154, 98, .45), transparent);
  content: "";
  display: none;
}

.intro-grid p:not(.tiny-script),
.uppercase,
.body-text,
.album-text,
.gift-text,
.gift-card p,
.timeline p,
.thanks-text,
.address {
  color: var(--muted);
}

.line-title span,
.timeline i {
  background: var(--faint);
}

.outline-btn,
.submit-btn {
  min-height: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0 20px;
  color: #55595f;
  background: #fff;
  border: 1px solid #aeb1b4;
  border-radius: 999px;
  box-shadow: none;
  font-size: 10px;
}

input,
textarea,
select {
  padding: 9px 13px;
  color: #62676e;
  background: #fff;
  border-color: rgba(112, 96, 83, .46);
  border-radius: 999px;
  border: 1.5px solid #8c9095;
  font-size: 13px;
  font-weight: 500;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #6c7076;
  box-shadow: 0 0 0 2px rgba(108, 112, 118, .12);
}

.admin-login,
.dashboard {
  background: #fff;
  border-color: #e2e2e2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .09);
}

select {
  height: 34px;
}

.admin-login h1,
.admin-top h1,
.guest-list h2,
.gift-guard h1,
.gift-locked h1 {
  color: #4d5056;
}

.outline-btn::before {
  margin-right: 5px;
  content: "\2316";
}

.quote,
.intro-grid p:not(.tiny-script),
.album-text,
.schedule-note,
.thanks-text,
.address,
.location-small,
.timeline span,
.timeline p,
.calendar-body span {
  color: #4f555d;
  font-weight: 500;
}

.invite-uppercase,
.section-subtitle,
.calendar-head span,
.red-note,
.date-big span,
.location-section h2,
.submit-btn,
.outline-btn,
.tiny-script {
  color: #343941;
  font-weight: 600;
}

input::placeholder,
textarea::placeholder {
  color: #6f747b;
  opacity: 1;
}

body.dark-mode .quote,
body.dark-mode .intro-grid p:not(.tiny-script),
body.dark-mode .album-text,
body.dark-mode .schedule-note,
body.dark-mode .thanks-text,
body.dark-mode .address,
body.dark-mode .location-small,
body.dark-mode .timeline span,
body.dark-mode .timeline p,
body.dark-mode .calendar-body span {
  color: #d7d2ca;
  font-weight: 500;
}

body.dark-mode .invite-uppercase,
body.dark-mode .section-subtitle,
body.dark-mode .calendar-head span,
body.dark-mode .location-section h2,
body.dark-mode .submit-btn,
body.dark-mode .outline-btn,
body.dark-mode .tiny-script {
  color: #fff7ef;
  font-weight: 600;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  color: #fff7ef;
}

.topbar .home-cap,
.topbar .floating-music-btn,
.topbar .menu-btn {
  position: static;
  display: grid;
  width: 34px;
  height: 34px;
  min-height: 34px;
  place-items: center;
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
  backdrop-filter: none;
  pointer-events: auto;
}

.topbar .home-cap {
  font-size: 21px;
  justify-content: center;
  order: 1 !important;
  width: 36px !important;
  height: 34px !important;
  flex: 0 0 36px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  min-width: 36px !important;
  margin: 0 !important;
  margin-right: 0 !important;
  box-shadow: none !important;
}

.topbar .home-logo {
  width: 28px !important;
  height: 28px !important;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .32));
}

.toolbar-title {
  margin-left: 0;
  color: #fff;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .28s ease, transform .28s ease, color .28s ease;
  pointer-events: none;
  order: 2;
  width: 150px;
  max-width: 128px;
  margin-right: auto;
  flex: 0 1 150px;
}

.topbar .floating-music-btn {
  margin-left: 0;
  margin-right: 16px !important;
  font-size: 17px;
  order: 4 !important;
  margin: 0 !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
}

.topbar .theme-btn {
  position: relative;
  display: block;
  width: 46px !important;
  height: 26px !important;
  min-height: 26px !important;
  margin-left: 0;
  margin-right: 16px !important;
  padding: 0;
  background: rgba(255, 255, 255, .9);
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .2);
  order: 3 !important;
  flex: 0 0 46px !important;
  margin: 0 4px 0 -4px !important;
}

.theme-knob {
  position: relative;
  display: block;
  z-index: 2;
  width: 14px;
  height: 14px;
  margin: 2px 2px 2px auto;
  background: #111;
  border-radius: 50%;
  transition: transform .25s ease, background .25s ease;
}

.topbar.toolbar-solid .theme-btn {
  border-color: #111;
  box-shadow: none;
}

body.dark-mode .theme-btn {
  background: #050505;
  border-color: #050505;
}

body.dark-mode .theme-knob {
  background: #fff;
  transform: translateX(-20px);
}

.topbar .menu-btn {
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: grid;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  left: auto;
  top: auto;
  place-items: center;
  order: 5 !important;
  margin: 0 !important;
  flex: 0 0 38px !important;
  position: relative;
  min-width: 38px !important;
  margin-left: 0;
  margin-right: auto;
  padding: 0;
}

.topbar .menu-btn span {
  position: relative;
  display: block;
  width: 22px;
  height: 3px;
  margin: 0;
  background: #22252a;
  border-radius: 999px;
  box-shadow: none;
}

.topbar .menu-btn span::before {
  position: absolute;
  top: -8px;
  left: -6px;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.topbar .menu-btn,
.topbar .menu-btn span {
  transform: none;
}

.topbar .floating-music-btn.playing {
  color: #fff;
  background: rgba(0, 0, 0, .18);
  border-radius: 50%;
}

.topbar.toolbar-solid {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: rgba(0, 0, 0, .08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.topbar.toolbar-solid .home-cap,
.topbar.toolbar-solid .floating-music-btn {
  color: #333;
  text-shadow: none;
}

.topbar.toolbar-solid .toolbar-title {
  color: #333;
  opacity: 1;
  transform: translateY(0);
}

.topbar.toolbar-solid .menu-btn {
  background: transparent;
  border-color: #22252a;
  border: 0;
}

.topbar.toolbar-solid .menu-btn span {
  background: #333;
}

.topbar.toolbar-solid .menu-btn span::before {
  background: #333;
}

.calendar,
.time-box,
input,
textarea,
select,
.submit-btn {
  background: #fff;
  backdrop-filter: none;
}

body.dark-mode {
  background: #18191c;
  color: #ebe7e1;
}

body.dark-mode .section,
body.dark-mode .intro-section,
body.dark-mode .invite-section,
body.dark-mode .date-section,
body.dark-mode .location-section,
body.dark-mode .schedule-section,
body.dark-mode .album-section,
body.dark-mode .guestbook-section,
body.dark-mode .countdown-section {
  background: #202126;
}

body.dark-mode .line-title span,
body.dark-mode .timeline i,
body.dark-mode .album-title span,
body.dark-mode .invite-divider {
  background: #b8b1a8;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode .submit-btn,
body.dark-mode .time-box {
  color: #f1ede7;
  background: #2a2c32;
  border-color: #77736c;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #aaa49b;
}

body.dark-mode .topbar.toolbar-solid {
  background: rgba(32, 33, 38, .94);
  border-bottom-color: rgba(255, 255, 255, .1);
}

body.dark-mode .topbar.toolbar-solid .home-cap,
body.dark-mode .topbar.toolbar-solid .floating-music-btn,
body.dark-mode .topbar.toolbar-solid .toolbar-title {
  color: #f1ede7;
}

body.dark-mode .home-cap {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .42)) saturate(1.2);
}

body.dark-mode .topbar.toolbar-solid .home-cap {
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, .5)) saturate(1.25);
}

body.dark-mode .topbar .home-logo,
body.dark-mode .active-day i img {
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .36));
}

body.dark-mode .topbar.toolbar-solid .menu-btn {
  border-color: #f1ede7;
}

body.dark-mode .topbar.toolbar-solid .menu-btn span,
body.dark-mode .topbar.toolbar-solid .menu-btn span::before {
  background: #f1ede7;
}

body.dark-mode .side-menu {
  background: rgba(32, 33, 38, .94);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .5);
  border-color: rgba(255, 255, 255, .12);
}

body.dark-mode .side-menu-head {
  color: #cfc8bf;
}

body.dark-mode .side-menu-head button {
  color: #202126;
  background: #f1ede7;
}

body.dark-mode .side-menu a {
  color: #f1ede7;
  border-top-color: rgba(255, 255, 255, .1);
}

body.dark-mode .menu-backdrop {
  background: rgba(0, 0, 0, .58);
}

.side-menu a::before {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #c77d76;
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease;
}

.side-menu a:hover {
  background: rgba(199, 125, 118, .08);
}

.side-menu a:hover::before {
  opacity: 1;
}

body.dark-mode .side-menu a:hover {
  background: rgba(255, 255, 255, .08);
}

.hero-sub,
.tiny-script,
.invite-uppercase,
.calendar-head span,
.red-note,
.date-big span,
.location-section h2,
.section-subtitle,
.submit-btn {
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.hero-name-section {
  padding: 14px 20px 8px;
  text-align: center;
  background: #fff;
}

.hero-name {
  margin: 0;
  color: #2b2d31;
  font-size: 48px;
  text-shadow: none;
  line-height: .9;
  -webkit-text-fill-color: #2b2d31;
  -webkit-font-smoothing: antialiased;
}

body.dark-mode .hero-name-section {
  background: #202126;
}

body.dark-mode .hero-name {
  color: #f1ede7;
  -webkit-text-fill-color: #f1ede7;
}

.event-map-btn {
  min-width: 140px;
  min-height: 38px;
  margin-top: 20px;
  color: #fff;
  background: #222632;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(28, 31, 38, .22);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1px;
  text-transform: none;
  padding: 0 20px;
}

.event-map-btn::before {
  width: 17px;
  height: 17px;
  margin-right: 8px;
  background: #fff;
  content: "";
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.dark-mode .event-map-btn {
  color: #202126;
  background: #f1ede7;
}

body.dark-mode .event-map-btn::before {
  background: #202126;
}

.topbar .menu-btn span:nth-child(2),
.topbar .menu-btn span:nth-child(3) {
  display: none;
}

.topbar .menu-btn span::before,
.topbar .menu-btn span::after {
  position: absolute;
  left: 0;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.topbar .menu-btn span::after {
  top: 8px;
}

.topbar .menu-btn span,
.topbar .menu-btn span::before,
.topbar .menu-btn span::after {
  color: #22252a;
}

.topbar.toolbar-solid .menu-btn,
body.dark-mode .topbar.toolbar-solid .menu-btn {
  border: 0;
}

.topbar.toolbar-solid .menu-btn span,
.topbar.toolbar-solid .menu-btn span::before,
.topbar.toolbar-solid .menu-btn span::after,
body.dark-mode .topbar .menu-btn span,
body.dark-mode .topbar .menu-btn span::before,
body.dark-mode .topbar .menu-btn span::after {
  color: #22252a;
  background: #22252a;
}

.topbar .menu-btn span:first-child {
  position: relative;
  display: block;
  width: 17px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  color: #fff;
  background: currentColor;
  transform: translate(-50%, -50%);
  top: 50%;
}

.topbar .menu-btn span:first-child::before,
.topbar .menu-btn span:first-child::after {
  position: absolute;
  left: 0;
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.topbar .menu-btn span:first-child::before {
  top: -6px;
}

.topbar .menu-btn span:first-child::after {
  top: 6px;
}

.topbar .menu-btn span:not(:first-child) {
  display: none;
}

body.dark-mode .topbar .menu-btn span:first-child,
body.dark-mode .topbar .menu-btn span:first-child::before,
body.dark-mode .topbar .menu-btn span:first-child::after {
  color: #f7f3ed;
  background: currentColor;
}

.topbar.toolbar-solid .menu-btn span:first-child,
.topbar.toolbar-solid .menu-btn span:first-child::before,
.topbar.toolbar-solid .menu-btn span:first-child::after {
  color: #22252a;
  background: currentColor;
}

body.dark-mode .topbar.toolbar-solid .menu-btn span:first-child,
body.dark-mode .topbar.toolbar-solid .menu-btn span:first-child::before,
body.dark-mode .topbar.toolbar-solid .menu-btn span:first-child::after {
  color: #f7f3ed;
  background: currentColor;
}

.topbar .menu-btn span:first-child,
.topbar .menu-btn span:first-child::before,
.topbar .menu-btn span:first-child::after {
  right: auto;
  bottom: auto;
  background: currentColor;
  width: 17px;
  height: 2px;
  color: #fff;
  position: absolute;
  left: 50%;
  border-radius: 999px;
  box-shadow: none;
  content: "";
  transform: translateX(-50%);
}

body.dark-mode .topbar:not(.toolbar-solid) .menu-btn span:first-child,
body.dark-mode .topbar:not(.toolbar-solid) .menu-btn span:first-child::before,
body.dark-mode .topbar:not(.toolbar-solid) .menu-btn span:first-child::after {
  color: #fff;
}

body.dark-mode .topbar .menu-btn {
  border-color: rgba(255, 255, 255, .88);
  background: transparent;
  border: 0;
}

.topbar.toolbar-solid .home-cap {
  border-color: rgba(34, 37, 42, .16);
  background: rgba(255, 255, 255, .45);
}

body.dark-mode .topbar .home-cap {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.topbar.toolbar-solid .menu-btn,
body.dark-mode .topbar .menu-btn {
  border: 0;
  background: transparent;
}

.hero-name-section .hero-name,
.hero-name-section .signature.hero-name {
  color: #2b2d31 !important;
  -webkit-text-fill-color: #2b2d31;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  text-shadow: none !important;
}

body.dark-mode .hero-name-section .hero-name,
body.dark-mode .hero-name-section .signature.hero-name {
  color: #f1ede7 !important;
  -webkit-text-fill-color: #f1ede7;
}

.topbar .toolbar-title {
  order: 2 !important;
  width: auto !important;
  max-width: 132px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  margin: 0 auto 0 0 !important;
}

.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #2b2d31;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.admin-login-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.admin-login input::placeholder {
  color: #858990;
}

.admin-login-v2 {
  position: relative;
  width: min(392px, 100%);
  margin: 0 auto;
  padding: 24px 22px 22px;
  overflow: hidden;
  border: 1px solid rgba(43, 45, 49, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 70px rgba(31, 33, 38, .14);
  text-align: left;
  backdrop-filter: blur(12px);
}

.admin-login-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 8%, rgba(255, 255, 255, .72), transparent 30%),
    linear-gradient(135deg, rgba(132, 43, 48, .08), transparent 32%, rgba(31, 33, 38, .04));
}

.admin-login-v2>* {
  position: relative;
  z-index: 1;
}

.admin-login-v2 .admin-login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: #30343a;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  justify-content: center;
  margin-bottom: 18px;
}

.admin-login-v2 .admin-login-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.admin-login-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(43, 45, 49, .06);
  text-align: center;
}

.admin-login-v2 h1 {
  margin: 0;
  color: #262a30;
  font-family: "Dancing Script", cursive;
  font-size: 38px;
  font-weight: 500;
  line-height: .95;
}

.admin-login-v2 input {
  width: 100%;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 12px 16px;
  border: 1px solid rgba(43, 45, 49, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: #24282e;
  font-size: 13px;
}

.admin-login-v2 input::placeholder {
  color: #848890;
}

.admin-login-v2 input:focus {
  border-color: rgba(138, 59, 61, .62);
  box-shadow: 0 0 0 4px rgba(138, 59, 61, .1);
}

.admin-login-footer {
  margin-top: 18px;
  text-align: center;
}

.admin-login-v2 .admin-back-link {
  display: inline-flex;
  margin-top: 14px;
  color: #5b6068;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, opacity .2s ease;
  opacity: 0.8;
}

.admin-login-v2 .admin-back-link:hover {
  color: #8a3b3d;
  opacity: 1;
}

.admin-login-v2 .admin-login-heading {
  padding-bottom: 16px;
  padding-top: 4px;
}

.admin-login-v2 .admin-login-footer {
  margin-top: 14px;
}

html.dark-mode body.admin-body,
body.dark-mode.admin-body {
  background: linear-gradient(rgba(31, 33, 38, .9), rgba(31, 33, 38, .95)),
    url("/assets/bg-silk.webp") center top / cover repeat-y;
  color: #f1ede7;
}

html.dark-mode .admin-login-v2,
body.dark-mode .admin-login-v2 {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(35, 37, 42, .88);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}

html.dark-mode .admin-login-v2::before,
body.dark-mode .admin-login-v2::before {
  background: radial-gradient(circle at 20% 8%, rgba(255, 255, 255, .08), transparent 32%),
    linear-gradient(135deg, rgba(207, 141, 134, .1), transparent 36%, rgba(255, 255, 255, .035));
}

html.dark-mode .admin-login-v2 .admin-login-brand,
html.dark-mode .admin-login-v2 h1,
html.dark-mode .admin-login-v2 .admin-login-form label,
html.dark-mode .admin-login-v2 .admin-back-link,
body.dark-mode .admin-login-v2 .admin-login-brand,
body.dark-mode .admin-login-v2 h1,
body.dark-mode .admin-login-v2 .admin-login-form label,
body.dark-mode .admin-login-v2 .admin-back-link {
  color: #f3eee8;
}

html.dark-mode .admin-login-v2 .admin-login-heading,
body.dark-mode .admin-login-v2 .admin-login-heading {
  border-bottom-color: rgba(255, 255, 255, .07);
}

html.dark-mode .admin-login-v2 input,
body.dark-mode .admin-login-v2 input {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  color: #f6f1ec;
}

html.dark-mode .admin-login-v2 input::placeholder,
body.dark-mode .admin-login-v2 input::placeholder {
  color: rgba(246, 241, 236, .56);
}

body.admin-body:not(.admin-dashboard-open) .admin-topbar,
body.admin-body:not(.admin-dashboard-open) .side-menu,
body.admin-body:not(.admin-dashboard-open) .menu-backdrop {
  display: none !important;
}

body.admin-body:not(.admin-dashboard-open) .admin-page {
  padding-top: 14px;
}

body.admin-dashboard-open.admin-body {
  background: #dcdcdc;
}

html.dark-mode body.admin-dashboard-open.admin-body,
body.dark-mode.admin-dashboard-open.admin-body {
  background: #202126;
}

body.admin-dashboard-open .admin-page {
  display: block;
  width: 100%;
  max-width: 390px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  padding-top: 0;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(0, 0, 0, .1);
  background: linear-gradient(rgba(255, 255, 255, .66), rgba(255, 255, 255, .74)),
    var(--silk-background-image, url("/assets/bg-silk.webp")) center top / cover repeat-y;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.admin-body .admin-topbar {
  justify-content: flex-start !important;
  gap: 10px !important;
  padding-right: 11px !important;
  padding-left: 10px !important;
}

.admin-body .admin-topbar .home-cap {
  order: 1 !important;
  width: 36px !important;
  height: 34px !important;
  min-width: 36px !important;
  flex: 0 0 36px !important;
  margin: 0 !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-body .admin-topbar .home-logo {
  width: 28px !important;
  height: 28px !important;
}

.admin-body .admin-topbar .toolbar-title {
  order: 2 !important;
  width: auto !important;
  max-width: 132px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  margin: 0 auto 0 0 !important;
}

.admin-body .admin-topbar .theme-btn {
  order: 3 !important;
  width: 46px !important;
  height: 26px !important;
  min-height: 26px !important;
  flex: 0 0 46px !important;
  margin: 0 4px 0 -4px !important;
}

.admin-body .admin-topbar .floating-music-btn {
  order: 4 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  flex: 0 0 36px !important;
  margin: 0 !important;
}

.admin-body .admin-topbar .menu-btn {
  order: 5 !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px !important;
  margin: 0 !important;
}

.admin-body .admin-page {
  padding-top: 74px;
}

.admin-dashboard-cover {
  width: calc(100% + 48px);
  height: 300px;
  margin: -78px -24px 24px;
  overflow: hidden;
  background: #e7e4df;
}

.admin-dashboard-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 34%;
}

body.dark-mode.admin-dashboard-open .admin-dashboard-cover,
html.dark-mode body.admin-dashboard-open .admin-dashboard-cover {
  background: #2b2d31;
}

.admin-mini-countdown {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 12px;
  align-items: center;
  margin: 10px 0 8px;
}

.admin-mini-time {
  min-height: 44px;
  border: 1px solid rgba(43, 45, 49, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #333841;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 4px;
}

.admin-mini-time span {
  min-width: 28px;
  text-align: center;
}

.admin-mini-time b {
  font-weight: 400;
  letter-spacing: 0;
}

.admin-gift-shortcut,
.admin-invitation-shortcut {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(43, 45, 49, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  color: #22252b;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(43, 45, 49, .08);
}

.admin-gift-shortcut img,
.admin-invitation-shortcut img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(43, 45, 49, .12));
}

.admin-update-form {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.admin-update-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.admin-update-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.admin-update-form label {
  display: grid;
  gap: 7px;
  color: #333841;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-update-form input,
.admin-update-form select,
.admin-update-form textarea {
  min-height: 42px;
  border: 1px solid rgba(43, 45, 49, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  color: #252930;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.admin-update-form textarea {
  border-radius: 14px;
}

.admin-update-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  margin-top: 4px;
  align-items: center;
}

.admin-update-actions .submit-btn,
.admin-update-actions .outline-btn {
  width: 100%;
  margin: 0;
}

.admin-save-message {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #2f6b4f;
  background: rgba(223, 244, 233, .76);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .24s ease, transform .24s ease, padding .24s ease, margin .24s ease;
}

.admin-save-message.show {
  margin-top: 2px;
  padding: 9px 14px;
  opacity: 1;
  transform: translateY(0);
}

body.dark-mode.admin-dashboard-open .admin-save-message,
html.dark-mode body.admin-dashboard-open .admin-save-message {
  background: rgba(89, 130, 108, .24);
  color: #d9f0e2;
}

body.dark-mode.admin-dashboard-open .admin-mini-time,
body.dark-mode.admin-dashboard-open .admin-gift-shortcut,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut,
html.dark-mode body.admin-dashboard-open .admin-mini-time,
html.dark-mode body.admin-dashboard-open .admin-gift-shortcut,
html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #f5efe9;
}

body.dark-mode.admin-dashboard-open .admin-gift-shortcut img,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut img,
html.dark-mode body.admin-dashboard-open .admin-gift-shortcut img,
html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut img {
  filter: brightness(1.08) saturate(1.05) drop-shadow(0 5px 9px rgba(0, 0, 0, .36));
  opacity: .96;
}

body.dark-mode.admin-dashboard-open .admin-gift-shortcut,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut,
html.dark-mode body.admin-dashboard-open .admin-gift-shortcut,
html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 10px 22px rgba(0, 0, 0, .2);
}

body.dark-mode.admin-dashboard-open .admin-update-form label,
html.dark-mode body.admin-dashboard-open .admin-update-form label {
  color: #f5efe9;
}

body.dark-mode.admin-dashboard-open .admin-update-form input,
body.dark-mode.admin-dashboard-open .admin-update-form select,
body.dark-mode.admin-dashboard-open .admin-update-form textarea,
html.dark-mode body.admin-dashboard-open .admin-update-form input,
html.dark-mode body.admin-dashboard-open .admin-update-form select,
html.dark-mode body.admin-dashboard-open .admin-update-form textarea {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  color: #f5efe9;
}

.admin-top .admin-dashboard-name {
  margin: 0;
  color: #2b2d31;
  font-family: "Allura", "Great Vibes", cursive;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
}

.admin-top:has(.admin-dashboard-name) {
  display: block;
  text-align: center;
}

body.dark-mode.admin-dashboard-open .admin-top .admin-dashboard-name,
html.dark-mode body.admin-dashboard-open .admin-top .admin-dashboard-name {
  color: #f2ede7;
}

body.admin-dashboard-open {
  overflow-x: hidden;
  overflow-anchor: none;
}

html:has(body.admin-dashboard-open) {
  overflow-x: hidden;
}

body.admin-dashboard-open .admin-page,
body.admin-dashboard-open .dashboard,
body.admin-dashboard-open .admin-workspace,
body.admin-dashboard-open .admin-panel-viewport {
  overflow-x: hidden;
  overflow-anchor: none;
}

.admin-guestbook-board {
  padding: 2px 4px 0;
  --guestbook-wide: min(352px, calc(100% - 44px));
}

.admin-guest-message {
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(43, 45, 49, .12);
  text-align: left;
  padding-bottom: 11px;
  border-bottom-color: rgba(43, 45, 49, .09);
}

.admin-guest-message:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-guest-message-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-guest-message strong {
  color: #22262d;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-guest-message-head span {
  flex: 0 0 auto;
  color: #cf8d86;
  font-family: "Roboto Condensed", "Oswald", "Be Vietnam Pro", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .15px;
}

.admin-guest-message p {
  margin: 6px 0 4px;
  color: #4d535c;
  font-size: 12.8px;
  line-height: 1.55;
}

.admin-guest-message time {
  color: #90959d;
  font-size: 11px;
  line-height: 1.4;
}

body.dark-mode.admin-dashboard-open .guestbook-board-top p,
html.dark-mode body.admin-dashboard-open .guestbook-board-top p,
body.dark-mode.admin-dashboard-open .admin-guest-message strong,
html.dark-mode body.admin-dashboard-open .admin-guest-message strong {
  color: #f6f0ea;
}

body.dark-mode.admin-dashboard-open .admin-guest-message,
html.dark-mode body.admin-dashboard-open .admin-guest-message {
  border-bottom-color: rgba(255, 255, 255, .1);
}

body.dark-mode.admin-dashboard-open .admin-guest-message p,
html.dark-mode body.admin-dashboard-open .admin-guest-message p {
  color: rgba(245, 239, 233, .74);
}

body.dark-mode.admin-dashboard-open .admin-guest-message time,
html.dark-mode body.admin-dashboard-open .admin-guest-message time {
  color: rgba(245, 239, 233, .48);
}

.admin-guestbook-board.filter-fixed {
  padding-bottom: 66px;
}

.admin-guestbook-board,
.admin-guestbook-board.filter-fixed {
  padding-bottom: 0;
}

body:not(.dark-mode) .mobile-page,
body:not(.dark-mode) .gift-page {
  background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .34)),
    var(--silk-background-image) center top / cover repeat-y;
}

body:not(.dark-mode) .hero-name-section {
  box-shadow: inset 0 -1px 0 rgba(43, 47, 54, .04);
}

body.dark-mode .mobile-page,
body.dark-mode .gift-page,
html.dark-mode .mobile-page,
html.dark-mode .gift-page {
  background: linear-gradient(rgba(32, 33, 38, .42), rgba(32, 33, 38, .54)),
    var(--dark-silk-background-image) center top / cover repeat-y;
}

body.admin-body,
body.admin-dashboard-open.admin-body {
  background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .34)),
    var(--silk-background-image) center top / cover repeat-y;
}

body.admin-body .admin-page,
body.admin-dashboard-open .admin-page,
body.admin-dashboard-open .dashboard {
  background: transparent;
}

html.dark-mode body.admin-body,
body.dark-mode.admin-body,
html.dark-mode body.admin-dashboard-open.admin-body,
body.dark-mode.admin-dashboard-open.admin-body {
  background: #202126;
}

html.dark-mode body.admin-body .admin-page,
body.dark-mode.admin-body .admin-page,
html.dark-mode body.admin-dashboard-open .dashboard,
body.dark-mode.admin-dashboard-open .dashboard {
  background: transparent;
}

.admin-update-actions .submit-btn {
  min-width: 0;
}

html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut,
html.dark-mode body.admin-body .admin-update-back-btn,
body.dark-mode.admin-body .admin-update-back-btn {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .74);
}

html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut img,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut img,
html.dark-mode body.admin-body .admin-update-back-btn img,
body.dark-mode.admin-body .admin-update-back-btn img {
  filter: none;
  opacity: .92;
}

html.dark-mode body.admin-dashboard-open .admin-gift-shortcut,
body.dark-mode.admin-dashboard-open .admin-gift-shortcut,
html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut,
html.dark-mode body.admin-body .admin-update-back-btn,
body.dark-mode.admin-body .admin-update-back-btn {
  border-color: rgba(255, 255, 255, .24);
  background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18),
    0 10px 24px rgba(0, 0, 0, .22);
}

html.dark-mode body.admin-dashboard-open .admin-gift-shortcut img,
body.dark-mode.admin-dashboard-open .admin-gift-shortcut img,
html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut img,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut img,
html.dark-mode body.admin-body .admin-update-back-btn img,
body.dark-mode.admin-body .admin-update-back-btn img {
  filter: invert(1) brightness(1.18) contrast(1.08) drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  opacity: .96;
}

body[data-page="gift"] {
  background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .34)),
    var(--silk-background-image, url("/assets/bg-silk.webp")) center top / cover repeat-y;
}

body[data-page="gift"].dark-mode,
html.dark-mode body[data-page="gift"] {
  background: linear-gradient(rgba(32, 33, 38, .42), rgba(32, 33, 38, .54)),
    var(--dark-silk-background-image, url("/assets/black-bg-silk.webp")) center top / cover repeat-y;
}

.gift-script-name {
  margin: 0 0 12px;
  font-family: "Great Vibes", "Allura", cursive;
  font-size: 44px;
  line-height: .9;
  color: #2d3035;
}

body[data-page="gift"].dark-mode .gift-script-name,
html.dark-mode body[data-page="gift"] .gift-script-name,
body[data-page="gift"].dark-mode .gift-text,
html.dark-mode body[data-page="gift"] .gift-text {
  color: #f5eee7;
}

body.admin-dashboard-open .admin-guestbook-board {
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  --guestbook-control-bg: rgba(255, 255, 255, .58);
  --guestbook-control-border: rgba(43, 45, 49, .09);
  --guestbook-control-shadow: 0 14px 28px rgba(43, 45, 49, .055);
  --guestbook-control-inner: rgba(255, 255, 255, .72);
  --guestbook-control-text: #2c3138;
  --guestbook-control-muted: rgba(44, 49, 56, .52);
  --guestbook-wide: min(392px, calc(100vw - 30px), calc(100% - 10px));
  margin-top: -8px;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .6) !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  /* space between separated cards */
  background: none !important;
}

.admin-menu-user {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3a3d43;
  font-family: "Oswald", "Roboto Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.admin-menu-user-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 1px solid rgba(37, 41, 49, .16);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .72);
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4' stroke='%2333383F' stroke-width='2'/%3E%3Cpath d='M4.5 20c1.25-4.1 4.05-6.15 7.5-6.15S18.25 15.9 19.5 20' stroke='%2333383F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
}

body.dark-mode .admin-menu-user,
html.dark-mode .admin-menu-user {
  color: rgba(255, 255, 255, .9);
}

body.dark-mode .admin-menu-user-icon,
html.dark-mode .admin-menu-user-icon {
  border-color: rgba(255, 255, 255, .18);
  background-color: rgba(255, 255, 255, .08);
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4' stroke='%23F7F0E8' stroke-width='2'/%3E%3Cpath d='M4.5 20c1.25-4.1 4.05-6.15 7.5-6.15S18.25 15.9 19.5 20' stroke='%23F7F0E8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

body.admin-dashboard-open .admin-update-form {
  padding-inline: 2px;
  gap: 16px;
}

body.admin-dashboard-open .admin-update-form input[type="time"],
body.admin-dashboard-open .admin-update-form input[type="date"] {
  padding-right: 34px !important;
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) 50%;
  background-size: 14px 14px;
  color: #2f3236 !important;
  background: rgba(255, 255, 255, .88) !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-form input[type="time"]::-webkit-calendar-picker-indicator,
html.dark-mode body.admin-dashboard-open .admin-update-form input[type="date"]::-webkit-calendar-picker-indicator,
body.dark-mode.admin-dashboard-open .admin-update-form input[type="time"]::-webkit-calendar-picker-indicator,
body.dark-mode.admin-dashboard-open .admin-update-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .78 !important;
  filter: none !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-form input[type="time"],
html.dark-mode body.admin-dashboard-open .admin-update-form input[type="date"],
body.dark-mode.admin-dashboard-open .admin-update-form input[type="time"],
body.dark-mode.admin-dashboard-open .admin-update-form input[type="date"] {
  color-scheme: dark;
  color: #f6f0ea !important;
  -webkit-text-fill-color: #f6f0ea !important;
  background: rgba(255, 255, 255, .07) !important;
}

body.admin-dashboard-open .admin-update-form input[type="time"] {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' stroke='%232b2d31' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' stroke='%232b2d31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: rgba(255, 255, 255, .88) url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' stroke='%232b2d31' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' stroke='%232b2d31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat calc(100% - 18px) 50% / 14px 14px !important;
}

body.admin-dashboard-open .admin-update-form input[type="date"] {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='14' height='13' rx='2' stroke='%232b2d31' stroke-width='2'/%3E%3Cpath d='M8 4v4M16 4v4M5 10h14' stroke='%232b2d31' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background: rgba(255, 255, 255, .88) url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='14' height='13' rx='2' stroke='%232b2d31' stroke-width='2'/%3E%3Cpath d='M8 4v4M16 4v4M5 10h14' stroke='%232b2d31' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat calc(100% - 18px) 50% / 14px 14px !important;
}

body.admin-dashboard-open .admin-update-form input[type="time"]::-webkit-calendar-picker-indicator,
body.admin-dashboard-open .admin-update-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .82 !important;
  cursor: pointer;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  -webkit-appearance: auto !important;
  filter: none !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-form input[type="time"],
body.dark-mode.admin-dashboard-open .admin-update-form input[type="time"] {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' stroke='%23f6f0ea' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' stroke='%23f6f0ea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8' stroke='%23f6f0ea' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' stroke='%23f6f0ea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat calc(100% - 18px) 50% / 14px 14px !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-form input[type="date"],
body.dark-mode.admin-dashboard-open .admin-update-form input[type="date"] {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='14' height='13' rx='2' stroke='%23f6f0ea' stroke-width='2'/%3E%3Cpath d='M8 4v4M16 4v4M5 10h14' stroke='%23f6f0ea' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='14' height='13' rx='2' stroke='%23f6f0ea' stroke-width='2'/%3E%3Cpath d='M8 4v4M16 4v4M5 10h14' stroke='%23f6f0ea' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat calc(100% - 18px) 50% / 14px 14px !important;
}

body.admin-body {
  background: #dcdcdc;
}

html.dark-mode body.admin-dashboard-open .admin-page,
body.dark-mode.admin-dashboard-open .admin-page {
  box-shadow: 0 0 34px rgba(0, 0, 0, .36);
  background: linear-gradient(rgba(32, 33, 38, .42), rgba(32, 33, 38, .54)),
    var(--dark-silk-background-image, url("/assets/black-bg-silk.webp")) center top / cover repeat-y;
}

body.admin-dashboard-open .admin-topbar {
  width: min(390px, 100%) !important;
}

body.admin-dashboard-open .admin-dashboard-cover {
  width: calc(100% + 40px);
  height: 292px;
  margin: -78px -20px 22px;
  border-radius: 0 0 32px 32px !important;
  overflow: hidden !important;
}

html.admin-preserve-scroll {
  scroll-behavior: auto;
}

body.admin-dashboard-open .admin-date-select-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.admin-dashboard-open .admin-update-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: inherit;
  line-height: normal;
  background: rgba(255, 255, 255, .88) url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%232b2d31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) 50% / 14px 14px !important;
}

body.admin-dashboard-open .admin-update-form select option {
  color: #2b2d31;
  background: #fff;
}

html.dark-mode body.admin-dashboard-open .admin-update-form select option,
body.dark-mode.admin-dashboard-open .admin-update-form select option {
  color: #f6f0ea;
  background: #24262b;
}

body.admin-dashboard-open .admin-update-form input[type="time"]::-webkit-calendar-picker-indicator,
body.admin-dashboard-open .admin-update-form input[type="date"]::-webkit-calendar-picker-indicator,
body.admin-dashboard-open .admin-update-form input[type="time"]::-webkit-inner-spin-button,
body.admin-dashboard-open .admin-update-form input[type="date"]::-webkit-inner-spin-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  -webkit-appearance: none !important;
}

body.admin-dashboard-open .admin-update-grid,
body.admin-dashboard-open .admin-update-grid.two {
  gap: 12px;
  align-items: end;
}

body.admin-dashboard-open .admin-update-form label {
  gap: 8px;
  align-content: start;
  color: #343941;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.05px;
  text-align: left;
  text-transform: uppercase;
}

body.admin-dashboard-open .admin-update-form input,
body.admin-dashboard-open .admin-update-form select {
  width: 100%;
  height: 40px;
  min-height: 40px;
  border-radius: 14px;
  padding: 0 14px;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0;
}

body.admin-dashboard-open .admin-update-form textarea {
  width: 100%;
  min-height: 78px;
  border-radius: 14px;
  padding: 13px 14px;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}

body.admin-dashboard-open .admin-update-actions {
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
  display: none !important;
}

body.admin-dashboard-open .admin-update-actions .submit-btn {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  line-height: 34px;
  letter-spacing: .7px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(28, 28, 30, 0.72) !important;
  color: transparent !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
  width: 56px !important;
  position: relative !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1), background-color 0.24s ease !important;
  /* soft dark charcoal in light mode */
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-form label,
body.dark-mode.admin-dashboard-open .admin-update-form label {
  color: #f5efe9;
}

html.dark-mode body.admin-dashboard-open .admin-update-form input,
html.dark-mode body.admin-dashboard-open .admin-update-form select,
html.dark-mode body.admin-dashboard-open .admin-update-form textarea,
body.dark-mode.admin-dashboard-open .admin-update-form input,
body.dark-mode.admin-dashboard-open .admin-update-form select,
body.dark-mode.admin-dashboard-open .admin-update-form textarea {
  border-color: rgba(255, 255, 255, .2);
  background-color: rgba(255, 255, 255, .07);
}

body.admin-dashboard-open .admin-update-actions .submit-btn:hover,
body.admin-dashboard-open .admin-update-actions .submit-btn:focus-visible {
  background: #171a20;
  color: #fff;
}

html.dark-mode body.admin-dashboard-open .admin-update-actions .submit-btn,
body.dark-mode.admin-dashboard-open .admin-update-actions .submit-btn {
  border-color: rgba(0, 0, 0, 0.06) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #202329;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-actions .submit-btn:hover,
html.dark-mode body.admin-dashboard-open .admin-update-actions .submit-btn:focus-visible,
body.dark-mode.admin-dashboard-open .admin-update-actions .submit-btn:hover,
body.dark-mode.admin-dashboard-open .admin-update-actions .submit-btn:focus-visible {
  background: #fff;
  color: #171a20;
}

html.dark-mode body.admin-dashboard-open .admin-update-form select,
body.dark-mode.admin-dashboard-open .admin-update-form select {
  background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23f6f0ea' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) 50% / 14px 14px !important;
}

body.admin-dashboard-open .admin-guest-message {
  position: relative;
  padding: 15px 16px 14px;
  border: 1px solid rgba(43, 45, 49, .1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .48));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55),
    0 10px 22px rgba(43, 45, 49, .04);
  text-align: left;
}

body.admin-dashboard-open .admin-guest-message:last-child {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(43, 45, 49, .1);
}

body.admin-dashboard-open .admin-guest-message-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.admin-dashboard-open .admin-guest-message strong {
  color: #252931;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.28;
}

body.admin-dashboard-open .admin-guest-message p {
  margin: 9px 0 7px;
  color: #4b515a;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13.2px;
  line-height: 1.58;
}

body.admin-dashboard-open .admin-guest-message time {
  display: block;
  color: #8d939b;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11.5px;
  line-height: 1.35;
}

html.dark-mode body.admin-dashboard-open .admin-guest-message,
body.dark-mode.admin-dashboard-open .admin-guest-message {
  border-color: rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .052));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055),
    0 12px 26px rgba(0, 0, 0, .14);
}

html.dark-mode body.admin-dashboard-open .admin-guest-message:last-child,
body.dark-mode.admin-dashboard-open .admin-guest-message:last-child {
  border-bottom-color: rgba(255, 255, 255, .13);
}

html.dark-mode body.admin-dashboard-open .admin-guest-message strong,
body.dark-mode.admin-dashboard-open .admin-guest-message strong {
  color: rgba(255, 250, 246, .95);
}

html.dark-mode body.admin-dashboard-open .admin-guest-message p,
body.dark-mode.admin-dashboard-open .admin-guest-message p {
  color: rgba(245, 238, 231, .82);
}

html.dark-mode body.admin-dashboard-open .admin-guest-message time,
body.dark-mode.admin-dashboard-open .admin-guest-message time {
  color: rgba(245, 238, 231, .58);
}

html.dark-mode body.admin-dashboard-open .admin-guestbook-board,
body.dark-mode.admin-dashboard-open .admin-guestbook-board {
  --guestbook-control-bg: rgba(255, 255, 255, .07);
  --guestbook-control-border: rgba(255, 255, 255, .13);
  --guestbook-control-shadow: 0 16px 30px rgba(0, 0, 0, .18);
  --guestbook-control-inner: rgba(255, 255, 255, .08);
  --guestbook-control-text: rgba(255, 250, 246, .94);
  --guestbook-control-muted: rgba(255, 250, 246, .48);
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(40, 40, 44, .82) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .38) !important;
}

body.admin-dashboard-open .admin-guest-message.is-hidden-message {
  border-style: dashed;
  opacity: .72;
}

body.admin-dashboard-open .admin-guest-message.is-hidden-message::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(-45deg,
      rgba(43, 45, 49, .035) 0,
      rgba(43, 45, 49, .035) 6px,
      transparent 6px,
      transparent 13px);
  pointer-events: none;
}

html.dark-mode body.admin-dashboard-open .admin-guest-message.is-hidden-message::after,
body.dark-mode.admin-dashboard-open .admin-guest-message.is-hidden-message::after {
  background: repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, .035) 0,
      rgba(255, 255, 255, .035) 6px,
      transparent 6px,
      transparent 13px);
}

body.gift-gate-body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .84)),
    var(--silk-background-image) center center / cover scroll;
  color: #2f333a;
  font-family: "Be Vietnam Pro", sans-serif;
}

html.dark-mode body.gift-gate-body,
body.gift-gate-body.dark-mode {
  background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .28)),
    var(--dark-silk-background-image) center center / cover scroll;
  color: rgba(255, 250, 246, .92);
}

.gift-gate-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.gift-gate-card {
  width: min(330px, 100%);
  padding: 28px 18px 22px;
  border: 1px solid rgba(43, 45, 49, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 24px 58px rgba(43, 45, 49, .12);
  text-align: center;
  backdrop-filter: blur(8px);
}

.gift-gate-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 5px 10px rgba(43, 45, 49, .12));
}

.gift-gate-kicker {
  margin: 0 0 8px;
  font-family: "Roboto Condensed", "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(43, 45, 49, .56);
}

.gift-gate-card .gift-script-name {
  margin: 0 auto 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(43, 45, 49, .1);
  font-family: "Great Vibes", cursive;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
  color: #30343a;
}

.gift-gate-text {
  margin: 0 auto 18px;
  max-width: 270px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(43, 45, 49, .72);
}

.gift-gate-countdown {
  min-height: 48px;
  margin: 0 auto 16px;
  padding: 0 18px;
  border: 1px solid rgba(43, 45, 49, .18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Roboto Condensed", "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .12em;
  color: #2f333a;
  background: rgba(255, 255, 255, .38);
}

.gift-gate-countdown b {
  font-weight: 400;
  opacity: .7;
}

.gift-open-link,
.gift-gate-actions a {
  min-height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Roboto Condensed", "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gift-open-link {
  width: 100%;
  margin: 0 0 12px;
  background: #282c34;
  color: #fff;
  box-shadow: 0 14px 26px rgba(43, 45, 49, .18);
}

.gift-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gift-gate-actions a {
  border: 1px solid rgba(43, 45, 49, .14);
  color: #2f333a;
  background: rgba(255, 255, 255, .44);
}

.gift-for-quynh-content {
  margin: 2px 0 18px;
  padding: 22px 14px;
  border-radius: 16px;
  border: 1px solid rgba(43, 45, 49, .09);
  background: rgba(255, 255, 255, .36);
}

.gift-for-quynh-content p {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
}

.gift-for-quynh-content span {
  font-size: 12px;
  color: rgba(43, 45, 49, .62);
}

html.dark-mode .gift-gate-card,
body.gift-gate-body.dark-mode .gift-gate-card {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(31, 33, 38, .74);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

html.dark-mode .gift-gate-kicker,
body.gift-gate-body.dark-mode .gift-gate-kicker {
  color: rgba(255, 250, 246, .58);
}

html.dark-mode .gift-gate-card .gift-script-name,
body.gift-gate-body.dark-mode .gift-gate-card .gift-script-name {
  border-bottom-color: rgba(255, 255, 255, .11);
  color: rgba(255, 250, 246, .94);
}

html.dark-mode .gift-gate-text,
body.gift-gate-body.dark-mode .gift-gate-text,
html.dark-mode .gift-for-quynh-content span,
body.gift-gate-body.dark-mode .gift-for-quynh-content span {
  color: rgba(255, 250, 246, .72);
}

html.dark-mode .gift-gate-countdown,
body.gift-gate-body.dark-mode .gift-gate-countdown,
html.dark-mode .gift-gate-actions a,
body.gift-gate-body.dark-mode .gift-gate-actions a,
html.dark-mode .gift-for-quynh-content,
body.gift-gate-body.dark-mode .gift-for-quynh-content {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 250, 246, .92);
}

html.dark-mode .gift-open-link,
body.gift-gate-body.dark-mode .gift-open-link {
  background: rgba(255, 250, 246, .9);
  color: #23262d;
}

body[data-page="index"] .date-text {
  animation: indexSoftRise 760ms 300ms cubic-bezier(.2, .8, .2, 1) both;
}

body[data-page="index"] .hero-name-section {
  animation: indexNameFloat 900ms 260ms cubic-bezier(.2, .8, .2, 1) both;
  padding-top: 26px !important;
  padding-bottom: 12px !important;
}

body[data-page="index"].index-reveal-ready .reveal-item {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 560ms cubic-bezier(.2, .8, .2, 1),
    transform 560ms cubic-bezier(.2, .8, .2, 1);
}

body[data-page="index"].index-reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body[data-page="index"] .outline-btn,
body[data-page="index"] .submit-btn,
body[data-page="index"] .guest-form input,
body[data-page="index"] .guest-form textarea,
body[data-page="index"] .guest-form select,
body[data-page="index"] .time-box {
  transition: border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    opacity 220ms ease,
    transform 180ms ease;
}

body[data-page="index"] .outline-btn:hover,
body[data-page="index"] .outline-btn:focus-visible,
body[data-page="index"] .submit-btn:hover,
body[data-page="index"] .submit-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(34, 37, 43, .12);
}

body[data-page="index"] .outline-btn:active,
body[data-page="index"] .submit-btn:active {
  transform: translateY(0) scale(.985);
}

.admin-media-settings {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(47, 50, 56, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .42);
}

.admin-media-head {
  display: grid;
  gap: 4px;
  margin-bottom: 2px;
}

.admin-media-head h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: #2f3339;
}

.admin-media-head p,
.admin-media-status {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(47, 51, 57, .62);
}

.admin-media-picker {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 7px !important;
  margin: 0 !important;
}

.admin-media-picker span {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: rgba(47, 51, 57, .82);
}

.admin-media-picker input[type="file"] {
  min-height: 38px;
  padding: 8px 12px;
  cursor: pointer;
}

.admin-media-picker input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #252932;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.admin-media-status.show {
  color: #2f3339;
}

.admin-media-status.error {
  color: #b8655c;
}

html.dark-mode .admin-media-settings,
body.dark-mode .admin-media-settings {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .07);
}

html.dark-mode .admin-media-head h3,
html.dark-mode .admin-media-picker span,
html.dark-mode .admin-media-status.show,
body.dark-mode .admin-media-head h3,
body.dark-mode .admin-media-picker span,
body.dark-mode .admin-media-status.show {
  color: rgba(255, 255, 255, .9);
}

html.dark-mode .admin-media-head p,
body.dark-mode .admin-media-head p {
  color: rgba(255, 255, 255, .58);
}

html.dark-mode .admin-media-picker input[type="file"]::file-selector-button,
body.dark-mode .admin-media-picker input[type="file"]::file-selector-button {
  background: rgba(255, 255, 255, .9);
  color: #202329;
}

.admin-update-form .admin-media-settings {
  gap: 14px;
  padding: 20px 16px 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .44));
  position: relative;
  margin-top: 18px;
  border: 1px solid rgba(47, 51, 57, .13);
  box-shadow: 0 18px 42px rgba(32, 34, 38, .06),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.admin-update-form .admin-media-head {
  justify-items: center;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 0;
  text-align: center;
  margin-bottom: 14px;
}

.admin-update-form .admin-media-head h3 {
  font-size: 15px;
  letter-spacing: 1.25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #30343a;
  line-height: 1.5;
  text-shadow: none;
}

.admin-update-form .admin-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
  align-items: start;
}

.admin-update-form .admin-media-picker {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px !important;
  min-width: 0;
  text-align: center;
  padding: 0;
}

.admin-update-form .admin-media-picker p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  line-height: 1.25;
  color: rgba(47, 51, 57, .76);
  min-height: 20px;
}

.admin-update-form .admin-media-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(78px, 23vw, 92px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(47, 51, 57, .18);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, .76), transparent 42%),
    rgba(47, 51, 57, .08);
  box-shadow: 0 10px 22px rgba(32, 34, 38, .08),
    inset 0 0 0 4px rgba(255, 255, 255, .68);
  cursor: pointer;
  overflow: hidden;
}

.admin-update-form .admin-media-preview img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.admin-update-form .admin-media-picker.has-image .admin-media-preview img {
  display: block;
}

.admin-update-form .admin-media-placeholder {
  position: relative;
  width: 30px;
  height: 24px;
  border: 3px solid rgba(47, 51, 57, .38);
  border-radius: 5px;
}

.admin-update-form .admin-media-placeholder::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border: 2px solid rgba(47, 51, 57, .38);
  border-radius: 50%;
}

.admin-update-form .admin-media-placeholder::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 10px;
  background: linear-gradient(135deg, transparent 0 32%, rgba(47, 51, 57, .38) 33% 54%, transparent 55%),
    linear-gradient(45deg, transparent 0 38%, rgba(47, 51, 57, .38) 39% 63%, transparent 64%);
}

.admin-update-form .admin-media-picker.has-image .admin-media-placeholder {
  display: none;
}

.admin-update-form .admin-media-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid #ff4f8a;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  color: #30343a;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border-color: rgba(47, 51, 57, .28);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(32, 34, 38, .05);
}

.admin-update-form .admin-media-clear {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(184, 93, 103, .86);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.admin-update-form .admin-media-picker.has-pending .admin-media-clear:not([hidden]) {
  display: inline-flex;
}

.admin-update-form .admin-media-clear[hidden] {
  display: none;
}

.admin-update-form .admin-media-picker input[type="file"] {
  display: none !important;
}

.admin-update-form .admin-media-picker small {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(47, 51, 57, .42);
  margin-top: -1px;
  font-family: "Be Vietnam Pro", sans-serif;
  letter-spacing: .1px;
}

.admin-update-form .admin-media-status {
  min-height: 18px;
  text-align: center;
  margin-top: -2px;
  color: rgba(47, 51, 57, .62);
}

html.dark-mode .admin-update-form .admin-media-settings,
body.dark-mode .admin-update-form .admin-media-settings {
  background: linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .055));
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

html.dark-mode .admin-update-form .admin-media-picker p,
body.dark-mode .admin-update-form .admin-media-picker p {
  color: rgba(255, 255, 255, .76);
}

html.dark-mode .admin-update-form .admin-media-preview,
body.dark-mode .admin-update-form .admin-media-preview {
  border-color: rgba(255, 255, 255, .18);
  background: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, .16), transparent 44%),
    rgba(255, 255, 255, .08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22),
    inset 0 0 0 4px rgba(255, 255, 255, .06);
}

html.dark-mode .admin-update-form .admin-media-placeholder,
html.dark-mode .admin-update-form .admin-media-placeholder::before,
body.dark-mode .admin-update-form .admin-media-placeholder,
body.dark-mode .admin-update-form .admin-media-placeholder::before {
  border-color: rgba(255, 255, 255, .45);
}

html.dark-mode .admin-update-form .admin-media-placeholder::after,
body.dark-mode .admin-update-form .admin-media-placeholder::after {
  background: linear-gradient(135deg, transparent 0 32%, rgba(255, 255, 255, .45) 33% 54%, transparent 55%),
    linear-gradient(45deg, transparent 0 38%, rgba(255, 255, 255, .45) 39% 63%, transparent 64%);
}

html.dark-mode .admin-update-form .admin-media-upload-btn,
body.dark-mode .admin-update-form .admin-media-upload-btn {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: none;
}

html.dark-mode .admin-update-form .admin-media-clear,
body.dark-mode .admin-update-form .admin-media-clear {
  color: #ffb7cc;
}

html.dark-mode .admin-update-form .admin-media-picker small,
body.dark-mode .admin-update-form .admin-media-picker small {
  color: rgba(255, 255, 255, .48);
}

.admin-update-form .admin-media-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(142px, 52%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(47, 51, 57, .28), transparent);
  display: none !important;
}

.admin-update-form .admin-media-preview:hover,
.admin-update-form .admin-media-preview:focus-within {
  border-color: rgba(47, 51, 57, .34);
  box-shadow: 0 14px 28px rgba(32, 34, 38, .11),
    inset 0 0 0 4px rgba(255, 255, 255, .74);
}

.admin-update-form .admin-media-upload-btn:hover {
  border-color: rgba(201, 131, 124, .64);
  color: #b66f69;
}

html.dark-mode .admin-update-form .admin-media-head::after,
body.dark-mode .admin-update-form .admin-media-head::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
}

html.dark-mode .admin-update-form .admin-media-head h3,
body.dark-mode .admin-update-form .admin-media-head h3 {
  background: rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .9);
}

html.dark-mode .admin-update-form .admin-media-upload-btn:hover,
body.dark-mode .admin-update-form .admin-media-upload-btn:hover {
  border-color: rgba(255, 215, 221, .42);
  color: #ffd7dd;
}

html.dark-mode .admin-update-form .admin-media-picker small,
html.dark-mode .admin-update-form .admin-media-status,
body.dark-mode .admin-update-form .admin-media-picker small,
body.dark-mode .admin-update-form .admin-media-status {
  color: rgba(255, 255, 255, .52);
}

.admin-update-form .admin-music-settings {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(47, 51, 57, .12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .56));
  box-shadow: 0 16px 34px rgba(32, 34, 38, .07),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  margin: 14px 0 16px;
}

.admin-update-form .admin-music-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-update-form .admin-music-copy span {
  color: rgba(47, 51, 57, .58);
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.admin-update-form .admin-music-copy strong {
  overflow: hidden;
  color: #2f3339;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-update-form .admin-music-copy small {
  color: rgba(47, 51, 57, .44);
  font-size: 10px;
  letter-spacing: .25px;
}

.admin-update-form .admin-music-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-update-form .admin-music-upload-btn,
.admin-update-form .admin-music-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-update-form .admin-music-upload-btn {
  padding: 0 15px;
  border: 1px solid rgba(47, 51, 57, .18);
  background: #252932;
  color: #fff;
  box-shadow: 0 10px 22px rgba(32, 34, 38, .12);
  min-width: 86px;
  min-height: 36px;
  border-radius: 999px;
}

.admin-update-form .admin-music-clear {
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: rgba(184, 93, 103, .88);
  min-height: 32px;
}

.admin-update-form .admin-music-clear[hidden],
.admin-update-form .admin-music-settings input[type="file"] {
  display: none !important;
}

html.dark-mode .admin-update-form .admin-music-settings,
body.dark-mode .admin-update-form .admin-music-settings {
  border-color: rgba(255, 255, 255, .14);
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .11);
}

html.dark-mode .admin-update-form .admin-music-copy span,
html.dark-mode .admin-update-form .admin-music-copy small,
body.dark-mode .admin-update-form .admin-music-copy span,
body.dark-mode .admin-update-form .admin-music-copy small {
  color: rgba(255, 255, 255, .56);
}

html.dark-mode .admin-update-form .admin-music-copy strong,
body.dark-mode .admin-update-form .admin-music-copy strong {
  color: rgba(255, 255, 255, .92);
}

html.dark-mode .admin-update-form .admin-music-upload-btn,
body.dark-mode .admin-update-form .admin-music-upload-btn {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .9);
  color: #202329;
  box-shadow: none;
}

html.dark-mode .admin-update-form .admin-music-clear,
body.dark-mode .admin-update-form .admin-music-clear {
  color: #ffd7dd;
}

img[data-invitation-media] {
  opacity: 0;
  transition: opacity .22s ease;
}

img[data-invitation-media].media-loaded {
  opacity: 1;
}

.hero-section,
.guestbook-hero,
.thank-section,
.admin-dashboard-cover {
  background-color: rgba(245, 244, 241, .58);
}

html.dark-mode .hero-section,
html.dark-mode .guestbook-hero,
html.dark-mode .thank-section,
html.dark-mode .admin-dashboard-cover,
body.dark-mode .hero-section,
body.dark-mode .guestbook-hero,
body.dark-mode .thank-section,
body.dark-mode .admin-dashboard-cover {
  background-color: rgba(255, 255, 255, .05);
}

.admin-update-form .admin-music-settings::before {
  content: "♪";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(47, 51, 57, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #2f3339;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(32, 34, 38, .06);
}

body.admin-dashboard-open .admin-update-form label.admin-music-upload-btn,
.admin-update-form label.admin-music-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-family: "Oswald", "Roboto Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.admin-update-form .admin-music-settings.has-pending {
  border-color: rgba(201, 131, 124, .36);
  box-shadow: 0 16px 34px rgba(32, 34, 38, .07),
    0 0 0 4px rgba(201, 131, 124, .08),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.admin-update-form .admin-music-settings+.admin-media-settings {
  margin-top: 16px;
}

html.dark-mode .admin-update-form .admin-music-settings::before,
body.dark-mode .admin-update-form .admin-music-settings::before {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .92);
  box-shadow: none;
}

html.dark-mode body.admin-dashboard-open .admin-update-form label.admin-music-upload-btn,
body.dark-mode.admin-dashboard-open .admin-update-form label.admin-music-upload-btn,
html.dark-mode .admin-update-form label.admin-music-upload-btn,
body.dark-mode .admin-update-form label.admin-music-upload-btn {
  color: #202329 !important;
  -webkit-text-fill-color: #202329;
}

html.dark-mode .admin-update-form .admin-music-settings.has-pending,
body.dark-mode .admin-update-form .admin-music-settings.has-pending {
  border-color: rgba(255, 215, 221, .24);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24),
    0 0 0 4px rgba(255, 215, 221, .055),
    inset 0 1px 0 rgba(255, 255, 255, .11);
}

body.admin-dashboard-open .admin-dashboard-cover img {
  border-radius: 0 0 32px 32px !important;
}

html.dark-mode body.admin-dashboard-open .admin-guestbook-board,
body.dark-mode.admin-dashboard-open .admin-guestbook-board,
html:not(.dark-mode) body.admin-dashboard-open .admin-guestbook-board,
body:not(.dark-mode).admin-dashboard-open .admin-guestbook-board {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-width: 0 !important;
  box-shadow: none !important;
}

html.dark-mode body.admin-dashboard-open .admin-mini-time,
body.dark-mode.admin-dashboard-open .admin-mini-time {
  background: #1c1c1e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 12px rgba(0, 0, 0, .2) !important;
}

html.dark-mode body.admin-dashboard-open .admin-gift-shortcut,
html.dark-mode body.admin-dashboard-open .admin-invitation-shortcut,
body.dark-mode.admin-dashboard-open .admin-gift-shortcut,
body.dark-mode.admin-dashboard-open .admin-invitation-shortcut {
  background: #1c1c1e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 12px rgba(0, 0, 0, .2) !important;
}

body.admin-dashboard-open .admin-mini-countdown {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 auto 20px !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open .admin-mini-time {
  flex: 1 1 auto !important;
  height: 52px !important;
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open .admin-mini-time span {
  min-width: 28px !important;
  text-align: center !important;
  display: inline-block !important;
}

body.admin-dashboard-open .admin-gift-shortcut,
body.admin-dashboard-open .admin-invitation-shortcut {
  width: 52px !important;
  min-width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open .admin-gift-shortcut img,
body.admin-dashboard-open .admin-invitation-shortcut img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

body.admin-dashboard-open .admin-update-actions .submit-btn::before {
  content: "" !important;
  width: 22px !important;
  height: 22px !important;
  background-image: url("/assets/icons/save.svg") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  display: block !important;
  filter: invert(1) brightness(2) !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
}

body.admin-dashboard-open .admin-update-actions .submit-btn:hover {
  transform: scale(1.08) !important;
  background: rgba(28, 28, 30, 0.82) !important;
}

body.admin-dashboard-open .admin-update-actions .submit-btn:active {
  transform: scale(0.92) !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-actions .submit-btn::before,
body.dark-mode.admin-dashboard-open .admin-update-actions .submit-btn::before {
  background-image: url("/assets/icons/save.svg") !important;
  filter: none !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-actions .submit-btn:hover,
body.dark-mode.admin-dashboard-open .admin-update-actions .submit-btn:hover {
  background: rgba(255, 255, 255, 0.82) !important;
}

body.admin-dashboard-open .admin-update-actions .admin-save-message {
  position: fixed !important;
  bottom: 132px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100vw - 48px) !important;
  max-width: 360px !important;
  z-index: 2000 !important;
  text-align: center !important;
  pointer-events: none !important;
  margin: 0 !important;
  top: -80px !important;
  /* start off-screen */
  bottom: auto !important;
  /* stack on top of all elements including topbar */
  text-align: center !important;
  opacity: 0 !important;
  padding: 12px 20px !important;
  border-radius: 16px !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  /* light mode style */
  background: rgba(244, 252, 247, 0.92) !important;
  color: #1b5e20 !important;
  border: 1px solid rgba(27, 94, 32, 0.14) !important;
}

body.admin-dashboard-open .admin-update-actions .admin-save-message.show {
  transform: translateX(-50%) translateY(0) !important;
  top: 74px !important;
  opacity: 1 !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-actions .admin-save-message,
body.dark-mode.admin-dashboard-open .admin-update-actions .admin-save-message {
  background: rgba(30, 41, 35, 0.92) !important;
  /* soft dark forest green */
  border-color: rgba(89, 130, 108, 0.28) !important;
  color: #d9f0e2 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

body .hero-name-section,
body.dark-mode .hero-name-section,
html.dark-mode .hero-name-section {
  border: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.welcome-date {
  font-size: 13.5px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
}

body:not(.dark-mode) .welcome-date {
  color: rgba(43, 45, 49, 0.8);
}

body[data-page="index"] .welcome-date {
  font-size: 13px !important;
  letter-spacing: 4px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 48px !important;
}

body:not(.dark-mode)[data-page="index"] .welcome-date {
  color: rgba(43, 45, 49, 0.6) !important;
}

body[data-page="index"] .hero-name-section .hero-name,
body[data-page="index"] .hero-name-section .signature.hero-name,
body[data-page="index"] .hero-name {
  font-family: "Great Vibes", cursive !important;
}

.admin-login-heading h1,
.admin-login h1,
.admin-dashboard-name,
.admin-top h1,
.gift-script-name,
.gift-gate-card .gift-script-name {
  font-family: "Great Vibes", cursive !important;
}

body[data-page="index"] .topbar {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease !important;
}

.floating-music-btn::before,
.floating-music-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
  pointer-events: none;
  opacity: 0;
  transform: scale(1);
  box-sizing: border-box;
  z-index: 1 !important;
}

body:not(.dark-mode) .floating-music-btn::before,
body:not(.dark-mode) .floating-music-btn::after {
  border-color: rgba(43, 45, 49, 0.18) !important;
  background: transparent !important;
}

.floating-music-btn.playing::before {
  animation: music-ripple 2.4s infinite cubic-bezier(0.1, 0.8, 0.2, 1);
}

.floating-music-btn.playing::after {
  animation: music-ripple 2.4s infinite cubic-bezier(0.1, 0.8, 0.2, 1) 1.2s;
}

@media(max-width:520px) {
.floating-music-btn {
    left: auto;
    right: 8px;
  }

.admin-page {
    padding: 18px;
  }

.admin-login {
    margin: 40px auto;
    padding: 28px 20px 24px;
  }

.admin-top {
    display: block;
  }

.admin-top-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

.section {
    padding-left: 20px;
    padding-right: 20px;
  }

.address {
    white-space: normal;
  }

.mobile-page,
  .gift-page {
    max-width: 100%;
  }

.menu-btn {
    left: 12px;
  }

.topbar {
    width: 100%;
  }

.admin-login h1 {
    font-size: 48px;
  }

.admin-login-v2 {
    width: min(366px, 100%);
    padding: 22px 18px 20px;
    border-radius: 16px;
  }

.admin-login-v2 h1 {
    font-size: 44px;
  }

.admin-dashboard-cover {
    width: calc(100% + 44px);
    height: 292px;
    margin: -78px -22px 22px;
  }
}

@media(max-width:390px) {
.hero-name {
    font-size: 44px;
  }

.event-map-btn {
    min-width: 164px;
    min-height: 46px;
    font-size: 13px;
  }

.hero-name-section {
    padding-top: 13px;
    padding-bottom: 8px;
  }

.topbar {
    gap: 9px !important;
    padding-right: 9px !important;
    padding-left: 9px !important;
  }

.toolbar-title {
    max-width: 118px;
    flex-basis: 142px;
    width: 142px;
  }

.topbar .theme-btn {
    margin-right: 6px;
  }

.admin-body .admin-topbar {
    gap: 9px !important;
    padding-right: 9px !important;
    padding-left: 9px !important;
  }

.admin-update-grid,
  .admin-update-grid.two {
    gap: 8px;
  }

.admin-top .admin-dashboard-name {
    font-size: 48px;
  }

.admin-guestbook-board {
    padding-inline: 2px;
    --guestbook-wide: min(342px, calc(100% - 36px));
  }
}

@media(min-width:521px) {
body.admin-dashboard-open .admin-topbar {
    width: min(478px, 100%) !important;
  }

body.admin-dashboard-open .admin-page {
    max-width: 478px;
  }

body.admin-dashboard-open .admin-dashboard-cover {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
  }
}

@media (max-width: 360px) {
.admin-update-actions {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
  }

.admin-update-back-btn {
    width: 42px;
    height: 42px;
  }

.admin-update-back-btn img {
    width: 23px;
    height: 23px;
  }

body.admin-dashboard-open .admin-update-grid,
  body.admin-dashboard-open .admin-update-grid.two {
    gap: 9px;
  }

body.admin-dashboard-open .admin-update-form input,
  body.admin-dashboard-open .admin-update-form select {
    font-size: 12.5px;
    padding-left: 12px;
  }

.gift-gate-card {
    padding: 24px 14px 18px;
  }

.gift-gate-countdown {
    gap: 8px;
    padding: 0 14px;
    font-size: 22px;
  }

.gift-gate-actions {
    grid-template-columns: 1fr;
  }

.admin-update-form .admin-media-settings {
    padding-inline: 12px;
  }

.admin-update-form .admin-media-grid {
    gap: 16px 10px;
  }

.admin-update-form .admin-media-upload-btn {
    padding-inline: 10px;
    font-size: 10px;
  }

.admin-update-form .admin-music-settings {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    justify-items: start;
    padding: 12px;
  }

.admin-update-form .admin-music-settings::before {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

.admin-update-form .admin-music-upload-btn {
    min-width: 78px;
    padding-inline: 12px;
  }
}

@media (max-width: 390px) {
body.admin-dashboard-open .admin-guestbook-board {
    width: min(356px, calc(100% - 12px));
    --guestbook-wide: min(362px, calc(100vw - 24px), calc(100% - 8px));
    margin-top: -6px;
  }

.gift-state {
    padding-inline: 16px;
    gap: 16px;
  }

.gift-hero-card {
    min-height: 260px;
    margin-inline: -16px;
  }

.gift-hero-photo {
    min-height: 260px;
  }

.gift-hero-copy h1 {
    font-size: 47px;
  }

.gift-content-card {
    padding: 22px 18px 20px;
  }

.gift-script-name {
    font-size: 41px;
  }

body.admin-dashboard-open .admin-guest-message {
    padding: 14px 14px 13px;
    border-radius: 18px;
  }

body.admin-dashboard-open .admin-guest-message strong {
    font-size: 14px;
  }

body.admin-dashboard-open .admin-guest-message p {
    font-size: 13px;
  }

body.admin-dashboard-open .admin-mini-countdown {
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

body.admin-dashboard-open .admin-mini-time {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 15.5px !important;
  }

body.admin-dashboard-open .admin-gift-shortcut,
  body.admin-dashboard-open .admin-invitation-shortcut {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
  }

body.admin-dashboard-open .admin-gift-shortcut img,
  body.admin-dashboard-open .admin-invitation-shortcut img {
    width: 22px !important;
    height: 22px !important;
  }
}

@media (min-width: 520px) {
body.admin-dashboard-open .admin-update-actions .admin-save-message {
    bottom: 116px !important;
    padding: 10px 16px !important;
    font-size: 12.5px !important;
  }

body.admin-dashboard-open .admin-update-actions .admin-save-message.show {
    top: 68px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
body[data-page="index"] .hero-section,
  body[data-page="index"] .hero-img,
  body[data-page="index"] .hero-ceremony-img,
  body[data-page="index"] .date-text,
  body[data-page="index"] .hero-name-section,
  body[data-page="index"].index-reveal-ready .reveal-item,
  body[data-page="index"].index-reveal-ready .event-info-section .event-side,
  body[data-page="index"].index-reveal-ready .event-info-section .event-date-core,
  body[data-page="index"].index-reveal-ready .event-info-section .event-location-block,
  body[data-page="index"].index-reveal-ready .guestbook-section .guestbook-hero,
  body[data-page="index"].index-reveal-ready .guestbook-section .guest-form,
  body[data-page="index"].index-reveal-ready .countdown-section .time-title,
  body[data-page="index"].index-reveal-ready .countdown-section .time-box,
  body[data-page="index"].index-reveal-ready .thank-section img,
  body[data-page="index"].index-reveal-ready .thank-section .thank-overlay h2,
  body[data-page="index"] .countdown-section.is-visible .time-box::after {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

img[data-invitation-media] {
    transition: none;
  }
}

@media (max-width: 520px) {
body.admin-dashboard-open .admin-page {
    max-width: 100%;
    box-shadow: none;
  }

body.admin-dashboard-open .admin-topbar {
    width: 100% !important;
  }
}

