/* v3 (2026-09 3차 제작의뢰): 흰 배경 · 그레이 본문 · 핑크 강조 · 고딕체. 구조는 v2와 같다. */
:root{color-scheme:light;--ink:#333;--muted:#8c8c8c;--line:#ebe6e3;--soft:#f7f5f2;--accent:#d98a92;--accent-dark:#c9757f;--danger:#a94848;font-family:"Pretendard Variable",Pretendard,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-synthesis:none}*{box-sizing:border-box}html{background:#fff;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:#fff;color:var(--ink)}button,input,textarea{font:inherit;color:inherit}button,label{touch-action:manipulation}[hidden]{display:none!important}button:focus-visible,input:focus-visible,textarea:focus-visible,label:has(input:focus-visible){outline:2px solid #d98a92;outline-offset:3px}.app-shell{width:min(100%,560px);margin:auto;padding:0 18px}.hero{text-align:center;padding:20px 4px 34px}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:38px}.brand{font:500 19px/1 "Pretendard Variable",Pretendard,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;letter-spacing:-.04em}.brand i{font-weight:400;color:var(--accent);font-style:italic}.event-chip{font-size:9px;letter-spacing:.16em;color:var(--muted);border:1px solid var(--line);padding:7px 10px;border-radius:99px}.wedding-mark{position:relative;width:88px;height:64px;margin:28px auto 20px;border:1px solid #e6c9c6;border-bottom:0;border-radius:48px 48px 0 0;background:linear-gradient(#fff0,#fff),radial-gradient(circle at 50% 60%,#fbf1f1 0 1px,transparent 2px);background-size:auto,12px 12px}.wedding-mark:before,.wedding-mark:after{content:"";position:absolute;bottom:-4px;width:31px;height:1px;background:#e6c9c6}.wedding-mark:before{left:8px;transform:rotate(-8deg)}.wedding-mark:after{right:8px;transform:rotate(8deg)}.wedding-mark span{position:absolute;left:50%;bottom:15px;width:15px;height:15px;background:#e8a9ae;transform:translateX(-50%) rotate(45deg);border-radius:4px 0 4px 0}.wedding-mark span:before,.wedding-mark span:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#e8a9ae}.wedding-mark span:before{left:-8px}.wedding-mark span:after{top:-8px}.eyebrow{margin:0 0 11px;color:var(--accent);font:600 9px/1.4 ui-sans-serif,sans-serif;letter-spacing:.22em}.hero h1{margin:0;font:400 clamp(30px,9vw,42px)/1.2 "Pretendard Variable",Pretendard,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;letter-spacing:-.055em}.event-title{margin:12px 0 0;font:500 13px/1.5 "Pretendard Variable",Pretendard,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#50524d}.event-subtitle{margin:8px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}.upload-card{border-top:1px solid var(--line);padding:22px 0 16px}.guest-row{display:flex;align-items:center;gap:13px;margin-bottom:15px}.guest-row label{font-size:12px;font-weight:650;white-space:nowrap}.guest-row input{width:100%;height:42px;border:1px solid var(--line);border-radius:16px;background:var(--soft);padding:0 14px;font-size:13px;outline:0}.guest-row input::placeholder,.message-field textarea::placeholder{color:#a2a59f}.upload-note{font-size:10px;color:var(--muted);margin:0 0 12px}.upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.round-action{min-height:51px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e6dfda;border-radius:22px;background:#fff;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s}.round-action:active{transform:scale(.98);background:var(--soft)}.round-action span{font-size:20px;font-weight:300;line-height:1}.round-action strong{font-size:13px;font-weight:650}.selection{margin-top:14px;padding:12px;border-radius:18px;background:var(--soft)}.selection-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.selection-head strong{font-size:11px}.selection-head button{border:0;background:transparent;color:var(--muted);font-size:11px;padding:4px}.preview-list{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.preview-list::-webkit-scrollbar{display:none}.preview{width:58px;height:58px;flex:0 0 auto;border-radius:15px;object-fit:cover;background:#e9ebe7}.preview-file{display:grid;place-items:center;padding:5px;text-align:center;font-size:8px;line-height:1.25;color:var(--muted);word-break:break-all}.message-field{display:block;margin:15px 0 12px}.message-field>span{display:flex;align-items:center;gap:5px;margin-bottom:7px;font-size:11px;font-weight:650}.message-field small{font-size:9px;font-weight:400;color:var(--muted)}.message-field textarea{display:block;width:100%;border:1px solid var(--line);border-radius:18px;background:var(--soft);padding:12px 14px;resize:none;outline:0;font-size:13px;line-height:1.5}.primary,.secondary{width:100%;min-height:50px;border-radius:22px;cursor:pointer;font-weight:650;font-size:13px}.primary{border:0;background:var(--ink);color:#fff}.primary:disabled{opacity:.28;cursor:not-allowed}.secondary{border:1px solid var(--line);background:#fff}.progress{height:3px;margin-top:12px;border-radius:99px;background:var(--line);overflow:hidden}.progress span{display:block;height:100%;width:0;background:var(--accent);transition:width .2s}.status{min-height:20px;margin:9px 0 0;text-align:center;color:var(--accent-dark);font-size:11px;line-height:1.6}.status.error{color:var(--danger)}.gallery-section{padding:28px 0 36px}.gallery-summary{display:flex;align-items:center;gap:10px;margin-bottom:14px}.couple-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#e2a3a9;color:#fff;font:650 10px/1 sans-serif}.gallery-summary>div{min-width:0}.gallery-summary h2{margin:0;font-size:14px;line-height:1.3}.gallery-summary p{margin:3px 0 0;color:var(--muted);font-size:10px}.gallery-summary p strong{font-weight:650;color:#686b65}.gallery-summary button{margin-left:auto;width:37px;height:37px;border:0;border-radius:50%;background:var(--soft);color:var(--muted);font-size:20px;cursor:pointer}.gallery-toolbar{display:flex;gap:7px;margin-bottom:12px}.gallery-toolbar span{padding:8px 13px;border-radius:99px;background:var(--soft);color:var(--muted);font-size:10px}.gallery-toolbar .active{background:#fbeeee;color:var(--accent-dark);font-weight:700}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.gallery-item{position:relative;width:100%;aspect-ratio:1;border:0;padding:0;border-radius:19px;background:#eceeeb;overflow:hidden;cursor:pointer}.gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .3s,transform .2s}.gallery-item:active img{transform:scale(.98)}.gallery-item img[data-loading]{opacity:0}.gallery-item span{position:absolute;left:6px;bottom:6px;max-width:calc(100% - 12px);padding:4px 7px;border-radius:99px;background:#181916a8;color:#fff;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;backdrop-filter:blur(5px)}.empty{text-align:center;color:var(--muted);font-size:11px;padding:42px 0}.gallery-section>.secondary{margin-top:14px}.private-note{grid-column:1/-1;margin:0;padding:28px 20px;border-radius:20px;background:var(--soft);color:var(--muted);text-align:center;font-size:11px;line-height:1.7}dialog{width:min(calc(100% - 22px),650px);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#171815;color:#fff;box-shadow:0 24px 70px #0007;overflow:hidden}dialog::backdrop{background:#111a;backdrop-filter:blur(5px)}dialog img{display:block;width:100%;max-width:100%;max-height:72dvh;object-fit:contain;background:#0d0e0c}.dialog-close{position:absolute;right:9px;top:9px;width:40px;height:40px;border:0;border-radius:50%;background:#1119;color:#fff;font-size:25px;cursor:pointer}.dialog-meta{padding:14px 16px 18px;font-size:12px}.dialog-meta p{margin:5px 0 0;color:#d5d7d1}.dialog-meta a{display:grid;place-items:center;margin-top:13px;color:#fff;text-decoration:none;border-color:#ffffff3d}footer{text-align:center;padding:18px 20px max(34px,env(safe-area-inset-bottom));color:#a0a39d;font:9px/1.5 sans-serif;letter-spacing:.05em}@media(min-width:600px){.app-shell{padding-inline:24px}.hero{padding-top:30px}.gallery{gap:9px}.gallery-item{border-radius:24px}}
.brand{display:flex;align-items:baseline;gap:9px;font-weight:300;font-size:21px;letter-spacing:-.05em}
.brand small{color:var(--muted);font-size:8px;font-weight:500;letter-spacing:.2em}
.event-chip{border-color:#e6c9c6;color:#a98a80}
.hero h1{font-weight:300;letter-spacing:-.04em;color:#3a3a3a}
.event-title{font-weight:400;font-size:15px;color:#555}
.round-action:first-child{border-color:#f3d5d6;background:#fff3f3;color:#c9757f}
.round-action:active{background:#fbeeee}
.primary{background:#e3b3b3;color:#fff;letter-spacing:.02em}
.primary:not(:disabled){background:var(--accent)}
.primary:disabled{opacity:1}
.gallery-toolbar .active{color:var(--accent-dark)}
