/* Public lady profile. Uses only the parent theme tokens. */
.sg-public-profile {
    padding: var(--sg-header-height) 0 96px;
    overflow: clip;
}

.sg-profile-locale-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 0;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--sg-accent) 28%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--sg-accent) 8%, var(--sg-surface));
    color: var(--sg-text);
    font-size: .9rem;
    line-height: 1.5;
}

.sg-profile-locale-notice i {
    margin-top: .2em;
    color: var(--sg-accent);
}

.sg-profile-locale-notice p { margin: 0; }

.sg-public-profile *,
.sg-public-profile *::before,
.sg-public-profile *::after { box-sizing: border-box; }

.sg-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.sg-profile-breadcrumb {
    border-bottom: 1px solid var(--sg-border);
    background: color-mix(in srgb, var(--sg-bg) 96%, transparent);
    color: var(--sg-muted);
    font-size: .88rem;
}

.sg-profile-breadcrumb__inner {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 20px;
}

.sg-profile-breadcrumb__trail {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-profile-breadcrumb__trail li {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.sg-profile-breadcrumb__trail li:not(:last-child)::after {
    color: color-mix(in srgb, var(--sg-muted) 48%, transparent);
    content: "/";
}

.sg-profile-breadcrumb__trail a,
.sg-profile-breadcrumb__trail span {
    display: block;
    overflow: hidden;
    color: var(--sg-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-profile-breadcrumb__trail a {
    display: inline-flex;
    align-items: center;
    font-weight: 650;
}

.sg-profile-breadcrumb__trail a:hover { color: var(--sg-accent-a); }
.sg-profile-breadcrumb__trail li[aria-current="page"] span { color: var(--sg-text); font-weight: 650; }
.sg-profile-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.sg-profile-controls .lady-id { padding: 6px 12px; border: 1px solid var(--sg-border); border-radius: 999px; color: var(--sg-text); font-size: .78rem; white-space: nowrap; }
.sg-profile-moderation { display: flex; }
.sg-profile-content { padding-top: 28px; }

.sg-profile-layout {
    display: grid;
    grid-template-columns: minmax(310px, .9fr) minmax(0, 1.45fr);
    align-items: start;
    gap: clamp(24px, 3vw, 42px);
}

.sg-profile-gallery {
    position: sticky;
    top: calc(var(--sg-header-height) + 24px);
    min-width: 0;
}

.sg-profile-main-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: color-mix(in srgb, var(--sg-surface) 88%, var(--sg-bg));
}

.sg-profile-main-photo__open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.sg-profile-main-photo__open:focus-visible,
.sg-profile-thumb:focus-visible,
.sg-profile-tab:focus-visible,
.sg-profile-action:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--sg-accent-a) 58%, transparent);
    outline-offset: 3px;
}

.sg-profile-main-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .18s ease;
}

.sg-profile-gallery__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    background: color-mix(in srgb, var(--sg-bg) 68%, transparent);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
}

.sg-profile-gallery__arrow:hover { transform: translateY(-50%); }
.sg-profile-gallery__arrow--prev { left: 14px; }
.sg-profile-gallery__arrow--next { right: 14px; }
.sg-profile-gallery__arrow[hidden] { display: none; }

.sg-profile-gallery__counter {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(8, 8, 8, .68);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.sg-profile-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.sg-profile-thumb {
    position: relative;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
    cursor: pointer;
    opacity: .62;
    transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.sg-profile-thumb:hover,
.sg-profile-thumb.is-active {
    border-color: var(--sg-accent-a);
    opacity: 1;
    transform: translateY(-2px);
}

.sg-profile-thumb.is-active::after {
    position: absolute;
    inset: 5px;
    border: 2px solid color-mix(in srgb, var(--sg-accent-b) 88%, white);
    border-radius: calc(var(--sg-radius-md) - 7px);
    content: "";
    pointer-events: none;
}

.sg-profile-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sg-profile-gallery.is-auth-required .sg-profile-thumb img {
    filter: blur(7px) saturate(.72);
    transform: scale(1.1);
}
.sg-profile-gallery.is-auth-required .sg-profile-thumb::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--sg-surface) 18%, transparent);
    color: #fff;
    content: "\f023";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-size: .9rem;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

