/* Highly Optimized and Deduplicated CSS */

/* Graduation Invitation v3 - Pham Nhu Quynh */

/* Sample reference redesign */

/* Screenshot-match tuning */

/* Readability contrast pass */

/* Direction CTA pulse */

@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);
  }
}

/* Hero title closer to reference */

/* Three-cell translucent hero toolbar */

/* White silk page background */

/* Polished slide menu */

/* Condensed uppercase labels like the reference */

/* Balanced hero typography */

/* Name script inspired by the reference invitation */

/* Date and location block closer to reference */

/* Reference-style date triplet */

/* Stronger direction link contrast */

/* Event time and location block inspired by the reference */

/* Reference-style stacked lines around weekday and time */

/* Final calibration against the reference date layout */

/* Match the event info typography to the "QUAN TRONG" label */

/* Refined date block: closer to the soft serif reference */

/* Polished rhythm for the name, quote, time and location area */

/* Guestbook header redesigned to match the reference */

/* Countdown frame like the reference */

/* Countdown dark/light calibration */

/* Softer countdown redesign */

/* Simple hamburger menu icon */

/* Final hamburger normalization */

/* State-aware hamburger color and alignment */

/* Restore circular menu button */

/* Final toolbar layout order */

/* Final toolbar placement: boxed logo and menu at the far right */

/* Final menu button without circular frame */

/* Remove the extra circular frame from the menu button */

/* Toolbar button order adjustment */

/* Absolute final name color fix */

/* Keep the main name visually consistent with the rest of the invitation text */

/* Absolute final toolbar placement */

/* Final menu button shape */

/* Final toolbar layout order */

/* EOF name color consistency fix */

/* EOF toolbar stability fix: lock button order and spacing */

/* Admin login redesign */

/* Admin login: clean auth actions and inherited theme */

/* Admin login title and button polish */

/* Admin dashboard canvas: remove outer dark frame after login */

/* Admin topbar: mirror public invitation toolbar */

/* Admin dashboard cover image */

/* Admin dashboard tabs and update form */

/* Event time balance: shared by index and admin preview */

/* Dark mode polish: keep the gift shortcut clean and visible */

/* Admin dashboard greeting name */

/* Admin tab polish: sliding pill indicator */

/* Admin tabs as touch-follow overlay panels */

/* Admin guestbook redesign: fixed scroll frame, filters and sorting */

/* Fix: keep admin guestbook icons readable in dark mode */

/* Polish: admin guestbook board balance and visual hierarchy */

/* Trim: avoid unnecessary empty space under the final admin controls */

/* Final: fixed guestbook frame, no dynamic stretching */

/* Update tab: keep room for the save confirmation near the bottom */

/* Admin login: centered standalone logo */

/* Silk background: prefer optimized WebP, keep JPG fallback for older browsers */

@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"));
  }
}

/* Admin guestbook: place status filters above the message frame */

/* Admin guestbook: sort button beside the compact status filter */

/* Admin guestbook: widen the list area to match the marked layout */

/* Admin guestbook: make the board title visually stronger than filters */

/* Admin guestbook: let the message frame grow with content instead of inner scrolling */

/* Admin page: match the invitation silk background in light and dark mode */

/* Admin update: quick return button beside save action */

/* Dark mode: keep Back to invitation readable on the black silk background */

/* Dark mode refinement: make Back to invitation match the soft glass controls */

/* Admin guestbook controls: title centered, Messages and Sort flank the filters */

/* Admin guestbook final spacing pass: calmer hierarchy and better touch rhythm */

/* Admin guestbook spacing requested: more air below tabs and title */

/* Gift page v2: private, soft, and aligned with invitation/admin */

/* Admin guestbook final width tuning before release */

/* Gift page: smaller photo and title outside the image */

/* Admin menu: show the signed-in account in the drawer heading */

/* Admin tabs: smoother snap and touch-follow indicator */

/* Admin update dark controls: readable native icons and unclipped input edges */

/* Final admin update preview alignment: keep it identical to the public event block */

/* Admin update native date/time icons: replace browser-black icons with theme-aware SVGs */

/* Emergency picker icon fix: prevent SVG icons from tiling inside date/time inputs */

/* Admin update preview: visually match the public invitation event block */

/* Admin update preview: match the public invitation event layout */

/* Admin desktop canvas: match the public invitation frame */

/* Admin guestbook filter: preserve scroll and soften content changes */

/* Admin guestbook: reserve soft bottom space so filtering shorter lists does not clamp scroll upward */

/* Admin update: ordered date dropdowns and readable native icons in dark mode */

/* Final admin update preview alignment: keep it visually synced with index.html */

/* Final native picker icon fix: keep date/time icons readable in dark update forms */

/* Final emergency picker icon fix: no tiled browser icons in admin update */

/* Keep date/time text visible after replacing native picker icons */

/* Final decision: remove unreliable native date/time icons in admin update */

/* Restore browser-native date/time picker icons for reliability */

/* Admin update form polish: align labels, fields and action controls */

/* Admin update final polish: stronger save button and reliable select arrows */

/* Admin guestbook cards restore: individual message blocks */

/* Admin guestbook control header: unified title, filters and sort */

/* Admin guestbook control header refinement: keep one clean enclosing frame */

/* Index hero final crop: keep the opening photo square and compact */

/* Admin guestbook moderation: hide/show message controls */

/* Admin guestbook archive: hidden message drawer */

/* Admin guestbook moderation polish: keep hide/archive controls secondary */

/* Admin guestbook moderation: reveal hide action only after long press */

/* Gift gate: minimal protected entry and blank future gift page */

/* Index motion polish: subtle invitation-style reveal effects */

@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%);
  }
}

/* Index motion performance pass: keep scroll reveal light on mobile */

/* Admin media upload: Supabase image processing */

/* Admin media upload: preview cards before saving */

/* Admin update media manager: polished compact cards */

/* Admin update music picker */

/* Dynamic Supabase media: avoid flashing old bundled photos */

/* Admin update: music card placement and media title polish */

/* Admin update: unified form system */

/* Admin update: refined music card */

/* --- Overall form spacing --- */

/* --- Graduation Info Card --- */

/* Fields inside event card */

/* Wrap inner content in padding */

/* --- Input / select / textarea redesign --- */

/* time inputs: show icon cleanly */

/* --- Music Settings Card --- */

/* --- Photo Grid Card --- */

/* --- Gift Unlock Card --- */

/* --- Save Button + Status --- */

/* --- Dark mode overrides for redesign --- */

/* Admin update: prevent dark-mode form overflow on narrow screens */

/* Admin update: graduation details card */

/* Admin tabs: align Update content with Guestbook content */

/* Admin guestbook: make the control card match the message cards */

/* Admin guestbook: wider, balanced control and message cards */

/* Admin tabs: lift guestbook content slightly to align with Update panel */

/* Admin update: show music settings before ceremony details */

/* Admin update: image card icon uploader */

/* Admin update: invitation image card polish */

/* Admin update: refine media action icon alignment */

/* Admin update: clearer music file metadata */

/* Admin update: give ceremony card title more breathing room */

/* Admin update: stronger media picker labels */

/* Admin update: cleaner two-line music card */

/* Admin update: ceremony card title pill */

/* Admin update: media card title pill and compact labels */

/* Admin update: gift unlock card title pill */

/* Admin update: music card title pill */

/* Admin update: center music card title like other section cards */

/* Admin update: use music icon as upload action */

/* Admin update: clearer active music file copy */

/* Admin update: music copy order and icon centering */

/* Admin update: final music card file pill */

/* === Music card: clean 3-col horizontal layout === */

/* === Event settings card === */

/* === Media settings card === */

/* === Gift unlock card === */

/* === Save button + back button === */

/* === Dark mode === */

/* Card backgrounds: darker, more opaque */

/* Section header separators */

/* Section header pills */

/* Field labels � clearly visible */

/* Input fields � dark background, clear text */

/* Music card icon */

/* Music upload/clear buttons */

/* Media upload button */

/* Picker item: column layout, label on top */

/* Control wrapper: position relative for overlay button */

/* Preview label: rounded rect, fills width, fixed aspect ratio */

/* The actual image inside preview */

/* Placeholder (shown when no image) */

/* Upload button: small circle overlaid at center of preview */

/* Clear button: same style, overlaid */

/* Grid for 4 pickers: 2 columns */

/* Light mode overrides for media picker */

/* MEDIA PICKER � Square preview fix */

/* MEDIA PICKER � Hide status message + remove preview border glow */

/* "Nh?c n?n" floating pill at top center */

/* File pill: icon + filename row */

/* Music icon button inside pill */

/* Music copy: filename text */

/* Actions column: circular button */

/* Light mode variant */

/* === HEADER PILL "Nh?c n?n" � absolute top center === */

/* === INNER ROW: pill + action button side-by-side === */

/* Row wrapper: pill takes all remaining space, action button sits next to it */

/* Make settings bottom row flex */

/* Wrapper for the bottom content: pill + action button in a row */

/* Since they are direct children of admin-music-settings, use grid */

/* file-pill: col 1 */

/* === MUSIC ICON (circle inside the pill) === */

/* === COPY: filename text === */

/* === UPLOAD / CLEAR BUTTON (circle, col 2) === */

/* Upload icon: centered via grid on the button itself */

/* === LIGHT MODE === */

/* Card height and padding: increased to look spacious and match other cards */

/* Header pill "Nh?c n?n" adjusted spacing */

/* Left music note icon inside the pill: circular background with clean icon */

/* Ensure the image inside left music icon is sized perfectly and clean */

/* Upload button on the right: absolute centering for icon */

/* Absolute centering of the upload icon to completely prevent misalignment */

/* Absolute centering of the clear icon */

/* Light mode overrides */

/* Responsive adjustments for narrow screens */

/* Card overall layout: clean wrapper like event/media cards */

/* Card Header wrapper */

/* Card Header title pill: matches other cards exactly */

/* Card Body wrapper */

/* Inner pill row containing music note icon + name */

/* Left music note icon inside pill: simple circular background */

/* Music filename text styles */

/* Hide floating spans / absolute elements inside copy wrapper */

/* Upload & Clear buttons (circular) on right */

/* === DARK MODE OVERRIDES === */

/* Admin cover image */

/* Index page hero section */

/* Main Card Wrapper */

/* Card Header Container */

/* Header Title Pill Badge */

/* Filter Toolbar wrapper width reset */

/* Message List Frame width reset */

/* === DARK MODE OVERRIDES === */

/* === MOBILE ADAPTATIONS === */

/* 1. Parent Board Container: act as flex layout with gaps instead of a single card */

/* 2. Card 1: Filter card (header + toolbar) */

/* 3. Card 2: Message list frame */

/* 4. Card 3: Hidden messages box */

/* Hidden guestbook toggle button inside Card 3 */

/* Inner list when expanded inside Card 3 */

/* === DARK MODE OVERRIDES === */

/* === MOBILE ADAPTATIONS === */

/* Outer toggle button styling inside Card 3 */

/* Inner panel containing hidden list: make transparent and spacious */

/* Inner badge number */

/* Spacing adaptation for smaller widths */

/* Card wrappers in dark mode */

/* Card title headers in dark mode */

/* Input fields & textareas in dark mode */

/* Inner music file pill in dark mode */

/* Circular buttons in music settings (dark mode) */

/* Tab bar container background in dark mode */

/* Sliding active tab indicator in dark mode */

/* Inactive tabs text color in dark mode */

/* Active tab text color in dark mode */

/* Countdown bar in dark mode */

/* Gift and Back circular shortcut buttons in dark mode */

/* 1. Countdown container & circular shortcuts row alignment */

/* Central Countdown bar (increased to 52px height) */

/* Sizing individual spans inside countdown */

/* Left & Right Circular buttons (increased to 52px height) */

/* 2. Admin Tab Bar Container (increased height & touch target) */

/* Slider active indicator size adjustment */

/* Tabs text buttons */

/* Mobile responsive adaptations for narrow screen heights */

/* Add spacing at the bottom of the form to prevent content clipping */

/* Floating Action Bar Dock at the bottom */

/* Dark mode adjustment for Floating Action Bar */

/* Float Save Message Alert right above the sticky actions dock */

/* Safe Area adaptation for notch-less and notched screen devices */

/* Adjust form padding-bottom for the corner FAB */

/* Hide the duplicate back button in the update tab action bar */

/* Position the action container as a fixed corner anchor */

/* Align inside centered page container on desktop screen widths */

/* Transform the rectangular submit button into a beautiful circular FAB */

/* Custom Vector SVG Checkmark inside the FAB */

/* FAB hover & active animation feel */

/* Dark mode override for the FAB */

/* Toast save status message: float nicely at bottom center */

/* Hide FAB by default */

/* Only show and float FAB when Update tab is active */

/* Align with page layout width on desktop viewports */

/* Reset submit button as a circular FAB icon wrapper */

/* White checkmark SVG */

/* Dark mode styles for FAB */

/* Floating save status alert right above the FAB position */

/* Spacing adjustment for smaller viewport notch devices */

/* Light mode: dark button, make black save.svg icon white using invert/brightness */

/* Dark mode: white button, keep save.svg icon dark black-ish (#0F0F0F) */

/* 1. Elevate the FAB container higher */

/* 2. Soften the button prominence using translucent glassmorphism */

/* 3. Center the icon absolutely to prevent displacement from text nodes */

/* Dark mode adjustment (soft white translucent glassmorphism) */

/* Adjust position of save message above elevated FAB */

/* Mobile responsive adaptations for notch screens */

/* 1. Elevate the FAB container higher (60px bottom offset) */

/* 2. Make the button more translucent (0.72 opacity) and blurier (12px blur) */

/* Dark mode: softer white glassmorphism */

/* Hover opacity slightly solidifies for clear action feedback */

/* Adjust position of save message above elevated FAB */

/* Mobile responsive adaptations for notch screens */

/* Reset bottom offset and position the status message at the top of viewport */

/* Slide down trigger */

/* Dark mode style overrides for Top Toast */

/* Screen height adaptations for smaller notched viewports */

/* Slide down active position below the fixed 60px topbar */

/* Mobile responsive notched screens spacing */

/* Base style for upload and delete circle buttons */

/* Active click effect */

/* Force icons inside to be clean, sharp white */

/* Enlarge circular play/pause button (44px) */

/* Enlarge and center double-note icon (24px) */

/* Red Circle: Play button icon scale up to 44px to expand inner paths */

/* Green Circle: Upload button icon sizing (24px) and solid opacity for sharp lines */

/* Light mode: crisp, high-contrast dark charcoal */

/* Dark mode: crisp, high-contrast pure white */

/* 1. Spacing and Breathing Room */

/* 2. Height Symmetry - Set both Pill and Upload Button to exactly 52px */

/* 3. Refined Interactions - Upload Button (Light Mode) */

/* 3. Refined Interactions - Upload Button (Dark Mode) */

/* Default (Wider screens) */

/* Mobile screens (max-width: 520px) */

/* Light Mode: Soft cream glassmorphism with dark text */

/* Dark Mode: Soft charcoal glassmorphism with white text */

/* Translucent input box backgrounds (Dark mode) */

/* Translucent input box backgrounds (Light mode) */

/* Input Focus Glow effect */

/* Submit button - disable uppercase transform */

/* Uniform placeholder colors for text fields */

/* Use CSS validation selector to style select placeholder (invalid state) identical to text inputs */

/* Reset select option list backgrounds & colors to prevent browser override glitches */

/* Pulsing outer ring animation around button */

@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);
  }
}

/* Cover Overlay: Use radial gradient vignette for focus lighting */

/* Remove card box backgrounds, borders, and shadows completely */

/* Typography Enhancements */

/* Glassmorphic Pill Button - Transparent with border */

/* Button Interactions */

/* Very subtle outer pulse ring */

/* Increase overlay opacity to wash out complex photo shapes behind text */

/* Make welcome button solid for maximum contrast and call-to-action visibility */

/* Invert colors on hover for a sophisticated transition */

/* 1. Initial State (Hidden, Shifted) before revelation */

/* 2. Transition Definitions (Cubic-bezier curves for ultra-smooth motion) */

/* Activate ripples when playing class is active */

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

  50% {
    opacity: 0.4;
  }

  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

/* Override keyframes to shrink maximum expansion scale to 1.36x */

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

  100% {
    transform: scale(1.36);
    opacity: 0;
  }
}

/* Responsive adjustments for mobile viewport */

/* Theme-adaptive Overlay with subtle blur */

/* Typography Harmonization using Great Vibes */

/* Light Mode Overrides for Modal */

/* Aspect Ratio Templates */

/* Base shared styles — identical sizing for both buttons */

/* HỦY — Ghost pill, transparent with subtle border */

/* ÁP DỤNG — Soft rose pill with warm glow */

/* Placeholder styling for empty media upload cards when no image is loaded */

/* Kill the old CSS-drawn camera lines inside admin card */

/* Override old frame border from .admin-update-form base */

/* Centered SVG camera icon via mask + background-color */

/* Light mode: darker icon */

/* Step 1: Kill ::after completely (was drawing mountain/landscape lines) */

/* Step 2: Convert ::before into a centered SVG camera icon */

/* Light mode: darker camera icon */

/* Dark mode: boost ghost opacity from 0.3 to 0.45 for better visibility */

/* Light mode: ghost image for non-pending state */

: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;
}

.mobile-page {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, .12);
  background: linear-gradient(rgba(255, 255, 255, .66), rgba(255, 255, 255, .74)),
    url("assets/bg-silk.webp") center top / cover repeat-y;
}

.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;
}

.hero-section {
  height: 56vh;
  position: relative;
  overflow: hidden;
  background: #d9ded7;
  min-height: 375px;
  max-height: 460px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.98) contrast(1.02);
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .18) 60%, rgba(0, 0, 0, .58) 100%),
    radial-gradient(ellipse at center 78%, rgba(0, 0, 0, .28), transparent 48%);
}

.hero-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 28px;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signature {
  font-family: "Allura", "Great Vibes", cursive;
  font-size: 51px;
  font-weight: 400;
  margin: 0;
  line-height: .94;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  color: rgba(255, 255, 255, .94);
  display: block;
  width: 100%;
  white-space: normal;
  transform: none;
  transform-origin: center;
  margin-top: 0;
}

.signature.dark {
  color: var(--ink);
  text-shadow: none;
}

.hero-sub {
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 2.3px;
  font-size: 10px;
  margin-top: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .72);
  font-family: "Be Vietnam Pro", sans-serif;
}

.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;
}

.small-title {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--sage);
}

.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;
}

.intro-grid {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 18px;
  align-items: start;
  text-align: left;
}

.intro-grid img {
  width: 142px;
  height: 222px;
  object-fit: cover;
  object-position: center 26%;
  border: 0;
}

.tiny-script {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  margin: 0 0 2px;
  color: #34383e;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.intro-grid h2 {
  margin: 0 0 14px;
  font-family: "Allura", "Great Vibes", cursive;
  font-size: 38px;
  font-weight: 400;
  text-transform: none;
  line-height: .92;
  margin-bottom: 12px;
  color: #2f3338;
  letter-spacing: 0;
  text-align: center;
  margin-top: 4px;
}

.intro-grid p:not(.tiny-script) {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: #62676e;
  text-align: justify;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  letter-spacing: .15px;
}

