/* ==========================================================================
     EMBEDDED OFFLINE TYPOGRAPHY (Self-Contained for Direct Disk Opening)
     ========================================================================== */
  @font-face {
    font-family: 'WalimaDisplay';
    src: url('../assets/fonts/display-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaDisplay';
    src: url('../assets/fonts/display-italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaDisplay';
    src: url('../assets/fonts/display-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaSerif';
    src: url('../assets/fonts/serif-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaSerif';
    src: url('../assets/fonts/serif-italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaScript';
    src: url('../assets/fonts/script.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaArabic';
    src: url('../assets/fonts/arabic.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaSans';
    src: url('../assets/fonts/sans-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'WalimaSans';
    src: url('../assets/fonts/sans-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  /* ==========================================================================
     DESIGN TOKENS — Dark Candlelit Mughal-Arch Palace + Frosted Ivory Glass
     ========================================================================== */
  :root {
    --bg-obsidian: #f4edde;
    --bg-plum-deep: #293123;
    --bg-plum-mid: #343b29;

    --ivory: #fffaf0;
    --ivory-opaque-fallback: rgba(252, 246, 248, 0.88);
    --ivory-frosted-glass: rgba(252, 246, 248, 0.50);
    --ivory-frosted-hero: rgba(252, 246, 248, 0.58);

    --mauve: #65714c;
    --mauve-mid: #808960;
    --mauve-light: #adb28d;
    --mauve-pale: #ece9db;
    --plum: #343b29;
    --plum-soft: #525b3d;

    --champagne: #9c9066;
    --champagne-bright: #e9ddbd;
    --champagne-border: rgba(172, 116, 125, 0.65);
    --champagne-hairline: rgba(172, 116, 125, 0.38);

    --shadow-cinema: 0 34px 80px -16px rgba(10, 0, 7, 0.78), 0 0 0 1px rgba(209, 170, 175, 0.34);
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);

    --font-display: 'Playfair Display', 'WalimaDisplay', 'Didot', 'Bodoni MT', Georgia, serif;
    --font-serif: 'Cormorant Garamond', 'WalimaSerif', 'Garamond', Georgia, serif;
    --font-script: 'Alex Brush', 'Great Vibes', 'WalimaScript', 'Snell Roundhand', cursive;
    --font-arabic: 'WalimaArabic', 'Traditional Arabic', serif;
    --font-sans: 'Montserrat', 'WalimaSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  /* ==========================================================================
     RESET & BASE
     ========================================================================== */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
    background-color: var(--bg-obsidian);
    color: var(--plum);
    font-family: var(--font-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  body {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--bg-obsidian);
    color: var(--plum);
    overflow-x: hidden;
    line-height: 1.65;
  }

  body.portal-locked {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
  }

  ::selection {
    background-color: var(--mauve-pale);
    color: var(--plum);
  }

  :focus-visible {
    outline: 2px solid var(--champagne-bright);
    outline-offset: 3px;
  }

  /* ==========================================================================
     CONTINUOUS DARK WEDDING VIDEO BACKGROUND
     Ambient wedding cinematography canvas (flickering
     diya/candle lanterns, rose-petal rain, champagne sparklers & warm bokeh)
     ========================================================================== */
  .dark-video-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, #343b29 0%, #1E0114 58%, #0E0009 100%);
  }

  #weddingCinemaCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .dark-video-vignette {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 50% 45%, rgba(30, 1, 20, 0.10) 0%, rgba(12, 0, 8, 0.66) 100%),
      linear-gradient(180deg, rgba(16, 1, 11, 0.45) 0%, transparent 25%, transparent 75%, rgba(14, 0, 9, 0.58) 100%);
    pointer-events: none;
  }

  /* ==========================================================================
     ROYAL PALACE MUGHAL ARCH DOORS + SILK RIBBON OPENING (Inspired by Luxury
     South Asian E-Invites: Noor Lantern + Liwan Carved Doors + Yasmine Ribbon)
     ========================================================================== */
  .portal-stage {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1800px;
    overflow: hidden;
    transition: opacity 0.95s var(--transition-smooth), visibility 0.95s ease;
  }

  .portal-stage.is-dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Left & Right 3D Swinging Palace Doors */
  .palace-door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50.2%;
    z-index: 2;
    background:
      radial-gradient(circle at 50% 40%, rgba(64, 1, 42, 0.94) 0%, rgba(32, 1, 21, 0.98) 68%, rgba(17, 0, 11, 1) 100%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    will-change: transform;
    transition: transform 1.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
  }

  .palace-door--left {
    left: 0;
    transform-origin: left center;
    border-right: 1px solid rgba(209, 170, 175, 0.48);
    box-shadow: inset -24px 0 50px rgba(0, 0, 0, 0.55);
  }

  .palace-door--right {
    right: 0;
    transform-origin: right center;
    border-left: 1px solid rgba(209, 170, 175, 0.48);
    box-shadow: inset 24px 0 50px rgba(0, 0, 0, 0.55);
  }

  /* Carved Mughal Lattice / Jaali Arch Filigree on Doors */
  .door-arch-svg {
    position: absolute;
    top: 50%;
    width: 200%;
    height: min(86vh, 680px);
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.72;
  }

  .palace-door--left .door-arch-svg {
    left: 0;
  }

  .palace-door--right .door-arch-svg {
    left: -100%;
  }

  .portal-stage.is-opening .palace-door--left {
    transform: rotateY(-102deg);
  }

  .portal-stage.is-opening .palace-door--right {
    transform: rotateY(102deg);
  }

  /* Horizontal Champagne Silk Sash Ribbon Across the Doors */
  .silk-ribbon-band {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 54px;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    display: flex;
    transition: opacity 0.55s ease;
  }

  .silk-ribbon-half {
    flex: 1;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(130, 74, 84, 0.28) 0%,
      rgba(209, 170, 175, 0.46) 22%,
      rgba(172, 116, 125, 0.32) 50%,
      rgba(209, 170, 175, 0.46) 78%,
      rgba(130, 74, 84, 0.28) 100%
    );
    border-top: 1px solid rgba(235, 208, 211, 0.68);
    border-bottom: 1px solid rgba(235, 208, 211, 0.68);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
    transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
  }

  .portal-stage.is-opening .silk-ribbon-half--left {
    transform: translateX(-105%);
    opacity: 0;
  }

  .portal-stage.is-opening .silk-ribbon-half--right {
    transform: translateX(105%);
    opacity: 0;
  }

  /* Center Glowing Brass Lantern + Monogram Medallion */
  .portal-centerpiece {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    max-width: 380px;
    transition: opacity 0.6s ease, transform 0.7s var(--transition-smooth);
  }

  .portal-stage.is-opening .portal-centerpiece {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
  }

  /* Hanging Brass Noor Lantern Above Medallion */
  .noor-lantern-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.65rem;
    animation: lanternSway 4.8s ease-in-out infinite alternate;
    transform-origin: top center;
  }

  @keyframes lanternSway {
    0% { transform: rotate(-2.2deg); }
    100% { transform: rotate(2.2deg); }
  }

  .lantern-glow-halo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lantern-glow-halo::before {
    content: '';
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 212, 216, 0.52) 0%, rgba(172, 116, 125, 0.18) 55%, transparent 75%);
    animation: flamePulse 2.6s ease-in-out infinite alternate;
    pointer-events: none;
  }

  @keyframes flamePulse {
    0% { transform: scale(0.92); opacity: 0.75; }
    100% { transform: scale(1.14); opacity: 1; }
  }

  /* Interactive Jewel Medallion Button with Transparent H&Y Monogram */
  .portal-medallion-btn {
    position: relative;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    border: 1.5px solid var(--champagne-bright);
    background: radial-gradient(circle at 50% 42%, rgba(253, 249, 250, 0.98) 0%, rgba(246, 234, 237, 0.95) 78%, rgba(233, 210, 214, 0.97) 100%);
    box-shadow:
      0 20px 55px rgba(10, 0, 7, 0.78),
      0 0 0 7px rgba(64, 1, 42, 0.88),
      0 0 0 8.5px rgba(209, 170, 175, 0.68),
      0 0 38px rgba(209, 170, 175, 0.34);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    transition: transform 0.38s var(--transition-smooth), box-shadow 0.38s ease;
  }

  .portal-medallion-btn::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    border: 1px dashed rgba(150, 100, 109, 0.45);
    pointer-events: none;
  }

  .portal-medallion-btn:hover {
    transform: scale(1.05);
    box-shadow:
      0 24px 62px rgba(10, 0, 7, 0.84),
      0 0 0 7px rgba(64, 1, 42, 0.92),
      0 0 0 9px var(--champagne-bright),
      0 0 52px rgba(209, 170, 175, 0.50);
  }

  .portal-medallion-logo {
    width: 102px;
    height: auto;
    display: block;
    background: transparent;
  }

  .portal-medallion-tap {
    margin-top: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--plum);
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
  }

  .portal-title-kicker {
    margin-top: 1.35rem;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--champagne-bright);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  }

  .portal-couple-caption {
    margin-top: 0.3rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ivory);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  }

  /* ==========================================================================
     TOP UTILITY CONTROLS & SCENE RAIL
     ========================================================================== */
  .utility-bar {
    position: fixed;
    top: max(0.85rem, env(safe-area-inset-top));
    right: max(0.85rem, env(safe-area-inset-right));
    z-index: 1100;
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .btn-pill-glass {
    appearance: none;
    background: rgba(40, 1, 26, 0.76);
    border: 1px solid var(--champagne-border);
    color: var(--ivory);
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.52rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.38);
    transition: background-color 0.25s ease, border-color 0.25s ease;
  }

  .btn-pill-glass:hover {
    background: rgba(64, 1, 42, 0.92);
    border-color: var(--champagne-bright);
  }

  .btn-pill-glass[hidden] {
    display: none;
  }

  .scene-nav {
    position: fixed;
    right: max(0.75rem, env(safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.6rem 0.38rem;
    background: rgba(36, 1, 23, 0.72);
    border: 1px solid var(--champagne-hairline);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  }

  @media (max-width: 480px) {
    .scene-nav {
      right: 0.35rem;
      gap: 0.58rem;
      padding: 0.45rem 0.28rem;
    }
  }

  .scene-nav a {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(209, 170, 175, 0.38);
    border: 1px solid transparent;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    display: block;
  }

  .scene-nav a.is-active {
    background: var(--champagne-bright);
    border-color: var(--ivory);
    transform: scale(1.4);
  }

  /* ==========================================================================
     REFINED INLINE WEDDING ICONS (1.5px Stroke Luxury Line Art)
     ========================================================================== */
  .ui-icon {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 1.65;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }

  .ui-icon--lg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
  }

  .section-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 247, 249, 0.54);
    border: 1px solid var(--champagne-border);
    color: var(--plum);
    box-shadow: 0 6px 16px rgba(56, 21, 43, 0.08);
  }

  .schedule-icon-pill {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin: 0 auto 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238, 216, 220, 0.55);
    border: 1px solid var(--champagne-hairline);
    color: var(--plum);
  }

  .rsvp-person-row {
    display: flex;
    align-items: center;
    gap: 0.72rem;
  }

  .rsvp-avatar-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238, 216, 220, 0.58);
    border: 1px solid var(--champagne-hairline);
    color: var(--plum);
    flex-shrink: 0;
  }

  /* ==========================================================================
     FOUR SCENES ARCHITECTURE OVER DARK WEDDING VIDEO
     ========================================================================== */
  main {
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .scene {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1.15rem;
    overflow: hidden;
  }

  @media (min-width: 768px) {
    .scene {
      padding: 5.5rem 2rem;
    }
  }

  .scene--invitation {
    background: radial-gradient(circle at 50% 35%, rgba(64, 1, 42, 0.20) 0%, rgba(16, 0, 11, 0.28) 100%);
  }

  .scene--details {
    background: radial-gradient(circle at 25% 25%, rgba(92, 10, 56, 0.26) 0%, rgba(17, 0, 11, 0.38) 100%);
  }

  .scene--venue {
    background: radial-gradient(circle at 75% 30%, rgba(86, 18, 52, 0.24) 0%, rgba(17, 0, 11, 0.38) 100%);
  }

  .scene--rsvp {
    background: radial-gradient(circle at 50% 70%, rgba(78, 8, 48, 0.30) 0%, rgba(14, 0, 9, 0.48) 100%);
  }

  /* Subtle Light Movement Behind Scenes 2, 3, and 4 ONLY (Hero Scene 1 remains sharp & still) */
  .ambient-light-layer {
    position: absolute;
    inset: -15%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(54px);
    opacity: 0.42;
    will-change: transform;
    animation: gentleDrift 16s ease-in-out infinite alternate;
  }

  .light-orb--1 {
    width: 340px;
    height: 340px;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(209, 170, 175, 0.52) 0%, transparent 70%);
  }

  .light-orb--2 {
    width: 380px;
    height: 380px;
    bottom: 8%;
    right: 8%;
    background: radial-gradient(circle, rgba(172, 116, 125, 0.45) 0%, transparent 72%);
    animation-duration: 22s;
    animation-delay: -5s;
  }

  @keyframes gentleDrift {
    0% { transform: translate3d(-20px, -14px, 0) scale(0.95); }
    100% { transform: translate3d(24px, 18px, 0) scale(1.07); }
  }

  /* ==========================================================================
     FROSTED-GLASS IVORY STATIONERY PANELS (With Opaque Fallback)
     ========================================================================== */
  .stationery-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 540px;
    background-color: var(--ivory-opaque-fallback);
    border: 1px solid var(--champagne-border);
    box-shadow: var(--shadow-cinema);
    padding: 2.75rem 1.45rem 2.5rem;
    text-align: center;
  }

  @supports ((backdrop-filter: blur(11px)) or (-webkit-backdrop-filter: blur(11px))) {
    .stationery-panel {
      background: linear-gradient(
        145deg,
        rgba(255, 250, 252, 0.62) 0%,
        rgba(249, 238, 241, 0.46) 55%,
        rgba(244, 229, 233, 0.54) 100%
      );
      -webkit-backdrop-filter: blur(11px) saturate(130%);
      backdrop-filter: blur(11px) saturate(130%);
      box-shadow:
        var(--shadow-cinema),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
    }
  }

  .stationery-panel::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid var(--champagne-hairline);
    border-radius: inherit;
    pointer-events: none;
  }

  .stationery-panel--arch {
    border-radius: 270px 270px 22px 22px;
    padding: 3.7rem 1.5rem 2.75rem;
    background-color: var(--ivory-opaque-fallback);
  }

  @supports ((backdrop-filter: blur(11px)) or (-webkit-backdrop-filter: blur(11px))) {
    .stationery-panel--arch {
      background: linear-gradient(
        155deg,
        rgba(255, 250, 252, 0.68) 0%,
        rgba(249, 238, 241, 0.52) 55%,
        rgba(244, 229, 233, 0.60) 100%
      );
      -webkit-backdrop-filter: blur(11px) saturate(130%);
      backdrop-filter: blur(11px) saturate(130%);
      box-shadow:
        var(--shadow-cinema),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
    }
  }

  .stationery-panel--card {
    border-radius: 24px;
  }

  .arch-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.55rem;
    color: var(--champagne);
  }

  @media (min-width: 480px) {
    .stationery-panel {
      padding: 3.25rem 2.4rem 3rem;
    }
    .stationery-panel--arch {
      padding: 4.35rem 2.5rem 3.25rem;
    }
  }

  @media (min-width: 768px) {
    .stationery-panel {
      max-width: 580px;
      padding: 3.75rem 3.25rem 3.4rem;
    }
    .stationery-panel--arch {
      padding: 4.85rem 3.25rem 3.6rem;
    }
  }

  /* Minimal Ornamental Divider */
  .champagne-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.2rem auto;
    width: 100%;
    max-width: 220px;
  }

  .champagne-rule span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  }

  .champagne-rule i {
    width: 6px;
    height: 6px;
    border: 1px solid var(--champagne);
    transform: rotate(45deg);
    display: inline-block;
    flex-shrink: 0;
  }

  /* ==========================================================================
     HERO OPENING CHOREOGRAPHY (Bismillah -> Host -> Monogram -> Names -> Date)
     ========================================================================== */
  .hero-seq {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
  }

  .hero-seq.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .monogram-frame {
    margin: 0.65rem auto 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .monogram-artwork {
    width: 146px;
    height: auto;
    display: block;
    background: transparent;
    image-rendering: -webkit-optimize-contrast;
    transform: none !important;
  }

  @media (min-width: 480px) {
    .monogram-artwork {
      width: 164px;
    }
  }

  .bismillah-arabic {
    font-family: var(--font-arabic);
    font-size: 1.4rem;
    color: var(--plum);
    line-height: 1.9;
    margin-bottom: 0.1rem;
    direction: rtl;
  }

  .bismillah-caption {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4f5841;
    margin-bottom: 1.05rem;
  }

  .host-line {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: #343b29;
    line-height: 1.65;
    max-width: 400px;
    margin: 0 auto 0.45rem;
  }

  .host-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--plum);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.15rem;
  }

  .event-kicker {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #4f5841;
    margin-top: 0.35rem;
  }

  .couple-block {
    margin: 0.4rem 0 0.6rem;
  }

  .couple-name {
    font-family: var(--font-script);
    font-size: clamp(2.65rem, 6.8vw, 3.9rem);
    font-weight: 400;
    color: #343b29;
    line-height: 1.06;
    letter-spacing: 0.012em;
  }

  .couple-ampersand {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.3rem, 3.6vw, 1.75rem);
    color: #4f5841;
    display: block;
    line-height: 1.25;
    margin: 0.22rem 0;
  }

  .bride-parentage {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    font-size: 1.12rem;
    color: #343b29;
    margin-top: 0.32rem;
  }

  .hero-date-box {
    margin-top: 0.85rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--champagne-hairline);
    display: inline-block;
    min-width: 240px;
  }

  .hero-date-day {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #4f5841;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .hero-date-main {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 4.2vw, 1.55rem);
    color: var(--plum);
    margin-top: 0.18rem;
  }

  .scroll-cue {
    margin-top: 1.65rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: #343b29;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.25s ease;
  }

  .scroll-cue:hover {
    color: var(--plum);
  }

  /* ==========================================================================
     BIDIRECTIONAL SCROLL-REVEAL CHOREOGRAPHY
     ========================================================================== */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--transition-smooth), transform 0.75s var(--transition-smooth);
    will-change: opacity, transform;
  }

  .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ==========================================================================
     SCENE 2: CELEBRATION DETAILS & LIVE PKT COUNTDOWN
     ========================================================================== */
  .section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #4f5841;
    margin-bottom: 0.42rem;
  }

  .section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 5vw, 2.2rem);
    font-weight: 400;
    color: var(--plum);
    line-height: 1.22;
  }

  .section-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    font-size: 1.08rem;
    color: #343b29;
    margin-top: 0.32rem;
  }

  .schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.45rem 0;
  }

  @media (min-width: 520px) {
    .schedule-grid {
      grid-template-columns: 1fr 1fr;
      gap: 1.15rem;
    }
  }

  .schedule-item {
    padding: 1.25rem 1rem;
    background: rgba(253, 247, 249, 0.50);
    border: 1px solid var(--champagne-hairline);
    border-radius: 16px;
  }

  .schedule-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4f5841;
    margin-bottom: 0.35rem;
  }

  .schedule-time {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--plum);
    line-height: 1.2;
  }

  .schedule-note {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: #343b29;
    margin-top: 0.28rem;
    opacity: 0.95;
  }

  /* Live Countdown */
  .countdown-wrap {
    margin: 1.45rem 0 1.6rem;
    padding: 1.15rem 0.75rem;
    border-top: 1px solid var(--champagne-hairline);
    border-bottom: 1px solid var(--champagne-hairline);
  }

  .countdown-title {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #343b29;
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    max-width: 380px;
    margin: 0 auto;
  }

  .countdown-cell {
    background: rgba(253, 247, 249, 0.54);
    border: 1px solid var(--champagne-hairline);
    border-radius: 12px;
    padding: 0.65rem 0.25rem;
  }

  .countdown-num {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 4.5vw, 1.75rem);
    color: var(--plum);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }

  .countdown-unit {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4f5841;
    margin-top: 0.25rem;
  }

  .countdown-status {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--plum);
  }

  /* Action Buttons */
  .btn-primary,
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.88rem 1.45rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    min-height: 44px;
  }

  .btn-primary {
    background: var(--plum);
    color: var(--ivory);
    border: 1px solid var(--plum);
    box-shadow: 0 10px 24px rgba(56, 21, 43, 0.22);
  }

  .btn-primary:hover {
    background: var(--plum-soft);
    border-color: var(--plum-soft);
    transform: translateY(-1px);
  }

  .btn-secondary {
    background: rgba(255, 250, 252, 0.85);
    color: #343b29;
    border: 1px solid rgba(64, 1, 42, 0.36);
  }

  .btn-secondary:hover {
    background: var(--ivory);
    border-color: var(--plum);
    transform: translateY(-1px);
  }

  .btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  /* ==========================================================================
     SCENE 3: VENUE & DIRECTIONS
     ========================================================================== */
  .venue-card-box {
    margin: 1.35rem 0 1.2rem;
    padding: 1.5rem 1.15rem;
    background: rgba(253, 247, 249, 0.50);
    border: 1px solid var(--champagne-hairline);
    border-radius: 18px;
  }

  .venue-name {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4.5vw, 1.7rem);
    font-weight: 600;
    color: var(--plum);
    margin-bottom: 0.45rem;
  }

  .venue-address {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 600;
    color: #343b29;
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
  }

  .venue-landmark {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.34rem 0.9rem;
    border-radius: 999px;
    background: rgba(238, 216, 220, 0.62);
    color: var(--plum);
    font-family: var(--font-sans);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .copy-feedback {
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 600;
    color: #343b29;
    min-height: 1.2em;
    margin-top: 0.65rem;
  }

  /* ==========================================================================
     SCENE 4: RSVP & FAMILY CONTACTS
     ========================================================================== */
  .rsvp-intro {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 500;
    color: #343b29;
    max-width: 410px;
    margin: 0.5rem auto 1.4rem;
  }

  .rsvp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
  }

  .rsvp-item {
    padding: 1.05rem 1.15rem;
    background: rgba(253, 247, 249, 0.52);
    border: 1px solid var(--champagne-hairline);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .rsvp-person-name {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--plum);
    line-height: 1.3;
  }

  .rsvp-whatsapp {
    margin-top: 1.25rem;
  }

  .rsvp-whatsapp .rsvp-person-name {
    margin-bottom: 0.5rem;
  }

  .rsvp-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.52rem 0.92rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    min-height: 38px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .btn-contact--wa {
    min-height: 44px;
    background: rgba(255, 250, 252, 0.88);
    color: #343b29;
    border: 1px solid rgba(64, 1, 42, 0.35);
  }

  .btn-contact--wa:hover {
    background: var(--mauve-pale);
    border-color: var(--mauve);
  }

  .closing-blessing {
    margin-top: 1.65rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--champagne-hairline);
    font-family: var(--font-script);
    font-size: 2.05rem;
    color: #343b29;
  }

  /* ==========================================================================
     320PX SMALL-SCREEN PRECISION TUNING
     ========================================================================== */
  @media (max-width: 359px) {
    .stationery-panel {
      padding: 2.35rem 1.05rem 2.15rem;
    }
    .stationery-panel--arch {
      border-radius: 185px 185px 18px 18px;
      padding: 3.15rem 1.05rem 2.3rem;
    }
    .monogram-artwork {
      width: 122px;
    }
    .countdown-grid {
      gap: 0.3rem;
    }
    .countdown-num {
      font-size: 1.18rem;
    }
    .btn-primary,
    .btn-secondary {
      width: 100%;
      padding: 0.82rem 1rem;
    }
    .portal-medallion-btn {
      width: 152px;
      height: 152px;
    }
    .portal-medallion-logo {
      width: 86px;
    }
  }

  /* ==========================================================================
     REDUCED MOTION SUPPORT (OS Preference + User Toggle)
     ========================================================================== */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .portal-stage,
    .palace-door,
    .silk-ribbon-half,
    .portal-centerpiece,
    .portal-medallion-btn,
    .hero-seq,
    .scroll-reveal,
    .btn-primary,
    .btn-secondary {
      transition: none !important;
    }
    .noor-lantern-wrap,
    .lantern-glow-halo::before,
    .light-orb {
      animation: none !important;
    }
  }

  body.reduced-motion .portal-stage,
  body.reduced-motion .palace-door,
  body.reduced-motion .silk-ribbon-half,
  body.reduced-motion .portal-centerpiece,
  body.reduced-motion .portal-medallion-btn,
  body.reduced-motion .hero-seq,
  body.reduced-motion .scroll-reveal {
    transition: none !important;
  }

  body.reduced-motion .noor-lantern-wrap,
  body.reduced-motion .lantern-glow-halo::before,
  body.reduced-motion .light-orb {
    animation: none !important;
  }

  /* The page starts readable, then enhances after the opening controls are ready. */
  .portal-stage[hidden] { display: none; }
  body:not(.enhanced) .hero-seq,
  body:not(.enhanced) .scroll-reveal { opacity: 1; transform: none; }
  body.enhanced .scroll-reveal {
    opacity: var(--reveal-opacity, 1);
    transform: translateY(var(--reveal-shift, 0px));
    transition: none;
  }
  body.enhanced .scroll-reveal:focus-within { opacity: 1; }
  #mainContent:focus { outline: none; }
  #btnSkipOpening { z-index: 1100; }
  #btnReplayOpening { position: static; margin: 1.15rem auto 0; }
  @media (max-width: 520px) {
    .scene-nav { display: none; }
    #scene-invitation .couple-name { font-size: clamp(1.82rem, 7.9vw, 2.52rem); }
    #scene-invitation .hero-seq { margin-block: 0; }
    #scene-invitation .hero-date-box { margin-top: .65rem; }
  }

