.ollul-brand-logo {
  display: block;
  width: 186px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 2px;
  filter: drop-shadow(0 0 16px rgba(152, 168, 255, .14));
}

.support-card {
  max-width: 390px;
}

.support-card #supportText {
  max-width: 310px;
  margin: 0 auto 22px;
}

.support-email {
  height: 49px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 14px;
  padding: 0 15px;
  text-align: left;
  background: rgba(4, 6, 14, .44);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-email span {
  color: #eef3ff;
  font-size: 20px;
}

.support-email a {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.support-mail-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  text-decoration: none;
}

.support-card .actions {
  margin-top: 0;
}

@media (max-width: 650px) {
  .ollul-brand-logo {
    width: 118px;
  }

  .support-card {
    overflow: visible !important;
  }
}

/* Logged-in desktop layout */
.ollul-brand-logo,
.legal-page-logo {
  cursor: pointer;
  background: transparent;
}

.filter-close {
  top: 10px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 300;
}

.age-scale span {
  flex: 1;
  text-align: center;
}

.age-scale span:first-child {
  text-align: left;
}

.age-scale span:last-child {
  text-align: right;
}

.appbar {
  grid-template-columns: 220px minmax(260px, 1fr) 52px 80px 74px !important;
  height: 66px;
  background: rgba(3, 10, 18, .96) !important;
}

.appbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.appbrand .ollul-corner-logo {
  width: 47px;
  height: 47px;
}

.filter-icon,
.header-user,
.chat-lang {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 18, 31, .85);
  color: #fff;
}

.filter-icon {
  padding: 0;
  font-size: 26px;
  color: #cbd8ff;
}

.header-user {
  border: 0;
  background: transparent;
  font-size: 31px;
}

.chat-lang {
  padding: 0 12px;
}

.chatgrid {
  grid-template-columns: 250px minmax(0, 1fr) 370px !important;
  background: rgba(0, 5, 10, .72);
}

.chat.has-chat .chatgrid {
  grid-template-columns: 250px minmax(330px, .88fr) minmax(390px, 1.12fr) 370px !important;
}

.sidebar {
  padding: 12px 10px;
  background: rgba(3, 12, 20, .94) !important;
}

.me {
  min-height: 64px;
  font-size: 18px;
}

.online-heading {
  margin: 14px 8px 8px;
  font-size: 17px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px !important;
  border: 0 !important;
  font-size: 14px;
}

.contact i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: #087cff;
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(8, 124, 255, .5);
}

.contact small {
  margin-left: auto;
  color: #aeb7cd;
}

.center {
  min-width: 0;
  padding: 14px 12px !important;
}

.center-top {
  display: none !important;
}

.tabs {
  justify-content: flex-start !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px !important;
}

.tabs .tab {
  min-width: 180px;
  height: 51px;
  border-radius: 7px;
  font-size: 15px;
}

.view-switch {
  display: flex;
  gap: 7px;
  margin-left: auto;
}

.view-switch button {
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 15, 27, .9);
  color: #fff;
  font-size: 14px;
}

.view-switch button.active {
  background: #0877f9;
}

.people {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
  gap: 10px !important;
}

.chat.has-chat .people {
  grid-template-columns: repeat(2, minmax(145px, 1fr)) !important;
}

.person {
  height: 245px !important;
  border-radius: 7px !important;
  background: linear-gradient(155deg, #16385d, #050913 70%) !important;
}

.person::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 2;
  background: linear-gradient(transparent, rgba(1, 6, 12, .92));
  pointer-events: none;
}

.person-photo {
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  transform: none !important;
  object-fit: cover !important;
}

.person .avatar {
  top: 38px;
}

