:root {
  color-scheme: dark;
  --bg-deep: #1c1618;
  --bg-elevated: rgba(102, 40, 54, 0.72);
  --header-bg: rgba(32, 24, 27, 0.92);
  --header-border: rgba(255, 55, 55, 0.28);
  --body-bg: #1f1719;
  --surface: rgba(44, 28, 32, 0.55);
  --surface-strong: rgba(52, 32, 38, 0.88);
  --surface-muted: rgba(255, 255, 255, 0.045);
  --surface-premium: linear-gradient(
    148deg,
    rgba(88, 20, 28, 0.58) 0%,
    rgba(38, 12, 16, 0.85) 100%
  );
  --text: #fff5f7;
  --text-muted: #c4a8aa;
  --link: #ff6b76;
  --link-hover: #ffb4ba;
  --neon-accent: #ff2735;
  --accent-red: #ef4444;
  --accent-red-hover: #f87171;
  --btn-cta-from: #dc2626;
  --btn-cta-to: #7f1212;
  --btn-cta-hover-from: #f87171;
  --btn-cta-hover-to: #b91c1c;
  --tag-bg: rgba(220, 40, 52, 0.24);
  --tag-border: rgba(255, 110, 120, 0.52);
  --tag-text: #ffd8dc;
  --verified-blue-from: #3b82f6;
  --verified-blue-to: #1d4ed8;
  --price: #ff8a93;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.42);
  --glow-card-hover:
    0 14px 48px rgba(0, 0, 0, 0.55), 0 0 54px rgba(220, 40, 40, 0.22), 0 0 18px rgba(255, 80, 80, 0.12);

  --card-trace-width: 2px;
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Inter", "SF Pro Display", Roboto,
    sans-serif;
  --focus-ring: #fb7185;
  --accent-pink: var(--accent-red);
  --neon-pink: var(--neon-accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.52;
  min-height: 100vh;
  position: relative;

  background-color: var(--body-bg);
  background-image:
    radial-gradient(ellipse 110% 70% at 50% 108%, rgba(140, 36, 44, 0.38), transparent 52%),
    radial-gradient(ellipse 58% 48% at 8% 25%, rgba(88, 38, 44, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 42% at 92% 18%, rgba(62, 28, 34, 0.16), transparent 48%),
    radial-gradient(ellipse 95% 55% at 50% -5%, rgba(58, 28, 34, 0.22), transparent 58%),
    linear-gradient(168deg, #181214 0%, #221a1d 28%, #1a1416 62%, #1e1618 100%);

  background-attachment: scroll;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 35% 45%, rgba(255, 58, 68, 0.12), transparent 55%),
    radial-gradient(ellipse 48% 44% at 72% 38%, rgba(150, 42, 52, 0.12), transparent 52%);
  opacity: 0.78;
  transform: translateZ(0);
  contain: paint;
}

html::before {
  content: "";
  position: fixed;
  inset: -4%;
  z-index: -2;
  pointer-events: none;
  background-image:
    url("../images/fairies/fairy-piece-01.webp"),
    url("../images/fairies/fairy-piece-04.webp"),
    url("../images/fairy-single-a.webp");
  background-size: 142px auto, 146px auto, 230px auto;
  background-position: 0 0, 138px 28px, 260px 90px;
  background-repeat: repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  filter: invert(1) brightness(1.12) contrast(0.9);
  transform: translateZ(0);
  contain: paint;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 78% 65% at 50% 48%, transparent 32%, rgba(0, 0, 0, 0.36) 100%);
  background-size: 180px 180px, 100% 100%;
  background-repeat: repeat, no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.28;
  transform: translateZ(0);
  contain: paint;
}

html::before,
body::before,
body::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  .listing-card {
    background: rgba(0, 0, 0, 0.64);
  }

  .listing-card::after {
    background: rgba(4, 3, 6, 0.54);
  }

  .listing-card--premium::after {
    background: linear-gradient(165deg, rgba(120, 78, 10, 0.2) 0%, rgba(8, 6, 4, 0.58) 100%);
  }

  .listing-card__head {
    background: linear-gradient(180deg, rgba(32, 22, 26, 0.78) 0%, rgba(16, 12, 14, 0.74) 100%);
  }
}

html.fei-gate-open,
html.fei-gate-open body {
  overflow: hidden;
  height: 100%;
}

html.fei-gate-open main,
html.fei-gate-open .listing-grid,
html.fei-gate-open .profile-layout {
  visibility: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 55, 55, 0.1) inset;
}

.site-header a {
  color: inherit;
}

.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.site-header__inner--center {
  justify-content: center;
  align-items: center;
  padding: clamp(0.95rem, 3vw, 1.75rem) 1rem;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.42rem 1rem;
}