.line-title {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.line-title span {
  flex: 1;
  height: 1px;
  background: var(--sample-line);
}

.line-title h2 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: 42px;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 1.9px;
  font-size: 12px;
  line-height: 1.75;
  color: #555;
}

.body-text {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

.invite-section {
  padding-bottom: 30px;
  padding-top: 48px;
}

.invite-uppercase {
  max-width: 330px;
  margin: 0 auto 26px;
  margin-bottom: 24px;
  color: #555a61;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
}

.three-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  margin: 0 -18px;
  padding: 0;
}

.three-photos img {
  width: 100%;
  object-fit: cover;
  box-shadow: none;
  border: 0;
  object-position: center 25%;
}

.side-photo {
  height: 158px;
}

.center-photo {
  height: 188px;
}

.date-section {
  padding-top: 30px;
}

.script-label {
  font-family: "Great Vibes", cursive;
  font-size: 34px;
  margin: 0 0 14px;
  margin-bottom: 14px;
  color: var(--match-ink);
}

.calendar {
  width: 100%;
  margin: 0 auto 26px;
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 24px;
}

.calendar-head,
.calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-head span {
  text-transform: uppercase;
  font-size: 10.5px;
  color: #41454b;
  padding-bottom: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.calendar-body span {
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #888d94;
  position: relative;
}

.active-day {
  border: 1px solid var(--black);
  border-radius: 50%;
  color: var(--sample-ink) !important;
  font-weight: 700;
  width: 31px;
  height: 31px !important;
  margin: auto;
  border-color: var(--sample-ink);
}

.active-day i {
  position: absolute;
  right: -14px;
  top: -8px;
  font-size: 14px;
  font-style: normal;
}

.red-note {
  margin: 24px 0 18px;
  color: var(--match-rose);
  text-transform: uppercase;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: .8px;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
}

.date-big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 26px;
  max-width: 300px;
  margin: 22px auto 0;
  align-items: center;
}

.date-big div {
  display: grid;
  gap: 8px;
  min-height: 70px;
  align-content: start;
}

.date-big span {
  text-transform: uppercase;
  font-size: 16px;
  color: #c77d76;
  font-weight: 400;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  letter-spacing: 1px;
  line-height: 1.1;
}

.date-big strong {
  font-size: 23px;
  color: #c77d76;
  font-weight: 300;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  line-height: 1;
}

.date-center {
  border-left: 2px solid #3f4349;
  border-right: 2px solid #3f4349;
  border-color: #e2e2e2;
}

.location-section {
  padding-top: 8px;
  padding-bottom: 34px;
}

.location-small {
  margin: 0 0 8px;
  color: #777c83;
  font-size: 16px;
  margin-bottom: 26px;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  margin-top: 26px;
  line-height: 1.4;
}

.location-section h2 {
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 25px;
  letter-spacing: .9px;
  font-weight: 400;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  color: #4a4e55;
  margin-bottom: 26px;
}

.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;
}

.wide-photo {
  width: calc(100% + 36px);
  height: 238px;
  object-fit: cover;
  margin: 0 -18px 12px;
  margin-bottom: 38px;
  object-position: center 31%;
}

.schedule-title {
  margin-bottom: 2px;
  display: block;
}

.section-subtitle {
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 14px;
  color: #555a61;
  margin-bottom: 30px;
}

.timeline {
  width: 68%;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  text-align: center;
}

.timeline div {
  display: grid;
  grid-template-columns: 45px 34px 1fr;
  align-items: center;
  gap: 10px;
}

.timeline span {
  color: #6c7076;
  font-size: 11px;
  text-align: right;
  font-weight: 500;
}

.timeline i {
  height: 1px;
  background: #8d9196;
}

.timeline p {
  margin: 0;
  font-size: 11px;
  color: #6c7076;
  text-align: left;
}

.schedule-note {
  max-width: 270px;
  margin: 30px auto 0;
  margin-top: 28px;
  color: #777c83;
  font-size: 14px;
  line-height: 1.65;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  letter-spacing: .15px;
}

.album-section {
  padding-top: 30px;
}

.album-title {
  justify-content: flex-start;
  gap: 12px;
}

.album-title h2 {
  font-size: 27px;
}

.album-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 10px;
  margin-top: 20px;
  text-align: left;
  align-items: start;
}

.album-img {
  width: 100%;
  object-fit: cover;
  border: 0;
  object-position: center 28%;
}

.img-a {
  height: 150px;
}

.img-b {
  height: 148px;
  margin-top: -6px;
}

.img-c {
  height: 230px;
  grid-column: 2;
  grid-row: 2/span 2;
}

.img-d {
  height: 224px;
  grid-column: 1;
  margin-top: 10px;
}

.album-text {
  font-size: 13.5px;
  line-height: 1.62;
  color: #5f646b;
  margin: 0;
  text-align: justify;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  letter-spacing: .12px;
}

.text-a {
  padding: 2px 2px 0;
}

.text-b {
  grid-column: 1;
  margin-top: 8px;
}

.guestbook-section {
  padding-top: 34px;
}

.guestbook-hero {
  display: block;
  grid-template-columns: 1fr 1.18fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 18px;
  position: relative;
  height: 158px;
  margin: 0 -24px 28px;
}

.guestbook-hero img {
  width: 130px;
  height: 166px;
  object-fit: cover;
  object-position: center 24%;
  position: absolute;
  top: 0;
  left: 34px;
  z-index: 2;
  border: 4px solid #fff;
  box-shadow: 0 1px 0 #9da1a6;
}

.dark-card {
  height: 84px;
  background: #222327;
  display: flex;
  place-items: center;
  position: absolute;
  top: 52px;
  right: 0;
  left: 0;
  align-items: center;
  justify-content: flex-end;
  padding-right: 38px;
}

.script-white {
  font-family: "Allura", "Great Vibes", cursive;
  color: #fff;
  font-size: 35px;
  margin: 0;
  position: relative;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.guest-form {
  display: grid;
  gap: 8px;
}

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);
}

.thanks-text {
  display: none;
  margin: 20px auto 0;
  font-size: 14px;
  color: #777c83;
  line-height: 1.65;
  max-width: 315px;
  margin-top: 16px;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  letter-spacing: .15px;
}

.thanks-text.always-show {
  display: block;
}

.countdown-section {
  padding-top: 18px;
  padding-bottom: 30px;
  padding: 26px 24px 36px;
}

.time-title {
  margin-bottom: -12px;
  gap: 12px;
  position: relative;
  z-index: 2;
  max-width: 344px;
  margin: 0 auto 12px;
}

.time-title h2 {
  font-size: 36px;
  min-width: auto;
  margin: 0;
  color: #2f3338;
  font-family: "Allura", "Great Vibes", cursive;
  font-weight: 400;
  line-height: 1;
  background: transparent;
  padding: 0 8px;
  transform: none;
}

.time-box {
  border: 1.5px solid #8f949a;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 22px;
  letter-spacing: 4px;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  background: rgba(255, 255, 255, .28);
  color: #2f3338;
  border-color: #8b8f94;
  max-width: 344px;
  margin: 0 auto;
  padding-top: 6px;
  width: min(344px, 100%);
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 400;
}

.time-box span {
  min-width: 28px;
  display: inline-block;
  text-align: center;
}

.time-box b {
  font-weight: 300;
  letter-spacing: 0;
}

.time-caption {
  margin-top: 14px;
  font-size: 12px;
  color: #777;
}

.thank-section {
  height: 160px;
  position: relative;
  overflow: hidden;
  margin: 0;
  background: transparent;
}

.thank-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.thank-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(255, 255, 255, .18);
}

.thank-overlay h2 {
  font-family: "Great Vibes", cursive;
  font-size: 42px;
  font-weight: 400;
  margin: 0;
  color: #1f2023;
  text-shadow: 0 1px 8px rgba(255, 255, 255, .7);
}

.bottom-space {
  height: 30px;
}

.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;
}

.full-btn {
  width: 100%;
}

.login-hint {
  font-size: 12px;
  color: #777b82;
  margin-top: 16px;
  line-height: 1.7;
  margin: 18px 0 0;
  text-align: center;
}

.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;
}

.dashboard {
  background: rgba(255, 255, 255, .78);
  padding: 32px;
  border: 1px solid #ddd;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .06);
}

.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;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-top-actions .outline-btn {
  margin-top: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  border: 1px solid #ddd;
  padding: 22px;
  text-align: center;
  background: #fff;
  border-color: #e2e2e2;
  border-radius: 8px;
}

.stat-card strong {
  display: block;
  font-size: 36px;
  font-family: "Playfair Display", serif;
}

.stat-card span {
  color: #666;
  font-size: 13px;
}

.admin-actions {
  margin: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-actions .outline-btn {
  margin-top: 0;
}

.guest-list h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.guest-item {
  border-top: 1px solid #ddd;
  padding: 18px 0;
}

.guest-item strong {
  display: block;
  margin-bottom: 6px;
}

.guest-item span {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.guest-item p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 4px;
}

.guest-time {
  color: #999;
  font-size: 12px;
}

.empty-guest {
  color: #777;
  border-top: 1px solid #ddd;
  padding-top: 18px;
}

.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;
}

.gift-guard h1,
.gift-locked h1 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin: 10px 0 24px;
}

.gift-text {
  font-size: 13.4px;
  line-height: 1.8;
  color: #555b63;
  margin-bottom: 42px;
  max-width: 300px;
  margin: 0 auto 18px;
  font-family: "Be Vietnam Pro", sans-serif;
}

.gift-card {
  margin: 12px 0 24px;
  border: 1px solid var(--line);
  padding: 22px;
  text-align: left;
  background: rgba(255, 255, 255, .48);
  border-color: var(--faint);
  border-radius: 8px;
}

.gift-card p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

.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);
}

.three-photos img,
.album-img {
  object-position: center 34%;
  border: 1px solid rgba(183, 154, 98, .28);
}

.red-note,
.date-big strong,
.timeline span,
.stat-card strong,
.guest-item span {
  color: var(--rose-dark);
}

.date-big span,
.location-small,
.section-subtitle {
  color: var(--sage);
}

.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;
}

.guestbook-hero img,
.dark-card {
  height: 145px;
}

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);
}

.guest-item,
.empty-guest {
  border-top-color: var(--faint);
}

.gift-guard h1,
.gift-locked h1 {
  font-size: 38px;
}

.line-title h2,
.script-label,
.album-title h2,
.time-title h2 {
  color: var(--sample-ink);
  font-size: 31px;
  line-height: 1;
}

.uppercase,
.section-subtitle {
  color: #55595f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.schedule-section {
  padding-top: 0;
}

.img-a,
.img-b {
  height: 142px;
}

select {
  height: 34px;
}

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

.stat-card strong,
.guest-item span {
  color: var(--sample-pink);
}

.intro-section {
  padding-top: 20px;
  padding: 12px 24px 14px;
}

.invite-section::before {
  display: block;
  position: absolute;
  top: 16px;
  left: 50%;
  width: 74px;
  height: 2px;
  background: #6d7075;
  content: "";
  transform: translateX(-50%);
}

.invite-section .line-title {
  display: block;
  margin-bottom: 14px;
}

.invite-section .line-title span {
  display: none;
}

.invite-section .line-title h2 {
  font-size: 31px;
}

.side-photo,
.center-photo {
  height: 150px;
}

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

.location-section .outline-btn::before {
  width: 21px;
  height: 21px;
  margin-right: 7px;
  background: #2f3236;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 4C20 4 11 13 11 25c0 16 21 35 21 35s21-19 21-35C53 13 44 4 32 4zM32 34a9 9 0 1 1 0-18 9 9 0 0 1 0 18z' fill='black'/%3E%3Cellipse cx='32' cy='57' rx='19' ry='5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 4C20 4 11 13 11 25c0 16 21 35 21 35s21-19 21-35C53 13 44 4 32 4zM32 34a9 9 0 1 1 0-18 9 9 0 0 1 0 18z' fill='black'/%3E%3Cellipse cx='32' cy='57' rx='19' ry='5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.dark-mode .location-section .outline-btn::before {
  background: #f1ede7;
}

.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;
}

.location-section .outline-btn {
  animation: directionPulse 2.4s ease-in-out infinite;
  transform-origin: center;
  color: #2f3236;
  opacity: 1;
}

body.dark-mode .location-section .outline-btn {
  animation-name: directionPulseDark;
  color: #f1ede7;
  opacity: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, .2);
}

.schedule-title span {
  display: none;
}

.schedule-title h2 {
  font-size: 31px;
}

.timeline span,
.timeline p {
  color: #6f747b;
  font-family: "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 13px;
}

.album-title span {
  background: #6d7075;
}

.time-title span {
  background: #9a9da2;
  height: 1px;
}

.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;
}

.mobile-page .section,
.mobile-page .intro-section,
.mobile-page .invite-section,
.mobile-page .date-section,
.mobile-page .location-section,
.mobile-page .schedule-section,
.mobile-page .album-section,
.mobile-page .guestbook-section,
.mobile-page .countdown-section {
  background: transparent;
}

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

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

body.dark-mode .mobile-page {
  background: #202126;
  box-shadow: 0 0 34px rgba(0, 0, 0, .36);
}

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 .tiny-script,
body.dark-mode .intro-grid h2,
body.dark-mode .line-title h2,
body.dark-mode .script-label,
body.dark-mode .location-section h2,
body.dark-mode .section-subtitle,
body.dark-mode .invite-uppercase {
  color: #f1ede7;
}

body.dark-mode .red-note,
body.dark-mode .date-big span,
body.dark-mode .date-big strong {
  color: #e3a09b;
}

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 .calendar-head span {
  color: #f1ede7;
}

body.dark-mode .calendar {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.dark-mode .calendar-body span {
  color: #cfc8bf;
}

body.dark-mode .active-day {
  color: #f1ede7 !important;
  border-color: #f1ede7;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 14px rgba(255, 255, 255, .18);
}

body.dark-mode .active-day::before {
  border-color: rgba(241, 237, 231, .32);
}

body.dark-mode .active-day i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, .32);
  filter: saturate(1.15) contrast(1.08);
}

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);
}

.active-day i img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .3));
}

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-content .hero-sub,
.hero-content .date-text {
  display: none;
}

.hero-ceremony-img {
  width: min(42vw, 164px);
  max-width: 52%;
  height: auto;
  margin: 0 auto;
  opacity: .94;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .46));
}

.signature,
.intro-grid h2 {
  font-family: "Allura", "Great Vibes", cursive;
  font-weight: 400;
  letter-spacing: .2px;
  text-transform: none;
}

.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;
}

.date-big .date-center span {
  font-size: 16px;
}

.date-big .date-center strong {
  font-size: 38px;
  font-weight: 300;
}

body.dark-mode .date-center {
  border-color: #d7d2ca;
}

.date-big .date-center {
  border-right: 2px solid #2f3236;
  border-left: 2px solid #2f3236;
}

body.dark-mode .date-big span,
body.dark-mode .date-big strong {
  color: #e2a09a;
}

body.dark-mode .date-big .date-center {
  border-color: #d7d2ca;
}

.event-info-section {
  position: relative;
  padding: 42px 14px 52px;
  text-align: center;
  background: linear-gradient(rgba(255, 255, 255, .48), rgba(255, 255, 255, .66)),
    url("assets/bg-silk.webp") center 20% / cover;
  padding-top: 8px;
  padding-bottom: 44px;
}

.event-time-layout {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) auto minmax(86px, 1fr);
  align-items: center;
  gap: 11px;
  width: 100%;
  max-width: 402px;
  margin: 0 auto 26px;
  color: #2f3236;
  margin-bottom: 28px;
  column-gap: 20px;
}

.event-side {
  display: flex;
  grid-template-columns: minmax(22px, 1fr) auto minmax(22px, 1fr);
  align-items: stretch;
  gap: 4px;
  min-width: 86px;
  flex-direction: column;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  transform: translateY(2px);
}

.event-side::after,
.event-side span {
  display: block;
  height: 1.5px;
  background: #2f3236;
  content: "";
}

.event-side strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  color: #2f3236;
  letter-spacing: 1px;
  text-align: center;
}

.event-hour strong {
  font-size: 14px;
}

.event-date-core {
  display: grid;
  place-items: center;
  min-width: 104px;
}

.event-date-core span,
.event-date-core em,
.event-location-label {
  font-family: "Playfair Display", Georgia, serif;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.event-date-core span {
  font-size: 17px;
  line-height: 1;
  margin-bottom: 1px;
  transform: translateY(-5px);
  display: block;
}

.event-date-core strong {
  margin: -1px 0 2px;
  color: #2f3236;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 82px;
  font-weight: 500;
  line-height: .82;
  letter-spacing: 0;
}

.event-date-core em {
  font-size: 17px;
  transform: translateY(5px);
  display: block;
}

.event-location-block {
  max-width: 372px;
  margin: 0 auto;
}

.event-location-label {
  margin: 0 0 16px;
  color: #30333a;
  font-size: 17px;
  margin-top: 4px;
  margin-bottom: 18px;
}

.event-school,
.event-address {
  margin: 0 auto;
  color: #33363d;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.5;
}

.event-school {
  max-width: 350px;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.38;
}

.event-location-block h2 {
  margin: 12px 0 7px;
  color: #2f3236;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-top: 14px;
  margin-bottom: 8px;
}

.event-address {
  max-width: 320px;
  font-size: 13px;
  font-style: normal;
  margin-bottom: 0;
  text-transform: none;
}

.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-info-section {
  background: #202126;
}

body.dark-mode .event-time-layout,
body.dark-mode .event-date-core strong,
body.dark-mode .event-location-label,
body.dark-mode .event-location-block h2,
body.dark-mode .event-school,
body.dark-mode .event-address {
  color: #f1ede7;
}

body.dark-mode .event-side::after,
body.dark-mode .event-side span {
  background: #f1ede7;
}

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

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

.event-side span {
  display: block;
  width: var(--event-line-width, 78px);
  max-width: 100%;
  height: 1.5px;
  margin: 0 auto;
  background: #2f3236;
}

.event-side::after {
  display: block;
  width: var(--event-line-width, 78px);
  max-width: 100%;
  height: 1.5px;
  margin: 0 auto;
  background: #2f3236;
  content: "";
}

.event-weekday {
  --event-line-width: 74px;
  justify-self: end;
}

.event-hour {
  --event-line-width: 86px;
  justify-self: start;
}

body.dark-mode .event-side span,
body.dark-mode .event-side::after {
  background: #f1ede7;
}

body.dark-mode .event-side strong {
  color: #f1ede7;
}

.event-side span,
.event-side::after {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 1.4px;
}

.event-side strong,
.event-hour strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1px;
  line-height: 1;
  text-transform: uppercase;
}

.event-info-section,
.event-info-section strong,
.event-info-section span,
.event-info-section em,
.event-info-section p,
.event-info-section h2,
.event-info-section a {
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  letter-spacing: .6px;
}

.event-date-core span,
.event-date-core em,
.event-location-label,
.event-school,
.event-location-block h2,
.event-address,
.event-side strong,
.event-hour strong {
  font-weight: 500;
  text-transform: uppercase;
}

.event-date-core span,
.event-date-core em {
  font-size: 15px;
}

