.profile-chip {
  text-decoration: none;
}

.available.offline {
  color: #cbd5e1;
}

.modal-actions-3 {
  grid-template-columns: 1fr 1fr 1.3fr;
}

.outline.strong {
  color: #ffd08d;
  border-color: #7c5a2b;
}

.booking-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.booking-form label {
  display: grid;
  gap: 6px;
  color: #cbd5e1;
  font-size: 12px;
}

.booking-form input,
.booking-form textarea {
  border: 1px solid var(--line);
  background: #0b1220;
  color: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  outline: 0;
}

.booking-form button {
  border-radius: 11px;
  padding: 12px;
  font-weight: 900;
}

.lang-toggle {
  margin-left: 0;
  border: 1px solid var(--line);
  background: #172236;
  color: #dbe4f3;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 15px;
  font-weight: 900;
}

.coin-top-btn {
  margin-left: 0;
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #a86d3055;
  background: #20170d;
  color: #ffd08d;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 900;
}

.coin-top-btn b {
  font-size: 16px;
}

.topbar .lang-toggle + .profile-chip {
  margin-left: 8px;
}

.topbar .coin-top-btn + .lang-toggle {
  margin-left: 0;
}

.profile-chip {
  margin-left: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-chip span:nth-child(2),
.profile-chip i {
  display: none !important;
}

.avatar-mini {
  width: 58px;
  height: 58px;
  font-size: 28px;
}

.notice-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #1a263a;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 900;
}

.unread-notice {
  background: #172236;
}

.provider-card.boosted-card {
  border-color: #ffad4dcc;
  box-shadow: 0 0 0 1px #ffad4d44, 0 14px 35px #ffad4d14;
}

.boost-badge {
  position: absolute;
  z-index: 2;
  left: 8px;
  top: 35px;
  border-radius: 12px;
  padding: 4px 7px;
  font-size: 9px;
  backdrop-filter: blur(7px);
  background: #ffad4de0;
  color: #231407;
  font-weight: 900;
}

.banner-strip {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.ad-banner {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1d2d47, #422715);
  border: 1px solid #ffad4d55;
  border-radius: 15px;
  padding: 10px;
  overflow: hidden;
  cursor: pointer;
}

.ad-banner img {
  width: 70px;
  height: 58px;
  border-radius: 11px;
  object-fit: cover;
}

.ad-banner span {
  display: block;
  color: #ffcf8b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.ad-banner strong {
  display: block;
}

.ad-banner p {
  margin: 2px 0 0;
  color: #d9c8ad;
  font-size: 11px;
}

.ad-banner button {
  border: 0;
  background: #ffad4d;
  color: #1a1208;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 900;
}

.wallet-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0d1626;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  margin-bottom: 12px;
}

.wallet-mini span {
  color: var(--muted);
  font-size: 12px;
}

.wallet-mini strong {
  color: #ffd08d;
}

.package-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #0d1626;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 5px;
  margin-bottom: 12px;
}

.package-tabs button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  padding: 10px 6px;
  font-size: 12px;
}

.package-tabs button.active {
  background: #263550;
  color: #fff;
}

.package-list {
  display: grid;
  gap: 10px;
  max-height: 52vh;
  overflow: auto;
}

.package-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: #0d1626;
  border: 1px solid #263650;
  border-radius: 15px;
  padding: 13px;
}

.package-card h3 {
  margin: 2px 0 4px;
}

.package-card span {
  color: var(--muted);
  font-size: 11px;
}

.package-card strong {
  color: #ffd08d;
}

.package-card ul {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.6;
}

.package-card button {
  border: 0;
  background: linear-gradient(135deg, var(--accent), #ff8f5b);
  border-radius: 999px;
  color: #1a1208;
  padding: 10px 12px;
  font-weight: 900;
}

.post-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: -4px 0 14px;
}

.post-actions button {
  min-height: 42px;
  border: 1px solid #31435d;
  background: #111a2b;
  color: #dbe4f3;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 11px;
  font-weight: 800;
}

.post-actions button:hover {
  border-color: #ffad4d88;
  color: #ffd08d;
}

.marketplace-card {
  border-width: 2px;
}

