/* Torc — member experience pass, November 2026. Loaded last.
   Photo-less cards that lead with interests, a two-up phone grid, graceful
   missing photos and one-tap private album sharing. */

/* A card without a photo shows what he is into, set in the display face. */
.product-active .card-media > .card-kinks {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding: 14px 16px 12px;
  text-align: left;
  user-select: none;
}
.product-active .card-media > .card-kinks > span:not(.card-initial) {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgb(245 240 233 / 0.86);
}
.product-active .card-media > .card-kinks > span:not(.card-initial) + span:not(.card-initial) {
  color: rgb(245 240 233 / 0.46);
}
.product-active .card-media > .card-kinks > .card-initial {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(245 240 233 / 0.22);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  color: rgb(245 240 233 / 0.7);
  letter-spacing: 0;
}
.product-active .people-list .card-media > .card-kinks {
  padding: 10px 12px;
}
.product-active .people-list .card-media > .card-kinks > span:not(.card-initial) {
  font-size: 20px;
}
.product-active .people-list .card-media > .card-kinks > .card-initial {
  display: none;
}

/* The interest tile sits under a card photo, so a slow or failed image shows
   it instead of a blank box or broken-image text. */
.product-active .card-media.has-photo > img {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.product-active .card-media.has-photo > .card-initial {
  position: absolute;
}
.product-active .card-media > .saved-pill {
  z-index: 2;
}
img.unavailable {
  opacity: 0;
}

/* Phones: two cards across, so a screen shows several men instead of one. */
@media (max-width: 700px) {
  .product-active .people-grid:not(.people-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-active .people-grid:not(.people-list) .card-media {
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: none;
  }
  .product-active .people-grid:not(.people-list) .person-body {
    padding: 9px 10px 10px;
    gap: 5px;
  }
  .product-active .people-grid:not(.people-list) .person-name {
    font-size: 15px;
  }
  .product-active .people-grid:not(.people-list) .person-city,
  .product-active .people-grid:not(.people-list) .person-age {
    font-size: 12px;
  }
  .product-active .people-grid:not(.people-list) .person-facts,
  .product-active .people-grid:not(.people-list) .person-bio {
    font-size: 12.5px;
    line-height: 1.35;
  }
  .product-active .people-grid:not(.people-list) .person-bio {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .product-active .people-grid:not(.people-list) .card-tags .chip {
    font-size: 11px;
    padding: 2px 7px;
    min-height: 0;
  }
  .product-active .card-media > .card-kinks {
    padding: 10px 11px 9px;
  }
  .product-active .card-media > .card-kinks > span:not(.card-initial) {
    font-size: clamp(20px, 6.4vw, 28px);
  }
  .product-active .card-media > .card-kinks > .card-initial {
    top: 8px;
    right: 9px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

/* One-tap private album sharing on another member's profile. */
.product-active .album-share {
  display: grid;
  gap: 8px;
}
.product-active .album-share > button {
  width: 100%;
}
.product-active .album-share-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.product-active .album-share-panel[hidden] {
  display: none;
}
.product-active .album-share-panel p {
  margin: 0;
}
.product-active .album-share-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.product-active .album-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.product-active .album-share-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-active .album-share-row > button {
  flex: none;
  width: auto;
  min-height: 36px;
  padding: 6px 14px;
}
.product-active .album-share-row > button.album-share-on {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* Discover → Events. A dated list, not a grid of cards: each weekend is a row
   with its date set in the display face, and the row a member is going to
   takes the accent. */
.product-content .events-view {
  display: grid;
  gap: 14px;
}
.product-content .event-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.product-content .event-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 4px 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.product-content .event-when {
  display: grid;
  justify-items: start;
  padding: 2px 0 2px 12px;
  border-left: 3px solid var(--line);
  font-family: var(--display);
  line-height: 0.95;
  text-transform: uppercase;
}
.product-content .event-row.is-going .event-when {
  border-left-color: var(--accent);
}
.product-content .event-month {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.product-content .event-days {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.product-content .event-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.product-content .event-main h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.product-content .event-main p {
  margin: 0;
}
.product-content .event-where {
  color: #dfd8cf;
  font-size: 14px;
}
.product-content .event-count {
  margin-top: 4px;
  font-size: 13px;
  color: var(--accent-text);
}
.product-content .event-actions {
  display: grid;
  gap: 6px;
  justify-items: stretch;
  min-width: 132px;
}
.product-active .product-content .event-actions > button {
  width: 100%;
  margin: 0;
}
.product-active .product-content button.event-going[aria-pressed="true"]::before {
  content: "✓ ";
}
.product-content .event-attendees {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.product-active .product-content button.filter-quick-chip.event-counterpart {
  border-color: #9d8468;
  color: #f5e2cc;
}
.product-content .event-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.product-content .event-roles:empty {
  display: none;
}
.product-content .event-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #dfd8cf;
}
.product-active .product-content .event-role > select {
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: 4px 28px 4px 10px;
  font-size: 13px;
}
.product-content .event-attendees > .results-status:empty {
  display: none;
}
.product-content .event-footnote {
  max-width: 68ch;
}
.product-content .event-setup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.product-active .product-content .event-setup > button {
  width: auto;
  margin: 0;
}

/* On a card: the weekend he is going to, bottom-left of the photo. The one
   you share with him takes the accent. */
.product-active .card-media > .event-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid #9d8468;
  border-radius: 4px;
  background: rgb(22 19 16 / 0.86);
  color: #f5e2cc;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.3;
  backdrop-filter: blur(6px);
}
.product-active .card-media > .event-pill.shared {
  border-color: #cb735c;
  background: rgb(63 38 32 / 0.92);
  color: #fff5ec;
}
/* The interest tile makes room for the pill. */
.product-active .card-media:has(> .event-pill) > .card-kinks {
  padding-bottom: 38px;
}
.product-active .people-list .card-media > .event-pill {
  left: 6px;
  bottom: 6px;
  font-size: 9.5px;
  padding: 2px 6px;
}
.product-content .event-attendees > .people-grid:empty {
  display: none;
}
.chip.event-chip.shared {
  border-color: #cb735c;
  background: #3f2620;
  color: #fff5ec;
}

@media (max-width: 700px) {
  .product-content .event-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .product-content .event-days {
    font-size: 24px;
  }
  .product-content .event-main h2 {
    font-size: 21px;
  }
  .product-content .event-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-top: 8px;
  }
}

/* The Discover tab row scrolls sideways on narrow screens; fade the right
   edge while more tabs are off-screen. */
.product-content .discovery-sections.more-right {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
}
