/* Gleeden-inspired: photo-first discover, clean profile, discreet chat */

.tm-disc-name-search-wrap {
  margin: 0 0 12px;
}

.tm-disc-name-search {
  width: 100%;
  min-height: 46px;
  border-radius: 999px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  font-size: 0.95rem !important;
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
}

.tm-disc-field--full {
  grid-column: 1 / -1;
}

/* —— Discover cards —— */
.tm-disc-grid--gleeden {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}

@media (min-width: 640px) {
  .tm-disc-grid--gleeden {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }
}

.tm-disc-card--gleeden {
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.tm-disc-card--gleeden .tm-profile-card__media {
  aspect-ratio: 3 / 4.2;
  border-radius: 20px;
}

.tm-disc-card--gleeden .tm-profile-card__media::after {
  background: linear-gradient(180deg, transparent 42%, rgba(5, 7, 15, 0.88) 100%);
}

.tm-disc-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 14px 16px;
  pointer-events: none;
}

.tm-disc-card__overlay-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.tm-disc-card__overlay-meta {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(241, 245, 249, 0.9);
  line-height: 1.35;
}

.tm-disc-card__overlay-bio {
  margin: 6px 0 0;
  font-size: 0.74rem;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tm-disc-card__verified-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.tm-disc-card__actions--gleeden {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  background: rgba(8, 12, 24, 0.55);
}

.tm-disc-card__actions--gleeden .tm-db-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 14px;
}

.tm-disc-card__actions--gleeden .tm-cp-pass-btn {
  flex: 0 0 auto;
  min-width: 72px;
}

.tm-disc-card--gleeden .tm-disc-online {
  top: 12px;
  left: 12px;
  z-index: 3;
}

/* —— Profile page —— */
.tm-dp-hero--gleeden .tm-dp-name {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 6px;
}

.tm-dp-hero--gleeden .tm-dp-actions {
  margin-top: 16px;
}

.tm-dp-hero--gleeden .tm-dp-start {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  border-radius: 999px;
}

.tm-dp-more {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  overflow: hidden;
}

.tm-dp-more__summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: #e2e8f0;
  list-style: none;
}

.tm-dp-more__summary::-webkit-details-marker {
  display: none;
}

.tm-dp-more__body {
  padding: 0 16px 16px;
}

/* —— Chat discreet —— */
.tm-pro-chat__thread-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-pro-chat__thread-profile-btn {
  flex: 1;
  min-width: 0;
}

.tm-pro-chat__thread-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.tm-pro-chat__tool-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.tm-pro-chat__tool-btn.is-active {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.tm-pro-chat__tool-btn:active {
  transform: scale(0.94);
}

body.tm-discreet-mode .tm-pro-chat__suggest-row {
  display: none !important;
}