.site-tagline-neon {
  margin: 0;
  padding: 0 0.5rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-family: "Cormorant", "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 5.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  font-style: normal;

  background: linear-gradient(
    105deg,
    #ff1538 0%,
    #ff5a78 16%,
    #ffc8d2 30%,
    #ff2d55 44%,
    #ff8fa6 56%,
    #e01045 70%,
    #ff6b86 86%,
    #ff0f3a 100%
  );
  background-size: 260% 160%;
  animation: site-tagline-neon-flow 5.5s ease-in-out infinite alternate;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes site-tagline-neon-flow {
  0% {
    background-position: 4% 48%;
  }

  100% {
    background-position: 96% 52%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-tagline-neon {
    animation: none;
    filter: none;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    color: #ff5c74;
    text-shadow: none;
  }
}

.site-header--landing {
  border-bottom-color: rgba(255, 70, 80, 0.24);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-logo {
  display: inline-block;
}

.site-logo--neon {
  display: inline-block;
  font-family: "Cormorant", "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.15rem, 8.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 0.18rem 0.55rem;
  border-radius: 8px;
  color: inherit;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.site-logo__track {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0;
}

.site-logo__space {
  display: inline-block;
  width: min(0.55em, 2rem);
  flex-shrink: 0;
}

.site-logo__ch {
  display: inline-block;
  color: #a6a6ac;
  -webkit-text-fill-color: inherit;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.28),
    0 0 7px rgba(175, 178, 190, 0.2);
  animation: site-logo-wave-glow 2.95s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: calc(var(--i, 0) * 0.16s);
}

.site-logo__track > .site-logo__ch:nth-child(1) { --i: 0; }
.site-logo__track > .site-logo__ch:nth-child(2) { --i: 1; }
.site-logo__track > .site-logo__ch:nth-child(3) { --i: 2; }
.site-logo__track > .site-logo__ch:nth-child(5) { --i: 4; }
.site-logo__track > .site-logo__ch:nth-child(6) { --i: 5; }
.site-logo__track > .site-logo__ch:nth-child(7) { --i: 6; }
.site-logo__track > .site-logo__ch:nth-child(8) { --i: 7; }
.site-logo__track > .site-logo__ch:nth-child(9) { --i: 8; }

@keyframes site-logo-wave-glow {
  0%,
  100% {
    color: #8e8e95;
    filter: brightness(0.82) saturate(0);
    text-shadow:
      0 0 1px rgba(255, 255, 255, 0.22),
      0 0 6px rgba(150, 152, 160, 0.18);
  }

  42% {
    color: #ffffff;
    filter: brightness(1.22) saturate(0);
    text-shadow:
      0 0 1px rgb(255, 255, 255),
      0 0 4px rgb(255, 255, 255),
      0 0 16px rgb(228, 228, 238),
      0 0 38px rgb(155, 162, 178);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo__ch {
    animation: none;
    color: #fafafa;
    filter: brightness(1) saturate(0);
    text-shadow:
      0 0 1px rgb(255, 255, 255),
      0 0 3px rgb(255, 255, 255),
      0 0 10px rgb(230, 230, 238),
      0 0 28px rgb(155, 155, 170);
  }
}

.site-logo--neon:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.site-logo--neon:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-pink {
  background: linear-gradient(130deg, var(--btn-cta-from) 0%, var(--btn-cta-to) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(210, 42, 42, 0.45), 0 0 32px rgba(140, 36, 40, 0.2);
}

.btn-pink:hover {
  background: linear-gradient(130deg, var(--btn-cta-hover-from) 0%, var(--btn-cta-hover-to) 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(228, 52, 56, 0.5), 0 0 40px rgba(140, 36, 40, 0.28);
}

.nav-strip {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.nav-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e5e7eb;
  text-decoration: none;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.pill--filter {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.pill--filter:hover {
  background: rgba(225, 29, 116, 0.15);
  color: #ffa4a8;
}

.wrap {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
  padding-block: 1.25rem 2.5rem;
}

.page-head {
  margin-bottom: 1rem;
}

.page-head--listing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-head__text {
  min-width: 0;
}

.page-head__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.btn-block.btn-add-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 13.75rem;
  min-height: 3rem;
  flex: 0 0 auto;
  align-self: stretch;
  box-sizing: border-box;
  padding: 0.78rem 1.55rem;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 12px;
  background: linear-gradient(130deg, #ef4444, #b91c1c);
  box-shadow: 0 8px 28px rgba(220, 38, 38, 0.52), 0 0 32px rgba(239, 68, 68, 0.24);
}

.btn-block.btn-add-profile:hover {
  background: linear-gradient(130deg, #f87171, #dc2626);
}

.btn-block.btn-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 13.75rem;
  min-height: 2.7rem;
  box-sizing: border-box;
  padding: 0.68rem 1.4rem;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 12px;
  border: 1px solid rgba(251, 113, 133, 0.45);
  background: rgba(24, 14, 18, 0.72);
  color: #ffa4a8;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.btn-block.btn-support:hover {
  background: rgba(225, 29, 116, 0.2);
  color: #fff;
}

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--link);
}

.page-title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lead {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.filter-bar .btn {
  background: rgba(30, 22, 48, 0.75);
  color: var(--text);
  border: 1px solid rgba(220, 50, 55, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.filter-bar .btn:hover {
  border-color: rgba(255, 140, 120, 0.42);
  color: var(--link-hover);
}

.listing-search {
  margin: 0.35rem 0 0.2rem;
}

.listing-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0.1rem 0 0;
}

.price-item--outcall .price-item__visual,
.price-item--express .price-item__visual {
  height: 30px;
  min-width: 2.4rem;
  padding: 0 0.52rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #fff;
  box-sizing: border-box;
}

.price-item--outcall .price-item__visual {
  background:
    linear-gradient(rgba(8, 4, 6, 0.78), rgba(8, 4, 6, 0.78)) padding-box,
    linear-gradient(145deg, #5eead4, #0f766e) border-box;
  box-shadow:
    0 0 8px rgba(45, 212, 191, 0.42),
    0 0 16px rgba(13, 148, 136, 0.22);
}

.price-item--express .price-item__visual {
  background:
    linear-gradient(rgba(8, 4, 6, 0.78), rgba(8, 4, 6, 0.78)) padding-box,
    linear-gradient(145deg, #f0abfc, #a21caf) border-box;
  box-shadow:
    0 0 8px rgba(232, 121, 249, 0.48),
    0 0 16px rgba(162, 28, 175, 0.28);
}

.profile-tag__extra {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  margin-left: 0;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.35;
  white-space: nowrap;
  text-align: right;
  color: #f0d0c8;
}

.listing-search__toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.listing-search__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.listing-search__chip {
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 130, 0.28);
  background: rgba(36, 22, 26, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.38rem 0.72rem;
}

.listing-search__chip:hover,
.listing-search__chip.is-active {
  border-color: rgba(255, 150, 155, 0.55);
  background: rgba(160, 36, 48, 0.42);
  color: #fff;
}

.listing-search__count {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.listing-search__panel {
  margin-top: 0.85rem;
  border: 1px solid rgba(255, 90, 100, 0.22);
  border-radius: var(--radius);
  background: rgba(28, 18, 22, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.listing-search__panel > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.listing-search__panel > summary::-webkit-details-marker {
  display: none;
}

.listing-search__panel > summary::after {
  content: "▾";
  float: right;
  color: var(--text-muted);
}

.listing-search__panel[open] > summary::after {
  content: "▴";
}

.listing-search__form {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 1rem;
}

.listing-search__ranges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.7rem 1rem;
  align-items: end;
}

.listing-search__range {
  display: grid;
  gap: 0.32rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.listing-search__range-inputs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.listing-search__range input {
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 120, 130, 0.22);
  background: rgba(16, 10, 12, 0.55);
  color: var(--text);
  font: inherit;
  padding: 0.42rem 0.55rem;
}

.listing-search__group {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.listing-search__group legend {
  padding: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.listing-search__checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.28rem 0.7rem;
}

.listing-search__check {
  display: flex;
  align-items: flex-start;
  gap: 0.42rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--text);
  cursor: pointer;
}

.listing-search__check input {
  margin-top: 0.15rem;
  accent-color: #ef4444;
}

.listing-search__check--avail {
  align-self: center;
}

.listing-search__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.2rem;
}

.listing-search__reset,
.listing-search__apply {
  min-width: 9.5rem;
}

.listing-search__apply {
  background: linear-gradient(180deg, var(--btn-cta-from), var(--btn-cta-to));
  border-color: transparent;
}

.listing-empty {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 130, 140, 0.28);
  color: var(--text-muted);
}

.listing-card.is-filtered-out {
  display: none;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.35rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

.listing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 255, 255, 0.07);
  min-height: 280px;
  height: 100%;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
  background: rgba(0, 0, 0, 0.82);
}

.listing-card::before {
  content: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200%;
  height: 200%;
  margin-left: -50%;
  margin-top: -50%;
  transform-origin: center center;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 288deg,
    rgba(255, 255, 255, 0.12) 304deg,
    rgba(255, 255, 255, 0.65) 312deg,
    #ffffff 318deg,
    #ffffff 326deg,
    rgba(255, 255, 255, 0.75) 334deg,
    rgba(255, 255, 255, 0.1) 346deg,
    transparent 356deg,
    transparent 360deg
  );
  animation: none;
  opacity: 0;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 6px rgba(255, 235, 238, 0.55));
}

.listing-card::after {
  content: "";
  position: absolute;
  inset: var(--card-trace-width);
  border-radius: calc(var(--radius) - var(--card-trace-width));
  z-index: 1;
  pointer-events: none;
  background: rgba(5, 4, 8, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.listing-card--premium::after {
  background:
    linear-gradient(165deg, rgba(120, 78, 10, 0.22) 0%, rgba(8, 6, 4, 0.78) 42%, rgba(5, 4, 8, 0.84) 100%);
  box-shadow: inset 0 0 0 1px rgba(232, 195, 106, 0.28);
}

.listing-card > * {
  position: relative;
  z-index: 2;
}

@keyframes listing-card-trace-move {
  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-card::before {
    animation: none;
    opacity: 0;
    background: linear-gradient(
      138deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.04) 36%,
      rgba(255, 255, 255, 0.12) 58%,
      rgba(255, 255, 255, 0.03) 100%
    );
    transform: none;
  }

  .listing-card:hover::before {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .listing-card:hover::before {
    animation: none;
    filter: none;
  }
}

.listing-card:hover {
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 12px rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

@media (min-width: 901px) {
  .listing-card {
    isolation: auto;
    overflow: clip;
    contain: paint;
  }

  .listing-card:hover {
    transform: none;
  }

  .listing-card::before {
    filter: none;
  }

  .listing-card__media img {
    transform: translateZ(0);
  }

  .listing-card .photo-ribbon,
  .listing-card .badge-tablet {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .listing-card .photo-ribbon::before,
  .listing-card .badge-tablet::before {
    filter: none;
  }

  .listing-card .work-status-pill--on,
  .listing-card .work-status-pill--off,
  .listing-card .work-status-pill--on .work-status-pill__dot,
  .listing-card .work-status-pill--off .work-status-pill__dot,
  .listing-card .work-status-pill--on .work-status-pill__label,
  .listing-card .work-status-pill--off .work-status-pill__label {
    animation: none;
  }
}

.listing-card--premium {
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(232, 195, 106, 0.42),
    0 0 36px rgba(201, 162, 39, 0.28);
}

.listing-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.42rem 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(32, 22, 26, 0.92) 0%, rgba(16, 12, 14, 0.9) 100%);
}

.listing-card__head .work-status-pill {
  margin-top: 0;
}

.listing-card__row {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.listing-card__media {
  position: relative;
  flex: none;
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(180, 48, 58, 0.22), transparent 58%),
    #10080c;
}

.listing-card__media > a {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
}

.listing-card__media img.is-broken {
  opacity: 0;
}

.listing-card__media img.listing-card__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.listing-card__media img.listing-card__slide--active {
  opacity: 1;
}

.listing-card__ticks {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  z-index: 3;
  display: flex;
  gap: 0.28rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.listing-card__ticks span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.listing-card__ticks span.is-on {
  background: #fff;
}

.listing-card__media-meta {
  position: absolute;
  right: 0.42rem;
  bottom: 0.42rem;
  z-index: 3;
  display: flex;
  gap: 0.28rem;
  pointer-events: none;
}

.listing-card__media-meta[hidden] {
  display: none;
}

.listing-card__media-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 1.32rem;
  padding: 0.14rem 0.4rem;
  border-radius: 999px;
  background: rgba(8, 6, 8, 0.62);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.listing-card__media-chip svg {
  display: block;
  flex: none;
}

.listing-card__verified {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  color: #0095f6;
  flex: none;
  overflow: visible;
}

.listing-card__verified[hidden] {
  display: none !important;
}

.listing-card__verified svg {
  width: 100%;
  height: 100%;
  display: block;
}

.listing-card__body {
  flex: 1;
  padding: 0.8rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-width: 0;
  min-height: 0;
}

.listing-card__title-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.listing-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--link);
}

.listing-card__title:hover {
  text-decoration: underline;
}

.listing-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.listing-card__meta a {
  color: var(--link);
}

.listing-stats {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.15rem 0 0;
}

.listing-card__flair {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0.08rem 0 0;
}

.work-status-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  margin: 0.3rem 0 0;
  padding: 0.22rem 0.62rem 0.22rem 0.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  font-feature-settings: "kern" 1;
  background: rgba(10, 8, 12, 0.92);
}

.work-status-pill__label {
  white-space: nowrap;
}

.work-status-pill__dot {
  flex-shrink: 0;
  align-self: center;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.work-status-pill--compact {
  margin: 0.28rem 0 0;
  padding: 0.18rem 0.54rem 0.18rem 0.44rem;
  gap: 0.46rem;
  font-size: 0.64rem;
  letter-spacing: 0.045em;
}

.work-status-pill--compact .work-status-pill__dot {
  width: 6px;
  height: 6px;
}

@keyframes work-status-blink-on {
  0%,
  100% {
    border-color: rgba(60, 165, 100, 0.45);
    box-shadow:
      0 0 0 1px rgba(20, 60, 36, 0.35) inset,
      0 2px 12px rgba(0, 0, 0, 0.4),
      0 0 16px rgba(50, 200, 100, 0.18);
  }

  50% {
    border-color: rgba(120, 240, 170, 0.75);
    box-shadow:
      0 0 0 1px rgba(30, 100, 55, 0.5) inset,
      0 2px 12px rgba(0, 0, 0, 0.35),
      0 0 22px rgba(80, 255, 140, 0.42),
      0 0 40px rgba(40, 200, 90, 0.2);
  }
}

@keyframes work-status-blink-dot-on {
  0%,
  100% {
    box-shadow:
      0 0 4px 2px rgba(100, 255, 150, 0.75),
      0 0 12px 3px rgba(40, 220, 100, 0.35);
    opacity: 1;
  }

  50% {
    box-shadow:
      0 0 8px 3px rgba(160, 255, 190, 1),
      0 0 22px 5px rgba(60, 240, 120, 0.55);
    opacity: 0.88;
  }
}

@keyframes work-status-blink-label-on {
  0%,
  100% {
    color: #9fe8b8;
    text-shadow: 0 0 14px rgba(90, 220, 130, 0.35);
    opacity: 1;
  }

  50% {
    color: #d4ffe4;
    text-shadow:
      0 0 18px rgba(120, 255, 170, 0.65),
      0 0 28px rgba(50, 200, 100, 0.35);
    opacity: 0.92;
  }
}

@keyframes work-status-blink-off {
  0%,
  100% {
    border-color: rgba(180, 70, 85, 0.45);
    box-shadow:
      0 0 0 1px rgba(50, 20, 24, 0.35) inset,
      0 2px 12px rgba(0, 0, 0, 0.4),
      0 0 14px rgba(220, 60, 80, 0.12);
  }

  50% {
    border-color: rgba(255, 130, 150, 0.75);
    box-shadow:
      0 0 0 1px rgba(90, 28, 38, 0.45) inset,
      0 2px 12px rgba(0, 0, 0, 0.35),
      0 0 24px rgba(255, 100, 120, 0.38),
      0 0 36px rgba(200, 50, 70, 0.18);
  }
}

@keyframes work-status-blink-dot-off {
  0%,
  100% {
    box-shadow:
      0 0 4px 2px rgba(255, 100, 110, 0.85),
      0 0 12px 3px rgba(220, 60, 80, 0.4);
    opacity: 1;
  }

  50% {
    box-shadow:
      0 0 8px 3px rgba(255, 150, 160, 0.95),
      0 0 22px 5px rgba(255, 80, 100, 0.5);
    opacity: 0.85;
  }
}

@keyframes work-status-blink-label-off {
  0%,
  100% {
    color: #f0b8c0;
    text-shadow: 0 0 12px rgba(255, 100, 120, 0.28);
    opacity: 1;
  }

  50% {
    color: #ffd0d6;
    text-shadow:
      0 0 18px rgba(255, 130, 140, 0.55),
      0 0 26px rgba(220, 60, 80, 0.3);
    opacity: 0.9;
  }
}

.work-status-pill--on {
  color: #9fe8b8;
  border: 1px solid rgba(60, 165, 100, 0.45);
  box-shadow:
    0 0 0 1px rgba(20, 60, 36, 0.35) inset,
    0 2px 12px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(50, 200, 100, 0.18);
  animation: work-status-blink-on 2.1s ease-in-out infinite;
}

.work-status-pill--on .work-status-pill__dot {
  background: #e8fff0;
  animation: work-status-blink-dot-on 2.1s ease-in-out infinite;
}

.work-status-pill--on .work-status-pill__label {
  animation: work-status-blink-label-on 2.1s ease-in-out infinite;
}

.work-status-pill--off {
  color: #f0b8c0;
  border: 1px solid rgba(180, 70, 85, 0.45);
  box-shadow:
    0 0 0 1px rgba(50, 20, 24, 0.35) inset,
    0 2px 12px rgba(0, 0, 0, 0.4),
    0 0 14px rgba(220, 60, 80, 0.12);
  animation: work-status-blink-off 2.1s ease-in-out infinite;
}

.work-status-pill--off .work-status-pill__dot {
  background: #ffeef0;
  animation: work-status-blink-dot-off 2.1s ease-in-out infinite;
}

.work-status-pill--off .work-status-pill__label {
  animation: work-status-blink-label-off 2.1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .work-status-pill--on,
  .work-status-pill--off,
  .work-status-pill--on .work-status-pill__dot,
  .work-status-pill--off .work-status-pill__dot,
  .work-status-pill--on .work-status-pill__label,
  .work-status-pill--off .work-status-pill__label {
    animation: none;
  }

  .work-status-pill--on .work-status-pill__label {
    color: #a8f0c4;
    text-shadow: 0 0 12px rgba(90, 220, 130, 0.35);
    opacity: 1;
  }

  .work-status-pill--off .work-status-pill__label {
    color: #f0b8c0;
    text-shadow: 0 0 10px rgba(255, 100, 120, 0.22);
    opacity: 1;
  }
}

.work-status-pill[hidden] {
  display: none !important;
}

.profile-status-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  border: 0;
  background: none;
  border-radius: 0;
}

.profile-status-bar .work-status-pill {
  margin-top: 0;
}

.profile-status-bar[hidden] {
  display: none !important;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.price-item {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--text);
}

.price-item__visual {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.price-slot-icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 85, 95, 0.35));
}

.listing-card .price-row {
  gap: 0.38rem 0.55rem;
}

.listing-card .price-item {
  padding: 0.12rem 0.42rem 0.12rem 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.listing-card .price-item strong {
  color: #ffb4bc;
  font-size: 0.78rem;
  white-space: nowrap;
  font-weight: 700;
  text-shadow:
    0 0 2px rgba(255, 90, 98, 0.65),
    0 0 10px rgba(255, 52, 62, 0.45),
    0 0 22px rgba(220, 40, 52, 0.3);
}

@keyframes listing-price-neon {
  0%,
  100% {
    color: #ffaeb6;
    text-shadow:
      0 0 2px rgba(255, 90, 98, 0.55),
      0 0 8px rgba(255, 50, 58, 0.38),
      0 0 18px rgba(200, 38, 46, 0.22);
  }

  50% {
    color: #ffdde0;
    text-shadow:
      0 0 3px rgba(255, 115, 122, 0.85),
      0 0 14px rgba(255, 70, 82, 0.55),
      0 0 28px rgba(240, 52, 62, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-card .price-item strong {
    animation: none;
    color: #ffa2ab;
    text-shadow:
      0 0 3px rgba(255, 95, 105, 0.5),
      0 0 12px rgba(220, 45, 52, 0.25);
  }
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.tags-row--stack {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0.32rem;
}

.tags-row--stack .tag {
  display: block;
  width: 100%;
  text-align: left;
}

.tags-row--cols,
.card-panel-tags,
[data-persona-tags].tags-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.6rem;
  margin-top: 0.35rem;
  padding-top: 0;
  align-items: start;
  flex-direction: unset;
  flex-wrap: unset;
}

@media (min-width: 900px) {
  .tags-row--cols,
  .card-panel-tags,
  [data-persona-tags].tags-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.profile-tags-col__title {
  margin: 0 0 0.45rem;
  padding: 0 0 0.28rem;
  border-bottom: 1px solid rgba(255, 210, 214, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #f0d8d4;
}

.profile-tags-col,
.profile-tags-col__list {
  width: 100%;
  min-width: 0;
}

.profile-tags-col__list {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.profile-tag {
  display: grid;
  grid-template-columns: 0.55rem minmax(0, 1fr) max-content;
  align-items: start;
  column-gap: 0.42rem;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #efe6e4;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: default;
}

.profile-tag__text {
  display: contents;
}

.profile-tag__label {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-tag::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.38em;
  border-radius: 50%;
  background: #e45b66;
  box-shadow: 0 0 0 2px rgba(228, 91, 102, 0.18);
}

.profile-tag--plain::before {
  background: #8a6f72;
  box-shadow: none;
}

.listing-card .tags-row--card {
  flex: 1 1 auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 0.28rem;
  margin-top: 0.15rem;
  padding-top: 0.2rem;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

.listing-card .tags-row--card .tag {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  padding: 0.16rem 0.45rem;
  font-size: 0.7rem;
  line-height: 1.2;
}

.photo-ribbons {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  top: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  width: max-content;
  max-width: 48%;
  gap: 0.32rem;
  padding: 0 0 0.5rem 0;
  background: none;
  pointer-events: none;
}

.listing-card .photo-ribbon,
.listing-card .badge-tablet {
  width: 100%;
  justify-content: flex-start;
  box-sizing: border-box;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0.32rem 0.7rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.photo-ribbons:empty {
  display: none;
}

.photo-ribbon,
.badge-tablet {
  --ribbon-accent: #fff4d8;
  --ribbon-ink: #fffaf4;
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--ribbon-accent) 38%, rgba(255, 255, 255, 0.55));
  border-radius: 12px;
  padding: 0.36rem 0.78rem;
  color: var(--ribbon-ink);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 38%, rgba(8, 6, 10, 0.18) 100%),
    color-mix(in srgb, var(--ribbon-accent) 16%, rgba(18, 14, 18, 0.28));
  backdrop-filter: blur(22px) saturate(210%);
  -webkit-backdrop-filter: blur(22px) saturate(210%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 18px rgba(0, 0, 0, 0.28),
    0 0 18px color-mix(in srgb, var(--ribbon-accent) 18%, transparent);
}

.photo-ribbon::before,
.badge-tablet::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 6%;
  width: 62%;
  height: 46%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at 50% 35%,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.18) 42%,
    transparent 72%
  );
  filter: blur(0.4px);
}

.photo-ribbon::after,
.badge-tablet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 -10px 16px color-mix(in srgb, var(--ribbon-accent) 12%, transparent);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 62%);
}

.photo-ribbon__label,
.badge-tablet__label {
  position: relative;
  z-index: 1;
}

.photo-ribbon:hover,
.badge-tablet:hover {
  border-color: color-mix(in srgb, var(--ribbon-accent) 55%, #fff);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 22px rgba(0, 0, 0, 0.34),
    0 0 24px color-mix(in srgb, var(--ribbon-accent) 32%, transparent);
}

.photo-ribbon__bar {
  display: none;
}

.photo-ribbon--outcall,
.badge-tablet--outcall {
  --ribbon-accent: #ff9d4a;
  --ribbon-ink: #fff3e4;
}

.photo-ribbon--apartments,
.badge-tablet--apartments {
  --ribbon-accent: #7eb6ff;
  --ribbon-ink: #eef6ff;
}

.photo-ribbon--verified,
.badge-tablet--verified {
  --ribbon-accent: #4ee08a;
  --ribbon-ink: #e8fff2;
}

.photo-ribbon--vip,
.badge-tablet--vip {
  --ribbon-accent: #e8d4ff;
  --ribbon-ink: #f7efff;
}

.photo-ribbon--premium,
.badge-tablet--premium {
  --ribbon-accent: #f0c14a;
  --ribbon-ink: #fff4c8;
  border-color: rgba(255, 214, 120, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 236, 170, 0.42) 0%, rgba(201, 146, 28, 0.18) 36%, rgba(42, 24, 4, 0.38) 100%),
    rgba(28, 16, 4, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 248, 214, 0.75) inset,
    0 -1px 0 rgba(120, 70, 0, 0.35) inset,
    0 8px 20px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(240, 193, 74, 0.45),
    0 0 40px rgba(201, 146, 28, 0.22);
}

.photo-ribbon--premium::before,
.badge-tablet--premium::before {
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(255, 252, 230, 0.92) 0%,
    rgba(255, 214, 120, 0.32) 48%,
    transparent 74%
  );
}

.photo-ribbon--premium .photo-ribbon__label,
.badge-tablet--premium .badge-tablet__label {
  background: linear-gradient(180deg, #fffcee 0%, #ffe58a 48%, #e0b13a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 6px rgba(80, 48, 0, 0.45));
}

@media (prefers-reduced-motion: no-preference) {
  .photo-ribbon--premium,
  .badge-tablet--premium {
    animation: premium-glass-breathe 3.6s ease-in-out infinite;
  }
}

@keyframes premium-glass-breathe {
  0%,
  100% {
    box-shadow:
      0 1px 0 rgba(255, 248, 214, 0.75) inset,
      0 -1px 0 rgba(120, 70, 0, 0.35) inset,
      0 8px 20px rgba(0, 0, 0, 0.34),
      0 0 18px rgba(240, 193, 74, 0.38),
      0 0 34px rgba(201, 146, 28, 0.16);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 252, 230, 0.9) inset,
      0 -1px 0 rgba(120, 70, 0, 0.35) inset,
      0 8px 20px rgba(0, 0, 0, 0.34),
      0 0 28px rgba(255, 214, 110, 0.62),
      0 0 48px rgba(232, 176, 48, 0.3);
  }
}

.photo-ribbon--incar,
.badge-tablet--incar {
  --ribbon-accent: #c59bff;
  --ribbon-ink: #f4eaff;
}

.photo-ribbon__popup,
.badge-tablet__popup {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.4rem);
  top: auto;
  z-index: 8;
  min-width: 10.5rem;
  max-width: min(15rem, calc(100vw - 3rem));
  padding: 0.48rem 0.58rem;
  border-radius: 14px;
  color: #f6f1ea;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  background: rgba(22, 16, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 12px 28px rgba(0, 0, 0, 0.38);
}

.prepaid-warning {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(220, 80, 80, 0.4);
  background: rgba(90, 18, 22, 0.45);
  color: #ffd0d0;
  font-size: 0.82rem;
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 0.26rem 0.62rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--tag-text);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.tag:hover {
  background: rgba(220, 40, 52, 0.32);
  border-color: rgba(255, 155, 160, 0.58);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 12px rgba(255, 80, 92, 0.22);
}

.tag--dark {
  background: linear-gradient(148deg, rgba(110, 28, 36, 0.95), rgba(48, 14, 18, 0.98));
  border-color: rgba(255, 140, 150, 0.45);
  color: #fff0f1;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 14px rgba(220, 50, 60, 0.2);
}

.listing-card__cta {
  margin-top: auto;
  padding-top: 0.45rem;
  width: 100%;
  align-self: stretch;
  flex-shrink: 0;
  display: flex;
}

.listing-card__cta .btn-block {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0.72rem 1.45rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
  padding: 0.58rem 0.85rem;
  background: linear-gradient(130deg, var(--btn-cta-from), var(--btn-cta-to));
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.025em;
  border: none;
  cursor: pointer;
  box-shadow:
    0 4px 22px rgba(180, 30, 32, 0.45),
    0 0 40px rgba(220, 50, 50, 0.18);
}

.btn-block:hover {
  background: linear-gradient(130deg, var(--btn-cta-hover-from), var(--btn-cta-hover-to));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(228, 52, 56, 0.5), 0 0 42px rgba(140, 36, 40, 0.25);
}

.profile-page .site-footer {
  border-top-color: rgba(220, 82, 88, 0.22);
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .listing-card__row {
    flex-direction: column;
  }

  .listing-card__media {
    max-width: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    flex: none;
    touch-action: pan-y;
  }

  .listing-card__media > a {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
  }

  .listing-card .price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.32rem;
  }

  .listing-card .price-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .listing-card .price-item--outcall .price-item__visual,
  .listing-card .price-item--express .price-item__visual {
    height: 34px;
    font-size: 0.76rem;
    padding: 0 0.72rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1200px, 100% - 1.1rem);
    padding-block: 0.9rem 1.8rem;
  }

  .page-head--listing {
    gap: 0.7rem;
    align-items: flex-start;
  }

  .page-head__actions {
    width: auto;
  }

  .btn-block.btn-add-profile,
  .btn-block.btn-support {
    width: auto;
    min-width: 10.75rem;
    min-height: 2.7rem;
    padding: 0.62rem 1.1rem;
    font-size: 0.9rem;
  }

  .listing-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-top: 0.9rem;
  }

  .listing-search__checks {
    grid-template-columns: 1fr 1fr;
  }

  .listing-search__ranges {
    grid-template-columns: 1fr;
  }

  .listing-card {
    min-height: 0;
    height: calc(100vh - 0.5rem);
    height: calc(100svh - 0.5rem);
    max-height: calc(100vh - 0.5rem);
    max-height: calc(100dvh - 0.5rem);
    overflow: hidden;
  }

  .listing-card__row {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
  }

  .listing-card__body {
    flex: 0 1 auto;
    min-height: 0;
    padding: 0.55rem 0.72rem 0.58rem;
    gap: 0.16rem;
  }

  .listing-card__media {
    flex: 1 1 0;
    min-height: 7rem;
    height: auto;
    max-height: none;
    aspect-ratio: unset;
  }

  .listing-card__media > a {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
  }

  .listing-card__media img {
    object-fit: cover;
    object-position: center;
  }

  .photo-ribbons {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
    padding: 0 0 0.4rem 0;
    background: none;
  }

  .photo-ribbon,
  .badge-tablet {
    font-size: 0.54rem;
    padding: 0.28rem 0.62rem;
  }

  .price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.32rem;
  }

  .price-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.18rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .price-item:last-child {
    border-bottom: none;
  }

  .listing-card .tags-row--card {
    margin-top: 0.1rem;
    padding-top: 0.12rem;
    max-height: 3.05em;
  }

  .listing-card__excerpt {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .listing-card .price-item {
    padding: 0.08rem 0;
  }

  .listing-card__cta {
    flex-shrink: 0;
    margin-top: 0.2rem;
    padding-top: 0.32rem;
  }

  .listing-card__cta .btn-block {
    width: 100%;
    max-width: none;
    padding: 0.58rem 1rem;
    font-size: 0.84rem;
  }

  .site-logo--neon {
    letter-spacing: 0.16em;
  }

  .site-tagline-neon {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    font-size: clamp(1.2rem, 5.8vw, 2.05rem);
  }

  .param-grid {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.4rem 0.75rem;
  }

  .param-grid dt {
    max-width: none;
    overflow-wrap: break-word;
  }

  .param-grid dd {
    white-space: nowrap;
    text-align: right;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .profile-gallery-box {
    padding: 0.55rem;
  }

  .gallery-main {
    max-height: min(56vh, 520px);
    touch-action: pan-y;
  }

  .thumbs-row {
    gap: 0.28rem;
  }

  .thumbs-row button.gallery-thumb-select {
    flex: 0 0 58px;
  }

  .thumbs-row img {
    width: 58px;
    height: 58px;
  }

  .card-panel {
    padding: 0.82rem 0.82rem;
  }
}

.profile-main > * + * {
  margin-top: 1rem;
}

.profile-title-block h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.profile-verified {
  display: inline-flex;
  width: 1.28rem;
  height: 1.28rem;
  color: #0095f6;
  flex: none;
  overflow: visible;
}

.profile-verified[hidden] {
  display: none !important;
}

.profile-verified svg {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-title-block__loc {
  margin: 0.5rem 0 0;
}

.profile-layout > .profile-title-block {
  grid-column: 1 / -1;
}

.profile-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.55rem;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.42rem, 3.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.profile-phone[hidden] {
  display: none !important;
}

.profile-phone:hover,
.profile-phone:focus-visible {
  color: #ffe4ea;
}

.profile-phone svg {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

.profile-status-bar .work-status-pill {
  font-size: 0.76rem;
  padding: 0.22rem 0.62rem 0.22rem 0.48rem;
}

.profile-status-bar .work-status-pill__dot {
  width: 8px;
  height: 8px;
}

.profile-gallery-box {
  position: relative;
  background: rgba(32, 16, 20, 0.62);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(215, 72, 78, 0.12);
  backdrop-filter: blur(12px);
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 760px);
  margin-inline: 0;
  background: #100c10;
  border: 1px solid rgba(215, 72, 78, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 200, 200, 0.06),
    0 0 40px rgba(228, 52, 56, 0.08);
}

.gallery-photo-blur {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  object-position: center;
  filter: blur(32px) saturate(1.12) brightness(0.58);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.gallery-main:not(.gallery-main--has-album) .gallery-nav {
  display: none;
}

.gallery-photo-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  background: transparent;
  cursor: zoom-in;
  border-radius: inherit;
  text-align: left;
  z-index: 1;
}

.gallery-photo-trigger:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.gallery-photo-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  overflow: hidden;
  z-index: 1;
}

.gallery-photo-frame img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.gallery-nav--prev {
  left: 0.5rem;
}

.gallery-nav--next {
  right: 0.5rem;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.65);
}

.thumbs-row {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.thumbs-row a {
  flex: 0 0 72px;
  border-radius: 6px;
  overflow: hidden;
  outline-offset: 2px;
}

.thumbs-row button.gallery-thumb-trigger {
  flex: 0 0 72px;
  border-radius: 6px;
  overflow: hidden;
  outline-offset: 2px;
  padding: 0;
  margin: 0;
  border: 2px solid rgba(215, 72, 78, 0.12);
  cursor: zoom-in;
  background: rgba(230, 42, 46, 0.08);
}

.thumbs-row button.gallery-thumb-trigger:focus-visible {
  outline: 2px solid var(--focus-ring);
}

.thumbs-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.thumbs-row button.gallery-thumb-select {
  flex: 0 0 72px;
  border-radius: 8px;
  overflow: hidden;
  outline-offset: 2px;
  padding: 0;
  margin: 0;
  border: 2px solid rgba(215, 72, 78, 0.18);
  cursor: pointer;
  background: rgba(12, 8, 10, 0.65);
}

.thumbs-row button.gallery-thumb-select:focus-visible {
  outline: 2px solid var(--focus-ring);
}

.gallery-thumb-select.is-active {
  border-color: rgba(244, 114, 182, 0.95);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.32);
}

.profile-media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.profile-media-tab {
  appearance: none;
  border: 1px solid rgba(255, 90, 100, 0.28);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.profile-media-tab:hover {
  color: var(--text);
  border-color: rgba(255, 140, 150, 0.45);
}

.profile-media-tab[aria-selected="true"] {
  color: #fff;
  border-color: rgba(255, 120, 130, 0.55);
  background: rgba(220, 40, 52, 0.22);
  box-shadow: 0 0 18px rgba(220, 40, 52, 0.12);
}

.profile-video-placeholder {
  margin: 0;
  padding: 1rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 90, 100, 0.28);
}

.profile-video-placeholder code {
  font-size: 0.84em;
  color: var(--tag-text);
}

.profile-video-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-video-item video {
  display: block;
  width: 100%;
  max-height: min(70vh, 720px);
  border-radius: var(--radius-sm);
  background: #000;
}

.profile-video-caption {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sidebar-sticky .profile-contacts-toggle {
  margin-top: 0.85rem;
}

.contacts-reveal {
  display: flex;
  flex-direction: column;
  margin-top: 0.65rem;
}

.contacts-reveal[hidden],
#profile-contacts-panel[hidden] {
  display: none !important;
}

.contacts-reveal:focus {
  outline: none;
}

.contacts-reveal:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.contacts-reveal__title {
  margin: 0 0 0.95rem;
  font-size: 1rem;
}

.contacts-reveal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}

