.royal-choice input {
  width: 1px !important;
  min-height: 1px !important;
}
/* Keep a catalogue preview usable without changing the standalone guest view. */
body:has(.demo-toolbar) .royal-envelope{top:var(--demo-header-height,0px)}
body:has(.demo-toolbar) .royal-envelope-paper{height:calc(100svh - var(--demo-header-height,0px));min-height:0}
body:has(.demo-toolbar) .royal-preview{top:calc(var(--demo-header-height,0px) + 12px)}
body:has(.demo-toolbar) .royal-audio{top:calc(var(--demo-header-height,0px) + 14px)}
.royal-hero h1,.royal-final h2{overflow-wrap:anywhere;line-height:.94}
.royal-hero h1 span,.royal-final h2 span{line-height:1.1}
.royal-program li>span,.royal-rsvp label,.royal-events article,.royal-attire-grid article{min-width:0;overflow-wrap:anywhere}
.royal-gems{flex-wrap:wrap}
.royal-route-button{max-width:100%;white-space:normal;line-height:1.5;padding-block:12px}
@media(max-width:380px){.royal-hero{padding-inline:28px}.royal-hero h1{font-size:clamp(48px,15vw,62px)}.royal-program li{grid-template-columns:62px minmax(0,1fr);gap:14px}.royal-rsvp form>div{gap:10px}.royal-rsvp-actions{flex-direction:column}.royal-rsvp-actions button{flex:auto}.royal-final h2{font-size:48px}.royal-events>div{grid-template-columns:minmax(0,1fr)}.royal-route-dialog form{padding:24px}.royal-final-actions{width:100%}.royal-final-actions a{width:100%}}
@media(min-width:900px){
 body:has(.demo-toolbar) .royal-story{width:min(100%,1120px)}
 body:has(.demo-toolbar) .royal-hero{min-height:calc(100svh - var(--demo-header-height,0px));background-position:center 40%;padding:70px 60px}
 body:has(.demo-toolbar) .royal-hero h1{font-size:clamp(90px,8vw,118px)}
 body:has(.demo-toolbar) .royal-section{padding-block:100px;padding-inline:100px}
 body:has(.demo-toolbar) .royal-section>p:not(:first-child){max-width:560px}
 body:has(.demo-toolbar) .royal-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px}
 body:has(.demo-toolbar) .royal-gallery figure,body:has(.demo-toolbar) .royal-gallery figure:nth-child(3n){grid-column:auto;aspect-ratio:3/4}
 body:has(.demo-toolbar) .royal-attire-grid,body:has(.demo-toolbar) .royal-travel,body:has(.demo-toolbar) .royal-events>div{max-width:800px;margin-inline:auto}
 body:has(.demo-toolbar) .royal-map{max-width:720px;aspect-ratio:16/9}
 body:has(.demo-toolbar) .royal-countdown [data-countdown]{max-width:560px;margin-inline:auto}
}
.royal-final .royal-final-title{font:400 clamp(28px,5vw,42px)/1.15 Cormorant,Georgia,serif;color:var(--gold);margin:30px 0 0;max-width:100%;overflow-wrap:anywhere}
.royal-scratch button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.royal-map [data-map-open]{min-width:44px;min-height:44px}
