/* Customer batch: contain controls inside profile cards and preserve access while scrolling. */
.discovery-person,.discovery-person-sheet [data-person-content]{min-width:0;max-width:100%;box-sizing:border-box}
.discovery-person .group-open-chat{width:auto!important;max-width:calc(100% - 40px)!important;box-sizing:border-box;margin:16px 20px!important;justify-content:center;white-space:normal;text-align:center}
.discovery-person .discovery-choices{width:auto!important;max-width:calc(100% - 36px)!important;margin:12px 18px!important;display:flex;gap:12px;box-sizing:border-box}
.discovery-person .discovery-choices form{flex:1;min-width:0}.discovery-person .discovery-choice{width:100%;min-height:52px!important;display:flex;gap:7px;justify-content:center;align-items:center;padding:10px!important}.discovery-person .discovery-choice small{color:inherit!important;opacity:1!important;font-size:12px!important}
.discovery-person-sheet{position:fixed!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0!important}.discovery-person-sheet .discovery-dialog-close{position:sticky!important;top:12px!important;inset-inline-start:calc(100% - 54px)!important;z-index:20!important;width:42px;height:42px;margin:12px 12px -54px auto!important;background:#fffcef!important;color:#172f42!important;box-shadow:0 2px 10px #10263855}
.discovery-allowance{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:#73613b;margin:12px 0}.discovery-allowance button{border:1px solid #bda56b;background:#fffcef;border-radius:18px;padding:10px 14px;color:#263c4c;min-height:42px}
.advanced-search details{border-top:1px solid #c9b788;margin-top:16px;padding-top:14px}.advanced-search summary{cursor:pointer;min-height:42px;font-weight:600;color:#182e40}.advanced-search fieldset{border:0;margin:14px 0;padding:0}.advanced-search legend{font-weight:600;padding:8px 0}.advanced-search .filter-options{display:flex;flex-wrap:wrap;gap:8px}.advanced-search .filter-options label{display:flex!important;gap:7px;align-items:center!important;padding:8px 10px!important;border:1px solid #c9b788;border-radius:13px;font-size:12px!important;margin:0!important}.advanced-search input[type=checkbox]{width:18px!important;height:18px!important;flex:none;accent-color:#96753b}.advanced-search .filter-height{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.locked-likes{margin:20px 0}.locked-like-placeholder{aspect-ratio:3/4;display:grid;place-items:center;font-size:48px;border:1px solid #c8b383;border-radius:16px;background:linear-gradient(135deg,#e7dcc1,#f7efd8);color:#ad945f;position:relative}.locked-like-placeholder span{position:absolute;bottom:15px;font-size:22px}.premium-likes-offer{position:relative}
.premium-offer-dialog{max-width:min(420px,90vw);border:1px solid #bda56b;border-radius:24px;background:#fffcef;color:#182e40;padding:24px;box-sizing:border-box}.premium-offer-dialog::backdrop{background:#10263899}.premium-offer-dialog .button{box-sizing:border-box;max-width:100%}.premium-offer-dialog>button{float:inline-end;border:0;background:transparent;color:#182e40;font-size:28px;min-width:44px;min-height:44px}
.pull-refresh-status{position:fixed;top:0;left:50%;transform:translateX(-50%);z-index:90;border:1px solid #c9b788;border-radius:0 0 15px 15px;background:#fffcef;color:#182e40;padding:10px 18px;font-size:12px;box-shadow:0 4px 12px #10263822;pointer-events:none}.pull-refresh-status[hidden]{display:none}.chat-image-viewer{max-width:95vw;max-height:90dvh;border:1px solid #c9b788;border-radius:18px;background:#102638;color:#f5eddb;padding:14px;box-sizing:border-box}.chat-image-viewer::backdrop{background:#081522df}.chat-image-viewer>header{display:flex;justify-content:space-between;align-items:center;gap:14px}.chat-image-viewer>header button{min-width:44px;min-height:44px;border:0;border-radius:50%;background:#fffcef;color:#182e40;font-size:26px}.chat-image-viewer img{max-width:calc(95vw - 30px);max-height:65dvh;object-fit:contain;display:block;margin:12px auto}.chat-image-viewer a{color:#e3c984;display:inline-block;padding:10px}.chat-premium-reply{background:#efe3c5;color:#182e40;border:1px solid #c9b788;border-radius:16px;padding:14px;margin:8px 16px}.chat-premium-reply p{font-size:13px;margin:0 0 8px}

.public-profile .discovery-person-detail,.public-profile .discovery-safety{display:block}.public-profile .journey-facts{display:grid!important}

html.summer-theme[data-design-family] body[data-court=royal] .discovery-person .discovery-choice small{display:inline!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;line-height:1.25!important;white-space:normal!important}
.discovery-filter-sheet[open]{display:flex!important;flex-direction:column;overflow:hidden!important;max-height:90dvh!important}.discovery-filter-sheet>.discovery-sheet-top{flex:none;position:relative;z-index:4;background:#fffcef}.discovery-filter-sheet>form{overflow:auto;min-height:0;overscroll-behavior:contain}.discovery-filter-sheet .discovery-filter-actions{position:sticky;bottom:0;background:#fffcef;padding:12px 0 4px;border-top:1px solid #c9b788;z-index:3;margin-top:18px}
.advanced-search details.filter-category{margin-top:0;padding:0;border-top:1px solid #c9b78866}.advanced-search .filter-category>summary{display:list-item;padding:12px 2px;box-sizing:border-box;font-size:14px}.filter-category [data-filter-count]{float:inline-end;color:#96753b;font-weight:400;font-size:12px}.advanced-search .filter-category fieldset{margin:2px 0 14px;padding:0}.chat-image-viewer>header span{min-width:0;overflow-wrap:anywhere;font-size:13px}.chat-image-viewer>header button{flex:none}

.locked-like-card{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;border:1px solid #bfa66a;border-radius:18px;background:#e5d9ba;box-shadow:0 3px 10px #13283918}.locked-like-card>img{width:100%;height:100%;object-fit:cover;display:block}.locked-like-card .locked-like-placeholder{width:100%;height:100%;border:0}.locked-like-badge{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);border-radius:20px;background:#f6eddbeb;color:#8c7136;padding:5px 15px;font-size:22px}.premium-discovery-settings form{display:grid;gap:12px}.premium-discovery-settings input[name=travel_city]{display:block;width:100%;box-sizing:border-box}.matched-free-note{border:1px solid #bfa66a}.discovery-choice-superlike{border:1px solid #bca364!important;background:#efdfb5!important;color:#493c23!important}.travel-notice{color:#806535}.superlike-label{color:#947138!important}.premium-benefits{line-height:1.85;padding-inline-start:22px}.locked-likes{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

/* Full profiles need labelled actions, not the compact discovery-deck controls. */
html.summer-theme[data-design-family] body[data-court=royal] :is(.public-profile,.discovery-person-sheet) .discovery-choices{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;
 width:auto!important;max-width:calc(100% - 24px)!important;margin:12px!important;padding:0!important;box-sizing:border-box;
}
html.summer-theme[data-design-family] body[data-court=royal] :is(.public-profile,.discovery-person-sheet) .discovery-choices>form{
 display:flex;min-width:0;margin:0;
}
html.summer-theme[data-design-family] body[data-court=royal] :is(.public-profile,.discovery-person-sheet) .discovery-choice{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
 width:100%!important;max-width:100%;height:100%!important;min-height:88px!important;padding:8px 6px!important;
 box-sizing:border-box;border:1px solid #bca36488;border-radius:14px;text-align:center;overflow-wrap:normal;word-break:normal;
}
html.summer-theme[data-design-family] body[data-court=royal] :is(.public-profile,.discovery-person-sheet) .discovery-choice>span{
 display:grid;place-items:center;flex:none;width:32px;height:32px;font-size:32px!important;line-height:1!important;text-shadow:none;
}
html.summer-theme[data-design-family] body[data-court=royal] :is(.public-profile,.discovery-person-sheet) .discovery-choice>small{
 display:grid!important;place-items:center;min-height:2.5em;width:100%;max-width:100%;min-width:0;
 font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.25!important;
 white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none;text-align:center;
}
html.summer-theme[data-design-family] body[data-court=royal] :is(.public-profile,.discovery-person-sheet) .discovery-choice-like{
 background:linear-gradient(125deg,#ead5a0,#b99851)!important;color:#172f42!important;
}
html.summer-theme[data-design-family] body[data-court=royal] :is(.public-profile,.discovery-person-sheet) .discovery-choice-like>span{
 color:inherit;
}

.inbox-likes-previews{position:absolute;inset:0;display:block;overflow:hidden;border-radius:50%;isolation:isolate}
.inbox-likes-previews>img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;border-radius:50%;opacity:0;filter:brightness(.5);transition:opacity .65s ease}
.inbox-likes-previews>img.is-active{opacity:1}
.inbox-likes-heart{position:relative;z-index:2;color:inherit;text-shadow:0 1px 4px #10263888}
.inbox-likes-icon:has(.inbox-likes-previews>img) .inbox-likes-heart{color:#f3d58c}
.inbox-likes-icon .inbox-likes-count{z-index:3}
.login-password-help{display:flex;justify-content:flex-end;margin:4px 0 12px}
html.summer-theme .login-password-help>a{display:inline-flex;align-items:center;min-height:44px;padding:5px 0;color:#765619!important;font-size:14px!important;font-weight:700;text-decoration:underline;text-underline-offset:4px}
@media(prefers-reduced-motion:reduce){.inbox-likes-previews>img{transition:none}}
