.guest-photos-section{background:var(--pink-surface,#fbe7ef);padding:62px 24px;scroll-margin-top:64px}
.guest-photos-intro{font-size:13px;line-height:1.9;word-break:keep-all;color:var(--muted);margin:18px 0 24px}
.guest-photos-policy{font-size:11px;line-height:1.9;word-break:keep-all;color:var(--muted);margin:14px 0 30px}
.guest-photos-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font-size:11px;line-height:1.7;margin-bottom:12px}
.guest-photos-toolbar p{margin:0;flex:1;color:var(--muted)}
.guest-photos-toolbar button{flex-shrink:0;min-height:44px;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;color:var(--green);padding:8px 0}
.guest-photos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;text-align:left}
.guest-photo-card{margin:0;min-width:0}
.guest-photo-card button{width:100%;aspect-ratio:4/5;padding:0;display:block;overflow:hidden;border:0;border-radius:4px;background:var(--pink-selected,#f2cedd)}
.guest-photo-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease-out}
.guest-photo-card button:hover img{transform:scale(1.035)}
.guest-photo-card figcaption{font-size:11px;line-height:1.7;margin-top:8px;overflow-wrap:anywhere;color:var(--ink)}
.guest-photo-card figcaption strong{display:block;font-weight:600}
.guest-photo-card figcaption span{display:block;color:var(--muted);margin-top:2px}
.guest-photos-empty{padding:28px 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-family:"Gowun Batang",serif;font-size:14px;line-height:2;color:var(--muted);margin:0}
#guest-photos-more{margin:22px auto 0}
.guest-photo-upload-dialog h2{padding-right:30px;word-break:keep-all}
.guest-photo-upload-dialog form>label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;margin:20px 0 8px}
.guest-photo-upload-dialog form>label span{font-size:10px;color:var(--muted);font-weight:400}
.guest-photo-upload-dialog input[type=text],.guest-photo-upload-dialog textarea{display:block;width:100%;padding:12px;min-height:44px;font-size:16px;border:1px solid var(--pink-outline,#9e6c80);border-radius:5px;background:var(--white);color:var(--ink)}
.guest-photo-upload-dialog textarea{resize:vertical;min-height:72px}
.guest-photo-upload-dialog input[type=file]{width:100%;max-width:100%;font-size:12px;line-height:1.8;color:var(--muted);padding:9px 0;min-height:44px}
.guest-photo-upload-dialog input[type=file]::file-selector-button{background:var(--white);color:var(--green);border:1px solid var(--pink-outline,#9e6c80);border-radius:5px;padding:11px 15px;margin-right:9px;font:inherit;cursor:pointer}
.photo-upload-help{font-size:11px;line-height:1.8;color:var(--muted);margin:6px 0 12px;word-break:keep-all}
.guest-photo-queue{list-style:none;padding:0;margin:12px 0}
.guest-photo-queue li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);min-width:0}
.guest-photo-queue img{width:52px;height:60px;object-fit:cover;background:var(--pink-selected,#f2cedd);border-radius:3px;flex-shrink:0}
.guest-photo-queue .photo-file-copy{min-width:0;flex:1}
.guest-photo-queue strong{font-size:11px;line-height:1.6;display:block;overflow-wrap:anywhere}
.guest-photo-queue span{display:block;font-size:10px;line-height:1.7;color:var(--muted);margin-top:3px}
.guest-photo-queue .photo-file-error{color:#914451}
.photo-upload-consent{padding:14px 0 16px;margin-top:18px;border-top:1px solid var(--line);font-size:11px;line-height:1.9;color:var(--muted)}
.photo-upload-consent p{margin:0 0 10px;word-break:keep-all}
.photo-upload-consent label{display:flex;align-items:flex-start;gap:9px;color:var(--ink);font-weight:600;min-height:44px;padding:8px 0;cursor:pointer}
.photo-upload-consent input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green);margin-top:2px}
#guest-photo-progress{width:100%;height:8px;accent-color:var(--green);border:0;border-radius:4px;background:var(--pink-selected,#f2cedd);overflow:hidden}
#guest-photo-progress::-webkit-progress-bar{background:var(--pink-selected,#f2cedd)}
#guest-photo-progress::-webkit-progress-value{background:var(--green)}
#guest-photo-progress::-moz-progress-bar{background:var(--green)}
#guest-photo-progress-text{font-size:12px;line-height:1.7;color:var(--green);margin:8px 0 16px}
#guest-photo-upload-done{width:100%;margin-top:12px}
.guest-photo-view-dialog{background:#4f303b;color:#fffafd}
#guest-photo-view-close{position:absolute;right:12px;top:12px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:#fffafd;color:#583c48;z-index:2}
#guest-photo-view-image{display:block;max-width:100%;width:auto;height:auto;max-height:67svh;margin:auto;object-fit:contain}
#guest-photo-view-caption{font-size:12px;line-height:1.8;text-align:center;white-space:pre-line;overflow-wrap:anywhere;margin:12px 18px 0}
.photo-view-policy{font-size:10px;line-height:1.7;text-align:center;color:#f4dce6;margin:6px 18px 10px;word-break:keep-all}
.guest-photo-view-dialog .photo-controls{padding:0 12px 12px}
@media(max-width:355px){.guest-photos-section{padding-left:20px;padding-right:20px}.guest-photos-grid{gap:14px 10px}.guest-photo-upload-dialog h2{font-size:20px}.guest-photo-upload-dialog form>label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.guest-photo-card img{transition:none}}

/* A photo-first upload sheet with optional writing. */
.photo-choose-button{width:100%;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px dashed var(--pink-outline,#9e6c80);border-radius:8px;background:var(--pink-surface,#fbe7ef);color:var(--green);font:inherit;font-size:15px;font-weight:600;margin-top:18px;cursor:pointer}
.photo-choose-button:disabled{opacity:.6;cursor:wait}
.guest-photo-upload-dialog .photo-upload-help{text-align:center;margin:8px 0 14px;font-size:10px}
.photo-optional{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0 0}
.photo-optional>summary{cursor:pointer;min-height:48px;padding:14px 0;font-size:12px;color:var(--ink)}
.photo-optional>summary span{font-size:10px;color:var(--muted);margin-left:6px}
.photo-optional>div{padding-bottom:16px}
.photo-optional label{display:block;font-size:12px;margin:12px 0 6px}
.photo-upload-consent{border:0;margin-top:0;padding-top:14px;font-size:11px}
.photo-upload-consent label{font-size:11px;line-height:1.8;padding:4px 0}
.photo-upload-consent details{font-size:10px;margin-top:5px}
.photo-upload-consent summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:32px;padding-top:6px}
.photo-upload-consent details p{margin-top:7px}
.guest-photo-queue:empty{display:none}

.photo-upload-consent label span{flex:1;text-align:left}