.event-date-core span,
.event-date-core em,
.event-side strong,
.event-hour strong,
.event-location-label {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: .15px;
}

.intro-section .quote {
  max-width: 305px;
  margin: 0 auto;
  color: #555b62;
  font-size: 14px;
  line-height: 1.65;
}

.event-location-label,
.event-school,
.event-location-block h2,
.event-address {
  font-weight: 400;
}

.guestbook-hero::before {
  position: absolute;
  top: 52px;
  right: 0;
  left: 0;
  z-index: 1;
  height: 66px;
  background: #222327;
  content: "";
}

.guestbook-hero::after {
  position: absolute;
  top: -6px;
  left: 50px;
  z-index: 0;
  width: 112px;
  height: 148px;
  border: 1.5px solid rgba(47, 51, 56, .58);
  background: transparent;
  content: "";
}

.guestbook-hero>img {
  position: absolute;
  top: 0;
  left: 48px;
  z-index: 2;
  width: 112px;
  height: 148px;
  border: 0;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: none;
}

.guestbook-hero .dark-card {
  position: absolute;
  top: 52px;
  right: 0;
  left: 132px;
  z-index: 1;
  display: flex;
  height: 66px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: transparent;
}

.script-white::after {
  display: none;
  content: none;
}

body.dark-mode .guestbook-hero::before {
  background: #101116;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(255, 255, 255, .05);
}

body.dark-mode .guestbook-hero::after {
  border-color: rgba(241, 237, 231, .42);
}

body.dark-mode .script-white {
  color: #fff;
  text-shadow: 0 1px 7px rgba(0, 0, 0, .75);
}

body.dark-mode .time-title h2 {
  color: #f1ede7;
  background: transparent;
}

body.dark-mode .time-title span {
  background: rgba(241, 237, 231, .48);
}

body.dark-mode .time-box {
  color: #f1ede7;
  border-color: rgba(241, 237, 231, .5);
  background: rgba(255, 255, 255, .04);
}

.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 .small-title {
  margin-bottom: 8px;
  color: #7a7370;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.admin-login-lead {
  margin: 16px 0 24px;
  color: #5d626b;
  font-size: 14px;
  line-height: 1.8;
}

.admin-login-form {
  display: grid;
  gap: 9px;
}

.admin-login-form label {
  color: #363a40;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.admin-login-btn {
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: #22252a;
  color: #fff;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(34, 37, 42, .18);
}

.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: 18px;
  border-bottom: 1px solid rgba(43, 45, 49, .1);
  text-align: center;
}

.admin-login-v2 .small-title {
  margin: 0 0 4px;
  color: #8a3b3d;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.admin-login-heading p:not(.small-title) {
  max-width: 300px;
  margin: 12px auto 0;
  color: #5b6068;
  font-size: 13px;
  line-height: 1.75;
}

.admin-login-v2 .admin-login-form {
  display: grid;
  gap: 8px;
  padding-top: 16px;
}

.admin-login-v2 .admin-login-form label {
  color: #32363d;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.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-v2 .admin-login-btn {
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: #2b2f36;
  color: #fff;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(34, 37, 43, .16);
}

.admin-login-v2 .admin-login-btn:hover {
  background: #1d2026;
}

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

.admin-login-v2 .login-hint {
  margin: 0;
  color: #747982;
  font-size: 12px;
  line-height: 1.65;
}

.admin-login-v2 .admin-back-link {
  display: inline-flex;
  margin-top: 14px;
  color: #30343a;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-decoration: none;
  text-transform: uppercase;
}

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

.admin-login-v2 .google-login-btn {
  width: 100%;
  min-height: 44px;
  margin: 20px 0 6px;
  border: 1px solid rgba(43, 45, 49, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: #272b31;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-login-v2 .google-login-btn:hover {
  border-color: rgba(43, 45, 49, .34);
  box-shadow: 0 10px 24px rgba(43, 45, 49, .08);
  transform: translateY(-1px);
}

.admin-login-v2 .google-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #2b2d31;
  display: inline-grid;
  place-items: center;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(43, 45, 49, .16);
  text-transform: none;
}

.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 .small-title,
body.dark-mode .admin-login-v2 .small-title {
  color: #e0aaa4;
}

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, .12);
}

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);
}

html.dark-mode .admin-login-v2 .google-login-btn,
body.dark-mode .admin-login-v2 .google-login-btn {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #f3eee8;
}

html.dark-mode .admin-login-v2 .google-mark,
body.dark-mode .admin-login-v2 .google-mark {
  background: rgba(255, 255, 255, .94);
  color: #202126;
}

html.dark-mode .admin-login-v2 .admin-login-btn,
body.dark-mode .admin-login-v2 .admin-login-btn {
  background: #f4efe9;
  color: #23262d;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

html.dark-mode .admin-login-v2 .admin-login-btn:hover,
body.dark-mode .admin-login-v2 .admin-login-btn:hover {
  background: #ffffff;
}

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));
}

body.admin-dashboard-open .dashboard {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 30px 24px 42px;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding-top: 78px;
  padding-bottom: 42px;
  border-color: transparent;
  padding-left: 20px;
  padding-right: 20px;
}

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

.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;
  opacity: 1 !important;
  transform: none !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-tabs {
  width: 100%;
  margin: 16px 0 20px;
  padding: 5px;
  border: 1px solid rgba(43, 45, 49, .18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(246, 246, 244, .72));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  position: relative;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .66),
    0 8px 24px rgba(43, 45, 49, .08);
}

.admin-workspace {
  touch-action: pan-y;
  max-width: 100%;
  overflow-x: hidden;
}

.admin-tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3e4249;
  cursor: pointer;
  font: 500 15px/1.2 "Be Vietnam Pro", sans-serif;
  position: relative;
  z-index: 1;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color .22s ease, transform .22s ease;
}

.admin-tab.active {
  background: transparent;
  box-shadow: none;
  color: #171a20;
  transform: translateY(-1px);
}

.admin-swipe-hint {
  margin: -8px 0 22px;
  color: #6f747c;
  font-size: 13px;
  text-align: center;
}

.admin-swipe-hint::before {
  content: "\27F5";
  margin-right: 10px;
  font-size: 22px;
  vertical-align: -2px;
}

.admin-swipe-hint::after {
  content: "\27F6";
  margin-left: 10px;
  font-size: 22px;
  vertical-align: -2px;
}

.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-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(22px) translateY(4px);
  pointer-events: none;
  transition: max-height .42s cubic-bezier(.22, 1, .36, 1),
    opacity .26s ease,
    transform .34s cubic-bezier(.22, 1, .36, 1);
}

.admin-panel.active {
  max-height: 2200px;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.admin-panel>* {
  min-height: initial;
}

.admin-workspace.tab-back .admin-panel {
  transform: translateX(-22px) translateY(4px);
}

.admin-workspace.tab-back .admin-panel.active {
  transform: translateX(0);
}

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

.admin-event-preview {
  margin: 2px 0 26px;
  padding: 26px 6px 22px;
  border-bottom: 1px solid rgba(43, 45, 49, .12);
  text-align: center;
}

.admin-event-preview .event-time-layout {
  margin: 0 auto 20px;
  transform: scale(.92);
  transform-origin: center top;
  grid-template-columns: minmax(86px, 1fr) auto minmax(86px, 1fr);
  column-gap: 20px;
}

.admin-event-preview .event-time-layout,
.admin-event-preview .event-time-layout span,
.admin-event-preview .event-time-layout strong,
.admin-event-preview .event-time-layout em {
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  letter-spacing: 1.1px;
}

.event-info-section .event-time-layout,
.event-info-section .event-time-layout span,
.event-info-section .event-time-layout strong,
.event-info-section .event-time-layout em {
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  letter-spacing: 1.1px;
}

.admin-event-preview .event-location-block {
  padding: 0;
}

.admin-event-preview .event-location-label {
  margin-top: -8px;
}

.admin-event-preview .event-school {
  margin-left: auto;
  margin-right: auto;
  max-width: 350px;
}

.admin-event-preview .event-address {
  margin-bottom: 0;
}

.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-update-note {
  margin: 0;
  color: #777c84;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.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-tabs,
html.dark-mode body.admin-dashboard-open .admin-tabs {
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 8px 24px rgba(0, 0, 0, .18);
}

body.dark-mode.admin-dashboard-open .admin-tab,
html.dark-mode body.admin-dashboard-open .admin-tab {
  border-color: rgba(255, 255, 255, .2);
  color: rgba(245, 239, 233, .72);
}

body.dark-mode.admin-dashboard-open .admin-tab.active,
html.dark-mode body.admin-dashboard-open .admin-tab.active {
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: #fffaf4;
}

body.dark-mode.admin-dashboard-open .admin-swipe-hint,
body.dark-mode.admin-dashboard-open .admin-update-note,
html.dark-mode body.admin-dashboard-open .admin-swipe-hint,
html.dark-mode body.admin-dashboard-open .admin-update-note {
  color: rgba(245, 239, 233, .68);
}

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-event-preview,
html.dark-mode body.admin-dashboard-open .admin-event-preview {
  border-bottom-color: rgba(255, 255, 255, .12);
}

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;
}

.admin-tabs::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 5px;
  left: 5px;
  width: calc(50% - 7px);
  height: calc(100% - 10px);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 18px rgba(43, 45, 49, .1),
    inset 0 0 0 1px rgba(43, 45, 49, .08);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}

.admin-workspace.tab-update-active .admin-tabs::before {
  transform: translateX(calc(100% + 4px));
}

.admin-panel.active,
.admin-workspace.tab-back .admin-panel.active {
  transform: translateX(0) translateY(0);
}

body.dark-mode.admin-dashboard-open .admin-tabs::before,
html.dark-mode body.admin-dashboard-open .admin-tabs::before {
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.admin-panel-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  position: relative;
  contain: paint;
}

.admin-panel-track {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 0;
  overflow-anchor: none;
}

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-panel-track .admin-panel {
  display: none;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  opacity: 0;
  transform: translate3d(0, 0, 0);
}

.admin-panel-track .admin-panel.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.admin-panel-track .admin-panel.dragging,
.admin-panel-track .admin-panel.drag-target {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 1;
  z-index: 2;
  will-change: transform;
}

.admin-panel-track .admin-panel.drag-target {
  z-index: 1;
}

.admin-panel-track .admin-panel:not(.active):not(.drag-target) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
}

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

.guestbook-board-top {
  display: block;
  grid-template-columns: 48px 1fr 0;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  width: var(--guestbook-wide);
  margin: 2px auto 9px;
  min-height: auto;
  text-align: center;
}

.guestbook-board-top p {
  margin: 0;
  color: #30343a;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14.25px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.12px;
  text-align: center;
  max-width: 285px;
  margin-inline: auto;
}

.guestbook-icon-btn,
.guestbook-sort-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: inherit;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(43, 45, 49, .08),
    0 8px 18px rgba(43, 45, 49, .055);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.guestbook-icon-btn img,
.guestbook-sort-btn img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(43, 45, 49, .12));
}

.guestbook-icon-btn.active::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: rgba(207, 141, 134, .13);
  box-shadow: inset 0 0 0 1px rgba(207, 141, 134, .28);
  z-index: -1;
}

.guestbook-badge {
  position: absolute;
  top: -1px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #2c3036;
  display: inline-grid;
  place-items: center;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(43, 45, 49, .12);
}

.guestbook-sort-btn {
  justify-self: end;
}

.guestbook-sort-btn.oldest-first img {
  transform: scaleY(-1);
}

.guestbook-message-frame {
  height: auto;
  padding: 14px 13px;
  border: 1px solid rgba(43, 45, 49, .22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .62));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .78),
    0 16px 30px rgba(43, 45, 49, .055);
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-width: auto;
  scrollbar-color: rgba(43, 45, 49, .42) transparent;
  width: min(304px, 100%);
  margin: 0 auto;
  border-color: rgba(43, 45, 49, .13);
  aspect-ratio: auto;
  min-height: 168px;
  max-height: none;
  overflow: visible;
  margin-top: 0;
}

.guestbook-message-list {
  display: grid;
  gap: 10px;
  transition: opacity .18s ease,
    transform .18s ease;
}

.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;
}

.guestbook-message-frame .empty-guest {
  margin: 0;
  padding: 54px 10px;
  border: 0;
  color: #858a92;
  font-size: 13px;
  text-align: center;
}

.guestbook-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(246px, 78%);
  margin: 13px auto 0;
  padding: 4px 8px;
  border: 1px solid rgba(43, 45, 49, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 12px 24px rgba(43, 45, 49, .04);
}

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 .guestbook-message-frame,
html.dark-mode body.admin-dashboard-open .guestbook-message-frame {
  border-color: rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .045));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055),
    0 16px 30px rgba(0, 0, 0, .16);
  scrollbar-color: rgba(255, 255, 255, .42) transparent;
}

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);
}

body.dark-mode.admin-dashboard-open .guestbook-badge,
html.dark-mode body.admin-dashboard-open .guestbook-badge {
  background: rgba(255, 255, 255, .95);
  color: #202126;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .28);
}

body.dark-mode.admin-dashboard-open .guestbook-icon-btn,
body.dark-mode.admin-dashboard-open .guestbook-sort-btn,
html.dark-mode body.admin-dashboard-open .guestbook-icon-btn,
html.dark-mode body.admin-dashboard-open .guestbook-sort-btn {
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13),
    0 8px 18px rgba(0, 0, 0, .18);
}

body.dark-mode.admin-dashboard-open .guestbook-icon-btn img,
body.dark-mode.admin-dashboard-open .guestbook-sort-btn img,
html.dark-mode body.admin-dashboard-open .guestbook-icon-btn img,
html.dark-mode body.admin-dashboard-open .guestbook-sort-btn img {
  filter: brightness(0) invert(1) drop-shadow(0 5px 9px rgba(0, 0, 0, .34));
  opacity: .92;
}

body.dark-mode.admin-dashboard-open .guestbook-icon-btn.active,
html.dark-mode body.admin-dashboard-open .guestbook-icon-btn.active {
  background: rgba(244, 220, 154, .16);
  box-shadow: inset 0 0 0 1px rgba(244, 220, 154, .28),
    0 8px 20px rgba(0, 0, 0, .2);
}

body.dark-mode.admin-dashboard-open .guestbook-icon-btn.active img,
html.dark-mode body.admin-dashboard-open .guestbook-icon-btn.active img {
  filter: brightness(0) saturate(100%) invert(87%) sepia(44%) saturate(650%) hue-rotate(347deg) brightness(104%) contrast(96%) drop-shadow(0 5px 9px rgba(0, 0, 0, .34));
  opacity: 1;
}

.guestbook-icon-btn:active,
.guestbook-sort-btn:active {
  transform: scale(.96);
}

.guestbook-sort-btn img {
  width: 27px;
  height: 27px;
}

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

.guestbook-filter-row.guestbook-filter-fixed {
  position: fixed;
  left: 50%;
  bottom: calc(var(--guestbook-filter-bottom, 22px) + env(safe-area-inset-bottom));
  z-index: 96;
  width: min(246px, 78vw, 335px);
  margin: 0;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px rgba(43, 45, 49, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.guestbook-filter-row .guestbook-icon-btn {
  width: 34px;
  height: 34px;
  background: transparent;
  box-shadow: none;
}

.guestbook-filter-row .guestbook-icon-btn img {
  width: 23px;
  height: 23px;
}

.guestbook-filter-row .guestbook-icon-btn.active {
  background: rgba(207, 141, 134, .1);
  box-shadow: inset 0 0 0 1px rgba(207, 141, 134, .2);
}

.guestbook-filter-row .guestbook-badge {
  top: -3px;
  right: -3px;
}

body.dark-mode.admin-dashboard-open .guestbook-board-top p,
html.dark-mode body.admin-dashboard-open .guestbook-board-top p {
  color: rgba(255, 248, 241, .9);
}

body.dark-mode.admin-dashboard-open .guestbook-filter-row,
html.dark-mode body.admin-dashboard-open .guestbook-filter-row {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

body.dark-mode.admin-dashboard-open .guestbook-filter-row.guestbook-filter-fixed,
html.dark-mode body.admin-dashboard-open .guestbook-filter-row.guestbook-filter-fixed {
  background: rgba(44, 46, 52, .88);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}

body.dark-mode.admin-dashboard-open .guestbook-filter-row .guestbook-icon-btn,
html.dark-mode body.admin-dashboard-open .guestbook-filter-row .guestbook-icon-btn {
  background: transparent;
  box-shadow: none;
}

body.dark-mode.admin-dashboard-open .guestbook-filter-row .guestbook-icon-btn.active,
html.dark-mode body.admin-dashboard-open .guestbook-filter-row .guestbook-icon-btn.active {
  background: rgba(244, 220, 154, .15);
  box-shadow: inset 0 0 0 1px rgba(244, 220, 154, .25);
}

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

.guestbook-filter-row,
.guestbook-filter-row.guestbook-filter-fixed {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  width: min(304px, 100%);
  margin: 8px auto 14px;
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#updatePanel {
  padding-bottom: 54px;
}

#updatePanel .admin-save-message {
  min-height: 22px;
  margin-bottom: 18px;
}

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) .mobile-page .section,
body:not(.dark-mode) .mobile-page .intro-section,
body:not(.dark-mode) .mobile-page .event-info-section,
body:not(.dark-mode) .mobile-page .guestbook-section,
body:not(.dark-mode) .mobile-page .countdown-section,
body:not(.dark-mode) .mobile-page .hero-name-section {
  background: transparent;
}

body:not(.dark-mode) .event-info-section {
  background: linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .22)),
    var(--silk-background-image) center 18% / cover;
}

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.dark-mode .mobile-page .section,
body.dark-mode .mobile-page .intro-section,
body.dark-mode .mobile-page .event-info-section,
body.dark-mode .mobile-page .guestbook-section,
body.dark-mode .mobile-page .countdown-section,
body.dark-mode .mobile-page .hero-name-section,
html.dark-mode .mobile-page .section,
html.dark-mode .mobile-page .intro-section,
html.dark-mode .mobile-page .event-info-section,
html.dark-mode .mobile-page .guestbook-section,
html.dark-mode .mobile-page .countdown-section,
html.dark-mode .mobile-page .hero-name-section {
  background: transparent;
}

body.dark-mode .event-info-section,
html.dark-mode .event-info-section {
  background: linear-gradient(rgba(32, 33, 38, .38), rgba(32, 33, 38, .5)),
    var(--dark-silk-background-image) center 18% / cover;
}

.guestbook-filter-toolbar {
  display: grid;
  align-items: center;
  gap: 7px;
  width: var(--guestbook-wide);
  margin: 7px auto 17px;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  margin-top: 0;
}

.guestbook-filter-toolbar .guestbook-sort-btn {
  flex: 0 0 38px;
}

.guestbook-filter-toolbar .guestbook-filter-row,
.guestbook-filter-toolbar .guestbook-filter-row.guestbook-filter-fixed {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-inline: 10px;
  justify-content: space-around;
  padding: 3px 12px;
  min-height: 38px;
}

.guestbook-board-top,
.guestbook-filter-toolbar,
.guestbook-message-frame {
  width: var(--guestbook-wide);
}