.person > span {
  z-index: 3;
  right: 10px;
  bottom: 12px !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.person > span b {
  font-size: 18px;
}

.person > span em {
  font-style: normal;
  font-size: 14px;
}

.people.list-view {
  display: block !important;
}

.people.list-view .person {
  height: 68px !important;
  margin-bottom: 7px;
}

.people.list-view .person-photo {
  width: 62px !important;
}

.people.list-view .person > span {
  left: 76px;
  bottom: 12px !important;
}

.chatpanel {
  display: none !important;
  min-width: 0;
  margin: 14px 0;
  border: 1px solid var(--line) !important;
  border-radius: 7px;
  background: rgba(2, 8, 15, .95) !important;
  overflow: hidden;
}

.chat.has-chat .chatpanel {
  display: grid !important;
}

.chathead {
  min-height: 80px;
  align-items: center;
  font-size: 18px;
}

.messages {
  overflow-y: auto;
}

.composer {
  background: rgba(5, 14, 25, .98);
}

.ads-rail {
  min-width: 0;
  padding: 14px 16px;
  border-left: 1px solid var(--line);
  background: rgba(3, 12, 20, .94);
  overflow-y: auto;
}

.ads-rail:not(.hidden) {
  position: fixed;
  z-index: 90;
  top: 66px;
  right: 0;
  bottom: 0;
  width: 370px;
  max-width: min(370px, 100vw);
}

.ad-placeholder {
  height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #a8acd8;
  border: 1px dashed #38506f;
  border-radius: 8px;
  background: rgba(7, 18, 30, .52);
  font-size: 34px;
}

.ad-placeholder strong {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.ad-placeholder span {
  font-size: 14px;
}

.chat.ads-off .chatgrid {
  grid-template-columns: 250px minmax(0, 1fr) !important;
}

.chat.ads-off.has-chat .chatgrid {
  grid-template-columns: 250px minmax(330px, .88fr) minmax(390px, 1.12fr) !important;
}

.search-filter-card.side-filter {
  width: 100%;
  padding: 40px 2px 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.side-filter h2,
.side-filter .filter-subtitle {
  text-align: left;
}

.side-filter .filter-panel {
  margin: 0;
  padding: 26px 8px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.filter-reset {
  width: 100%;
  height: 49px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: #fff;
}

.filter-footnote {
  color: #aab1c5;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1450px) {
  .people {
    grid-template-columns: repeat(3, minmax(145px, 1fr)) !important;
  }

  .chat.has-chat .chatgrid {
    grid-template-columns: 220px minmax(300px, .8fr) minmax(360px, 1.2fr) 320px !important;
  }
}

@media (max-width: 1180px) {
  .ads-rail {
    display: none;
  }

  .chatgrid {
    grid-template-columns: 210px minmax(0, 1fr) !important;
  }

  .chat.has-chat .chatgrid {
    grid-template-columns: 210px minmax(300px, .85fr) minmax(360px, 1.15fr) !important;
  }
}

@media (max-width: 650px) {
  .appbar {
    grid-template-columns: minmax(0, 1fr) 46px !important;
  }

  .appbrand,
  .header-user,
  .chat-lang {
    display: none !important;
  }

  .filter-icon {
    display: block !important;
  }

  .chatgrid,
  .chat.has-chat .chatgrid {
    display: block !important;
  }

  .view-switch {
    display: none;
  }

  .people,
  .chat.has-chat .people {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .person {
    height: 190px !important;
  }
}

.brand-badge {
  overflow: visible;
  background: transparent !important;
  box-shadow: none !important;
}

.ollul-corner-logo {
  display: block;
  width: 36px;
  height: 35px;
  object-fit: contain;
}

.appbrand .ollul-corner-logo {
  flex: 0 0 auto;
}

.search-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(4px);
}

.search-filter-card {
  position: relative;
  width: min(430px, 94vw);
  padding: 34px 24px 28px;
}

.search-filter-card h2 {
  margin: 0 0 6px;
  font-size: 25px;
}

.filter-subtitle {
  margin: 0 auto 22px;
  max-width: 300px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.filter-close {
  position: absolute;
  top: 5px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
}

.filter-panel {
  margin: 10px 0;
  padding: 13px 14px;
  background: rgba(8, 12, 23, .72);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.filter-heading,
.online-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.filter-heading strong {
  color: #aeb8ce;
  font-size: 11px;
  font-weight: 500;
}

.filter-range {
  width: 100%;
  margin: 14px 0 5px;
  accent-color: #1683ff;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: #8f9ab0;
  font-size: 9px;
}

.age-ranges {
  position: relative;
  height: 26px;
  margin-top: 8px;
}

.age-ranges::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(to right, #223047 0 var(--min-pct), #1683ff var(--min-pct) var(--max-pct), #223047 var(--max-pct) 100%);
}

.age-ranges .filter-range {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.age-ranges .filter-range::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.age-ranges .filter-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}

.age-ranges .filter-range::-moz-range-track {
  height: 6px;
  background: transparent;
}

.age-ranges .filter-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 0;
  border-radius: 50%;
}

.age-ranges .filter-range::-webkit-slider-thumb {
  pointer-events: auto;
}

.age-ranges .filter-range::-moz-range-thumb {
  pointer-events: auto;
}

.online-filter {
  cursor: pointer;
}

.online-filter input {
  position: absolute;
  opacity: 0;
}

.switch {
  position: relative;
  width: 42px;
  height: 23px;
  margin-left: auto;
  background: #26334d;
  border-radius: 99px;
  transition: .2s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: .2s ease;
}

.online-filter input:checked + .switch {
  background: #1683ff;
}

.online-filter input:checked + .switch::after {
  transform: translateX(19px);
}

.search-filter-card > .primary {
  margin-top: 8px;
}

.legal-main ul {
  padding-left: 22px;
}

.legal-main li {
  margin: 5px 0;
}

.legal-main .contact-email {
  color: #fff;
  font-weight: 700;
}

.legal-page-logo {
  display: block;
  width: 125px;
  height: auto;
  margin: 0 auto 22px;
  border-radius: 4px;
}

@media (max-width: 650px) {
  .search-filter-overlay {
    padding: 10px;
  }

  .search-filter-card {
    max-height: 96svh;
    overflow-y: auto;
    padding: 28px 14px 18px;
  }

  .search-filter-card h2 {
    font-size: 21px;
  }

  .legal-page-logo {
    width: 92px;
    margin-bottom: 14px;
  }
}

/* Final control alignment overrides */
.filter-close {
  top: 10px !important;
  right: 14px !important;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 300;
}

@media (max-width: 650px) {
  .appbar > .filter-icon {
    display: block !important;
  }
}

/* Dashboard states from the supplied desktop references */
.chat {
  height: 100dvh;
  min-height: 680px;
  overflow: hidden;
}

.main-search {
  position: relative;
  display: block;
  min-width: 0;
}

.main-search > span {
  position: absolute;
  z-index: 2;
  left: 15px;
  top: 50%;
  transform: translateY(-52%);
  color: #b6c2e3;
  font-size: 27px;
  pointer-events: none;
}

.main-search .tool {
  width: 100%;
  padding-left: 48px;
  background: rgba(5, 18, 30, .88);
}

.filter-icon {
  position: relative;
  display: grid;
  place-content: center;
  gap: 5px;
}

.filter-icon > span {
  position: relative;
  display: block;
  width: 25px;
  height: 2px;
  background: #d8e1f8;
}

.filter-icon > span::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 2px solid #d8e1f8;
  border-radius: 50%;
  background: #07121f;
}

.filter-icon > span:nth-child(1)::after,
.filter-icon > span:nth-child(3)::after { left: 5px; }
.filter-icon > span:nth-child(2)::after { right: 4px; }

.user-icon {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 29px;
  border: 2px solid #eef3ff;
  border-top: 0;
  border-radius: 50% 50% 6px 6px;
}

.user-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -10px;
  width: 10px;
  height: 10px;
  border: 2px solid #eef3ff;
  border-radius: 50%;
  background: #06101b;
}

.chatgrid {
  height: calc(100dvh - 66px);
  min-height: 0;
  overflow: hidden;
}

.sidebar,
.center,
.ads-rail,
.chatpanel {
  min-height: 0;
}

.sidebar,
.ads-rail,
.center {
  overflow-y: auto;
}

.me {
  display: flex;
  align-items: center;
  gap: 12px;
}

.me > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-transform: none;
}

.me b { font-size: 15px; }
.me i {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #087cff;
}

.center {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.people {
  min-height: 0;
  overflow-y: auto;
  align-content: start;
  padding: 0 2px 12px;
}

.person {
  min-height: 210px;
  height: min(31.5vh, 300px) !important;
}

.person:focus-visible {
  outline: 2px solid #1683ff;
  outline-offset: -2px;
}

.person > span {
  left: 14px;
  right: auto;
  bottom: 16px !important;
}

.chathead #chatName {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chathead #chatName small {
  color: #aeb7cd;
  font-size: 13px;
  font-weight: 400;
}

.side-filter .filter-subtitle {
  display: none;
}

.search-filter-card.side-filter h2 {
  margin: 0 8px 20px;
  font-size: 27px;
}

.search-filter-card.side-filter .filter-close {
  top: 0 !important;
  right: 4px !important;
}

.ads-rail .search-filter-card {
  max-height: 100%;
  overflow-y: auto;
}

.ad-icon {
  color: #aeb0e8;
  font-size: 42px;
  line-height: 1;
}

.age-field input::-webkit-inner-spin-button {
  opacity: 1;
}

@media (max-width: 950px) and (min-width: 651px) {
  .appbar {
    grid-template-columns: minmax(0, 1fr) 52px 64px 66px !important;
  }
  .appbrand { display: none; }
}

@media (max-width: 650px) {
  .main-search { display: block !important; }
  .main-search .tool { display: block !important; height: 40px !important; }
  .person { min-height: 160px; height: 190px !important; }
}

/* Final dashboard controls and functional chat media */
.appbar {
  grid-template-columns: 220px minmax(260px, 1fr) 52px 74px !important;
}

.filter-icon {
  display: grid;
  place-items: center;
}

.filter-svg,
.person-svg,
.composer svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-svg {
  width: 29px;
  height: 29px;
  color: #d6e0fa;
}

.filter-icon > span {
  display: none;
}

.person-svg {
  width: 32px;
  height: 36px;
  flex: 0 0 auto;
  color: #f4f7ff;
}

.profile-caption {
  position: static !important;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #d8deec;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chathead {
  min-height: 96px;
}

.chathead #chatName {
  min-width: 0;
  line-height: 1.15;
}

.chat-person-name {
  color: #fff;
  font-size: 19px;
  font-weight: 750;
}

.chat-person-caption {
  max-width: 330px;
  overflow: hidden;
  color: #cbd2e3;
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chathead .right {
  align-items: center;
}

#report,
#closeChat {
  cursor: pointer;
}

#report:hover,
#closeChat:hover {
  color: #7eb6ff;
}

