/* LAKEEVA_IOS_PREMIUM_V1_START */

:root {
  --ios-green-950: #021b15;
  --ios-green-900: #03281f;
  --ios-green-850: #07352a;
  --ios-green-800: #0c4436;
  --ios-green-700: #195b49;

  --ios-cream-50: #fbf8f1;
  --ios-cream-100: #f4efe5;
  --ios-cream-200: #e8dfd0;

  --ios-gold-300: #d8bd8c;
  --ios-gold-400: #c9a76e;

  --ios-text: #06291f;
  --ios-muted: #776f64;
  --ios-line: rgba(6, 41, 31, 0.1);

  --ios-radius-xs: 12px;
  --ios-radius-sm: 16px;
  --ios-radius-md: 22px;
  --ios-radius-lg: 28px;
  --ios-radius-xl: 34px;

  --ios-shadow-card:
    0 14px 40px rgba(3, 31, 24, 0.08);

  --ios-shadow-glass:
    0 16px 42px rgba(0, 18, 13, 0.28);

  --ios-safe-top:
    max(
      env(safe-area-inset-top),
      var(--tg-safe-area-inset-top, 0px)
    );

  --ios-content-safe-top:
    max(
      var(--ios-safe-top),
      var(--tg-content-safe-area-inset-top, 0px)
    );

  --client-tabbar-height: 64px;
  --client-tabbar-bottom:
    calc(9px + env(safe-area-inset-bottom));

  --client-content-bottom:
    calc(
      var(--client-tabbar-height) +
      28px +
      env(safe-area-inset-bottom)
    );
}

html {
  background: var(--ios-green-950);
}

body,
button,
input,
select,
textarea {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif !important;
}

body {
  background: var(--ios-cream-50);
  color: var(--ios-text);

  font-size: 15px;
  letter-spacing: -0.012em;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}


/* Верхняя админ-кнопка */

.client-ios-shell-ready
.customer-header-actions {
  position: fixed;
  z-index: 1150;

  top:
    max(
      82px,
      calc(
        var(--ios-content-safe-top) +
        12px
      )
    );

  right: 18px;

  margin: 0;
}

.client-ios-shell-ready
.customer-admin-button {
  display: grid !important;

  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;

  place-items: center;

  padding: 0;

  border:
    1px solid
    rgba(216, 189, 140, 0.42);
  border-radius: 50%;

  background:
    rgba(4, 43, 34, 0.82);
  color: #ffffff;

  box-shadow:
    inset 0 1px 0
      rgba(255, 255, 255, 0.2),
    0 12px 30px
      rgba(0, 18, 13, 0.28);

  -webkit-backdrop-filter:
    blur(22px)
    saturate(150%);
  backdrop-filter:
    blur(22px)
    saturate(150%);
}

.client-ios-shell-ready
.customer-admin-button
.customer-catalog-button__icon {
  width: 32px;
  height: 32px;

  background: var(--ios-cream-50);
  color: var(--ios-green-900);
}


/* Стартовый экран */

.client-home-screen {
  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(34, 105, 84, 0.28),
      transparent 31%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(201, 167, 110, 0.11),
      transparent 34%
    ),
    linear-gradient(
      155deg,
      #021b15 0%,
      #03281f 55%,
      #0a3c30 100%
    );
}

.client-home-screen::before {
  background:
    repeating-radial-gradient(
      ellipse at 30% 46%,
      transparent 0,
      transparent 28px,
      rgba(255, 255, 255, 0.018) 29px,
      transparent 30px
    );
  opacity: 0.65;
  animation: none;
}

.client-home-screen__content {
  width: min(100%, 320px);
  transform: translateY(-24px);
}

.client-home-screen__logo-shell {
  width: min(74vw, 270px);
  min-height: 0;

  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;
  box-shadow: none;

  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.client-home-screen__logo-shell::before {
  display: none;
}

.client-home-screen__logo {
  width: 100%;
  max-width: 270px;

  filter:
    drop-shadow(
      0 16px 34px
      rgba(0, 0, 0, 0.18)
    );
}

.client-home-screen__caption {
  position: relative;

  width: 100%;

  margin-top: 36px;
  padding-top: 34px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(216, 189, 140, 0.58),
      transparent
    )
    top center / 170px 1px
    no-repeat;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.6;
}

.client-home-screen__caption::before {
  position: absolute;

  top: -9px;
  left: 50%;

  padding: 0 10px;

  background: var(--ios-green-900);
  color: var(--ios-gold-300);

  content: "✦";

  font-size: 15px;
  transform: translateX(-50%);
}


/* Нижняя навигация */

.client-tabbar {
  right: 14px;
  left: 14px;

  width: min(
    calc(100% - 28px),
    410px
  );
  height: var(--client-tabbar-height);

  padding: 5px;

  border:
    1px solid
    rgba(216, 189, 140, 0.3);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(4, 51, 40, 0.88),
      rgba(2, 34, 27, 0.78)
    );

  box-shadow:
    inset 0 1px 0
      rgba(255, 255, 255, 0.14),
    var(--ios-shadow-glass);

  -webkit-backdrop-filter:
    blur(28px)
    saturate(170%);
  backdrop-filter:
    blur(28px)
    saturate(170%);
}

.client-tabbar__glass {
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(255, 255, 255, 0.13),
      transparent 43%
    ),
    radial-gradient(
      circle at 85% 120%,
      rgba(216, 189, 140, 0.13),
      transparent 45%
    );
}

.client-tabbar__highlight {
  right: 34px;
  left: 34px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.36),
      transparent
    );
}