.marketplace-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #ffffff1f;
}

.marketplace-card.type-service {
  border-color: #ffad4d;
  box-shadow: 0 0 0 1px #ffad4d33, 0 14px 34px #ffad4d12;
}

.marketplace-card.type-request {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px #38bdf855, 0 14px 34px #38bdf81c;
}

.marketplace-card.type-therapist-job {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px #22c55e55, 0 14px 34px #22c55e1c;
}

.marketplace-card.type-shop-job {
  border-color: #fb7185;
  box-shadow: 0 0 0 1px #fb718555, 0 14px 34px #fb71851c;
}

.marketplace-card.type-room {
  border-color: #a78bfa;
  box-shadow: 0 0 0 1px #a78bfa66, 0 14px 34px #a78bfa1e;
}

.marketplace-card.type-service .available {
  background: #3a2510e0;
  color: #ffd08d;
}

.marketplace-card.type-request .available {
  background: #083344e8;
  color: #7dd3fc;
}

.marketplace-card.type-therapist-job .available {
  background: #052e1be8;
  color: #86efac;
}

.marketplace-card.type-shop-job .available {
  background: #4c0d1ce8;
  color: #fda4af;
}

.marketplace-card.type-room .available {
  background: #2e1065e8;
  color: #ddd6fe;
}

.filter.active-sort {
  border-color: #38bdf8;
  color: #7dd3fc;
  background: #083344;
}

.market-type {
  display: inline-flex;
  margin-left: 5px;
  border: 1px solid #ffffff33;
  border-radius: 999px;
  padding: 3px 7px;
  color: #ffd08d;
  font-size: 10px;
  font-style: normal;
  vertical-align: middle;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 7px;
}

.mini-badges span {
  border-radius: 999px;
  background: #0b1220cc;
  border: 1px solid #ffffff2a;
  color: #dbe4f3;
  font-size: 8px;
  padding: 3px 6px;
}

.locked-album {
  border-color: #ffad4d88 !important;
  color: #ffd08d !important;
  background: #322619 !important;
}

body {
  background: #050914;
}

.topbar {
  max-width: 560px;
  width: min(560px, 100%);
  left: auto;
  right: auto;
  transform: none;
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  justify-content: flex-end;
  gap: 8px;
  padding: 0 14px;
}

.app-brand-hidden {
  display: none !important;
}

.topnav,
.sidebar,
.chat-panel,
.view-toggle {
  display: none !important;
}

.shell {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  min-height: calc(100vh - 68px);
  border-inline: 1px solid var(--line);
  background: var(--bg);
}

.content {
  padding: 18px 12px 88px;
}

.content-head {
  align-items: flex-start;
}

.content h1 {
  font-size: 23px;
}

.toolbar {
  margin: 14px 0 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  overflow: visible;
}

.toolbar .filter,
.toolbar #sortPrice,
.toolbar #sortDistance {
  display: none;
}

.toolbar .search {
  min-width: 0;
  width: 100%;
}

.mobile-actions,
.post-actions {
  display: none !important;
}

.app-search-trigger {
  height: 48px;
  border-radius: 999px;
  background: #252525;
  border: 0;
}

.app-settings-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #273954;
  background: #111a2b;
  color: #dbe4f3;
  font-size: 22px;
  padding: 0;
}

.app-search-trigger input {
  font-size: 15px;
  color: #f8fafc;
  cursor: pointer;
}

.app-search-trigger span {
  color: #cbd5e1;
  font-size: 19px;
}

.app-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 8px 0 8px;
  scrollbar-width: none;
}

.app-tabs button {
  white-space: nowrap;
  border: 1px solid #273954;
  background: #111a2b;
  color: #91a0b8;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 900;
}

.app-tabs button.active {
  background: #ffad4d;
  color: #1a1208;
  border-color: #ffad4d;
}

.provider-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.provider-card {
  aspect-ratio: 1;
  border-radius: 10px;
}

.provider-card::after {
  inset: 42% 0 0;
}

.card-info {
  left: 7px;
  right: 7px;
  bottom: 7px;
}

.card-info h3 {
  font-size: 11px;
}

.card-info p {
  font-size: 8px;
}

