/* Page-level composition: Startseite, Feed, Chat, Bilder, Rechtstexte. */

/* ==========================================================================
   Startseite
   ========================================================================== */

/* The girls are the product here, so the Startseite runs far wider than a reading
   page and keeps its gutters tight: four cards stay large instead of floating in
   black margins on a wide monitor. */
body[data-page="home"] .page {
  max-width: 1780px;
  padding: 18px 20px 48px;
}

/* Section head and filter row sit tight above the roster so the two read as one
   block of controls belonging to the grid, not as separate landing-page sections. */
body[data-page="home"] .section-head {
  align-items: center;
  margin-bottom: 10px;
}

body[data-page="home"] .section-head h2 {
  font-size: clamp(1.32rem, 1.15rem + 0.45vw, 1.6rem);
}

body[data-page="home"] .page-head__sub {
  margin-top: 3px;
  font-size: 0.95rem;
}

body[data-page="home"] .filters {
  margin-bottom: 12px;
}

/* A compact intro band, not a full-height splash: it has to say what Milvi is and
   then get out of the way of the roster. */
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 22px 26px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 45, 120, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 42%, 560px);
  align-items: center;
  gap: 30px;
  background:
    radial-gradient(860px 340px at 82% 0%, rgba(193, 59, 255, 0.52), transparent 66%),
    radial-gradient(660px 300px at 4% 100%, rgba(255, 45, 120, 0.34), transparent 70%),
    linear-gradient(160deg, #2a1830 0%, #150f1d 58%, #100c16 100%);
}

.hero__inner {
  position: relative;
}

/* Smaller than a landing-page headline on purpose: at the page default it alone
   costs two 48px lines and pushes the girls off the first screen. */
.hero h1 {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.05rem);
  margin-bottom: 10px;
}

/* ---------- Hero scene ---------- */

/* One photograph of the three girls instead of three separate cards. The frame keeps
   the picture's own 16:9 ratio, so `cover` has nothing to crop and every girl stays
   exactly where her click region expects her, at any width. */
.hero__scene {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.62);
  /* The photo reaches into the hero's own vertical padding, so it can be taller than
     the copy column without making the band any taller. */
  margin-block: -14px;
}

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

/* Invisible, hovered or not: the picture is the design, and anything drawn over one of
   the three women is a change to it. The pointer cursor is what says "clickable". */
.hero__pick {
  position: absolute;
  top: 4%;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  cursor: pointer;
}

.hero__pick-name {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(8, 5, 12, 0.82);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

/* Keyboard only. A mouse user already knows where the pointer is, but someone tabbing
   through has nothing to go on unless the target says which woman it is on. */
.hero__pick:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: -2px;
}

.hero__pick:focus-visible .hero__pick-name {
  opacity: 1;
  transform: none;
}

.hero p {
  max-width: 78ch;
  color: var(--text-2);
  font-size: 0.98rem;
}

/* Buttons and numbers share one row: two half-filled rows are what made this band
   feel empty at desktop widths. */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* One slim line of reassurance instead of a bordered four-column stat block: the
   numbers were costing more hero height than they were worth. */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  font-size: 0.78rem;
  color: var(--text-3);
}

.hero__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.hero__stat b {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__stat span {
  font-size: 0.78rem;
  color: var(--text-3);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.filters {
  margin-bottom: 22px;
}

/* Four per row: the girls are the product, so they get as much width as possible. */
.grid-girls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 120, 0.55);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.6), 0 0 34px rgba(255, 45, 120, 0.22);
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-3);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__shade {
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 5, 9, 0.92));
  pointer-events: none;
}

.card__rail {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  gap: 8px;
  opacity: 0;
  translate: 8px 0;
  transition: opacity 0.24s var(--ease), translate 0.24s var(--ease);
}

.card:hover .card__rail,
.card:focus-within .card__rail {
  opacity: 1;
  translate: 0 0;
}

.card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(8, 7, 11, 0.66);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--text-2);
}

.card__flag--soon {
  border-color: rgba(255, 45, 120, 0.45);
  color: var(--text);
}

/* Announced characters: artwork and copy only, nothing to chat with yet. */
.card--soon .card__media img {
  filter: grayscale(0.5) brightness(0.7);
}

.card--soon:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.card--soon:hover .card__media img {
  transform: none;
}

.card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 15px 15px;
}

.card__name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
}

.card__age {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-2);
}

.card__name .dot-online {
  margin-left: 2px;
  align-self: center;
}

.card__desc {
  margin-top: 5px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
}

.card__likes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--text-3);
}

.card__likes svg {
  width: 14px;
  height: 14px;
}

.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--text-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}

/* ==========================================================================
   Feed
   ========================================================================== */