.client-tabbar__indicator {
  top: 5px;
  bottom: 5px;
  left: 5px;

  width:
    calc(
      (100% - 10px) / 3
    );

  border:
    1px solid
    rgba(216, 189, 140, 0.5);
  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      rgba(24, 91, 72, 0.96),
      rgba(8, 55, 43, 0.96)
    );

  box-shadow:
    inset 0 1px 0
      rgba(255, 255, 255, 0.14),
    0 8px 22px
      rgba(0, 17, 12, 0.28);
}

.client-tabbar__item {
  gap: 2px;

  border-radius: 17px;

  color:
    rgba(236, 241, 236, 0.48);
}

.client-tabbar__item.is-active {
  color: #ffffff;
}

.client-tabbar__icon {
  width: 28px;
  height: 28px;
}

.client-tabbar__icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

.client-tabbar__label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
}

.client-tabbar__item.is-active
.client-tabbar__icon {
  transform:
    translateY(-1px)
    scale(1.06);
}

@media (max-width: 380px) {
  :root {
    --client-tabbar-height: 61px;
  }

  .client-tabbar {
    right: 10px;
    left: 10px;

    width: calc(100% - 20px);
  }

  .client-tabbar__label {
    font-size: 8.5px;
  }
}

/* LAKEEVA_IOS_PREMIUM_FOUNDATION_END */

/* LAKEEVA_IOS_PREMIUM_RENTAL_START */

body[data-client-screen="rental"] {
  background: var(--ios-cream-50);
}

body[data-client-screen="rental"]
.hero {
  position: relative;

  min-height: 390px;

  padding:
    max(
      126px,
      calc(
        var(--ios-content-safe-top) +
        52px
      )
    )
    20px
    126px;

  overflow: hidden;

  border-radius: 0 0 34px 34px;

  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(37, 112, 89, 0.32),
      transparent 33%
    ),
    radial-gradient(
      circle at 4% 94%,
      rgba(216, 189, 140, 0.11),
      transparent 31%
    ),
    linear-gradient(
      150deg,
      #021b15,
      #032b22 57%,
      #0a3d31
    );

  box-shadow:
    0 18px 50px
    rgba(1, 29, 21, 0.16);
}

body[data-client-screen="rental"]
.hero::after {
  position: absolute;

  right: -80px;
  bottom: -110px;

  width: 310px;
  height: 310px;

  border:
    1px solid
    rgba(255, 255, 255, 0.04);
  border-radius: 50%;

  box-shadow:
    0 0 0 34px
      rgba(255, 255, 255, 0.012),
    0 0 0 68px
      rgba(255, 255, 255, 0.01);

  content: "";
  pointer-events: none;
}

body[data-client-screen="rental"]
.hero__top {
  position: absolute;

  z-index: 2;

  top:
    max(
      88px,
      calc(
        var(--ios-content-safe-top) +
        12px
      )
    );

  right: 20px;
  left: 20px;

  display: flex;
  min-height: 44px;

  align-items: center;
}

