.discover-people-button{display:flex;align-items:center;gap:7px;flex-shrink:0;border:1px solid var(--line);border-radius:30px;min-height:44px;padding:8px 13px;font-size:12px;background:var(--soft)}
.day-city .discover-people-button{background:#fff;color:#273f33;border-color:#d6ded7}
.search-people-entry{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:16px;margin:18px 0 0;border:1px solid var(--line);background:var(--soft);border-radius:16px}
.search-people-entry>span{flex:1}.search-people-entry b,.search-people-entry small{display:block}.search-people-entry small{font-size:11px;color:var(--muted);margin-top:4px}
.profile-gallery-cover{display:block;text-align:left;width:100%;padding:0;cursor:zoom-in;isolation:isolate}
.profile-gallery-cover>*{pointer-events:none}
.profile-gallery-cover:after{pointer-events:none}.profile-gallery-cover:focus-visible{outline:3px solid #c1a5ee;outline-offset:4px}
@media(min-width:801px){
 .modal.profile-gallery-modal{overflow-y:auto;overscroll-behavior:contain}
}
.profile-photo-count{position:absolute;right:16px;bottom:18px;z-index:2;display:flex;align-items:center;gap:7px;background:#18151b9c;color:white;border:1px solid #ffffff35;border-radius:30px;padding:9px 13px;font-size:12px;backdrop-filter:blur(16px)}
.profile-photo-dots{display:flex;gap:5px;position:absolute;left:20px;bottom:32px;z-index:2}.profile-photo-dots i{width:5px;height:5px;border-radius:6px;background:#ffffff60}.profile-photo-dots i.active{width:15px;background:#fff}
#overlay-root .modal.profile-gallery-modal{width:min(780px,100%);max-width:780px;background:transparent;color:#fff;border:0;border-radius:0;box-shadow:none;overflow:hidden}
#overlay-root .profile-gallery-modal:focus,.gallery-stage:focus{outline:none;box-shadow:none}
#overlay-root .modal.profile-gallery-modal>.orbita-nav-tools{position:absolute;inset:0 auto auto 0;background:transparent;border:0;color:#fff}
.modal.profile-gallery-modal>.orbita-nav-tools .orbita-nav-icon{color:#fff}
.profile-gallery-modal .modal-close{background:#ffffff12;color:#fff;z-index:4}
.profile-gallery-modal>.modal-close{inset-inline-start:10px;inset-inline-end:auto}
.profile-viewer{padding:0 20px 20px;display:flex;flex-direction:column;gap:16px}
.profile-viewer header{display:flex;justify-content:flex-end;align-items:center;min-height:48px}
.gallery-position{color:#e4d9ec;font-size:.875rem;white-space:nowrap}
.gallery-stage{position:relative;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;min-height:160px;height:min(62dvh,660px);overflow:hidden;touch-action:none;user-select:none;contain:paint}
.gallery-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;min-width:0;min-height:0}
.gallery-image-error{position:absolute;bottom:20px;left:20px;right:20px;background:#201c29;padding:15px;border-radius:12px;font-size:12px}
.gallery-image[hidden],.gallery-image-error[hidden]{display:none}
.gallery-image-error:not([hidden]){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding:8px 14px}
.gallery-image-error button{min-height:44px;color:#f0d7ff;text-decoration:underline}
.gallery-thumbs{display:flex;justify-content:center;gap:8px}.gallery-thumbs button{width:50px;height:58px;padding:3px;border:1px solid transparent;border-radius:12px}.gallery-thumbs button[aria-pressed=true]{border-color:#d0b6f3;background:#ffffff16}.gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.gallery-thumbs button>span{display:grid;place-items:center;width:100%;height:100%;border-radius:8px;background:#ffffff16;color:#eee1fb;font-size:12px}
.gallery-thumbs button:has(img)>span{display:none}
.profile-viewer :is(.gallery-stage,.gallery-thumbs) button:focus-visible{outline:2px solid #e2caff;outline-offset:2px}
@media(max-width:800px){
 #overlay-root .modal.profile-gallery-modal{height:100%;padding-bottom:0}
 .profile-viewer{height:100%;display:grid;grid-template-rows:48px minmax(0,1fr) auto}
 .profile-viewer .gallery-stage{height:auto;min-height:0}
}
.profile-photo-editor{min-width:0;gap:12px}.photo-editor-heading{display:flex;justify-content:space-between;font-size:13px;align-items:center}.photo-editor-heading>span{font-size:11px;color:var(--muted)}
.photo-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.photo-editor-grid:empty{display:none}
.photo-editor-item{aspect-ratio:3/4;border-radius:15px;overflow:hidden;position:relative;background:var(--soft)}.photo-editor-item>img{width:100%;height:100%;object-fit:cover}
.photo-remove{position:absolute;right:3px;top:3px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#15121da8;backdrop-filter:blur(10px)}
.photo-primary{position:absolute;bottom:0;left:0;width:100%;min-height:39px;display:flex;align-items:center;justify-content:center;gap:5px;color:#fff;background:#15121da8;backdrop-filter:blur(10px);font-size:10px}.photo-primary.selected{background:#e2d3ed;color:#291e39}
.photo-upload-label{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px dashed var(--line);border-radius:12px;cursor:pointer;font-size:12px;font-weight:600}.photo-upload-label[hidden]{display:none}
.photo-upload-label input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.photo-upload-label:focus-within{outline:2px solid #c7abea;outline-offset:3px}
.photo-editor-status{font-size:11px;color:var(--muted);line-height:1.6}.photo-editor-status:empty{display:none}
@media(max-width:700px){.discover-people-button{font-size:11px;gap:6px;padding:8px 11px}.profile-viewer{padding:0 14px 14px;gap:12px}.gallery-stage{height:58dvh}.profile-gallery-modal{max-height:94dvh}.gallery-thumbs{gap:5px}.gallery-thumbs button{width:44px;height:51px}.photo-editor-item{border-radius:12px}}
.profile-next-gathering {
 display: grid;
 grid-template-columns: minmax(0,1fr) auto;
 gap: 6px 12px;
 padding: 12px 14px;
 margin-block-end: 14px;
 border: 1px solid var(--surface-edge,var(--line));
 border-radius: 18px;
 background: color-mix(in srgb,var(--surface-reading,var(--panel)),var(--accent) 8%);
}
.profile-next-kicker {
 grid-column: 1/-1;
 display: flex;
 align-items: center;
 gap: 7px;
 color: var(--muted);
 font-size: 12px;
 font-weight: 700;
}
.profile-next-kicker .icon { color: var(--accent); }
.profile-next-summary {
 display: grid;
 align-content: center;
 gap: 4px;
 min-inline-size: 0;
 min-block-size: 44px;
 text-align: start;
}
.profile-next-summary strong { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.profile-next-summary span {
 display: flex;
 align-items: center;
 gap: 6px;
 color: var(--muted);
 font-size: 12px;
}
.profile-next-chat.button {
 align-self: center;
 min-block-size: 44px;
 padding-inline: 13px;
}