.feed {
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

.feed__slide {
  position: relative;
  height: calc(100vh - var(--topbar-h));
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
  padding: 12px 0 16px;
  /* The ambient layer bleeds past the slide edges; without this it would grow the
     scroller and knock the snap points out of alignment. */
  overflow: hidden;
}

/* Her own photo, blown up and blurred, so the space beside the clip glows in her
   colours instead of sitting there as flat black. */
.feed__ambient {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: blur(64px) saturate(150%) brightness(0.5);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.feed__slide.is-active .feed__ambient {
  opacity: 0.75;
}

.feed__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

/* 2/3 is the native ratio of both the clips and the portraits, so the frame is shown
   whole instead of being cropped down to a narrow 9/16 strip. */
.feed__card {
  position: relative;
  height: min(calc(100vh - var(--topbar-h) - 32px), 1040px);
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 45, 120, 0.12);
}

.feed__media {
  position: absolute;
  inset: 0;
}

.feed__media img,
.feed__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes kenburns {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.16) translate3d(-2%, -2.5%, 0);
  }
  100% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
}

.feed__slide.is-active .feed__media img {
  animation: kenburns 20s ease-in-out infinite;
}

.feed__gradient {
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 8, 0.9) 78%);
  pointer-events: none;
}

.feed__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
}

.feed__overlay {
  position: absolute;
  inset: auto 14px 16px 14px;
  display: grid;
  gap: 10px;
}

.feed__who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.7);
  flex: none;
}

.feed__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.feed__caption {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed__rail {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding-bottom: 22px;
}

.feed__rail-item {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-2);
}

.feed__rail-item .icon-btn {
  width: 48px;
  height: 48px;
}

.feed__rail-item .icon-btn svg {
  width: 22px;
  height: 22px;
}

/* Top right, not bottom centre: the card now runs nearly the full height, so a
   bottom hint would cover her name and the chat button, and a centred one would
   cover the badges. */
.feed__hint {
  position: fixed;
  right: 24px;
  top: calc(var(--topbar-h) + 14px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(8, 7, 11, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--text-2);
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-5px);
  }
}

.feed__hint.is-hidden {
  display: none;
}

/* ==========================================================================
   Chat
   ========================================================================== */

.chat {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr) 336px;
  height: calc(100vh - var(--topbar-h));
  min-height: 0;
}

.chat__col {
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.chat__col:last-child {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.chat__col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 12px;
}

.chat__col-head h2 {
  font-size: 1.15rem;
}

.chat__search {
  position: relative;
  padding: 0 16px 12px;
}

.chat__search svg {
  position: absolute;
  left: 28px;
  top: 11px;
  width: 16px;
  height: 16px;
  color: var(--text-3);
}

.chat__search input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

.chat__search input:focus {
  outline: none;
  border-color: rgba(255, 45, 120, 0.5);
}

.chat__list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px 16px;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px;
  border-radius: var(--r-md);
  text-align: left;
  transition: background 0.18s var(--ease);
}

.chat-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.chat-item.is-active {
  background: rgba(255, 45, 120, 0.14);
}

.chat-item__avatar {
  position: relative;
  flex: none;
}

.chat-item__avatar img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-item__avatar .dot-online {
  position: absolute;
  right: 0;
  bottom: 1px;
  border: 2px solid var(--bg-1);
  width: 12px;
  height: 12px;
}

.chat-item__body {
  display: block;
  min-width: 0;
  flex: 1;
}

.chat-item__top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.chat-item__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-item__time {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-3);
  white-space: nowrap;
}

.chat-item__preview {
  display: block;
  font-size: 0.8rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* She wrote and the chat has not been opened since. */
.chat-item.is-unread .chat-item__name {
  font-weight: 600;
}

.chat-item.is-unread .chat-item__preview {
  color: var(--text);
}

/* Accented so a glance down the list finds who is answering, the way the unread rows read. */
.chat-item__typing {
  color: var(--pink-soft);
  font-style: italic;
}

.chat-item.is-unread .chat-item__avatar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--bg-1);
}

/* --- thread --- */

.thread {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.thread__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.thread__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(38px) saturate(130%) brightness(0.5);
  transform: scale(1.15);
}

body.chat-immersive .thread__backdrop {
  opacity: 1;
}

.thread__head,
.thread__scroll,
.thread__composer {
  position: relative;
  z-index: 1;
}

.thread__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 9, 13, 0.7);
  backdrop-filter: blur(12px);
}

.thread__head img.thread__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.thread__who {
  min-width: 0;
}

