/* Current Figma pass: profile call CTA, filter screen, catalog categories. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

.page-home .escort-card:not([data-listing-id]) {
  display: none;
}

.nav a.is-active,
.mobile-nav a.is-active {
  color: #bd0122;
  opacity: 1;
}

body.catalog-category .page-home .vip-title,
body.catalog-category .page-home .vip-grid,
body.catalog-category #home-mobile .vip-title + .mobile-list {
  display: none;
}

body.catalog-category #home-desktop .home-wrap h2 {
  margin-top: 0;
}

body.catalog-category #home-mobile h2 {
  padding-top: 15px;
}

body.catalog-category #home-mobile .warning {
  margin-top: 6px;
}

body[data-category="agencies"] .page-home .badge-red {
  background: #d29a1e;
}

body[data-category="massage"] .page-home .badge-red {
  background: #101721;
}

.page-home .escort-card[data-listing-type="INDIVIDUAL"] .badge-red,
.page-profile[data-listing-type="INDIVIDUAL"] .badge-red {
  background: #911c32;
}

.page-home .escort-card[data-listing-type="AGENCY"] .badge-red,
.page-profile[data-listing-type="AGENCY"] .badge-red {
  background: #d8a022;
}

.page-home .escort-card[data-listing-type="MASSAGE"] .badge-red,
.page-profile[data-listing-type="MASSAGE"] .badge-red {
  background: #101721;
}

.page-profile .services-grid {
  align-items: start;
}

.page-profile .service-column {
  gap: 34px;
}

.page-profile .service-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-profile .service-group li.disabled .service-icon {
  opacity: 1;
}

.loader {
  gap: 14px;
  margin: 54px 0 64px;
  color: rgba(16, 23, 33, 0.48);
  font-size: 24px;
  font-weight: 400;
}

.loader span {
  width: 28px;
  height: 28px;
}

.loader.is-loading span {
  animation: catalog-loader-spin 900ms linear infinite;
}

@keyframes catalog-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  #profile-desktop .profile-wrap {
    padding-top: 47px;
  }

  #profile-desktop .gallery {
    top: 47px;
  }

  #profile-desktop .params {
    margin-top: 70px;
  }
}

.profile-call-bar {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 55;
  display: none;
  align-items: center;
  gap: 8px;
  width: 1216px;
  height: 48px;
  transform: translateX(-50%);
}

body.profile-route .profile-call-bar {
  display: flex;
}

body.profile-route .bottom-menu,
body.overlay-params .bottom-menu,
body.overlay-gallery .profile-call-bar,
body.overlay-complaint .profile-call-bar {
  display: none;
}

body.overlay-complaint .app-overlays {
  z-index: 120;
}

.profile-call-button,
.filter-submit {
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
}

.profile-call-button {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.profile-call-button .icon {
  filter: brightness(0) invert(1);
}

.profile-call-telegram,
.profile-call-telegram img {
  display: block;
  width: 40px;
  height: 40px;
}

.card-actions button.is-revealed {
  color: #101721;
}

.favorite.is-added {
  width: 263px;
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
  color: #fff;
}

.favorite.is-added .icon {
  filter: brightness(0) invert(1);
}

.filter-view {
  position: fixed;
  inset: 0;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100vw;
  min-height: 100vh;
  overflow: auto;
  background: rgba(16, 23, 33, 0.7);
  color: #101721;
}

.filter-panel {
  position: relative;
  width: 786px;
  min-height: 1574px;
  margin: 53px 0 40px calc(50% - 324px);
  padding: 24px 10px 90px 32px;
  border-radius: 16px;
  background: #fff;
}

.filter-panel h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.38;
}

.filter-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: transparent;
}

.filter-close img {
  width: 12px;
  height: 12px;
}

.filter-form {
  margin-top: 21px;
}

.filter-fields {
  display: grid;
  grid-template-columns: 331px 331px;
  gap: 24px 40px;
}

.filter-range {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 75px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.filter-range small {
  color: rgba(16, 23, 33, 0.3);
  font-size: inherit;
}

.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(16, 23, 33, 0.5);
  font-size: 12px;
}

.range-row input {
  width: 128px;
  height: 42px;
  border: 1px solid #dddee3;
  border-radius: 100px;
  padding: 0 16px;
  color: #101721;
  font: 500 15px/1.4 Inter, Arial, sans-serif;
  outline: none;
}

.filter-single-field {
  display: block;
}

.filter-single-field input,
.filter-single-field select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid #dddee3;
  border-radius: 100px;
  padding: 0 16px;
  background: #fff;
  color: #101721;
  font: 500 15px/1.4 Inter, Arial, sans-serif;
  outline: none;
}

.filter-single-field select {
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(16, 23, 33, 0.6) 50%),
    linear-gradient(135deg, rgba(16, 23, 33, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 23px) 18px, calc(100% - 17px) 18px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.filter-services {
  margin-top: 34px;
}

.filter-services h3 {
  margin: 0 0 16px 16px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.38;
}

.filter-service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px;
}

.filter-service-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #dddee3;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(16, 23, 33, 0.72);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  user-select: none;
}

.filter-service-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-service-chip:has(input:checked) {
  border-color: transparent;
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
  color: #fff;
}

.filter-groups {
  display: grid;
  grid-template-columns: 344px 360px;
  gap: 4px 36px;
  margin-top: 31px;
}

@media (min-width: 768px) {
  .filter-group:nth-child(4) .filter-toggle:nth-of-type(5) {
    display: none;
  }
}

.filter-group h3 {
  margin: 0 0 14px 16px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.38;
}

.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(16, 23, 33, 0.1);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.filter-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-toggle i {
  position: relative;
  width: 48px;
  height: 24px;
  border-radius: 100px;
  background: #eff0f4;
}

.filter-toggle i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.filter-toggle input:checked + i {
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
}

.filter-toggle input:checked + i::after {
  transform: translateX(24px);
}

.filter-submit {
  position: absolute;
  left: 19px;
  bottom: 34px;
  width: 757px;
  height: 48px;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.account-wrap {
  width: 1216px;
  margin: 0 auto;
  padding: 88px 0 160px;
}

.account-wrap h1,
.mobile-account-page h1 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.38;
}

.account-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 786px;
  margin-top: 32px;
  padding: 32px;
  border: 1px solid rgba(16, 23, 33, 0.1);
  border-radius: 16px;
  background: #fff;
}

.account-panel h2 {
  margin: 0 0 8px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.account-panel p {
  max-width: 450px;
  margin: 0;
  color: rgba(16, 23, 33, 0.7);
  font-size: 15px;
  line-height: 1.4;
}

.account-panel button {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 34px;
  border-radius: 100px;
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.complaint-view {
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: rgba(16, 23, 33, 0.7);
  backdrop-filter: blur(6px);
}

.complaint-panel {
  position: relative;
  width: 449px;
  height: 543px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
}

.complaint-close {
  position: absolute;
  top: 0;
  right: -33px;
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: transparent;
}

.complaint-close img {
  width: 12px;
  height: 12px;
}

.complaint-panel h2 {
  margin: 0 0 24px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.38;
}

.complaint-panel h2 span {
  color: #911c32;
}

.complaint-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.complaint-form input,
.complaint-form textarea {
  width: 385px;
  border: 1px solid #101721;
  padding: 16px;
  color: #101721;
  font: 400 12px/1.4 Inter, Arial, sans-serif;
  outline: none;
}

.complaint-form input {
  height: 49px;
  border-radius: 100px;
}

.complaint-form textarea {
  height: 189px;
  resize: none;
  border-radius: 16px;
}

.complaint-form input::placeholder,
.complaint-form textarea::placeholder {
  color: rgba(16, 23, 33, 0.5);
}

.complaint-submit {
  width: 385px;
  height: 48px;
  margin-top: 6px;
  border-radius: 100px;
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.recaptcha-fake {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 296px;
  height: 70px;
  margin-top: 16px;
  padding: 0 12px;
  background: #f8f8f8;
  color: #101721;
  font-size: 14px;
}

.recaptcha-fake i {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(16, 23, 33, 0.7);
  background: #fff;
}

.recaptcha-fake b {
  margin-left: auto;
  color: rgba(16, 23, 33, 0.45);
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 1280px) and (min-width: 768px) {
  .filter-panel {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .mobile-nav {
    justify-content: flex-start;
    gap: 14px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 12px;
  }

  .profile-call-bar {
    left: 50vw;
    bottom: 10px;
    width: min(328px, calc(100vw - 32px));
    height: 48px;
    transform: translateX(-50%);
    transform-origin: bottom center;
  }

  .profile-call-button {
    flex: 1 1 auto;
    min-width: 0;
  }

  .filter-view {
    justify-content: flex-start;
    min-height: 100vh;
    background: #fff;
  }

  .filter-panel {
    flex: 0 0 360px;
    width: 360px;
    max-width: 100vw;
    min-height: 2431px;
    margin: 0;
    padding: 12px 0 10px;
    border-radius: 0;
    transform: none;
    transform-origin: top center;
  }

  .filter-panel h2 {
    margin-left: 16px;
    font-size: 22px;
  }

  .filter-close {
    top: 22px;
    right: 16px;
  }

  .filter-form {
    margin-top: 24px;
  }

  .filter-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: calc(100% - 29px);
    margin-left: 16px;
  }

  .filter-range {
    width: 100%;
  }

  .range-row input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .filter-groups {
    display: block;
    margin-top: 32px;
  }

  .filter-group {
    margin-top: 32px;
  }

  .filter-group:first-child {
    margin-top: 0;
  }

  .filter-group h3 {
    margin-left: 16px;
  }

  .filter-toggle {
    width: 100%;
  }

  .filter-submit {
    position: sticky;
    left: auto;
    bottom: 10px;
    width: calc(100% - 32px);
    margin: 12px 16px 10px;
  }

  .mobile-account-page {
    width: 360px;
    min-height: calc(100vh - (88px * var(--scale)));
    padding: 15px 16px 96px;
    background: #fff;
  }

  .mobile-account-page h1 {
    font-size: 22px;
  }

  .mobile-account-page .account-panel {
    display: block;
    width: 328px;
    margin-top: 20px;
    padding: 24px 20px;
  }

  .mobile-account-page .account-panel h2 {
    font-size: 20px;
  }

  .mobile-account-page .account-panel button {
    width: 100%;
    margin-top: 24px;
  }

  .complaint-view {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 143px;
    overflow: auto;
  }

  .complaint-panel {
    width: 328px;
    height: 546px;
    margin-left: 16px;
    padding: 16px 20px 24px;
  }

  .complaint-close {
    top: -32px;
    right: 0;
  }

  .complaint-panel h2 {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .complaint-panel h2 span {
    display: block;
  }

  .complaint-form input,
  .complaint-form textarea,
  .complaint-submit {
    width: 288px;
  }

  .complaint-form input {
    height: 49px;
  }

  .complaint-form textarea {
    height: 189px;
  }

  .recaptcha-fake {
    width: 288px;
    margin-top: 14px;
  }
}

/* Account pages */
body.account-route .bottom-menu,
body.account-route .profile-call-bar,
body.overlay-account-dialog .bottom-menu,
body.overlay-account-dialog .profile-call-bar {
  display: none;
}