body[data-client-screen="rental"]
.hero__top::before {
  color: #ffffff;

  content: "Аренда";

  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

body[data-client-screen="rental"]
.brand {
  display: none !important;
}

body[data-client-screen="rental"]
.hero__content {
  position: relative;
  z-index: 1;

  width: min(100%, 590px);

  margin: 0;
}

body[data-client-screen="rental"]
.hero__content::before {
  display: block;

  width: 34px;
  height: 2px;

  margin-bottom: 20px;

  border-radius: 99px;

  background: var(--ios-gold-300);

  content: "";
}

body[data-client-screen="rental"]
.hero__content h1 {
  max-width: 610px;

  margin: 0;

  color: #ffffff;

  font-size:
    clamp(31px, 8.5vw, 48px);
  font-weight: 690;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

body[data-client-screen="rental"]
.hero__content p {
  max-width: 620px;

  margin: 20px 0 0;

  color:
    rgba(255, 255, 255, 0.66);

  font-size:
    clamp(14px, 3.8vw, 17px);
  font-weight: 430;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

body[data-client-screen="rental"]
> main {
  position: relative;
  z-index: 2;

  width: min(
    calc(100% - 24px),
    1080px
  );

  margin: -90px auto 0;

  padding:
    0 0
    var(--client-content-bottom);
}

body[data-client-screen="rental"]
.search-panel {
  padding: 19px;

  border:
    1px solid
    rgba(6, 41, 31, 0.075);
  border-radius: var(--ios-radius-lg);

  background:
    rgba(255, 255, 255, 0.96);

  box-shadow:
    0 18px 48px
    rgba(2, 31, 23, 0.12);

  -webkit-backdrop-filter:
    blur(24px);
  backdrop-filter:
    blur(24px);
}

body[data-client-screen="rental"]
.search-panel::before {
  display: block;

  margin: 0 0 14px 4px;

  color: var(--ios-text);

  content: "Параметры поездки";

  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

body[data-client-screen="rental"]
.field span,
body[data-client-screen="rental"]
.date-range-field__label {
  margin: 0 0 7px 3px;

  color: #5f685f;

  font-size: 11px;
  font-weight: 600;
}

body[data-client-screen="rental"]
.date-range-button,
body[data-client-screen="rental"]
.field input,
body[data-client-screen="rental"]
.field select {
  min-height: 52px;

  border:
    1px solid
    rgba(6, 41, 31, 0.11);
  border-radius: var(--ios-radius-sm);

  background: var(--ios-cream-50);
  color: var(--ios-text);

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.75);
}

body[data-client-screen="rental"]
.date-range-button__icon {
  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  border-radius: 11px;

  background:
    rgba(12, 68, 54, 0.08);
}

body[data-client-screen="rental"]
.date-range-button__content strong {
  font-size: 15px;
  font-weight: 650;
}

body[data-client-screen="rental"]
.date-range-button__content small {
  color: #8b857b;
}

body[data-client-screen="rental"]
.search-button {
  min-height: 54px;

  border-radius: var(--ios-radius-sm);

  background:
    linear-gradient(
      135deg,
      var(--ios-green-900),
      var(--ios-green-800)
    );

  box-shadow:
    0 10px 24px
    rgba(3, 40, 31, 0.2);

  font-size: 15px;
  font-weight: 650;
}

body[data-client-screen="rental"]
.search-button:active {
  transform: scale(0.985);
}

body[data-client-screen="rental"]
.map-section,
body[data-client-screen="rental"]
.results-section {
  margin-top: 30px;
}

body[data-client-screen="rental"]
.map-header,
body[data-client-screen="rental"]
.results-header {
  margin: 0 4px 13px;
}

body[data-client-screen="rental"]
.map-header h2,
body[data-client-screen="rental"]
.results-header h2 {
  margin: 0;

  color: var(--ios-text);

  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

body[data-client-screen="rental"]
.map-shell {
  overflow: hidden;

  min-height: 330px;

  border:
    1px solid
    rgba(6, 41, 31, 0.08);
  border-radius: var(--ios-radius-lg);

  box-shadow: var(--ios-shadow-card);
}

body[data-client-screen="rental"]
#map {
  min-height: 330px;
}

body[data-client-screen="rental"]
.status {
  border-radius: var(--ios-radius-md);

  background: #ffffff;
  color: var(--ios-muted);

  box-shadow: var(--ios-shadow-card);
}

body[data-client-screen="rental"]
.results {
  gap: 15px;
}

body[data-client-screen="rental"]
.property-card {
  overflow: hidden;

  border:
    1px solid
    rgba(6, 41, 31, 0.07);
  border-radius: var(--ios-radius-md);

  background: #ffffff;

  box-shadow: var(--ios-shadow-card);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

body[data-client-screen="rental"]
.property-card:active {
  transform: scale(0.988);
}

@media (max-width: 520px) {
  body[data-client-screen="rental"]
  .hero {
    min-height: 370px;

    padding-right: 17px;
    padding-left: 17px;
  }

  body[data-client-screen="rental"]
  .hero__top {
    right: 17px;
    left: 17px;
  }

  body[data-client-screen="rental"]
  > main {
    width: calc(100% - 20px);
  }

  body[data-client-screen="rental"]
  .search-panel {
    padding: 16px;

    border-radius: 24px;
  }

  body[data-client-screen="rental"]
  .map-shell,
  body[data-client-screen="rental"]
  #map {
    min-height: 310px;
  }
}

/* LAKEEVA_IOS_PREMIUM_RENTAL_END */
/* LAKEEVA_IOS_PREMIUM_V1_END */


/* LAKEEVA_IOS_ASSETS_TUNING_V2_START */


/* Иконки нижней навигации */

.client-tabbar__icon svg {
  display: none !important;
}

.client-tabbar__icon::before {
  display: block;

  width: 24px;
  height: 24px;

  background-color: currentColor;

  content: "";

  opacity: 0.82;

  -webkit-mask-image:
    var(--lakeeva-tab-icon);
  mask-image:
    var(--lakeeva-tab-icon);

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: contain;
  mask-size: contain;

  transition:
    opacity 180ms ease,
    transform 360ms
      cubic-bezier(0.34, 1.56, 0.64, 1);
}

.client-tabbar__item[
  data-client-screen="rental"
] {
  --lakeeva-tab-icon:
    url("/assets/tab-rent.svg");
}

.client-tabbar__item[
  data-client-screen="rental"
].is-active {
  --lakeeva-tab-icon:
    url("/assets/tab-rent-active.svg");
}

.client-tabbar__item[
  data-client-screen="sale"
] {
  --lakeeva-tab-icon:
    url("/assets/tab-sale.svg");
}

.client-tabbar__item[
  data-client-screen="sale"
].is-active {
  --lakeeva-tab-icon:
    url("/assets/tab-sale-active.svg");
}

.client-tabbar__item[
  data-client-screen="profile"
] {
  --lakeeva-tab-icon:
    url("/assets/tab-profile.svg");
}

.client-tabbar__item[
  data-client-screen="profile"
].is-active {
  --lakeeva-tab-icon:
    url("/assets/tab-profile-active.svg");
}

.client-tabbar__item.is-active
.client-tabbar__icon::before {
  opacity: 1;

  transform:
    translateY(-1px)
    scale(1.06);
}


/* Фон стартового экрана */

.client-home-screen {
  background:
    linear-gradient(
      180deg,
      rgba(1, 28, 22, 0.38) 0%,
      rgba(1, 29, 23, 0.42) 38%,
      rgba(2, 31, 24, 0.7) 74%,
      rgba(2, 28, 22, 0.92) 100%
    ),
    url("/assets/lakeeva-home-bg.webp")
      center bottom / cover
      no-repeat,
    var(--ios-green-950);
}

.client-home-screen::before {
  background:
    linear-gradient(
      115deg,
      transparent 16%,
      rgba(255, 255, 255, 0.025) 45%,
      transparent 72%
    );

  opacity: 1;

  animation:
    clientHomeLightSweep
    10s ease-in-out infinite;
}

.client-home-screen__content {
  transform: translateY(-34px);
}


/* Админ-кнопка на главном экране ниже */

.client-ios-shell-ready[
  data-client-screen="home"
]
.customer-header-actions {
  top:
    max(
      112px,
      calc(
        var(--ios-content-safe-top) +
        34px
      )
    );
}


/* Более аккуратная нижняя панель */

.client-tabbar {
  right: 16px;
  left: 16px;

  width: min(
    calc(100% - 32px),
    398px
  );

  border-color:
    rgba(216, 189, 140, 0.36);

  background:
    linear-gradient(
      145deg,
      rgba(5, 56, 44, 0.87),
      rgba(2, 38, 30, 0.81)
    );
}

.client-tabbar__indicator {
  background:
    linear-gradient(
      145deg,
      rgba(21, 92, 71, 0.98),
      rgba(6, 57, 44, 0.98)
    );
}

.client-tabbar__item {
  color:
    rgba(223, 233, 227, 0.52);
}

.client-tabbar__item.is-active {
  color: #ffffff;
}

.client-tabbar__label {
  font-size: 9.5px;
  font-weight: 650;
}


/* LAKEEVA_IOS_ASSETS_TUNING_V2_END */


/* LAKEEVA_IOS_RENTAL_REFERENCE_V2_START */

body[data-client-screen="rental"]
.hero {
  min-height: 332px;

  padding:
    max(
      122px,
      calc(
        var(--ios-content-safe-top) +
        48px
      )
    )
    18px
    82px;

  border-radius:
    0 0 30px 30px;

  background:
    linear-gradient(
      100deg,
      rgba(1, 29, 23, 0.94) 0%,
      rgba(2, 38, 30, 0.82) 53%,
      rgba(3, 42, 33, 0.58) 100%
    ),
    linear-gradient(
      180deg,
      rgba(1, 28, 22, 0.18),
      rgba(1, 28, 22, 0.64)
    ),
    url("/assets/lakeeva-home-bg.webp")
      center 68% / cover
      no-repeat;
}

body[data-client-screen="rental"]
.hero::after {
  display: none;
}

body[data-client-screen="rental"]
.hero__top {
  top:
    max(
      91px,
      calc(
        var(--ios-content-safe-top) +
        17px
      )
    );

  right: 18px;
  left: 18px;
}

body[data-client-screen="rental"]
.hero__top::before {
  font-size: 19px;
  font-weight: 690;
  letter-spacing: -0.035em;
}

body[data-client-screen="rental"]
.hero__content {
  width: min(100%, 430px);
}

body[data-client-screen="rental"]
.hero__content::before {
  width: 28px;
  height: 2px;

  margin-bottom: 13px;
}

body[data-client-screen="rental"]
.hero__content h1 {
  max-width: 370px;

  font-size:
    clamp(32px, 8.4vw, 40px);
  font-weight: 680;
  line-height: 1.01;
  letter-spacing: -0.052em;
}

body[data-client-screen="rental"]
.hero__content p {
  max-width: 390px;

  margin-top: 14px;

  color:
    rgba(255, 255, 255, 0.68);

  font-size:
    clamp(13px, 3.65vw, 15px);
  line-height: 1.5;
}

body[data-client-screen="rental"]
> main {
  width: min(
    calc(100% - 20px),
    980px
  );

  margin-top: -54px;
}

body[data-client-screen="rental"]
.search-panel {
  padding: 15px;

  border-radius: 23px;

  box-shadow:
    0 16px 42px
    rgba(2, 31, 23, 0.13);
}

body[data-client-screen="rental"]
.search-panel::before {
  margin:
    0 0 12px 2px;

  font-size: 16px;
  font-weight: 690;
}

body[data-client-screen="rental"]
.date-range-field__label,
body[data-client-screen="rental"]
.field > span {
  margin:
    0 0 6px 2px;

  font-size: 10.5px;
}

body[data-client-screen="rental"]
.date-range-button,
body[data-client-screen="rental"]
.field input,
body[data-client-screen="rental"]
.field select {
  min-height: 48px;

  border-radius: 14px;
}

body[data-client-screen="rental"]
.date-range-button {
  padding:
    7px 12px;
}

body[data-client-screen="rental"]
.date-range-button__icon {
  width: 32px;
  height: 32px;

  flex-basis: 32px;
}

body[data-client-screen="rental"]
.date-range-button__content strong {
  font-size: 14px;
}

body[data-client-screen="rental"]
.date-range-button__content small {
  font-size: 10.5px;
}

body[data-client-screen="rental"]
.field-grid {
  gap: 9px;
}

body[data-client-screen="rental"]
.bedrooms-range {
  gap: 8px;
}

body[data-client-screen="rental"]
.search-button {
  min-height: 50px;

  margin-top: 3px;

  border-radius: 14px;

  font-size: 14px;
}

body[data-client-screen="rental"]
.map-section {
  margin-top: 25px;
}

body[data-client-screen="rental"]
.map-header h2,
body[data-client-screen="rental"]
.results-header h2 {
  font-size: 21px;
}

@media (max-width: 390px) {
  body[data-client-screen="rental"]
  .hero {
    min-height: 320px;

    padding-right: 15px;
    padding-left: 15px;
  }

  body[data-client-screen="rental"]
  .hero__top {
    right: 15px;
    left: 15px;
  }

  body[data-client-screen="rental"]
  .hero__content h1 {
    max-width: 350px;

    font-size: 33px;
  }

  body[data-client-screen="rental"]
  .hero__content p {
    font-size: 13.5px;
  }

  body[data-client-screen="rental"]
  > main {
    width:
      calc(100% - 16px);

    margin-top: -48px;
  }

  body[data-client-screen="rental"]
  .search-panel {
    padding: 14px;
  }
}

/* LAKEEVA_IOS_RENTAL_REFERENCE_V2_END */


/* LAKEEVA_IOS_HOME_POLISH_V3_START */

.client-home-screen {
  background: var(--ios-green-950);
}

.client-home-screen::before {
  position: absolute;
  z-index: -2;

  inset: 0;

  background:
    url("/assets/lakeeva-home-bg.webp")
    center 62% / cover
    no-repeat;

  content: "";

  opacity: 1;

  filter:
    saturate(1.18)
    contrast(1.08)
    brightness(1.06);

  transform: scale(1.012);

  animation: none;
  pointer-events: none;
}

.client-home-screen::after {
  position: absolute;
  z-index: -1;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(1, 24, 19, 0.16) 0%,
      rgba(1, 26, 20, 0.2) 34%,
      rgba(1, 28, 22, 0.43) 68%,
      rgba(1, 25, 20, 0.76) 100%
    );

  content: "";

  pointer-events: none;
}

.client-home-screen__glow {
  opacity: 0.08;
  filter: blur(5px);
}

.client-home-screen__content {
  width: min(100%, 330px);

  transform: translateY(-30px);
}

.client-home-screen__logo-shell {
  width: min(72vw, 265px);
}

.client-home-screen__logo {
  max-width: 265px;

  filter:
    drop-shadow(
      0 14px 30px
      rgba(0, 0, 0, 0.16)
    );
}

.client-home-screen__caption {
  width: min(100%, 300px);

  margin-top: 30px;
  padding-top: 0;

  background: none;

  color:
    rgba(255, 255, 255, 0.84);

  font-family:
    "Avenir Next",
    Avenir,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.48;
  text-transform: none;
}

.client-home-screen__caption::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 390px) {
  .client-home-screen__content {
    transform: translateY(-25px);
  }

  .client-home-screen__logo-shell {
    width: min(70vw, 250px);
  }

  .client-home-screen__caption {
    width: min(100%, 282px);

    margin-top: 27px;

    font-size: 14px;
    line-height: 1.5;
  }
}

/* LAKEEVA_IOS_HOME_POLISH_V3_END */


/* LAKEEVA_IOS_HOME_MOTION_V4_START */

.client-home-screen {
  position: fixed;
  isolation: isolate;

  overflow: hidden;

  background: var(--ios-green-950);
}

.client-home-screen__motion {
  position: absolute;
  z-index: 0;

  inset: 0;

  overflow: hidden;

  background:
    var(--ios-green-950);
}

.client-home-screen__frames,
.client-home-screen__video,
.client-home-screen__frame {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}

.client-home-screen__frames {
  z-index: 0;
}

.client-home-screen__frame,
.client-home-screen__video {
  object-fit: cover;
  object-position: center 58%;

  filter:
    saturate(1.14)
    contrast(1.05)
    brightness(1.04);

  transform: scale(1.015);
}

.client-home-screen__frame {
  opacity: 0;
}

.client-home-screen__frame--one {
  opacity: 1;
}

.client-home-screen__video {
  z-index: 2;

  opacity: 0;

  transition:
    opacity 900ms ease;
}

.client-home-screen.is-video-ready
.client-home-screen__video {
  opacity: 1;
}


/* Покадровый fallback при недоступном autoplay */

.client-home-screen.is-motion-fallback
.client-home-screen__frame {
  animation:
    lakeevaHomeFrameCycle
    20s linear infinite;
}

.client-home-screen.is-motion-fallback
.client-home-screen__frame--one {
  animation-delay: 0s;
}

.client-home-screen.is-motion-fallback
.client-home-screen__frame--two {
  animation-delay: 5s;
}

.client-home-screen.is-motion-fallback
.client-home-screen__frame--three {
  animation-delay: 10s;
}

.client-home-screen.is-motion-fallback
.client-home-screen__frame--four {
  animation-delay: 15s;
}

@keyframes lakeevaHomeFrameCycle {
  0% {
    opacity: 0;
    transform: scale(1.035);
  }

  4%,
  21% {
    opacity: 1;
  }

  25%,
  100% {
    opacity: 0;
    transform: scale(1.015);
  }
}


/* Затемнение только для читаемости */

.client-home-screen::before {
  position: absolute;
  z-index: 1;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(1, 24, 19, 0.1) 0%,
      rgba(1, 25, 20, 0.14) 32%,
      rgba(1, 27, 21, 0.28) 61%,
      rgba(1, 24, 19, 0.7) 100%
    );

  content: "";

  opacity: 1;
  filter: none;
  transform: none;

  pointer-events: none;
}