.composer button {
  display: grid;
  place-items: center;
  color: #eef4ff;
}

.composer button svg {
  width: 25px;
  height: 25px;
}

#sendBtn svg {
  fill: currentColor;
  stroke: none;
}

.chat-image {
  display: block;
  width: min(320px, 100%);
  max-height: 360px;
  border-radius: 9px;
  object-fit: contain;
}

.msg:has(.chat-image) .bubble {
  padding: 5px;
  background: #111a2a;
}

.people.list-view {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

.people.list-view .person,
.chat.has-chat .people.list-view .person {
  display: block;
  width: 100%;
  min-height: 92px !important;
  height: 92px !important;
  margin: 0 !important;
  border-radius: 8px !important;
}

.people.list-view .person::after {
  inset: 0;
  background: linear-gradient(90deg, transparent 0 72px, rgba(3, 9, 17, .72) 112px, rgba(3, 9, 17, .94) 100%);
}

.people.list-view .person-photo {
  inset: 0 auto 0 0 !important;
  width: 92px !important;
  height: 92px !important;
  object-fit: cover !important;
}

.people.list-view .person .avatar {
  top: 12px;
  left: 46px;
  transform: translateX(-50%) scale(.72);
}

.people.list-view .person > span {
  left: 116px;
  right: 18px;
  top: 50%;
  bottom: auto !important;
  transform: translateY(-50%);
}

.people.list-view .person > span b {
  font-size: 16px;
}

.people.list-view .profile-caption {
  display: block;
  font-size: 12px;
}

.report-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(5px);
}