/* Ivory botanical stationery */
:root{--botanical-portrait:url('../assets/images/botanical-portrait.webp');--botanical-wide:url('../assets/images/botanical-landscape.webp');--paper-olive:#f4edde;--ink-olive:#343b29;--rule-olive:#9f936c}
html,body{background:var(--paper-olive);color:var(--ink-olive)}
.dark-video-stage{background:var(--paper-olive) var(--botanical-portrait) center/cover no-repeat}
.dark-video-vignette,.ambient-light-layer{display:none}
@media(min-width:760px){.dark-video-stage{background-image:var(--botanical-wide)}}
.scene--invitation,.scene--details,.scene--venue,.scene--rsvp{background:transparent}
.stationery-panel,.stationery-panel--arch{
  background:#fcf7eb;
  border-color:#ab9b724d;
  box-shadow:0 14px 42px #5b50331b;
}
@supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))){
  .stationery-panel,.stationery-panel--arch{
    background:linear-gradient(145deg,#fffbee91,#faf5e665);
    -webkit-backdrop-filter:blur(16px) saturate(1.16);
    backdrop-filter:blur(16px) saturate(1.16);
  }
}
.stationery-panel::before{border-color:#a99b713c}
.stationery-panel--card{border-radius:15px}
.palace-door{
  background:linear-gradient(#fffaf187,#e9e4c15e),var(--botanical-portrait) center/auto 100% no-repeat,#f4edde;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.palace-door--left{background-position:right center}
.palace-door--right{background-position:left center}
@media(min-width:760px){
 .palace-door{background-image:linear-gradient(#fffaf187,#e9e4c15e),var(--botanical-wide)}
}
.silk-ribbon-half{background:linear-gradient(180deg,#cec4a1,#a9ab84 48%,#c6be98)}
.portal-medallion-btn{background:#fffaf1;border-color:#958960;color:var(--ink-olive)}
.portal-title-kicker,.portal-couple-caption,.portal-medallion-tap{color:var(--ink-olive);text-shadow:none}
.noor-lantern-wrap{display:none}
.btn-pill-glass,.scene-nav{background:#3d4934e8;border-color:#6d755b;color:#fff9e9}
.btn-pill-glass:hover{background:#535e43}
.scene-nav a{background:#b3b99a}
.scene-nav a.is-active{background:#f5e7bd}
.schedule-item,.countdown-cell,.venue-card-box,.rsvp-item,.btn-secondary,.btn-contact--whatsapp{background:#f8f4e7b0}
.section-badge-icon,.schedule-icon-pill,.rsvp-avatar-icon,.venue-landmark{background:#ebe7d5b0}
.champagne-rule{gap:7px;max-width:205px}
.champagne-rule span{background:linear-gradient(90deg,transparent,#a79a73,transparent)}
.champagne-rule .olive-ornament{width:69px;height:17px;color:#7c855b;flex:none}

/* Solid stationery keeps the names legible over the flowers and centre seam. */
.portal-nameplate {
  width: max-content;
  max-width: calc(100vw - 40px);
  margin: .8rem auto 0;
  padding: .72rem clamp(.9rem, 4vw, 1.8rem) .82rem;
  background: #fffbf0;
  border: 1px solid #afa381;
  border-radius: 5px;
  box-shadow: 0 5px 21px #423c2526;
  color: #293123;
}
.portal-nameplate .portal-title-kicker { margin: 0; color: #50573c; }
.portal-nameplate .portal-couple-caption {
  margin-top: .14rem;
  font-size: clamp(1.45rem, 5.6vw, 2.25rem);
  line-height: 1.16;
  color: #293123;
}
.music-controls { text-align: center; padding: 0 1rem 1.5rem; position: relative; }
.music-toggle { min-height: 44px; }
.music-feedback:not(:empty) { margin-top: .5rem; color: #343b29; }
.music-controls[hidden] { display: none; }

[hidden]{display:none!important}
.portal-logo{pointer-events:none;width:clamp(110px,34vw,162px);height:auto;aspect-ratio:1}
.portal-logo .portal-medallion-logo{width:63%}
.portal-event-choices,.event-switch{display:flex;justify-content:center;gap:8px}
.portal-event-choices{margin:.8rem auto 0}
.portal-event-choices button,.event-switch button{min-height:44px;border:1px solid #aaa07c;background:#fff9ea;color:#343b29;border-radius:5px;cursor:pointer;padding:.45rem .6rem}
.portal-event-choices button{flex:1}
.portal-event-choices button strong,.portal-event-choices button span{display:block}
.portal-event-choices button strong{font:600 1.15rem var(--font-display)}
.portal-event-choices button span{font:500 .56rem var(--font-sans);margin-top:.2rem}
.portal-event-choices button:hover,.event-switch button:hover{background:#ece6d1}
.event-switch{position:sticky;top:max(8px,env(safe-area-inset-top));z-index:19;width:max-content;margin:10px auto 0;padding:4px;background:#faf4e6f2;border:1px solid #ad9e76;border-radius:7px}
.event-switch button{font:600 .74rem var(--font-sans);padding-inline:.9rem}
.event-switch button[aria-pressed="true"]{background:#465238;color:#fff9ea;border-color:#465238}
[data-event="baraat"] .schedule-grid{grid-template-columns:1fr}
@media (max-height:545px){.portal-logo{width:95px}.portal-nameplate{margin-top:.55rem}}

.portal-centerpiece{max-width:min(100%,550px);padding:1rem}
.portal-nameplate{
  padding:1rem clamp(.85rem,5vw,1.7rem) 1.05rem;
  width:min(100%,410px);
  margin-top:.75rem;background:#fffbf2f7;
  border-color:#b5aa8a75;border-radius:14px;
}
.portal-nameplate .portal-couple-caption{font-size:clamp(1.65rem,6.6vw,2.65rem);line-height:1.08}
.portal-nameplate .portal-title-kicker{font-size:.58rem;letter-spacing:.2em}
.portal-event-choices{display:grid;grid-template-columns:1fr 1fr;gap:clamp(.5rem,2.5vw,1rem);margin-top:1.02rem}
.portal-event{min-width:0}
.portal-event-choices button{
  display:flex;align-items:center;justify-content:center;gap:.42rem;width:100%;
  border:0;border-radius:999px;background:#465239;color:#fffaf0;
  padding:.55rem clamp(.55rem,3vw,1rem);min-height:45px;box-shadow:0 4px 10px #34412d2e;
}
.portal-event-choices button:hover{background:#36412c}
.portal-event-choices button span{margin:0}
.portal-event-choices button span:first-child{font:500 1.02rem var(--font-display)}
.portal-event-choices button span:last-child{font:400 .8rem Georgia,serif}
.portal-event-date{display:block;margin:.36rem 0 0;color:#525c43;font:600 clamp(.52rem,2vw,.66rem)/1.25 var(--font-sans);white-space:nowrap}
@media(max-width:359px){.portal-nameplate{padding-inline:.75rem}.portal-event-date{font-size:.54rem;letter-spacing:-.018em}}
.event-switch {
  gap:0;padding:0 8px;margin:8px auto 0;background:#fffbf1f5;
  border:1px solid #a7997270;border-radius:7px;box-shadow:0 4px 16px #51492213;
}
.event-switch button {
  border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;
  color:#5d654e;padding-inline:1.15rem;font-size:.72rem;letter-spacing:.025em;
}
.event-switch button:hover{background:#ede8da}
.event-switch button[aria-pressed="true"]{background:transparent;color:#303923;border-color:#79855e}
[data-event="baraat"] .baraat-program{grid-template-columns:minmax(0,1fr);gap:0;padding:.75rem 0;border-block:1px solid #a79a7355}
.baraat-time{padding:.25rem .32rem;display:flex;flex-direction:column;align-items:center;justify-content:space-between}
.baraat-time + .baraat-time{border-left:1px solid #a79a7355}
.baraat-time .schedule-label{min-height:2.8em;display:grid;place-items:center}
.baraat-time .schedule-time{display:block}

/* The cover tint is confined to the heading and names. */
.portal-stage:focus{outline:none}
.portal-nameplate{background:none;border:0;box-shadow:none;padding:.88rem 0 0}
.portal-heading-tint{
 display:inline-flex;max-width:100%;flex-direction:column;align-items:center;
 padding:.43rem .85rem .55rem;background:#fff8e9eb;border-radius:6px;
}
.portal-heading-tint .portal-couple-caption{margin-top:.18rem}
.portal-nameplate .portal-event-choices{margin-top:.82rem}
.portal-event-date{
 display:inline-block;padding:.12rem .22rem;
 background:#fff8e9eb;border-radius:3px;
}

/* Snap near scene boundaries while leaving long scenes free to scroll. */
@media (prefers-reduced-motion: no-preference) {
  html.invitation-snap {
    scroll-snap-type: y proximity;
    scroll-padding-top: max(61px, calc(env(safe-area-inset-top) + 53px));
  }
  .invitation-snap #mainContent .scene { scroll-snap-align: start; }
  .invitation-snap #mainContent .scene--invitation { scroll-snap-align: none; }
  .invitation-snap .invitation-top { height: 1px; scroll-snap-align: start; }
}

.section-dots{
 position:fixed;z-index:21;right:max(5px,env(safe-area-inset-right));top:50%;transform:translateY(-50%);
 display:grid;gap:0;
}
.section-dots a{
 position:relative;display:grid;place-items:center;width:32px;height:35px;
 color:#35432c;text-decoration:none;
}
.section-dots a::after{
 content:"";width:6px;height:6px;border:1px solid #687256;border-radius:50%;
 background:#f9f2e4;box-shadow:0 0 0 2px #fbf6e9aa;
}
.section-dots a[aria-current="location"]::after{background:#536343;border-color:#536343}
.section-dots span{
 position:absolute;right:29px;padding:3px 6px;border-radius:4px;
 background:#fdf7eaf5;color:#37412e;box-shadow:0 2px 6px #453b2522;
 font:600 10px/1.2 var(--font-sans);white-space:nowrap;opacity:0;pointer-events:none;
}
.section-dots a[aria-current="location"] span,.section-dots a:focus-visible span{opacity:1}
@media(hover:hover){.section-dots a:hover span{opacity:1}}
@media(max-width:420px){.section-dots{right:max(1px,env(safe-area-inset-right))}.section-dots a{width:23px;height:32px}.section-dots span{right:21px;font-size:9px}}

/* Keep the music control within easy reach as guests scroll. */
.music-controls {
  position: fixed; left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom)); z-index: 23;
  padding: 0; text-align: left;
}
.music-toggle {
  border-radius: 999px; padding-inline: .85rem; letter-spacing: .06em;
}
.music-feedback:not(:empty) {
  max-width: min(230px, 80vw); padding: .4rem .55rem; border-radius: 4px;
  background: #fffbf2; font: 500 .7rem/1.4 var(--font-sans);
}
body.portal-locked .music-controls { visibility: hidden; }