.client-home-screen::after {
  position: absolute;
  z-index: 2;

  inset: 0;

  background:
    radial-gradient(
      ellipse at 50% 47%,
      rgba(1, 29, 22, 0.08),
      rgba(1, 23, 18, 0.28) 72%,
      rgba(1, 21, 17, 0.48) 100%
    );

  content: "";

  pointer-events: none;
}

.client-home-screen__glow {
  z-index: 3;

  opacity: 0.06;
}

.client-home-screen__content {
  position: relative;
  z-index: 4;

  width: min(100%, 342px);

  transform: translateY(-27px);
}

.client-home-screen__logo-shell {
  width: min(71vw, 262px);
}

.client-home-screen__caption {
  display: grid;
  gap: 7px;

  width: min(100%, 320px);

  margin-top: 27px;

  color:
    rgba(255, 255, 255, 0.9);

  font-family:
    "Avenir Next",
    Avenir,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.42;
  text-wrap: balance;
}

.client-home-screen__caption span:first-child {
  color: #ffffff;

  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

@media (max-width: 390px) {
  .client-home-screen__frame,
  .client-home-screen__video {
    object-position: center 55%;
  }

  .client-home-screen__content {
    width: min(100%, 318px);

    transform: translateY(-23px);
  }

  .client-home-screen__caption {
    width: min(100%, 296px);

    font-size: 13.5px;
  }

  .client-home-screen__caption span:first-child {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-home-screen__video {
    display: none;
  }

  .client-home-screen__frame {
    animation: none !important;
    opacity: 0;
  }

  .client-home-screen__frame--one {
    opacity: 1;
  }
}

/* LAKEEVA_IOS_HOME_MOTION_V4_END */


/* LAKEEVA_IOS_HOME_SLOGAN_V5_START */

.client-home-screen__caption {
  gap: 3px;

  width: min(100%, 326px);

  color: #ffffff;

  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.client-home-screen__caption span,
.client-home-screen__caption span:first-child {
  color: #ffffff;

  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

@media (max-width: 390px) {
  .client-home-screen__caption {
    width: min(100%, 302px);

    font-size: 14.5px;
  }
}

/* LAKEEVA_IOS_HOME_SLOGAN_V5_END */


/* LAKEEVA_IOS_TABBAR_PREMIUM_V6_START */

:root {
  --client-tabbar-height: 68px;
  --client-tabbar-bottom:
    calc(10px + env(safe-area-inset-bottom));
}

.client-tabbar {
  right: 12px;
  left: 12px;

  width: min(
    calc(100% - 24px),
    402px
  );
  height: var(--client-tabbar-height);

  padding: 5px;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);
  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(4, 46, 36, 0.82),
      rgba(2, 31, 25, 0.76)
    );

  box-shadow:
    inset 0 1px 0
      rgba(255, 255, 255, 0.14),
    inset 0 -1px 0
      rgba(0, 0, 0, 0.12),
    0 16px 38px
      rgba(0, 20, 14, 0.3);

  -webkit-backdrop-filter:
    blur(28px)
    saturate(165%);
  backdrop-filter:
    blur(28px)
    saturate(165%);
}

.client-tabbar__glass {
  border-radius: inherit;

  background:
    radial-gradient(
      circle at 18% -30%,
      rgba(255, 255, 255, 0.17),
      transparent 48%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      transparent 46%
    );
}

.client-tabbar__highlight {
  top: 0;
  right: 34px;
  left: 34px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.42),
      transparent
    );

  opacity: 0.72;
}