.thread__who h2 {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.thread__who span {
  font-size: 0.76rem;
  color: var(--text-3);
}

.thread__tools {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.thread__back {
  display: none;
}

.thread__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 22px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thread__day {
  align-self: center;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: var(--text-3);
}

.msg {
  max-width: min(72%, 560px);
  display: grid;
  gap: 5px;
}

.msg--her {
  align-self: flex-start;
}

.msg--me {
  align-self: flex-end;
  justify-items: end;
}

.msg__bubble {
  padding: 11px 15px;
  border-radius: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-bottom-left-radius: 7px;
}

.msg--me .msg__bubble {
  background: var(--accent-grad);
  border-color: transparent;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 7px;
  color: #fff;
}

.msg__meta {
  font-size: 0.68rem;
  color: var(--text-3);
  padding: 0 6px;
}

.msg__image {
  position: relative;
  width: min(260px, 62vw);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
}

.msg__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.msg__image-note {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 8, 0.9));
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.86);
}

/* Photo she sent that the current package does not cover yet. */
.msg__image--locked {
  display: block;
  padding: 0;
}

/* The teaser sits on top of her ordinary profile picture, so it has to blur hard
   enough that nobody can tell which photo is underneath — only that something is
   there. The scale hides the transparent fringe the blur pulls in at the edges. */
.msg__image--locked img {
  filter: blur(42px) saturate(160%) brightness(0.55) contrast(0.86);
  transform: scale(1.5);
}

/* A second, warmer veil over the blur: keeps the tile inviting instead of grey mush
   and kills the last recognisable shapes. */
.msg__image--locked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(255, 45, 120, 0.32), transparent 64%),
    linear-gradient(155deg, rgba(193, 59, 255, 0.26), rgba(5, 4, 8, 0.44) 66%),
    rgba(5, 4, 8, 0.3);
}

/* Unlocked, pixels still on their way. */
.msg__image--pending {
  cursor: default;
}

.msg__image--pending .msg__lock {
  animation: pending-pulse 1.8s var(--ease) infinite;
}

@keyframes pending-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.62;
  }
}

.msg__lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(5, 4, 8, 0.24);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  font-size: 0.84rem;
  font-weight: 500;
  color: #fff;
}

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 14px 17px;
  border-radius: 20px;
  border-bottom-left-radius: 7px;
  background: var(--bg-3);
  border: 1px solid var(--line);
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  animation: blink 1.25s infinite ease-in-out;
}

.typing i:nth-child(2) {
  animation-delay: 0.16s;
}

.typing i:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.thread__composer {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(10, 9, 13, 0.78);
  backdrop-filter: blur(12px);
}

.composer__scenes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.76rem;
  color: var(--text-3);
}

.composer__box {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.18s var(--ease);
}

.composer__box:focus-within {
  border-color: rgba(255, 45, 120, 0.55);
}

.composer__box textarea {
  flex: 1;
  min-height: 26px;
  max-height: 140px;
  padding: 6px 0;
  border: 0;
  background: none;
  resize: none;
  font-size: 0.93rem;
  line-height: 1.5;
}

.composer__box textarea:focus {
  outline: none;
}

.composer__send {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.composer__send:hover {
  transform: scale(1.06);
}

.composer__send:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: not-allowed;
}

.composer__hint {
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--text-3);
  text-align: center;
}

/* --- profile column --- */

.profile {
  flex: 1;
  overflow-y: auto;
}

.profile__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-3);
}

.profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.profile__count {
  position: absolute;
  bottom: 10px;
  left: 50%;
  translate: -50% 0;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  background: rgba(8, 7, 11, 0.7);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  color: var(--text-2);
}

.profile__body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.profile__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
}

.profile__bio {
  font-size: 0.86rem;
  color: var(--text-2);
}

.profile__facts {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
}

.profile__fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-2);
}

.profile__fact b {
  color: var(--text);
  font-weight: 500;
}

.profile__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.profile__thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

/* --- immersive mode --- */

body.chat-immersive .chat {
  grid-template-columns: minmax(0, 1fr);
  height: 100vh;
}

body.chat-immersive .chat__col:not(.thread) {
  display: none;
}

body.chat-immersive .thread {
  background: transparent;
}

body.chat-immersive .thread__scroll {
  width: min(760px, 100%);
  margin: 0 auto;
  padding-top: 30px;
}

body.chat-immersive .thread__composer {
  background: transparent;
  border-top: 0;
}

body.chat-immersive .thread__composer > * {
  width: min(760px, 100%);
  margin: 0 auto;
}

body.chat-immersive .thread__head {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px 0 10px;
  background: transparent;
  border-bottom: 0;
}

body.chat-immersive .msg__bubble {
  backdrop-filter: blur(10px);
  background: rgba(28, 26, 37, 0.72);
  font-size: 0.98rem;
}

body.chat-immersive .msg--me .msg__bubble {
  background: linear-gradient(135deg, rgba(255, 45, 120, 0.92), rgba(193, 59, 255, 0.92));
}

/* ==========================================================================
   Bilder
   ========================================================================== */

.gallery {
  columns: 5;
  column-gap: 16px;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-align: left;
  cursor: zoom-in;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}

.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 120, 0.4);
}

