/* Guest and studio share the same finished design system. */
.mobile-invitation[data-font=sans]{--display:'Noto Sans KR',Arial,sans-serif}
.mobile-invitation[data-font=batang]{--display:'Gowun Batang',Georgia,serif}
.mobile-invitation[data-font=rounded]{--display:'Gowun Dodum',Arial,sans-serif}
.mobile-invitation[data-font=handwritten]{--display:'Gaegu',cursive}
.mobile-invitation{--display:'Cormorant Garamond',Georgia,'Nanum Myeongjo',serif;--section-space:88px;--gutter:32px;isolation:isolate;font-size:15px;line-height:1.9;letter-spacing:0}
.mobile-invitation[data-spacing=compact]{--section-space:60px;--gutter:26px}
.mobile-invitation h1,.mobile-invitation h2,.mobile-invitation .eyebrow,.mobile-invitation .section-label,.mobile-invitation .cover-names,.mobile-invitation .cover-names span,.mobile-invitation .couple-signature,.mobile-invitation .date-detail strong,.mobile-invitation .brand-credit{letter-spacing:0;padding-left:0}
.mobile-invitation h1{font:500 48px/1.08 var(--display);max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
.mobile-invitation .cover h1{word-break:keep-all;line-height:1.35}
.mobile-invitation .cover :is(.cover-heading,.album-caption,.cover-details){min-width:0}
.mobile-invitation[data-theme] .cover[data-style=fullbleed]{height:auto;min-height:min(var(--cover-viewport-height,92svh),840px);max-height:none}
.mobile-invitation[data-theme] .cover-full .cover-heading h1{font-size:clamp(34px,9vw,58px)}
.mobile-invitation[data-theme=classic] .invitation-section .section-label{font-family:Georgia,serif}
.mobile-invitation[data-theme=garden] .cover-album{border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);margin:16px}
.mobile-invitation[data-theme=garden] .section-label::before{content:'❧';display:block;font:30px Georgia,serif;margin-bottom:10px}
.mobile-invitation[data-theme=romance] .invitation-section h2{font-style:italic;color:var(--accent)}
.mobile-invitation[data-theme=romance] .invitation-section:nth-of-type(even){background:color-mix(in srgb,var(--accent) 4%,var(--bg))}
.mobile-invitation[data-theme=editorial] .section-label{display:block;text-align:left;font-weight:700}
.mobile-invitation[data-theme=editorial] .invitation-section>h2{text-align:left;font-weight:600;font-size:26px}
.mobile-invitation[data-theme=editorial] .invitation-section+.invitation-section{border-top:2px solid var(--ink)}
.mobile-invitation[data-theme=night] .invitation-section>h2{color:var(--accent)}
.mobile-invitation[data-theme=night] .section-label{letter-spacing:.12em}
.mobile-invitation[data-theme=letter] .copy{text-align:left}
.mobile-invitation[data-theme=letter] .invitation-section{border-top:0}
.mobile-invitation[data-theme=modern] .section-label{display:block;text-align:left;border-bottom:1px solid var(--ink);padding-bottom:12px}
.mobile-invitation[data-theme=modern] .section-label::after{display:none}
.mobile-invitation[data-theme=modern] .invitation-section>h2{text-align:left;font-size:28px}
.mobile-invitation[data-theme=bloom] .invitation-section>h2{color:var(--accent)}
.mobile-invitation[data-theme=bloom] .section-label::before{content:'✿';display:block;font-size:22px;margin-bottom:12px}
.mobile-invitation[data-theme=coast] .invitation-section{border-top-style:dashed}
.mobile-invitation[data-theme=coast] .section-label{letter-spacing:.08em}
.mobile-invitation[data-theme=cinema] .invitation-section>h2{font-family:var(--display);font-size:28px}
.mobile-invitation[data-theme=cinema] .section-label{border:1px solid color-mix(in srgb,var(--accent) 50%,transparent);padding:6px 12px}
.mobile-invitation[data-theme=cinema] .invite-footer>p:first-of-type{font-style:italic}
.mobile-invitation h2{font-family:inherit;font-size:22px;font-weight:400;line-height:1.65;text-wrap:balance;margin:14px 0 34px}
.mobile-invitation .eyebrow,.mobile-invitation .section-label{font:500 11px/1.5 'Noto Sans KR',Arial,sans-serif;color:var(--accent)}
.mobile-invitation .section-label::after{width:22px;height:1px;margin:16px auto 0;background:currentColor;opacity:.45}
.mobile-invitation .invitation-section{padding:var(--section-space) var(--gutter);background:var(--bg)}
.mobile-invitation .invitation-section+.invitation-section{border-top:1px solid color-mix(in srgb,var(--accent) 15%,transparent)}
.mobile-invitation .invitation-section .copy{max-width:32ch;margin:auto;font-size:15px;line-height:2.3;word-break:keep-all;overflow-wrap:anywhere}
.mobile-invitation .couple-signature{font-size:14px;line-height:1.9;margin-top:36px!important}
.mobile-invitation .cover{gap:22px;min-height:0}
.mobile-invitation .cover-names{gap:14px;font-size:20px;line-height:1.7;min-width:0}
.mobile-invitation .cover-names span{overflow-wrap:anywhere;word-break:normal}
.mobile-invitation .cover-names i{width:18px;height:1px}
.mobile-invitation .cover .cover-photo{object-position:var(--photo-x,50%) var(--photo-y,40%)!important;object-fit:cover}
.mobile-invitation .cover.cover-album{padding:36px 28px 40px;gap:16px}
.mobile-invitation .cover-album .eyebrow{font-size:10px}
.mobile-invitation .cover-album .cover-names{margin-bottom:12px}
.mobile-invitation .cover-album .cover-names i{width:auto;height:auto;background:none;font-size:0}
.mobile-invitation .cover-album .cover-names i::after{content:'and';font:italic 19px var(--display)}
.mobile-invitation .cover.cover-album .cover-photo{width:100%;height:auto!important;max-height:none;aspect-ratio:3/4;object-fit:cover;border-radius:0}
.mobile-invitation .album-caption{width:100%;display:grid;gap:16px;padding-top:14px}
.mobile-invitation .album-caption h1{font-size:37px;margin:0 auto;color:var(--accent)}
.mobile-invitation .cover-title-placement{width:100%;padding:16px var(--gutter);color:var(--accent)}
.mobile-invitation>.cover-title-placement{padding-block:36px}
.mobile-invitation .cover-title-placement h1{font-size:clamp(28px,9vw,48px);margin:0 auto}
.mobile-invitation .cover-date{font-size:13px;line-height:1.9;letter-spacing:0}
.mobile-invitation .cover-venue{font-size:13px;line-height:1.8;opacity:1;max-width:100%;overflow-wrap:anywhere}
.mobile-invitation[data-theme=garden] .cover-album .cover-photo{border-radius:48% 48% 0 0}
.mobile-invitation[data-theme=romance] .cover-album .cover-photo{border-radius:48%}
.mobile-invitation[data-theme=romance] .album-caption h1{font-style:italic}
.mobile-invitation .cover.cover-full,.mobile-invitation .cover[data-style=fullbleed]{min-height:680px;height:var(--cover-viewport-height,92svh);max-height:840px;padding:42px 28px 32px;justify-content:flex-end;overflow:hidden}
.mobile-invitation .cover.cover-full .cover-photo,.mobile-invitation .cover[data-style=fullbleed] .cover-photo{position:absolute;inset:0;width:100%;height:100%!important;max-height:none;aspect-ratio:auto;object-fit:cover;border-radius:0}
.mobile-invitation .cover[data-style=fullbleed]::after{inset:0;background:#0004}
.mobile-invitation[data-shape=rectangle] .cover:not([data-style=fullbleed]) .cover-photo{border-radius:0!important}
.mobile-invitation[data-shape=arch] .cover:not([data-style=fullbleed]) .cover-photo{border-radius:48% 48% 0 0!important}
.mobile-invitation[data-shape=oval] .cover:not([data-style=fullbleed]) .cover-photo{border-radius:50%!important}
.mobile-invitation .cover.cover-full .cover-heading{position:relative;top:auto;left:auto;right:auto;z-index:1;display:grid;gap:12px;width:100%;margin-top:auto;margin-bottom:24px}
.mobile-invitation .cover-full .cover-heading h1{font-size:58px;color:#fff;margin:auto;max-width:100%;text-shadow:0 1px 10px #0006}
.mobile-invitation .cover-full .cover-heading .eyebrow{color:#fff;font-size:10px}
.mobile-invitation .cover-details{display:grid;gap:18px;width:100%;color:white;position:relative;z-index:1}
.mobile-invitation .cover-full .cover-venue{padding-bottom:0}
.mobile-invitation .cover-full .cover-names{font-size:23px}
.mobile-invitation .cover-full .cover-names i{color:white}
.mobile-invitation .cover-full.night-opening .cover-heading h1{font-style:italic}
.mobile-invitation .cover-full.night-opening::after{background:#0006}
.mobile-invitation .story-opening .story-caption{padding:32px var(--gutter);gap:20px}
.mobile-invitation .cover.story-opening .cover-photo{aspect-ratio:4/5;max-height:none;height:auto!important;object-fit:cover}
.mobile-invitation .story-caption h1{font-size:38px}
.mobile-invitation .cover.magazine-opening h1{font-size:54px}
.mobile-invitation .cover.magazine-opening .cover-photo,.mobile-invitation .cover.bloom-opening .cover-photo,.mobile-invitation .cover.coast-opening .cover-photo{object-position:var(--photo-x,50%) var(--photo-y,40%)!important}
.mobile-invitation .cover.bloom-opening{padding:42px 30px;gap:22px}
.mobile-invitation .cover.bloom-opening .cover-photo{outline-offset:6px;border-radius:48% 48% 0 0}
.mobile-invitation .cover.coast-opening .cover-photo{width:100%;aspect-ratio:4/5;max-height:none}
.mobile-invitation .cover.letter-opening{padding:64px 36px 30px;gap:24px}
.mobile-invitation .letter-opening h1{font-size:46px}
.mobile-invitation[data-theme=letter] [data-section=invitation]{padding-top:32px;padding-bottom:80px}
.mobile-invitation[data-photo-fit=contain] .cover .cover-photo{object-fit:contain!important;background:var(--bg)}
.mobile-invitation[data-photo-fit=contain] .cover[data-style=fullbleed] .cover-photo{background:#232323}
.mobile-invitation .date-detail{font-size:13px;line-height:1.9}
.mobile-invitation .date-detail strong{font:500 36px/1.3 var(--display);margin-bottom:8px}
.mobile-invitation .calendar{max-width:300px;padding:22px 0;margin:30px auto;gap:7px 3px;font:14px/2.2 'Noto Sans KR',Arial,sans-serif}
.mobile-invitation .calendar .weekday{font-size:11px}
.mobile-invitation .calendar .wedding-day{width:32px;height:32px;line-height:32px;font-weight:500}
.mobile-invitation .countdown-clock{gap:0;max-width:290px;margin:30px auto 14px;justify-content:space-between}
.mobile-invitation .countdown-clock>div{flex:1;min-width:0;border-right:1px solid color-mix(in srgb,var(--accent) 22%,transparent)}
.mobile-invitation .countdown-clock>div:last-child{border:0}
.mobile-invitation .countdown-clock strong{font-size:31px;order:-1}
.mobile-invitation .countdown-clock span{font:10px/1.6 Arial,sans-serif;letter-spacing:0;padding:0}
.mobile-invitation .countdown{font-size:12px;line-height:1.8}
.mobile-invitation [data-section=gallery]{padding-left:20px;padding-right:20px}
.mobile-invitation .gallery{gap:7px;margin:0;align-items:start}
.mobile-invitation .gallery>button{border-radius:0;min-width:0;overflow:hidden;background:transparent;line-height:0}
.mobile-invitation .gallery img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;display:block;background:var(--bg)}
.mobile-invitation .gallery[data-style=grid]>button:first-child{grid-column:1/-1}
.mobile-invitation .gallery[data-style=grid]>button:first-child img{aspect-ratio:auto}
.mobile-invitation .gallery[data-style=film]{gap:12px;scrollbar-width:thin;scrollbar-color:var(--accent) transparent}
.mobile-invitation .gallery[data-style=film],.mobile-invitation .gallery[data-style=carousel]{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
.mobile-invitation .gallery[data-style=film]>button{flex:0 0 84%}
.mobile-invitation .gallery[data-style=film] img,.mobile-invitation .gallery[data-style=carousel] img{aspect-ratio:3/4}




.mobile-invitation .gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 0;font:12px Arial,sans-serif}
.mobile-invitation .gallery-navigation button{width:40px;height:40px;display:grid;place-items:center;background:transparent;color:var(--ink);border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);border-radius:50%;cursor:pointer;padding:10px}
.mobile-invitation .gallery-navigation svg{width:18px;height:18px}
.mobile-invitation .venue-heading{display:grid;justify-items:center;gap:12px}
.mobile-invitation .venue-heading>svg{width:22px;height:22px;stroke-width:1;color:var(--accent)}
.mobile-invitation .venue-name{font-size:20px;margin:0!important}
.mobile-invitation .venue-address{font:13px/1.9 'Noto Sans KR',Arial,sans-serif}
.mobile-invitation .map-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:28px 0 0}
.mobile-invitation .map-links a,.mobile-invitation .map-links button{display:flex;gap:7px;border-radius:4px;padding:12px 8px;font-size:12px;min-height:46px;line-height:1.5}
.mobile-invitation .map-links>*{min-width:0}
.mobile-invitation .navigation-help,.mobile-invitation .navigation-status{font:12px/1.8 Arial,'Noto Sans KR',sans-serif;color:var(--ink);opacity:.75;overflow-wrap:anywhere;margin:12px 0 0;text-align:left}
.mobile-invitation .navigation-status:empty{display:none}
.mobile-invitation .map-links svg{width:15px;height:15px;stroke-width:1.5;flex-shrink:0}
.mobile-invitation .transport-block{text-align:left;border-top:1px solid color-mix(in srgb,var(--accent) 20%,transparent);margin-top:30px;padding-top:26px}
.mobile-invitation .transport-block h3{font:500 13px/1.6 'Noto Sans KR',Arial,sans-serif;color:var(--accent);margin-bottom:12px}
.mobile-invitation .transport-block .transport{border:0;padding:0;margin:0!important;font-size:13px;line-height:2;white-space:pre-line}
.mobile-invitation .venue-map{margin-top:28px;border:1px solid color-mix(in srgb,var(--accent) 20%,transparent);border-radius:8px;overflow:hidden}
.venue-map iframe{display:block;width:100%;height:240px;border:0}
.venue-map>a{display:block;padding:8px 12px;font:12px/1.8 Arial,sans-serif;background:var(--bg,#fff);color:var(--ink,#30332f)}
.mobile-invitation .event-guide{margin-top:30px;padding-top:26px;border-top:1px solid color-mix(in srgb,var(--accent) 20%,transparent);text-align:left}
.mobile-invitation .event-guide h3{font-family:inherit;font-size:16px;font-weight:500;line-height:1.6;color:var(--accent);margin-bottom:20px}
.mobile-invitation .event-guide dl{margin:0}
.mobile-invitation .event-guide dl>div+div{margin-top:20px}
.mobile-invitation .event-guide dt{font-size:13px;font-weight:600;margin-bottom:7px}
.mobile-invitation .event-guide dd{margin:0!important;padding:0;border:0;font-size:13px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
.mobile-invitation .privacy-note{font-size:11px;line-height:1.9;margin-top:18px!important}
.mobile-invitation .submit-button{font-size:14px;letter-spacing:0;border-radius:4px;min-height:48px}
.mobile-invitation .guest-message{border-radius:4px;padding:18px;background:color-mix(in srgb,var(--accent) 6%,var(--bg))}
.mobile-invitation .invite-footer{padding:0 0 30px;border-top:1px solid color-mix(in srgb,var(--accent) 15%,transparent)}
.mobile-invitation .invite-footer>p{padding:0 28px;font-size:13px;line-height:2}
.mobile-invitation .invite-footer>p:first-of-type{padding-top:44px}
.mobile-invitation .closing-portrait{margin:0;position:relative}
.mobile-invitation .closing-portrait img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center}
.mobile-invitation .closing-portrait figcaption{position:absolute;left:16px;right:16px;bottom:24px;color:white;font:italic 36px/1.2 var(--display);text-shadow:0 1px 8px #0009;overflow-wrap:anywhere}
.mobile-invitation .brand-credit{font:500 10px/1.8 Arial,sans-serif!important;opacity:.6;margin-top:32px!important}
.mobile-invitation:is([data-theme=editorial],[data-theme=modern]) .invitation-section{text-align:left}
.mobile-invitation:is([data-theme=editorial],[data-theme=modern]) .section-label::after{margin-left:0}
.mobile-invitation:is([data-theme=editorial],[data-theme=modern]) .invitation-section .copy{margin-left:0}
.mobile-invitation:is([data-theme=editorial],[data-theme=modern]) .venue-heading{justify-items:start}
.mobile-invitation:is([data-theme=editorial],[data-theme=modern]) .calendar{margin-left:0}
.mobile-invitation:is([data-theme=editorial],[data-theme=modern]) .countdown-clock{margin-left:0}
.mobile-invitation:is([data-theme=garden],[data-theme=romance],[data-theme=bloom]) [data-section=invitation]{background:color-mix(in srgb,var(--accent) 5%,var(--bg))}
.mobile-invitation[data-theme=coast] [data-section=calendar]{background:color-mix(in srgb,var(--accent) 6%,var(--bg))}
.mobile-invitation[data-theme=night] .invitation-section,.mobile-invitation[data-theme=cinema] .invitation-section{border-top-color:color-mix(in srgb,var(--ink) 18%,transparent)}
.invitation-viewer{box-sizing:border-box;position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;background:#101010;color:#fff;border:0;border-radius:0;overflow:hidden}
.invitation-viewer::backdrop{background:#101010}
.viewer-count{position:absolute;left:50%;top:calc(100vh - 60px);top:calc(100svh - max(60px,calc(env(safe-area-inset-bottom) + 40px)));transform:translateX(-50%);z-index:3;padding:7px 13px;background:#0008;border-radius:20px;text-shadow:0 1px 4px #000;font:13px/1.5 Arial,sans-serif;font-variant-numeric:tabular-nums;pointer-events:none;opacity:0;transition:opacity .22s ease}
.viewer-count.is-visible{opacity:1}
.viewer-stage{position:absolute;inset:0;width:100%;height:100%;display:block;overscroll-behavior:contain}
.viewer-track{display:flex;width:100%;height:100%;transform:translate3d(-100%,0,0);will-change:transform}.viewer-slide{position:relative;flex:0 0 100%;width:100%;height:100%;min-width:0;overflow:hidden}
.viewer-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;touch-action:pan-y;user-select:none}
.invitation-viewer .viewer-stage,.guest-page .viewer-stage .photo-touch-shield{touch-action:pan-y}
.viewer-swipe-hint{position:absolute;top:calc(100vh - 200px);top:calc(100svh - 200px);left:50%;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:9px;padding:14px 20px;border-radius:18px;background:#0009;color:white;font:12px/1.6 Arial,sans-serif;white-space:nowrap;pointer-events:none}
.viewer-swipe-hint[hidden]{display:none}
.viewer-swipe-hand{display:block;animation:viewer-swipe-demo 1.4s ease-in-out 2}
.invitation-viewer .viewer-swipe-hand svg{width:28px;height:28px}
@keyframes viewer-swipe-demo{0%,100%{transform:translateX(20px);opacity:.5}25%{opacity:1}70%{transform:translateX(-20px);opacity:1}}
@media(prefers-reduced-motion:reduce){.viewer-swipe-hand{animation:none}.viewer-count{transition:none}}
/* Keep native scrolling and gallery swipes while suppressing page zoom gestures. */
.guest-document,.guest-page,.guest-page .gallery,.guest-page .viewer-stage img{touch-action:pan-x pan-y}
.guest-page :is(.cover-photo,.gallery [data-lightbox],.closing-portrait img,.invitation-viewer .viewer-stage img){
  -webkit-touch-callout:none;
  -webkit-user-drag:none;
}
.guest-page :is(.cover,.gallery [data-lightbox],.closing-portrait,.viewer-stage,.photo-touch-shield,.protected-guest-photo){-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
.guest-page .protected-guest-photo{pointer-events:none!important;-webkit-user-drag:none!important}
.photo-touch-host{position:relative}
.guest-page .photo-touch-shield{position:absolute!important;display:block;z-index:0!important;background:transparent;pointer-events:auto;touch-action:pan-x pan-y;-webkit-tap-highlight-color:transparent}
.photo-touch-shield[hidden]{display:none}
.invitation-viewer button{width:44px;height:44px;padding:10px;border:1px solid #ffffff40;border-radius:50%;background:#10101099;color:#fff;display:grid;place-items:center;cursor:pointer;flex-shrink:0;box-shadow:0 1px 8px #0004}
.invitation-viewer button[hidden]{display:none}
.invitation-viewer button:focus-visible{outline:2px solid white;outline-offset:3px}
.invitation-viewer svg{width:20px;height:20px}
@media(max-width:370px){.mobile-invitation{--gutter:24px;--section-space:72px}.mobile-invitation .cover.cover-album{padding:30px 24px 36px}.mobile-invitation .album-caption h1{font-size:33px}.mobile-invitation .cover-full .cover-heading h1{font-size:48px}.mobile-invitation .cover-full .cover-names{font-size:20px}.mobile-invitation .date-detail strong{font-size:31px}.viewer-stage button{width:36px;height:36px;padding:7px}}
@media(prefers-reduced-motion:reduce){.mobile-invitation .reveal{opacity:1!important;transform:none!important;transition:none!important}}
.account-intro{font-size:14px;line-height:1.9;margin-bottom:24px!important}.account-list{text-align:left}.account-item{border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);margin:10px 0;border-radius:8px}.account-item summary{padding:16px;cursor:pointer;font-size:14px}.account-item>div{padding:0 16px 16px;font-size:14px}.account-number{letter-spacing:.05em;margin:8px 0!important}.account-item button{border:1px solid color-mix(in srgb,var(--accent) 40%,transparent);background:transparent;color:inherit;padding:9px 14px;border-radius:5px;cursor:pointer}.account-item [role=status]{display:block;font-size:12px;margin-top:7px}
.mobile-invitation{position:relative}
.invitation-music{position:absolute;top:max(12px,env(safe-area-inset-top));right:14px;z-index:20;max-width:220px;text-align:right}
.invitation-music button{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;background:var(--bg);color:var(--ink);border:1px solid var(--accent);border-radius:50%;box-shadow:0 3px 12px #0002;cursor:pointer}
.invitation-music button svg{width:21px;height:21px;pointer-events:none}
.invitation-music button[aria-pressed=true] .music-muted-mark{display:none}
.invitation-music [role=status]{display:block;background:var(--bg);color:var(--ink);font-size:12px}.invitation-music [role=status]:empty{display:none}