body.account-route .nav a[data-category-link="home"],
body.overlay-account-dialog .nav a[data-category-link="home"] {
  color: #bd0122;
  opacity: 1;
}

.account-shell {
  position: relative;
  display: grid;
  grid-template-columns: 328px minmax(0, 1fr);
  column-gap: 84px;
  width: min(1216px, calc(100vw - 32px));
  min-height: 748px;
  margin: 0 auto;
  padding-top: 39px;
}

.account-shell::before {
  content: "";
  position: absolute;
  left: 374px;
  top: 0;
  width: 1px;
  height: 668px;
  background: rgba(16, 23, 33, 0.1);
}

.account-sidebar h1 {
  margin: 0 0 22px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.38;
  white-space: nowrap;
}

.account-info-card {
  position: relative;
  display: block;
  width: 328px;
  height: 80px;
  margin-top: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #eff0f4;
  color: #101721;
  text-align: left;
}

.account-info-card span {
  display: block;
  opacity: 0.8;
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.account-info-card strong {
  display: block;
  margin-top: 3px;
  color: #101721;
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.account-balance-card strong {
  color: #911c32;
}

.edit-icon {
  position: absolute;
  right: 20px;
  top: 30px;
  width: 20px;
  height: 20px;
  opacity: 0.4;
}

.edit-icon::before,
.edit-icon::after {
  content: "";
  position: absolute;
  display: block;
  background: #101721;
}

.edit-icon::before {
  left: 4px;
  top: 9px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  transform: rotate(-45deg);
}

.edit-icon::after {
  left: 2px;
  top: 14px;
  width: 5px;
  height: 2px;
  border-radius: 2px;
  transform: rotate(-45deg);
}

.gradient-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: 100px;
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.plus-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 2px;
  height: 14px;
  border-radius: 2px;
  background: currentColor;
}

.plus-icon::after {
  transform: rotate(90deg);
}

.account-balance-card .gradient-pill {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 151px;
}

.support-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 328px;
  height: 40px;
  margin-top: 24px;
  border-radius: 100px;
  background: #eff0f4;
  color: #101721;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.support-pill img,
.dialog-support-button img {
  width: 20px;
  height: 20px;
}

.logout-link {
  width: 328px;
  height: 48px;
  margin-top: 24px;
  background: transparent;
  color: #ee1717;
  font-size: 16px;
}

.account-main {
  position: relative;
  padding-top: 0;
}

.account-main-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.account-main h2,
.account-main-head h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.38;
}