.client-tabbar__indicator {
  top: 5px;
  bottom: 5px;
  left: 5px;

  width:
    calc(
      (100% - 10px) / 3
    );

  border:
    1px solid
    rgba(255, 255, 255, 0.7);
  border-radius: 19px;

  background:
    linear-gradient(
      145deg,
      #fffdf8 0%,
      #f4eee3 100%
    );

  box-shadow:
    inset 0 1px 0
      rgba(255, 255, 255, 0.96),
    0 7px 18px
      rgba(0, 21, 15, 0.2);

  transition:
    transform 430ms
      cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.client-tabbar__item {
  position: relative;
  z-index: 2;

  gap: 1px;

  min-width: 0;

  padding: 4px 2px 3px;

  border-radius: 19px;

  color:
    rgba(244, 247, 243, 0.58);

  transition:
    color 220ms ease,
    transform 180ms ease;
}

.client-tabbar__item.is-active {
  color: #07352a;
}

.client-tabbar__item:active {
  transform: scale(0.96);
}

.client-tabbar__icon {
  width: 29px;
  height: 29px;

  display: grid;
  place-items: center;

  transform: none;
}

.client-tabbar__icon::before {
  width: 23px;
  height: 23px;

  opacity: 0.9;

  transition:
    transform 390ms
      cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 200ms ease;
}

.client-tabbar__item.is-active
.client-tabbar__icon::before {
  opacity: 1;

  transform:
    translateY(-1px)
    scale(1.07);
}

.client-tabbar__label {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  font-size: 10px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.012em;
}

.client-tabbar__item.is-active
.client-tabbar__label {
  font-weight: 650;
}


/* На стартовом экране вкладка не выбрана */

body[data-client-screen="home"]
.client-tabbar__indicator {
  opacity: 0;
}

body[data-client-screen="home"]
.client-tabbar__item {
  color:
    rgba(244, 247, 243, 0.72);
}


/* Узкие экраны */

@media (max-width: 380px) {
  :root {
    --client-tabbar-height: 65px;
  }

  .client-tabbar {
    right: 9px;
    left: 9px;

    width: calc(100% - 18px);

    border-radius: 22px;
  }

  .client-tabbar__indicator,
  .client-tabbar__item {
    border-radius: 17px;
  }

  .client-tabbar__icon {
    width: 27px;
    height: 27px;
  }

  .client-tabbar__icon::before {
    width: 22px;
    height: 22px;
  }

  .client-tabbar__label {
    font-size: 9.5px;
  }
}

/* LAKEEVA_IOS_TABBAR_PREMIUM_V6_END */


/* LAKEEVA_IOS_TABBAR_SUPPORT_ADMIN_V7_START */

.client-tabbar {
  display: grid !important;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );
}