.contacts-reveal__close {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.contacts-reveal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contacts-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 2, 6, 0.62);
  cursor: pointer;
}

.contacts-sheet-backdrop[hidden] {
  display: none !important;
}

.contacts-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contacts-links > li[hidden] {
  display: none !important;
}

.contacts-messenger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 80, 90, 0.24);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.contacts-messenger:hover {
  border-color: rgba(255, 140, 150, 0.5);
  background: rgba(220, 40, 52, 0.12);
  color: #fff;
  text-decoration: none;
}

.contacts-messenger--telegram .contacts-messenger__icon {
  color: #38bdf8;
}

.contacts-messenger--phone .contacts-messenger__icon {
  color: #86efac;
}

.contacts-messenger__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-messenger__icon--max {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  background: linear-gradient(145deg, #6366f1, #4338ca);
  color: #fff;
}

.contacts-messenger__text {
  font-size: 0.9rem;
  font-weight: 600;
}

.contacts-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.contacts-handle {
  color: var(--link-hover);
}

.btn-block--dm-site {
  margin-top: 1.55rem;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 90, 100, 0.45);
  box-shadow: none;
}

.btn-block--dm-site:hover {
  background: rgba(220, 40, 52, 0.18);
  box-shadow: 0 4px 20px rgba(180, 30, 32, 0.35);
}