.sg-profile-gallery-empty {
    display: grid;
    min-height: 520px;
    place-content: center;
    gap: 12px;
    padding: 42px;
    color: var(--sg-muted);
    text-align: center;
}

.sg-profile-gallery-empty > i { color: var(--sg-accent-a); font-size: 3rem; }
.sg-profile-gallery-empty strong { color: var(--sg-text); font-size: 1.25rem; }
.sg-profile-gallery-empty p { max-width: 28rem; margin: 0; }

.sg-profile-card {
    display: flex;
    min-width: 0;
    min-height: 680px;
    max-height: 760px;
    flex-direction: column;
    padding: clamp(22px, 3vw, 34px);
}

.sg-profile-card__header { margin-bottom: 20px; }
.sg-profile-identity { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

.sg-profile-identity h1 {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.45rem, 2vw, 1.7rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.sg-profile-identity h1 span { color: inherit; }

.sg-profile-verified {
    display: inline-flex;
    align-items: center;
    color: var(--sg-accent-a);
    font-size: 1.25rem;
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--sg-accent-a) 44%, transparent));
    animation: sg-profile-verified-pulse 2s ease-in-out infinite;
}

.sg-profile-meta {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    min-width: 0;
}

.sg-profile-online,
.sg-profile-city,
.sg-profile-nickname {
    margin: 0;
    color: var(--sg-muted);
    font-size: .93rem;
}

.sg-profile-online { display: inline-flex; align-items: center; gap: 7px; color: #22c55e; font-weight: 650; }
.status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12), 0 0 11px rgba(34, 197, 94, .58);
    animation: sg-profile-status-pulse 2s ease-in-out infinite;
}

.sg-profile-city i { margin-right: 6px; color: var(--sg-accent-a); }
.sg-profile-nickname { flex-basis: 100%; font-size: .79rem; overflow-wrap: anywhere; }
.sg-profile-nickname span { font-weight: 650; }

@keyframes sg-profile-verified-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .78; transform: scale(1.1); }
}

@keyframes sg-profile-status-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, .12), 0 0 11px rgba(34, 197, 94, .58); transform: scale(1); }
    50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0), 0 0 14px rgba(34, 197, 94, .66); transform: scale(1.35); }
}

.sg-profile-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: color-mix(in srgb, var(--sg-surface) 58%, transparent);
}

.sg-profile-tab {
    display: flex;
    min-width: 0;
    min-height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 5px;
    border: 1px solid transparent;
    border-radius: calc(var(--sg-radius-md) - 5px);
    background: transparent;
    color: var(--sg-muted);
    cursor: pointer;
    font: inherit;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.sg-profile-tab i { font-size: 1rem; }
.sg-profile-tab span { max-width: 100%; overflow: hidden; font-size: .7rem; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.sg-profile-tab:hover { color: var(--sg-text); }
.sg-profile-tab.is-active { background: var(--sg-gradient); color: #1a1208; box-shadow: 0 8px 22px color-mix(in srgb, var(--sg-accent-a) 22%, transparent); }

.sg-profile-panels {
    min-height: 0;
    flex: 1;
    padding: 24px 8px 18px 2px;
    overflow: hidden;
}

.sg-profile-panel {
    height: 100%;
    max-height: 310px;
    padding-right: 10px;
    overflow: auto;
    scrollbar-color: var(--sg-accent-a) transparent;
    scrollbar-width: thin;
}

.sg-profile-panel[hidden] { display: none; }
.sg-profile-panel h2 { margin: 0 0 16px; font-size: 1.45rem; }
.sg-profile-panel h3 { margin: 22px 0 11px; color: var(--sg-text); font-size: 1rem; }
.sg-profile-panel p { margin: 0 0 16px; color: var(--sg-muted); line-height: 1.75; }

.sg-profile-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.sg-profile-traits li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--sg-surface) 55%, transparent);
    color: var(--sg-muted);
    font-size: .82rem;
}