.report-card {
  position: relative;
  width: min(430px, 94vw);
  padding: 28px 24px 24px;
}

.report-card h2 { margin-bottom: 8px; }
.report-card p { margin: 0 0 20px; color: #b8c1d5; text-align: center; }
.report-card label { display: block; margin: 13px 0 6px; font-size: 12px; font-weight: 700; }
.report-card select { appearance: auto; }
.report-card textarea { min-height: 100px; padding: 10px; resize: vertical; }
.report-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.report-close { position: absolute; top: 8px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 30px; }

.ollul-toast {
  position: fixed;
  z-index: 13000;
  left: 50%;
  bottom: 28px;
  max-width: min(440px, 90vw);
  padding: 12px 18px;
  border: 1px solid rgba(126, 182, 255, .42);
  border-radius: 8px;
  background: rgba(8, 18, 32, .97);
  color: #fff;
  box-shadow: 0 14px 45px #000a;
  opacity: 0;
  transform: translate(-50%, 15px);
  pointer-events: none;
  transition: .2s ease;
}

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

@media (max-width: 950px) and (min-width: 651px) {
  .appbar { grid-template-columns: minmax(0, 1fr) 52px 70px !important; }
}

@media (max-width: 650px) {
  .appbar { grid-template-columns: minmax(0, 1fr) 46px !important; }
  .chat.mobile-chat-open .chatpanel { grid-template-rows: 78px minmax(0,1fr) calc(64px + env(safe-area-inset-bottom)) !important; }
  .chathead { min-height: 78px !important; height: 78px !important; }
  .chat-person-caption { max-width: 190px; }
  .people.list-view .person,
  .chat.has-chat .people.list-view .person { min-height: 82px !important; height: 82px !important; }
  .people.list-view .person-photo { width: 82px !important; height: 82px !important; }
  .people.list-view .person > span { left: 100px; }
}


/* Dashboard update — messages, offline history, list rows and profile preview */
.appbar {
  grid-template-columns: 220px minmax(260px, 1fr) 52px 52px 52px 74px !important;
}
.header-message,
.header-profile {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8,18,31,.85);
  color: #eaf1ff;
}
.message-svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.header-user-svg { width: 30px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.inbox-badge {
  position: absolute;
  top: -8px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #06101b;
  border-radius: 99px;
  background: #087cff;
  color: white;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.bolt-svg { width: 24px; height: 24px; vertical-align: middle; fill: #43a2ff; filter: drop-shadow(0 0 6px rgba(67,162,255,.55)); }
.online-heading { display: flex; align-items: center; gap: 8px; }
.person.offline { filter: grayscale(.85); opacity: .62; }
.person.offline:hover { opacity: .82; }
.people.list-view { gap: 0 !important; border: 1px solid rgba(120,145,190,.14); border-radius: 7px; overflow-y: auto; }
.people.list-view .person,
.chat.has-chat .people.list-view .person {
  min-height: 54px !important;
  height: 54px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(120,145,190,.14) !important;
  border-radius: 0 !important;
  background: rgba(2,12,21,.84) !important;
}
.people.list-view .person::after,
.people.list-view .person-photo,
.people.list-view .person .avatar { display: none !important; }
.people.list-view .person > span {
  position: absolute;
  inset: 0 14px !important;
  display: grid !important;
  grid-template-columns: minmax(150px, .8fr) 100px minmax(220px, 1.7fr);
  align-items: center;
  gap: 18px;
  transform: none !important;
}
.people.list-view .person > span b { grid-column: 1; font-size: 16px; }
.people.list-view .person > span em { grid-column: 2; grid-row: 1; position: static; color: #c8d0e0; font-size: 14px; }
.people.list-view .profile-caption { grid-column: 3; grid-row: 1; display: block; color: #d3d9e6; font-size: 14px; }
.inbox-overlay {
  position: fixed;
  inset: 66px 0 0;
  z-index: 500;
  display: flex;
  justify-content: flex-end;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(2px);
}
.inbox-drawer {
  width: min(500px, 96vw);
  height: 100%;
  padding: 18px;
  border-left: 1px solid #1760c5;
  background: rgba(3,14,25,.985);
  box-shadow: -24px 0 70px rgba(0,0,0,.55);
  overflow: hidden;
}
.inbox-drawer header { display: flex; align-items: center; margin-bottom: 14px; }
.inbox-drawer h2 { margin: 0; font-size: 23px; }
.inbox-drawer header button,
.own-profile-close { margin-left: auto; border: 0; background: transparent; color: #eaf1ff; font-size: 34px; }
.inbox-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.inbox-tabs button { height: 44px; border: 0; background: transparent; color: #aeb7ca; }
.inbox-tabs button.active { color: white; border-bottom: 3px solid #1683ff; background: rgba(22,131,255,.12); }
.inbox-search { position: relative; display: block; margin-bottom: 14px; }
.inbox-search span { position: absolute; left: 13px; top: 8px; z-index: 2; font-size: 24px; color: #9ba8c0; }
.inbox-search input { width: 100%; padding-left: 42px; }
.inbox-list { height: calc(100% - 130px); overflow-y: auto; }
.inbox-item {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid rgba(125,146,182,.14);
  background: transparent;
  color: white;
  text-align: left;
}
.inbox-item:hover { background: rgba(17,77,145,.3); }
.inbox-item.offline { color: #c1c5cc; background: rgba(154,160,170,.06); }
.inbox-item.offline img { filter: none; opacity: 1; }
.inbox-item img,.inbox-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #5b6370; }
.inbox-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.inbox-name-row { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.inbox-name-row strong { min-width: 0; }
.inbox-presence { flex: 0 0 auto; color: #8f99aa !important; font-size: 11px !important; font-weight: 500; }
.inbox-copy strong,.inbox-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-copy small { color: #aeb7c8; }
.inbox-meta { display: grid; justify-items: end; gap: 4px; color: #aeb7c8; font-size: 12px; }
.inbox-meta em { font-style: normal; }
.inbox-meta b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #087cff; color: white; }
.inbox-empty,.conversation-loading { padding: 34px 18px; color: #aeb7c8; text-align: center; }
.own-profile { position: relative; }
.own-profile-main img,.own-profile-avatar { display: block; width: 190px; height: 190px; margin: 40px auto 18px; border-radius: 50%; object-fit: cover; background: #5c6678; }
.own-profile h2 { margin: 0 0 8px; font-size: 27px; }
.own-profile-status { color: #b6bfd0; }
.own-profile-caption { padding: 14px 0; border-bottom: 1px solid var(--line); color: #e6eaf3; line-height: 1.45; }
.own-profile-location { color: #c7cfde; }
.own-profile-photos { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 18px 0; }
.own-profile-photos img { width: 100%; aspect-ratio: .82; border-radius: 8px; object-fit: cover; }
.photo.processing,#photoBtn.processing{cursor:wait;opacity:.62;filter:saturate(.7)}
.photo.has-photo{border-color:#2b7fff;box-shadow:0 0 0 1px #2b7fff55}.hint #photoCount{color:#dce7ff;font-weight:700}
.photo-remove{position:absolute;top:3px;right:3px;z-index:2;display:grid;width:22px;height:22px;place-items:center;border:1px solid #ffffff88;border-radius:50%;background:#951f37;color:#fff;font-size:17px;font-weight:800;line-height:1}.photo-remove:hover{background:#c12b48}.logout-overlay{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:20px;background:#000b;backdrop-filter:blur(5px)}.logout-modal{width:min(430px,100%);padding:26px;background:linear-gradient(180deg,#111828,#080d18);border-color:#31435f}.logout-modal h2{margin:0 0 9px;text-align:left;font-size:25px}.logout-modal p{margin:0;color:#cbd4e2;line-height:1.55}.logout-modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:24px}.logout-modal-actions .back{min-height:42px;padding:0 16px}.logout-modal-actions .delete-my-data{width:auto;min-width:120px;margin:0;padding:11px 20px}
.own-profile-note { color: #929daf; font-size: 12px; text-align: center; }

@media (max-width: 950px) and (min-width: 651px) {
  .appbar { grid-template-columns: minmax(0,1fr) 52px 52px 52px !important; }
  .appbrand,.chat-lang { display: none !important; }
}
@media (max-width: 650px) {
  .appbar { grid-template-columns: minmax(0,1fr) 46px 46px !important; }
  .header-message { display: grid !important; width: 46px; }
  .header-profile,.chat-lang,.appbrand { display: none !important; }
  .inbox-overlay { inset: 56px 0 0; }
  .inbox-drawer { width: 100vw; }
}


/* Interface polish — 8 September 2026 */
.msg .bubble,
.msg.mine .bubble {
  background: linear-gradient(180deg, #1683ff, #0869e8) !important;
  color: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 7px 22px rgba(8,105,232,.18);
}
.main-search > span {
  inset: 0 auto 0 0 !important;
  width: 48px;
  height: 100%;
  display: grid;
  place-items: center;
  transform: none !important;
  font-size: 0 !important;
}
.search-svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #aebbd1;
  stroke-width: 2;
  stroke-linecap: round;
}
.header-message {
  width: 44px;
  height: 44px;
  justify-self: center;
  border-radius: 50% !important;
}
.message-svg {
  width: 29px;
  height: 29px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact { gap: 0 !important; }
.contact i { display: none !important; }
.own-profile-main img,
.own-profile-avatar {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 10px !important;
}
.chat-lang-wrap {
  position: relative;
  height: 44px;
}
.chat-lang {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.chat-lang-menu {
  position: absolute;
  z-index: 900;
  top: 51px;
  right: 0;
  width: 145px;
  padding: 6px;
  border: 1px solid rgba(126,161,222,.35);
  border-radius: 9px;
  background: rgba(5,16,29,.99);
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}
.chat-lang-menu button {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #eaf1ff;
  text-align: left;
}
.chat-lang-menu button:hover,
.chat-lang-menu button:focus-visible {
  background: rgba(22,131,255,.24);
}


/* Report form and message-button correction */
.header-message {
  width: 52px !important;
  height: 44px !important;
  border-radius: 7px !important;
}
.report-card textarea.invalid {
  border-color: #ff5b6e !important;
  box-shadow: 0 0 0 2px rgba(255,91,110,.14);
}
.message-report{display:block;margin:3px 0 0;padding:0;border:0;background:transparent;color:#9fb1c8;font-size:10px;text-decoration:underline}.message-report:hover{color:#fff}.delete-my-data{width:100%;margin-top:18px;padding:11px;border:1px solid #2d82ff;border-radius:7px;background:linear-gradient(180deg,#2580ff,#0d53df);color:#fff;font-weight:750;box-shadow:0 7px 18px #075fff35}.delete-my-data:hover{background:linear-gradient(180deg,#3b8eff,#1762ea)}

/* Fixed distance levels and the temporary Recent offline state */
.distance-scale span {
  flex: 1 1 0;
  text-align: center;
}
.distance-scale span:first-child { text-align: left; }
.distance-scale span:last-child { text-align: right; }
.profile-presence {
  position: static !important;
  width: fit-content;
  margin-top: 2px;
  padding: 3px 7px;
  border: 1px solid rgba(185,194,207,.32);
  border-radius: 99px;
  background: rgba(122,131,144,.24);
  color: #d0d4dc !important;
  font-size: 10px !important;
  line-height: 1.15;
}
.person.offline .profile-caption {
  color: #b7bdc8;
}
.people.list-view .profile-presence {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.people.list-view .person.offline .profile-caption {
  display: none;
}

/* Mobile onboarding is isolated from the hidden chat interface. */
@media (max-width: 650px) {
  .chat.hidden {
    display: none !important;
  }

  body.onboarding-active {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.onboarding-active #topbar {
    position: relative;
    z-index: 181;
  }

  body.onboarding-active #profile {
    position: fixed;
    inset: 48px 0 0;
    z-index: 180;
    width: 100%;
    height: calc(100dvh - 48px);
    min-height: 0 !important;
    max-height: calc(100dvh - 48px);
    justify-content: flex-start !important;
    overflow: hidden;
    overscroll-behavior: contain;
    background: #05060d !important;
  }

  body.onboarding-active #profile .logo-lockup {
    flex: 0 0 auto;
  }

  body.onboarding-active #profile .profile-card {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px !important;
  }

  body.onboarding-active #profileContinue {
    position: sticky;
    z-index: 4;
    bottom: 0;
    margin-top: 10px;
    box-shadow: 0 -10px 20px rgba(8, 10, 18, .84);
  }

  body.onboarding-active #chat {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.onboarding-active .search-filter-overlay {
    z-index: 10020 !important;
  }
}


/* Cloudflare Turnstile protection for profile registration. */
.turnstile-block {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 12px 0;
  min-height: 70px;
}
.turnstile-block.hidden {
  display: none !important;
  min-height: 0;
}
.turnstile-block small {
  color: #aeb5c7;
  font-size: 11px;
  text-align: center;
}
#ollulTurnstile {
  min-height: 65px;
}


/* Hard isolation while profile onboarding is active, including wide iPhones,
   landscape mode and browsers requesting a desktop-sized viewport. */
@media (max-width: 950px) {
  body.onboarding-active {
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.onboarding-active #profile {
    position: fixed !important;
    inset: 48px 0 0 !important;
    z-index: 10000 !important;
    width: 100vw !important;
    height: calc(100dvh - 48px) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 48px) !important;
    overflow: hidden !important;
    background: #05060d !important;
  }

  body.onboarding-active #profile .profile-card {
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body.onboarding-active #chat,
  body.onboarding-active .chat,
  body.onboarding-active #chat.mobile-chat-open {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* Prevent iOS Safari scroll chaining through the filter step. */
@media (max-width: 950px) {
  html.onboarding-active,
  html.onboarding-active body {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.onboarding-active .search-filter-overlay:not(.hidden) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10020 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 10px !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
    background: #05060d !important;
  }

  body.onboarding-active .search-filter-overlay:not(.hidden) .search-filter-card {
    width: min(430px, calc(100vw - 20px)) !important;
    max-height: calc(100dvh - 20px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
  }
}


/* Hidden pages must stay hidden after mobile layout rules are applied. */
.hidden,
.page.hidden,
.hero.hidden,
.info-wrap.hidden,
.infoWrap.hidden,
#profile.hidden,
#chat.hidden {
  display: none !important;
}


/* Visible registration progress and errors inside the filter step. */
.filter-status {
  margin: 10px 0 8px;
  padding: 9px 11px;
  border: 1px solid rgba(82, 142, 255, .38);
  border-radius: 7px;
  background: rgba(30, 78, 158, .20);
  color: #dbe8ff;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.filter-status.error {
  border-color: rgba(255, 91, 110, .48);
  background: rgba(255, 75, 92, .14);
  color: #ffdadd;
}
#filterContinue:disabled {
  cursor: wait;
  opacity: .7;
}


/* Complete mobile navigation and panels. */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 650px) {
  .chat:not(.hidden) .mobile-bottom-nav {
    position: fixed;
    z-index: 450;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(66px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    padding: 5px 4px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(133, 163, 225, .25);
    background: rgba(3, 10, 18, .985);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .34);
  }

  .mobile-bottom-nav button {
    position: relative;
    min-width: 0;
    height: 56px;
    display: grid;
    grid-template-rows: 31px 17px;
    place-items: center;
    gap: 1px;
    padding: 2px 1px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9eabc2;
    touch-action: manipulation;
  }

  .mobile-bottom-nav button.active {
    color: #4f9cff;
    background: rgba(22, 116, 255, .10);
  }

  .mobile-bottom-nav button > span {
    display: grid;
    place-items: center;
    min-width: 28px;
    min-height: 28px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
  }

  .mobile-bottom-nav svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .mobile-bottom-nav small {
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 9px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #mobileLanguageCode {
    font-size: 15px;
    letter-spacing: .04em;
  }

  .mobile-nav-badge {
    position: absolute;
    top: 1px;
    left: calc(50% + 7px);
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #ff405d;
    color: #fff;
    font-size: 9px;
  }

  .chat:not(.mobile-chat-open) .chatgrid {
    height: calc(100dvh - 122px - env(safe-area-inset-bottom)) !important;
    padding-bottom: 0 !important;
  }

  .chat.mobile-chat-open .mobile-bottom-nav {
    display: none !important;
  }

  .inbox-overlay {
    inset: 56px 0 calc(66px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.onboarding-active) .search-filter-overlay:not(.hidden) {
    z-index: 700 !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .ads-rail.mobile-panel-open {
    position: fixed !important;
    z-index: 600 !important;
    inset: 56px 0 calc(66px + env(safe-area-inset-bottom)) !important;
    width: 100vw !important;
    max-width: none !important;
    display: block !important;
    padding: 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: rgba(3, 12, 20, .995) !important;
    border: 0 !important;
  }

  .ads-rail.mobile-panel-open .own-profile {
    width: min(430px, 100%);
    margin: 0 auto;
    padding-bottom: 24px;
  }

  .empty-online {
    margin-top: 8px;
    line-height: 1.5;
  }
}


/* Mobile discovery layout correction: keep the results row from collapsing. */
@media (max-width: 650px) {
  .chat:not(.mobile-chat-open) .center {
    grid-template-rows: 52px minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  .chat:not(.mobile-chat-open) .tabs {
    width: 100%;
    min-height: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .chat:not(.mobile-chat-open) .tabs .tab {
    min-width: 0;
    flex: 1 1 50%;
    height: 44px;
    padding: 8px 10px;
  }

  .chat:not(.mobile-chat-open) .people {
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 2px 18px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .chat:not(.mobile-chat-open) .empty-online {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px 14px !important;
    overflow: visible !important;
    line-height: 1.45;
  }

  .main-search #search {
    min-width: 0 !important;
    padding-right: 8px !important;
    font-size: 14px !important;
  }
}


/* Explicit 18+ consent (GDPR Article 9). */
.age-box{max-height:calc(100dvh - 28px);overflow-y:auto}
.age-consent{align-items:flex-start;justify-content:flex-start;text-align:left;font-size:15px;line-height:1.45;margin:22px 0 8px}
.age-consent input{flex:0 0 auto;margin-top:3px}
.age-consent-info{text-align:left;margin:0 0 14px;padding-left:37px}
.age-consent-info summary{width:max-content;max-width:100%;color:#8ebcff;font-size:13px;cursor:pointer}
.age-consent-info p{margin:8px 0 0;font-size:12px;line-height:1.5;color:#b9c0cf}
.age-acceptance{font-size:13px!important;line-height:1.5;margin:14px 0!important;color:#c9ced9!important}
.age-acceptance a{color:#8ebcff;text-decoration:underline;text-underline-offset:2px}
@media(max-width:650px){.age-box{max-height:calc(100dvh - 28px)!important;padding:22px 17px!important}.age-consent{font-size:13px!important;margin:17px 0 8px!important}.age-consent-info{padding-left:34px}.age-consent-info p,.age-acceptance{font-size:11px!important}.age-actions{position:sticky;bottom:-1px;padding-top:10px;background:linear-gradient(180deg,transparent,rgba(19,21,27,.99) 32%)}}


/* JuicyAds: twee zones rechts en één horizontale zone onder de chat. */
.chat {
  grid-template-rows: 66px minmax(0, 1fr) auto !important;
}

.bottom-ad {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: rgba(3, 12, 20, .94);
  overflow: hidden;
}

.ad-slot-wide {
  width: 728px !important;
  min-width: 728px;
  min-height: 102px !important;
  height: 102px;
}

/* Advertenties nooit achter of door modale vensters tonen. */
body:has(.inbox-overlay:not(.hidden)) .ad-rail,
body:has(.inbox-overlay:not(.hidden)) .bottom-ad,
body:has(.search-filter-overlay:not(.hidden)) .ad-rail,
body:has(.search-filter-overlay:not(.hidden)) .bottom-ad,
body:has(.ads-rail:not(.hidden)) .ad-rail,
body:has(.ads-rail:not(.hidden)) .bottom-ad {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 800px) {
  .bottom-ad {
    display: none !important;
  }
}


/* Betrouwbare advertentie-afscherming tijdens Berichten, Filters en Profiel. */
body.ads-suppressed .ad-rail,
body.ads-suppressed .bottom-ad,
body.ads-suppressed ins#1127200,
body.ads-suppressed ins#1127201,
body.ads-suppressed ins#1127202,
body.ads-suppressed iframe[src*="jads"],
body.ads-suppressed iframe[src*="juicyads"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.ads-suppressed .inbox-overlay {
  z-index: 2147483646 !important;
}