.client-tabbar__indicator {
  width:
    calc(
      (100% - 10px) / 4
    );
}


/* Четвёртая кнопка не является вкладкой */

.client-tabbar__item--action {
  color:
    rgba(244, 247, 243, 0.72);
}

.client-tabbar__item--action
.client-tabbar__icon::before {
  display: none !important;
  content: none !important;
}

.client-tabbar__item--action
.client-tabbar__icon svg {
  display: none !important;

  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.client-tabbar__item--action[
  data-client-action-mode="support"
]
[data-client-action-icon="support"] {
  display: block !important;
}

.client-tabbar__item--action[
  data-client-action-mode="admin"
]
[data-client-action-icon="admin"] {
  display: block !important;
}

.client-tabbar__item--action
.client-tabbar__label {
  max-width: 100%;

  overflow: hidden;

  font-size: 9px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/*
Старая кнопка остаётся внутренним триггером.
Программный click продолжает работать.
*/

.customer-admin-button {
  display: none !important;
}


@media (max-width: 380px) {
  .client-tabbar__item {
    padding-right: 1px;
    padding-left: 1px;
  }

  .client-tabbar__item--action
  .client-tabbar__label {
    font-size: 8.5px;
  }
}

/* LAKEEVA_IOS_TABBAR_SUPPORT_ADMIN_V7_END */


/* LAKEEVA_IOS_TABBAR_ACTION_STYLE_V8_START */

.client-tabbar__item--action {
  gap: 1px;

  padding: 4px 2px 3px;

  color:
    rgba(244, 247, 243, 0.58);
}

body[data-client-screen="home"]
.client-tabbar__item--action {
  color:
    rgba(244, 247, 243, 0.72);
}


/* Используем тот же mask-механизм, что у остальных вкладок */

.client-tabbar__item--action
.client-tabbar__icon svg {
  display: none !important;
}

.client-tabbar__item--action
.client-tabbar__icon::before {
  display: block !important;
  content: "" !important;

  width: 23px !important;
  height: 23px !important;

  background-color: currentColor !important;

  opacity: 0.9;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  transition:
    transform 390ms
      cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 200ms ease;
}

.client-tabbar__item--action[
  data-client-action-mode="support"
]
.client-tabbar__icon::before {
  -webkit-mask-image:
    url("/assets/tab-support.svg");
  mask-image:
    url("/assets/tab-support.svg");
}

.client-tabbar__item--action[
  data-client-action-mode="admin"
]
.client-tabbar__icon::before {
  -webkit-mask-image:
    url("/assets/tab-admin.svg");
  mask-image:
    url("/assets/tab-admin.svg");
}

.client-tabbar__item--action:active
.client-tabbar__icon::before {
  opacity: 1;

  transform:
    translateY(-1px)
    scale(1.07);
}

.client-tabbar__item--action
.client-tabbar__label {
  max-width: 100%;

  overflow: hidden;

  font-size: 10px !important;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.012em;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* Старый вход в админку остаётся только внутренним JS-триггером */

button.customer-admin-button,
.customer-header-actions
.customer-admin-button,
.customer-catalog-button.customer-admin-button {
  position: absolute !important;

  display: none !important;
  visibility: hidden !important;

  width: 0 !important;
  height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 380px) {
  .client-tabbar__item--action
  .client-tabbar__label {
    font-size: 9.5px !important;
  }

  .client-tabbar__item--action
  .client-tabbar__icon::before {
    width: 22px !important;
    height: 22px !important;
  }
}

/* LAKEEVA_IOS_TABBAR_ACTION_STYLE_V8_END */

/* LAKEEVA_FLIGHTS_INTEGRATION_V1_START */

.client-tabbar {
  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    ) !important;

  width: min(
    calc(100% - 18px),
    430px
  );
}

.client-tabbar__indicator {
  width:
    calc(
      (100% - 10px) / 5
    );
}

body[data-client-screen="flights"]
.client-tabbar__indicator {
  transform: translateX(200%);
}

body[data-client-screen="profile"]
.client-tabbar__indicator {
  transform: translateX(300%);
}

.client-tabbar__item[
  data-client-screen="flights"
]
.client-tabbar__icon::before {
  -webkit-mask-image:
    url("/assets/tab-flights.svg");
  mask-image:
    url("/assets/tab-flights.svg");
}

@media (max-width: 380px) {
  .client-tabbar__item {
    padding-right: 0;
    padding-left: 0;
  }

  .client-tabbar__label,
  .client-tabbar__item--action
  .client-tabbar__label {
    font-size: 8.5px !important;
  }
}

/* LAKEEVA_FLIGHTS_INTEGRATION_V1_END */



/* LAKEEVA_RENTAL_VIDEO_HERO_V2_START */

body[data-client-screen="rental"]
.hero {
  position: relative;

  background:
    url("/assets/lakeeva-rental-hero-poster.jpg")
    center 68% / cover
    no-repeat !important;

  isolation: isolate;
}

body[data-client-screen="rental"]
.rental-hero-video {
  position: absolute;
  z-index: 0;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 68%;

  pointer-events: none;
}

body[data-client-screen="rental"]
.hero::after {
  position: absolute;
  z-index: 1;

  inset: 0;

  display: block !important;

  width: auto !important;
  height: auto !important;

  border: 0 !important;
  border-radius: inherit !important;

  background:
    linear-gradient(
      180deg,
      rgba(1, 28, 22, 0.12) 0%,
      rgba(1, 28, 22, 0.22) 42%,
      rgba(1, 28, 22, 0.80) 100%
    ) !important;

  box-shadow: none !important;

  content: "";
  pointer-events: none;
}

body[data-client-screen="rental"]
.hero__top,
body[data-client-screen="rental"]
.hero__content {
  z-index: 2;
}

/* LAKEEVA_RENTAL_VIDEO_HERO_V2_END */




/* LAKEEVA_UNIFIED_RENTAL_GEOMETRY_V5_START */

body[data-client-screen="rental"] {
  --lakeeva-hero-top-bleed:
    var(
      --ios-content-safe-top,
      env(safe-area-inset-top)
    );
}

body[data-client-screen="rental"]
#telegram-fullscreen-fill {
  background: transparent !important;
}

body[data-client-screen="rental"]
.hero {
  position: relative !important;

  min-height: 332px !important;

  padding:
    max(
      122px,
      calc(
        var(
          --ios-content-safe-top,
          0px
        ) +
        48px
      )
    )
    18px
    82px !important;

  overflow: visible !important;

  border-radius:
    0 0 30px 30px !important;

  background:
    url("/assets/lakeeva-rental-hero-poster.jpg")
    center 68% / cover
    no-repeat !important;

  isolation: isolate;
}

/*
 * Видео уходит вверх под строку состояния
 * iPhone, но сам hero, текст и форма
 * сохраняют прежние координаты.
 */

body[data-client-screen="rental"]
.rental-hero-video {
  top:
    calc(
      0px -
      var(
        --lakeeva-hero-top-bleed,
        0px
      )
    ) !important;

  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;

  width: 100% !important;

  height:
    calc(
      100% +
      var(
        --lakeeva-hero-top-bleed,
        0px
      )
    ) !important;

  border-radius:
    0 0 30px 30px;

  object-fit: cover !important;
  object-position: center 68% !important;
}

body[data-client-screen="rental"]
.hero::after {
  top:
    calc(
      0px -
      var(
        --lakeeva-hero-top-bleed,
        0px
      )
    ) !important;

  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;

  width: 100% !important;

  height:
    calc(
      100% +
      var(
        --lakeeva-hero-top-bleed,
        0px
      )
    ) !important;

  border-radius:
    0 0 30px 30px !important;
}

body[data-client-screen="rental"]
.hero__content {
  width: min(100%, 430px) !important;
  margin: 0 !important;
}

body[data-client-screen="rental"]
> main {
  width:
    min(
      calc(100% - 20px),
      980px
    ) !important;

  margin-top: -54px !important;
}

body[data-client-screen="rental"]
.search-panel {
  padding: 15px !important;

  border:
    1px solid
    rgba(7, 53, 42, 0.07) !important;

  border-radius: 30px !important;

  background:
    rgba(255, 255, 255, 0.98) !important;

  box-shadow:
    0 18px 44px
    rgba(2, 32, 23, 0.14) !important;
}

/* LAKEEVA_UNIFIED_RENTAL_GEOMETRY_V5_END */


/* LAKEEVA_RENTAL_FORM_HEADING_UNIFIED_V12_START */

/*
 * Заголовок формы аренды получает ту же
 * типографику, что заголовки форм продажи
 * и авиабилетов.
 */

body[data-client-screen="rental"]
.rental-search-heading {
  margin:
    0 2px 18px !important;
}

body[data-client-screen="rental"]
.rental-search-heading strong {
  display:
    block !important;

  margin:
    0 !important;

  color:
    #09261e !important;

  font-family:
    var(--font-ui) !important;

  font-size:
    24px !important;

  font-weight:
    720 !important;

  line-height:
    1.15 !important;

  letter-spacing:
    -0.035em !important;
}

/* LAKEEVA_RENTAL_FORM_HEADING_UNIFIED_V12_END */


/* LAKEEVA_HOME_VIDEO_ONLY_V17_START */

.client-home-screen {
  background:
    var(
      --ios-green-950,
      #03261e
    ) !important;
}


/*
 * Полностью отключаем старые фоновые
 * градиенты и затемняющие слои.
 */

.client-home-screen::before,
.client-home-screen::after {
  display:
    none !important;

  background:
    none !important;

  background-image:
    none !important;

  content:
    none !important;

  opacity:
    0 !important;

  filter:
    none !important;

  animation:
    none !important;
}


/*
 * В DOM они удалены. CSS оставляем как
 * дополнительную защиту от старого кэша.
 */

.client-home-screen__frames,
.client-home-screen__frame,
.client-home-screen__glow,
.client-home-screen__content {
  display:
    none !important;
}


/* Poster виден сразу, видео — только после начала воспроизведения. */

.client-home-screen__motion {
  background:
    var(--ios-green-950) !important;
}

.client-home-screen__video {
  opacity: 0 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transition: none !important;
}

.client-home-screen.is-video-ready
.client-home-screen__video {
  opacity: 1 !important;
}

.client-home-screen__video::-webkit-media-controls,
.client-home-screen__video::-webkit-media-controls-panel,
.client-home-screen__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
}


/*
 * Не отключаем видео при системной
 * настройке Reduce Motion, поскольку
 * старый frame-fallback удалён.
 */

@media (prefers-reduced-motion: reduce) {
  .client-home-screen__video {
    display:
      block !important;

    opacity:
      1 !important;
  }
}

/* LAKEEVA_HOME_VIDEO_ONLY_V17_END */


/* LAKEEVA_RENTAL_DESKTOP_TOP_BLEED_V2 */

html.lakeeva-telegram-desktop
body[data-client-screen="rental"] {
  --lakeeva-hero-top-bleed: 44px;
}

html.lakeeva-telegram-desktop
body[data-client-screen="rental"]
#telegram-fullscreen-fill {
  display: block !important;
  height: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
  background: transparent !important;
}

@media (min-width: 700px) {
  body[data-client-screen="rental"] {
    --lakeeva-hero-top-bleed: 44px;
  }

  body[data-client-screen="rental"]
  #telegram-fullscreen-fill {
    background: transparent !important;
  }
}

/* LAKEEVA_RENTAL_DESKTOP_TOP_BLEED_V2_END */