.sg-profile-traits li i { color: var(--sg-accent-a); font-size: .7rem; }
.sg-profile-info-list { display: grid; margin: 0; }

.sg-profile-info-row {
    display: grid;
    grid-template-columns: minmax(120px, .7fr) minmax(0, 1fr);
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sg-border);
}

.sg-profile-info-row:last-child { border-bottom: 0; }
.sg-profile-info-row dt { color: var(--sg-muted); }
.sg-profile-info-row dd { margin: 0; color: var(--sg-text); font-weight: 650; text-align: right; overflow-wrap: anywhere; }

.sg-profile-details-empty {
    display: grid;
    min-height: 280px;
    place-content: center;
    gap: 8px;
    color: var(--sg-muted);
    text-align: center;
}

.sg-profile-details-empty strong { color: var(--sg-text); font-size: 1.2rem; }
.sg-profile-details-empty p { margin: 0; }

.sg-profile-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--sg-border);
}

.sg-profile-action {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: color-mix(in srgb, var(--sg-surface) 56%, transparent);
    color: var(--sg-text);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 680;
    line-height: 1.15;
    text-align: center;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.sg-profile-action:not(:disabled):not([aria-disabled="true"]):hover { border-color: var(--sg-accent-a); color: var(--sg-accent-a); transform: translateY(-2px); }
.sg-profile-action i { flex: 0 0 auto; font-size: 1rem; }
.sg-profile-action span { min-width: 0; overflow-wrap: anywhere; }
.sg-profile-action small { display: none; }

.sg-profile-action--primary {
    width: 100%;
    min-height: 50px;
    margin-bottom: 10px;
    border-color: transparent;
    border-radius: 999px;
    background: var(--sg-gradient);
    color: #1a1208;
    box-shadow: 0 10px 26px color-mix(in srgb, var(--sg-accent-a) 25%, transparent);
    font-size: 1rem;
}

.sg-profile-action-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sg-profile-action--secondary { min-height: 54px; padding: 8px; }
.sg-profile-action--secondary i { font-size: 1.18rem; }

.sg-profile-action:disabled,
.sg-profile-action[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .58;
}

.sg-profile-action[data-profile-relation="favorite"].is-active {
    border-color: color-mix(in srgb, #e13b57 62%, var(--sg-border));
    background: color-mix(in srgb, #e13b57 12%, var(--sg-surface));
    color: #c52c48;
}

.sg-profile-action[data-profile-relation="block"].is-active {
    border-color: color-mix(in srgb, #ef4444 78%, var(--sg-border));
    background: color-mix(in srgb, #ef4444 16%, var(--sg-surface));
    color: color-mix(in srgb, #ef4444 94%, var(--sg-text));
}

.sg-profile-action.is-pending,
.sg-profile-action.is-pending[aria-disabled="true"] {
    cursor: progress;
    opacity: .76;
    transform: none;
}

.sg-profile-action.is-auth-return-target {
    outline: 3px solid color-mix(in srgb, var(--sg-accent-a) 55%, transparent);
    outline-offset: 4px;
    animation: sg-profile-auth-return-pulse 1.2s ease-out 2;
}

@keyframes sg-profile-auth-return-pulse {
    50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--sg-accent-a) 16%, transparent); }
}

.sg-profile-action--moderation {
    min-height: 38px;
    padding: 8px 13px;
    border-color: color-mix(in srgb, #ef4444 55%, var(--sg-border));
    border-radius: 999px;
    background: color-mix(in srgb, #ef4444 6%, transparent);
    color: color-mix(in srgb, #ef4444 86%, var(--sg-text));
    font-size: .76rem;
}

.sg-profile-action-status {
    position: fixed;
    z-index: 48;
    right: clamp(16px, 3vw, 36px);
    bottom: clamp(16px, 3vw, 36px);
    max-width: min(420px, calc(100vw - 32px));
    padding: 12px 16px;
    border: 1px solid color-mix(in srgb, var(--sg-accent-a) 42%, var(--sg-border));
    border-radius: var(--sg-radius-md);
    background: color-mix(in srgb, var(--sg-surface) 92%, transparent);
    box-shadow: var(--sg-shadow);
    color: var(--sg-text);
    font-size: .82rem;
    font-weight: 650;
    line-height: 1.35;
    pointer-events: none;
}

.sg-profile-action-status[hidden] { display: none; }
.sg-profile-action-status.is-error {
    border-color: color-mix(in srgb, #e13b57 50%, var(--sg-border));
    background: color-mix(in srgb, #e13b57 10%, var(--sg-surface));
    color: #c52c48;
}

body.sg-videochat-booking-open { overflow: hidden; }

.sg-profile-action--videochat {
    border-color: color-mix(in srgb, var(--sg-accent-b) 42%, transparent);
    background: linear-gradient(
        110deg,
        color-mix(in srgb, var(--sg-accent-a) 92%, white),
        color-mix(in srgb, var(--sg-accent-b) 88%, white)
    );
}

.sg-videochat-booking[hidden] { display: none; }
.sg-videochat-booking {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 34px);
}

.sg-videochat-booking__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: color-mix(in srgb, #1b1520 68%, transparent);
    cursor: default;
}

.sg-videochat-booking__dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid color-mix(in srgb, var(--sg-accent-a) 28%, var(--sg-border));
    border-radius: clamp(20px, 3vw, 30px);
    background: color-mix(in srgb, var(--sg-surface) 96%, white);
    box-shadow: 0 32px 90px rgba(25, 17, 25, .34);
}

.sg-videochat-booking__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sg-videochat-booking__header h2 {
    margin: 4px 0 0;
    color: var(--sg-text);
    font-size: clamp(1.55rem, 4vw, 2.1rem);
    line-height: 1.05;
}

.sg-videochat-booking__eyebrow {
    color: var(--sg-accent-a);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sg-videochat-booking__close {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    background: color-mix(in srgb, var(--sg-surface) 72%, transparent);
    color: var(--sg-text);
    cursor: pointer;
}

.sg-videochat-booking__lead {
    margin: 14px 0 22px;
    color: var(--sg-muted);
    line-height: 1.55;
}

.sg-videochat-booking__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.sg-videochat-booking__grid label {
    display: grid;
    gap: 7px;
    color: var(--sg-text);
    font-size: .78rem;
    font-weight: 720;
}

.sg-videochat-booking__grid input,
.sg-videochat-booking__grid select {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--sg-border);
    border-radius: 13px;
    background: var(--sg-surface);
    color: var(--sg-text);
    font: inherit;
}

.sg-videochat-booking__grid input:focus,
.sg-videochat-booking__grid select:focus,
.sg-videochat-booking__close:focus-visible,
.sg-videochat-booking__reset:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--sg-accent-a) 38%, transparent);
    outline-offset: 2px;
}

.sg-videochat-booking__datetime { grid-column: 1 / -1; }

.sg-videochat-booking__quote {
    min-height: 52px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--sg-accent-a) 30%, var(--sg-border));
    border-radius: 14px;
    background: color-mix(in srgb, var(--sg-accent-a) 7%, var(--sg-surface));
    color: var(--sg-text);
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.45;
}

.sg-videochat-booking__quote.is-loading { color: var(--sg-muted); }
.sg-videochat-booking__status {
    margin: 13px 0 0;
    color: color-mix(in srgb, #198754 84%, var(--sg-text));
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.45;
}
.sg-videochat-booking__status[hidden] { display: none; }
.sg-videochat-booking__status.is-error { color: #c52c48; }

.sg-videochat-booking__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.sg-videochat-booking__reset {
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    background: transparent;
    color: var(--sg-text);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
}

.sg-videochat-booking__reset[hidden] { display: none; }
[data-contact-preview] [hidden] { display: none !important; }
[data-contact-preview] .sg-videochat-booking__actions { flex-wrap: wrap; }
[data-contact-preview] .sg-videochat-booking__actions > * { width: auto; height: auto; min-height: 44px; max-width: 100%; margin: 0; padding: 10px 16px; box-sizing: border-box; aspect-ratio: auto; font: inherit; font-size: .84rem; text-align: center; text-decoration: none; }
[data-contact-preview] [data-contact-confirmation] { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: var(--sg-text); font-size: .84rem; line-height: 1.5; cursor: pointer; }
[data-contact-preview] [data-contact-confirm] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sg-accent-a); }
[data-contact-preview] [data-contact-paid] { padding-top: 10px; }
[data-contact-preview] [data-contact-other-profile] { display: inline-flex; text-decoration: none; }
[data-contact-preview] button:disabled { cursor: not-allowed; opacity: .55; }
[data-contact-preview] .sg-profile-action--primary:not(:disabled):hover { color: #1a1208; }
[data-contact-preview] [data-contact-create]:focus-visible,
[data-contact-preview] [data-contact-retry]:focus-visible,
[data-contact-preview] [data-contact-created-link]:focus-visible { outline: 3px solid var(--sg-accent-a); outline-offset: 3px; }
@media (max-width: 600px) {
    [data-contact-preview] .sg-videochat-booking__actions > * { width: 100%; flex: 0 0 auto; }
}
[data-chat-request-form] [hidden] { display: none; }
[data-chat-request-form] textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 100px;
    padding: 10px 13px;
    border: 1px solid var(--sg-border);
    border-radius: 13px;
    background: var(--sg-surface);
    color: var(--sg-text);
    font: inherit;
    resize: vertical;
}
[data-chat-request-form] textarea:focus {
    outline: 3px solid color-mix(in srgb, var(--sg-accent-a) 38%, transparent);
    outline-offset: 2px;
}
.sg-videochat-booking__submit {
    width: auto;
    min-width: 190px;
    margin: 0;
    padding-inline: 22px;
}

/* Keep the portaled preview above the desktop/mobile header, like the existing photo lightbox. */
[data-dateme-preview] { z-index: 2100; }

/* Date me keeps the primary gold background readable in both themes, including hover. */
[data-dateme-preview] [data-dateme-refresh],
[data-dateme-preview] [data-dateme-refresh]:not(:disabled):hover {
    color: #1a1208;
}

[data-dateme-preview] [data-dateme-create],
[data-dateme-preview] [data-dateme-create]:not(:disabled):hover,
[data-dateme-preview] [data-dateme-created-requests],
[data-dateme-preview] [data-dateme-created-requests]:hover { color: #1a1208; }
[data-dateme-preview] [data-dateme-create-url] [data-dateme-refresh],
[data-dateme-preview] [data-dateme-create-url] [data-dateme-refresh]:hover { color: var(--sg-text); }
[data-dateme-preview] [data-dateme-create-url] .sg-videochat-booking__actions { flex-wrap: wrap; }
[data-dateme-preview] [data-dateme-create-url] .sg-videochat-booking__actions > button { flex: 1 1 180px; width: auto; height: auto; aspect-ratio: auto; box-sizing: border-box; min-height: 48px; margin: 0; padding: 10px 16px; }
[data-dateme-preview] [data-dateme-create-url] button:disabled { cursor: wait; opacity: .65; }
[data-dateme-preview] [data-dateme-note] { resize: vertical; width: 100%; box-sizing: border-box; border: 1px solid var(--sg-border); border-radius: 13px; padding: 10px 13px; color: var(--sg-text); background: var(--sg-surface); font: inherit; }
[data-dateme-preview] [data-dateme-confirmation] { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: var(--sg-text); font-size: .84rem; line-height: 1.5; }
[data-dateme-preview] [data-dateme-consent] { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sg-accent-a); }
[data-dateme-preview] [data-dateme-created-requests] { box-sizing: border-box; margin-top: 18px; padding: 12px 20px; }
[data-dateme-preview] [data-dateme-confirmation][hidden],
[data-dateme-preview] [data-dateme-created-requests][hidden] { display: none; }

.sg-profile-section { margin-top: clamp(64px, 8vw, 104px); }

.sg-profile-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.sg-profile-section__heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.05; }
.sg-profile-carousel-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.sg-profile-carousel-controls button[hidden] { display: none; }