.card-panel {
  background: rgba(24, 18, 42, 0.65);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(215, 72, 78, 0.1);
  backdrop-filter: blur(10px);
}

.card-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.card-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 0.75rem;
  cursor: pointer;
}

.card-panel__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.card-panel__head h2 {
  margin: 0;
  flex: 1 1 auto;
}

.card-panel__chevron {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 130, 0.28);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.card-panel__chevron::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-2px) rotate(45deg);
}

.card-panel__head:hover .card-panel__chevron,
.card-panel__toggle:hover .card-panel__chevron {
  border-color: rgba(255, 140, 150, 0.5);
}

.card-panel.is-collapsed .card-panel__head {
  margin-bottom: 0;
}

.card-panel.is-collapsed .card-panel__chevron::after {
  transform: translateY(1px) rotate(-135deg);
}

.card-panel.is-collapsed .card-panel__body {
  display: none;
}

.param-grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: baseline;
  font-size: 0.875rem;
}

.param-grid dt {
  margin: 0;
  color: var(--text-muted);
  max-width: 14rem;
}

.param-grid dd {
  margin: 0;
  font-weight: 500;
  min-width: 0;
}

.card-panel .tags-row {
  margin-top: 0.55rem;
}

.tags-row--demo {
  gap: 0.3rem 0.4rem;
}

