/* Irene Galicia | Marfil, salvia y oro. Mobile-first with no layout dependencies. */
:root {
  --paper: #faf8f2;
  --white: #fffdf8;
  --ivory: #f0ece2;
  --sage: #e9ede3;
  --blush: #f3e9e1;
  --ink: #4f5948;
  --muted: #6e7165;
  --gold: #80683f;
  --gold-light: #b7a17a;
  --green: #606f53;
  --line: #dcd7c9;
  --serif: 'Cormorant Garamond', 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.invitation-closed, body.dialog-open { overflow: hidden; }
::selection { background: #dedcc9; color: #3d4837; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-decoration: none; }
button, a, input, select { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--green); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1:focus { outline: none; }
img, svg { max-width: 100%; }
img { display: block; }
[hidden] { display: none !important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { font: 500 10.5px/1.7 var(--sans); letter-spacing: 2.1px; color: var(--gold); }
.section-title { font: 400 clamp(38px, 5.2vw, 59px)/1.08 var(--serif); letter-spacing: -1.8px; text-wrap: balance; }
.section-title em { font-weight: 400; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .section-title { margin: 16px 0 20px; }
.section-heading > p:last-child { color: var(--muted); font-size: 16.5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 16px 24px; border: 1px solid transparent; border-radius: 3px; font: 500 11.5px/1.5 var(--sans); letter-spacing: 1.1px; text-align: center; transition: background .25s, transform .25s, box-shadow .25s; }
.button-primary { background: var(--green); color: #fffdf8; box-shadow: 0 4px 12px #535e4610; }
.button-primary:hover { background: #536348; transform: translateY(-2px); box-shadow: 0 6px 20px #535e4620; }
.button-primary:active { transform: translateY(0); }
.button-light { background: var(--white); border-color: #d3cbbb; color: var(--ink); }
.button-light:hover { background: #f1ede2; transform: translateY(-2px); }
.button .icon { width: 18px; height: 18px; }
.arrow-icon { margin-left: 4px; }
.text-link { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 5px 0; background: none; border: 0; color: var(--ink); font: 400 14.5px/1.5 var(--sans); cursor: pointer; }
.text-link .icon { width: 17px; height: 17px; }
.text-link:hover { color: var(--gold); }
.fine-rule { width: 39px; height: 1px; background: var(--gold-light); flex: 0 0 auto; }
.little-star { font-size: 20px; color: var(--gold-light); }
.monogram { width: 43px; height: 43px; border: 1px solid #b6a480; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: italic 24px/1 var(--serif); color: var(--gold); letter-spacing: -2px; flex: 0 0 auto; padding-right: 3px; }

/* The invitation cover. Its own scroll container accommodates short screens. */
.no-js .welcome { display: none; }
.js:not(.is-open) #site { visibility: hidden; }
.welcome { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; overflow: auto; padding: 26px 16px; background: #f2f0e7; isolation: isolate; transition: opacity .85s ease, transform 1s var(--ease); }
.welcome.is-opening { opacity: 0; transform: scale(1.045); pointer-events: none; }
.welcome-atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 0% 100%, #d8ddcc90, transparent 42%), radial-gradient(ellipse at 100% 0%, #ead6c57a, transparent 45%), repeating-linear-gradient(92deg, transparent, transparent 4px, #7f715303 5px); }
.invitation-paper { width: min(100%, 580px); min-height: 685px; margin-block: auto; flex: 0 0 auto; background: var(--paper); box-shadow: 0 16px 55px #665a3e0d, 0 2px 4px #665a3e05; position: relative; display: flex; align-items: center; justify-content: center; padding: 53px 42px 42px; overflow: hidden; }
.paper-border { position: absolute; inset: 15px; border: 1px solid #c8b68e88; pointer-events: none; }
.paper-border::after { content: ''; position: absolute; inset: 5px; border: 1px solid #c8b68e33; }
.cover-content { position: relative; z-index: 2; width: 100%; text-align: center; }
.cover-monogram { width: 50px; height: 50px; font-size: 28.5px; margin-bottom: 24px; background: #faf8f2b3; }
.cover-eyebrow { font-size: 9.5px; letter-spacing: 2.6px; margin-bottom: 27px; }
.cover-name { font: 400 clamp(58px, 7vw, 82px)/.94 var(--serif); letter-spacing: -2.5px; color: #56614d; }
.cover-name span { display: block; }
.cover-name span:last-child { font-style: italic; }
.cover-age { display: flex; align-items: center; justify-content: center; gap: 18px; font: italic 27.5px/1 var(--serif); color: var(--gold); margin: 25px 0 26px; }
.cover-age strong { font-weight: 400; }
.cover-age .fine-rule { width: 30px; background: #c5b391; }
.cover-quote { font: 400 15.5px/1.9 var(--sans); color: var(--muted); }
.cover-date { display: block; margin: 27px 0; font: 400 13px/1.5 var(--sans); color: var(--gold); letter-spacing: 3.5px; }
.cover-open { min-width: 272px; min-height: 56px; }
.cover-open .arrow-icon { margin-left: 9px; }
.cover-footnote { font: italic 20px/1.5 var(--serif); color: var(--muted); margin-top: 17px; }
.cover-botanical { position: absolute; width: 239px; height: 359px; pointer-events: none; opacity: .8; z-index: 1; }
.cover-botanical-top { top: -121px; left: -85px; transform: rotate(145deg); }
.cover-botanical-bottom { bottom: -112px; right: -68px; transform: rotate(-31deg); }
.cover-bottom-note { font: 400 8.5px/1.5 var(--sans); color: #747568; letter-spacing: 2px; margin: 18px 0 0; text-align: center; flex: 0 0 auto; }
.cover-side-note { position: fixed; top: 50%; left: 30px; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); font: 400 9.5px var(--sans); letter-spacing: 3px; color: #7b7e6c; }

/* Navigation */
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 12px 20px; background: var(--white); border: 1px solid var(--green); }
.skip-link:focus { top: 14px; }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--gold-light); }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #e3dfd36e; background: #faf8f2f5; }
@supports (backdrop-filter: blur(12px)) { .site-header { background: #faf8f2dc; backdrop-filter: blur(12px); } }
.header-inner { width: min(1200px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-text { display: flex; flex-direction: column; font: 400 23px/1.15 var(--serif); white-space: nowrap; }
.brand-text small { margin-top: 6px; font: 400 7px/1.5 var(--sans); letter-spacing: 1.6px; color: var(--muted); }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.desktop-nav a:hover { border-bottom-color: var(--gold-light); }
.header-rsvp { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; color: var(--gold); font-size: 13px; }
.header-rsvp .icon { width: 18px; height: 18px; }
.mobile-nav { display: none; }

/* Introduction and the replaceable portrait */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; column-gap: 88px; padding-top: 76px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 9.5px; letter-spacing: 1.7px; margin-bottom: 26px; }
.hero-name { font: 400 clamp(88px, 9.5vw, 126px)/.8 var(--serif); letter-spacing: -4px; }
.hero-name span, .hero-name em { display: block; }
.hero-name em { font-weight: 400; margin-top: 9px; }
.hero-dedication { font: 400 31px/1.3 var(--serif); letter-spacing: -.3px; margin-top: 29px; }
.hero-dedication em { color: var(--gold); }
.hero-date { display: flex; align-items: center; gap: 19px; margin-top: 28px; color: var(--gold); font-size: 11.5px; letter-spacing: 2.6px; }
.hero-intro { color: var(--muted); font-size: 15.5px; line-height: 1.9; margin-top: 19px; }
.hero .text-link { margin-top: 18px; gap: 22px; font-size: 13px; }
.hero-portrait { width: 100%; max-width: 431px; position: relative; justify-self: end; padding-top: 15px; }
.portrait-frame { padding: 11px; border: 1px solid #c7b796b3; border-radius: 230px 230px 6px 6px; position: relative; }
.portrait-art, .portrait-image { width: 100%; aspect-ratio: .79; border-radius: 215px 215px 1px 1px; overflow: hidden; position: relative; background: #eeede3; }
.portrait-art { background: radial-gradient(ellipse at 45% 35%, #f9f5eb, #eae9dd 100%); }
.portrait-image { object-fit: cover; object-position: center 35%; height: auto; }
.arch-outline { position: absolute; inset: 17px; border: 1px solid #c0b99575; border-radius: 210px 210px 1px 1px; z-index: 2; pointer-events: none; }
.hero-bloom { position: absolute; pointer-events: none; }
.hero-bloom-one { width: 305px; height: 457px; bottom: -134px; left: -114px; transform: rotate(-22deg); opacity: .9; }
.hero-bloom-two { width: 245px; height: 368px; top: -145px; right: -106px; transform: rotate(158deg); opacity: .85; }
.arch-type { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; position: absolute; inset: 0; padding-top: 20px; text-align: center; }
.arch-star { font-size: 31px; color: #b39b71; margin-bottom: 0; }
.arch-sixty { font: 400 clamp(125px, 15vw, 192px)/1 var(--serif); color: #9b8156; letter-spacing: -11px; padding-right: 10px; margin: 3px 0 -2px; }
.arch-years { font: 400 11.5px/1.5 var(--sans); letter-spacing: 6px; color: #816b48; padding-left: 6px; }
.arch-script { font: italic 28.5px/1.15 var(--serif); color: #68735b; margin-top: 29px; }
.portrait-seal { position: absolute; bottom: 57px; right: -28px; width: 96px; height: 96px; border-radius: 50%; background: #e5e8db; outline: 1px solid #abb292; outline-offset: -7px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; transform: rotate(10deg); color: #667152; box-shadow: 0 3px 9px #67725409; }
.portrait-seal span { font: 500 7px/1.5 var(--sans); letter-spacing: 1px; text-align: center; }
.portrait-seal .icon { width: 22px; height: 22px; stroke-width: 1; }
.hero-portrait figcaption { text-align: center; font: italic 18.5px/1.5 var(--serif); margin-top: 20px; color: var(--muted); }
.hero-bottom { grid-column: 1/-1; margin-top: 64px; padding: 20px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 27px; color: var(--muted); font-size: 8.5px; letter-spacing: 1.65px; }
.hero-bottom .tiny-star { color: var(--gold-light); font-size: 13px; }
.hero-bottom > a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin-left: auto; }
.hero-bottom .icon { width: 18px; }

/* A letter to Irene */
.message-section { text-align: center; max-width: 810px; padding-block: 98px 111px; }
.section-flourish { display: flex; align-items: center; justify-content: center; gap: 19px; color: var(--gold-light); margin-bottom: 31px; }
.section-flourish > span { width: 51px; height: 1px; background: #c6b48d87; }
.section-flourish .icon { width: 24px; height: 24px; stroke-width: 1; }
.message-section .section-title { margin: 19px 0 27px; }
.message-lead { max-width: 646px; margin: auto; font-size: 17.5px; line-height: 1.95; }
.message-body { margin: 17px auto 0; max-width: 604px; font-size: 15.5px; line-height: 2; color: var(--muted); }
.message-signature { font: italic 28.5px/1.4 var(--serif); color: var(--gold); margin-top: 25px; }

/* Countdown */
.countdown-section { background: var(--sage); border-block: 1px solid #dde2d4; padding-block: 63px; }
.countdown-inner { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; column-gap: 64px; max-width: 1030px; }
.countdown-copy .eyebrow { color: #697252; font-size: 9.5px; letter-spacing: 1.7px; }
.countdown-copy .section-title { margin: 9px 0 6px; font-size: 51px; }
.countdown-copy > p:last-child { color: #637057; font-size: 15.5px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.countdown-unit { display: flex; flex-direction: column; align-items: center; border-left: 1px solid #bcc5ab; padding: 2px 12px; min-width: 0; }
.countdown-unit:first-child { border-left: 0; }
.countdown-number { font: 400 61px/1.12 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -1px; color: #5e6a4e; }
.countdown-label { margin-top: 10px; color: #58614f; font-size: 9.5px; letter-spacing: 1.8px; }
.countdown-inner.is-celebrating { display: block; text-align: center; }
.countdown-inner.is-celebrating .countdown-copy .section-title { margin: 17px 0; }

/* The details, designed as a keepsake card */
.event-section { padding-block: 105px 80px; }
.event-card { display: grid; grid-template-columns: 30% 70%; max-width: 960px; margin: auto; border: 1px solid #d6cfbe; border-radius: 5px; overflow: hidden; background: var(--white); box-shadow: 0 10px 30px #645d3d04; }
.event-date-block { background: #f0ecdf; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px 20px; position: relative; }
.event-date-block::before { content: ''; position: absolute; inset: 12px; border: 1px solid #c5b8975e; pointer-events: none; }
.event-date-block .eyebrow { font-size: 11.5px; letter-spacing: 3px; }
.event-day { font: 400 116px/.95 var(--serif); letter-spacing: -5px; margin: 24px 0 15px; color: #8a7650; }
.event-month { font-size: 11.5px; letter-spacing: 3px; }
.event-year { font: 400 27.5px/1.5 var(--serif); color: var(--gold); margin-top: 8px; }
.date-ornament { color: var(--gold-light); font-size: 24px; margin: 22px 0 16px; }
.event-date-block p { font: italic 22px/1.45 var(--serif); color: #6b705d; }
.event-details { padding: 40px 44px 30px; }
.detail-row { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 23px; }
.detail-icon { display: flex; flex: 0 0 auto; margin-top: 3px; color: var(--gold); }
.detail-icon .icon { width: 22px; height: 22px; stroke-width: 1.2; }
.detail-row h3 { font: 500 10.5px/1.7 var(--sans); text-transform: uppercase; letter-spacing: 1.3px; color: #71715e; margin-bottom: 4px; }
.detail-row p { font-size: 15.5px; line-height: 1.7; }
.detail-row small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.event-actions { border-top: 1px solid #e2ddd0; padding-top: 24px; display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.event-actions .button { font-size: 10.5px; padding-inline: 19px; }
.event-actions .text-link { font-size: 11.5px; }

/* Map: explicit opt-in, address query only, no guessed coordinates. */
.location-section { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 69px; max-width: 960px; padding-block: 26px 104px; }
.location-text .section-title { margin: 17px 0 28px; font-size: 49px; }
.location-text address { display: flex; flex-direction: column; font-style: normal; font-size: 15.5px; line-height: 1.9; margin-bottom: 26px; }
.location-text address strong { font-weight: 500; }
.location-text address > span { color: var(--muted); }
.location-text > .button { min-width: 220px; }
.copy-address { display: flex; width: fit-content; margin-top: 8px; color: var(--muted); font-size: 13px; }
.map-shell { min-width: 0; min-height: 365px; height: 365px; border: 1px solid #d9d5c5; background: #eeeee3; border-radius: 4px; position: relative; overflow: hidden; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; isolation: isolate; text-align: center; padding: 25px; }
.map-orbit { position: absolute; border: 1px solid #bdc5ad5c; border-radius: 50%; z-index: -1; pointer-events: none; }
.orbit-one { width: 190px; height: 190px; }
.orbit-two { width: 310px; height: 310px; }
.orbit-three { width: 450px; height: 450px; }
.map-pin { height: 57px; width: 57px; border: 1px solid #c1c6b2; border-radius: 50%; background: #faf8f2c4; display: grid; place-items: center; margin-bottom: 13px; color: #687456; }
.map-pin .icon { width: 27px; height: 27px; stroke-width: 1.2; }
.map-place { font: 400 33px/1.2 var(--serif); }
.map-area { font-size: 13px; color: #69725c; margin: 4px 0 23px; }
.map-placeholder .button { min-height: 46px; font-size: 9.5px; }
.map-placeholder small { font-size: 10.5px; color: #67705c; margin-top: 14px; }
.map-shell iframe { width: 100%; height: calc(100% - 73px); border: 0; display: block; background: var(--ivory); }
.map-fallback { background: var(--white); min-height: 73px; padding: 10px 15px; text-align: center; }
.map-fallback p { font-size: 10.5px; color: var(--muted); }
.map-fallback a { font-size: 13px; display: inline-flex; gap: 9px; align-items: center; min-height: 34px; }
.map-fallback .icon { width: 14px; height: 14px; }

/* Editable programme */
.agenda-section { padding-block: 91px 77px; border-block: 1px solid #e6e0d2; background: #f3f0e7; }
.agenda-section .section-heading { margin-bottom: 58px; }
.timeline { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); list-style: none; position: relative; }
.timeline::before { content: ''; height: 1px; background: #c6c9b4; position: absolute; top: 30px; left: 12.5%; right: 12.5%; }
.timeline-item { text-align: center; position: relative; padding: 0 12px; }
.timeline-icon { width: 61px; height: 61px; border-radius: 50%; background: #f3f0e7; border: 1px solid #c5c4aa; display: inline-flex; justify-content: center; align-items: center; color: #848363; margin-bottom: 24px; }
.timeline-icon .icon { width: 25px; height: 25px; stroke-width: 1.15; }
.timeline-time { display: block; color: var(--gold); font: 400 25.5px/1.2 var(--serif); margin-bottom: 11px; }
.timeline h3 { font: 400 26.5px/1.25 var(--serif); margin-bottom: 8px; text-wrap: balance; }
.timeline p { font-size: 13px; color: var(--muted); }
.agenda-note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 52px; }
.agenda-note span { font-size: 8.5px; letter-spacing: 1.2px; display: inline-block; padding: 5px 9px; background: #e7e6d7; color: #676e58; margin-right: 11px; border-radius: 2px; }

/* Memory placeholders turn into an accessible lightbox when photos are supplied. */
.memories-section { padding-block: 102px 112px; }
.memories-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 43px; }
.memories-heading .section-title { margin-top: 14px; }
.memories-heading > p { color: var(--muted); font-size: 14.5px; line-height: 1.8; padding-bottom: 3px; }
.memories-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px; }
.memory-card { min-width: 0; }
.memory-card:nth-child(2) { padding-top: 30px; }
.memory-frame { aspect-ratio: .91; background: #eeeae0; overflow: hidden; position: relative; border-radius: 3px; border: 1px solid #d2cbbc60; }
.memory-0 { background: #f2e7df; }
.memory-1 { background: #e8ebe0; }
.memory-2 { background: #ede9df; }
.memory-number { position: absolute; top: 20px; left: 21px; color: #666b55; font-size: 9.5px; letter-spacing: 2px; z-index: 1; }
.memory-botanical { width: 74%; height: 94%; position: absolute; left: 14%; top: -2%; opacity: .82; transform: rotate(-10deg); }
.memory-1 .memory-botanical { transform: rotate(20deg) scale(.92); }
.memory-2 .memory-botanical { transform: rotate(-28deg) scale(1.18); }
.memory-pending { position: absolute; bottom: 16px; left: 10px; right: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 35px; font-size: 9.5px; letter-spacing: .2px; color: #5f6855; }
.memory-pending .icon { width: 16px; height: 16px; }
.memory-card figcaption { font: italic 26.5px/1.3 var(--serif); text-align: center; margin-top: 16px; }
.memory-trigger { width: 100%; height: 100%; padding: 0; border: 0; display: block; background: transparent; }
.memory-trigger img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.memory-trigger:hover img { transform: scale(1.035); }
.photo-view-label { position: absolute; right: 13px; bottom: 13px; background: #fffdf8eb; padding: 7px 11px; color: var(--ink); font-size: 10.5px; border-radius: 2px; }

/* Virtue and gratitude */
.virtue-section { background: #f1e8df; overflow: hidden; }
.virtue-inner { position: relative; padding-block: 83px; text-align: center; }
.virtue-inner > div { position: relative; }
.virtue-section .eyebrow { font-size: 9.5px; }
.virtue-section blockquote { font: 400 clamp(33px,4.2vw,48px)/1.2 var(--serif); letter-spacing: -.8px; margin-top: 24px; }
.virtue-section blockquote em { color: #907a55; }
.virtue-section .section-flourish { margin: 30px 0 0; }
.virtue-botanical { position: absolute; height: 430px; width: 280px; left: -75px; top: 30px; opacity: .34; transform: rotate(33deg); }

/* Confirmation */
.rsvp-section { padding-block: 105px; }
.rsvp-card { width: min(100%,880px); margin: auto; padding: 56px 45px; border: 1px solid #cdbb967d; position: relative; text-align: center; background: #fdfbf6; }
.rsvp-card::after { content: ''; position: absolute; inset: 10px; border: 1px solid #dfd5c180; pointer-events: none; }
.rsvp-ornament { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: #f1eee4; color: var(--gold); margin-bottom: 23px; }
.rsvp-ornament .icon { width: 29px; height: 29px; stroke-width: 1.1; }
.rsvp-card .section-title { font-size: 62px; margin: 15px 0 21px; }
.rsvp-card > p:not(.eyebrow):not(.rsvp-status):not(.rsvp-signoff) { font-size: 15.5px; color: var(--muted); line-height: 1.9; }
.rsvp-card > .button { margin-top: 29px; min-width: 293px; }
.rsvp-status { font-size: 10.5px; color: #737567; margin: 16px auto 0; max-width: 380px; line-height: 1.7; }
.rsvp-rule { width: 50px; height: 1px; background: #cfc2a6; margin: 32px auto 26px; }
.rsvp-signoff { font: italic 26.5px/1.35 var(--serif); color: var(--gold); }

/* Farewell */
.site-footer { background: #efeee4; }
.footer-content { text-align: center; padding-top: 63px; }
.footer-content > .little-star { display: block; font-size: 27.5px; }
.footer-thanks { font: 400 16.5px/1.6 var(--sans); margin-top: 20px; color: #6a715d; }
.footer-name { font: italic 64px/1.1 var(--serif); letter-spacing: -2px; margin: 18px 0 13px; }
.footer-age { font: 400 18.5px/1.5 var(--serif); }
.footer-age > span[aria-hidden] { padding: 0 7px; }
.footer-date { display: block; font-size: 10.5px; letter-spacing: 1.2px; color: var(--gold); margin-top: 21px; }
.footer-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 25px; }
.footer-actions .text-link { font-size: 11.5px; color: #636c56; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding: 22px 0; border-top: 1px solid #cfd1bd; color: #6b735e; font-size: 7px; letter-spacing: 1.55px; text-align: left; gap: 12px; }
.music-toggle { position: fixed; right: 24px; bottom: 23px; z-index: 45; border-radius: 100px; min-height: 46px; background: #fffdf8f5; border: 1px solid #c7c7b3; box-shadow: 0 4px 17px #5059420c; color: #59664d; padding: 10px 15px; display: flex; align-items: center; gap: 9px; font-size: 11.5px; }
.music-toggle .music-icon { width: 17px; height: 17px; }
.music-toggle .playback-icon { width: 13px; height: 13px; margin-left: 2px; }
.music-toggle[aria-pressed="true"] { background: #e8ecdf; border-color: #a5b094; }

/* Native dialogs include focus containment and Escape support. */
.modal { width: min(460px,calc(100% - 32px)); max-height: calc(100svh - 40px); margin: auto; border: 1px solid #cec0a3; border-radius: 5px; background: var(--paper); color: var(--ink); padding: 45px 32px 32px; text-align: center; overflow-y: auto; box-shadow: 0 15px 90px #3f49382b; }
.modal::backdrop { background: #3d473457; backdrop-filter: blur(5px); }
.modal[open] { animation: modal-in .3s var(--ease) both; }
.modal-close { position: absolute; top: 5px; right: 5px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: var(--muted); }
.modal-emblem { display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; margin: 0 auto 20px; background: #ecefe2; border-radius: 50%; color: #738260; }
.modal-emblem .icon { width: 24px; height: 24px; }
.modal .eyebrow { font-size: 9.5px; }
.modal h2 { font: 400 40px/1.05 var(--serif); letter-spacing: -1px; margin: 15px 0 22px; }
.modal p:not(.eyebrow) { font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.modal .notice { background: #efeadf; border-left: 2px solid #bba67a; text-align: left; padding: 13px 15px; margin: 22px 0; font-size: 13px !important; }
.modal .button { margin-top: 22px; width: 100%; }
.modal .text-link { margin-top: 15px; }
#rsvp-form { text-align: left; }
#rsvp-form > p:first-child { text-align: center; margin-bottom: 22px; }
#rsvp-form label { display: block; font-size: 13px; font-weight: 500; margin: 17px 0 7px; }
#rsvp-form input, #rsvp-form select { width: 100%; min-height: 49px; padding: 12px; border: 1px solid #c9c7b7; border-radius: 3px; background: #fffef9; color: var(--ink); font-size: 17.5px; }
#rsvp-form .form-privacy { font-size: 11.5px; margin-top: 17px; }
#rsvp-form .form-result { font-size: 13px; margin-top: 16px; }
#whatsapp-retry { text-decoration: underline; text-underline-offset: 3px; }
.photo-modal { width: min(800px,calc(100% - 32px)); padding: 48px 20px 16px; }
.photo-modal img { max-height: 65svh; max-width: 100%; width: auto; height: auto; margin: auto; object-fit: contain; border-radius: 2px; }
.photo-modal p { font: italic 27.5px/1.5 var(--serif) !important; margin-top: 16px; }
.lightbox-nav { display: flex; justify-content: center; align-items: center; gap: 25px; font-size: 11.5px; }
.icon-button { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; }
.rotate-arrow { transform: rotate(180deg); }
.toast { position: fixed; z-index: 500; bottom: 88px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: #fdfbf4; color: #4e6043; border: 1px solid #b8b99d; padding: 13px 20px; border-radius: 4px; box-shadow: 0 4px 24px #4a593321; font-size: 14.5px; text-align: center; pointer-events: none; }
.noscript-note { padding: 20px; text-align: center; font-size: 15.5px; }

/* Motion appears only after the observer is ready. Content never depends on it. */
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.confetti-container { position: fixed; inset: 0; z-index: 250; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; top: -20px; width: 5px; height: 10px; opacity: 0; background: #bca476; border-radius: 1px; animation: confetti-fall 3.2s ease-out both; }
.confetti-piece:nth-child(3n) { background: #afb99c; width: 4px; height: 7px; }
.confetti-piece:nth-child(3n+1) { background: #d9bba9; width: 4px; height: 4px; border-radius: 50%; }
@keyframes confetti-fall { 0% { opacity: 0; transform: translateY(-10px) rotate(0); } 15% { opacity: .65; } 80% { opacity: .35; } 100% { opacity: 0; transform: translate(var(--drift),75vh) rotate(var(--turn)); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes botanical-breathe { 0%,100% { transform: rotate(-22deg); } 50% { transform: rotate(-19deg); } }
.is-open .hero-bloom-one { transform-origin: 65% 90%; animation: botanical-breathe 8s ease-in-out 2; }

@media (max-width: 1050px) {
  .hero { column-gap: 54px; padding-top: 60px; }
  .hero .eyebrow { font-size: 8.5px; letter-spacing: 1.35px; }
  .portrait-seal { right: -12px; }
  .desktop-nav { gap: 22px; }
  .header-inner { gap: 20px; }
  .brand-text { font-size: 21px; }
  .event-details { padding: 34px 30px 28px; }
  .countdown-inner { column-gap: 32px; }
  .countdown-number { font-size: 54px; }
  .timeline h3 { font-size: 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 87px; }
  .section-shell { width: calc(100% - 44px); }
  .eyebrow { font-size: 9.5px; letter-spacing: 1.75px; }
  .section-title { font-size: clamp(38px,7.7vw,51px); letter-spacing: -1.2px; }
  .section-heading { margin-bottom: 33px; }
  .section-heading > p:last-child { font-size: 15.5px; }
  .cover-side-note { display: none; }
  .welcome { padding: 20px 16px; }
  .invitation-paper { min-height: 675px; padding-inline: 32px; }
  .cover-name { font-size: 77px; }
  .header-inner { width: calc(100% - 36px); height: 73px; gap: 12px; }
  .monogram { width: 39px; height: 39px; font-size: 23px; }
  .brand { gap: 9px; }
  .brand-text { font-size: 20px; }
  .brand-text small { font-size: 6px; letter-spacing: .95px; }
  .desktop-nav { display: none; }
  .header-rsvp { font-size: 11.5px; gap: 9px; }
  .header-rsvp .icon { width: 16px; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 43px; text-align: center; }
  .hero .eyebrow { justify-content: center; font-size: 8.5px; letter-spacing: 1.35px; margin-bottom: 28px; }
  .hero-name { font-size: clamp(88px,15vw,112px); letter-spacing: -3px; line-height: .8; }
  .hero-name span, .hero-name em { display: inline; }
  .hero-name span::after { content: ' '; }
  .hero-name em { margin-top: 0; }
  .hero-dedication { margin-top: 23px; font-size: 28.5px; line-height: 1.35; }
  .hero-dedication br { display: none; }
  .hero-date { justify-content: center; margin-top: 21px; }
  .hero-date .fine-rule { width: 24px; }
  .hero-intro { font-size: 15.5px; margin-top: 18px; }
  .hero .text-link { margin-top: 13px; }
  .hero-portrait { width: min(83%,370px); justify-self: center; padding-top: 0; margin-top: 38px; }
  .portrait-art,.portrait-image { aspect-ratio: .91; }
  .arch-sixty { font-size: 160px; }
  .arch-type { padding-top: 16px; }
  .arch-star { font-size: 22px; }
  .arch-script { font-size: 26.5px; margin-top: 16px; }
  .hero-bloom-one { width: 260px; height: 390px; bottom: -156px; left: -121px; }
  .hero-bloom-two { width: 220px; height: 330px; top: -165px; right: -107px; }
  .portrait-seal { width: 79px; height: 79px; bottom: 51px; right: -20px; }
  .portrait-seal span { font-size: 6px; }
  .portrait-seal .icon { width: 19px; height: 19px; }
  .hero-portrait figcaption { font-size: 17.5px; margin-top: 17px; }
  .hero-bottom { width: 100%; margin-top: 36px; gap: 11px; padding: 15px 0; justify-content: center; font-size: 6.5px; letter-spacing: 1px; }
  .hero-bottom > a { display: none; }
  .message-section { padding-block: 74px 78px; }
  .message-section .section-title { margin: 18px 0 24px; }
  .message-lead { font-size: 16.5px; line-height: 1.95; }
  .message-body { font-size: 15.5px; line-height: 1.95; max-width: 540px; }
  .message-signature { font-size: 27.5px; }
  .countdown-section { padding-block: 42px 44px; }
  .countdown-inner { display: block; text-align: center; }
  .countdown-copy .section-title { font-size: 49px; margin-top: 8px; }
  .countdown-copy .eyebrow { font-size: 8.5px; }
  .countdown { max-width: 440px; margin: 29px auto 0; }
  .countdown-number { font-size: 55px; }
  .countdown-label { font-size: 8.5px; letter-spacing: 1.4px; margin-top: 7px; }
  .countdown-unit { padding-inline: 8px; }
  .event-section { padding-block: 76px 62px; }
  .event-card { grid-template-columns: 1fr; max-width: 510px; }
  .event-date-block { padding: 29px 25px 28px; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 14px; }
  .event-date-block .eyebrow { grid-column: 1; font-size: 9.5px; letter-spacing: 2px; align-self: end; }
  .event-day { grid-column: 2; grid-row: 1/3; font-size: 87px; margin: 0 5px; line-height: .98; }
  .event-month { grid-column: 3; grid-row: 1; font-size: 8.5px; letter-spacing: 1.3px; align-self: end; }
  .event-year { grid-column: 3; grid-row: 2; font-size: 24px; margin-top: 0; align-self: start; }
  .event-date-block p { display: none; }
  .date-ornament { grid-column: 1; grid-row: 2; margin: 0; line-height: 1; align-self: start; font-size: 21px; padding-top: 4px; }
  .event-details { padding: 28px 25px 22px; }
  .detail-row { gap: 14px; margin-bottom: 22px; }
  .detail-row p { font-size: 15.5px; }
  .detail-row h3 { font-size: 9.5px; }
  .event-actions { gap: 9px; padding-top: 21px; flex-direction: column; }
  .event-actions .button { width: 100%; font-size: 10.5px; }
  .event-actions .text-link { font-size: 13px; }
  .location-section { grid-template-columns: 1fr; gap: 32px; padding-block: 4px 72px; max-width: 510px; }
  .location-text { text-align: center; }
  .location-text .section-title { font-size: 43px; margin: 16px 0 23px; }
  .location-text > .button { width: min(100%,350px); }
  .copy-address { margin-inline: auto; margin-top: 9px; }
  .location-text address { font-size: 16.5px; margin-bottom: 22px; }
  .map-shell { height: 330px; min-height: 330px; }
  .agenda-section { padding-block: 68px 55px; }
  .agenda-section .section-heading { margin-bottom: 39px; }
  .timeline { display: flex; flex-direction: column; max-width: 395px; margin: auto; }
  .timeline::before { height: auto; width: 1px; top: 30px; bottom: 66px; left: 30px; right: auto; }
  .timeline-item { text-align: left; padding: 0 0 29px 84px; min-height: 128px; }
  .timeline-item:last-child { padding-bottom: 0; min-height: 100px; }
  .timeline-icon { position: absolute; left: 0; top: 0; margin: 0; }
  .timeline-time { font-size: 25.5px; padding-top: 0; margin-bottom: 8px; }
  .timeline h3 { font-size: 27.5px; margin-bottom: 7px; }
  .timeline p { font-size: 13px; line-height: 1.6; }
  .agenda-note { margin-top: 34px; font-size: 10.5px; line-height: 1.8; }
  .agenda-note span { display: block; margin: 0 auto 10px; width: fit-content; }
  .memories-section { padding-block: 73px 75px; }
  .memories-heading { display: block; text-align: center; margin-bottom: 30px; }
  .memories-heading > p { margin-top: 20px; font-size: 15.5px; }
  .memories-grid { grid-template-columns: 1fr 1fr; gap: 23px 16px; max-width: 510px; margin: auto; }
  .memory-card:nth-child(1) { grid-column: 1/-1; }
  .memory-card:nth-child(2) { padding-top: 0; }
  .memory-card:first-child .memory-frame { aspect-ratio: 1.48; }
  .memory-card:first-child .memory-botanical { width: 58%; left: 23%; height: 115%; top: -12%; }
  .memory-frame { aspect-ratio: .8; }
  .memory-number { top: 12px; left: 13px; font-size: 8.5px; }
  .memory-pending { bottom: 11px; font-size: 8.5px; gap: 5px; line-height: 1.4; flex-direction: column; }
  .memory-card:first-child .memory-pending { flex-direction: row; bottom: 11px; font-size: 9.5px; }
  .memory-card figcaption { font-size: 23px; margin-top: 12px; }
  .memory-botanical { top: -3%; left: 7%; width: 86%; height: 84%; }
  .virtue-inner { padding-block: 63px; }
  .virtue-section .eyebrow { font-size: 7.5px; letter-spacing: 1.4px; }
  .virtue-section blockquote { font-size: clamp(29px,6.7vw,40px); line-height: 1.22; letter-spacing: -.5px; }
  .virtue-botanical { width: 210px; height: 315px; opacity: .15; left: -80px; top: 20px; }
  .rsvp-section { padding-block: 75px; }
  .rsvp-card { padding: 39px 26px; }
  .rsvp-card .eyebrow { font-size: 7.5px; letter-spacing: 1.25px; }
  .rsvp-card .section-title { font-size: 48px; margin-top: 16px; }
  .rsvp-card > p:not(.eyebrow):not(.rsvp-status):not(.rsvp-signoff) { font-size: 15.5px; }
  .rsvp-card > .button { width: 100%; min-width: 0; padding-inline: 13px; gap: 8px; font-size: 9.5px; letter-spacing: .7px; }
  .rsvp-card > .button .arrow-icon { margin-left: 0; width: 15px; }
  .rsvp-signoff { font-size: 24px; }
  .rsvp-status { font-size: 10.5px; }
  .rsvp-ornament { width: 61px; height: 61px; }
  .footer-content { padding-top: 51px; padding-bottom: 94px; }
  .footer-thanks { font-size: 14.5px; max-width: 280px; margin: 19px auto 0; }
  .footer-name { font-size: 53px; letter-spacing: -1.5px; }
  .footer-age { font-size: 17.5px; }
  .footer-date { font-size: 9.5px; letter-spacing: 1px; }
  .footer-actions { gap: 0; flex-direction: column; margin-top: 23px; }
  .footer-actions .text-link { font-size: 11.5px; }
  .footer-bottom { margin-top: 30px; padding-block: 17px; font-size: 6px; letter-spacing: .8px; }
  .music-toggle { right: 15px; bottom: calc(83px + env(safe-area-inset-bottom)); min-height: 43px; padding: 9px 13px; font-size: 10.5px; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: #fffdf8f7; border-top: 1px solid #d7d8c7; padding: 7px 9px calc(7px + env(safe-area-inset-bottom)); z-index: 40; box-shadow: 0 -4px 18px #60664906; }
  .mobile-nav a { display: flex; min-height: 48px; min-width: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; font-size: 8.5px; letter-spacing: .3px; color: #72765f; border-radius: 5px; }
  .mobile-nav a[aria-current="location"] { background: #ecefE2; color: #536249; }
  .mobile-nav .icon { width: 19px; height: 19px; stroke-width: 1.3; }
  .toast { bottom: calc(142px + env(safe-area-inset-bottom)); font-size: 13px; }
  .desktop-br { display: none; }
}
@media (max-width: 480px) {
  .hero-name span, .hero-name em { display: block; }
  .hero-name span::after { content: none; }
  .hero-name em { margin-top: 7px; }
  .hero-name { font-size: 89px; line-height: .79; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.15px; gap: 6px; }
  .hero .eyebrow .little-star { font-size: 15.5px; }
  .hero-dedication { font-size: 27.5px; margin-top: 26px; }
  .hero-dedication br { display: block; }
  .hero-portrait { width: 84%; max-width: 315px; }
  .portrait-art,.portrait-image { aspect-ratio: .82; }
  .arch-sixty { font-size: 150px; }
  .arch-years { font-size: 9.5px; letter-spacing: 5px; }
  .arch-script { font-size: 25.5px; }
  .hero-portrait figcaption { font-size: 16.5px; }
  .hero-bottom { gap: 9px; font-size: 6px; letter-spacing: .7px; }
  .invitation-paper { min-height: 643px; padding: 39px 29px 32px; }
  .cover-monogram { width: 44px; height: 44px; font-size: 26.5px; margin-bottom: 25px; }
  .cover-eyebrow { font-size: 8.5px; letter-spacing: 1.6px; margin-bottom: 24px; }
  .cover-name { font-size: 72px; line-height: .96; letter-spacing: -2px; }
  .cover-age { margin: 23px 0; font-size: 26.5px; gap: 13px; }
  .cover-quote { font-size: 14.5px; line-height: 1.9; max-width: 245px; margin-inline: auto; }
  .cover-date { font-size: 10.5px; margin: 23px 0; letter-spacing: 3px; }
  .cover-open { width: 100%; min-width: 0; min-height: 55px; font-size: 9.5px; letter-spacing: .9px; gap: 10px; padding-inline: 13px; }
  .cover-open .arrow-icon { margin-left: 2px; }
  .cover-open .icon { width: 17px; height: 17px; }
  .cover-footnote { font-size: 18.5px; margin-top: 15px; }
  .cover-botanical { width: 210px; height: 315px; opacity: .7; }
  .cover-botanical-top { top: -127px; left: -92px; }
  .cover-botanical-bottom { bottom: -123px; right: -102px; }
  .cover-bottom-note { font-size: 6.5px; letter-spacing: 1.4px; }
}
@media (max-width: 360px) {
  .section-shell { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 28px); }
  .brand-text { font-size: 17.5px; }
  .brand-text small { display: none; }
  .header-rsvp { font-size: 10.5px; gap: 7px; }
  .hero-name { font-size: 82px; }
  .countdown-number { font-size: 44px; }
  .countdown-label { font-size: 7px; letter-spacing: .8px; }
  .countdown-unit { padding-inline: 5px; }
  .arch-sixty { font-size: 132px; }
  .arch-type { padding-top: 9px; }
  .arch-script { font-size: 23px; margin-top: 14px; }
  .arch-star { font-size: 18.5px; }
  .event-details { padding: 26px 20px 19px; }
  .event-day { font-size: 77px; }
  .event-date-block { column-gap: 7px; padding-inline: 20px; }
  .rsvp-card { padding-inline: 23px; }
  .rsvp-card .section-title { font-size: 41px; }
  .rsvp-card > .button { font-size: 8.5px; letter-spacing: .3px; gap: 6px; }
  .rsvp-card > .button .icon { width: 15px; }
  .rsvp-card .eyebrow { font-size: 7px; }
  .cover-name { font-size: 65px; }
  .invitation-paper { padding-inline: 26px; min-height: 624px; }
  .cover-age .fine-rule { width: 24px; }
  .modal { padding-inline: 24px; }
  .modal h2 { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .confetti-container { display: none; }
}
@media print {
  .welcome, .site-header, .music-toggle, .mobile-nav, .reading-progress, .confetti-container, .footer-actions, .map-shell, .toast, .skip-link { display: none !important; }
  #site { visibility: visible !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  body { font-size: 13px; }
  .event-card, .rsvp-card { break-inside: avoid; }
  .button, .text-link { display: none; }
}

/* Touch labels stay readable, including compact phone widths. */
@media (max-width: 760px) {
  .button { font-size: 11.5px; }
  .event-actions .button { font-size: 11.5px; }
  .map-placeholder .button { font-size: 10.5px; }
  .rsvp-card > .button { font-size: 11.5px; letter-spacing: .55px; }
  .mobile-nav a { font-size: 10.5px; }
  .countdown-label { font-size: 9.5px; letter-spacing: 1px; }
}
@media (max-width: 480px) {
  .cover-open { font-size: 11.5px; letter-spacing: .85px; }
}
@media (max-width: 360px) {
  .cover-open { font-size: 10.5px; }
  .rsvp-card > .button { font-size: 10.5px; letter-spacing: .25px; }
  .countdown-label { font-size: 8.5px; letter-spacing: .5px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .welcome { padding-block: 12px; }
  .invitation-paper { min-height: 0; padding-block: 30px 27px; }
  .cover-monogram { width: 36px; height: 36px; font-size: 23px; margin-bottom: 15px; }
  .cover-eyebrow { margin-bottom: 20px; }
  .cover-name { font-size: 63px; line-height: .9; }
  .cover-age { margin-block: 19px; font-size: 24px; }
  .cover-date { margin-block: 18px; }
  .cover-open { min-height: 50px; }
  .cover-footnote { font-size: 17.5px; margin-top: 11px; }
  .cover-bottom-note { margin-top: 12px; }
}

/* Panel del reproductor de YouTube (musica con derechos: se reproduce desde YouTube). */
.yt-panel { position: fixed; right: 24px; bottom: 79px; z-index: 46; width: 252px; max-width: calc(100vw - 48px); background: #fffdf8f7; border: 1px solid #c7c7b3; border-radius: 14px; box-shadow: 0 14px 34px #4f594820; overflow: hidden; backdrop-filter: blur(6px); }
.yt-panel .yt-frame { aspect-ratio: 16/9; background: #2b2b26; }
.yt-panel iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-panel .yt-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px 7px 12px; font: 400 10.5px/1.4 var(--sans); letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
.yt-panel .yt-close { background: none; border: 0; padding: 4px; border-radius: 50%; color: var(--muted); display: flex; }
.yt-panel .yt-close:hover { color: var(--ink); background: #ece9dd; }
.yt-panel .yt-close .icon { width: 15px; height: 15px; }
@media (max-width: 780px) {
  .yt-panel { right: 15px; bottom: calc(136px + env(safe-area-inset-bottom)); width: 216px; }
}
@media print { .yt-panel { display: none !important; } }