.sg-profile-related,
.sg-profile-posts {
    display: grid;
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--sg-accent-a) transparent;
    scrollbar-width: thin;
}

.sg-profile-related { grid-auto-columns: minmax(230px, 1fr); }
.sg-profile-related-card { position: relative; min-height: 340px; overflow: hidden; scroll-snap-align: start; }
.sg-profile-related-card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.sg-profile-related-card::after { position: absolute; inset: 32% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); content: ""; }
.sg-profile-related-card > span { position: absolute; z-index: 1; right: 20px; bottom: 20px; left: 20px; display: grid; color: #fff; }
.sg-profile-related-card strong { font-size: 1.25rem; }
.sg-profile-related-card small { color: rgba(255,255,255,.76); }

.sg-profile-posts { grid-auto-columns: minmax(340px, .75fr); }
.sg-profile-post { display: grid; min-height: 250px; grid-template-columns: 42% minmax(0, 1fr); overflow: hidden; scroll-snap-align: start; }
.sg-profile-post > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sg-profile-post > span { display: flex; min-width: 0; flex-direction: column; padding: 24px; }
.sg-profile-post strong { color: var(--sg-text); font-size: 1.15rem; line-height: 1.25; }
.sg-profile-post small { margin-top: 10px; color: var(--sg-muted); }
.sg-profile-post em { margin-top: auto; padding-top: 18px; color: var(--sg-accent-a); font-size: .82rem; font-style: normal; font-weight: 700; }

.sg-profile-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sg-profile-video-card { overflow: hidden; }
.sg-profile-video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.sg-profile-video-card h3 { margin: 0; padding: 16px 18px 20px; font-size: 1rem; }

.sg-public-profile > .sg-posts { padding-top: clamp(68px, 7vw, 98px); padding-bottom: clamp(54px, 6vw, 82px); }
.sg-public-profile > .sg-posts .sg-post-card { display: flex; flex-direction: column; }
.sg-public-profile > .sg-posts .sg-post-card__content { display: flex; min-height: 225px; flex: 1; flex-direction: column; }
.sg-public-profile > .sg-posts .sg-text-link { margin-top: auto; padding-top: 18px; }

.browse-cta-section { padding-bottom: 16px; }
.browse-cta-wrapper {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5vw, 60px) clamp(20px, 4vw, 46px);
    background:
        radial-gradient(circle at 10% 15%, color-mix(in srgb, var(--sg-accent-a) 14%, transparent), transparent 30rem),
        radial-gradient(circle at 92% 84%, color-mix(in srgb, var(--sg-accent-b) 12%, transparent), transparent 34rem),
        var(--sg-glass-strong);
}