.card-panel-tags {
  flex-wrap: unset;
}

.tariff-footnote {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.text-muted-block {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.notice-soft {
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(228, 52, 56, 0.1);
  border: 1px solid rgba(220, 92, 96, 0.24);
  color: #f5e6ff;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.sidebar-sticky {
  position: sticky;
  top: 1rem;
}

.sidebar-sticky .btn-block {
  margin-bottom: 1rem;
}

.tariff-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.tariff-section {
  margin-bottom: 0.75rem;
}

.tariff-section-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.tariff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.tariff-box {
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.tariff-box--day {
  background: rgba(120, 80, 30, 0.35);
  border: 1px solid rgba(250, 200, 100, 0.35);
  color: #fff5e8;
}

.tariff-box--night {
  background: linear-gradient(145deg, #5f1016, #2a090c);
  color: #f0e8ff;
  border: 1px solid rgba(160, 100, 255, 0.45);
}

.tariff-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.tariff-lines span {
  display: block;
  margin-top: 0.15rem;
}

.link-muted {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(215, 72, 78, 0.15);
}

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-top: 0.65rem;
  border: 1px solid rgba(215, 72, 78, 0.1);
}

.review-card__author {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.15rem;
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.review-card__text {
  margin: 0;
  font-size: 0.875rem;
}

.review-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.45rem;
}

.review-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 130, 0.28);
  background: rgba(220, 40, 52, 0.16);
  font-size: 0.72rem;
  color: var(--tag-text);
}

.review-empty {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.review-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(215, 72, 78, 0.15);
}

.review-form__title {
  margin: 0;
  font-size: 1rem;
}

.review-form__field,
.review-form__choice,
.review-form__stars {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.review-form__field span,
.review-form__choice legend,
.review-form__stars legend {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 120, 130, 0.22);
  background: rgba(16, 10, 12, 0.55);
  color: var(--text);
  font: inherit;
  padding: 0.5rem 0.65rem;
}

.review-form__choice label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.review-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.review-star {
  border: 1px solid rgba(255, 120, 130, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 0.28rem 0.5rem;
  cursor: pointer;
  font-size: 0.78rem;
}

.review-star.is-on {
  color: #ffd6d9;
  border-color: rgba(248, 113, 113, 0.85);
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.42), rgba(127, 18, 18, 0.55));
  box-shadow: 0 0 0 1px rgba(255, 150, 156, 0.28), 0 6px 16px rgba(180, 24, 32, 0.32);
}

