/* ============================================================
   SEWAA — Rental Made Easy
   Mobile web UI · single stylesheet
   ============================================================ */

:root {
  --red: #e2253c;
  --red-bright: #ee2a44;
  --red-deep: #c8122c;
  --red-soft: #fdecef;
  --green: #06d374;
  --ink: #232331;
  --ink-2: #4a4a57;
  --muted: #8e8e9a;
  --line: #eef0f4;
  --field: #edeef1;
  --bg: #ffffff;
  --bg-page: #e9ebf0;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow-card: 0 18px 36px -24px rgba(25, 25, 40, 0.45), 0 2px 8px rgba(25, 25, 40, 0.04);
  --shadow-red: 0 14px 26px -12px rgba(226, 37, 60, 0.65);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--bg-page);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ───────────────────────── app frame ───────────────────────── */

.app {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 520px) {
  body { display: grid; place-items: center; padding: 24px 0; }
  .app {
    height: min(900px, calc(100dvh - 48px));
    border-radius: 34px;
    box-shadow: 0 40px 80px -40px rgba(20, 20, 35, 0.55), 0 0 0 8px #fff;
  }
}

/* ───────────────────────── screens ───────────────────────── */

.screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

.screen.is-active {
  display: flex;
  animation: screen-in 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.screen.is-active.is-back {
  animation-name: screen-in-back;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes screen-in-back {
  from { opacity: 0; transform: translateX(-26px); }
  to { opacity: 1; transform: none; }
}

.screen__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 18px calc(28px + var(--safe-bottom));
  scrollbar-width: none;
}

.screen__body::-webkit-scrollbar { display: none; }

.screen__body--auth { padding: 4px 24px calc(96px + var(--safe-bottom)); }
.screen__body--tab { padding: 16px 16px calc(96px + var(--safe-bottom)); }

/* ───────────────────────── status bar ───────────────────────── */

.statusbar {
  height: calc(46px + var(--safe-top));
  padding: var(--safe-top) 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--ink);
  flex: 0 0 auto;
}

.statusbar--light { color: #fff; }

.statusbar__icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.statusbar__icons svg { display: block; }

.sb-signal { width: 17px; height: 11px; fill: currentColor; }
.sb-wifi { width: 15px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.sb-battery { width: 24px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.2; opacity: 0.9; }
.sb-battery .fill { fill: currentColor; stroke: none; }

/* ───────────────────────── top bar ───────────────────────── */

.topbar {
  flex: 0 0 auto;
  color: #fff;
  background: radial-gradient(120% 150% at 12% 0%, #ee3049 0%, #e2253c 45%, #cf1730 100%);
  border-radius: 0 0 26px 26px;
  padding-bottom: 14px;
  box-shadow: 0 14px 26px -20px rgba(190, 20, 45, 0.9);
}

.topbar__row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}

.topbar__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
}

.topbar__spacer { width: 40px; }

.round-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.round-btn:active { transform: scale(0.92); }

.round-btn--solid {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 18px -10px rgba(120, 0, 20, 0.7);
}

/* ───────────────────────── buttons ───────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: translateY(1px) scale(0.995); }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-bright), #d81b34);
  box-shadow: var(--shadow-red);
}

.btn--white {
  color: var(--red);
  background: #fff;
  box-shadow: 0 16px 30px -18px rgba(90, 0, 20, 0.9);
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.btn__arrow .icon { width: 15px; height: 15px; stroke-width: 2.2; }

/* ───────────────────────── forms ───────────────────────── */

.form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field { display: block; }

.field__label {
  display: block;
  margin: 0 0 7px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.9px;
  color: var(--muted);
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  height: 47px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--field);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder { color: #a8a8b4; }

.field input:focus,
.field select:focus {
  background: #e7e8ec;
  box-shadow: 0 0 0 3px rgba(226, 37, 60, 0.16);
}

.field__select { position: relative; display: block; }

.field__select .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.field select { padding-right: 40px; }

.legal,
.auth__help {
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
}

.auth__help { font-size: 11px; }

.legal a,
.auth__help a { color: var(--red); font-weight: 600; text-decoration: none; }

.auth__title {
  margin: 18px 0 26px 2px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--red);
}

.auth__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(26px + var(--safe-bottom));
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.auth__foot a { color: var(--red); font-weight: 600; text-decoration: none; }

.confirm__text {
  margin: 0 0 26px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

#otp { letter-spacing: 1.5px; font-weight: 500; }

/* ───────────────────────── splash ───────────────────────── */

.screen--splash {
  color: #fff;
  background: radial-gradient(125% 90% at 50% 6%, #f23a52 0%, #e2253c 42%, #b10f26 100%);
}

.splash__bg {
  position: absolute;
  inset: 0;
  background: url("../img/splash-bg.jpg") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.55;
}

.splash__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 100%, rgba(120, 0, 18, 0.85), transparent 70%);
}

.splash__content {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15vh;
  text-align: center;
}

.brand__mark svg {
  width: 74px;
  height: 74px;
  color: currentColor;
}

.brand__word {
  margin: 10px 0 2px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 7px;
  text-indent: 7px;
}

.brand__tag {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3.2px;
  text-indent: 3.2px;
  opacity: 0.9;
}

.brand--light { color: #fff; }

.splash__actions {
  width: 100%;
  max-width: 300px;
  display: grid;
  gap: 15px;
  margin-top: auto;
  margin-bottom: 22vh;
}

.splash__actions .btn { height: 50px; font-size: 13.5px; font-weight: 600; }

.splash__version {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(24px + var(--safe-bottom));
  margin: 0;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.72);
}

/* ───────────────────────── property card ───────────────────────── */

.prop-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.prop-card__media {
  position: relative;
  height: 186px;
  overflow: hidden;
}

.prop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.prop-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 28, 0) 34%, rgba(12, 16, 28, 0.78) 100%);
}