.guestbook-board-top .guestbook-icon-btn {
  width: 46px;
  height: 46px;
}

.guestbook-board-top .guestbook-icon-btn img {
  width: 30px;
  height: 30px;
}

.guestbook-board-top .guestbook-badge {
  top: 1px;
  right: 0;
  min-width: 18px;
  height: 18px;
  font-size: 11.5px;
}

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;
}

.admin-update-back-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(37, 41, 49, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px rgba(31, 35, 43, .08);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.admin-update-back-btn:active {
  transform: scale(.96);
}

.admin-update-back-btn img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
}

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, .18);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

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.15) drop-shadow(0 1px 2px rgba(0, 0, 0, .32));
}

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;
}

.guestbook-filter-toolbar>.guestbook-icon-btn,
.guestbook-filter-toolbar>.guestbook-sort-btn {
  width: 40px;
  height: 40px;
  justify-self: center;
}

.guestbook-filter-toolbar>.guestbook-icon-btn img {
  width: 27px;
  height: 27px;
}

.guestbook-filter-toolbar>.guestbook-sort-btn img {
  width: 27px;
  height: 27px;
}

body.admin-dashboard-open .admin-tabs {
  margin: 16px 0 24px !important;
  padding: 5px !important;
  margin-bottom: 34px;
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 56px !important;
  height: 56px !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
}

body.admin-dashboard-open .admin-tabs::before {
  top: 5px !important;
  left: 5px !important;
  width: calc(50% - 7px) !important;
  height: calc(100% - 10px) !important;
  border-radius: 999px !important;
}

body.admin-dashboard-open .admin-workspace.tab-update-active .admin-tabs::before {
  transform: translateX(calc(100% + 4px));
}

body.admin-dashboard-open .admin-tab {
  min-height: 46px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: -.05px;
  transition: color .2s ease,
    opacity .2s ease,
    transform .24s cubic-bezier(.16, 1, .3, 1);
  flex: 1 1 50% !important;
  height: 46px !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.guestbook-filter-toolbar>.guestbook-icon-btn img,
.guestbook-filter-toolbar>.guestbook-sort-btn img {
  width: 25px;
  height: 25px;
}

.guestbook-filter-toolbar .guestbook-filter-row .guestbook-icon-btn {
  width: 33px;
  height: 33px;
}

.guestbook-filter-toolbar .guestbook-filter-row .guestbook-icon-btn img {
  width: 22px;
  height: 22px;
}

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-topbar {
  justify-content: flex-start;
  gap: 10px;
  padding: 0 11px 0 10px;
}

.gift-topbar .home-cap {
  width: 36px;
  height: 34px;
  flex: 0 0 36px;
  justify-content: center;
}

.gift-topbar .home-logo {
  width: 28px;
  height: 28px;
}

.gift-topbar .toolbar-title {
  width: auto;
  max-width: 132px;
  margin-right: auto;
  opacity: 1;
  transform: none;
}

.gift-topbar .theme-btn {
  width: 46px;
  height: 26px;
  min-height: 26px;
  flex: 0 0 46px;
  margin: 0 4px 0 -4px;
}

.gift-topbar .floating-music-btn {
  position: static;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin: 0;
}

.gift-topbar .menu-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin: 0;
}

.gift-page-v2 {
  min-height: 100vh;
  padding-top: 48px;
  background: linear-gradient(rgba(255, 255, 255, .24), rgba(255, 255, 255, .34)),
    var(--silk-background-image, url("assets/bg-silk.webp")) center top / cover repeat-y;
}

.gift-state {
  min-height: calc(100vh - 48px);
  padding: 18px 18px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.gift-hero-card {
  position: relative;
  min-height: 288px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  margin: -18px -18px 0;
  background: #ddd;
  box-shadow: 0 18px 34px rgba(34, 37, 43, .1);
}

.gift-hero-photo {
  width: 100%;
  height: 100%;
  min-height: 288px;
  display: block;
  object-fit: cover;
  object-position: center 34%;
}

.gift-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .48)),
    radial-gradient(circle at 48% 58%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 42%);
}

.gift-hero-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 30px;
  text-align: center;
  color: #fff;
}

.gift-kicker {
  margin: 0 0 8px;
  font-family: "Oswald", "Roboto Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gift-hero-copy h1 {
  margin: 0;
  font-family: "Great Vibes", "Allura", cursive;
  font-size: 52px;
  font-weight: 400;
  line-height: .95;
  text-shadow: 0 5px 18px rgba(0, 0, 0, .3);
}

.gift-content-card {
  width: min(354px, 100%);
  margin: 0 auto;
  padding: 24px 20px 22px;
  border: 1px solid rgba(43, 45, 49, .1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 16px 36px rgba(43, 45, 49, .08),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

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

.gift-countdown-card {
  width: min(304px, 100%);
  min-height: 54px;
  margin: 18px auto 10px;
  border: 1px solid rgba(43, 45, 49, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #2d323a;
  font-family: "Oswald", "Roboto Condensed", sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.gift-countdown-card span {
  min-width: 35px;
  text-align: center;
}

.gift-countdown-card b {
  font-weight: 400;
  letter-spacing: 0;
}

.gift-unlock-date,
.gift-note {
  margin: 0 auto 18px;
  color: #7b8088;
  font-size: 12px;
  line-height: 1.7;
}

.gift-actions {
  display: grid;
  gap: 10px;
}

.gift-primary-btn,
.gift-secondary-btn {
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  text-decoration: none;
  font-family: "Oswald", "Roboto Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gift-primary-btn {
  border: 1px solid rgba(31, 35, 43, .92);
  background: #20242c;
  color: #fff;
  box-shadow: 0 12px 26px rgba(31, 35, 43, .14);
}

.gift-secondary-btn {
  border: 1px solid rgba(43, 45, 49, .18);
  background: rgba(255, 255, 255, .56);
  color: #2e333b;
}

.gift-letter {
  margin: 14px 0 20px;
  padding: 18px 16px;
  border-left: 1px solid rgba(43, 45, 49, .3);
  border-right: 1px solid rgba(43, 45, 49, .12);
  text-align: left;
}

.gift-letter p {
  margin: 0;
  color: #4f555d;
  font-size: 13.5px;
  line-height: 1.9;
}

body[data-page="gift"].dark-mode .gift-page-v2,
html.dark-mode body[data-page="gift"] .gift-page-v2 {
  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[data-page="gift"].dark-mode .gift-content-card,
html.dark-mode body[data-page="gift"] .gift-content-card {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(35, 37, 43, .68);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

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[data-page="gift"].dark-mode .gift-countdown-card,
html.dark-mode body[data-page="gift"] .gift-countdown-card,
body[data-page="gift"].dark-mode .gift-secondary-btn,
html.dark-mode body[data-page="gift"] .gift-secondary-btn {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff4ea;
}

body[data-page="gift"].dark-mode .gift-primary-btn,
html.dark-mode body[data-page="gift"] .gift-primary-btn {
  border-color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .9);
  color: #20242c;
}

body[data-page="gift"].dark-mode .gift-unlock-date,
body[data-page="gift"].dark-mode .gift-note,
html.dark-mode body[data-page="gift"] .gift-unlock-date,
html.dark-mode body[data-page="gift"] .gift-note {
  color: rgba(245, 238, 231, .68);
}

body[data-page="gift"].dark-mode .gift-letter,
html.dark-mode body[data-page="gift"] .gift-letter {
  border-left-color: rgba(255, 255, 255, .32);
  border-right-color: rgba(255, 255, 255, .12);
}

body[data-page="gift"].dark-mode .gift-letter p,
html.dark-mode body[data-page="gift"] .gift-letter p {
  color: rgba(245, 238, 231, .86);
}

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;
}

body.admin-dashboard-open .guestbook-board-top,
body.admin-dashboard-open .guestbook-filter-toolbar,
body.admin-dashboard-open .guestbook-message-frame {
  width: var(--guestbook-wide);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

body.admin-dashboard-open .guestbook-board-top {
  padding-inline: 8px;
  width: 100% !important;
  margin: 0 !important;
  padding: 15px 18px 13px !important;
  border-radius: 0 !important;
  border: 1px solid var(--guestbook-control-border);
  border-bottom: 1px solid rgba(43, 45, 49, .08) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  border-width: 1px 1px 0;
  border-style: solid;
  max-width: 100% !important;
  display: block !important;
}

body.admin-dashboard-open .guestbook-board-top p {
  font-size: 15px;
  line-height: 1.35;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0;
  color: var(--guestbook-control-text);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
}

body.admin-dashboard-open .guestbook-filter-toolbar {
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  gap: 14px;
  display: grid;
  align-items: center;
  width: 100% !important;
  margin: 0 auto 20px;
  padding: 18px 18px 14px !important;
  border-radius: 0 !important;
  border: none !important;
  border-top: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-width: 0 1px 1px;
  border-style: solid;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row,
body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row.guestbook-filter-fixed {
  width: 100%;
  max-width: none;
  gap: 2px;
  padding-inline: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  height: 44px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(43, 45, 49, .085);
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .46));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .52),
    0 8px 18px rgba(43, 45, 49, .04);
}

body.admin-dashboard-open .guestbook-message-frame {
  padding: 18px !important;
  border-radius: 22px !important;
  height: auto;
  min-height: 312px;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  background: rgba(255, 255, 255, .6) !important;
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05) !important;
  overflow: visible;
  scrollbar-width: auto;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

body[data-page="gift"] .gift-hero-card {
  min-height: 292px;
  height: 292px;
  border-radius: 0;
  margin: -18px -18px 0;
}

body[data-page="gift"] .gift-hero-photo {
  min-height: 0;
  height: 100%;
}

body[data-page="gift"] .gift-hero-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .18));
}

body[data-page="gift"] .gift-hero-copy {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  text-align: center;
  color: #2d3035;
  margin: 0 auto -2px;
}

body[data-page="gift"] .gift-hero-copy h1 {
  color: inherit;
  text-shadow: none;
  font-size: 48px;
}

body[data-page="gift"] .gift-kicker {
  color: rgba(45, 48, 53, .68);
}

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

html.dark-mode body[data-page="gift"] .gift-kicker,
body[data-page="gift"].dark-mode .gift-kicker {
  color: rgba(245, 238, 231, .68);
}

.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);
}

#adminMenuUserName {
  max-width: 245px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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-workspace {
  --admin-tab-x: 0px;
}

body.admin-dashboard-open .admin-workspace.tab-update-active {
  --admin-tab-x: calc(100% + 4px);
}

body.admin-dashboard-open .admin-workspace .admin-tabs::before,
body.admin-dashboard-open .admin-workspace.tab-update-active .admin-tabs::before {
  transform: translate3d(var(--admin-tab-x), 0, 0);
  transition: transform .36s cubic-bezier(.2, .9, .22, 1),
    background-color .24s ease,
    box-shadow .24s ease;
  will-change: transform;
}

body.admin-dashboard-open .admin-workspace.tab-dragging .admin-tabs::before,
body.admin-dashboard-open .admin-workspace.tab-dragging.tab-update-active .admin-tabs::before {
  transition: none;
}

body.admin-dashboard-open .admin-panel {
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: max-height .32s cubic-bezier(.2, .9, .22, 1),
    opacity .2s ease,
    transform .3s cubic-bezier(.2, .9, .22, 1);
}

body.admin-dashboard-open .admin-panel.dragging,
body.admin-dashboard-open .admin-panel.drag-target {
  pointer-events: none;
}

body.admin-dashboard-open .admin-panel-viewport,
body.admin-dashboard-open .admin-panel-track {
  overflow: visible;
}

body.admin-dashboard-open .admin-workspace.tab-dragging .admin-panel-viewport,
body.admin-dashboard-open .admin-workspace.tab-dragging .admin-panel-track {
  overflow: hidden;
}

body.admin-dashboard-open #updatePanel {
  padding-inline: 2px;
  padding-bottom: 72px;
}

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-event-preview .event-time-layout {
  grid-template-columns: minmax(96px, 1fr) 96px minmax(96px, 1fr);
  gap: 10px;
  max-width: 370px;
  margin-bottom: 30px;
  transform: none;
  margin: 0 auto 30px;
  transform-origin: center;
}

body.admin-dashboard-open .admin-event-preview .event-time-layout,
body.admin-dashboard-open .admin-event-preview .event-time-layout span,
body.admin-dashboard-open .admin-event-preview .event-time-layout strong,
body.admin-dashboard-open .admin-event-preview .event-time-layout em,
body.admin-dashboard-open .admin-event-preview .event-location-label,
body.admin-dashboard-open .admin-event-preview .event-school,
body.admin-dashboard-open .admin-event-preview .event-location-block h2,
body.admin-dashboard-open .admin-event-preview .event-address {
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .72px;
  text-transform: uppercase;
}

body.admin-dashboard-open .admin-event-preview .event-side strong,
body.admin-dashboard-open .admin-event-preview .event-hour strong {
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

body.admin-dashboard-open .admin-event-preview .event-date-core {
  min-width: 96px;
}

body.admin-dashboard-open .admin-event-preview .event-date-core span,
body.admin-dashboard-open .admin-event-preview .event-date-core em {
  font-size: 15px;
}

body.admin-dashboard-open .admin-event-preview .event-date-core strong {
  font-size: 76px;
  line-height: .82;
  margin: -1px 0 2px;
  color: #2f3236;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  letter-spacing: .4px;
}

body.admin-dashboard-open .admin-event-preview .event-location-label {
  margin: 0 0 18px;
  font-size: 17px;
  color: #30333a;
  line-height: 1;
  text-transform: uppercase;
}

body.admin-dashboard-open .admin-event-preview .event-school {
  max-width: 356px;
  font-size: 15px;
  line-height: 1.36;
  text-transform: uppercase;
  margin: 0 auto;
  color: #33363d;
}

body.admin-dashboard-open .admin-event-preview .event-location-block h2 {
  margin: 14px 0 8px;
  font-size: 21px;
  line-height: 1.16;
  color: #2f3236;
  text-transform: uppercase;
}

body.admin-dashboard-open .admin-event-preview .event-address {
  max-width: 328px;
  font-size: 13px;
  line-height: 1.42;
  text-transform: none;
  margin: 0 auto;
  color: #33363d;
}

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-dashboard-open .admin-event-preview {
  margin: 0 0 28px;
  padding: 10px 0 24px;
  border-bottom: 1px solid rgba(43, 45, 49, .14);
  text-align: center;
}

body.admin-dashboard-open .admin-event-preview .event-side {
  gap: 4px;
  transform: translateY(2px);
}

body.admin-dashboard-open .admin-event-preview .event-side span,
body.admin-dashboard-open .admin-event-preview .event-side::after {
  height: 1.5px;
  background: currentColor;
}

body.admin-dashboard-open .admin-event-preview .event-date-core span {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(-3px);
  margin-bottom: 0;
}

body.admin-dashboard-open .admin-event-preview .event-date-core em {
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(4px);
}

body.admin-dashboard-open .admin-event-preview .event-location-block {
  max-width: 372px;
  margin: 0 auto;
  padding: 0;
}

html.dark-mode body.admin-dashboard-open .admin-event-preview,
body.dark-mode.admin-dashboard-open .admin-event-preview {
  border-bottom-color: rgba(255, 255, 255, .12);
}

html.dark-mode body.admin-dashboard-open .admin-event-preview .event-time-layout,
html.dark-mode body.admin-dashboard-open .admin-event-preview .event-date-core strong,
html.dark-mode body.admin-dashboard-open .admin-event-preview .event-location-label,
html.dark-mode body.admin-dashboard-open .admin-event-preview .event-location-block h2,
html.dark-mode body.admin-dashboard-open .admin-event-preview .event-school,
html.dark-mode body.admin-dashboard-open .admin-event-preview .event-address,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-time-layout,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-date-core strong,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-location-label,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-location-block h2,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-school,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-address {
  color: #f1ede7;
}

html.dark-mode body.admin-dashboard-open .admin-event-preview .event-side span,
html.dark-mode body.admin-dashboard-open .admin-event-preview .event-side::after,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-side span,
body.dark-mode.admin-dashboard-open .admin-event-preview .event-side::after {
  background: #f1ede7;
}

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;
}

.guestbook-message-frame.is-updating .guestbook-message-list {
  opacity: .82;
  transform: translateY(2px);
}

body.admin-dashboard-open .dashboard::after {
  content: "";
  display: block;
  height: clamp(520px, 72vh, 760px);
  pointer-events: none;
}

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;
}

body.admin-dashboard-open .admin-update-back-btn {
  width: 50px !important;
  height: 50px !important;
  justify-self: end;
  border: 1.5px solid rgba(43, 45, 49, .16) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 4px 14px rgba(32, 34, 38, .08);
  display: inline-grid !important;
  place-items: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !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 .guestbook-message-list {
  display: grid;
  gap: 13px;
}

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;
}

body.admin-dashboard-open .guest-status-pill {
  flex: 0 0 auto;
  padding: 5px 10px 5.5px;
  border-radius: 999px;
  font-family: "Roboto Condensed", "Oswald", "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2px;
  white-space: nowrap;
}

body.admin-dashboard-open .admin-guest-message.attend-yes .guest-status-pill {
  border: 1px solid rgba(82, 137, 96, .34);
  background: rgba(82, 137, 96, .16);
  color: #4b8a5a;
}

body.admin-dashboard-open .admin-guest-message.attend-maybe .guest-status-pill {
  border: 1px solid rgba(194, 151, 54, .38);
  background: rgba(224, 181, 73, .18);
  color: #a77813;
}

body.admin-dashboard-open .admin-guest-message.attend-no .guest-status-pill,
body.admin-dashboard-open .admin-guest-message.attend-unknown .guest-status-pill {
  border: 1px solid rgba(207, 141, 134, .34);
  background: rgba(207, 141, 134, .16);
  color: #c9837c;
}

html.dark-mode body.admin-dashboard-open .guestbook-message-frame,
body.dark-mode.admin-dashboard-open .guestbook-message-frame {
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .045));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07),
    0 18px 34px rgba(0, 0, 0, .18);
}

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-guest-message.attend-yes .guest-status-pill,
body.dark-mode.admin-dashboard-open .admin-guest-message.attend-yes .guest-status-pill {
  border-color: rgba(126, 186, 139, .34);
  background: rgba(91, 151, 104, .2);
  color: #9fd4a9;
}

html.dark-mode body.admin-dashboard-open .admin-guest-message.attend-maybe .guest-status-pill,
body.dark-mode.admin-dashboard-open .admin-guest-message.attend-maybe .guest-status-pill {
  border-color: rgba(232, 195, 95, .36);
  background: rgba(220, 174, 66, .18);
  color: #edcc79;
}

html.dark-mode body.admin-dashboard-open .admin-guest-message.attend-no .guest-status-pill,
html.dark-mode body.admin-dashboard-open .admin-guest-message.attend-unknown .guest-status-pill,
body.dark-mode.admin-dashboard-open .admin-guest-message.attend-no .guest-status-pill,
body.dark-mode.admin-dashboard-open .admin-guest-message.attend-unknown .guest-status-pill {
  border-color: rgba(218, 154, 146, .34);
  background: rgba(207, 141, 134, .18);
  color: #e2aaa4;
}