.review-form__status {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem;
  opacity: 0.6;
}

.icon-btn:hover {
  opacity: 1;
}

.profile-back {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

code {
  font-size: 0.9em;
  background: rgba(220, 40, 46, 0.11);
  border: 1px solid rgba(228, 108, 112, 0.22);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  color: #ffddea;
}

.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found h1 {
  margin: 0 0 0.5rem;
}

.site-footer {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.25rem 1rem 2.4rem;
  border-top: 1px solid rgba(255, 110, 180, 0.18);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer__support {
  margin: 0 auto 0.85rem;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer__support a:not(.btn-block) {
  color: #ffa4a8;
}

.site-footer__support a:not(.btn-block):hover {
  color: #fff;
}

.site-footer__disclaimer {
  margin: 0 auto;
  max-width: 48rem;
  font-size: 0.48rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(160, 140, 145, 0.38);
  text-align: center;
  hyphens: auto;
}

.site-footer .btn-block.btn-support.site-footer__support-btn {
  display: flex;
  width: min(100%, 16.5rem);
  min-width: 0;
  margin: 1.15rem auto 0.25rem;
}

@media (min-width: 720px) {
  .site-footer__disclaimer {
    font-size: 0.5rem;
  }
}

.age-cookie-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(8, 4, 6, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-cookie-gate__panel {
  width: min(100%, 440px);
  max-height: min(92dvh, 620px);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(38, 22, 28, 0.98), rgba(18, 10, 14, 0.98));
  border: 1px solid rgba(255, 120, 130, 0.35);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.55), 0 0 40px rgba(180, 40, 52, 0.18);
}

.age-cookie-gate__title {
  margin: 0 0 0.65rem;
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.age-cookie-gate__lead {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  line-height: 1.48;
  color: var(--text-muted);
}

.age-cookie-gate__agree {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.age-cookie-gate__btn {
  margin-top: 1.1rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: #fff;
  text-transform: lowercase;
  background: linear-gradient(145deg, var(--btn-cta-from), var(--btn-cta-to));
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.age-cookie-gate__btn:hover {
  background: linear-gradient(145deg, var(--btn-cta-hover-from), var(--btn-cta-hover-to));
}

.fab-stack {
  position: fixed;
  right: max(0.65rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  pointer-events: none;
}

.fab-stack > * {
  pointer-events: auto;
}

.fab {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  background: rgba(24, 14, 18, 0.88);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s ease, background 0.12s ease;
}

.fab:hover {
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.fab--chat {
  font-size: 1.35rem;
  line-height: 1;
  border-color: rgba(251, 113, 133, 0.65);
  background: linear-gradient(150deg, #fb7185, #be123c);
}

.fab--support {
  font-size: 1.2rem;
  font-weight: 700;
  border-color: rgba(196, 181, 253, 0.55);
  background: linear-gradient(150deg, #7c3aed, #6d28d9);
}

.fab--scroll-top[hidden] {
  display: none !important;
}

.photo-lightbox:not([open]) {
  display: none;
}

html.photo-lightbox-open,
html.photo-lightbox-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.photo-lightbox {
  padding: 0;
  margin: 0;
  inset: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: none;
  box-sizing: border-box;
  background: #0a0608;
  display: none;
  flex-direction: column;
  overflow: hidden;
  position: fixed;
  overscroll-behavior: contain;
}

.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.photo-lightbox__backdrop-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 135%;
  height: 135%;
  transform: translate(-50%, -50%) scale(1.06);
  object-fit: cover;
  filter: blur(46px) brightness(0.38) saturate(1.08);
  opacity: 0.95;
}

.photo-lightbox[open] {
  display: flex;
}

.photo-lightbox::backdrop {
  background: #0a0608;
  cursor: zoom-out;
}

.photo-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top, 12px));
  right: max(0.85rem, env(safe-area-inset-right, 12px));
  z-index: 4;
}

.photo-lightbox__close_btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.photo-lightbox__close_btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

.photo-lightbox__stage {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 3rem 1rem 0.5rem;
  box-sizing: border-box;
  overflow: hidden;
}

.photo-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, calc(100% - 0.75rem));
  max-height: calc(100dvh - 148px - env(safe-area-inset-bottom, 0px));
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox__nav--prev {
  left: max(0.55rem, env(safe-area-inset-left, 8px));
}

.photo-lightbox__nav--next {
  right: max(0.55rem, env(safe-area-inset-right, 8px));
}

.photo-lightbox__nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.photo-lightbox__nav[hidden] {
  display: none;
}

.photo-lightbox__thumbs {
  flex: 0 0 auto;
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  gap: 0.48rem;
  padding:
    0.42rem max(0.75rem, env(safe-area-inset-right))
    calc(0.65rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  background: rgba(0, 0, 0, 0.38);
  z-index: 4;
  position: relative;
}

.photo-lightbox__thumbs:not([hidden]) {
  display: flex;
  justify-content: center;
}

.photo-lightbox-thumb {
  appearance: none;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.5);
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.photo-lightbox-thumb:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.photo-lightbox-thumb.is-active {
  border-color: rgba(251, 113, 133, 0.95);
  box-shadow: 0 0 14px rgba(251, 113, 133, 0.45);
}

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

.profile-dm {
  margin-top: 0.65rem;
}

.profile-dm[hidden],
.lobby-chat__body[hidden],
.lobby-chat__gate[hidden],
#profile-dm-body[hidden],
#profile-dm-gate[hidden] {
  display: none !important;
}

.sidebar-sticky > .profile-dm,
.profile-main > .profile-dm {
  width: 100%;
}

.profile-dm.card-panel {
  padding: 1rem 1.1rem;
}

.profile-dm--compact .lobby-chat__card {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.profile-dm--compact .lobby-chat__gate {
  padding: 0;
  justify-content: flex-start;
  gap: 0.55rem;
}

.profile-dm--compact .lobby-chat__gate-title,
.profile-dm--compact .lobby-chat__title {
  font-size: 1rem;
}

.profile-dm--compact .lobby-chat__gate-form {
  max-width: none;
}

.profile-dm--compact .lobby-chat__head {
  padding: 0 0 0.55rem;
  border-bottom: 1px solid rgba(215, 72, 78, 0.15);
  background: transparent;
}

.profile-dm--compact .lobby-chat__messages {
  min-height: 6rem;
  max-height: 9.5rem;
}

.profile-dm--compact .lobby-chat__form {
  padding: 0.55rem 0 0;
  background: transparent;
}

.lobby-chat {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.lobby-chat__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(215, 72, 78, 0.28);
  background: rgba(16, 10, 28, 0.78);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.4), 0 0 28px rgba(228, 52, 56, 0.1);
  overflow: hidden;
}

.lobby-chat__gate {
  padding: clamp(1.1rem, 3vw, 1.65rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.lobby-chat__gate-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.lobby-chat__gate-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 36ch;
}

.lobby-chat__gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 20rem;
}

.lobby-chat__gate-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(220, 210, 240, 0.95);
}

.lobby-chat__gate-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(220, 92, 92, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.65rem;
}

.lobby-chat__gate-input::placeholder {
  color: rgba(155, 147, 184, 0.85);
}

.lobby-chat__gate-input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.lobby-chat__gate-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

@media (max-width: 520px) {
  .lobby-chat__gate-submit {
    align-self: stretch;
    width: 100%;
  }
}

.lobby-chat__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.lobby-chat__head {
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid rgba(215, 72, 78, 0.15);
  background: rgba(235, 40, 42, 0.1);
}

.lobby-chat__server-hint {
  margin: 0 0 0.5rem;
}

.lobby-chat__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.05rem 0.6rem;
  border-bottom: 1px solid rgba(215, 72, 78, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

.lobby-chat__tool-btn {
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.38rem 0.72rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(220, 92, 92, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(230, 220, 246, 0.95);
  cursor: pointer;
}

.lobby-chat__tool-btn:hover {
  background: rgba(228, 52, 56, 0.12);
  border-color: rgba(220, 92, 92, 0.45);
}

.lobby-chat__tool-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.lobby-chat__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.lobby-chat__messages {
  min-height: 11rem;
  max-height: min(52vh, 22rem);
}

.guest-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.guest-chat__hint {
  margin: 0;
  padding: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(215, 72, 78, 0.25);
}

.guest-chat__msg {
  max-width: min(92%, 36rem);
  padding: 0.45rem 0.65rem;
}

.guest-chat__msg--self {
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  border: 1px solid rgba(220, 92, 92, 0.22);
  background: rgba(228, 52, 56, 0.12);
}

.guest-chat__msg--peer {
  align-self: flex-start;
  border-radius: 12px 12px 12px 4px;
  border: 1px solid rgba(180, 80, 100, 0.32);
  background: rgba(120, 32, 48, 0.18);
}

.guest-chat__msg-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.guest-chat__who {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 218, 238, 0.95);
}

.guest-chat__msg--peer .guest-chat__who {
  color: rgba(255, 180, 190, 0.95);
}

.guest-chat__msg-text {
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
}

.guest-chat__msg-time {
  margin: 0;
  font-size: 0.65rem;
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.9;
}

.guest-chat__msg--new {
  animation: guest-chat-pop 0.35s ease;
}

@keyframes guest-chat-pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lobby-chat__form {
  margin: 0;
  padding: 0.65rem;
  border-top: 1px solid rgba(215, 72, 78, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.lobby-chat__compose {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: flex-end;
}

.guest-chat__input {
  flex: 1 1 14rem;
  min-width: min(100%, 12rem);
  min-height: 2.5rem;
  max-height: 6rem;
  resize: vertical;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(220, 92, 92, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  padding: 0.45rem 0.55rem;
}

.guest-chat__input::placeholder {
  color: rgba(155, 147, 184, 0.85);
}

.guest-chat__input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.guest-chat__send {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(130deg, var(--btn-cta-from), var(--btn-cta-to));
  box-shadow: 0 4px 16px rgba(210, 42, 42, 0.35);
  align-self: flex-end;
}

.guest-chat__send:hover {
  filter: brightness(1.06);
}

@media (max-width: 520px) {
  .lobby-chat__compose {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
  }

  .guest-chat__send {
    width: 100%;
    align-self: stretch;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .guest-chat__msg--new {
    animation: none !important;
  }
}

html.is-page-hidden *,
html.is-page-hidden *::before,
html.is-page-hidden *::after {
  animation-play-state: paused !important;
}

@media (min-width: 901px) {
  .contacts-reveal__close,
  .contacts-sheet-backdrop {
    display: none !important;
  }

  .contacts-reveal__head {
    margin: 0 0 0.75rem;
  }
}

@media (max-width: 900px) {
  .profile-page {
    overflow-x: hidden;
  }

  .profile-page .wrap {
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
  }

  .profile-page .contacts-reveal {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    width: auto;
    max-width: none;
    margin-top: 0.65rem;
    padding: 1rem 1.05rem 1.1rem;
    border-radius: var(--radius-card);
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }

  .profile-page .fab-stack {
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .profile-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .profile-layout > * {
    min-width: 0;
  }

  .sidebar-sticky {
    position: static;
    top: auto;
    order: 7;
  }

  .profile-layout > .profile-title-block {
    order: 1;
  }

  .profile-main {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .profile-main > * {
    margin-top: 0 !important;
  }

  .profile-main .profile-gallery-box {
    order: 2;
  }

  .profile-main > .profile-phone {
    order: 3;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    gap: 0.55rem;
    margin: 0.12rem 0 0.2rem !important;
    padding: 0.82rem 0.95rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 126, 136, 0.5);
    background: rgba(18, 8, 12, 0.88);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.32);
    font-size: 1.48rem;
  }

  .profile-main > .profile-phone:hover,
  .profile-main > .profile-phone:focus-visible {
    border-color: rgba(255, 160, 168, 0.72);
    background: rgba(220, 40, 52, 0.16);
    color: #fff;
  }

  .profile-main [data-profile-section="description"] {
    order: 4;
  }

  .profile-main [data-profile-section="params"] {
    order: 5;
  }

  .profile-main [data-profile-section="tags"] {
    order: 6;
  }

  .profile-main .tariff-card--in-main {
    order: 7;
  }

  .profile-main > .profile-contacts-toggle.contacts-in-main-slot {
    order: 8;
    margin-bottom: 0;
  }

  .profile-main > .contacts-reveal.contacts-in-main-slot {
    order: 9;
    margin-top: 0 !important;
  }

  .profile-main > .profile-dm.contacts-in-main-slot {
    order: 10;
    margin-top: 0 !important;
  }

  .profile-main [data-profile-section="reviews"] {
    order: 11;
  }

  .profile-page .wrap {
    width: min(1200px, 100% - 1.2rem);
    max-width: 100%;
    padding-block: 0.75rem calc(5.4rem + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  .profile-page .wrap,
  .profile-layout,
  .profile-main,
  .profile-gallery-box,
  .profile-media-tabpanel,
  .card-panel,
  .review-card,
  .tariff-card,
  .tariff-section,
  .tariff-grid,
  .tariff-box,
  .contacts-reveal {
    min-width: 0;
    max-width: 100%;
  }

  .gallery-main {
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 100%;
    max-height: min(82vh, 900px);
    margin-inline: 0;
  }

  .profile-gallery-box {
    padding: 0.6rem;
    width: 100%;
    overflow: hidden;
  }

  .profile-media-tabpanel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .param-grid {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.45rem 0.75rem;
  }

  .param-grid dt,
  .param-grid dd {
    min-width: 0;
  }

  .param-grid dt {
    max-width: none;
    overflow-wrap: break-word;
  }

  .param-grid dd {
    white-space: nowrap;
    text-align: right;
  }

  .card-panel {
    padding: 0.8rem 0.82rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  }

  .card-panel h2,
  .tariff-card h3 {
    font-size: 1.05rem;
  }

  .tags-row {
    gap: 0.3rem;
  }

  .tags-row--cols,
  .card-panel-tags,
  [data-persona-tags].tags-row {
    gap: 0.85rem 0.7rem;
  }

  .profile-tag {
    font-size: 0.8rem;
  }

  .profile-tag__extra {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .tag {
    font-size: 0.74rem;
    padding: 0.22rem 0.5rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
    gap: 0.42rem;
    width: 100%;
    max-width: 100%;
  }

  .tariff-box {
    padding: 0.52rem;
    font-size: 0.77rem;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
  }

  .tariff-lines span {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .profile-page .wrap {
    width: min(1200px, 100% - 1.2rem);
  }

  .breadcrumbs {
    font-size: 0.74rem;
    overflow-wrap: anywhere;
  }

  .profile-title-block h1 {
    font-size: clamp(1.1rem, 6.2vw, 1.45rem);
  }

  .profile-media-tab {
    padding: 0.34rem 0.78rem;
    font-size: 0.8rem;
  }

  .gallery-main {
    max-height: min(78vh, 860px);
  }

  .param-grid {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.4rem 0.7rem;
    font-size: 0.84rem;
  }

  .param-grid dt {
    max-width: none;
  }

  .param-grid dd {
    white-space: nowrap;
    text-align: right;
  }

  .tags-row--cols,
  .card-panel-tags,
  [data-persona-tags].tags-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .profile-tag__extra {
    font-size: 0.7rem;
    letter-spacing: 0;
  }

  .tariff-box {
    font-size: 0.74rem;
  }

  .review-card {
    overflow: hidden;
  }

  .photo-lightbox {
    inset: 0;
    width: 100vw;
    width: 100dvw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    overflow: hidden;
  }

  .photo-lightbox__stage {
    padding: 3.1rem 0.55rem 0.45rem;
  }

  .photo-lightbox__img {
    max-width: calc(100vw - 1.1rem);
    max-height: calc(100dvh - env(safe-area-inset-bottom) - env(safe-area-inset-top) - 168px);
  }
}
