.master-profile-page {
  padding-top: 20px;
  padding-bottom: 96px;
}

.master-profile-shell {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.master-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  grid-template-areas: "content media";
  gap: 40px;
  align-items: center;
}

.master-profile-hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.master-profile-hero__media {
  grid-area: media;
  min-width: 0;
}

.master-profile-hero__kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
}

.master-profile-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-family-display);
  font-size: clamp(44px, 5.2vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.master-profile-bio {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.65;
}

.master-profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 600px);
  margin: 2px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
}

.master-profile-fact {
  display: flex;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: rgba(13, 13, 14, 0.96);
  box-shadow: none;
}

.master-profile-fact--age,
.master-profile-fact--size,
.master-profile-fact--experience,
.master-profile-fact--hair,
.master-profile-fact--height,
.master-profile-fact--shifts {
  background: rgba(13, 13, 14, 0.96);
}

.master-profile-fact--availability {
  background: rgba(13, 29, 22, 0.98);
}

.master-profile-fact--availability .master-profile-fact__label {
  color: rgba(126, 220, 163, 0.78);
}

.master-profile-fact__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.master-profile-fact__value {
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.15;
}

.master-profile-fact--shifts .master-profile-fact__value {
  overflow: hidden;
  font-size: clamp(11px, 1.05vw, 14px);
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.master-profile-meta.master-profile-meta--legacy {
  display: none;
}

.master-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.master-profile-chip,
.master-profile-pref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.master-profile-chip--soft {
  background: rgba(230, 190, 152, 0.08);
  border-color: rgba(230, 190, 152, 0.12);
  color: #f8e9db;
}

.master-profile-preferences {
  position: relative;
  width: min(100%, 480px);
  margin-top: -4px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
}

.master-profile-preferences__chips {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  padding: 3px 0;
}

.master-profile-preferences__active,
.master-profile-preferences__edge {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
}

.master-profile-preferences__edge {
  overflow: hidden;
}

.master-profile-preferences__edge--before {
  justify-content: flex-end;
}

.master-profile-preferences__edge--after {
  justify-content: flex-start;
}

.master-profile-pref {
  gap: 0;
  min-height: 28px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  opacity: 0.72;
}

.master-profile-pref.is-active {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.master-profile-pref__icon {
  display: none;
}

.master-profile-pref__text {
  white-space: nowrap;
}

@media screen and (min-width: 480px) {
  .master-profile-preferences {
    width: min(100%, 560px);
  }

  .master-profile-preferences__active,
  .master-profile-preferences__edge {
    gap: 10px;
  }

  .master-profile-pref {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .master-profile-pref.is-active {
    font-size: 14px;
  }
}

.master-profile-actions--desktop {
  max-width: 420px;
}

.master-profile-actions--mobile {
  display: none;
}

.master-profile-actions__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.master-profile-actions__compact {
  min-width: 0;
}

.master-profile-actions__row .master-profile-actions__compact .text_button_modal {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1.15;
  white-space: normal;
  text-align: left;
}

.master-profile-actions__row .master-profile-actions__compact .icon_modal,
.master-profile-actions__row .master-profile-actions__compact .text-block-312._33-copy {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.master-profile-actions__row .master-profile-actions__compact .icon_modal i,
.master-profile-actions__row .master-profile-actions__compact .text-block-312._33-copy i {
  font-size: inherit;
}

.master-profile-actions__row .master-profile-actions__compact .text-block-312._33-copy svg {
  display: block;
  width: 1em;
  height: 1em;
}

.master-profile-cta {
  width: 100%;
}

.master-profile-video-card {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(230, 190, 152, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(19, 19, 19, 0.96), rgba(8, 8, 8, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
}

.master-profile-video-card__frame,
.master-profile-video-card__frame picture,
.master-profile-video-card__frame img,
.master-profile-video-card__frame video,
.master-profile-video-card__media {
  width: 100%;
  height: 100%;
  display: block;
}

.master-profile-video-card > .master-profile-video-card__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.master-profile-video-card__media,
.master-profile-video-card__frame.master-motion-video,
.master-profile-video-card__frame.master-media-fit,
.master-profile-video-card__frame video {
  object-fit: cover;
  object-position: center center;
  background: #0b0b0b;
  pointer-events: none;
  -o-object-fit: cover;
}

.master-profile-video-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 620px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    #0b0b0b;
}

.master-profile-video-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 14, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.master-profile-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.master-profile-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.master-profile-section__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-family-display);
  font-size: clamp(32px, 3vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.master-profile-section__meta {
  color: rgba(230, 190, 152, 0.92);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.master-profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.master-profile-gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #0d0d0d;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.master-profile-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.master-profile-gallery-item__picture,
.master-profile-gallery-item__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.master-profile-empty {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.master-profile-reviews-layout {
  display: grid;
  grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.master-review-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(230, 190, 152, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(9, 9, 9, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.master-review-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.master-review-field__label {
  color: rgba(230, 190, 152, 0.95);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.master-review-field__input.field {
  margin-top: 0;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
}

.master-review-form input.master-review-field__input.field {
  height: 55px;
  min-height: 55px;
}

.master-review-field__textarea {
  min-height: 44px;
  max-height: 168px;
  box-sizing: border-box;
  padding: 14px 16px;
  line-height: 1.45;
  resize: none;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.master-review-field__textarea::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.master-review-composer {
  display: flex;
  /* Keep auxiliary controls anchored to the message baseline as textarea grows. */
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color var(--transition-duration) var(--transition-ease), background-color var(--transition-duration) var(--transition-ease);
}

.master-review-composer:focus-within {
  border-color: rgba(230, 118, 111, 0.72);
  background: rgba(255, 255, 255, 0.06);
}

.master-review-composer .master-review-field__textarea.field {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 44px;
  max-height: 168px;
  margin: 0;
  padding: 11px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.master-review-composer .master-review-field__textarea.field:focus {
  outline: none;
}

.master-review-composer__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 0 1px 0 0;
}

.master-review-emoji {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-end;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.master-review-emoji > summary {
  list-style: none;
}

.master-review-emoji > summary::-webkit-details-marker {
  display: none;
}

.master-review-emoji__toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: color var(--transition-duration) var(--transition-ease), transform var(--transition-duration) var(--transition-ease);
}

.master-review-emoji__toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

.master-review-emoji__toggle:hover,
.master-review-emoji[open] .master-review-emoji__toggle {
  color: #fff;
  transform: translateY(-1px) scale(1.08);
}

.master-review-emoji__toggle:focus-visible {
  color: #fff;
  outline: 2px solid rgba(230, 190, 152, 0.9);
  outline-offset: 2px;
  transform: translateY(-1px) scale(1.08);
}

.master-review-emoji__toggle:focus:not(:focus-visible) {
  outline: none;
}

.master-review-emoji__panel {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  width: max-content;
  max-width: min(260px, calc(100vw - 56px));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(18, 18, 20, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.master-review-emoji[open] .master-review-emoji__panel {
  display: grid;
}

.master-review-emoji__panel button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.master-review-emoji__panel button:hover {
  transform: translateY(-1px) scale(1.08);
}

.master-review-emoji__panel button:focus-visible {
  outline: 2px solid rgba(230, 190, 152, 0.9);
  outline-offset: 1px;
  transform: translateY(-1px) scale(1.08);
}

.master-review-emoji__panel button:focus:not(:focus-visible) {
  outline: none;
}

.master-review-composer .master-review-submit {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  height: 42px;
  align-self: flex-end;
  padding: 0;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(204, 89, 78, 0.25);
}

.master-review-composer .master-review-submit svg {
  width: 19px;
  height: 19px;
  transform: translateX(1px);
}

.master-review-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 20px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #de766f, #c8453e);
  color: #fff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(204, 89, 78, 0.22);
  transition: transform var(--transition-duration) var(--transition-ease), filter var(--transition-duration) var(--transition-ease);
}

.master-review-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.master-review-counter {
  align-self: flex-end;
  margin-top: -3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.master-review-counter.is-critical {
  color: #f0827b;
}

.master-review-status {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.4;
}

.master-review-status[data-state="error"] {
  border: 1px solid rgba(238, 111, 103, 0.44);
  background: rgba(179, 49, 44, 0.24);
  color: #ffd1cd;
}

.master-reviews-list {
  display: grid;
  gap: 16px;
}

.master-review-card {
  padding: 20px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.master-review-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.master-review-card__name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.master-review-card__date {
  color: rgba(230, 190, 152, 0.72);
  font-size: 12px;
  white-space: nowrap;
}

.master-review-card__text {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

.master-review-card__reply {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  margin-left: auto;
  width: min(100%, calc(100% - 18px));
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(230, 190, 152, 0.16);
  border-left: 1px dashed rgba(230, 190, 152, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.master-review-card__reply::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -10px;
  width: 10px;
  border-top: 1px dotted rgba(230, 190, 152, 0.34);
}

.master-review-card__reply-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.master-review-card__reply-picture,
.master-review-card__reply-image {
  width: 100%;
  height: 100%;
  display: block;
}

.master-review-card__reply-image {
  object-fit: cover;
}

.master-review-card__reply-body {
  min-width: 0;
  flex: 1 1 auto;
}

.master-review-card__reply-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.master-review-card__reply-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.master-review-card__reply-meta {
  min-width: 0;
  color: rgba(230, 190, 152, 0.72);
  font-size: 11px;
  white-space: nowrap;
}

.master-review-card__reply-text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.master-profile-others-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.master-profile-other-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(230, 190, 152, 0.06), transparent 30%),
    rgba(8, 8, 8, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.master-profile-other-card__media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.master-profile-other-card__picture,
.master-profile-other-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.master-profile-other-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.master-profile-other-card__name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.master-profile-other-card__meta .wrap-dannie {
  flex-wrap: wrap;
}

.master-profile-other-card .div-block-1545._66262 {
  width: 100%;
  max-width: none;
}

.master-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.master-lightbox[hidden] {
  display: none;
}

.master-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: no-preference) {
  .master-lightbox.is-open .master-lightbox__backdrop {
    animation: site-popup-overlay-in 170ms ease-out both;
  }

  .master-lightbox.is-open .master-lightbox__dialog {
    animation: site-popup-content-in 190ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
  }
}

.master-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 66px minmax(0, max-content) 66px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.master-lightbox__stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  height: fit-content;
  max-height: min(84vh, 860px);
  overflow: hidden;
  border-radius: 30px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.master-lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(84vh, 860px);
  display: block;
  object-fit: contain;
  object-position: center center;
  background: #0a0a0a;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.master-lightbox__caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.68);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.master-lightbox__close,
.master-lightbox__nav {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 15, 0.72);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition-duration) var(--transition-ease), filter var(--transition-duration) var(--transition-ease);
}

.master-lightbox__nav {
  width: 62px;
  height: 62px;
  font-size: 0;
}

.master-lightbox__nav svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.master-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 0;
  line-height: 0;
}

.master-lightbox__close::before,
.master-lightbox__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.master-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.master-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.master-lightbox__close:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.master-lightbox__nav:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.master-lightbox__nav--prev {
  justify-self: end;
}

.master-lightbox__nav--next {
  justify-self: start;
}

@media screen and (max-width: 1199px) {
  .master-profile-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content";
    gap: 28px;
  }

  .master-profile-video-card {
    min-height: 540px;
  }
}

@media screen and (max-width: 991px) {
  .master-profile-reviews-layout {
    grid-template-columns: 1fr;
  }

  .master-profile-others-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .master-review-field__textarea {
    min-height: 50px;
    max-height: 168px;
  }

  .master-review-emoji__panel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 239px) {
  .master-profile-preferences,
  .master-profile-preferences__chips,
  .master-profile-preferences__active,
  .master-profile-preferences__edge {
    min-width: 0;
    max-width: 100%;
  }

  .master-profile-preferences__chips,
  .master-profile-preferences__active,
  .master-profile-preferences__edge {
    justify-content: flex-start;
    transform: none;
  }

  .master-profile-preferences__chips {
    display: flex;
    flex-wrap: wrap;
  }

  .master-profile-preferences__active,
  .master-profile-preferences__edge {
    display: contents;
    white-space: normal;
  }

  .master-profile-pref {
    flex: 0 1 auto;
  }
}

@media screen and (max-width: 239px) {
  .master-profile-title {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
  }
}

@media (hover: none) and (pointer: coarse) {
  .master-review-emoji {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .master-profile-shell {
    gap: 56px;
  }

  .master-profile-hero {
    gap: 22px;
  }

  .master-profile-title {
    font-size: clamp(40px, 12vw, 58px);
  }

  .master-profile-bio {
    font-size: 16px;
  }

  .master-profile-actions--desktop {
    display: none;
  }

  .master-profile-actions--mobile {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .master-profile-actions__row {
    max-width: 100%;
  }

  .master-profile-actions__row.button-wrap.modal .button-modal {
    min-height: 58px;
    padding: 12px 14px;
  }

  .master-profile-actions__row.button-wrap.modal .button-modal .text_button_modal {
    line-height: 1.15;
  }

  .master-profile-actions__row.button-wrap.modal .button-modal .icon_modal,
  .master-profile-actions__row.button-wrap.modal .button-modal .text-block-312._33-copy {
    width: 34px;
    height: 34px;
  }

  .master-profile-video-card {
    min-height: 420px;
    border-radius: 28px;
  }

  .master-profile-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .master-profile-section__head {
    align-items: start;
    flex-direction: column;
  }

  .master-review-form {
    padding: 18px;
    border-radius: 22px;
  }

  .master-review-card {
    padding: 18px;
  }

  .master-profile-other-card__body {
    padding: 18px;
  }

  .master-profile-other-card__name {
    font-size: 22px;
  }

  .master-lightbox {
    padding: 12px;
  }

  .master-lightbox__dialog {
    display: block;
    width: 100%;
  }

  .master-lightbox__stage {
    width: 100%;
    max-width: 560px;
    max-height: calc(100dvh - 48px);
    margin: 0 auto;
    border-radius: 24px;
  }

  .master-lightbox__image {
    width: 100%;
    max-height: calc(100dvh - 48px);
  }

  .master-lightbox__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .master-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
  }

  .master-lightbox__nav--prev {
    left: 12px;
  }

  .master-lightbox__nav--next {
    right: 12px;
  }

  .master-lightbox__nav:hover {
    transform: translateY(calc(-50% - 2px));
  }
}

@media screen and (max-width: 479px) {
  .master-profile-facts {
    gap: 1px;
    width: 100%;
    border-radius: 12px;
  }

  .master-profile-fact {
    min-height: 56px;
    padding: 8px 10px;
    gap: 3px;
    border-radius: 0;
  }

  .master-profile-fact__label {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .master-profile-fact__value {
    font-size: 13px;
  }

  .master-profile-fact--shifts .master-profile-fact__value {
    font-size: 11px;
  }

  .master-profile-actions__row {
    grid-template-columns: 1fr;
  }

  .master-profile-actions__row .master-profile-actions__compact .text_button_modal {
    font-size: 15px;
  }

  .master-profile-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .master-profile-hero__content {
    gap: 14px;
  }

  .master-profile-video-card {
    min-height: 360px;
  }

  .master-profile-other-card__body {
    gap: 12px;
  }

}

@media screen and (max-width: 359px) {
  .master-profile-shell,
  .master-profile-section,
  .master-profile-reviews-layout,
  .master-review-form,
  .master-review-field,
  .master-reviews-list,
  .master-profile-others-grid,
  .master-profile-other-card,
  .master-profile-other-card__body {
    min-width: 0;
    max-width: 100%;
  }

  .master-profile-reviews-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .master-review-form {
    padding: 16px;
    border-radius: 22px;
  }

  .master-profile-section__head {
    min-width: 0;
    align-items: flex-start;
  }

  .master-profile-section__title,
  .master-review-card__name,
  .master-review-card__text,
  .master-review-card__reply-text,
  .master-profile-other-card__name {
    overflow-wrap: anywhere;
  }

  .master-profile-gallery-grid {
    gap: 10px;
  }

  .master-profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 239px) {
  .master-profile-reviews-layout,
  .master-review-form,
  .master-review-field,
  .master-review-field__input.field,
  .master-review-composer {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .master-review-form {
    padding: 14px 10px;
    border-radius: 20px;
  }

  .master-review-field__input.field {
    padding-inline: 12px;
  }

  .master-review-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: end;
    gap: 4px;
    padding: 4px;
  }

  .master-review-emoji {
    display: none;
  }

  .master-review-composer .master-review-field__textarea.field {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    min-height: 92px;
    padding: 10px 8px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .master-review-composer .master-review-submit {
    grid-column: 2;
    grid-row: 2;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 12px;
  }
}

@media screen and (max-width: 767px) {
  .master-profile-video-card,
  .master-profile-gallery-item,
  .master-profile-chip,
  .master-profile-pref,
  .master-profile-video-badge {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--theme-shadow-soft);
  }

  .master-profile-video-card::after,
  .master-profile-gallery-item::after {
    opacity: 0.28;
  }

  .master-profile-shell,
  .master-profile-hero,
  .master-profile-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 680px;
  }
}