.account-main-head h2 span {
  color: rgba(16, 23, 33, 0.4);
}

.add-ad-button {
  position: absolute;
  top: -20px;
  right: 0;
  width: 174px;
  height: 32px;
  font-size: 14px;
}

.add-ad-button .plus-icon {
  width: 14px;
  height: 14px;
}

.add-ad-button .plus-icon::before,
.add-ad-button .plus-icon::after {
  left: 6px;
  height: 12px;
}

.account-ad-card {
  width: 360px;
  margin: 24px 0 0 16px;
}

.account-ad-top {
  display: grid;
  grid-template-columns: 168px 148px;
  gap: 12px;
}

.account-ad-photo {
  position: relative;
  width: 168px;
  height: 226px;
  overflow: hidden;
  border-radius: 20px;
}

.account-ad-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-ad-photo span {
  position: absolute;
  left: 12px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 100px;
  background: #2a911c;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.account-ad-info h3 {
  margin: 0 0 6px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.account-ad-info .district {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  color: rgba(16, 23, 33, 0.8);
  font-size: 12px;
  letter-spacing: -0.02em;
}

.account-ad-info .district .icon {
  width: 12px;
  height: 12px;
}

.account-ad-info .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 3px;
}

.account-ad-info .chips span {
  padding: 4px 8px;
  border-radius: 100px;
  background: #eff0f4;
  color: rgba(16, 23, 33, 0.8);
  font-size: 12px;
  font-weight: 600;
}

.account-prices {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.account-prices span {
  color: rgba(16, 23, 33, 0.8);
}

.account-prices b {
  color: #911c32;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.account-contact-row {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 20px;
  color: rgba(16, 23, 33, 0.8);
  font-size: 16px;
  letter-spacing: -0.02em;
}

.account-contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.account-contact-row img {
  width: 16px;
  height: 16px;
}

.account-status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 360px;
  margin-top: 16px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(16, 23, 33, 0.1);
  font-size: 15px;
  font-weight: 500;
}

.account-status-row input,
.ad-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-status-row i,
.ad-toggle i {
  position: relative;
  width: 48px;
  height: 24px;
  border-radius: 100px;
  background: #eff0f4;
}

.account-status-row i::after,
.ad-toggle i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

.account-billing-note {
  max-width: 560px;
  margin: -4px 0 8px;
  color: #8b929d;
  font-size: 13px;
  line-height: 1.4;
}

.account-billing-note:empty,
.account-billing-note[hidden] {
  display: none;
}

.account-status-row input:checked + i,
.ad-toggle input:checked + i {
  background: linear-gradient(90deg, #bd0122 0%, #de781f 100%);
}

.account-status-row input:checked + i {
  background: #2a911c;
}

.account-status-row input:checked + i::after,
.ad-toggle input:checked + i::after {
  transform: translateX(24px);
}

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 360px;
  padding-top: 12px;
}

.account-stats div {
  padding: 0 16px;
}

.account-stats span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.account-stats b {
  display: block;
  color: #911c32;
  font-size: 15px;
  line-height: 1.4;
}

.account-stats small {
  color: #911c32;
  font-size: 12px;
  font-weight: 400;
}

.account-edit-button,
.account-delete-button,
.photo-check-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 328px;
  height: 40px;
  margin: 20px 0 0;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}

.account-edit-button {
  position: relative;
  gap: 10px;
  background: #eff0f4;
  color: #101721;
}

.account-edit-button .edit-icon {
  position: relative;
  right: auto;
  top: auto;
  width: 16px;
  height: 16px;
}

.account-delete-button {
  margin-top: 10px;
  border: 1px solid #ee1717;
  background: #fff;
  color: #bd0122;
}

.account-back-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  background: transparent;
  color: #101721;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.account-back-title span {
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
}

.profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 328px;
}

.profile-edit-form h3,
.account-ad-form h3 {
  margin: 12px 0 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.profile-edit-form label,
.account-ad-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-height: 70px;
  padding: 12px 16px;
  border: 1px solid #101721;
  border-radius: 12px;
}

.profile-edit-form label span,
.account-ad-form label span {
  color: #101721;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.profile-edit-form input,
.account-ad-form input,
.account-ad-form select,
.account-ad-form textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #101721;
  font: 600 18px/1.35 Manrope, Inter, sans-serif;
  outline: none;
}

.account-ad-form input,
.account-ad-form select,
.account-ad-form textarea {
  font: 400 14px/1.35 Inter, Arial, sans-serif;
}

.profile-edit-form input[type="password"] {
  color: rgba(16, 23, 33, 0.28);
}

.save-profile-button,
.publish-ad-button {
  width: 328px;
  margin-top: 10px;
}

.account-add-panel {
  max-width: 720px;
  padding-bottom: 80px;
}

.account-add-note,
.account-add-tip {
  margin: -12px 0 18px;
  color: #101721;
  font-size: 12px;
  line-height: 1.35;
}

.account-add-note b {
  color: #911c32;
}

.account-add-tip {
  max-width: 328px;
  color: rgba(16, 23, 33, 0.55);
}

.account-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 120px);
  gap: 12px;
  margin: 16px 0 18px;
}

.account-photo-grid figure {
  position: relative;
  width: 120px;
  height: 156px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.account-photo-grid figure:active {
  cursor: grabbing;
}

.account-photo-grid figure.is-dragging {
  z-index: 5;
  opacity: 0.92;
  box-shadow: 0 18px 36px rgba(16, 23, 33, 0.22);
}

.account-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 220ms ease;
}

.account-photo-grid span {
  position: absolute;
  left: 7px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 100px;
  background: #2a911c;
  color: #fff;
  font-size: 10px;
}

.account-photo-grid figure button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #bd0122;
  color: #fff;
  line-height: 18px;
}

.photo-check-button {
  width: 328px;
  background: #2a911c;
  color: #fff;
}