body.admin-dashboard-open .guestbook-board-top p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 42px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--guestbook-control-muted), transparent);
  transform: translateX(-50%);
  display: none;
}

body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn,
body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-sort-btn {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  border: 1px solid rgba(43, 45, 49, .1);
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .92), rgba(255, 255, 255, .58));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62),
    0 8px 18px rgba(43, 45, 49, .075);
}

body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn.active {
  border-color: rgba(194, 151, 54, .32);
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .94), rgba(239, 214, 127, .32));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .74),
    0 8px 18px rgba(194, 151, 54, .12);
}

body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn img,
body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-sort-btn img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row .guestbook-icon-btn {
  width: 100%;
  height: 34px;
  min-width: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row .guestbook-icon-btn.active {
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 0 0 1px rgba(43, 45, 49, .055),
    0 6px 14px rgba(43, 45, 49, .055);
}

body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row .guestbook-icon-btn img {
  width: 20px;
  height: 20px;
}

body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-badge {
  top: -6px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 18px;
  box-shadow: 0 4px 10px rgba(43, 45, 49, .12);
}

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;
}

html.dark-mode body.admin-dashboard-open .guestbook-board-top,
body.dark-mode.admin-dashboard-open .guestbook-board-top,
html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .045));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045),
    var(--guestbook-control-shadow);
}

html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn,
html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-sort-btn,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-sort-btn {
  border-color: rgba(255, 255, 255, .14);
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 10px 20px rgba(0, 0, 0, .2);
}

html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn.active,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn.active {
  border-color: rgba(221, 187, 85, .38);
  background: radial-gradient(circle at 32% 24%, rgba(238, 207, 104, .26), rgba(255, 255, 255, .07));
}

html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row,
html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row.guestbook-filter-fixed,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row.guestbook-filter-fixed {
  border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .045));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04),
    0 10px 18px rgba(0, 0, 0, .16);
}

html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row .guestbook-icon-btn.active,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row .guestbook-icon-btn.active {
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 7px 15px rgba(0, 0, 0, .18);
}

body.admin-dashboard-open .guestbook-board-top,
body.admin-dashboard-open .guestbook-filter-toolbar {
  width: min(100%, 336px);
  background: rgba(255, 255, 255, .56);
  border-color: rgba(43, 45, 49, .085);
}

html.dark-mode body.admin-dashboard-open .guestbook-board-top,
html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar,
body.dark-mode.admin-dashboard-open .guestbook-board-top,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .064);
}

html.dark-mode body.admin-dashboard-open .guestbook-board-top,
body.dark-mode.admin-dashboard-open .guestbook-board-top {
  box-shadow: none;
  border-bottom-color: rgba(255, 255, 255, .09) !important;
}

html.dark-mode body.admin-dashboard-open .guestbook-filter-toolbar,
body.dark-mode.admin-dashboard-open .guestbook-filter-toolbar {
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
}

body[data-page="index"] .mobile-page .hero-section {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
}

body[data-page="index"] .mobile-page .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body[data-page="index"] .mobile-page .hero-content {
  bottom: 22px;
}

body[data-page="index"] .mobile-page .hero-ceremony-img {
  width: min(58%, 210px);
}

body.admin-dashboard-open .guest-card-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  max-width: 52%;
}

body.admin-dashboard-open .guest-hidden-pill,
body.admin-dashboard-open .guest-visibility-btn {
  flex: 0 0 auto;
  border-radius: 999px;
  font-family: "Roboto Condensed", "Oswald", "Be Vietnam Pro", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .25px;
  white-space: nowrap;
}

body.admin-dashboard-open .guest-hidden-pill {
  padding: 5px 9px 5.5px;
  border: 1px solid rgba(92, 98, 108, .22);
  background: rgba(92, 98, 108, .1);
  color: #69707a;
}

body.admin-dashboard-open .guest-visibility-btn {
  min-height: 23px;
  padding: 0 8px;
  border: 1px solid rgba(43, 45, 49, .16);
  background: rgba(255, 255, 255, .42);
  color: rgba(43, 45, 49, .58);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
  border-color: rgba(43, 45, 49, .09);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
}

body.admin-dashboard-open .guest-visibility-btn:active {
  transform: scale(.96);
}

body.admin-dashboard-open .guest-visibility-btn:disabled {
  cursor: wait;
  opacity: .62;
}

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 .guest-hidden-pill,
body.dark-mode.admin-dashboard-open .guest-hidden-pill {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: rgba(245, 238, 231, .64);
}

html.dark-mode body.admin-dashboard-open .guest-visibility-btn,
body.dark-mode.admin-dashboard-open .guest-visibility-btn {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 250, 246, .58);
}

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.admin-dashboard-open .hidden-guestbook-box {
  width: 100% !important;
  margin: 14px auto 0;
  margin-top: 0 !important;
  max-width: 100% !important;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .6) !important;
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

body.admin-dashboard-open .hidden-guestbook-toggle {
  width: 100% !important;
  min-height: 52px !important;
  border: none !important;
  border-radius: 999px;
  background: transparent !important;
  color: #2b2d31 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  padding: 16px 18px !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  border-color: rgba(43, 45, 49, .08);
  box-sizing: border-box !important;
  margin: 0 !important;
  flex-direction: row !important;
}

body.admin-dashboard-open .hidden-guestbook-toggle:active {
  transform: scale(.985);
}

body.admin-dashboard-open .hidden-guestbook-toggle strong {
  min-width: 36px !important;
  height: 24px !important;
  border-radius: 999px !important;
  display: inline-grid !important;
  place-items: center !important;
  background: rgba(43, 45, 49, .06) !important;
  color: #2b2d31 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 12px !important;
  letter-spacing: .04em;
  border: 1px solid rgba(43, 45, 49, .12) !important;
  font-weight: 700 !important;
}

body.admin-dashboard-open .hidden-guestbook-panel {
  margin-top: 0 !important;
  padding: 16px 18px 18px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-top: 1px solid rgba(43, 45, 49, .08) !important;
  margin: 0 !important;
  /* roomy padding around nested cards */
  box-sizing: border-box !important;
}

body.admin-dashboard-open .hidden-guestbook-panel .admin-guest-message {
  margin-bottom: 10px;
}

body.admin-dashboard-open .hidden-guestbook-panel .admin-guest-message:last-child {
  margin-bottom: 0;
}

html.dark-mode body.admin-dashboard-open .hidden-guestbook-toggle,
body.dark-mode.admin-dashboard-open .hidden-guestbook-toggle {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

html.dark-mode body.admin-dashboard-open .hidden-guestbook-toggle strong,
body.dark-mode.admin-dashboard-open .hidden-guestbook-toggle strong {
  background: rgba(255, 255, 255, .12) !important;
  color: rgba(255, 255, 255, .95) !important;
  border-color: rgba(255, 255, 255, .18) !important;
}

html.dark-mode body.admin-dashboard-open .hidden-guestbook-panel,
body.dark-mode.admin-dashboard-open .hidden-guestbook-panel {
  border-color: rgba(255, 255, 255, .13);
  background: transparent !important;
  border-top-color: rgba(255, 255, 255, .09) !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, .09) !important;
}

body.admin-dashboard-open .guest-visibility-btn:hover,
body.admin-dashboard-open .guest-visibility-btn:focus-visible {
  border-color: rgba(43, 45, 49, .18);
  background: rgba(255, 255, 255, .74);
  color: #2f333a;
}

body.admin-dashboard-open .hidden-guestbook-toggle:hover,
body.admin-dashboard-open .hidden-guestbook-toggle:focus-visible {
  border-color: rgba(43, 45, 49, .14);
  background: rgba(255, 255, 255, .64);
  color: #30343a;
}

html.dark-mode body.admin-dashboard-open .guest-visibility-btn:hover,
html.dark-mode body.admin-dashboard-open .guest-visibility-btn:focus-visible,
body.dark-mode.admin-dashboard-open .guest-visibility-btn:hover,
body.dark-mode.admin-dashboard-open .guest-visibility-btn:focus-visible {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 250, 246, .9);
}

html.dark-mode body.admin-dashboard-open .hidden-guestbook-toggle:hover,
html.dark-mode body.admin-dashboard-open .hidden-guestbook-toggle:focus-visible,
body.dark-mode.admin-dashboard-open .hidden-guestbook-toggle:hover,
body.dark-mode.admin-dashboard-open .hidden-guestbook-toggle:focus-visible {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .075);
  color: rgba(255, 250, 246, .9);
}

body.admin-dashboard-open .guestbook-message-list>.admin-guest-message,
body.admin-dashboard-open .guestbook-message-list>.admin-guest-message * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.admin-dashboard-open .guestbook-message-list>.admin-guest-message .guest-visibility-btn {
  width: 0;
  min-width: 0;
  padding: 0;
  border-width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateX(6px) scale(.92);
}

body.admin-dashboard-open .guestbook-message-list>.admin-guest-message.moderation-ready {
  opacity: .72;
}

body.admin-dashboard-open .guestbook-message-list>.admin-guest-message.moderation-ready .guest-visibility-btn {
  width: auto;
  min-width: 32px;
  min-height: 23px;
  padding: 0 8px;
  border-width: 1px;
  opacity: 1;
  pointer-events: auto;
  overflow: visible;
  transform: translateX(0) scale(1);
}

body.admin-dashboard-open .guestbook-message-list>.admin-guest-message.moderation-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, .18);
  pointer-events: none;
}

body.admin-dashboard-open .hidden-guestbook-panel .guest-visibility-btn {
  width: auto;
  min-width: 48px;
  min-height: 24px;
  padding: 0 9px;
  border-width: 1px;
  opacity: 1;
  pointer-events: auto;
  overflow: visible;
  transform: none;
}

html.dark-mode body.admin-dashboard-open .guestbook-message-list>.admin-guest-message.moderation-ready::before,
body.dark-mode.admin-dashboard-open .guestbook-message-list>.admin-guest-message.moderation-ready::before {
  background: rgba(0, 0, 0, .16);
}

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"] .hero-section {
  animation: indexHeroSettle 900ms cubic-bezier(.2, .8, .2, 1) both;
  border-radius: 0 0 32px 32px !important;
  overflow: hidden !important;
}

body[data-page="index"] .hero-img {
  animation: indexHeroImageIn 1200ms cubic-bezier(.2, .8, .2, 1) both;
  transform-origin: center;
  border-radius: 0 0 32px 32px !important;
}

body[data-page="index"] .hero-ceremony-img {
  animation: indexSoftRise 900ms 180ms cubic-bezier(.2, .8, .2, 1) both;
}

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"].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 {
  opacity: 1;
  transform: none;
  transition: none;
}

body[data-page="index"].index-reveal-ready .event-info-section.is-visible .event-date-core,
body[data-page="index"].index-reveal-ready .event-info-section.is-visible .event-side,
body[data-page="index"].index-reveal-ready .event-info-section.is-visible .event-location-block,
body[data-page="index"].index-reveal-ready .guestbook-section.is-visible .guestbook-hero,
body[data-page="index"].index-reveal-ready .guestbook-section.is-visible .guest-form,
body[data-page="index"].index-reveal-ready .countdown-section.is-visible .time-title,
body[data-page="index"].index-reveal-ready .countdown-section.is-visible .time-box,
body[data-page="index"].index-reveal-ready .thank-section.is-visible img,
body[data-page="index"].index-reveal-ready .thank-section.is-visible .thank-overlay h2 {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="index"].index-reveal-ready .event-info-section .event-weekday {
  transition-delay: 80ms;
}

body[data-page="index"].index-reveal-ready .event-info-section .event-date-core {
  transition-delay: 150ms;
}

body[data-page="index"].index-reveal-ready .event-info-section .event-hour {
  transition-delay: 220ms;
}

body[data-page="index"].index-reveal-ready .event-info-section .event-location-block,
body[data-page="index"].index-reveal-ready .guestbook-section .guest-form,
body[data-page="index"].index-reveal-ready .countdown-section .time-box,
body[data-page="index"].index-reveal-ready .thank-section .thank-overlay h2 {
  transition-delay: 260ms;
}

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);
}

body[data-page="index"] .guest-form input:focus,
body[data-page="index"] .guest-form textarea:focus,
body[data-page="index"] .guest-form select:focus {
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05) !important;
  outline: none;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-page="index"] .time-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 45, 49, 0.15) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #2b2d31 !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

body[data-page="index"] .time-box::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, .32), transparent 55%);
  opacity: 0;
  transform: translateX(-60%);
}

body[data-page="index"] .countdown-section.is-visible .time-box::after {
  animation: none;
  opacity: 0;
}

.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-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
}

.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 #invitationUpdateForm {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding-bottom: 80px !important;
}

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

body.admin-dashboard-open #invitationUpdateForm>label,
body.admin-dashboard-open #invitationUpdateForm .admin-update-grid>label,
body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings label {
  display: grid;
  gap: 8px;
  color: rgba(47, 51, 57, .8);
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.05px;
  text-align: left;
  text-transform: uppercase;
}

body.admin-dashboard-open #invitationUpdateForm input,
body.admin-dashboard-open #invitationUpdateForm select,
body.admin-dashboard-open #invitationUpdateForm textarea {
  width: 100%;
  border: 1px solid rgba(47, 51, 57, .14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
  color: #2f3339;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(32, 34, 38, .035),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  min-width: 0;
  max-width: 100%;
}

body.admin-dashboard-open #invitationUpdateForm input,
body.admin-dashboard-open #invitationUpdateForm select {
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
}

body.admin-dashboard-open #invitationUpdateForm select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%232f3339' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
  background-position: right 14px center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 10px 7px, 100% 100%;
}

body.admin-dashboard-open #invitationUpdateForm textarea {
  min-height: 76px;
  padding: 13px 14px;
  line-height: 1.55;
  resize: vertical;
}

body.admin-dashboard-open #invitationUpdateForm input:focus,
body.admin-dashboard-open #invitationUpdateForm select:focus,
body.admin-dashboard-open #invitationUpdateForm textarea:focus {
  border-color: rgba(201, 131, 124, .58);
  box-shadow: 0 0 0 4px rgba(201, 131, 124, .1),
    0 10px 24px rgba(32, 34, 38, .055),
    inset 0 1px 0 rgba(255, 255, 255, .76);
}