.mini-badges {
  display: none;
}

.distance,
.available,
.boost-badge {
  font-size: 8px;
  padding: 3px 5px;
}

.available {
  max-width: 78%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-bottom strong {
  font-size: 10px;
}

.heart {
  width: 24px;
  height: 24px;
}

.bottom-nav {
  width: min(560px, 100%);
  max-width: none;
  left: 50%;
  right: auto;
  bottom: 0;
  transform: translateX(-50%);
  border-inline: 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 30px #02061766;
}

.bottom-nav button {
  min-width: 0;
}

.profile-modal,
.chat-drawer,
.sheet-card {
  width: min(560px, 100vw);
}

.modal-hero {
  height: min(58vh, 430px);
}

.modal-title h2 {
  font-size: 20px;
}

.modal-actions-3 {
  grid-template-columns: repeat(2, 1fr);
}

.modal-actions-3 .primary {
  grid-column: 1 / -1;
}

.search-overlay .sheet-card {
  min-height: auto;
  max-height: 94vh;
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  background: #101010;
  border-color: #1f1f1f;
  padding: 14px 16px 84px;
}

.search-sheet-head {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.search-sheet-head h2 {
  margin: 10px 0 0;
  font-size: 24px;
}

.round-close {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #333;
  background: #161616;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.big-search {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #2a2a2a;
  border-radius: 28px;
  padding: 0 18px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.big-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.filter-list {
  overflow: hidden;
  background: #292929;
  border-radius: 18px;
  margin-bottom: 8px;
}

.filter-list button {
  width: 100%;
  height: 44px;
  min-height: 44px;
  display: grid;
  grid-template-columns: 30px auto 1fr auto;
  align-items: center;
  gap: 9px;
  border: 0;
  border-bottom: 1px solid #151515;
  background: transparent;
  color: #fff;
  padding: 0 14px;
  text-align: left;
}

.filter-list button:last-child {
  border-bottom: 0;
}

.filter-list span {
  font-size: 17px;
  line-height: 1;
}

.filter-list strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.filter-list small {
  display: block;
  color: #9ca3af;
  font-size: 10px;
  margin-top: 0;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-list i {
  color: #fff;
  font-size: 28px;
  font-style: normal;
}

.filter-switch {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #292929;
  border-radius: 18px;
  padding: 9px 14px;
  color: #fff;
  margin-bottom: 8px;
}

.filter-switch strong,
.filter-switch small {
  display: block;
}

.filter-switch small {
  color: #9ca3af;
  font-size: 12px;
}

.filter-switch input {
  width: 64px;
  height: 34px;
  accent-color: #ffad4d;
}

.suggest-section {
  margin: 12px 0;
}

.suggest-section > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.suggest-section h3 {
  margin: 0;
  font-size: 16px;
}

.suggest-section button {
  border: 0;
  background: transparent;
  color: #e5e7eb;
  font-weight: 800;
}

.mini-avatar-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  background: #292929;
  border-radius: 18px;
  padding: 10px;
  scrollbar-width: none;
}

.mini-avatar-row button {
  flex: 0 0 58px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
}

.mini-avatar-row img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-avatar-row span {
  display: block;
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: #d1d5db;
  margin-top: 5px;
}

.apply-search {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(512px, calc(100vw - 40px));
  height: 48px;
  border: 0;
  border-radius: 28px;
  background: #2d2d2d;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.compact-gender-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 8px;
}

.compact-gender-row button {
  min-height: 42px;
  border: 1px solid #333;
  border-radius: 18px;
  background: #292929;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.compact-post-list button {
  grid-template-columns: 1fr auto;
}


@media (max-width: 760px) {
  .modal-actions-3 {
    grid-template-columns: 1fr;
  }

  .modal-actions-3 button {
    height: 42px;
  }

  .ad-banner {
    grid-template-columns: 52px 1fr;
  }

  .ad-banner img {
    width: 52px;
    height: 52px;
  }

  .ad-banner button {
    display: none;
  }

  .package-card {
    grid-template-columns: 1fr;
  }

  .package-card button {
    width: 100%;
  }

  .post-actions {
    grid-template-columns: 1fr 1fr;
  }
}
