.profile-catalog {
  --profile-border: color-mix(in srgb, var(--hub-ink, #171717) 10%, transparent);
  --profile-muted: var(--hub-muted, #898989);
  --profile-accent: #367b9c;
  --profile-soft: color-mix(in srgb, var(--surface, #fff) 96%, var(--hub-ink, #171717) 4%);
  width: 100%;
  max-width: 1460px;
  min-width: 0;
  margin: 0 auto;
  padding: 34px 28px 44px;
  color: var(--hub-ink, #171717);
  font: inherit;
  box-sizing: border-box;
}
.profile-catalog *, .profile-gallery * { box-sizing: border-box; }
.profile-catalog button, .profile-catalog input, .profile-catalog select,
.profile-gallery button { font: inherit; }
.profile-catalog button, .profile-catalog a, .profile-gallery button, .profile-gallery a { -webkit-tap-highlight-color: transparent; }
.profile-catalog button, .profile-gallery button { cursor: pointer; }
.profile-catalog button:focus-visible, .profile-catalog a:focus-visible,
.profile-catalog input:focus-visible, .profile-catalog select:focus-visible,
.profile-gallery button:focus-visible, .profile-gallery a:focus-visible {
  outline: 2px solid var(--hub-ink, #171717);
  outline-offset: 3px;
}
.profile-catalog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.profile-heading { min-width: 0; }
.profile-heading-with-info { display: flex; align-items: center; position: relative; gap: 9px; max-width: 100%; width: fit-content; }
/* Inter's visible capitals sit above the line-box centre. Align the info glyph optically. */
.profile-category-info { display: inline-flex; position: relative; top: -1px; flex: 0 0 auto; }
.profile-category-info-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 4px; border: 0; border-radius: 50%; color: var(--profile-muted); background: transparent; }
.profile-category-info-button:hover, .profile-category-info-button:focus-visible, .profile-category-info-button[aria-expanded='true'] { color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); }
.profile-category-tooltip { position: absolute; z-index: 30; top: 0; left: calc(100% + 10px); width: min(360px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 12px 14px; border: 1px solid var(--profile-border); border-radius: 12px; color: var(--hub-ink, #171717); background: var(--surface, #fff); box-shadow: 0 7px 25px #00000014; font-size: 12px; font-weight: 400; letter-spacing: normal; line-height: 1.65; overflow-wrap: anywhere; overflow: auto; }
.profile-category-info[data-open]::after { content: ''; position: absolute; z-index: 29; top: var(--profile-tooltip-top, 0px); left: 100%; width: 12px; height: var(--profile-tooltip-height, 30px); }
.profile-category-info[data-open][data-side='left']::after { left: auto; right: 100%; }
.profile-category-tooltip[hidden] { display: none !important; }
.profile-eyebrow { display: block; margin: 0 0 12px; color: var(--hub-muted, #898989); font-size: 10px; font-weight: 500; letter-spacing: .12em; line-height: 1.3; }
.profile-heading h1 { margin: 0; font-size: clamp(27px, 2.6vw, 38px); line-height: 1.2; font-weight: 500; letter-spacing: -.04em; overflow-wrap: anywhere; }
.profile-heading-subtitle { margin: 12px 0 0; color: var(--profile-muted); font-size: 13px; line-height: 1.5; }
.profile-account { flex: 0 0 168px; width: 168px; margin-top: 2px; }
.profile-account-button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 11px; color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); font-size: 12px !important; font-weight: 400; line-height: 1; }
.profile-account-button:hover { background: var(--pill-hover, #e7e7e7); }
.profile-category-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 30px 0 24px; padding: 0; }
.profile-category-tabs a { display: inline-flex; min-height: 34px; padding: 8px 13px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 11px; color: var(--profile-muted); background: transparent; text-decoration: none; font-size: 12px; line-height: 1.2; transition: background .18s, color .18s; }
.profile-category-tabs a:hover { color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); }
.profile-category-tabs a[aria-current] { color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); border-color: var(--profile-border); }
.profile-filter-panel { padding: 14px 16px 13px; border: 1px solid var(--profile-border); border-radius: 18px; background: var(--surface, #fff); }
.profile-search { display: flex; align-items: center; gap: 11px; width: 100%; color: var(--profile-muted); }
.profile-search input { width: 100%; min-width: 0; height: 36px; padding: 0; border: 0; border-radius: 5px; color: var(--hub-ink, #171717); background: transparent; font-size: 14px; }
.profile-search input::placeholder { color: var(--profile-muted); opacity: 1; }
.profile-search input:focus-visible { outline-offset: 4px; }
.profile-filter-fields { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 18px; align-items: end; margin-top: 11px; padding-top: 14px; border-top: 1px solid var(--profile-border); }
.profile-filter-field { min-width: 0; }
.profile-filter-field label, .profile-age-field legend { display: block; padding: 0; color: var(--profile-muted); font-size: 10px; line-height: 1.3; }
.profile-filter-field select { width: 100%; max-width: 100%; height: 34px; margin-top: 5px; padding: 0 24px 0 0; border: 0; border-radius: 5px; color: var(--hub-ink, #171717); background-color: transparent; font-size: 12px; text-overflow: ellipsis; cursor: pointer; }
.profile-filter-field option { color: var(--hub-ink, #171717); background: var(--surface, #fff); }
.profile-age-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.profile-age-inputs { display: flex; gap: 7px; align-items: center; margin-top: 5px; }
.profile-age-inputs input { width: 60px; min-width: 0; height: 34px; padding: 0 6px; border: 0; border-radius: 7px; color: var(--hub-ink, #171717); background: var(--profile-soft); font-size: 12px; appearance: textfield; -moz-appearance: textfield; }
.profile-age-inputs input::-webkit-inner-spin-button, .profile-age-inputs input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.profile-age-inputs input::placeholder { color: var(--profile-muted); opacity: 1; }
.profile-age-inputs > span { color: var(--profile-muted); font-size: 11px; }
.profile-reset { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 2px; border: 0; border-radius: 6px; color: var(--profile-muted); background: transparent; font-size: 11px !important; }
.profile-reset:not(:disabled):hover { color: var(--hub-ink, #171717); }
.profile-reset:disabled { opacity: .4; cursor: default; }
.profile-results-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 25px 0 15px; color: var(--profile-muted); font-size: 11px; }
.profile-results-heading p { margin: 0; }
.profile-results-heading strong { color: var(--hub-ink, #171717); font-weight: 500; }
.profile-demo-caption { font-size: 10px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; min-width: 0; }
.profile-card { display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 1fr); gap: 14px; position: relative; isolation: isolate; min-width: 0; padding: 12px; border: 1px solid var(--profile-border); border-radius: 23px; background: var(--surface, #fff); transition: border-color .25s, box-shadow .25s; }
.profile-card:hover, .profile-card:focus-within { border-color: color-mix(in srgb, var(--hub-ink, #171717) 19%, transparent); box-shadow: 0 6px 22px #00000004; }
.profile-card-visual { position: relative; z-index: 1; min-width: 0; padding: 5px 0; }
.profile-photo-stack { position: relative; width: 100%; height: 100%; min-height: 300px; }
.profile-photo { display: block; position: relative; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background-color: var(--pill, #eaeaea); container-type: size; }
.profile-photo-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; background-repeat: no-repeat; }
.profile-photo[data-sprite] > .profile-photo-image { inset: 0 auto auto 50%; width: max(100cqw, calc(100cqh * var(--profile-image-ratio, .8))); height: auto; aspect-ratio: var(--profile-image-ratio, .8); transform: translateX(-50%); }
.profile-photo-empty { display: grid; place-items: center; color: var(--hub-muted, #929292); }
.profile-contact-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 12px 0 8px; }
.profile-phone-link, .profile-telegram-link { display: inline-flex; flex: 1 1 84px; align-items: center; justify-content: center; gap: 7px; min-width: 0; max-width: 100%; min-height: 34px; margin: 0; padding: 8px; border-radius: 10px; background: var(--pill, #f0f0f0); color: var(--hub-ink, #171717); font-size: 11px; line-height: 1.4; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.profile-phone-link:hover, .profile-telegram-link:hover { background: var(--pill-hover, #e7e7e7); }
.profile-phone-link svg, .profile-telegram-link svg { flex: 0 0 auto; }
.profile-telegram-link > span { min-width: 0; }
.profile-gallery-contact-actions { gap: 8px; margin: -10px 0 23px; }
.profile-gallery-contact-actions .profile-phone-link, .profile-gallery-contact-actions .profile-telegram-link { flex-basis: 145px; min-height: 42px; padding: 10px 12px; font-size: 13px; }
.profile-photo-front { display: block; position: relative; z-index: 3; width: 100%; height: 100%; min-height: 300px; padding: 0; border: 0; border-radius: 15px; overflow: hidden; background: var(--pill, #eaeaea); box-shadow: 0 4px 11px #0000000b; }
.profile-photo-count { display: flex; position: absolute; left: 9px; bottom: 16px; z-index: 5; align-items: center; gap: 5px; height: 25px; padding: 0 8px; border: 1px solid #ffffff30; border-radius: 8px; color: #fff; background: #19191980; backdrop-filter: blur(9px); font-size: 10px !important; font-weight: 500; transition: background .2s; }
.profile-photo-count:hover { background: #191919b8; }
.profile-card-copy { display: flex; position: relative; z-index: 4; min-width: 0; flex-direction: column; align-items: stretch; padding: 10px 1px 5px 0; background: var(--surface, #fff); }
.profile-card-topline { min-height: 23px; margin-bottom: 11px; }
.profile-demo { display: inline-flex; align-items: center; width: fit-content; min-height: 21px; padding: 4px 7px; border-radius: 6px; color: var(--profile-accent, #367b9c); background: color-mix(in srgb, #5e9db8 12%, var(--surface, #fff)); font-size: 9px; font-weight: 500; line-height: 1.3; }
.profile-card-kind { color: var(--profile-muted); font-size: 10px; }
.profile-photo-verified { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 6px; border-radius: 7px; color: #397c68; background: color-mix(in srgb, #4c927b 10%, var(--surface, #fff)); font-size: 9px; line-height: 1.4; }
.profile-photo-verified > svg { flex: 0 0 auto; }
.profile-photo-verified > span { min-width: 0; }
.profile-gallery-verified { display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid color-mix(in srgb, #4c927b 15%, transparent); border-radius: 11px; color: #397c68; background: color-mix(in srgb, #4c927b 7%, var(--surface, #fff)); font-size: 11px; line-height: 1.65; }
.profile-gallery-verified > svg { flex: 0 0 auto; margin-top: 1px; }
.profile-gallery-verified p { margin: 0; }
:root[data-theme='dark'] .profile-photo-verified, :root[data-theme='dark'] .profile-gallery-verified,
:root[data-mode='dark'] .profile-photo-verified, :root[data-mode='dark'] .profile-gallery-verified { color: #93ceba; }
.profile-name { margin: 0; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.15; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; }
.profile-name button { max-width: 100%; padding: 0; border: 0; border-radius: 3px; color: inherit; background: transparent; text-align: left; letter-spacing: inherit; line-height: inherit; }
.profile-city { display: flex; align-items: center; gap: 4px; margin: 10px 0 18px; color: var(--profile-muted); font-size: 10px; line-height: 1.4; }
.profile-city svg { flex: 0 0 auto; }
.profile-facts { display: flex; flex-direction: column; gap: 10px; margin: 0; font-size: 11px; line-height: 1.3; }
.profile-facts > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 9px; }
.profile-facts dt { color: var(--profile-muted); font-weight: 400; }
.profile-facts dd { margin: 0; color: var(--hub-ink, #171717); font-weight: 400; white-space: nowrap; }
.profile-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 18px; }
.profile-tags > span, .profile-tags > a { display: inline-block; max-width: 100%; padding: 5px 7px; border-radius: 6px; color: var(--profile-muted); background: var(--profile-soft, #f5f5f5); font-size: 8px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.profile-details-button { display: flex; justify-content: space-between; align-items: center; gap: 4px; width: 100%; min-height: 35px; margin-top: auto; padding: 9px 11px; border: 0; border-radius: 9px; color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); font-size: 10px !important; transition: background .2s; }
.profile-details-button:hover { background: var(--pill-hover, #e8e8e8); }
.profile-details-button svg { flex: 0 0 auto; }
.profile-catalog-hint { margin: 23px 0 0; color: var(--profile-muted); font-size: 10px; line-height: 1.5; }
.profile-empty { display: flex; min-height: 300px; padding: 35px 20px; flex-direction: column; justify-content: center; align-items: center; border: 1px dashed var(--profile-border); border-radius: 23px; text-align: center; color: var(--profile-muted); }
.profile-empty h2 { margin: 16px 0 0; color: var(--hub-ink, #171717); font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.profile-empty p { margin: 9px 0 0; font-size: 13px; line-height: 1.5; }
.profile-empty-button { margin-top: 20px; padding: 10px 15px; border: 0; border-radius: 10px; color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); font-size: 12px !important; }
.profile-card-skeleton { display: flex; gap: 22px; height: 338px; padding: 16px; border: 1px solid var(--profile-border); border-radius: 23px; background: var(--surface, #fff); }
.profile-card-skeleton > span { width: 48%; border-radius: 15px; background: var(--pill, #f0f0f0); }
.profile-card-skeleton > div { flex: 1; padding-top: 30px; }
.profile-card-skeleton i { display: block; height: 13px; margin-bottom: 20px; border-radius: 6px; background: var(--pill, #f0f0f0); }
.profile-card-skeleton i:first-child { width: 70%; height: 23px; margin-bottom: 40px; }
.profile-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.profile-gallery { --profile-muted: var(--hub-muted, #898989); --profile-border: color-mix(in srgb, var(--hub-ink, #171717) 10%, transparent); --profile-soft: color-mix(in srgb, var(--surface, #fff) 96%, var(--hub-ink, #171717) 4%); width: min(920px, calc(100vw - 44px)); max-width: none; max-height: calc(100dvh - 44px); padding: 25px; border: 1px solid var(--profile-border); border-radius: 25px; color: var(--hub-ink, #171717); background: var(--surface, #fff); box-shadow: 0 25px 100px #00000030; overflow: auto; overscroll-behavior: contain; font: inherit; }
.profile-gallery::backdrop { background: #00000055; backdrop-filter: blur(7px); }
.profile-gallery { --profile-dialog-padding: 25px; }
.profile-gallery-header { display: flex; position: sticky; top: 0; z-index: 10; align-items: center; justify-content: space-between; gap: 20px; margin: calc(-1 * var(--profile-dialog-padding)) calc(-1 * var(--profile-dialog-padding)) 23px; padding: var(--profile-dialog-padding) var(--profile-dialog-padding) 15px; background: var(--surface, #fff); box-shadow: 0 1px 0 var(--profile-border); }
.profile-gallery-header .profile-eyebrow { margin-bottom: 5px; }
.profile-gallery-header h2 { margin: 0; font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.profile-gallery-title { min-width: 0; }
.profile-gallery-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.profile-gallery-language {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 10px;
  gap: 7px !important;
  border-radius: 10px;
  background: var(--pill, #f0f0f0);
}
.profile-gallery-language:hover { background: var(--pill-hover, #e7e7e7); }
.profile-gallery-language > svg { display: block; flex: 0 0 15px; }
/* The shared header switcher is compact; match the gallery toolbar here. */
.profile-gallery-language > select {
  min-width: 0;
  height: 36px !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}
.profile-gallery-language:has(select:focus-visible) { outline: 2px solid var(--hub-ink, #171717); outline-offset: 3px; }
.profile-gallery-language > select:focus-visible { outline: none; }
.profile-gallery-videos-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 10px; color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); font-size: 12px !important; line-height: 1.3; white-space: nowrap; }
.profile-gallery-videos-link:hover { background: var(--pill-hover, #e7e7e7); }
@media (max-width: 650px) {
  .profile-gallery-header { flex-wrap: wrap; gap: 12px; }
  .profile-gallery-title { flex: 1 1 100%; padding-right: 45px; }
  .profile-gallery-header-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px; width: 100%; }
  .profile-gallery-language { min-width: 0; height: 34px; padding: 0 9px; gap: 5px !important; }
  .profile-gallery-language > select { flex: 1 1 0; width: 0 !important; max-width: none !important; height: 34px !important; font-size: 11px !important; }
  .profile-gallery-header-actions .profile-gallery-close { position: absolute; top: var(--profile-dialog-padding); right: var(--profile-dialog-padding); }
  .profile-gallery-videos-link { min-width: 0; min-height: 34px; padding: 8px; gap: 5px; font-size: 11px !important; }
}
.profile-icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); }
.profile-icon-button svg { display: block; }
.profile-gallery-close:hover { background: var(--pill-hover, #e7e7e7); }
.profile-gallery-content { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; }
.profile-gallery-photos { min-width: 0; }
.profile-gallery-image { position: relative; width: 100%; aspect-ratio: .73; max-height: 60dvh; border-radius: 17px; overflow: hidden; background: var(--pill, #f0f0f0); }
.profile-gallery-image .profile-photo:not([data-sprite]) > .profile-photo-image { background-size: contain !important; }
.profile-gallery-image .profile-photo[data-sprite] > .profile-photo-image { top: 50%; left: 50%; width: min(100cqw, calc(100cqh * var(--profile-image-ratio, .8))); height: auto; aspect-ratio: var(--profile-image-ratio, .8); transform: translate(-50%, -50%); }
.profile-gallery-controls { display: flex; position: absolute; right: 13px; top: 50%; left: 13px; justify-content: space-between; align-items: center; transform: translateY(-50%); pointer-events: none; }
.profile-gallery-controls .profile-icon-button { width: 42px; height: 42px; color: #fff; background: #11111177; backdrop-filter: blur(8px); pointer-events: auto; }
.profile-gallery-controls .profile-icon-button:hover { background: #111111b0; }
.profile-gallery-prev svg { transform: rotate(180deg); }
.profile-gallery-position { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 8px; color: #fff; background: #11111177; backdrop-filter: blur(8px); font-size: 11px; line-height: 1.2; font-variant-numeric: tabular-nums; pointer-events: none; }
.profile-gallery-thumbnails { display: flex; gap: 9px; margin-top: 12px; overflow-x: auto; padding: 3px; }
.profile-gallery-thumbnail { flex: 0 0 62px; width: 62px; height: 79px; padding: 3px; border: 1px solid transparent; border-radius: 10px; background: transparent; opacity: .65; transition: opacity .2s; }
.profile-gallery-thumbnail .profile-photo { border-radius: 7px; }
.profile-gallery-thumbnail[aria-pressed=true] { border-color: var(--hub-ink, #171717); opacity: 1; }
.profile-gallery-thumbnail:hover { opacity: 1; }
.profile-gallery-info { min-width: 0; padding: 6px 0 0; }
.profile-gallery-city { display: flex; align-items: center; gap: 7px; margin: 21px 0 25px; color: var(--profile-muted); font-size: 13px; }
.profile-gallery-facts { gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--profile-border); font-size: 13px; }
.profile-gallery-about { margin-top: 25px; }
.profile-gallery-about h3, .profile-gallery-categories h3 { margin: 0; font-size: 13px; font-weight: 500; }
.profile-gallery-about p { margin: 12px 0 0; color: var(--profile-muted); font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-line; }
.profile-gallery-categories { margin-top: 25px; }
.profile-gallery-categories .profile-tags { margin-top: 10px; }
.profile-gallery-categories .profile-tags a { font-size: 10px; }
.profile-gallery-categories .profile-tags a:hover { color: var(--hub-ink, #171717); }
.profile-demo-note { margin: 30px 0 0; padding: 13px 14px; border-radius: 11px; color: var(--profile-muted); background: var(--profile-soft); font-size: 11px; line-height: 1.65; }
@media (min-width: 1600px) { .profile-catalog { padding: 42px 48px 50px; } .profile-grid { gap: 26px; } .profile-card { gap: 22px; padding: 16px; } .profile-photo-stack, .profile-photo-front { min-height: 370px; } .profile-card-copy { padding: 15px 7px 10px 0; } .profile-city { font-size: 12px; margin-bottom: 25px; } .profile-facts { font-size: 13px; gap: 13px; } .profile-tags > span { font-size: 10px; } .profile-details-button { font-size: 12px !important; min-height: 40px; } }
@media (max-width: 1120px) and (min-width: 821px) { .profile-catalog { padding: 28px 22px 40px; } .profile-filter-fields { gap: 12px; grid-template-columns: minmax(0, 1fr) 135px minmax(0, 1.2fr); } .profile-reset { grid-column: 1 / -1; justify-self: end; height: 23px; margin-top: -4px; } .profile-grid { grid-template-columns: minmax(0, 1fr); } .profile-card { gap: 28px; grid-template-columns: minmax(0, 47%) minmax(0, 1fr); padding: 17px; } .profile-card-copy { padding: 15px 14px 10px 0; } .profile-photo-stack, .profile-photo-front { min-height: 370px; } .profile-name { font-size: 30px; } .profile-city { margin-bottom: 27px; font-size: 12px; } .profile-facts { gap: 15px; font-size: 13px; } .profile-tags > span { font-size: 10px; } .profile-details-button { min-height: 42px; font-size: 13px !important; } }
@media (max-width: 820px) { .profile-catalog { padding: 22px 20px 34px; } .profile-catalog-header { gap: 15px; } .profile-heading h1 { font-size: 30px; } .profile-heading-subtitle { max-width: 280px; font-size: 12px; } .profile-account { margin-top: 0; } .profile-category-tabs { margin-top: 25px; gap: 5px; } .profile-category-tabs a { font-size: 11px; padding: 8px 10px; } .profile-grid { gap: 18px; } .profile-card { gap: 12px; padding: 10px; } .profile-photo-stack, .profile-photo-front { min-height: 280px; } .profile-name { font-size: 23px; } .profile-facts { font-size: 10px; gap: 9px; } .profile-card-copy { padding-top: 6px; } .profile-card-topline { margin-bottom: 8px; } .profile-tags { margin-top: 14px; } .profile-filter-fields { gap: 16px; grid-template-columns: minmax(0, 1fr) 135px minmax(0, 1.1fr); } .profile-reset { grid-column: 1 / -1; justify-self: end; height: 22px; margin-top: -6px; } .profile-gallery { padding: 22px; } .profile-gallery-content { gap: 24px; } }
@media (max-width: 650px) { .profile-catalog { padding: 18px 15px 30px; } .profile-heading h1 { font-size: 27px; } .profile-heading-subtitle { display: none; } .profile-eyebrow { margin-bottom: 9px; font-size: 9px; } .profile-account-button { gap: 6px; padding: 0 8px; font-size: 11px !important; } .profile-category-tabs { margin-top: 22px; margin-bottom: 18px; } .profile-category-tabs a { min-height: 32px; padding: 8px 9px; font-size: 10px; } .profile-filter-panel { padding: 11px 12px 12px; border-radius: 15px; } .profile-filter-fields { grid-template-columns: minmax(0, 1fr) 135px; gap: 13px 18px; } .profile-sort-field { grid-column: 1; } .profile-reset { grid-column: 2; height: 34px; margin-top: 0; } .profile-grid { grid-template-columns: minmax(0, 1fr); } .profile-card { grid-template-columns: minmax(0, 48%) minmax(0, 1fr); gap: 17px; padding: 12px; } .profile-photo-stack, .profile-photo-front { min-height: 315px; } .profile-card-copy { padding: 12px 5px 7px 0; } .profile-name { font-size: 28px; } .profile-city { margin-bottom: 20px; font-size: 11px; } .profile-facts { gap: 12px; font-size: 11px; } .profile-tags > span { font-size: 9px; } .profile-details-button { min-height: 38px; font-size: 11px !important; } .profile-results-heading { margin-top: 21px; } .profile-demo-caption { font-size: 9px; } .profile-catalog-hint { font-size: 9px; } .profile-gallery { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 18px; border-radius: 21px; } .profile-gallery-header { margin-bottom: 18px; } .profile-gallery-header h2 { font-size: 26px; } .profile-gallery-content { grid-template-columns: minmax(0, 1fr); gap: 20px; } .profile-gallery-image { aspect-ratio: .8; max-height: 58dvh; } .profile-gallery-thumbnails { margin-top: 8px; } .profile-gallery-info { padding-top: 0; } .profile-gallery-city { margin: 16px 0 20px; } .profile-demo-note { margin-top: 23px; } }
@media (max-width: 390px) { .profile-catalog { padding-right: 12px; padding-left: 12px; } .profile-catalog-header { gap: 9px; } .profile-heading h1 { font-size: 23px; } .profile-account-button { font-size: 10px !important; } .profile-card { gap: 12px; padding: 9px; border-radius: 20px; } .profile-photo-stack, .profile-photo-front { min-height: 285px; } .profile-card-copy { padding-right: 0; } .profile-name { font-size: 24px; } .profile-facts { font-size: 10px; } .profile-city { font-size: 10px; } .profile-tags > span { padding: 4px 5px; font-size: 8px; } .profile-details-button { padding: 9px 7px; font-size: 10px !important; } .profile-details-button svg { width: 14px; } .profile-demo-caption { font-size: 8px; } }
@media (max-width: 820px) { .profile-gallery { --profile-dialog-padding: 22px; } }
@media (max-width: 650px) { .profile-gallery { --profile-dialog-padding: 18px; } }
@media (max-width: 480px) {
  .profile-catalog-header { flex-direction: column; align-items: stretch; gap: 14px; }
  .profile-heading h1 { overflow-wrap: normal; word-break: normal; }
  .profile-account { flex: 0 0 auto; align-self: flex-end; width: 168px; min-width: 168px; }
}
@media (max-width: 390px) {
  .profile-catalog { padding-right: 4px; padding-left: 4px; }
}
@media (max-width: 360px) {
  .profile-filter-fields { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .profile-sort-field { grid-column: 1; }
  .profile-reset { grid-column: 1; }
  .profile-age-inputs input { flex: 1; width: 0; }
}
@media (prefers-reduced-motion: reduce) { .profile-catalog *, .profile-gallery * { transition-duration: 0s !important; animation-duration: 0s !important; } }

.profile-filter-fields { grid-template-columns: minmax(90px, 1fr) 135px minmax(280px, 1.6fr) auto; }
.profile-sort-controls { display: flex; align-items: flex-end; gap: 14px; min-width: 0; }
.profile-sort-controls .profile-sort-field { flex: 1 1 120px; min-width: 85px; }
.profile-advanced-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-height: 34px; max-width: 100%; padding: 7px 10px; border: 1px solid transparent; border-radius: 9px; color: var(--hub-ink, #171717); background: var(--pill, #f0f0f0); font-size: 11px !important; line-height: 1.4; }
.profile-advanced-toggle:hover { background: var(--pill-hover, #e7e7e7); }
.profile-advanced-toggle[aria-expanded='true'] { border-color: var(--profile-border); background: var(--profile-soft); }
.profile-advanced-toggle svg { flex: 0 0 auto; }
.profile-filter-count { display: inline-grid; place-items: center; flex: 0 0 auto; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; color: var(--surface, #fff); background: var(--hub-ink, #171717); font-size: 9px; font-variant-numeric: tabular-nums; }
.profile-advanced-search { margin-top: 17px; padding-top: 18px; border-top: 1px solid var(--profile-border); }
.profile-advanced-search[hidden] { display: none !important; }
.profile-advanced-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 18px; }
.profile-advanced-heading h2 { font-size: 13px; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.profile-advanced-caption { display: block; font-size: 10px; line-height: 1.6; color: var(--profile-muted); margin: 0; }
.profile-advanced-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px 25px; }
.profile-advanced-field > input { width: 100%; height: 36px; min-width: 0; margin-top: 7px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--profile-soft); color: var(--hub-ink, #171717); font-size: 12px; }
.profile-advanced-field > input::placeholder { color: var(--profile-muted); opacity: 1; }
.profile-advanced-field > select { height: 36px; margin-top: 7px; padding-left: 9px; background-color: var(--profile-soft); border-radius: 8px; }
.profile-advanced-field > select:disabled { color: var(--profile-muted); opacity: .65; cursor: default; }
.profile-advanced-field > .profile-advanced-caption { margin-top: 5px; font-size: 9px; }
.profile-district-picker { min-width: 0; margin-top: 7px; }
.profile-district-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 8px; color: var(--hub-ink, #171717); background: var(--profile-soft); text-align: left; font: inherit; font-size: 12px; line-height: 1.5; }
.profile-district-trigger > span { min-width: 0; overflow-wrap: anywhere; }
.profile-district-trigger > svg { flex: 0 0 auto; transform: rotate(90deg); }
.profile-district-trigger[aria-expanded='true'] > svg { transform: rotate(-90deg); }
.profile-district-trigger:disabled { color: var(--profile-muted); opacity: .65; cursor: default; }
.profile-district-popup { min-width: 0; margin-top: 7px; padding: 7px; border: 1px solid var(--profile-border); border-radius: 11px; background: var(--surface, #fff); }
.profile-district-search { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 0 9px; border: 1px solid var(--profile-border); border-radius: 7px; background: var(--profile-soft); color: var(--profile-muted); }
.profile-district-search:focus-within { border-color: var(--hub-ink, #171717); }
.profile-district-search > svg { flex: 0 0 auto; }
.profile-district-search > input { min-width: 0; width: 100%; height: 36px; margin: 0; padding: 0; border: 0; outline: none; background: transparent; color: var(--hub-ink, #171717); font: inherit; font-size: 12px; }
.profile-district-search > input::placeholder { color: var(--profile-muted); opacity: 1; }
.profile-catalog .profile-district-search > input:focus-visible { outline: none; }
.profile-district-options { position: relative; max-height: 210px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin-top: 6px; }
.profile-district-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 35px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: var(--hub-ink, #171717); text-align: left; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }
.profile-district-option > span { min-width: 0; overflow-wrap: anywhere; }
.profile-district-option > svg { flex: 0 0 auto; }
.profile-district-option:hover, .profile-district-option[data-highlighted] { background: var(--profile-soft); }
.profile-district-option[aria-selected='true'] { font-weight: 500; }
.profile-district-status { margin: 6px 7px 2px; color: var(--profile-muted); font-size: 10px; line-height: 1.5; }
.profile-filter-section-title { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.profile-filter-section-title > svg { display: block; flex: 0 0 auto; color: var(--profile-muted); }
.profile-range-field input[aria-invalid='true'] { box-shadow: inset 0 0 0 1px #bd3d4c80; }
.profile-advanced-grid .profile-range-field .profile-age-inputs { margin-top: 7px; }
.profile-advanced-grid .profile-range-field input { flex: 1; width: 0; min-width: 0; height: 36px; padding: 0 10px; border-radius: 8px; }
.profile-price-filter { display: grid; grid-template-columns: minmax(0, 1fr) 84px; align-items: start; gap: 12px; grid-column: span 2; }
.profile-price-filter .profile-range-field { min-width: 0; }
.profile-multi-filter { min-width: 0; margin: 20px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--profile-border); }
.profile-multi-filter legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; color: var(--hub-ink, #171717); font-size: 11px; font-weight: 500; }
.profile-multi-filter > .profile-advanced-caption { clear: both; margin-bottom: 10px; }
.profile-multi-options { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-multi-option { display: inline-flex; align-items: center; gap: 7px; min-height: 33px; padding: 6px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--profile-muted); background: var(--profile-soft); font-size: 11px; cursor: pointer; }
.profile-multi-option:hover { color: var(--hub-ink, #171717); }
.profile-multi-option[data-selected] { color: var(--hub-ink, #171717); border-color: var(--profile-border); background: var(--pill); }
.profile-multi-option input { flex: 0 0 auto; width: 13px; height: 13px; margin: 0; accent-color: var(--hub-ink, #171717); cursor: pointer; }
.profile-services-filter { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--profile-border); }
.profile-services-filter > h3 { margin: 0 0 5px; font-size: 13px; font-weight: 500; }
.profile-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 15px; }
.profile-services-grid .profile-multi-filter { margin: 0; padding: 15px; border: 1px solid var(--profile-border); border-radius: 13px; }
.profile-services-grid .profile-multi-filter > .profile-advanced-caption { margin-bottom: 8px; }
.profile-services-grid .profile-multi-options { clear: both; }
.profile-services-grid .profile-multi-option { max-width: 100%; line-height: 1.5; transition: color .16s, background .16s, border-color .16s; }
.profile-gallery-prices, .profile-gallery-services { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--profile-border); }
.profile-gallery-prices h3, .profile-gallery-services > h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; }
.profile-price-list, .profile-card-prices { display: flex; flex-direction: column; gap: 9px; margin: 0; font-size: 12px; line-height: 1.5; }
.profile-price-list > div, .profile-card-prices > div { display: flex; justify-content: space-between; gap: 8px 14px; }
.profile-price-list dt, .profile-card-prices dt { color: var(--profile-muted); }
.profile-price-list dd, .profile-card-prices dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.profile-card-prices { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--profile-border); gap: 6px; font-size: 10px; }
.profile-service-list { display: flex; flex-direction: column; gap: 15px; }
.profile-service-group h4 { margin: 0 0 8px; color: var(--profile-muted); font-size: 11px; font-weight: 400; }
.profile-service-group ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.profile-service-group li { max-width: 100%; padding: 6px 9px; border-radius: 7px; background: var(--profile-soft); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 650px) { .profile-services-grid { grid-template-columns: minmax(0, 1fr); } .profile-services-grid .profile-multi-filter { padding: 13px; } }
.profile-filter-errors { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; padding: 11px 12px; border-radius: 9px; background: color-mix(in srgb, #b83d4c 7%, var(--surface, #fff)); color: #b23846; font-size: 11px; line-height: 1.6; }
.profile-filter-errors p { margin: 0; }
.profile-applied-count { display: inline-block; padding-left: 12px; color: var(--profile-muted); font-size: 10px; }
.profile-gallery-attributes { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--profile-border); font-size: 12px; line-height: 1.6; }
.profile-gallery-attributes > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 18px; }
.profile-gallery-attributes dt { color: var(--profile-muted); font-weight: 400; }
.profile-gallery-attributes dd { max-width: 65%; margin: 0; text-align: right; color: var(--hub-ink, #171717); overflow-wrap: anywhere; }
:root[data-theme='dark'] .profile-filter-errors, :root[data-mode='dark'] .profile-filter-errors { color: #ff99a3; }
@media (max-width: 1120px) {
  .profile-filter-fields { grid-template-columns: minmax(0, 1fr) 135px; gap: 14px 20px; }
  .profile-sort-controls { grid-column: 1/-1; }
  .profile-sort-controls .profile-sort-field { flex-grow: 1; }
  .profile-reset { grid-column: 1/-1; justify-self: end; height: 22px; margin-top: -2px; }
}
@media (max-width: 820px) {
  .profile-advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .profile-price-filter { grid-column: 1/-1; }
  .profile-gallery-attributes { font-size: 12px; }
}
@media (max-width: 650px) {
  .profile-advanced-heading { display: block; }
  .profile-advanced-heading .profile-advanced-caption { margin-top: 5px; }
  .profile-advanced-grid { gap: 16px 13px; }
  .profile-advanced-toggle { min-height: 36px; font-size: 10px !important; padding: 7px 9px; }
  .profile-sort-controls { gap: 9px; }
  .profile-filter-fields > .profile-age-field .profile-age-inputs { gap: 5px; }
  .profile-filter-fields > .profile-age-field input { width: 60px; }
  .profile-range-field input { font-size: 16px; }
  .profile-advanced-field > input { font-size: 16px; }
  .profile-advanced-field > select { min-height: 38px; font-size: 12px; }
  .profile-advanced-grid .profile-range-field input { font-size: 16px; padding: 0 7px; }
  .profile-price-filter { grid-template-columns: minmax(0, 1fr) 80px; gap: 9px; }
  .profile-price-filter .profile-advanced-field > select { width: 100%; padding: 0 20px 0 8px; text-overflow: clip; }
  .profile-price-filter input::placeholder { font-size: 11px; }
  .profile-multi-option { min-height: 36px; font-size: 10px; padding: 6px 8px; }
  .profile-gallery-attributes { gap: 10px; }
}
@media (max-width: 390px) {
  .profile-sort-controls { flex-wrap: wrap; }
  .profile-sort-controls .profile-sort-field { flex: 1 1 85px; }
  .profile-advanced-toggle { flex: 0 1 auto; }
  .profile-advanced-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-price-filter { grid-column: 1; }
}
@media (max-width: 360px) {
  .profile-filter-fields { grid-template-columns: minmax(0, 1fr); }
  .profile-filter-fields > .profile-age-field input { flex: 1; width: 0; }
  .profile-sort-controls .profile-sort-field { flex-basis: 100%; }
  .profile-advanced-toggle { width: 100%; }
  .profile-gallery-attributes > div { gap: 7px; }
}

/* Compact listing summary and a photo-only verification mark. */
.profile-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 9px; min-width: 0; }
.profile-name-row .profile-name { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.profile-verification-badge { --photo-check-rose: #c04b80; display: inline-flex; align-items: center; gap: 5px; flex: 0 1 auto; width: fit-content; max-width: 100%; min-height: 25px; padding: 5px 8px; border: 1px solid color-mix(in srgb, var(--photo-check-rose) 18%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--photo-check-rose) 9%, var(--surface, #fff)); color: var(--hub-ink, #171717); font-size: 9px; line-height: 1.3; font-weight: 500; }
.profile-verification-badge > svg { display: block; flex: 0 0 auto; width: 16px; height: 16px; color: var(--photo-check-rose); }
.profile-verification-badge > svg > path:first-child { fill: color-mix(in srgb, var(--photo-check-rose) 8%, transparent); }
.profile-verification-badge > span { min-width: 0; overflow-wrap: anywhere; }
.profile-gallery-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; }
.profile-gallery-title .profile-verification-badge { font-size: 10px; }
:root[data-theme='dark'] .profile-verification-badge,
:root[data-mode='dark'] .profile-verification-badge { --photo-check-rose: #e7a0bd; }
.profile-card-copy { padding-top: 8px; }
.profile-card-topline { min-height: 21px; margin-bottom: 8px; }
.profile-card-copy .profile-city { align-items: flex-start; margin: 9px 0 10px; font-size: 10px; }
.profile-card-copy .profile-city > svg { margin-top: 2px; }
.profile-card-location-text { display: flex; min-width: 0; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
.profile-card-district { color: var(--profile-muted); font-size: 9px; line-height: 1.45; }
.profile-card .profile-contact-actions { margin: 0 0 12px; gap: 6px; }
.profile-card .profile-phone-link, .profile-card .profile-telegram-link { min-height: 33px; gap: 5px; padding: 7px; font-size: 10.5px; }
.profile-card .profile-phone-link { flex-basis: 109px; }
.profile-card .profile-telegram-link { flex-basis: 68px; }
.profile-contact-number { min-width: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.profile-card-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-top: 1px; }
.profile-card-facts > div { min-width: 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 3px; }
.profile-card-facts dt { max-width: 100%; font-size: 9px; line-height: 1.4; }
.profile-card-facts dd { max-width: 100%; font-size: 12px; font-weight: 500; line-height: 1.3; }
.profile-card .profile-card-prices { margin-top: 12px; padding-top: 10px; gap: 6px; font-size: 10px; }
.profile-card-prices > div { align-items: baseline; gap: 6px 10px; min-width: 0; }
.profile-card-prices dt { flex: 0 0 auto; }
.profile-card-prices dd { min-width: 0; font-weight: 500; }
.profile-card-prices > [data-price-kind='price'] dd { color: var(--hub-ink, #171717); font-size: 11px; }
.profile-card-meeting { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 11px; }
.profile-card-meeting > span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; color: var(--hub-ink, #171717); font-size: 10px; line-height: 1.4; }
.profile-card-meeting svg { flex: 0 0 auto; color: var(--profile-muted); }
.profile-card-extras { min-width: 0; margin-top: 10px; }
.profile-card-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0; overflow: hidden; color: var(--profile-muted); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.profile-card-services { display: flex; gap: 4px; min-width: 0; margin-top: 7px; overflow: hidden; }
.profile-card-services > span { flex: 0 1 auto; min-width: 0; max-width: 100%; padding: 4px 6px; border-radius: 6px; background: var(--profile-soft); color: var(--profile-muted); font-size: 8px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-card-services > .profile-card-services-more { flex: 0 0 auto; }
.profile-card .profile-tags { margin-top: 10px; margin-bottom: 12px; gap: 4px; }
.profile-card .profile-tags > span { padding: 4px 6px; }
@media (min-width: 1600px) {
  .profile-card-facts dt { font-size: 10px; }
  .profile-card-facts dd { font-size: 14px; }
  .profile-card-copy .profile-city { font-size: 12px; }
  .profile-card-district { font-size: 10px; }
  .profile-card .profile-card-prices { font-size: 12px; gap: 7px; }
  .profile-card-prices > [data-price-kind='price'] dd { font-size: 13px; }
  .profile-card-meeting > span, .profile-card-description { font-size: 11px; }
  .profile-card-services > span { font-size: 9px; }
}
@media (max-width: 650px) {
  .profile-name-row { gap: 7px; }
  .profile-verification-badge { padding: 4px 7px; font-size: 9px; }
  .profile-card .profile-phone-link, .profile-card .profile-telegram-link { min-height: 35px; }
  .profile-card-facts { gap: 9px 10px; }
  .profile-card-facts dd { font-size: 12px; }
}
@media (max-width: 360px) {
  .profile-card { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); }
  .profile-card-facts { gap: 8px; }
  .profile-card-facts dt { font-size: 8.5px; }
  .profile-card-facts dd { font-size: 11px; }
  .profile-card .profile-phone-link, .profile-card .profile-telegram-link { font-size: 10px; }
  .profile-card-meeting > span { font-size: 9px; }
}

/* Public photo viewing and local image-menu guards. */
.profile-preview-protected, .profile-preview-protected *, .profile-card-visual, .profile-card-visual * { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
.profile-photo[data-photo-watermark]::after { content: attr(data-photo-watermark-text); display: block; position: absolute; z-index: 4; pointer-events: none; color: #fff; font-family: var(--hub-sans, sans-serif); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; white-space: nowrap; text-shadow: 0 1px 4px #0009; }
.profile-photo[data-photo-watermark='corner']::after { top: 13px; left: 13px; max-width: calc(100% - 26px); font-size: clamp(11px, 3.4cqw, 17px); opacity: .74; }
.profile-photo[data-photo-watermark='center']::after { top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 92%; font-size: min(9cqw, 120px); opacity: .4; }
.profile-gallery-open { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; color: inherit; cursor: zoom-in !important; overflow: hidden; }
.profile-gallery-open:disabled { cursor: default !important; }
.profile-gallery-open:focus-visible { outline: 2px solid var(--hub-ink, #171717); outline-offset: -4px; }
.profile-gallery-expand { display: grid; place-items: center; position: absolute; right: 12px; top: 12px; z-index: 5; width: 34px; height: 34px; border: 1px solid #ffffff25; border-radius: 50%; color: #fff; background: #1118; backdrop-filter: blur(7px); pointer-events: none; }
.profile-gallery-expand > svg { display: block; }
.profile-photo-fullscreen { position: fixed; inset: 0; width: 100vw; width: 100dvw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #101012; color: #fff; overflow: hidden; font: 14px/1.5 var(--hub-sans, sans-serif); }
.profile-photo-fullscreen[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.profile-photo-fullscreen::backdrop { background: #101012; }
.profile-photo-fullscreen *, .profile-photo-fullscreen *::before, .profile-photo-fullscreen *::after { box-sizing: border-box; }
.profile-photo-fullscreen-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left)); }
.profile-photo-fullscreen-title { display: flex; min-width: 0; align-items: baseline; flex-wrap: wrap; gap: 4px 15px; }
.profile-photo-fullscreen-title h2 { min-width: 0; max-width: 100%; margin: 0; color: #fff; font-size: 18px; line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; }
.profile-photo-fullscreen-count { color: #ffffff9c; font-size: 12px; font-variant-numeric: tabular-nums; }
.profile-photo-fullscreen-control { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; padding: 0; border: 1px solid #ffffff12; border-radius: 50%; color: #fff; background: #ffffff14; cursor: pointer; touch-action: manipulation; }
.profile-photo-fullscreen-control:hover { background: #ffffff26; }
.profile-photo-fullscreen-control:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.profile-photo-fullscreen-control > svg { display: block; }
.profile-photo-fullscreen-stage { display: grid; position: relative; place-items: center; min-width: 0; min-height: 0; width: 100%; height: 100%; container-type: size; touch-action: pan-y pinch-zoom; }
.profile-photo-fullscreen-stage > .profile-full-photo { width: min(100cqw, calc(100cqh * var(--profile-image-ratio, .8))); height: min(100cqh, calc(100cqw / var(--profile-image-ratio, .8))); max-width: 100%; max-height: 100%; border-radius: 0; background-color: transparent; }
.profile-full-photo:not([data-sprite]) > .profile-photo-image { background-size: contain !important; background-position: center !important; }
.profile-full-photo[data-sprite] > .profile-photo-image { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; }
.profile-photo-fullscreen-prev, .profile-photo-fullscreen-next { position: absolute; top: 50%; z-index: 6; transform: translateY(-50%); background: #1111117d; backdrop-filter: blur(8px); }
.profile-photo-fullscreen-prev { left: max(16px, env(safe-area-inset-left)); }
.profile-photo-fullscreen-next { right: max(16px, env(safe-area-inset-right)); }
.profile-photo-fullscreen-prev > svg { transform: rotate(180deg); }
.profile-photo-fullscreen-help { margin: 0; padding: 12px 20px max(14px, env(safe-area-inset-bottom)); color: #ffffff82; font-size: 11px; text-align: center; }
@media (max-width: 650px) {
  .profile-photo-fullscreen-header { min-height: 65px; padding-right: max(12px, env(safe-area-inset-right)); padding-left: max(15px, env(safe-area-inset-left)); }
  .profile-photo-fullscreen-title h2 { font-size: 16px; }
  .profile-photo-fullscreen-control { width: 44px; height: 44px; }
  .profile-photo-fullscreen-prev { left: max(8px, env(safe-area-inset-left)); }
  .profile-photo-fullscreen-next { right: max(8px, env(safe-area-inset-right)); }
  .profile-photo-fullscreen-help { padding-right: 15px; padding-left: 15px; font-size: 10px; }
}