body.admin-dashboard-open #invitationUpdateForm input::placeholder,
body.admin-dashboard-open #invitationUpdateForm textarea::placeholder {
  color: rgba(47, 51, 57, .42);
  font-weight: 500;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings {
  width: 100%;
  border: 1px solid rgba(47, 51, 57, .115);
  background: linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .52));
  box-shadow: 0 16px 36px rgba(32, 34, 38, .055),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-settings {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .6) !important;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05) !important;
  order: 1;
  min-height: auto !important;
  position: relative !important;
  display: flex !important;
  overflow: hidden !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-settings::before {
  border-color: rgba(47, 51, 57, .12);
  background: rgba(255, 255, 255, .72);
  color: #2f3339;
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-copy span {
  color: rgba(230, 224, 216, .92) !important;
  font-size: 13px !important;
  letter-spacing: .15px !important;
  top: 18px !important;
  position: absolute !important;
  display: none !important;
  min-height: 32px !important;
  padding: 6px 20px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 999px !important;
  background: rgba(48, 50, 56, .92) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .24) !important;
  font-family: var(--font-heading, "Be Vietnam Pro", sans-serif);
  font-weight: 600 !important;
  text-transform: none !important;
  -webkit-text-fill-color: rgba(230, 224, 216, .92) !important;
  line-height: 1 !important;
  width: fit-content;
  max-width: 100%;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 2;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong {
  color: #2b2d31 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  max-width: 100%;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  -webkit-text-fill-color: #2b2d31 !important;
  min-width: 0 !important;
  line-height: 1.3 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-copy small {
  color: rgba(47, 51, 57, .42);
  font-size: 10px;
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn {
  min-width: 46px;
  height: 46px;
  border: 1.5px solid rgba(43, 45, 49, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  box-shadow: 0 10px 20px rgba(32, 34, 38, .075),
    inset 0 1px 0 rgba(255, 255, 255, .78);
  border-color: rgba(47, 51, 57, .16);
  display: grid !important;
  align-items: center;
  justify-content: center;
  padding-inline: 13px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 46px;
  padding: 0;
  place-items: center;
  line-height: 0;
  position: relative;
  overflow: hidden;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-settings {
  margin-top: 0 !important;
  padding: 0 !important;
  border-radius: 22px !important;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  background: rgba(255, 255, 255, .6) !important;
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05) !important;
  overflow: hidden !important;
  order: 3;
  border-color: rgba(47, 51, 57, .12);
  display: grid !important;
  gap: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-head {
  margin-bottom: 20px;
  padding-bottom: 0;
  margin: 0 !important;
  padding: 15px 18px 13px !important;
  border-bottom: 1px solid rgba(43, 45, 49, .08) !important;
  text-align: center !important;
  display: flex;
  justify-content: center;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-head::after {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-head h3 {
  margin: 0 !important;
  padding: 7px 20px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #2b2d31 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .15px !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  display: inline-block !important;
  border: 1px solid rgba(43, 45, 49, .15) !important;
  border-radius: 999px !important;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(32, 34, 38, .065),
    inset 0 1px 0 rgba(255, 255, 255, .78);
  -webkit-text-fill-color: #30343a;
  white-space: nowrap;
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-grid {
  gap: 16px 12px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding: 16px 16px 18px !important;
  align-items: start !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker {
  gap: 7px !important;
  align-items: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  padding: 0 !important;
  position: relative;
  margin: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker p {
  min-height: 17px;
  color: rgba(220, 215, 208, .82) !important;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  margin: 0 0 2px !important;
  font-weight: 500 !important;
  margin-bottom: 0;
  letter-spacing: .35px;
  -webkit-text-fill-color: rgba(220, 215, 208, .82) !important;
  text-transform: none;
  padding: 0 2px !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-preview {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 18px !important;
  border-color: rgba(47, 51, 57, .15);
  background: rgba(28, 28, 32, .72) !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  display: block !important;
  position: relative !important;
  cursor: pointer !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-preview img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  opacity: .34;
  filter: blur(.7px) saturate(.72) contrast(.92);
  transform: scale(1.02);
  transition: opacity .22s ease, filter .22s ease, transform .22s ease;
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn {
  min-height: auto !important;
  padding: 0 !important;
  border: 1.5px solid rgba(255, 255, 255, .22) !important;
  border-radius: 50% !important;
  background: rgba(30, 30, 34, .72) !important;
  color: transparent !important;
  -webkit-text-fill-color: #2b2d31 !important;
  font-size: 0 !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "Be Vietnam Pro", sans-serif;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3) !important;
  cursor: pointer !important;
  transition: border-color .15s ease;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 2 !important;
  overflow: hidden !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker small {
  color: rgba(47, 51, 57, .54);
  font-size: 9.5px;
  margin-top: 1px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  letter-spacing: .05px;
  -webkit-text-fill-color: rgba(47, 51, 57, .54);
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings {
  display: grid;
  gap: 17px;
  margin-top: 4px;
  padding: 24px 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(43, 45, 49, .13);
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05);
  overflow: hidden;
  order: 4;
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings.hidden {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head {
  text-align: center !important;
  padding: 15px 18px 13px !important;
  border-bottom: 1px solid rgba(43, 45, 49, .08) !important;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  margin: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3 {
  margin: 0 !important;
  color: #2b2d31 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .15px !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  display: inline-block !important;
  padding: 7px 20px !important;
  border: 1px solid rgba(43, 45, 49, .15) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .82) !important;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(32, 34, 38, .065),
    inset 0 1px 0 rgba(255, 255, 255, .78);
  -webkit-text-fill-color: #30343a;
  white-space: nowrap;
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings .admin-update-grid.two {
  gap: 10px !important;
  display: grid !important;
  margin: 14px 18px 18px !important;
  padding-inline: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-update-actions {
  display: block !important;
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 6px !important;
  order: 5;
  padding: 0 !important;
  position: fixed !important;
  bottom: 24px !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  /* align with .admin-page layout width */
  box-sizing: border-box !important;
  background: transparent !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 24px 24px 0 0 !important;
  border: none !important;
  border-bottom: none !important;
  z-index: 1000 !important;
  margin: 0 !important;
  box-shadow: none !important;
  right: 24px !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn {
  min-height: 56px !important;
  border: 1.5px solid rgba(43, 45, 49, .2) !important;
  border-radius: 50% !important;
  background: #1c1c1e !important;
  color: #252930 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0 !important;
  font-weight: 600 !important;
  letter-spacing: .15px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1), background-color 0.24s ease !important;
  width: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 56px !important;
  /* hide original text */
  color: transparent !important;
  position: relative !important;
  /* dark charcoal in light mode */
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-save-message,
body.admin-dashboard-open #invitationUpdateForm .admin-media-status {
  font-size: 11.5px;
  line-height: 1.6;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm>label,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-update-grid>label,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm>label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-update-grid>label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings label {
  color: rgba(255, 255, 255, .82);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm input,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm select,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm textarea,
body.dark-mode.admin-dashboard-open #invitationUpdateForm input,
body.dark-mode.admin-dashboard-open #invitationUpdateForm select,
body.dark-mode.admin-dashboard-open #invitationUpdateForm textarea {
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .06));
  color: rgba(255, 255, 255, .9) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm input::placeholder,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm textarea::placeholder,
body.dark-mode.admin-dashboard-open #invitationUpdateForm input::placeholder,
body.dark-mode.admin-dashboard-open #invitationUpdateForm textarea::placeholder {
  color: rgba(255, 255, 255, .42);
  -webkit-text-fill-color: rgba(255, 255, 255, .42);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm select,
body.dark-mode.admin-dashboard-open #invitationUpdateForm select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23f6f0ea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .06));
  background-position: right 14px center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 10px 7px, 100% 100%;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-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 36px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .09);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-head h3,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-picker p,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-picker p,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3 {
  color: rgba(255, 255, 255, .84);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-preview,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-preview {
  border-color: rgba(255, 255, 255, .27);
  background: radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .14), transparent 42%),
    rgba(255, 255, 255, .075);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(28, 28, 32, .72) !important;
  color: rgba(240, 234, 226, .92) !important;
  -webkit-text-fill-color: rgba(240, 234, 226, .92) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-picker small,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-picker small {
  color: rgba(255, 255, 255, .58);
  -webkit-text-fill-color: rgba(255, 255, 255, .58);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn {
  border-color: rgba(255, 255, 255, .18) !important;
  background: #ffffff !important;
  color: rgba(240, 234, 226, .96) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5) !important;
  -webkit-text-fill-color: rgba(240, 234, 226, .96) !important;
  /* white button in dark mode */
  border-color: rgba(0, 0, 0, 0.1) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-icon {
  display: block !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(43, 45, 49, .12) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08) !important;
  min-width: 44px !important;
  border-color: rgba(47, 51, 57, .1);
  place-items: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: background .18s ease !important;
  flex-shrink: 0 !important;
  min-height: 44px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-icon img {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
  opacity: 0.95 !important;
  filter: none !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  transform: translate(3.3px, 2.7px) !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:focus-visible {
  border-color: rgba(47, 51, 57, .36);
  background: rgba(255, 255, 255, .9);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-settings {
  background: rgba(40, 40, 44, .82) !important;
  border-color: rgba(255, 255, 255, .1) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .38) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-icon,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-icon {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(42, 44, 52, .9) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .24) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-icon img,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-icon img {
  filter: invert(1) !important;
  opacity: .84 !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-copy span,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-copy small,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-copy span,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-copy small {
  color: rgba(255, 255, 255, .58);
  -webkit-text-fill-color: rgba(255, 255, 255, .58);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong {
  color: rgba(230, 224, 216, .94) !important;
  -webkit-text-fill-color: rgba(230, 224, 216, .94) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, .92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .92);
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:focus-visible,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:focus-visible {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .18);
}

body.admin-dashboard-open #updatePanel .admin-update-form {
  display: grid;
  gap: 16px;
  padding-top: 8px;
  margin-top: -4px;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings {
  padding: 0 !important;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .6) !important;
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05) !important;
  overflow: hidden !important;
  display: grid !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  order: 2;
  padding-top: 26px;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head {
  padding: 15px 18px 13px !important;
  border-bottom: 1px solid rgba(43, 45, 49, .08) !important;
  margin-bottom: 18px;
  text-align: center !important;
  display: flex;
  justify-content: center;
  margin: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3 {
  display: inline-block !important;
  margin: 0 !important;
  padding: 7px 20px !important;
  border: 1px solid rgba(43, 45, 49, .15) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #2b2d31 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .15px !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(32, 34, 38, .065),
    inset 0 1px 0 rgba(255, 255, 255, .78);
  -webkit-text-fill-color: #30343a;
  white-space: nowrap;
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  text-shadow: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings> :not(.admin-event-settings-head) {
  padding-inline: 18px;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid {
  padding-inline: 18px;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label,
body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid>label {
  gap: 7px !important;
  color: #4a4d54 !important;
  font-family: "Oswald", "Roboto Condensed", "Be Vietnam Pro", sans-serif;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  display: grid !important;
  min-width: 0;
  max-width: 100%;
  line-height: 1;
  text-align: left;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid,
body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label {
  margin-inline: 18px;
  padding-inline: 0;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-date-select-grid {
  margin: 14px 18px 0 !important;
  padding-inline: 0;
  margin-top: 2px;
  row-gap: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid.two {
  margin: 14px 18px 0 !important;
  padding-inline: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label {
  margin-top: 14px;
  margin: 14px 18px 0 !important;
  padding: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label:last-child {
  margin-bottom: 18px !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings input,
body.admin-dashboard-open #invitationUpdateForm .admin-event-settings select,
body.admin-dashboard-open #invitationUpdateForm .admin-event-settings textarea {
  min-height: 46px !important;
  padding: 11px 14px !important;
  border: 1.5px solid rgba(43, 45, 49, .18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #252930 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px !important;
  line-height: 1.5 !important;
  box-shadow: 0 1px 4px rgba(32, 34, 38, .04) !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings select {
  padding-right: 32px !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings input:focus,
body.admin-dashboard-open #invitationUpdateForm .admin-event-settings select:focus,
body.admin-dashboard-open #invitationUpdateForm .admin-event-settings textarea:focus {
  border-color: rgba(43, 45, 49, .42);
  box-shadow: 0 0 0 3px rgba(43, 45, 49, .07);
  outline: none;
}

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings input[type="time"] {
  padding-right: 10px;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-actions {
  display: grid !important;
  flex-direction: unset !important;
  align-items: center !important;
  gap: 0 !important;
  width: 52px !important;
  min-width: auto;
  height: 52px !important;
  justify-content: flex-end;
  align-self: center;
  justify-self: end !important;
  place-items: center !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover {
  border-color: rgba(43, 45, 49, .36);
  box-shadow: 0 6px 14px rgba(32, 34, 38, .1);
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-clear {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  background: rgba(255, 255, 255, .72) !important;
  color: #b85a5a !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  -webkit-text-fill-color: #b85a5a !important;
  border-color: rgba(184, 90, 90, .3) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-preview:hover,
body.admin-dashboard-open #invitationUpdateForm .admin-media-preview:focus-within {
  border-color: rgba(43, 45, 49, .32);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .8),
    0 10px 24px rgba(32, 34, 38, .11);
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-actions {
  gap: 8px;
  min-height: auto;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn:hover {
  border-color: rgba(255, 255, 255, .36) !important;
  background: rgba(50, 50, 58, .88) !important;
  transform: translate(-50%, -50%) scale(1.06) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings label {
  display: grid !important;
  gap: 7px !important;
  color: #4a4d54 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings input {
  min-height: 46px !important;
  padding: 11px 14px !important;
  border: 1.5px solid rgba(43, 45, 49, .18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #252930 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px !important;
  box-shadow: 0 1px 4px rgba(32, 34, 38, .04);
  transition: border-color .18s ease, box-shadow .18s ease;
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings input:focus {
  border-color: rgba(43, 45, 49, .42);
  box-shadow: 0 0 0 3px rgba(43, 45, 49, .07);
  outline: none;
}

body.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn:hover {
  border-color: rgba(43, 45, 49, .38);
  background: #252830 !important;
  box-shadow: 0 8px 22px rgba(32, 34, 38, .11);
  transform: scale(1.08) !important;
}

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

body.admin-dashboard-open .admin-update-back-btn img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  opacity: .7 !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-settings {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-head,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-head,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head {
  border-bottom-color: rgba(255, 255, 255, .09) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-head h3,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3 {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: rgba(255, 255, 255, .95) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .95) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid>label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid>label,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings label,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-picker p,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-picker p {
  color: rgba(220, 215, 208, .88) !important;
  -webkit-text-fill-color: rgba(220, 215, 208, .88) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings input,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings select,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings textarea,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings input,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings select,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings textarea,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings input,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings input {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(28, 28, 32, .78) !important;
  color: rgba(240, 234, 226, .96) !important;
  -webkit-text-fill-color: rgba(240, 234, 226, .96) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-copy span,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-copy span {
  color: rgba(190, 184, 176, .72) !important;
  -webkit-text-fill-color: rgba(190, 184, 176, .72) !important;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

html.dark-mode body.admin-dashboard-open .admin-update-back-btn,
body.dark-mode.admin-dashboard-open .admin-update-back-btn {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(40, 40, 44, .82) !important;
}

html.dark-mode body.admin-dashboard-open .admin-update-back-btn img,
body.dark-mode.admin-dashboard-open .admin-update-back-btn img {
  filter: invert(1) !important;
  opacity: .8 !important;
}

body.admin-dashboard-open #invitationUpdateForm,
body.admin-dashboard-open #invitationUpdateForm *,
body.admin-dashboard-open #invitationUpdateForm *::before,
body.admin-dashboard-open #invitationUpdateForm *::after {
  box-sizing: border-box;
}

body.admin-dashboard-open #updatePanel,
body.admin-dashboard-open #updatePanel *,
body.admin-dashboard-open .admin-panel-track,
body.admin-dashboard-open .admin-panel-viewport {
  max-width: 100%;
}

body.admin-dashboard-open #updatePanel,
body.admin-dashboard-open #updatePanel .admin-event-preview,
body.admin-dashboard-open #updatePanel .event-location-block {
  min-width: 0;
  overflow-x: clip;
}

body.admin-dashboard-open #invitationUpdateForm .admin-update-grid,
body.admin-dashboard-open #invitationUpdateForm .admin-update-grid.two,
body.admin-dashboard-open #invitationUpdateForm .admin-date-select-grid,
body.admin-dashboard-open #invitationUpdateForm>label,
body.admin-dashboard-open #invitationUpdateForm .admin-update-grid>label,
body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings,
body.admin-dashboard-open #invitationUpdateForm .admin-update-actions {
  min-width: 0;
  max-width: 100%;
}

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

body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid,
body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid.two {
  min-width: 0;
  max-width: 100%;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-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 36px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .09);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3 {
  color: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .075));
  box-shadow: 0 12px 24px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-text-fill-color: rgba(255, 255, 255, .92);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid>label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid>label {
  color: rgba(255, 255, 255, .82);
}

body.admin-dashboard-open .guestbook-board-top,
body.admin-dashboard-open .guestbook-filter-toolbar,
body.admin-dashboard-open .guestbook-message-frame,
body.admin-dashboard-open .hidden-guestbook-box {
  width: var(--guestbook-wide);
}

body.admin-dashboard-open #invitationUpdateForm .admin-save-message {
  order: 6;
  position: fixed !important;
  bottom: 96px !important;
  /* floating right above the 14px padding + 50px button height */
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  width: calc(100% - 48px) !important;
  max-width: 430px !important;
  z-index: 1001 !important;
  text-align: center !important;
  pointer-events: none !important;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2, .9, .22, 1) !important;
  /* sit cleanly above the fab line */
  left: 50% !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-control {
  position: relative !important;
  width: 100% !important;
  margin: 0 auto;
  display: block !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-pending .admin-media-preview img {
  opacity: 1;
  filter: saturate(.98) contrast(1.02);
  transform: none;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn,
body.admin-dashboard-open #invitationUpdateForm .admin-media-clear {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: flex;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  place-items: center;
  transform: translate(-50%, -50%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(.34, 1.56, .64, 1) !important;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  align-items: center;
  justify-content: center;
  margin: 0;
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) !important;
  /* soft, highly translucent dark grey */
  backdrop-filter: blur(8px) !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn:hover,
body.admin-dashboard-open #invitationUpdateForm .admin-media-clear:hover,
body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn:focus-visible,
body.admin-dashboard-open #invitationUpdateForm .admin-media-clear:focus-visible {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 14px 28px rgba(32, 34, 38, .16),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn img,
body.admin-dashboard-open #invitationUpdateForm .admin-media-clear img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
  pointer-events: none;
  filter: brightness(0) invert(1) !important;
  display: block !important;
  margin: 0 !important;
  object-position: center;
  transform: translateY(-.5px);
  opacity: 0.9 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-pending label.admin-media-upload-btn {
  display: none;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-clear[hidden] {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-pending .admin-media-clear:not([hidden]) {
  display: grid !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-picker p,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-picker p {
  color: rgba(255, 255, 255, .9);
  text-shadow: none;
  -webkit-text-fill-color: rgba(255, 255, 255, .9);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-clear,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-clear {
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .24);
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-pending .admin-media-preview {
  border-color: rgba(47, 51, 57, .24);
  background: rgba(255, 255, 255, .72);
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-clear {
  border-color: rgba(201, 131, 124, .22);
  background: rgba(30, 30, 34, .72) !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border: 1.5px solid rgba(255, 100, 100, .38) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3) !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-clear img {
  filter: invert(1) !important;
  transform: translateY(-.75px);
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  opacity: .88 !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-settings {
  border-color: rgba(255, 255, 255, .13);
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .11);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-preview img,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-preview img {
  opacity: .3;
  filter: blur(.7px) saturate(.62) brightness(.9);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-pending .admin-media-preview img,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-pending .admin-media-preview img {
  opacity: 1;
  filter: saturate(.95) brightness(.98);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-clear,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-clear {
  border-color: rgba(255, 205, 211, .22);
  background: rgba(255, 238, 240, .92);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn img,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn img {
  filter: none;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn:hover,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-clear:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-clear:hover {
  background: rgba(255, 255, 255, .54);
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-copy {
  display: block !important;
  min-width: 0 !important;
  gap: 2px !important;
  align-content: center !important;
  position: static;
  flex: 1 1 auto !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-head h3 {
  border-color: rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .075));
  box-shadow: 0 12px 24px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  -webkit-text-fill-color: rgba(255, 255, 255, .92);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3 {
  border-color: rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .075));
  box-shadow: 0 12px 24px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  -webkit-text-fill-color: rgba(255, 255, 255, .92);
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::before {
  content: "Đang dùng làm nhạc nền";
  color: rgba(47, 51, 57, .58);
  -webkit-text-fill-color: rgba(47, 51, 57, .58);
  font-weight: 500;
  display: block;
  margin: 0 0 4px;
  font-size: 10.8px;
  letter-spacing: .05px;
  line-height: 1.25;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before {
  content: "" !important;
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  background: url("assets/icons/music.svg") center / contain no-repeat !important;
  opacity: 1 !important;
  margin: auto !important;
  background-position: center;
  position: absolute !important;
  inset: 0 !important;
  transform: none !important;
  background-image: url("assets/icons/music.svg");
  filter: none !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-size: contain !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::before,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::before {
  color: rgba(255, 255, 255, .58);
  -webkit-text-fill-color: rgba(255, 255, 255, .58);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before {
  filter: brightness(0) invert(1) !important;
  opacity: 0.95 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::after {
  content: none;
  display: block;
  margin-top: 4px;
  color: rgba(47, 51, 57, .58);
  -webkit-text-fill-color: rgba(47, 51, 57, .58);
  font-size: 10.8px;
  font-weight: 500;
  letter-spacing: .05px;
  line-height: 1.25;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::after,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::after {
  color: rgba(255, 255, 255, .58);
  -webkit-text-fill-color: rgba(255, 255, 255, .58);
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-file-pill {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 15px !important;
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 0 14px 0 6px !important;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  border-radius: 999px !important;
  background: rgba(43, 45, 49, .05) !important;
  box-shadow: none !important;
  flex-direction: row !important;
  flex: 1 1 auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  height: 52px !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-icon:hover,
body.admin-dashboard-open #invitationUpdateForm .admin-music-icon:focus-visible {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(35, 38, 44, .24);
  transform: translateY(-1px);
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::before,
body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::after {
  content: none !important;
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
body.admin-dashboard-open #invitationUpdateForm .admin-music-clear {
  display: block !important;
  place-items: center !important;
  width: 52px !important;
  min-width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
  border: 1px solid rgba(43, 45, 49, .16) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08) !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  cursor: pointer !important;
  font-size: 0 !important;
  line-height: 0;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(.34, 1.56, .64, 1) !important;
  appearance: none;
  -webkit-appearance: none;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  text-transform: none !important;
  position: relative !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:focus-visible,
body.admin-dashboard-open #invitationUpdateForm .admin-music-clear:hover,
body.admin-dashboard-open #invitationUpdateForm .admin-music-clear:focus-visible {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(35, 38, 44, .26);
  transform: translateY(-1px);
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before {
  content: none !important;
  position: static;
  inset: auto;
  display: none !important;
  width: 22px;
  height: 22px;
  margin: 0;
  background: center / contain no-repeat;
  opacity: .86;
  transform: none;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before {
  background-image: url("assets/icons/delete.svg");
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  width: 22px !important;
  height: 22px !important;
  margin: auto !important;
  background: url("assets/icons/delete.svg") center / contain no-repeat !important;
  filter: none !important;
  opacity: .68 !important;
  transform: none !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-clear[hidden],
body.admin-dashboard-open #invitationUpdateForm .admin-music-settings.has-pending label.admin-music-upload-btn {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-settings.has-pending .admin-music-clear:not([hidden]) {
  display: grid !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-file-pill,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-file-pill {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #121214 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-icon,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-icon,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-clear,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-clear {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 9px 22px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .13);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-icon:hover,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-icon:focus-visible,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:focus-visible,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-clear:hover,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-clear:focus-visible,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-icon:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-icon:focus-visible,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:focus-visible,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-clear:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-clear:focus-visible {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .28);
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-icon img,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-icon img,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before {
  filter: invert(1);
  opacity: .9;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-clear[hidden] {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-settings.has-pending label.admin-music-upload-btn {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-upload-btn img {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings:not(.hidden) {
  display: grid !important;
  gap: 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .6) !important;
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05) !important;
  overflow: hidden !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings {
  border-color: rgba(255, 255, 255, .1) !important;
  background: rgba(40, 40, 44, .82) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .38) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-clear,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-clear {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(42, 44, 52, .9) !important;
  color: rgba(240, 234, 226, .92) !important;
  -webkit-text-fill-color: rgba(240, 234, 226, .92) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-image .admin-media-preview img {
  display: block !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-placeholder {
  display: flex !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  background: none !important;
  border: none !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  filter: invert(1) !important;
  opacity: .88 !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-media-preview,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-media-preview {
  border-color: rgba(43, 45, 49, .16) !important;
  background: rgba(43, 45, 49, .08) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn {
  background: rgba(40, 42, 48, .65) !important;
  border-color: rgba(255, 255, 255, .28) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-media-clear,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-media-clear {
  background: rgba(40, 42, 48, .65) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-media-picker p {
  color: #4a4d54 !important;
  -webkit-text-fill-color: #4a4d54 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-status {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
body.admin-dashboard-open #invitationUpdateForm .admin-music-clear:hover {
  background: rgba(58, 60, 70, .98) !important;
  border-color: rgba(255, 255, 255, .26) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-settings {
  border-color: rgba(43, 45, 49, .14) !important;
  background: rgba(255, 255, 255, .62) !important;
  box-shadow: 0 2px 14px rgba(32, 34, 38, .07) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-copy span,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-copy span {
  border-color: rgba(43, 45, 49, .15) !important;
  background: rgba(255, 255, 255, .88) !important;
  color: #2b2d31 !important;
  -webkit-text-fill-color: #2b2d31 !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-file-pill,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-file-pill {
  border-color: rgba(43, 45, 49, .13) !important;
  background: rgba(43, 45, 49, .05) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-icon,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-icon {
  border-color: rgba(43, 45, 49, .14) !important;
  background: rgba(255, 255, 255, .9) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-icon img,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-icon img {
  filter: none !important;
  opacity: .76 !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-copy strong {
  color: #2b2d31 !important;
  -webkit-text-fill-color: #2b2d31 !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-clear,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-clear {
  border-color: rgba(43, 45, 49, .16) !important;
  background: rgba(255, 255, 255, .86) !important;
}

html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-music-clear::before {
  filter: none !important;
  opacity: .68 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-icon:hover {
  background: rgba(58, 60, 70, .98) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-head {
  padding: 20px 18px 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(43, 45, 49, .08) !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-head h3 {
  display: inline-block !important;
  margin: 0 !important;
  padding: 7px 20px !important;
  border: 1px solid rgba(43, 45, 49, .15) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #2b2d31 !important;
  -webkit-text-fill-color: #2b2d31 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .15px !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-music-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 52px !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  padding: 20px 14px 22px !important;
  /* airy bottom padding */
  background: transparent !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-head,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-head {
  border-bottom: 1px solid rgba(255, 255, 255, .09) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-head h3 {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: rgba(255, 255, 255, .95) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .95) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before {
  filter: invert(1) !important;
  opacity: .84 !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-preview,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-preview,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-preview,
html:not(.dark-mode) body.admin-dashboard-open #invitationUpdateForm .admin-media-preview,
body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-media-preview {
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-preview img,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-preview img,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-preview img {
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

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

body.admin-dashboard-open .guestbook-board-top h3 {
  display: inline-block !important;
  margin: 0 !important;
  padding: 7px 20px !important;
  border: 1px solid rgba(43, 45, 49, .15) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #2b2d31 !important;
  -webkit-text-fill-color: #2b2d31 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .15px !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

html.dark-mode body.admin-dashboard-open .guestbook-board-top h3,
body.dark-mode.admin-dashboard-open .guestbook-board-top h3 {
  border-color: rgba(255, 255, 255, .18) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: rgba(255, 255, 255, .95) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .95) !important;
}

body.admin-dashboard-open .guestbook-filter-card {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid rgba(43, 45, 49, .13) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .6) !important;
  box-shadow: 0 2px 12px rgba(32, 34, 38, .05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

html.dark-mode body.admin-dashboard-open .guestbook-filter-card,
body.dark-mode.admin-dashboard-open .guestbook-filter-card,
html.dark-mode body.admin-dashboard-open .guestbook-message-frame,
body.dark-mode.admin-dashboard-open .guestbook-message-frame,
html.dark-mode body.admin-dashboard-open .hidden-guestbook-box,
body.dark-mode.admin-dashboard-open .hidden-guestbook-box {
  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;
}

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 #invitationUpdateForm .admin-event-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings,
html.dark-mode body.admin-dashboard-open .guestbook-filter-card,
html.dark-mode body.admin-dashboard-open .guestbook-message-frame,
html.dark-mode body.admin-dashboard-open .hidden-guestbook-box,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-settings,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings,
body.dark-mode.admin-dashboard-open .guestbook-filter-card,
body.dark-mode.admin-dashboard-open .guestbook-message-frame,
body.dark-mode.admin-dashboard-open .hidden-guestbook-box {
  background: #1c1c1e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-head h3,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-head h3,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3,
html.dark-mode body.admin-dashboard-open .guestbook-board-top h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-head h3,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3,
body.dark-mode.admin-dashboard-open .guestbook-board-top h3 {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings input,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings select,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-event-settings textarea,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings input,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings input,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings select,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-event-settings textarea,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings input {
  background: #121214 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-icon,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-music-clear,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-icon,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-music-clear {
  background: #1c1c1e !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html.dark-mode body.admin-dashboard-open .admin-tabs,
body.dark-mode.admin-dashboard-open .admin-tabs {
  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 16px rgba(0, 0, 0, .26) !important;
}

html.dark-mode body.admin-dashboard-open .admin-tabs::before,
body.dark-mode.admin-dashboard-open .admin-tabs::before {
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12) !important;
}

html.dark-mode body.admin-dashboard-open .admin-tab,
body.dark-mode.admin-dashboard-open .admin-tab {
  color: rgba(255, 255, 255, 0.5) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.5) !important;
}

html.dark-mode body.admin-dashboard-open .admin-tab.active,
body.dark-mode.admin-dashboard-open .admin-tab.active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !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;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-update-actions,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-update-actions {
  background: rgba(28, 28, 30, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.32) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-save-message.show {
  transform: translateX(-50%) translateY(0) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-update-back-btn {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn::before {
  content: "" !important;
  width: 24px !important;
  height: 24px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  display: block !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn::before,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-update-actions .submit-btn:hover {
  background: #f5efe9 !important;
}

body.admin-dashboard-open .admin-workspace.tab-update-active .admin-update-actions {
  display: block !important;
  position: fixed !important;
  bottom: 60px !important;
  right: 24px !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 1000 !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.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-image .admin-media-placeholder,
body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-pending .admin-media-placeholder {
  display: none !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn:hover,
body.admin-dashboard-open #invitationUpdateForm .admin-media-clear:hover {
  background: rgba(0, 0, 0, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
}

body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn:active,
body.admin-dashboard-open #invitationUpdateForm .admin-media-clear:active {
  transform: translate(-50%, -50%) scale(0.92) !important;
}

body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before {
  filter: brightness(0) !important;
  opacity: 0.82 !important;
}

body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  transform: scale(1.06) !important;
}

body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:active {
  transform: scale(0.94) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: scale(1.06) !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:active,
body.dark-mode.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn:active {
  transform: scale(0.94) !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;
}

body .guestbook-section,
body.dark-mode .guestbook-section,
html.dark-mode .guestbook-section {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

body .guestbook-hero,
body.dark-mode .guestbook-hero,
html.dark-mode .guestbook-hero {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body[data-page="index"] .guestbook-hero>img {
  width: 112px !important;
  height: 148px !important;
  top: 0 !important;
  left: 48px !important;
  border-radius: 4px !important;
}

body[data-page="index"] .guestbook-hero::after {
  width: 112px !important;
  height: 148px !important;
  top: -6px !important;
  left: 54px !important;
  /* shifted exactly 6px right and 6px up */
  border-radius: 4px !important;
  display: none !important;
  content: none !important;
  border: none !important;
}

body[data-page="index"] .guestbook-hero .dark-card {
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="index"] .guestbook-hero::before {
  display: block !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: background-color 0.3s ease, border-color 0.3s ease !important;
  box-shadow: none !important;
}

body:not(.dark-mode)[data-page="index"] .guestbook-hero::before {
  background: rgba(255, 255, 255, 0.52) !important;
  border-top: 1px solid rgba(43, 45, 49, 0.08) !important;
  border-bottom: 1px solid rgba(43, 45, 49, 0.08) !important;
}

body:not(.dark-mode)[data-page="index"] .guestbook-hero .script-white {
  color: #2b2d31 !important;
  text-shadow: none !important;
}

html.dark-mode body[data-page="index"] .guestbook-hero::before,
body.dark-mode[data-page="index"] .guestbook-hero::before {
  background: rgba(255, 255, 255, 0.05) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-mode body[data-page="index"] .guestbook-hero .script-white,
body.dark-mode[data-page="index"] .guestbook-hero .script-white {
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode body[data-page="index"] .guest-form input,
html.dark-mode body[data-page="index"] .guest-form textarea,
html.dark-mode body[data-page="index"] .guest-form select,
body.dark-mode[data-page="index"] .guest-form input,
body.dark-mode[data-page="index"] .guest-form textarea,
body.dark-mode[data-page="index"] .guest-form select {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form input,
body:not(.dark-mode)[data-page="index"] .guest-form textarea,
body:not(.dark-mode)[data-page="index"] .guest-form select {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(43, 45, 49, 0.12) !important;
  color: #2b2d31 !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form input:focus,
body:not(.dark-mode)[data-page="index"] .guest-form textarea:focus,
body:not(.dark-mode)[data-page="index"] .guest-form select:focus {
  border-color: rgba(43, 45, 49, 0.45) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(43, 45, 49, 0.05) !important;
}

body[data-page="index"] .guest-form .submit-btn {
  text-transform: none !important;
}

body[data-page="index"] .guest-form input::placeholder,
body[data-page="index"] .guest-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1 !important;
  /* high opacity white, crisp and clear */
  opacity: 1 !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form input::placeholder,
body:not(.dark-mode)[data-page="index"] .guest-form textarea::placeholder {
  color: rgba(43, 45, 49, 0.88) !important;
  opacity: 1 !important;
  /* high opacity dark grey */
  opacity: 1 !important;
}

body[data-page="index"] .guest-form select:invalid {
  color: rgba(255, 255, 255, 0.88) !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form select:invalid {
  color: rgba(43, 45, 49, 0.88) !important;
}

body[data-page="index"] .guest-form select option {
  background-color: #202126 !important;
  color: #ffffff !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form select option {
  background-color: #ffffff !important;
  color: #2b2d31 !important;
}

body[data-page="index"] .guest-form select option[disabled] {
  color: rgba(255, 255, 255, 0.3) !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form select option[disabled] {
  color: rgba(43, 45, 49, 0.3) !important;
}

html.dark-mode body[data-page="index"] .time-box,
body.dark-mode[data-page="index"] .time-box {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
}

body[data-page="index"] .guestbook-hero .script-white {
  display: inline-block !important;
  transform: translateY(3.5px) !important;
}

.welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  /* sit on top of everything, including topbars */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

.welcome-gate.gate-closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) saturate(0.95);
  transform: scale(1.1);
  /* prevent light bleed on edges due to blur */
  transition: filter 0.8s ease, transform 0.8s ease;
  z-index: 1;
}

.welcome-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 26, 0.42);
  /* default darkish glass */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  transition: background-color 0.8s ease, backdrop-filter 0.8s ease;
}

body:not(.dark-mode) .welcome-overlay {
  background: rgba(255, 255, 255, 0.28);
}

.welcome-card {
  position: relative;
  z-index: 10;
  width: min(340px, 86%);
  text-align: center;
  animation: welcomeFadeInUp 1s ease-out;
}

.welcome-frame {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 42px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease;
}

body:not(.dark-mode) .welcome-frame {
  border-color: rgba(43, 45, 49, 0.2);
  background: rgba(255, 255, 255, 0.45);
}

.welcome-sub-title {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 14px;
  font-weight: 500;
}

body:not(.dark-mode) .welcome-sub-title {
  color: rgba(43, 45, 49, 0.72);
}

.welcome-name {
  font-family: "Great Vibes", cursive;
  font-size: 42px;
  color: #ffffff;
  margin: 0 0 16px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  line-height: 1.1;
}

body:not(.dark-mode) .welcome-name {
  color: #2b2d31;
  text-shadow: none;
}

.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);
}

.welcome-btn {
  background: #ffffff;
  color: #2b2d31;
  border: none;
  padding: 13px 32px;
  border-radius: 999px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

body:not(.dark-mode) .welcome-btn {
  background: #2b2d31;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(43, 45, 49, 0.2);
}

.welcome-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.35);
}

body:not(.dark-mode) .welcome-btn:hover {
  box-shadow: 0 12px 28px rgba(43, 45, 49, 0.35);
}

.welcome-btn:active {
  transform: scale(0.96);
}

.welcome-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  animation: welcomeBtnPulse 2s infinite;
  pointer-events: none;
}

body:not(.dark-mode) .welcome-btn::after {
  border-color: rgba(43, 45, 49, 0.4);
}

body[data-page="index"] .welcome-bg {
  opacity: 0 !important;
  transition: opacity 0.5s ease, filter 0.8s ease, transform 0.8s ease !important;
}

body[data-page="index"] .welcome-bg.loaded {
  opacity: 1 !important;
}

body[data-page="index"] .welcome-gate {
  background: #14151a !important;
}

body:not(.dark-mode)[data-page="index"] .welcome-gate {
  background: #f5f4f1 !important;
}

body[data-page="index"] .welcome-overlay {
  background: radial-gradient(circle, rgba(20, 21, 26, 0.55) 0%, rgba(20, 21, 26, 0.88) 100%) !important;
  backdrop-filter: blur(18px) !important;
  /* soften the blur to be deeper */
  -webkit-backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

body:not(.dark-mode)[data-page="index"] .welcome-overlay {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.88) 100%) !important;
}

body[data-page="index"] .welcome-frame {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 20px 10px !important;
}

body[data-page="index"] .welcome-sub-title {
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 4px !important;
  /* wider spacing */
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 20px !important;
}

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

body[data-page="index"] .welcome-name {
  font-size: 54px !important;
  /* larger, dramatic cursive name */
  font-weight: 400 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.15) !important;
  margin-bottom: 18px !important;
}

body:not(.dark-mode)[data-page="index"] .welcome-name {
  color: #2b2d31 !important;
  text-shadow: none !important;
}

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"] .welcome-btn {
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #2b2d31 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  padding: 14px 34px !important;
  min-height: 46px !important;
  text-transform: none !important;
}

body:not(.dark-mode)[data-page="index"] .welcome-btn {
  background: #2b2d31 !important;
  border: 1px solid #2b2d31 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(43, 45, 49, 0.15) !important;
}

body[data-page="index"] .welcome-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  transform: scale(1.03) !important;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

body:not(.dark-mode)[data-page="index"] .welcome-btn:hover {
  background: rgba(43, 45, 49, 0.08) !important;
  color: #2b2d31 !important;
  border-color: rgba(43, 45, 49, 0.3) !important;
  box-shadow: 0 10px 28px rgba(43, 45, 49, 0.1) !important;
}

body[data-page="index"] .welcome-btn:active {
  transform: scale(0.97) !important;
}

body[data-page="index"] .welcome-btn::after {
  inset: -6px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}

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

body[data-page="index"] .welcome-gate.gate-closed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !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"]:not(.invitation-revealed) .topbar {
  transform: translateY(-20px) !important;
  opacity: 0 !important;
}

body[data-page="index"]:not(.invitation-revealed) .mobile-page {
  transform: translateY(35px) !important;
  opacity: 0 !important;
}

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

body[data-page="index"] .mobile-page {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s 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;
}

body[data-page="index"] .thank-section {
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  margin: 0 24px 30px !important;
  /* add bottom margin for clean spacing */
  overflow: hidden !important;
}

body.dark-mode[data-page="index"] .thank-section {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

body[data-page="index"] .thank-overlay {
  background: rgba(255, 254, 250, 0.42) !important;
  backdrop-filter: blur(1.5px) !important;
  -webkit-backdrop-filter: blur(1.5px) !important;
  transition: background 0.3s ease !important;
}

body.dark-mode[data-page="index"] .thank-overlay {
  background: rgba(20, 21, 26, 0.52) !important;
  backdrop-filter: blur(2.5px) !important;
  -webkit-backdrop-filter: blur(2.5px) !important;
}

body[data-page="index"] .thank-overlay h2 {
  font-family: "Great Vibes", cursive !important;
  font-size: 46px !important;
  font-weight: 400 !important;
  color: #2b2d31 !important;
  text-shadow: 0 1px 4px rgba(255, 254, 250, 0.8), 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  transition: color 0.3s ease !important;
}

body.dark-mode[data-page="index"] .thank-overlay h2 {
  color: #f5eee7 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
}

.admin-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99999 !important;
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
}

.admin-modal.hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.admin-modal-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(15, 16, 20, 0.72) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

.admin-modal-card {
  position: relative !important;
  width: 90% !important;
  max-width: 390px !important;
  background: #202126 !important;
  /* elegant dark gray */
  border-radius: 24px !important;
  padding: 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  z-index: 100000 !important;
  color: #f5eee7 !important;
}

body:not(.dark-mode) .admin-modal-card {
  background: #ffffff !important;
  border: 1px solid rgba(43, 45, 49, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  color: #2b2d31 !important;
}

.admin-modal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.admin-modal-header h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.admin-modal-close {
  background: none !important;
  border: none !important;
  color: inherit !important;
  font-size: 28px !important;
  cursor: pointer !important;
  padding: 0 !important;
  line-height: 1 !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s ease !important;
}

.admin-modal-close:hover {
  opacity: 1 !important;
}

.cropper-tip {
  font-size: 13px !important;
  color: #a0a0a5 !important;
  text-align: center !important;
  margin: 0 0 4px !important;
}

body:not(.dark-mode) .cropper-tip {
  color: #606266 !important;
}

.cropper-wrapper {
  background: #131417 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 380px !important;
}

body:not(.dark-mode) .cropper-wrapper {
  background: #f7f8fa !important;
}

.cropper-mask {
  position: relative !important;
  overflow: hidden !important;
  background: #1a1a1a !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

body:not(.dark-mode) .cropper-mask {
  border: 2px solid rgba(43, 45, 49, 0.2) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.cropper-mask.mask-hero {
  aspect-ratio: 3/4 !important;
  width: 210px !important;
  height: 280px !important;
  border-radius: 16px !important;
}

.cropper-mask.mask-guest {
  aspect-ratio: 1/1.2 !important;
  width: 200px !important;
  height: 240px !important;
  border-radius: 12px !important;
}

.cropper-mask.mask-landscape {
  aspect-ratio: 1.6/1 !important;
  width: 288px !important;
  height: 180px !important;
  border-radius: 14px !important;
}

#cropperImage {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform-origin: 0 0 !important;
  cursor: move !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  touch-action: none !important;
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
}

.admin-modal-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 8px !important;
  padding: 0 !important;
}

.admin-modal-footer .outline-btn,
.admin-modal-footer .submit-btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
  white-space: nowrap !important;
}

.admin-modal-footer .outline-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: rgba(230, 225, 218, 0.82) !important;
  box-shadow: none !important;
}

.admin-modal-footer .outline-btn::before {
  content: none !important;
  display: none !important;
}

body:not(.dark-mode) .admin-modal-footer .outline-btn {
  background: rgba(43, 45, 49, 0.04) !important;
  border: 1px solid rgba(43, 45, 49, 0.18) !important;
  color: rgba(43, 45, 49, 0.72) !important;
}

.admin-modal-footer .outline-btn:hover {
  background: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
}

body:not(.dark-mode) .admin-modal-footer .outline-btn:hover {
  background: rgba(43, 45, 49, 0.08) !important;
  border-color: rgba(43, 45, 49, 0.28) !important;
}

.admin-modal-footer .submit-btn {
  background: #c47a71 !important;
  /* warm rose, lighter than old #b6655c */
  border: 1px solid #c47a71 !important;
  color: #fff8f6 !important;
  box-shadow: 0 4px 14px rgba(182, 101, 92, 0.32) !important;
}

.admin-modal-footer .submit-btn:hover {
  background: #b6655c !important;
  border-color: #b6655c !important;
  box-shadow: 0 6px 18px rgba(182, 101, 92, 0.42) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-picker:not(.has-image) .admin-media-preview {
  border: 1.5px dashed rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 18px !important;
  box-sizing: border-box !important;
}

body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-media-picker:not(.has-image) .admin-media-preview {
  border: 1.5px dashed rgba(43, 45, 49, 0.22) !important;
  background: rgba(43, 45, 49, 0.03) !important;
  border-radius: 18px !important;
  box-sizing: border-box !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-placeholder::before,
body.admin-dashboard-open #invitationUpdateForm .admin-media-placeholder::after {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-placeholder::before {
  content: "" !important;
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  border: none !important;
  border-radius: 0 !important;
}

body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-media-placeholder::before {
  background-color: rgba(43, 45, 49, 0.3) !important;
}

body.admin-dashboard-open #invitationUpdateForm .admin-media-placeholder::after {
  content: none !important;
  display: none !important;
}

html.dark-mode body.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-image:not(.has-pending) .admin-media-preview img,
body.dark-mode.admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-image:not(.has-pending) .admin-media-preview img {
  opacity: 0.45 !important;
  filter: blur(0.5px) saturate(0.7) brightness(0.85) !important;
}

body:not(.dark-mode).admin-dashboard-open #invitationUpdateForm .admin-media-picker.has-image:not(.has-pending) .admin-media-preview img {
  opacity: 0.38 !important;
  filter: blur(0.5px) saturate(0.75) !important;
}

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

  .floating-music-btn {
    left: auto;
    right: 8px;
  }

  .admin-page {
    padding: 18px;
  }

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

  .dashboard {
    padding: 20px;
  }

  .admin-top {
    display: block;
  }

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

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .signature {
    font-size: 44px;
  }

  .wide-photo {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }

  .time-box {
    gap: 9px;
    font-size: 24px;
    letter-spacing: 3px;
  }

  .address {
    white-space: normal;
  }

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

  .menu-btn {
    left: 12px;
  }

  .hero-section {
    height: 620px;
    min-height: 620px;
  }

  .intro-grid {
    grid-template-columns: 42% 1fr;
  }

  .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;
  }

  body.admin-dashboard-open .dashboard {
    padding: 28px 22px 40px;
    padding-bottom: 46px;
  }

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

  #updatePanel {
    padding-bottom: 62px;
  }

}

@media(max-width:390px) {
  .signature {
    font-size: 47px;
  }

  .hero-ceremony-img {
    width: min(46vw, 154px);
  }

  .hero-name {
    font-size: 44px;
  }

  .event-info-section {
    padding: 40px 10px 50px;
    padding-top: 28px;
  }

  .event-time-layout {
    grid-template-columns: minmax(88px, 1fr) 88px minmax(88px, 1fr);
    gap: 8px;
    max-width: 350px;
  }

  .event-side {
    grid-template-columns: minmax(16px, 1fr) auto minmax(16px, 1fr);
    gap: 3px;
    min-width: 74px;
  }

  .event-side strong {
    font-size: 14px;
  }

  .event-hour strong {
    font-size: 11px;
  }

  .event-date-core {
    min-width: 84px;
  }

  .event-date-core strong {
    font-size: 70px;
  }

  .event-date-core span,
  .event-date-core em,
  .event-location-label {
    font-size: 14px;
  }

  .event-school {
    max-width: 310px;
    font-size: 13px;
  }

  .event-location-block h2 {
    font-size: 17px;
  }

  .event-address {
    font-size: 12px;
  }

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

  .event-weekday {
    --event-line-width: 64px;
  }

  .event-hour {
    --event-line-width: 74px;
  }

  .event-side strong,
  .event-hour strong {
    font-size: 12px;
  }

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

  .intro-section {
    padding: 12px 22px 28px;
  }

  .intro-section .quote {
    font-size: 13px;
  }

  .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;
  }

  .guestbook-hero {
    height: 150px;
    margin-right: -20px;
    margin-left: -20px;
  }

  .guestbook-hero::before {
    top: 50px;
    height: 62px;
  }

  .guestbook-hero::after {
    top: -5px;
    left: 37px;
    width: 104px;
    height: 138px;
  }

  .guestbook-hero>img {
    left: 34px;
    width: 104px;
    height: 138px;
  }

  .guestbook-hero .dark-card {
    top: 50px;
    left: 118px;
    height: 62px;
    padding: 0 18px;
  }

  .script-white {
    font-size: 31px;
  }

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

  .event-time-layout,
  .admin-event-preview .event-time-layout {
    grid-template-columns: minmax(74px, 1fr) auto minmax(74px, 1fr);
    column-gap: 14px;
  }

  .admin-tab {
    min-height: 44px;
    font-size: 14px;
  }

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

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

  .guestbook-board-top {
    grid-template-columns: 42px 1fr 42px;
    gap: 6px;
  }

  .guestbook-icon-btn,
  .guestbook-sort-btn {
    width: 39px;
    height: 39px;
  }

  .guestbook-icon-btn img,
  .guestbook-sort-btn img {
    width: 28px;
    height: 28px;
  }

  .guestbook-message-frame {
    height: auto;
    padding: 16px 13px;
    aspect-ratio: auto;
    min-height: 160px;
  }

  .guestbook-filter-row {
    width: min(232px, 80%);
  }

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

  .guestbook-board-top,
  .guestbook-message-frame {
    width: min(296px, 100%);
  }

  .guestbook-filter-row,
  .guestbook-filter-row.guestbook-filter-fixed {
    width: min(296px, 100%);
    margin-bottom: 38px;
    margin: 8px auto 14px;
  }

  .guestbook-filter-toolbar {
    width: min(296px, 100%);
    gap: 8px;
  }

}

@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 .dashboard {
    padding-left: 24px;
    padding-right: 24px;
  }

  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;
  }

  body.admin-dashboard-open #invitationUpdateForm {
    gap: 12px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-update-grid {
    gap: 9px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-settings {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 12px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-settings {
    padding: 18px 12px 16px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings {
    padding: 16px 12px 14px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-grid {
    gap: 16px 10px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-icon {
    width: 38px;
    height: 38px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-icon img {
    width: 18px;
    height: 18px;
  }

}

@media (max-width: 390px) {
  .guestbook-board-top {
    width: var(--guestbook-wide);
    margin-bottom: 13px;
  }

  .guestbook-board-top p {
    font-size: 13.8px;
    max-width: 270px;
  }

  .guestbook-filter-toolbar {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
    width: var(--guestbook-wide);
    margin-bottom: 16px;
  }

  .guestbook-filter-toolbar>.guestbook-icon-btn,
  .guestbook-filter-toolbar>.guestbook-sort-btn {
    width: 38px;
    height: 38px;
  }

  body.admin-dashboard-open .admin-tabs {
    margin-bottom: 20px !important;
    min-height: 52px !important;
    height: 52px !important;
  }

  body.admin-dashboard-open .admin-tab {
    min-height: 42px !important;
    font-size: 13.5px !important;
    height: 42px !important;
  }

  .guestbook-filter-toolbar>.guestbook-icon-btn img,
  .guestbook-filter-toolbar>.guestbook-sort-btn img {
    width: 24px;
    height: 24px;
  }

  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;
  }

  body.admin-dashboard-open .guestbook-filter-toolbar {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 10px;
    padding: 14px 14px 10px !important;
  }

  body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row,
  body.admin-dashboard-open .guestbook-filter-toolbar .guestbook-filter-row.guestbook-filter-fixed {
    padding-inline: 14px;
    gap: clamp(14px, 7vw, 30px);
  }

  body.admin-dashboard-open .guestbook-message-frame {
    padding: 14px !important;
    border-radius: 22px;
  }

  .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-event-preview .event-time-layout {
    grid-template-columns: minmax(84px, 1fr) 86px minmax(84px, 1fr);
    gap: 8px;
    max-width: 342px;
  }

  body.admin-dashboard-open .admin-event-preview .event-date-core {
    min-width: 86px;
  }

  body.admin-dashboard-open .admin-event-preview .event-date-core strong {
    font-size: 70px;
  }

  body.admin-dashboard-open .admin-event-preview .event-side strong,
  body.admin-dashboard-open .admin-event-preview .event-hour strong {
    font-size: 12px;
  }

  body.admin-dashboard-open .guestbook-message-list {
    gap: 12px;
  }

  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 .guestbook-board-top,
  body.admin-dashboard-open .guestbook-filter-toolbar {
    width: min(100%, 318px);
  }

  body.admin-dashboard-open .guestbook-board-top {
    padding-inline: 14px;
    padding: 13px 14px 11px !important;
  }

  body.admin-dashboard-open .guestbook-board-top p {
    font-size: 14px;
  }

  body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-icon-btn,
  body.admin-dashboard-open .guestbook-filter-toolbar>.guestbook-sort-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  body.admin-dashboard-open .guest-card-actions {
    max-width: 58%;
    gap: 5px;
  }

  body.admin-dashboard-open .guest-visibility-btn {
    min-height: 24px;
    padding-inline: 9px;
  }

  body.admin-dashboard-open .hidden-guestbook-box {
    width: min(300px, calc(100% - 58px));
  }

  body.admin-dashboard-open #invitationUpdateForm {
    padding-inline: 0;
    padding-bottom: 96px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-date-select-grid {
    gap: 9px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-update-grid.two {
    gap: 10px;
  }

  body.admin-dashboard-open #invitationUpdateForm input,
  body.admin-dashboard-open #invitationUpdateForm select {
    padding-inline: 12px;
  }

  body.admin-dashboard-open #invitationUpdateForm select {
    padding-right: 28px;
    background-position: right 11px center, center;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-settings {
    grid-template-columns: minmax(0, 1fr) 48px !important;
    column-gap: 10px !important;
    padding: 60px 14px 20px !important;
    min-height: 136px !important;
    gap: 10px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn {
    min-width: 42px;
    padding-inline: 11px;
    font-size: 9.5px;
    height: 42px;
    width: 42px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-event-settings {
    gap: 13px;
    padding: 18px 12px 16px;
    border-radius: 24px;
    padding-top: 24px;
  }

  body.admin-dashboard-open #updatePanel .admin-update-form {
    margin-top: -3px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-settings {
    padding-inline: 15px;
    padding: 22px 16px 20px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-grid {
    gap: 14px 10px !important;
    padding: 14px 14px 16px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-control {
    width: min(110px, 100%);
  }

  body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn,
  body.admin-dashboard-open #invitationUpdateForm .admin-media-clear {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 42px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-picker p {
    font-size: 12px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head {
    margin-bottom: 16px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-icon img {
    width: 19px;
    height: 19px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong {
    font-size: 12.7px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-event-settings-head h3 {
    min-height: 30px;
    padding: 6px 14px;
    font-size: 12.5px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-head {
    margin-bottom: 18px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-media-head h3 {
    min-height: 30px;
    padding: 6px 14px;
    font-size: 12.5px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings {
    padding: 22px 16px 17px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-head h3 {
    min-height: 30px;
    padding: 6px 14px;
    font-size: 12.5px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-copy span {
    min-height: 28px;
    padding: 5px 15px;
    font-size: 12.2px;
    top: 12px;
  }

  body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before {
    width: 22px;
    height: 22px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::after {
    font-size: 10.4px;
    margin-top: 3px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-copy strong::before {
    font-size: 10.4px;
    margin-bottom: 3px;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-file-pill {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    min-height: 48px !important;
    padding: 5px 12px 5px 5px !important;
    border-radius: 17px;
    gap: 9px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-actions,
  body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
  body.admin-dashboard-open #invitationUpdateForm .admin-music-clear {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn::before,
  body.admin-dashboard-open #invitationUpdateForm .admin-music-clear::before {
    width: 21px;
    height: 21px;
  }

  body.admin-dashboard-open #invitationUpdateForm label.admin-music-upload-btn,
  body.admin-dashboard-open #invitationUpdateForm .admin-music-clear {
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 11px !important;
    font-size: 11.5px !important;
    width: 48px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-date-select-grid {
    gap: 8px !important;
    margin: 13px 14px 0 !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-event-settings .admin-update-grid.two {
    gap: 8px !important;
    margin: 13px 14px 0 !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label {
    margin: 13px 14px 0 !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-event-settings>label:last-child {
    margin-bottom: 14px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-gift-unlock-settings .admin-update-grid.two {
    margin: 13px 14px 16px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm label.admin-media-upload-btn img,
  body.admin-dashboard-open #invitationUpdateForm .admin-media-clear img {
    width: 18px !important;
    height: 18px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-actions {
    width: 48px !important;
    height: 48px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-music-body {
    padding: 14px 14px 16px !important;
  }

  body.admin-dashboard-open .hidden-guestbook-toggle {
    padding: 13px 14px !important;
    min-height: 48px !important;
  }

  body.admin-dashboard-open .hidden-guestbook-panel {
    padding: 12px 14px 14px !important;
  }

  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;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-update-actions {
    padding: 10px 16px 14px !important;
  }

  body.admin-dashboard-open #invitationUpdateForm .admin-save-message {
    bottom: 74px !important;
  }

  body.admin-dashboard-open .admin-workspace.tab-update-active .admin-update-actions {
    bottom: 48px !important;
    right: 16px !important;
  }

}

@media (min-width: 520px) {
  body.admin-dashboard-open .admin-workspace.tab-update-active .admin-update-actions {
    right: calc(50% - 239px + 16px) !important;
  }

  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.admin-dashboard-open .admin-tabs::before,
  body.admin-dashboard-open .admin-tab,
  body.admin-dashboard-open .admin-panel {
    transition: none;
  }

  .guestbook-message-list {
    transition: none;
  }

  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;
  }

  body[data-page="index"] .countdown-section.is-visible .time-box::after {
    opacity: 0;
  }

  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;
  }

  body[data-page="index"] .guestbook-hero>img {
    width: 104px !important;
    height: 138px !important;
    top: 0 !important;
    left: 34px !important;
  }

  body[data-page="index"] .guestbook-hero::after {
    width: 104px !important;
    height: 138px !important;
    top: -5px !important;
    left: 39px !important;
  }

  body[data-page="index"] .thank-section {
    margin: 0 20px 24px !important;
  }

}

@media (min-width: 520px) {
  body.admin-dashboard-open #invitationUpdateForm .admin-update-actions {
    right: calc(50% - 239px + 24px) !important;
  }

  body.admin-dashboard-open .admin-workspace.tab-update-active .admin-update-actions {
    right: calc(50% - 239px + 24px) !important;
  }

}


/* Card container: full width, same sizing model as event / media / gift cards */
body.admin-dashboard-open #invitationUpdateForm .admin-music-settings {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Header: đồng bộ padding với .admin-media-head / .admin-gift-unlock-head / .admin-event-settings-head */
body.admin-dashboard-open #invitationUpdateForm .admin-music-head {
  padding: 15px 18px 13px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(43, 45, 49, .08) !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Body: padding đồng bộ, nội dung được căn đều */
body.admin-dashboard-open #invitationUpdateForm .admin-music-body {
  padding: 14px 18px 18px !important;
}

/* File pill: kéo giãn full width trong body */
body.admin-dashboard-open #invitationUpdateForm .admin-music-file-pill {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* ==========================================
   GUESTBOOK FORM STYLING CORRECTIONS
   - Fix excessive border radius (egg/pill bug)
   - Increase field and border contrast
   ========================================== */

/* Cohesive border-radius for guestbook inputs, select, textarea, and submit button */
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"] .guest-form .submit-btn {
  border-radius: 12px !important;
}

/* Light Mode style overrides for guestbook form fields (Higher contrast) */
body:not(.dark-mode)[data-page="index"] .guest-form input,
body:not(.dark-mode)[data-page="index"] .guest-form textarea,
body:not(.dark-mode)[data-page="index"] .guest-form select {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1.5px solid rgba(43, 45, 49, 0.28) !important;
  color: #2b2d31 !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form .submit-btn {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #2b2d31 !important;
  border: 1.5px solid rgba(43, 45, 49, 0.25) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body:not(.dark-mode)[data-page="index"] .guest-form .submit-btn:hover {
  background: #2b2d31 !important;
  color: #ffffff !important;
  border-color: #2b2d31 !important;
  box-shadow: 0 4px 12px rgba(43, 45, 49, 0.15) !important;
}

/* Dark Mode style overrides for guestbook form fields (Higher contrast on silk) */
html.dark-mode body[data-page="index"] .guest-form input,
html.dark-mode body[data-page="index"] .guest-form textarea,
html.dark-mode body[data-page="index"] .guest-form select,
body.dark-mode[data-page="index"] .guest-form input,
body.dark-mode[data-page="index"] .guest-form textarea,
body.dark-mode[data-page="index"] .guest-form select {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

html.dark-mode body[data-page="index"] .guest-form .submit-btn,
body.dark-mode[data-page="index"] .guest-form .submit-btn {
  background: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html.dark-mode body[data-page="index"] .guest-form .submit-btn:hover,
body.dark-mode[data-page="index"] .guest-form .submit-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Guestbook Hero Horizontal Band overrides for better contrast and harmony */
body:not(.dark-mode)[data-page="index"] .guestbook-hero::before {
  background: rgba(255, 255, 255, 0.8) !important;
  border-top: 1px solid rgba(43, 45, 49, 0.15) !important;
  border-bottom: 1px solid rgba(43, 45, 49, 0.15) !important;
}

html.dark-mode body[data-page="index"] .guestbook-hero::before,
body.dark-mode[data-page="index"] .guestbook-hero::before {
  background: rgba(16, 17, 22, 0.72) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Hero name signature letter spacing for better typography */
body[data-page="index"] .hero-name {
  letter-spacing: 2px !important;
}