.browse-cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(color-mix(in srgb, var(--sg-accent-a) 20%, transparent) 1px, transparent 1px);
    background-size: 23px 23px;
    mask-image: linear-gradient(125deg, rgba(0,0,0,.65), transparent 62%);
    opacity: .35;
    pointer-events: none;
}

.browse-cta-content { position: relative; z-index: 1; }
.browse-cta-section-title { margin: 0 0 34px; font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.045em; line-height: 1.08; text-align: center; }
.browse-cta-cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }

.sg-profile-browse-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--sg-surface);
    scroll-snap-align: start;
}

.sg-profile-browse-card > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.sg-profile-browse-card:hover > img { transform: scale(1.045); }
.sg-profile-browse-card .profile-overlay { position: absolute; inset: 34% 0 0; display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.sg-profile-browse-card .card-info { display: grid; color: #fff; }
.sg-profile-browse-card .card-info strong { font-size: clamp(.95rem, 1.5vw, 1.22rem); }
.sg-profile-browse-card .card-info small { margin-top: 3px; color: rgba(255,255,255,.74); font-size: .82rem; }
.browse-cta-button { display: flex; width: fit-content; margin: 34px auto 0; }

.sg-profile-dialog[hidden] { display: none; }
.sg-profile-dialog {
    position: fixed;
    z-index: 12050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}
.sg-profile-dialog__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(18, 13, 8, .76);
    backdrop-filter: blur(12px);
    cursor: default;
}
.sg-profile-dialog__panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: clamp(26px, 5vw, 42px);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: color-mix(in srgb, var(--sg-surface) 94%, transparent);
    box-shadow: var(--sg-shadow);
}
.sg-profile-dialog__panel h2 { margin: 8px 42px 12px 0; font-size: clamp(1.55rem, 4vw, 2.1rem); }
.sg-profile-dialog__panel p { margin: 0; color: var(--sg-muted); line-height: 1.65; }
.sg-profile-dialog__eyebrow { color: var(--sg-accent-a); font-size: .76rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.sg-profile-dialog__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    background: transparent;
    color: var(--sg-text);
    cursor: pointer;
}
.sg-profile-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sg-profile-dialog__actions .sg-button { flex: 1 1 180px; justify-content: center; }
body.sg-profile-dialog-open { overflow: hidden; }

