.photo-location-picker{position:relative;min-width:0;width:100%;margin-block:14px;color:#f4f4f4;text-align:left}
.photo-location-picker>label{display:flex!important;align-items:baseline;gap:8px;margin:0 0 8px!important;font:inherit;font-size:13px!important;font-weight:600;text-transform:none!important;letter-spacing:normal!important}
.photo-location-picker>label small{color:#8e8e94;font-size:11px;font-weight:400}
.photo-location-picker .photo-location-search{display:flex;align-items:center;gap:10px;min-width:0;padding:0 12px;border:1px solid #343438;border-radius:12px;background:#080808;transition:border-color .18s}
.photo-location-picker .photo-location-search:focus-within{border-color:#d8ff4f;outline:2px solid #d8ff4f22;outline-offset:2px}
.photo-location-search>svg,.photo-location-label>svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.6}
.photo-location-picker .photo-location-search input{flex:1;min-width:0;width:100%;height:44px;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:inherit;font:inherit;font-size:13px;outline:none!important;border-radius:0}
.photo-location-search input::-webkit-search-cancel-button{display:none}
.photo-location-picker .photo-location-search button{flex:0 0 30px;width:30px;height:30px;min-width:0;min-height:0;padding:0;border:1px solid #343438;border-radius:9px;color:#fff;background:#151515;line-height:1;font-size:20px;cursor:pointer}
.photo-location-picker .photo-location-results{position:absolute;top:auto;left:0;right:0;z-index:80;max-height:280px;overflow-y:auto;overscroll-behavior:contain;margin-top:6px;padding:5px;border:1px solid #414146;border-radius:14px;background:#101010;box-shadow:0 16px 40px #000b}
.photo-location-picker .photo-location-option{display:flex;align-items:center;gap:10px;width:100%;padding:11px 9px;border:0;border-radius:9px;background:transparent;color:#eee;text-align:left;font:inherit;cursor:pointer;min-height:48px}
.photo-location-picker .photo-location-option:hover,.photo-location-picker .photo-location-option[aria-selected=true]{background:#242426}
.photo-location-option img{width:27px;height:27px;flex:0 0 27px;object-fit:cover;border-radius:50%}
.photo-location-option>span{display:grid;gap:3px;min-width:0}
.photo-location-option strong{font-size:13px;font-weight:500;white-space:normal;overflow-wrap:anywhere}
.photo-location-option small{font-size:10px;color:#aaa}
.photo-location-picker .photo-location-help,.photo-location-picker .photo-location-status{display:block;margin:7px 0 0;color:#909095;font-size:11px;line-height:1.45}
.photo-location-picker .photo-location-status.is-error{color:#ff9d9d}
.photo-location-label{display:flex;align-items:center;gap:7px;margin-block:7px;color:#bcbcc2;font-size:12px;line-height:1.4;text-align:left;overflow-wrap:anywhere}
/* Keep gallery and expanded-photo metadata identical despite legacy caption styles. */
body.x-directory-page.x-public-profile-page :is(.x-public-pics-copy,.x-public-pics-lightbox-card figcaption)>.photo-location-label:not([hidden]){display:flex!important;align-items:center;gap:7px;margin-block:7px;color:rgba(216,255,79,.86)!important;font-size:10px!important;font-weight:500!important;line-height:1.25;letter-spacing:.02em!important;text-transform:none}
.x-public-pics-copy .photo-location-label>span{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
.x-public-pics-copy .photo-location-label>svg{width:12px;height:12px;flex-basis:12px}
.x-public-pics-lightbox-card .photo-location-label::before{content:"";width:12px;height:12px;flex:0 0 12px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M19 10c0 5-7 11-7 11S5 15 5 10a7 7 0 1 1 14 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat}
.photo-location-picker [hidden],.photo-location-label[hidden],body.x-directory-page.x-public-profile-page .x-public-pics-lightbox-card figcaption>.photo-location-label[hidden]{display:none!important}
.photo-location-edit{min-width:0;margin:10px 0;color:#eee}
.photo-location-edit>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;border:1px solid #333;border-radius:10px;padding:9px 12px;font-size:12px}
.photo-location-edit>summary::-webkit-details-marker{display:none}
.photo-location-edit>summary::after{content:'+';font-size:16px;color:#b5b5ba}
.photo-location-edit[open]>summary::after{content:'−'}
.photo-location-edit>form{padding-top:4px}
.business-gallery-card>.photo-location-edit,.settings-gallery-card>.photo-location-edit{margin:8px 12px 12px}
.business-gallery-card>.photo-location-label,.settings-gallery-card>.photo-location-label{margin:0 12px 8px}
.business-gallery-card:has(.photo-location-edit[open]),.settings-gallery-card:has(.photo-location-edit[open]){overflow:visible;position:relative;z-index:2}
@media(prefers-reduced-motion:reduce){.photo-location-picker *{transition:none!important}}