.shot img {
  width: 100%;
  display: block;
}

/* Same rule as the chat teaser: her profile picture stands in for a photo that does
   not exist yet, so it must not stay recognisable behind the lock. */
.shot--locked img {
  filter: blur(38px) saturate(160%) brightness(0.55) contrast(0.86);
  transform: scale(1.5);
}

.shot--locked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(255, 45, 120, 0.3), transparent 64%),
    linear-gradient(155deg, rgba(193, 59, 255, 0.24), rgba(5, 4, 8, 0.44) 66%),
    rgba(5, 4, 8, 0.28);
}

.shot--locked {
  cursor: pointer;
}

.shot__lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  font-size: 0.78rem;
  color: var(--text-2);
}

.shot__meta {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 2px;
  padding: 26px 12px 11px;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 8, 0.92));
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.shot:focus-visible .shot__meta {
  opacity: 1;
}

.shot:hover .shot__meta {
  opacity: 1;
}

.shot__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
}

.shot__when {
  font-size: 0.72rem;
  color: var(--text-3);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(4, 3, 6, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  position: relative;
  width: min(420px, 92vw, 55vh);
}

.lightbox__figure img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
}

.lightbox__cap {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-2);
}

.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
}

/* ==========================================================================
   Rechtstexte
   ========================================================================== */

.prose {
  max-width: 74ch;
}

.prose h2 {
  margin: 30px 0 10px;
  font-size: 1.2rem;
}

.prose h2:first-of-type {
  margin-top: 20px;
}

.prose p,
.prose li {
  color: var(--text-2);
  font-size: 0.94rem;
}

.prose p + p {
  margin-top: 10px;
}

.prose ul {
  margin: 10px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.prose address {
  font-style: normal;
  color: var(--text-2);
}

.prose .notice {
  margin-top: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
  .chat {
    grid-template-columns: 268px minmax(0, 1fr) 300px;
  }

  .gallery {
    columns: 4;
  }
}

@media (max-width: 1080px) {
  .chat {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .chat__col--profile {
    display: none;
  }

  .gallery {
    columns: 3;
  }

  /* Four columns would squeeze the faces once the viewport gets this narrow. */
  .grid-girls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  /* No room for the copy and the photo side by side, so the photo stacks underneath
     instead of disappearing — on a phone it is the first real content on screen. */
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* Stacked under the copy there is no spare padding to reach into. */
  .hero__scene {
    margin-block: 0;
  }
}

@media (max-width: 860px) {
  /* Restated because the wide Startseite override outranks the shared .page rule. */
  body[data-page="home"] .page {
    padding: 22px 14px 40px;
  }

  .hero {
    padding: 18px 16px;
    gap: 16px;
  }

  .hero h1 {
    font-size: 1.35rem;
  }

  .hero p {
    font-size: 0.92rem;
  }

  /* On a phone the four reassurance numbers cost about as much height as a whole
     row of cards, so the roster gets the space instead. */
  .hero__stats {
    display: none;
  }

  /* Two equal columns rather than flex-wrap: at this width the long labels would
     wrap onto separate rows and cost a card row's worth of height. */
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .hero__actions .btn {
    justify-content: center;
    padding-inline: 12px;
    text-align: center;
  }

  .grid-girls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card__rail {
    opacity: 1;
    translate: 0 0;
  }

  .gallery {
    columns: 2;
    column-gap: 10px;
  }

  .shot {
    margin-bottom: 10px;
  }

  .shot__meta {
    opacity: 1;
  }

  .feed,
  .feed__slide {
    height: calc(100vh - var(--topbar-h) - 76px);
  }

  /* Edge to edge on a phone: no padding to letterbox the clip. */
  .feed__slide {
    padding: 0;
  }

  .feed__card {
    height: 100%;
    width: 100%;
    max-width: 100vw;
    border-radius: 0;
    border: 0;
    aspect-ratio: auto;
    box-shadow: none;
  }

  .feed__stage {
    width: 100%;
    height: 100%;
    gap: 0;
  }

  .feed__rail {
    position: absolute;
    right: 8px;
    bottom: 108px;
    z-index: 3;
    padding: 0;
  }

  .feed__overlay {
    inset: auto 76px 18px 14px;
  }

  .feed__hint {
    display: none;
  }

  .chat {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .chat__col--list {
    display: none;
  }

  body.mobile-chat-list .chat__col--list {
    display: flex;
    border-right: 0;
  }

  body.mobile-chat-list .thread {
    display: none;
  }

  .thread {
    height: calc(100vh - var(--topbar-h) - 76px);
  }

  .thread__back {
    display: grid;
  }

  .thread__scroll {
    padding: 16px 14px 8px;
  }

  .msg {
    max-width: 86%;
  }
}

@media (max-width: 520px) {
  .gallery {
    columns: 2;
  }
}