.ribbon {
  position: absolute;
  top: 13px;
  left: 0;
  padding: 7px 17px 7px 15px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%);
}

.ribbon--green { background: linear-gradient(180deg, #11e283, #04c46b); }

.ribbon--red { background: linear-gradient(180deg, #f23550, #d5182f); }

.ribbon--bottom { top: auto; bottom: 86px; }

.date-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(18, 22, 40, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 10.5px;
  font-weight: 500;
  color: #fff;
}

.date-chip .icon { width: 13px; height: 13px; stroke-width: 2; }

.prop-card__caption {
  position: absolute;
  left: 16px;
  right: 104px;
  bottom: 14px;
  color: #fff;
}

.prop-card__caption h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.prop-card__caption p {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.prop-card__cta {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 92px;
  height: 74px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f12c46, #d51730);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.6;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: 16px 0 0 0;
  transition: filter 0.2s ease;
}

.prop-card__cta:active { filter: brightness(0.94); }

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 0 15px;
}

.dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9dae1;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.dot.is-active { width: 16px; border-radius: 4px; background: var(--red); }

/* ───────────────────────── list + section head ───────────────────────── */

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 4px 12px;
}

.section-head__title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.section-head__title .icon { width: 15px; height: 15px; stroke-width: 2.4; color: var(--ink-2); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
}

.link .icon { width: 13px; height: 13px; stroke-width: 2.4; }

.prop-list {
  list-style: none;
  margin: 0;
  padding: 4px 16px 4px 18px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: inset 3px 0 0 var(--red), var(--shadow-card);
}

.prop-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.prop-item:last-child { border-bottom: 0; }

.prop-item.is-hidden { display: none; }

.prop-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.prop-item__head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.prop-item__meta {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--dark { background: #2b3040; color: #fff; }
.badge--red { background: var(--red); color: #fff; }
.badge--soft { background: #eceef4; color: #7b7c8b; }

/* ───────────────────────── details ───────────────────────── */

.detail-card {
  padding: 9px 9px 14px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.gallery {
  position: relative;
  height: 236px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f2f2f5;
}

.gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery__track img {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  display: block;
}

.gallery__overlay {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 63%;
  padding: 12px 14px 13px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 26px -18px rgba(20, 20, 40, 0.7);
}

.gallery__overlay h3 {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
}

.gallery__overlay p {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.55;
  color: #6d6d7a;
}

.dots--gallery { padding: 11px 0 6px; }

.tenant {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 6px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.tenant__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.tenant__name {
  margin: 0;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.4;
}

.tenant__name span { display: block; }
.tenant__name strong { font-size: 12.5px; font-weight: 600; color: var(--ink); }

.facts {
  list-style: none;
  margin: 6px 0 12px;
  padding: 0;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 6px;
  font-size: 11px;
  color: var(--ink-2);
}

.facts .icon { width: 15px; height: 15px; color: var(--red); stroke-width: 1.9; }

.btn--agreement {
  height: 48px;
  font-size: 12.5px;
  justify-content: space-between;
  padding: 0 10px 0 24px;
}

.card {
  position: relative;
  margin-top: 16px;
  padding: 16px 18px 18px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.card__head h3 { margin: 0; font-size: 14px; font-weight: 700; }

.summary {
  list-style: none;
  margin: 0;
  padding: 0 52px 0 0;
}

.summary li {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
}

.summary span { color: #9a9aa6; }

.phone-fab {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red-bright), #d51730);
  color: #fff;
  box-shadow: var(--shadow-red);
  cursor: pointer;
}

.phone-fab:active { transform: scale(0.94); }

.phone-fab .icon { width: 19px; height: 19px; stroke-width: 2; }

/* ───────────────────────── tab bar ───────────────────────── */

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 8px calc(9px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #f1f1f5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body[data-tab] .tabbar { display: grid; }

.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  color: #b3b4bf;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tabbar a .icon { width: 21px; height: 21px; stroke-width: 1.7; }

.tabbar a.is-active { color: var(--red); }
.tabbar a.is-active .icon { stroke-width: 2.1; }

/* ───────────────────────── profile / menus ───────────────────────── */

.profile-card {
  padding: 24px 20px 18px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.profile-card__avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 14px 26px -14px rgba(20, 20, 40, 0.55);
}

.profile-card h2 { margin: 12px 0 2px; font-size: 16px; font-weight: 700; }
.profile-card > p { margin: 0; font-size: 10.5px; color: var(--muted); }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.profile-stats div { display: grid; gap: 2px; }
.profile-stats strong { font-size: 16px; font-weight: 700; color: var(--red); }
.profile-stats span { font-size: 9px; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; }

.menu {
  list-style: none;
  margin: 16px 0 0;
  padding: 4px 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.menu li { border-bottom: 1px solid var(--line); }
.menu li:last-child { border-bottom: 0; }

.menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.menu button .icon { width: 18px; height: 18px; color: var(--red); stroke-width: 1.7; }
.menu .icon--chev { margin-left: auto; width: 15px; height: 15px; color: #c9cad3; }
.menu__danger { color: #e2453f !important; }
.menu__danger .icon { color: #e2453f !important; }

.menu--settings li { display: flex; align-items: center; }

.toggle-row { justify-content: space-between; padding: 12px 0; }
.toggle-row > span { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; }
.toggle-row .icon { width: 18px; height: 18px; color: var(--red); }

.switch { position: relative; width: 42px; height: 24px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #e2e3ea;
  transition: background 0.25s ease;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(18px); }

.version {
  margin: 22px 0 0;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 1.2px;
  color: #b9bac4;
}

/* ───────────────────────── messages ───────────────────────── */

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--field);
}

.search .icon { width: 17px; height: 17px; color: var(--muted); }

.search input {
  flex: 1;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
  outline: none;
}

.search input::placeholder { color: #a8a8b4; }

.chats {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.chat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.chat__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.chat__avatar--letter {
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
}

.chat__body { min-width: 0; flex: 1; }

.chat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.chat__head h4 { margin: 0; font-size: 12.5px; font-weight: 600; }
.chat__head time { font-size: 9px; color: #a9aab5; }

.chat__body p {
  margin: 3px 0 0;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat__unread {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
}

/* ───────────────────────── toast ───────────────────────── */

.toast {
  position: absolute;
  left: 50%;
  bottom: calc(92px + var(--safe-bottom));
  z-index: 90;
  transform: translate(-50%, 14px);
  max-width: 84%;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(30, 31, 44, 0.94);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ───────────────────────── small screens ───────────────────────── */

@media (max-height: 700px) {
  .brand { margin-top: 9vh; }
  .splash__actions { margin-bottom: 16vh; }
  .prop-card__media { height: 168px; }
  .gallery { height: 210px; }
}
