.gallery-photo-fields{border:0;padding:8px 0;margin:0;min-width:0;display:grid;gap:14px;color:inherit}.gallery-photo-fields legend{font-size:12px;font-weight:900;padding:8px 0}.gallery-photo-fields label{display:grid;gap:8px;font-size:11px;font-weight:800}.gallery-photo-fields input:not([type=checkbox]),.gallery-photo-fields select{width:100%;min-width:0;min-height:52px;padding:14px 12px;border:1px solid #9aa9bc;border-radius:8px;background:white;color:#071f43;font:600 14px/1.4 Inter,Arial,sans-serif}.gallery-photo-fields .gallery-match-toggle{display:flex;align-items:center;gap:12px;font-size:13px}.gallery-match-toggle input{width:22px;height:22px;accent-color:#246dc8}.gallery-field-help{font-size:12px;line-height:1.55;margin:0;letter-spacing:0}.gallery-photo-fields [data-match-fields],.gallery-photo-fields [data-travel-fields]{display:grid;gap:14px}.gallery-photo-fields [hidden]{display:none!important}.gallery-seat-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gallery-social-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gallery-lightbox{background:#fff;color:#071f43;width:min(1220px,96vw);height:min(780px,92dvh)}.gallery-detail-layout{display:grid;grid-template-columns:1fr 1fr;height:100%}.gallery-lightbox .gallery-image-open{position:relative;inset:auto;z-index:auto;display:block;width:100%;height:100%;min-width:0;border:0;border-radius:0;background:#041329;padding:0;cursor:zoom-in}.gallery-image-open img{width:100%;height:100%;object-fit:contain}.gallery-photo-details{padding:65px 38px 55px;overflow:auto;overflow-wrap:anywhere}.gallery-photo-details h2{font-family:Anton,Arial,sans-serif;font-weight:400;font-size:clamp(28px,3vw,42px);line-height:1.15;margin:14px 0 20px}.gallery-detail-kicker{font-size:11px;font-weight:900;letter-spacing:.15em;color:#3769a4}.gallery-match-date{font-size:13px;line-height:1.6;font-weight:800}.gallery-match-score{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;margin:28px 0}.gallery-match-score>div{display:grid;justify-items:center;text-align:center;gap:12px;font-size:14px}.gallery-match-score>b{font-size:30px;white-space:nowrap}.gallery-lightbox .gallery-country-flag{width:55px;height:36px;object-fit:contain}.gallery-match-link{display:inline-block;margin:14px 0;padding:14px 18px;background:#071f43;color:white;border-radius:8px;font-weight:800;font-size:12px;text-decoration:none}.gallery-seat-details{display:flex;flex-wrap:wrap;gap:24px;padding:20px 0;border-top:1px solid #dce4ed}.gallery-seat-details dt{font-size:10px;font-weight:800}.gallery-seat-details dd{margin:6px 0;font-weight:700}.gallery-detail-hint{font-size:12px;color:#52627a;margin-top:25px}.gallery-lightbox [data-lightbox-prev],.gallery-lightbox [data-lightbox-next]{top:auto;bottom:10px}.gallery-fullscreen{width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;border:0;background:#020914}.gallery-fullscreen::backdrop{background:#020914}.gallery-fullscreen img{width:100%;height:100%;object-fit:contain}.gallery-fullscreen button{position:absolute;top:15px;right:15px;border:1px solid white;border-radius:8px;background:#071f43;color:white;padding:14px;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ecb83e;outline-offset:3px}
@media(max-width:650px){.gallery-lightbox{width:100vw;height:100dvh;max-height:none}.gallery-detail-layout{grid-template-columns:1fr;grid-template-rows:42dvh 1fr}.gallery-photo-details{padding:24px 22px 60px}.gallery-photo-details h2{font-size:28px}.gallery-match-score{margin:20px 0}.gallery-social-fields{grid-template-columns:1fr}.gallery-seat-fields{gap:6px}.gallery-seat-fields label{font-size:9px}}

/* Shared batch credit and selected-photo detail copying. */
.gallery-batch-social{border:1px solid #9aa9bc;border-radius:10px;margin:18px 0;padding:18px;min-width:0;color:inherit}
.gallery-batch-social legend{font-size:13px;font-weight:900;padding:0 6px}.gallery-batch-social label{display:grid;gap:8px;font-size:11px;font-weight:800}
.gallery-batch-social input,.gallery-batch-social select{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #9aa9bc;border-radius:8px;background:white;color:#071f43;font:600 14px Inter,Arial,sans-serif}
.gallery-copy-details{justify-self:start;min-height:44px;border:1px solid currentColor;border-radius:7px;padding:10px 12px;background:transparent;color:inherit;font:800 11px/1.4 Inter,Arial,sans-serif;cursor:pointer}.gallery-copy-details:disabled{opacity:.45;cursor:default}.gallery-copy-status{margin:0;font-size:12px;line-height:1.5}
.gallery-copy-dialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:0;border-radius:14px;padding:24px;background:#fff;color:#071f43;box-shadow:0 12px 70px #0006}
.gallery-copy-dialog::backdrop{background:#061a3abb}.gallery-copy-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px}.gallery-copy-dialog h2{margin:0;font:400 28px/1.2 Anton,Arial,sans-serif}.gallery-copy-dialog p{font:400 14px/1.6 Inter,Arial,sans-serif}.gallery-copy-summary{overflow-wrap:anywhere;font-weight:700!important}
.gallery-copy-dialog button{min-height:44px;border:1px solid #9aa9bc;border-radius:7px;padding:10px 14px;background:#f3f8fd;color:#071f43;font:800 12px Inter,Arial,sans-serif;cursor:pointer}.gallery-copy-dialog [data-copy-apply]{background:#071f43;color:#fff}.gallery-copy-dialog button:disabled{opacity:.45;cursor:default}
.gallery-copy-tools,.gallery-copy-dialog footer{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.gallery-copy-dialog footer{justify-content:flex-end;margin-bottom:0}
.gallery-copy-targets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gallery-copy-targets label{position:relative;display:flex;flex-direction:column;gap:9px;border:2px solid #cbd9e8;border-radius:10px;padding:10px;cursor:pointer;min-width:0}.gallery-copy-targets label:has(:checked){border-color:#1768b7;background:#e8f3fd}.gallery-copy-targets input{width:22px;height:22px;accent-color:#1768b7;margin:0}.gallery-copy-targets img{width:100%;height:100px;object-fit:cover;border-radius:5px}.gallery-copy-targets span{font:800 12px/1.4 Inter,Arial,sans-serif}.gallery-copy-targets small{display:block;overflow-wrap:anywhere;font-weight:400}
@media(max-width:600px){.gallery-copy-dialog{padding:18px}.gallery-copy-targets{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-copy-dialog h2{font-size:24px}.gallery-batch-social{padding:14px}}

.gallery-upload-invite{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0;padding:20px;background:#071f43;color:#fff;border-radius:10px}.gallery-upload-invite p{margin:5px 0 0}.gallery-upload-invite a{padding:12px 16px;background:#f4d44e;color:#071f43;font-weight:800;border-radius:5px;text-decoration:none}.gallery-pagination{margin:20px 0;text-align:center;scroll-margin-top:20px}.gallery-pagination[hidden]{display:none}.gallery-pagination>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.gallery-pagination button{padding:12px;min-width:44px;border:1px solid #8090a7;border-radius:5px;background:white;color:#071f43;font:inherit;font-weight:800;cursor:pointer}.gallery-pagination button[aria-current=page]{background:#071f43;color:white}.gallery-pagination button:disabled{opacity:.45;cursor:default}#gallery-upload{scroll-margin-top:20px}.gallery-pagination :focus-visible,.gallery-upload-invite a:focus-visible{outline:3px solid #c59200;outline-offset:3px}

.gallery-photo-details .gallery-match-link{margin-bottom:8px}.gallery-photo-details .gallery-request-link{display:block;width:fit-content;margin:0 0 12px;font-size:12px;font-weight:400;line-height:1.5;color:#52627a;text-decoration:underline;text-underline-offset:3px}

/* Keep upload limits readable against the blue form on every screen size. */
.gallery-upload-form .gallery-selection-warning{padding:18px;margin:16px 0;border:2px solid #ef777f;border-left-width:6px;border-radius:9px;background:#a71924;color:#fff;font-size:16px;line-height:1.55}
.gallery-upload-form .gallery-selection-warning[hidden]{display:none}
.gallery-upload-form .gallery-selection-warning strong{display:block;font-size:16px;line-height:1.45}
.gallery-upload-form .gallery-selection-warning p{margin:8px 0 0;color:#fff;font-size:16px;line-height:1.55}

.gallery-upload-error{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:0;border-radius:18px;padding:clamp(22px,5vw,38px);text-align:center;background:#fff;color:#071f43;box-shadow:0 12px 70px #0006}.gallery-upload-error::backdrop{background:#061a3add}.gallery-error-logo{width:90px;height:90px;object-fit:contain;clip-path:circle(49.5% at 50% 50%)}.gallery-error-cross{display:grid;place-items:center;width:88px;height:88px;margin:20px auto;border-radius:50%;background:#a71924;color:#fff;font:700 66px/1 Arial,sans-serif}.gallery-upload-error h2{font-size:clamp(24px,5vw,32px);line-height:1.2;margin:20px 0 16px}.gallery-upload-error p{font-size:16px;line-height:1.6;margin:14px 0;color:#263c54;overflow-wrap:anywhere}.gallery-upload-error [data-gallery-error-message]{color:#a71924;font-weight:700}.gallery-upload-error button{display:block;width:100%;min-height:48px;margin-top:14px;padding:14px;border:1px solid #8090a7;border-radius:8px;background:#fff;color:#071f43;font:700 16px/1.4 Arial,sans-serif;cursor:pointer}.gallery-upload-error [data-gallery-retry]{background:#071f43;color:#fff}.gallery-upload-error [hidden]{display:none}.gallery-file-sent{color:#abefbf;font-weight:700;font-size:14px;margin:12px 0}