.sg-profile-lightbox[hidden] { display: none; }
.sg-profile-lightbox { position: fixed; z-index: 12000; inset: 0; display: grid; place-items: center; padding: 20px; }
.sg-profile-lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); backdrop-filter: blur(16px); }

.sg-profile-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1180px, 100%);
    height: min(820px, calc(100svh - 40px));
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 14px;
}

.sg-profile-lightbox figure { display: grid; min-width: 0; max-height: 100%; justify-items: center; gap: 10px; margin: 0; }
.sg-profile-lightbox figure img { display: block; max-width: 100%; max-height: calc(100svh - 96px); border-radius: var(--sg-radius-md); object-fit: contain; box-shadow: var(--sg-shadow); }
.sg-profile-lightbox figcaption { color: #fff; font-size: .83rem; }
.sg-profile-lightbox__close { position: absolute; z-index: 2; top: 0; right: 0; background: rgba(0,0,0,.58); color: #fff; }
.sg-profile-lightbox__prev,
.sg-profile-lightbox__next { background: rgba(0,0,0,.58); color: #fff; }
.sg-profile-lightbox__prev[hidden],
.sg-profile-lightbox__next[hidden] { display: none; }
body.sg-profile-lightbox-open { overflow: hidden; }

@media (max-width: 1100px) {
    .sg-profile-action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sg-profile-card { max-height: none; }
}

@media (max-width: 920px) {
    .sg-profile-layout { grid-template-columns: 1fr; }
    .sg-profile-gallery { position: static; }
    .sg-profile-main-photo { max-height: none; aspect-ratio: 4 / 5; }
    .sg-profile-card { min-height: 0; }
    .sg-profile-panel { height: auto; max-height: none; }
    .sg-profile-video-grid { grid-template-columns: 1fr 1fr; }
    .browse-cta-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .sg-videochat-booking { padding: 8px; }
    .sg-videochat-booking__dialog { max-height: calc(100vh - 16px); padding: 20px 16px; border-radius: 20px; }
    .sg-videochat-booking__grid { grid-template-columns: 1fr; }
    .sg-videochat-booking__datetime { grid-column: auto; }
    .sg-videochat-booking__actions { align-items: stretch; flex-direction: column-reverse; }
    /* In the mobile column, the desktop 180px flex basis would become button height. */
    [data-dateme-preview] [data-dateme-create-url] .sg-videochat-booking__actions > button { flex: 0 0 auto; width: 100%; min-height: 44px; }
    .sg-videochat-booking__submit,
    .sg-videochat-booking__reset { width: 100%; }
    .sg-public-profile { padding: var(--sg-header-height) 0 72px; }
    .sg-profile-breadcrumb__inner { min-height: 0; flex-wrap: wrap; gap: 8px; padding-block: 9px; }
    .sg-profile-breadcrumb__trail { width: 100%; flex-basis: 100%; gap: 6px; font-size: .74rem; }
    .sg-profile-breadcrumb__trail li { gap: 6px; }
    .sg-profile-breadcrumb__city { display: none !important; }
    .sg-profile-controls { width: 100%; justify-content: flex-end; }
    .sg-profile-controls .lady-id { padding: 5px 10px; font-size: .72rem; }
    .sg-profile-action--moderation { min-height: 32px; padding: 6px 11px; }
    .sg-profile-content { padding-top: 18px; }
    .sg-profile-layout { gap: 18px; }
    .sg-profile-main-photo { aspect-ratio: 4 / 5; border-radius: var(--sg-radius-md); }
    .sg-profile-gallery__arrow { width: 40px; height: 40px; }
    .sg-profile-gallery__arrow--prev { left: 10px; }
    .sg-profile-gallery__arrow--next { right: 10px; }
    .sg-profile-gallery__counter { right: 12px; bottom: 12px; }
    .sg-profile-thumbs { gap: 7px; }
    .sg-profile-thumb { border-radius: var(--sg-radius-sm); }
    .sg-profile-gallery-empty { min-height: 360px; padding: 28px 20px; }
    .sg-profile-card { padding: 20px 16px; border-radius: var(--sg-radius-md); }
    .sg-profile-identity h1 { font-size: clamp(1.45rem, 7vw, 1.7rem); }
    .sg-profile-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sg-profile-tab { min-height: 58px; }
    .sg-profile-panels { padding: 20px 2px 14px; }
    .sg-profile-info-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 12px; }
    .sg-profile-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sg-profile-action--secondary { min-height: 58px; padding: 8px; }
    .sg-profile-action--secondary small { display: none; }
    .sg-profile-action-status { right: 14px; bottom: 14px; left: 14px; max-width: none; }
    .sg-profile-section { margin-top: 64px; }
    .sg-profile-section__heading { align-items: flex-end; }
    .sg-profile-carousel-controls .sg-icon-button { width: 40px; height: 40px; }
    .sg-profile-related { grid-auto-columns: minmax(230px, 84%); }
    .sg-profile-posts { grid-auto-columns: 88%; }
    .sg-profile-post { min-height: 390px; grid-template-columns: 1fr; grid-template-rows: 52% 1fr; }
    .sg-profile-post > span { padding: 18px; }
    .sg-profile-video-grid { grid-template-columns: 1fr; }
    .sg-public-profile > .sg-posts { padding-top: 64px; padding-bottom: 58px; }
    .browse-cta-section { width: 100%; padding-left: 14px; padding-right: 14px; }
    .browse-cta-wrapper { padding: 32px 18px; border-radius: var(--sg-radius-md); }
    .browse-cta-section-title { margin-bottom: 24px; font-size: 2rem; text-align: left; }
    .browse-cta-cards-grid { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--sg-border) transparent; scrollbar-width: thin; }
    .sg-profile-browse-card { min-width: min(250px, 76vw); }
    .sg-profile-browse-card .profile-overlay { padding: 16px; }
    .browse-cta-button { width: 100%; margin-top: 24px; }
    .sg-profile-lightbox { padding: 10px; }
    .sg-profile-lightbox__dialog { height: calc(100svh - 20px); grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 4px; }
    .sg-profile-lightbox .sg-icon-button { width: 40px; height: 40px; }
    .sg-profile-lightbox figure img { max-height: calc(100svh - 74px); }
}

@media (prefers-reduced-motion: reduce) {
    .sg-public-profile *, .sg-public-profile *::before, .sg-public-profile *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
