@font-face{font-family:WeddingHindi;src:url('/entry/hindi-ui.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0900-097F,U+1CD0-1CFF,U+200C-200D,U+25CC}
/* The existing preloader is a single, viewport-fitted choice screen. */
#wedding-invitation #loading.preload-experience{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:100dvh!important;display:grid;place-items:center;overflow:hidden;background:#3d0b0e}
#wedding-invitation #loading.preload-experience .loading-card{width:min(100%,480px);height:100%;min-height:0;padding:clamp(32px,7svh,66px) clamp(20px,7vw,34px) max(24px,env(safe-area-inset-bottom));margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;overflow:hidden;box-sizing:border-box}
.preload-experience .preload-intro,.preload-experience .preload-middle,.preload-experience .preload-bottom{width:100%;max-width:none;min-height:0;flex:0 1 auto}
.preload-experience .preload-intro{max-width:none}
.preload-experience .preload-eyebrow{font-size:9px;line-height:1.4;margin:0 0 10px}
.preload-experience .preload-title{font-size:clamp(28px,8cqw,36px);line-height:1.12;margin:0}
.preload-experience .loading-message{font-size:12px;line-height:1.45;margin:12px auto 0;min-height:0;max-width:34ch}
.preload-experience[data-entry-choice=true] .loading-message{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.preload-experience .preload-middle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:22px 0 0}
.preload-experience .preload-seal{width:148px;height:74px;flex:0 0 74px;margin:0;display:grid;place-items:center}
.preload-experience .preload-seal .loading-monogram{width:96px;height:auto;max-width:none}
.preload-experience .seal-ring{inset:0 38px}
.preload-experience .preload-progress{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;width:100%;max-width:none;margin:0}
.preload-experience .loading-percent{font:12px/1.4 Arial,sans-serif;min-height:17px;min-width:0;width:100%;margin:0;text-align:center;white-space:nowrap;letter-spacing:0;color:#ebd2a2}
.preload-experience progress{display:block;appearance:none;-webkit-appearance:none;flex:none;width:100%;height:3px;margin:0;border:0;border-radius:2px;background:#d7b66f22;overflow:hidden}
.preload-experience progress::-webkit-progress-bar{background:#d7b66f22}.preload-experience progress::-webkit-progress-value{background:linear-gradient(90deg,#98713c,#e9cf93)}.preload-experience progress::-moz-progress-bar{background:#e9cf93}
.preload-experience .preload-bottom{margin:20px 0 0;max-width:none}
.preload-experience[data-entry-choice=true] .preload-milestones{display:none}
.preload-experience .preload-milestones{gap:16px}
.preload-experience .task-title{font-size:12px;line-height:1.4}.preload-experience .task-count{font-size:11px;line-height:1.4}
.preload-experience .loading-detail{margin:12px 0 0;font-size:11px;line-height:1.4}.preload-experience .loading-retry{margin-top:12px}
.entry-controls{width:100%;margin:0;color:#f1dec0;font:15px/1.4 FarmanSerif,Georgia,serif;text-align:left}
.entry-controls fieldset{border:0;padding:0;margin:0;min-inline-size:0}.entry-controls legend{font-size:14px;line-height:1.4;margin:0 0 8px;padding:0;color:#f1dec0}
.entry-language-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.entry-choice{position:relative;box-sizing:border-box;display:flex;align-items:center;gap:12px;border:1px solid #b38b4d66;border-radius:7px;height:48px;min-height:48px;padding:0 13px;background:#260a1255;cursor:pointer;user-select:none;color:#e5d0b1}
.entry-choice input{position:absolute;width:1px;height:1px;opacity:0}.entry-choice:focus-within{outline:2px solid #efd49c;outline-offset:3px}
.entry-choice.is-selected{border-color:#e3be7b;background:#a06e322e;box-shadow:inset 0 0 0 1px #e3be7b44;color:#f8e9cd}
.selection-check{margin-left:auto;display:grid;place-items:center;width:21px;height:21px;flex:0 0 21px;border:1px solid #caa26366;border-radius:50%;color:transparent;font:14px/1 Arial,sans-serif}
.is-selected>.selection-check{border-color:#e6c383;background:#e6c383;color:#4b1020}
.entry-controls .entry-modes{margin-top:16px}
.entry-mode{margin-top:10px;height:66px;min-height:66px;gap:12px}.entry-mode:first-of-type{margin-top:0}
.entry-mode-icon{display:grid;place-items:center;font:29px/1 Georgia,serif;width:26px;flex:0 0 26px;color:#dab677}
.entry-mode>span:not(.entry-mode-icon):not(.selection-check){min-width:0;flex:1}.entry-mode strong{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:17px;line-height:1.2;font-weight:400}
.entry-mode small{display:block;font-size:12px;line-height:1.35;color:#cfb697;margin-top:5px}
.entry-duration{display:inline-block;flex-shrink:0;white-space:nowrap;font:10px/1.2 Arial,sans-serif;color:#e4c488;padding:3px 6px;border:1px solid #c6a05c44;border-radius:12px;background:#c59b5120;letter-spacing:0}
.entry-go{box-sizing:border-box;display:block;width:100%;border:1px solid #efce92;border-radius:7px;background:linear-gradient(110deg,#d9b77b,#efcd91 55%,#d0aa6d);color:#3e101b;height:48px;min-height:48px;padding:0 18px;margin:16px 0 0;font:19px/1.2 FarmanSerif,Georgia,serif;cursor:pointer;box-shadow:0 3px 16px #1b030933}
.entry-go:focus-visible{outline:2px solid #fff0cb;outline-offset:4px}.entry-go:disabled{opacity:.7;cursor:wait}
.preload-experience[data-entry-confirmed=true] .entry-controls{display:none!important}
html[data-entry-choice=true] #wedding-music-control{display:none!important}
@media(max-height:680px){#wedding-invitation #loading.preload-experience .loading-card{padding:28px clamp(20px,7vw,34px) max(18px,env(safe-area-inset-bottom))}.preload-experience .preload-title{font-size:28px}.preload-experience .preload-eyebrow{font-size:8px;margin-bottom:8px}.preload-experience .preload-middle{margin-top:14px;gap:8px}.preload-experience .preload-seal{height:58px;flex-basis:58px}.preload-experience .seal-ring{inset:0 45px}.preload-experience .preload-bottom{margin-top:14px}.entry-choice{height:44px;min-height:44px}.entry-mode{height:58px;min-height:58px;margin-top:8px}.entry-controls .entry-modes{margin-top:12px}.entry-controls legend{font-size:13px;margin-bottom:6px}.entry-mode strong{font-size:16px}.entry-mode small{font-size:11px;margin-top:4px}.entry-go{height:44px;min-height:44px;margin-top:12px;font-size:18px}}
@media(orientation:landscape) and (max-height:600px){#wedding-invitation #loading.preload-experience .loading-card{width:min(100%,900px);padding:20px max(24px,env(safe-area-inset-right)) 20px max(24px,env(safe-area-inset-left));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:1fr 1fr auto;column-gap:36px;row-gap:10px}.preload-experience .preload-intro{grid-column:1;grid-row:1;align-self:end}.preload-experience .preload-middle{display:contents}.preload-experience .preload-seal{grid-column:1;grid-row:2;justify-self:center;align-self:center}.preload-experience .preload-progress{grid-column:1/-1;grid-row:3}.preload-experience .preload-bottom{grid-column:2;grid-row:1/3;margin:0;align-self:center}.entry-mode{height:54px;min-height:54px}.entry-controls .entry-modes{margin-top:10px}.entry-mode strong{font-size:15px}.entry-duration{font-size:9px}.entry-mode small{font-size:10px}.entry-choice{height:40px;min-height:40px}.entry-go{margin-top:10px}.preload-experience .preload-title{font-size:28px}.preload-experience .preload-milestones{gap:12px}}

@media(max-width:360px){.entry-mode strong{font-size:14px;gap:5px}.entry-mode small{font-size:10.5px}.entry-duration{font-size:9px;padding:3px 5px}}
html[data-entry-choice=true],html[data-entry-choice=true] body,html[data-entry-choice=true] #wedding-invitation{overflow:hidden!important}
@supports selector(:has(*)){#wedding-invitation:has(#loading:not([hidden])){overflow:hidden!important}}

:root{--wedding-frame-width:min(100vw,56.25vh);--wedding-frame-height:min(100vh,177.777778vw);--wedding-frame-top:calc((100vh - var(--wedding-frame-height))/2)}
@supports(height:100svh){:root{--wedding-frame-width:min(100vw,56.25svh);--wedding-frame-height:min(100svh,177.777778vw);--wedding-frame-top:calc((100svh - var(--wedding-frame-height))/2)}}
html,body{height:100%;overflow:hidden!important;overscroll-behavior:none}
#wedding-invitation{overflow:clip!important}
#wedding-invitation .invitation{position:fixed;left:50%;top:var(--wedding-frame-top);transform:translateX(-50%);width:var(--wedding-frame-width);height:var(--wedding-frame-height);min-height:0;margin:0}
#wedding-invitation .opening,#wedding-invitation .stage-pin{height:100%;min-height:0}
#wedding-invitation .stage-pin{position:relative}
#wedding-invitation #stage{width:100%;height:100%;aspect-ratio:9/16}
#wedding-family-viewport,#wedding-venue-viewport{overflow:clip!important;grid-template-rows:none!important;align-items:start!important;padding:var(--wedding-frame-top) 0 0!important}
#wedding-family.wedding-view,#wedding-venue.wedding-view{width:var(--wedding-frame-width);height:var(--wedding-frame-height);min-height:0;max-width:none}
#wedding-invitation #loading.preload-experience{left:50%!important;top:var(--wedding-frame-top)!important;right:auto!important;bottom:auto!important;transform:translateX(-50%);width:var(--wedding-frame-width)!important;height:var(--wedding-frame-height)!important}
/* Short landscape fits the same frame; compact choices retain a single screen. */
@media(orientation:landscape) and (max-height:600px){
 #wedding-invitation #loading.preload-experience .loading-card{display:flex;width:100%;padding:8px 12px;gap:0}
 .preload-experience .preload-title{font-size:17px}.preload-experience .preload-eyebrow{font-size:6px;margin-bottom:4px}
 .preload-experience .preload-middle{display:flex;margin-top:6px;gap:4px}.preload-experience .preload-seal{height:28px;flex-basis:28px}.preload-experience .preload-seal .loading-monogram{width:52px}
 .preload-experience .loading-percent{font-size:8px;min-height:10px}.preload-experience .preload-progress{gap:4px}.preload-experience .preload-bottom{margin-top:6px}
 .entry-controls legend{font-size:9px;margin-bottom:3px}.entry-controls .entry-modes{margin-top:6px}.entry-choice{height:25px;min-height:25px;padding:0 5px;gap:5px;font-size:10px}.selection-check{width:13px;height:13px;flex-basis:13px;font-size:9px}
 .entry-mode{height:36px;min-height:36px;margin-top:4px}.entry-mode-icon{width:14px;flex-basis:14px;font-size:18px}.entry-mode strong{font-size:10px;gap:3px}.entry-mode small{font-size:7px;margin-top:2px}.entry-duration{font-size:6px;padding:1px 3px}.entry-go{height:27px;min-height:27px;margin-top:6px;font-size:13px}
}

/* Keep useful touch targets when a landscape phone has room for them. */
@media(orientation:landscape) and (min-height:360px) and (max-height:600px){.entry-choice{height:44px;min-height:44px}.entry-mode{height:48px;min-height:48px}.entry-go{height:44px;min-height:44px}}

/* Keep the name first and its memorial acknowledgment quietly inline. */
:is(.farman-elders,.grandparents-names) .honoree-name{font-weight:inherit}
:is(.farman-elders,.grandparents-names) .memorial-note{display:inline;font-size:.68em;font-weight:400;font-style:normal;line-height:1;white-space:nowrap}