.add-photo-link {
  display: block;
  width: 328px;
  margin: 0 0 12px;
  background: transparent;
  color: #101721;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.account-ad-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 328px;
  margin-top: 18px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-ad-form textarea {
  min-height: 160px;
  resize: vertical;
}

.account-form-map {
  width: 328px;
  height: 300px;
  border-radius: 12px;
  object-fit: cover;
}

.ad-toggle {
  min-height: 48px !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  border: 0 !important;
  border-bottom: 1px solid rgba(16, 23, 33, 0.1) !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
}

.account-ad-form .ad-toggle span {
  font-size: 15px;
}

.ad-exit-price-block {
  display: contents;
}

.ad-exit-price-block[hidden] {
  display: none !important;
}

.account-dialog-view {
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: rgba(16, 23, 33, 0.7);
  backdrop-filter: blur(6px);
}

.account-dialog-panel {
  position: relative;
  width: 328px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
}

.account-dialog-close {
  position: absolute;
  top: 0;
  right: -28px;
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: transparent;
}

.account-dialog-close img {
  width: 12px;
  height: 12px;
}

.account-dialog-panel h2 {
  margin: 0 0 16px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.account-dialog-panel p {
  margin: 0 0 20px;
  color: #101721;
  font-size: 16px;
  line-height: 1.3;
}

.account-dialog-panel p b {
  color: #911c32;
}

.dialog-support-button {
  width: 280px;
}

.balance-dialog .dialog-support-button {
  width: 100%;
}

.balance-dialog .dialog-support-button img {
  width: 22px;
  height: 22px;
}

.balance-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.balance-field span {
  color: rgba(16, 23, 33, 0.68);
  font-size: 13px;
  font-weight: 600;
}

.balance-field input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(16, 23, 33, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  color: #101721;
  font-size: 16px;
  font-weight: 600;
}

.balance-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.balance-presets button {
  min-width: 0;
  height: 36px;
  border-radius: 999px;
  background: #eff0f4;
  color: #101721;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.balance-presets button:hover {
  background: #e3e5ea;
  transform: translateY(-1px);
}

.balance-message {
  margin: 0;
}

.account-transaction-panel {
  width: 328px;
  margin-top: 14px;
  border-radius: 16px;
  background: #eff0f4;
  padding: 16px 18px;
}

.account-transaction-panel h3 {
  margin: 0 0 10px;
  color: #101721;
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.account-transaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(16, 23, 33, 0.08);
}

.account-transaction-row span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #101721;
}

.account-transaction-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.account-transaction-row small {
  margin-top: 2px;
  color: rgba(16, 23, 33, 0.55);
  font-size: 12px;
}

.account-transaction-row strong {
  flex: 0 0 auto;
  color: #911c32;
  font-size: 13px;
  font-weight: 800;
}

.account-transaction-row.is-income strong {
  color: #2a911c;
}

.account-transactions-empty {
  margin: 0;
  color: rgba(16, 23, 33, 0.6);
  font-size: 13px;
}

.favorite-route-card {
  position: relative;
}

.favorite-route-card .favorite-remove {
  z-index: 5;
}

.favorite-route-card .favorite-remove span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.favorites-empty {
  margin: 28px 0 0;
  color: rgba(16, 23, 33, 0.62);
  font-size: 18px;
  font-weight: 600;
}

.photo-check-dialog {
  padding-bottom: 24px;
}

@media (min-width: 768px) {
  .page-account.is-active {
    display: block;
  }

  .account-profile-edit,
  .account-add-panel {
    padding-left: 0;
  }

  .account-footer {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  body.account-route {
    padding-bottom: 0;
  }

  body.account-route .mobile-header {
    height: 40px;
  }

  body.account-route .mobile-nav {
    display: none;
  }

  .mobile-account-page {
    width: 360px;
    min-height: calc(100vh - (40px * var(--scale)));
    padding: 24px 16px 0;
    background: #fff;
  }

  .mobile-account-page h1 {
    margin: 0 0 14px;
    font-size: 22px;
  }

  .mobile-account-page .account-info-card {
    margin-top: 12px;
  }

  .mobile-account-page .support-pill {
    margin-top: 20px;
  }

  .mobile-account-page .logout-link {
    margin-top: 18px;
  }

  .mobile-account-page .account-main-head {
    display: block;
    margin-top: 36px;
  }

  .mobile-account-page .account-main-head h2 {
    font-size: 22px;
  }

  .mobile-account-page .add-ad-button {
    position: static;
    width: 328px;
    height: 48px;
    margin-top: 16px;
    font-size: 16px;
  }

  .mobile-account-page .account-ad-card {
    margin: 32px 0 0;
  }

  .mobile-account-page .account-edit-button {
    margin-top: 20px;
  }

  .mobile-account-page .footer {
    width: 360px;
    margin-left: -16px;
    padding: 48px 16px 24px;
  }

  .mobile-account-profile-edit,
  .mobile-account-add {
    padding-top: 24px;
  }

  .mobile-account-profile-edit .account-back-title,
  .mobile-account-add .account-back-title {
    margin-bottom: 24px;
  }

  .mobile-account-profile-edit .profile-edit-form {
    width: 328px;
    gap: 18px;
  }

  .mobile-account-profile-edit .profile-edit-form label {
    min-height: 70px;
  }

  .mobile-account-profile-edit .save-profile-button {
    margin-top: 14px;
  }

  .mobile-account-add .account-photo-grid {
    grid-template-columns: repeat(2, 158px);
    gap: 12px;
  }

  .mobile-account-add .account-photo-grid figure {
    width: 158px;
    height: 204px;
    border-radius: 12px;
  }

  .mobile-account-add .photo-check-button {
    height: 48px;
    margin-top: 12px;
  }

  .mobile-account-add .account-ad-form {
    margin-top: 20px;
  }

  .mobile-account-add .account-form-map {
    height: 300px;
  }

  .mobile-account-add .publish-ad-button {
    position: sticky;
    bottom: 10px;
    z-index: 3;
    height: 48px;
    margin-top: 18px;
  }

  .account-dialog-view {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 267px;
    overflow: auto;
  }

  .account-dialog-panel {
    width: 328px;
    margin-left: 16px;
    padding: 24px;
  }

  .account-dialog-close {
    top: -253px;
    right: 0;
    width: 16px;
    height: 16px;
  }

  .account-dialog-close img {
    width: 16px;
    height: 16px;
  }

  .dialog-support-button {
    width: 280px;
  }
}

/* Account add form parity */
@media (min-width: 768px) {
  .account-add-panel {
    max-width: 804px;
    padding-bottom: 106px;
  }

  .account-add-panel .account-back-title {
    margin-bottom: 12px;
  }

  .account-add-panel .account-add-note {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  .account-add-panel .account-section-title {
    margin: 54px 0 10px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
  }

  .account-add-panel .account-photo-hint {
    margin: 0;
    max-width: 326px;
    color: rgba(16, 23, 33, 0.6);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  .account-add-panel .account-photo-grid {
    grid-template-columns: repeat(4, 159px);
    gap: 8px;
    width: 660px;
    margin: 28px 0 24px;
  }

  .account-add-panel .account-photo-grid figure {
    width: 159px;
    height: 214px;
    border-radius: 20px;
  }

  .account-add-panel .account-photo-grid img {
    border-radius: 20px;
  }

  .account-add-panel .account-photo-grid span {
    left: 27px;
    bottom: 11px;
    padding: 2px 8px;
    font-size: 12px;
  }

  .account-add-panel .account-photo-grid figure button {
    right: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
    font-size: 18px;
    line-height: 22px;
  }

  .add-photo-drop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 660px;
    height: 65px;
    border: 1px dashed #d2d4dd;
    border-radius: 16px;
    background: #fff;
    color: #101721;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .add-photo-drop span {
    margin-left: 4px;
    color: rgba(16, 23, 33, 0.4);
  }

  .account-add-panel .photo-check-button {
    width: 328px;
    height: 48px;
    margin-top: 48px;
  }

  .photo-proof-texts {
    margin-top: 13px;
  }

  .photo-proof-texts p {
    margin: 0 0 8px;
    max-width: 330px;
    color: rgba(16, 23, 33, 0.8);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  .photo-proof-texts span {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 100px;
    background: #2a911c;
    color: #fff;
    font-size: 9px;
    font-weight: 500;
  }

  .account-add-panel .account-ad-form {
    width: 804px;
    margin-top: 68px;
    gap: 0;
  }

  .account-add-panel .account-ad-form h3,
  .account-add-panel .account-ad-form .services-title {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.35;
  }

  .ad-field-grid,
  .ad-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 20px;
    width: 804px;
  }

  .ad-contact-grid {
    display: grid;
    grid-template-columns: 297px 180px 300px;
    gap: 20px;
    width: 804px;
  }

  .account-add-panel .account-ad-form label {
    min-height: 70px;
  }

  .account-add-panel .account-ad-form > h3:not(:first-child) {
    margin-top: 48px;
  }

  .account-add-panel .account-form-map {
    width: 804px;
    height: 480px;
    border-radius: 12px;
    object-fit: cover;
  }

  .account-add-panel .ad-exit-toggle {
    width: 360px !important;
    margin: 22px 0 10px;
    padding: 12px 16px !important;
  }

  .account-add-panel .ad-exit-toggle + h3 {
    margin-top: 18px !important;
  }

  .account-add-panel .ad-description {
    width: 804px;
    height: 306px;
    margin-top: 40px;
  }

  .account-add-panel .ad-description textarea {
    min-height: 248px;
  }

  .ad-services-grid {
    display: grid;
    grid-template-columns: 360px 360px;
    gap: 52px;
    align-items: start;
    width: 772px;
    margin-left: 16px;
  }

  .ad-service-column h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  .ad-service-column h4:not(:first-child) {
    margin-top: 34px;
  }

  .ad-service-column .ad-toggle {
    width: 360px !important;
  }

  .service-extra {
    width: 327px !important;
    margin: 12px 0 24px;
  }

  .dynamic-extra[hidden] {
    display: none !important;
  }

  .account-add-panel .publish-ad-button {
    width: 328px;
    margin: 48px 0 0 16px;
  }
}

@media (max-width: 767px) {
  .mobile-account-add .account-section-title {
    margin: 28px 0 8px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 16px;
    font-weight: 800;
  }

  .mobile-account-add .account-add-tip {
    max-width: 328px;
    margin: 0 0 18px;
    color: rgba(16, 23, 33, 0.6);
    font-size: 14px;
    line-height: 1.4;
  }

  .mobile-account-add .account-photo-grid span {
    font-size: 10px;
  }

  .mobile-account-add .account-ad-form h3 {
    margin-top: 28px;
    font-size: 16px;
  }

  .mobile-account-add .dynamic-extra {
    margin: 10px 0 8px;
  }

  .mobile-account-add .dynamic-extra[hidden] {
    display: none !important;
  }
}

.auth-view .auth-form .auth-form-message,
.auth-form-message {
  width: min(327px, 100%);
  margin: 0;
  color: #bd0122 !important;
  font: 400 13px/1.35 Inter, Arial, sans-serif !important;
  letter-spacing: 0;
}

.auth-form-message.is-info {
  color: rgba(16, 23, 33, 0.68) !important;
  font-weight: 400 !important;
}

.account-form-message {
  margin: 20px 0 0;
  color: #bd0122;
  font: 400 13px/1.35 Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.account-form-message.is-success {
  color: #2a911c;
}

.complaint-message {
  width: 100%;
  margin: 0;
  color: #bd0122;
  font: 400 13px/1.35 Inter, Arial, sans-serif;
}

.complaint-message.is-success {
  color: #2a911c;
}

.profile-edit-form input[readonly],
.account-ad-form input[readonly] {
  color: rgba(16, 23, 33, 0.7);
  background: #f7f8fb;
  cursor: not-allowed;
}

.auth-form input.is-invalid {
  border-color: #bd0122 !important;
  box-shadow: 0 0 0 3px rgba(189, 1, 34, 0.1) !important;
}

.auth-view .auth-panel {
  height: auto !important;
  min-height: 354px;
}

.auth-view .register-panel {
  height: auto !important;
  min-height: 413px;
}

.auth-view .auth-panel h2[hidden],
.auth-view .auth-form[hidden],
.auth-view .auth-links[hidden],
.register-code-message[hidden] {
  display: none !important;
}

.register-panel.is-code-step {
  width: 328px !important;
  min-height: 280px !important;
  height: auto !important;
  padding: 28px 26px 34px !important;
  border-radius: 10px !important;
  transform: none !important;
}

.register-code-step {
  display: flex;
  flex-direction: column;
}

.register-code-step[hidden] {
  display: none !important;
}

.register-code-title {
  width: 245px;
  margin: 2px 0 26px;
  color: #101721;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}

.register-code-inputs {
  display: flex;
  gap: 9px;
  margin-bottom: 26px;
}

.register-code-inputs input {
  width: 42px;
  height: 42px;
  border: 1px solid #101721;
  border-radius: 50%;
  padding: 0;
  color: #101721;
  background: #fff;
  font: 700 20px/1 Inter, Arial, sans-serif;
  text-align: center;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.register-code-inputs input:focus {
  border-color: #bd0122;
  box-shadow: 0 0 0 3px rgba(189, 1, 34, 0.1);
}

.register-code-inputs input.is-invalid {
  border-color: #bd0122;
  box-shadow: 0 0 0 3px rgba(189, 1, 34, 0.1);
}

.register-code-message {
  width: 100%;
  margin: -14px 0 14px;
}

.register-code-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 276px;
  height: 40px;
  border: 0;
  border-radius: 100px;
  background: #eef0f5;
  color: #101721;
  font: 700 12px/1 Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.register-code-back::before {
  content: "\2190";
  margin-right: 9px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.auth-captcha {
  display: block;
  width: min(327px, 100%);
  margin: 0;
  --altcha-border-width: 1px;
  --altcha-border-radius: 8px;
  --altcha-color-border: #d9dde5;
  --altcha-color-base: #fff;
  --altcha-color-text: #101721;
  --altcha-max-width: 327px;
}

.auth-view .auth-form .auth-captcha input[type="checkbox"] {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.forgot-panel {
  min-height: 350px !important;
}

.forgot-reset-form .register-code-title {
  width: 100%;
  margin-bottom: 18px;
  font-size: 17px;
}

.forgot-reset-form .register-code-inputs {
  margin-bottom: 4px;
}

.forgot-reset-form .register-code-back {
  width: min(327px, 100%);
}

/* Restrained interaction polish across the site */
.nav a,
.mobile-nav a,
button,
.telegram,
.profile-call-telegram,
.dialog-support-button,
.escort-card,
.mobile-card,
.account-info-card,
.account-panel,
.filter-chip,
.gallery-thumbs button,
.account-ad-form label,
.complaint-form input,
.complaint-form textarea,
.auth-form input {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.card-photo img,
.mobile-card-photo img,
.gallery-thumbs img {
  transition: transform 260ms ease, filter 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover,
  .mobile-nav a:hover {
    color: #bd0122;
    opacity: 1;
  }

  .escort-card:hover,
  .mobile-card:hover,
  .account-info-card:hover,
  .account-panel:hover {
    transform: translateY(-2px);
  }

  .escort-card:hover .card-photo img,
  .mobile-card:hover .mobile-card-photo img,
  .account-photo-grid figure:hover img,
  .gallery-thumbs button:hover img {
    transform: scale(1.035);
  }

  .card-actions button:hover,
  .gradient-pill:hover,
  .profile-call-button:hover,
  .gallery-call button:hover,
  .filter-submit:hover,
  .auth-submit:hover,
  .complaint-submit:hover,
  .save-profile-button:hover,
  .publish-ad-button:hover,
  .photo-check-button:hover,
  .account-panel button:hover,
  .dialog-support-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(189, 1, 34, 0.2);
    filter: saturate(1.06);
  }

  .telegram:hover,
  .profile-call-telegram:hover {
    transform: translateY(-1px) scale(1.04);
    filter: saturate(1.1);
  }

  .ad-toggle:hover {
    background: rgba(16, 23, 33, 0.03);
  }

  .account-ad-form label:not(.ad-toggle):hover,
  .complaint-form input:hover,
  .complaint-form textarea:hover,
  .auth-form input:hover {
    border-color: #bd0122;
    box-shadow: 0 0 0 3px rgba(189, 1, 34, 0.06);
  }

  .account-status-row:hover i,
  .ad-toggle:hover i {
    box-shadow: inset 0 0 0 1px rgba(16, 23, 33, 0.08);
  }

  .overlay-close:hover {
    opacity: 0.72;
    transform: rotate(90deg) scale(1.06);
  }

  .gallery-arrow:hover {
    transform: translateY(-50%) scale(1.06);
    background-color: rgba(255, 255, 255, 0.55);
  }

  .account-photo-grid figure:hover {
    box-shadow: 0 14px 32px rgba(16, 23, 33, 0.14);
  }

  .account-photo-grid figure button:hover {
    transform: scale(1.08);
  }
}

/* Mobile fit fixes */
.edit-icon {
  background: url("assets/icons/edit-figma.svg") center/20px 20px no-repeat;
  opacity: 1;
}

.edit-icon::before,
.edit-icon::after {
  display: none;
}

.account-edit-button .edit-icon {
  background-size: 16px 16px;
}

.complaint .icon-report {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 0;
  }

  .mobile-shell {
    display: block;
    width: 100vw;
    min-height: 100svh;
    overflow-x: hidden;
  }

  .mobile-scale {
    width: 100%;
    transform: none !important;
  }

  .mobile-header,
  .mobile-page,
  .mobile-profile,
  .mobile-account-page,
  .footer {
    width: 100%;
  }

  .mobile-top {
    width: 100%;
  }

  .mobile-top .city {
    right: 28px;
    left: auto;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 14px 28px 0;
    opacity: 1;
  }

  .mobile-nav a {
    min-width: 0;
    text-align: center;
  }

  .mobile-nav a:first-child {
    text-align: left;
  }

  .mobile-nav a:last-child {
    text-align: right;
  }

  .bottom-menu {
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: min(calc(100vw - 32px), 384px);
    height: 64px;
    padding: 10px 16px 9px;
    box-sizing: border-box;
    gap: 0;
    transform: translateX(-50%);
  }

  .bottom-menu a {
    flex: 1 1 0;
    min-width: 0;
    gap: 4px;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .bottom-menu img {
    width: 18px;
    height: 18px;
  }

  .footer {
    padding-bottom: 18px;
  }

  .mobile-account-page .footer {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .favorites-view .sheet-panel,
  .auth-view .auth-panel,
  .auth-view .register-panel {
    padding-bottom: 24px;
  }

  .filter-view,
  .auth-view.sheet-view,
  .favorites-view.sheet-view {
    inset: calc(88px * var(--scale)) 0 0;
    width: 100vw;
    justify-content: flex-start;
  }

  .filter-panel,
  .auth-view .auth-panel,
  .auth-view .register-panel,
  .favorites-view .sheet-panel {
    flex: 0 0 auto;
    width: 100vw;
    max-width: none;
    min-height: calc(100svh - 88px);
    margin: 0;
    border-radius: 0;
  }

  .filter-panel {
    padding: 18px 20px 92px;
  }

  .filter-panel h2 {
    margin-left: 0;
  }

  .filter-close,
  .auth-close {
    top: 20px;
    right: 20px;
  }

  .filter-fields {
    width: 100%;
    margin-left: 0;
  }

  .filter-single-field input,
  .filter-single-field select {
    width: 100%;
  }

  .filter-services h3 {
    margin-left: 0;
  }

  .filter-service-grid {
    padding: 0;
  }

  .range-row input {
    min-width: 0;
  }

  .filter-submit {
    width: calc(100vw - 40px);
    margin-left: 0;
    margin-right: 0;
  }

  .auth-view .auth-panel,
  .auth-view .register-panel {
    padding: 20px 20px 24px;
  }

  .auth-view .auth-form,
  .auth-view .auth-form label,
  .auth-view .auth-submit {
    width: 100%;
  }

  .gallery-modal {
    --gallery-w: 100vw;
    --gallery-h: min(calc(100vw * 1.208333), calc(100svh - 166px));
    --gallery-half-w: calc(var(--gallery-w) * 0.5);
    --gallery-half-h: calc(var(--gallery-h) * 0.5);
    --gallery-top: calc((100svh - var(--gallery-h)) * 0.5 - 8px);
    min-height: 100svh;
    background: rgba(16, 23, 33, 0.7);
    backdrop-filter: blur(2px);
  }

  .gallery-stage {
    top: max(80px, var(--gallery-top));
    width: var(--gallery-w);
    height: var(--gallery-h);
  }

  .gallery-stage img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
  }

  .gallery-close {
    top: 12px;
    right: 16px;
    left: auto;
  }

  .gallery-arrow {
    top: calc(max(80px, var(--gallery-top)) + var(--gallery-half-h));
    width: 24px;
    height: 24px;
  }

  .gallery-arrow-prev {
    left: 16px;
  }

  .gallery-arrow-next {
    right: 16px;
  }

  .gallery-call {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: min(calc(100vw - 32px), 360px);
  }

  .gallery-call button {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .gallery-call a {
    flex: 0 0 40px;
  }

  .mobile-account-add .account-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .mobile-account-add .account-photo-grid figure {
    width: 100%;
    height: auto;
    aspect-ratio: 158 / 212;
    border-radius: 12px;
  }

  .account-photo-grid figure button {
    display: grid;
    place-items: center;
    font-size: 0;
  }

  .account-photo-grid figure button::before,
  .account-photo-grid figure button::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
  }

  .account-photo-grid figure button::before {
    transform: rotate(45deg);
  }

  .account-photo-grid figure button::after {
    transform: rotate(-45deg);
  }

  .mobile-account-add .add-photo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    margin: 24px 0 20px;
    border: 1px dashed #cbd1df;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
  }
}

.interactive-map {
  display: block;
  border: 0;
  background: #eff0f4;
}

.gallery-arrow {
  display: grid !important;
  place-items: center;
  border-radius: 50%;
}

.gallery-arrow::after {
  display: none !important;
}

.gallery-arrow::before {
  content: "" !important;
  position: static !important;
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  border-color: #fff !important;
  border-style: solid !important;
}

.gallery-arrow-prev::before {
  border-width: 0 0 2px 2px !important;
  transform: translateX(2px) rotate(45deg) !important;
}

.gallery-arrow-next::before {
  border-width: 2px 2px 0 0 !important;
  transform: translateX(-2px) rotate(45deg) !important;
}

.location .interactive-map {
  width: 392px;
  height: 310px;
  border-radius: 16px;
}

.account-form-map.interactive-map {
  width: 328px;
  height: 300px;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .account-add-panel .account-form-map.interactive-map {
    width: 804px;
    height: 480px;
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  .mobile-profile .location .interactive-map,
  .location .interactive-map,
  .account-form-map.interactive-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
  }

  .gallery-stage,
  .gallery-modal {
    touch-action: pan-y;
    cursor: grab;
  }

  .gallery-stage:active {
    cursor: grabbing;
  }

  .auth-view .auth-form input {
    width: 100%;
    box-sizing: border-box;
  }

  .filter-submit {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 4;
    width: auto;
    margin: 0;
  }

  .mobile-account-add .photo-check-button {
    width: 100%;
    max-width: none;
  }

  .mobile-account-add .photo-proof-texts {
    display: block;
    margin: 12px 0 0;
  }

  .mobile-account-add .photo-proof-texts p {
    max-width: 100%;
    margin: 0 0 8px;
    color: rgba(16, 23, 33, 0.72);
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .mobile-account-add .photo-proof-texts span {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    background: #2a911c;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
  }

  .mobile-account-add .account-photo-grid figure button {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    line-height: 1;
  }

  .mobile-account-add .account-photo-grid figure button::before,
  .mobile-account-add .account-photo-grid figure button::after {
    width: 12px;
  }

  .mobile-shell {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
  }

  .mobile-scale {
    width: 360px;
    transform: scale(var(--scale)) !important;
    transform-origin: top center;
    will-change: transform;
  }

  .mobile-header,
  .mobile-page,
  .mobile-profile,
  .mobile-account-page,
  .footer {
    width: 360px;
    max-width: none;
  }

  .mobile-top,
  .mobile-nav {
    width: 360px;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 14px 28px 0;
  }

  .bottom-menu {
    bottom: calc(10px * var(--scale));
    width: 328px;
    height: 56px;
    padding: 11px 22px 10px 24px;
    transform: translateX(-50%) scale(var(--scale));
    transform-origin: bottom center;
  }

  .bottom-menu img {
    width: 16px;
    height: 16px;
  }
}

/* Final requested fixes: gallery assets, profile map, mobile chrome, scroll lock, and map point picker. */
body.modal-open {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden !important;
  touch-action: none;
}

body.modal-open .app-overlays {
  touch-action: auto;
}

.gallery-arrow {
  z-index: 5;
  overflow: hidden;
  background-color: transparent !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

.gallery-stage {
  z-index: 3;
}

.gallery-arrow::before,
.gallery-arrow::after {
  display: none !important;
}

.gallery-arrow-prev {
  background-image: url("assets/icons/gallery-prev.svg") !important;
}

.gallery-arrow-next {
  background-image: url("assets/icons/gallery-next.svg") !important;
}

.profile-wrap .location {
  width: 1216px;
  margin-top: 78px;
  margin-bottom: 22px;
}

.profile-wrap .location .interactive-map {
  width: 1216px;
  height: 480px;
  border-radius: 16px;
}

.profile-wrap .complaint {
  margin-top: 28px;
  margin-bottom: 28px;
}

.profile-edit-form .is-readonly-field {
  opacity: 0.68;
}

.profile-edit-form .is-readonly-field input {
  cursor: not-allowed;
}

.map-picker {
  position: relative;
  width: 328px;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: #eff0f4;
}

.map-picker .account-form-map.interactive-map {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  pointer-events: none;
}

.map-picker-marker {
  position: absolute;
  z-index: 2;
  left: 49%;
  top: 43%;
  width: 28px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #7fbf3f;
  box-shadow: 0 8px 22px rgba(16, 23, 33, 0.28);
  transform: translate(-50%, -50%);
}

.map-picker-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 10px;
  height: 10px;
  background: #7fbf3f;
  transform: translateX(-50%) rotate(45deg);
}

.map-picker-hint {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  padding: 7px 12px;
  color: rgba(16, 23, 33, 0.75);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}

@media (min-width: 768px) {
  .account-add-panel .map-picker {
    width: 804px;
    height: 480px;
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  .mobile-nav {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 0 !important;
    width: 360px;
    padding: 14px 28px 0 !important;
  }

  .mobile-nav a {
    flex: 0 0 auto !important;
    min-width: auto !important;
    text-align: left !important;
  }

  .mobile-nav a:first-child,
  .mobile-nav a:last-child {
    text-align: left !important;
  }

  .bottom-menu {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 7px;
    width: 342px !important;
    height: 64px !important;
    padding: 10px 18px 9px !important;
    transform: translateX(-50%) scale(var(--scale));
  }

  .bottom-menu a {
    display: flex;
    min-width: 0 !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px !important;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .bottom-menu img {
    width: 17px !important;
    height: 17px !important;
  }

  body.profile-route .bottom-menu,
  body.overlay-params .bottom-menu,
  body.account-route .bottom-menu,
  body.overlay-account-dialog .bottom-menu {
    display: none !important;
  }

  .filter-view {
    inset: 0 !important;
    width: 100vw !important;
    height: 100svh !important;
    min-height: 100svh !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .filter-panel {
    width: 100vw !important;
    min-height: 100svh !important;
    padding: 18px 20px 92px !important;
  }

  .profile-wrap .location,
  .profile-wrap .location .interactive-map,
  .mobile-profile .location .interactive-map {
    width: 100% !important;
  }

  .mobile-profile .location {
    padding: 0 16px;
  }

  .mobile-profile .location h2 {
    margin-left: 0 !important;
  }

  .mobile-profile .location .interactive-map {
    height: 300px;
  }

  .mobile-profile .complaint {
    margin-top: 22px;
  }

  .map-picker {
    width: 100%;
    height: 300px;
  }
}

/* Mobile home VIP carousel */
body.catalog-category #home-mobile .mobile-vip-carousel {
  display: none !important;
}

@media (max-width: 767px) {
  #home-mobile .mobile-vip-carousel {
    width: 360px;
    margin: 16px 0 18px;
    padding-left: 16px;
    overflow: hidden;
  }

  #home-mobile .mobile-vip-track {
    display: flex;
    gap: 8px;
    width: 344px;
    padding-right: 48px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  #home-mobile .mobile-vip-track::-webkit-scrollbar {
    display: none;
  }

  #home-mobile .mobile-vip-carousel .escort-card.mobile-card {
    flex: 0 0 328px;
    width: 328px;
    min-height: 282px;
    padding: 0;
    border-bottom: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  #home-mobile .mobile-vip-carousel .card-main {
    width: 328px;
  }

  #home-mobile .mobile-vip-carousel .card-actions button {
    width: 280px;
  }

  #home-mobile .mobile-vip-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 328px;
    margin-top: 12px;
  }

  #home-mobile .mobile-vip-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(155, 15, 47, 0.26);
    transition: background 180ms ease, transform 180ms ease;
  }

  #home-mobile .mobile-vip-dots span.is-active {
    background: #a81432;
    transform: scale(1.35);
  }
}

/* Small mobile correction pass */
@media (max-width: 767px) {
  #home-mobile .mobile-vip-carousel {
    margin-bottom: 22px;
    padding-bottom: 8px;
    overflow: visible;
  }

  #home-mobile .mobile-vip-track {
    overflow-x: auto;
    overflow-y: visible;
  }

  #home-mobile .mobile-vip-dots {
    margin-top: 13px;
    padding-bottom: 2px;
  }

  .mobile-profile .about {
    margin-top: 52px !important;
  }

  .mobile-profile .params-grid {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .mobile-profile .param-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .mobile-profile .param-row span {
    min-width: 0;
  }

  .mobile-profile .param-row span:first-child {
    padding-right: 14px;
  }

  .mobile-profile .param-row span:last-child {
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gallery-arrow {
    z-index: 4 !important;
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background-color: transparent !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 48px 48px !important;
  }

  .gallery-arrow-prev {
    left: 16px !important;
    background-image: url("assets/icons/gallery-prev.svg") !important;
  }

  .gallery-arrow-next {
    right: 16px !important;
    background-image: url("assets/icons/gallery-next.svg") !important;
  }

  .gallery-arrow::before,
  .gallery-arrow::after {
    display: none !important;
  }

  .gallery-call button {
    justify-content: center;
    gap: 10px;
  }

  .mobile-favorites-page h1 {
    margin-left: 20px !important;
  }

  .mobile-account-page {
    padding-top: 34px !important;
  }

  .mobile-account-profile-edit,
  .mobile-account-add {
    padding-top: 34px !important;
  }

  .mobile-account-profile-edit .account-back-title,
  .mobile-account-add .account-back-title {
    margin-bottom: 22px !important;
  }

  .account-dialog-view {
    align-items: center !important;
    justify-content: center !important;
    min-height: 100svh !important;
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)) !important;
    overflow: auto !important;
  }

  .account-dialog-panel {
    width: min(328px, calc(100vw - 32px)) !important;
    max-height: calc(100svh - 32px) !important;
    margin: 0 !important;
    overflow: auto !important;
  }

  .account-dialog-close {
    top: 18px !important;
    right: 18px !important;
  }

  .auth-view.sheet-view:has(.register-panel.is-code-step) {
    inset: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: rgba(16, 23, 33, 0.7) !important;
  }

  .auth-view .register-panel.is-code-step {
    width: min(328px, calc(100vw - 32px)) !important;
    min-height: 280px !important;
    padding: 28px 26px 34px !important;
    border-radius: 10px !important;
  }
}

.balance-dialog {
  width: min(378px, calc(100vw - 48px)) !important;
  padding: 28px !important;
}

.balance-dialog .dialog-support-button {
  width: 100% !important;
}

@media (max-width: 767px) {
  .balance-dialog {
    width: min(378px, calc(100vw - 32px)) !important;
    padding: 24px !important;
  }
}
