:root {
  --rose-primary: #c2185b;
  --rose-secondary: #d67280;
  --bordeaux: #5c2430;
  --bordeaux-medium: #6e3a40;
  --bordeaux-dark: #3d2226;
  --cream: #fce4ec;
  --rose-pale: #fce4ec;
  --rose-light: #f8e8ea;
  --text-primary: #2d1f22;
  --text-secondary: #6b5a5e;
  --text-muted: #9b8a8e;
  --white: #ffffff;
  --hover-primary: #a0144c;
  --rose-dark: #a84358;
  --rose-deep: #6f2a3c;
  --vip: #d4a017;
  --success: #4caf50;
  --error: #e53935;
  --warning: #ff9800;
  --info: #2196f3;
  --radius-card: 16px;
  --radius-card-lg: 24px;
  --radius-pill: 9999px;
  --header-h: 4.5rem;
  --nav-h: 5.5rem;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-brand: "Allura", "Great Vibes", cursive;
  --shadow-sm: 0 1px 2px rgba(45, 31, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(45, 31, 34, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-solid: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-blur: blur(18px) saturate(1.15);
  --glass-blur-light: blur(10px) saturate(1.08);
  --glass-shadow: 0 8px 22px rgba(45, 31, 34, 0.06);
  --max-w: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.2s,
    color 0.2s;
  min-height: 44px;
}
.btn-primary {
  background: var(--rose-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--hover-primary);
}
.btn-outline {
  background: transparent;
  color: var(--bordeaux);
  border: 1.5px solid var(--bordeaux);
}
.btn-outline:hover {
  background: var(--rose-pale);
}
.btn-ghost {
  background: transparent;
  color: var(--rose-primary);
}
.btn-ghost:hover {
  background: var(--rose-pale);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}
.btn-block {
  width: 100%;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.4rem 1.1rem 0.4rem 0.85rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--rose-secondary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(45, 31, 34, 0.08);
  cursor: pointer;
  white-space: nowrap;
}

.btn-back:hover {
  color: var(--rose-primary);
  background: var(--white);
}

.btn-back svg {
  flex-shrink: 0;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}
.card-lg {
  border-radius: var(--radius-card-lg);
  padding: 1.75rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-premium {
  background: var(--bordeaux);
  color: var(--white);
}
.badge-verified {
  background: rgba(255, 255, 255, 0.9);
  color: var(--rose-primary);
}
.badge-vip {
  background: var(--vip);
  color: var(--white);
}

.tl-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
}

.tl-mark--cert {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--info);
}

.tl-mark--cert svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tl-mark--vip,
.tl-mark--premium {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.tl-mark--vip {
  background: var(--vip);
}

.tl-mark--premium {
  background: var(--info);
}

.tl-name-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
}

.tl-name-line > a,
.tl-name-line > strong,
.tl-name-line > .tl-name-text,
.tl-name-line > .visit__name-main {
  min-width: 0;
}

.tl-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visit__name .tl-name-line {
  flex: 1 1 auto;
  align-items: flex-start;
}

.explorer__meta h2 .tl-name-line {
  min-width: 0;
}

.explorer__meta h2 .tl-name-line > a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explorer__slide.is-vip .explorer__media {
  border-color: var(--vip);
  box-shadow:
    0 0 0 2px var(--vip),
    var(--glass-shadow);
}

.explorer__photos.is-vip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--vip);
}

.explorer__go-profile-avatar.is-vip {
  border-color: var(--vip);
  box-shadow:
    0 0 0 2px var(--vip),
    0 6px 16px rgba(45, 31, 34, 0.2);
}

.history__card.is-vip {
  box-shadow:
    0 0 0 2px var(--vip),
    0 8px 20px rgba(45, 31, 34, 0.1);
}

.likes__card.is-vip {
  box-shadow:
    0 0 0 2px var(--vip),
    var(--glass-shadow);
}

.likes__story.is-vip .likes__story-ring {
  border-color: var(--vip);
}

.visit__ig.is-vip {
  border-color: var(--vip);
  box-shadow:
    0 0 0 1px var(--vip),
    var(--glass-shadow);
}

.visit__ig.is-vip .visit__photo-stage {
  background: var(--vip) !important;
}

.msg-list__avatar.is-vip {
  border-color: var(--vip);
}

.msg-list__avatar.is-premium {
  border-color: var(--info);
}

.section {
  padding: 4rem 0;
}

.home-hero {
  background-color: var(--cream);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("../images/hero-section.6e4adeebc0c8.jpg");
  background-image: image-set(
    url("../images/hero-section.b2096d84cb4a.webp") type("image/webp"),
    url("../images/hero-section.6e4adeebc0c8.jpg") type("image/jpeg")
  );
}

.section-dark {
  background: var(--bordeaux);
  color: var(--rose-light);
}
.section-dark p {
  color: rgba(245, 230, 232, 0.7);
}
.section-darker {
  background: var(--bordeaux-dark);
  color: var(--rose-light);
}
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--rose-secondary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-label::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--rose-secondary);
}

.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rose-secondary);
  margin-bottom: 0.4rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(45, 31, 34, 0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--text-primary);
  min-height: 44px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.25);
}
.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.35rem;
}
.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.alert-success {
  background: #e8f5e9;
  color: #1b5e20;
}
.alert-error {
  background: #ffebee;
  color: #b71c1c;
}
.alert-info {
  background: var(--rose-pale);
  color: var(--bordeaux);
}

/* Navbar public */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 5rem;
  display: flex;
  align-items: center;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}
.brand {
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
}
.brand .brand-accent {
  color: var(--rose-primary);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.brand-mark > img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex-shrink: 0;
}
.welcome__title.brand-mark > img,
.commencer__brand.brand-mark > img {
  width: 2.75rem;
  height: 2.75rem;
}
.explorer__logo.brand-mark > img,
.brand-script.brand-mark > img {
  width: 2.15rem;
  height: 2.15rem;
}
.explorer__veil-title.brand-mark > img {
  width: 1.55rem;
  height: 1.55rem;
}
.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
}
.nav-links a {
  color: rgba(45, 31, 34, 0.8);
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--rose-primary);
}
.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.footer {
  background: var(--bordeaux-dark);
  color: var(--rose-light);
  padding: 3.5rem 0 2rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.6);
}
.footer a:hover {
  color: var(--rose-primary);
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
.footer-copy {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Pages légales */
.legal-page__inner {
  max-width: 48rem;
}
.legal-page h1 {
  font-family: var(--font-serif, "Playfair Display", serif);
  color: var(--bordeaux-dark);
  margin-bottom: 0.5rem;
}
.legal-page__updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.legal-toc {
  background: var(--rose-pale);
  border: 1px solid var(--rose-light);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 2rem;
}
.legal-toc strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--bordeaux-dark);
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}
.legal-toc li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}
.legal-toc a {
  color: var(--rose-primary);
  text-decoration: none;
}
.legal-toc a:hover {
  text-decoration: underline;
}
.legal-section {
  margin: 2rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rose-light);
}
.legal-section:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal-section h2 {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--bordeaux-dark);
  margin-bottom: 0.85rem;
}
.legal-subsection {
  margin-top: 1.25rem;
}
.legal-subsection h3 {
  font-size: 1.05rem;
  color: var(--bordeaux-medium);
  margin-bottom: 0.55rem;
}
.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
}
.legal-note {
  background: var(--cream);
  border-left: 4px solid var(--rose-primary);
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--rose-light);
  border-radius: 12px;
  background: var(--blanc, #fff);
}
.legal-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 28rem;
}
.legal-table-wrap th,
.legal-table-wrap td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rose-light);
  color: var(--text-secondary);
}
.legal-table-wrap th {
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  font-weight: 600;
}
.legal-table-wrap tr:last-child td {
  border-bottom: none;
}
.legal-cross {
  margin-top: 2.5rem;
  padding: 1.1rem 1.2rem;
  background: var(--rose-pale);
  border-radius: 16px;
}
.legal-cross strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--bordeaux-dark);
}
.legal-cross a {
  color: var(--rose-primary);
}

/* App shell */
.app-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--cream);
}
.app-sidebar {
  display: none;
}
.app-main {
  min-width: 0;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0.75rem 1rem;
  padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.app-content {
  padding: 1rem;
}
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-top: 1px solid rgba(45, 31, 34, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: var(--nav-h);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.5rem 0.25rem;
  min-height: 44px;
}
.bottom-nav a.active {
  color: var(--rose-primary);
  font-weight: 600;
}
.bottom-nav .primary-slot {
  transform: translateY(-0.6rem);
}
.bottom-nav .primary-slot span.icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--rose-primary);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.nav-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.35rem;
  background: var(--rose-primary);
  color: white;
  font-size: 0.65rem;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 0.2rem;
}

/* Discover card */
.discover-card {
  background: var(--white);
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 28rem;
  margin: 0 auto;
}
.discover-photo {
  aspect-ratio: 3/4;
  background: var(--rose-pale);
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.discover-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}
.action-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.action-pass {
  background: var(--white);
  color: var(--text-secondary);
}
.action-like {
  background: var(--rose-primary);
  color: white;
}
.action-super {
  background: var(--vip);
  color: white;
}

/* Chat */
.chat-list,
.match-list,
.like-list {
  display: grid;
  gap: 0.75rem;
}
.chat-item,
.match-item,
.like-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
}
.avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--rose-pale);
  flex-shrink: 0;
}
.chat-thread {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-h) - 4rem);
}
.messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}
.bubble {
  max-width: 80%;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  font-size: 0.95rem;
}
.bubble-mine {
  align-self: flex-end;
  background: var(--rose-primary);
  color: white;
}
.bubble-theirs {
  align-self: flex-start;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.composer {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(45, 31, 34, 0.08);
}

/* Admin */
.admin-shell {
  display: grid;
  min-height: 100dvh;
}
.admin-sidebar {
  display: none;
  background: var(--bordeaux-dark);
  color: var(--rose-light);
  padding: 1.5rem 1rem;
}
.admin-sidebar a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(232, 99, 122, 0.2);
  color: white;
}
.admin-main {
  padding: 1rem;
}
.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.stat-card strong {
  display: block;
  font-size: 1.75rem;
  font-family: var(--font-serif);
}

/* Auth */
.auth-split {
  min-height: 100dvh;
  display: grid;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}
.auth-card {
  width: min(100%, 26rem);
  background: var(--white);
  border-radius: var(--radius-card-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.auth-card__back {
  margin-bottom: 1.1rem;
}
.auth-aside {
  display: none;
  background: var(--bordeaux) center/cover no-repeat;
  color: white;
  padding: 3rem;
}
.grid-2 {
  display: grid;
  gap: 1rem;
}
.grid-3 {
  display: grid;
  gap: 1rem;
}
.grid-4 {
  display: grid;
  gap: 1rem;
}
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .auth-split {
    grid-template-columns: 1fr 1fr;
  }
  .auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}
@media (min-width: 1024px) {
  .app-shell {
    grid-template-columns: 16rem 1fr;
  }
  .app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-right: 1px solid rgba(45, 31, 34, 0.08);
    position: sticky;
    top: 0;
    height: 100dvh;
  }
  .app-sidebar a {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-secondary);
  }
  .app-sidebar a.active,
  .app-sidebar a:hover {
    background: var(--rose-pale);
    color: var(--rose-primary);
  }
  .bottom-nav {
    display: none;
  }
  .app-main {
    padding-bottom: 0;
  }
  .admin-shell {
    grid-template-columns: 16rem 1fr;
  }
  .admin-sidebar {
    display: block;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .section {
    padding: 5.5rem 0;
  }
}

/* ?? Page d'accueil splash (entr?e site) ?? */
body.welcome-page {
  background: var(--rose-primary);
  color: var(--white);
  overflow-x: hidden;
  position: relative;
}

.welcome__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--welcome-bg-fallback, none) center center / cover no-repeat;
  background: var(--welcome-bg-image, var(--welcome-bg-fallback, none)) center center / cover no-repeat;
  pointer-events: none;
}

.welcome__frost {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(232, 99, 122, 0.82) 0%,
    rgba(232, 99, 122, 0.58) 28%,
    rgba(232, 99, 122, 0.28) 58%,
    rgba(232, 99, 122, 0.06) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Effervescence de c?urs (bas ? haut, c?t?s) */
.welcome-hearts {
  display: none;
}

.welcome-heart {
  position: absolute;
  bottom: -2rem;
  line-height: 1;
  user-select: none;
  will-change: transform, opacity;
  animation-name: welcome-heart-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.welcome-heart--l1 {
  left: 3%;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  animation-duration: 7.2s;
  animation-delay: 0s;
}
.welcome-heart--l2 {
  left: 8%;
  font-size: 0.85rem;
  color: rgba(255, 240, 243, 0.7);
  animation-duration: 8.4s;
  animation-delay: -1.6s;
}
.welcome-heart--l3 {
  left: 1.5%;
  font-size: 1.9rem;
  color: rgba(255, 255, 255, 0.55);
  animation-duration: 9.1s;
  animation-delay: -3.2s;
}
.welcome-heart--l4 {
  left: 11%;
  font-size: 1.1rem;
  color: rgba(253, 245, 240, 0.75);
  animation-duration: 6.6s;
  animation-delay: -4.5s;
}
.welcome-heart--l5 {
  left: 5%;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  animation-duration: 10.2s;
  animation-delay: -2.1s;
}
.welcome-heart--l6 {
  left: 14%;
  font-size: 1.55rem;
  color: rgba(255, 240, 243, 0.5);
  animation-duration: 7.8s;
  animation-delay: -5.4s;
}

.welcome-heart--r1 {
  right: 3%;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  animation-duration: 7.5s;
  animation-delay: -0.8s;
}
.welcome-heart--r2 {
  right: 9%;
  font-size: 0.95rem;
  color: rgba(255, 240, 243, 0.68);
  animation-duration: 8.8s;
  animation-delay: -2.4s;
}
.welcome-heart--r3 {
  right: 1.5%;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.48);
  animation-duration: 9.6s;
  animation-delay: -4.1s;
}
.welcome-heart--r4 {
  right: 12%;
  font-size: 1.05rem;
  color: rgba(253, 245, 240, 0.72);
  animation-duration: 6.9s;
  animation-delay: -1.2s;
}
.welcome-heart--r5 {
  right: 6%;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  animation-duration: 10.5s;
  animation-delay: -3.6s;
}
.welcome-heart--r6 {
  right: 15%;
  font-size: 1.4rem;
  color: rgba(255, 240, 243, 0.52);
  animation-duration: 8.1s;
  animation-delay: -5.8s;
}

@keyframes welcome-heart-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.75) rotate(-8deg);
    opacity: 0;
  }
  8% {
    opacity: 0.85;
  }
  50% {
    transform: translate3d(0.6rem, -50vh, 0) scale(1) rotate(6deg);
    opacity: 0.75;
  }
  85% {
    opacity: 0.35;
  }
  100% {
    transform: translate3d(-0.4rem, -105vh, 0) scale(1.15) rotate(-4deg);
    opacity: 0;
  }
}

.welcome {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  max-width: 28rem;
  margin-inline: auto;
  justify-content: space-between;
}

.welcome__top {
  flex-shrink: 0;
  padding: clamp(1.5rem, 4vh, 2.5rem) 1.25rem 0;
  text-align: center;
}

.welcome__brand {
  animation: welcome-fade-up 0.7s ease both;
}

.welcome__logo {
  width: clamp(2.75rem, 10vw, 3.5rem);
  height: auto;
  color: var(--white);
  margin: 0 auto 0.65rem;
  filter: drop-shadow(0 2px 8px rgba(45, 31, 34, 0.2));
}

.welcome__title {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 4.2rem);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(45, 31, 34, 0.25);
}

.welcome__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.85rem auto 0;
  width: min(100%, 14rem);
}

.welcome__divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
}

.welcome__divider-heart {
  width: 0.85rem;
  height: auto;
  color: var(--white);
  flex-shrink: 0;
}

.welcome__tagline {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(45, 31, 34, 0.2);
  animation: welcome-fade-up 0.7s ease 0.12s both;
}

.welcome__tagline strong {
  font-weight: 700;
}

.welcome__actions {
  padding: 0 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  background: transparent;
  animation: welcome-fade-up 0.7s ease 0.2s both;
}

.welcome__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: min(100%, 22rem);
  margin-bottom: 1rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--rose-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 22px rgba(45, 31, 34, 0.22);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
  animation: welcome-heartbeat 1.55s ease-in-out infinite;
  transform-origin: center center;
}

.welcome__login {
  display: inline-flex;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.welcome__cta:hover {
  background: var(--hover-primary);
  box-shadow: 0 10px 26px rgba(45, 31, 34, 0.28);
}

.welcome__cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.welcome__cta-icon {
  width: 1.15rem;
  height: auto;
  animation: welcome-heartbeat-icon 1.55s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes welcome-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.045);
  }
  24% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.07);
  }
  55% {
    transform: scale(1);
  }
}

@keyframes welcome-heartbeat-icon {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.12);
  }
  24% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.2);
  }
  55% {
    transform: scale(1);
  }
}

.welcome__login {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.welcome__login a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.welcome__login a:hover {
  color: var(--rose-pale);
}

@keyframes welcome-fade-up {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .welcome {
    max-width: 38rem;
  }

  .welcome__top {
    padding-top: clamp(2.5rem, 6vh, 4rem);
  }

  .welcome__logo {
    width: 4.4rem;
    margin-bottom: 0.85rem;
  }

  .welcome__title {
    font-size: 5.6rem;
  }

  .welcome__title.brand-mark > img {
    width: 3.6rem;
    height: 3.6rem;
  }

  .welcome__divider {
    width: min(100%, 20rem);
    margin-top: 1.1rem;
    gap: 0.85rem;
  }

  .welcome__divider-heart {
    width: 1.1rem;
  }

  .welcome__tagline {
    margin-top: 1.7rem;
    font-size: 1.42rem;
  }

  .welcome__cta {
    width: min(100%, 26rem);
    padding: 1.12rem 1.8rem;
    font-size: 1.22rem;
    gap: 0.7rem;
  }

  .welcome__cta-icon {
    width: 1.4rem;
  }

  .welcome__login {
    font-size: 1.08rem;
  }

  .welcome__bg {
    background-position: 68% center;
  }

  .welcome-heart--l1 {
    left: 4%;
    font-size: 2.25rem;
  }
  .welcome-heart--l2 {
    left: 10%;
    font-size: 1.45rem;
  }
  .welcome-heart--l3 {
    left: 1.8%;
    font-size: 3.15rem;
  }
  .welcome-heart--l4 {
    left: 14%;
    font-size: 1.85rem;
  }
  .welcome-heart--l5 {
    left: 7%;
    font-size: 1.2rem;
  }
  .welcome-heart--l6 {
    left: 17%;
    font-size: 2.55rem;
  }

  .welcome-heart--r1 {
    right: 4%;
    font-size: 2.4rem;
  }
  .welcome-heart--r2 {
    right: 11%;
    font-size: 1.55rem;
  }
  .welcome-heart--r3 {
    right: 1.8%;
    font-size: 3.3rem;
  }
  .welcome-heart--r4 {
    right: 15%;
    font-size: 1.75rem;
  }
  .welcome-heart--r5 {
    right: 7.5%;
    font-size: 1.25rem;
  }
  .welcome-heart--r6 {
    right: 18%;
    font-size: 2.35rem;
  }
}

@media (min-width: 1024px) {
  .welcome {
    max-width: 44rem;
  }

  .welcome__top {
    padding-top: clamp(3rem, 8vh, 5rem);
  }

  .welcome__logo {
    width: 5.25rem;
    margin-bottom: 1rem;
  }

  .welcome__title {
    font-size: 7rem;
  }

  .welcome__title.brand-mark > img {
    width: 4.4rem;
    height: 4.4rem;
  }

  .welcome__divider {
    width: min(100%, 24rem);
    margin-top: 1.25rem;
  }

  .welcome__divider-heart {
    width: 1.25rem;
  }

  .welcome__tagline {
    margin-top: 1.9rem;
    font-size: 1.62rem;
    line-height: 1.5;
  }

  .welcome__actions {
    padding-bottom: calc(2.6rem + env(safe-area-inset-bottom, 0px));
  }

  .welcome__cta {
    width: min(100%, 30rem);
    padding: 1.25rem 2rem;
    font-size: 1.32rem;
  }

  .welcome__cta-icon {
    width: 1.55rem;
  }

  .welcome__login {
    font-size: 1.15rem;
  }

  .welcome__bg {
    background-position: 62% center;
  }

  .welcome-heart--l1 {
    left: 5%;
    font-size: 2.7rem;
  }
  .welcome-heart--l2 {
    left: 11%;
    font-size: 1.75rem;
  }
  .welcome-heart--l3 {
    left: 2.2%;
    font-size: 3.85rem;
  }
  .welcome-heart--l4 {
    left: 16%;
    font-size: 2.2rem;
  }
  .welcome-heart--l5 {
    left: 8%;
    font-size: 1.45rem;
  }
  .welcome-heart--l6 {
    left: 20%;
    font-size: 3.1rem;
  }

  .welcome-heart--r1 {
    right: 5%;
    font-size: 2.85rem;
  }
  .welcome-heart--r2 {
    right: 12%;
    font-size: 1.85rem;
  }
  .welcome-heart--r3 {
    right: 2.2%;
    font-size: 4rem;
  }
  .welcome-heart--r4 {
    right: 16.5%;
    font-size: 2.15rem;
  }
  .welcome-heart--r5 {
    right: 8.5%;
    font-size: 1.5rem;
  }
  .welcome-heart--r6 {
    right: 21%;
    font-size: 2.85rem;
  }
}

@media (min-width: 1280px) {
  .welcome {
    max-width: 48rem;
  }

  .welcome__title {
    font-size: 7.75rem;
  }

  .welcome__tagline {
    font-size: 1.72rem;
  }

  .welcome-heart--l3 {
    font-size: 4.4rem;
  }
  .welcome-heart--r3 {
    font-size: 4.6rem;
  }
  .welcome-heart--l6 {
    left: 22%;
    font-size: 3.5rem;
  }
  .welcome-heart--r6 {
    right: 23%;
    font-size: 3.25rem;
  }
}

@media (max-width: 640px) {
  .welcome-heart--l4,
  .welcome-heart--l6,
  .welcome-heart--r4,
  .welcome-heart--r6 {
    display: none;
  }

  .welcome-heart--l1,
  .welcome-heart--l2,
  .welcome-heart--l3 {
    left: 1.5%;
  }

  .welcome-heart--r1,
  .welcome-heart--r2,
  .welcome-heart--r3 {
    right: 1.5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome__brand,
  .welcome__tagline,
  .welcome__actions,
  .welcome__cta,
  .welcome__cta-icon,
  .welcome-heart {
    animation: none !important;
  }
}

/* ?? Page Commencer (apr?s splash) ?? */
body.commencer-page {
  background: var(--rose-primary);
  color: var(--white);
  overflow-x: hidden;
}

.commencer__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--commencer-bg-image, none) center 18% / cover no-repeat;
  transform: scale(1.04);
  filter: blur(1.5px);
  animation: commencer-bg-in 1.4s ease both;
  pointer-events: none;
}

.commencer__frost {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(232, 99, 122, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
}

.commencer {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 36rem);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vh, 3rem) 0
    calc(8.75rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.commencer__hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.5rem;
}

.commencer__bubble {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border-radius: 1.35rem;
  padding: 0.7rem 0.95rem 0.65rem;
  box-shadow: 0 10px 24px rgba(45, 31, 34, 0.16);
  pointer-events: none;
}

.commencer__bubble--couples {
  left: 0;
  top: 8%;
}

.commencer__bubble--rating {
  right: 0;
  top: 58%;
}

.commencer__bubble-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.commencer__bubble-stat {
  margin: 0.2rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--rose-primary);
  line-height: 1;
}

.commencer__bubble-heart {
  color: var(--rose-primary);
  flex-shrink: 0;
}

.commencer__bubble-stars {
  margin: 0 0 0.2rem;
  color: var(--vip);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.commencer__bubble-score {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
}

.commencer__portrait {
  display: flex;
  justify-content: center;
  animation: commencer-rise 0.75s ease both;
}

.commencer__portrait img {
  width: min(42vw, 200px);
  height: min(42vw, 200px);
  max-width: 200px;
  max-height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  background: var(--rose-pale);
}

.commencer__intro {
  text-align: center;
  padding: 0;
  animation: commencer-rise 0.8s ease 0.08s both;
}

.commencer__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-light);
  opacity: 0.9;
}

.commencer__brand {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-brand);
  font-size: clamp(3rem, 11vw, 4rem);
  color: var(--white);
  line-height: 1.05;
  font-weight: 400;
}

.commencer__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.commencer__glass {
  background: rgba(45, 31, 34, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-card-lg);
  padding: 1.5rem 1.35rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  animation: commencer-rise 0.85s ease 0.15s both;
}

.commencer__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-primary);
  font-weight: 700;
}

.commencer__label--center {
  text-align: center;
}

.commencer__about h2,
.commencer__section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 5vw, 2.1rem);
  color: var(--white);
}

.commencer__text {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.commencer__link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.commencer__link:hover {
  color: var(--rose-pale);
}

.commencer__approach {
  animation: commencer-rise 0.85s ease 0.28s both;
}

.commencer__section-title {
  text-align: center;
}

.commencer__steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.commencer__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: rgba(45, 31, 34, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-card);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: commencer-rise 0.7s ease both;
  animation-delay: calc(0.38s + (var(--step-delay, 0) * 0.1s));
}

.commencer__step-num {
  display: inline-grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  background: var(--rose-primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.commencer__step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
}

.commencer__step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.55;
}

.commencer__footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 20;
  width: min(100%, 36rem);
  text-align: center;
  padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
}

.commencer__cta {
  width: min(100%, 22rem);
  border: 0;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(45, 31, 34, 0.35),
    0 2px 8px rgba(232, 99, 122, 0.45);
}

.commencer__cta:hover {
  box-shadow:
    0 10px 28px rgba(45, 31, 34, 0.4),
    0 3px 10px rgba(232, 99, 122, 0.5);
}

.commencer__login {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.commencer__login a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.commencer__login a:hover {
  color: var(--rose-pale);
}

body.is-commencer-transit .commencer__footer {
  opacity: 0;
  pointer-events: none;
}

/* Transition Continuer → Explorer */
.commencer-transit {
  --meet-spread: 8.75rem;
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--cream);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.commencer-transit.is-active {
  opacity: 1;
  pointer-events: auto;
}

.commencer-transit[hidden] {
  display: none !important;
}

.commencer-transit.is-active[hidden] {
  display: grid !important;
}

body.is-commencer-transit {
  overflow: hidden;
}

.commencer-transit__sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.commencer-transit__spark {
  position: absolute;
  bottom: -1.5rem;
  line-height: 1;
  color: var(--rose-primary);
  opacity: 0.35;
  animation: commencer-transit-spark 7.2s linear infinite;
}

.commencer-transit__spark--l1 {
  left: 6%;
  font-size: 1.35rem;
  animation-delay: 0.2s;
}
.commencer-transit__spark--l2 {
  left: 12%;
  font-size: 0.85rem;
  opacity: 0.28;
  animation-delay: -2.1s;
}
.commencer-transit__spark--l3 {
  left: 3%;
  font-size: 1.9rem;
  opacity: 0.22;
  animation-delay: -3.8s;
}
.commencer-transit__spark--r1 {
  right: 6%;
  font-size: 1.45rem;
  animation-delay: -0.8s;
}
.commencer-transit__spark--r2 {
  right: 13%;
  font-size: 0.9rem;
  opacity: 0.28;
  animation-delay: -2.6s;
}
.commencer-transit__spark--r3 {
  right: 3%;
  font-size: 2rem;
  opacity: 0.22;
  animation-delay: -4.2s;
}

.commencer-transit__glow {
  position: absolute;
  width: min(22rem, 70vw);
  height: min(22rem, 70vw);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(232, 99, 122, 0.12);
  pointer-events: none;
}

.commencer-transit__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1rem;
}

.commencer-transit__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-secondary);
  opacity: 0;
  animation: commencer-transit-brand-in 0.4s ease 0.05s forwards;
}

.commencer-transit__brand {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(3.4rem, 13vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--rose-primary) !important;
  opacity: 0;
  transform: translateY(0.85rem) scale(0.96);
  animation: commencer-transit-brand-in 0.45s ease 0.1s forwards;
}

.commencer-transit__brand > span {
  color: var(--rose-primary) !important;
}

.commencer-transit__brand > img {
  width: 2.55rem;
  height: 2.55rem;
}

.commencer-transit__story {
  margin: 0.15rem 0 0;
  min-height: 1.75em;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 4.4vw, 1.5rem);
  font-style: italic;
  color: var(--bordeaux-dark);
  letter-spacing: 0.01em;
}

.commencer-transit__caret {
  display: inline-block;
  width: 0.1em;
  height: 1.05em;
  margin-left: 0.1em;
  vertical-align: -0.12em;
  background: var(--rose-primary);
  border-radius: 1px;
  animation: commencer-transit-caret 0.7s steps(1) infinite;
}

.commencer-transit__merge {
  position: relative;
  width: min(100%, 24rem);
  height: clamp(11rem, 34vw, 14rem);
  margin: 0.35rem 0 0.15rem;
}

.commencer-transit__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(232, 99, 122, 0.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  animation: commencer-transit-halo 0.5s ease 2.15s forwards;
}

.commencer-transit__heart {
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 1;
  color: var(--rose-primary);
  transform: translate(-50%, -50%);
  user-select: none;
  filter: drop-shadow(0 8px 18px rgba(232, 99, 122, 0.22));
}

.commencer-transit__heart--left,
.commencer-transit__heart--right {
  font-size: clamp(6.2rem, 22vw, 8.4rem);
  opacity: 0;
}

.commencer-transit__heart--left {
  animation: commencer-transit-heart-left 1.05s
    cubic-bezier(0.22, 0.82, 0.24, 1) 1.05s forwards;
}

.commencer-transit__heart--right {
  animation: commencer-transit-heart-right 1.05s
    cubic-bezier(0.22, 0.82, 0.24, 1) 1.05s forwards;
}

.commencer-transit__heart--one {
  font-size: clamp(7.4rem, 26vw, 10rem);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.42);
  animation:
    commencer-transit-heart-merge 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) 2.15s
      forwards,
    commencer-transit-heart-beat 1.05s ease-in-out 2.75s infinite;
}

.commencer-transit__promise {
  margin: 0;
  max-width: 22rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(0.45rem);
}

.commencer-transit.is-united .commencer-transit__promise {
  animation: commencer-transit-brand-in 0.7s ease forwards;
}

.commencer-transit.is-united .commencer-transit__caret {
  opacity: 0;
  animation: none;
}

.commencer-transit__loader {
  width: min(100%, 22rem);
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(0.5rem);
  animation: commencer-transit-loader-in 0.5s ease 4.45s forwards;
}

.commencer-transit__loader-label {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-secondary);
  font-weight: 700;
}

.commencer-transit__track {
  position: relative;
  height: 1.45rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.commencer-transit__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: var(--rose-primary);
  animation: commencer-transit-fill 2.4s ease 4.5s forwards;
}

.commencer-transit__convoy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 0.45rem;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1;
  animation: commencer-transit-convoy 2.4s linear 4.5s forwards;
}

.commencer-transit__convoy span {
  flex-shrink: 0;
  opacity: 0.98;
  text-shadow: 0 1px 3px rgba(45, 31, 34, 0.25);
  animation: commencer-transit-bounce 0.55s ease-in-out infinite;
}

.commencer-transit__convoy span:nth-child(2) {
  animation-delay: 0.07s;
}
.commencer-transit__convoy span:nth-child(3) {
  animation-delay: 0.14s;
}
.commencer-transit__convoy span:nth-child(4) {
  animation-delay: 0.21s;
}
.commencer-transit__convoy span:nth-child(5) {
  animation-delay: 0.28s;
}
.commencer-transit__convoy span:nth-child(6) {
  animation-delay: 0.35s;
}
.commencer-transit__convoy span:nth-child(7) {
  animation-delay: 0.42s;
}

@keyframes commencer-transit-brand-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes commencer-transit-caret {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes commencer-transit-heart-left {
  0% {
    opacity: 0;
    transform: translate(calc(-50% - var(--meet-spread)), -50%) scale(0.72)
      rotate(-16deg);
  }
  22% {
    opacity: 1;
  }
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
  }
}

@keyframes commencer-transit-heart-right {
  0% {
    opacity: 0;
    transform: translate(calc(-50% + var(--meet-spread)), -50%) scale(0.72)
      rotate(16deg);
  }
  22% {
    opacity: 1;
  }
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
  }
}

@keyframes commencer-transit-heart-merge {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  58% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.16);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes commencer-transit-heart-beat {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  18% {
    transform: translate(-50%, -50%) scale(1.07);
  }
  36% {
    transform: translate(-50%, -50%) scale(1);
  }
  52% {
    transform: translate(-50%, -50%) scale(1.11);
  }
  72% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes commencer-transit-halo {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes commencer-transit-loader-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes commencer-transit-fill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes commencer-transit-convoy {
  from {
    transform: translateX(-42%);
  }
  to {
    transform: translateX(78%);
  }
}

@keyframes commencer-transit-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.18rem);
  }
}

@keyframes commencer-transit-spark {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  12% {
    opacity: 0.32;
  }
  100% {
    transform: translate3d(0, -108vh, 0) scale(1.05);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .commencer-transit {
    --meet-spread: 6.8rem;
  }

  .commencer-transit__merge {
    height: 10.5rem;
  }

  .commencer-transit__heart--left,
  .commencer-transit__heart--right {
    font-size: 5.6rem;
  }

  .commencer-transit__heart--one {
    font-size: 6.8rem;
  }

  .commencer-transit__halo {
    width: 6.8rem;
    height: 6.8rem;
  }

  .commencer-transit__track {
    height: 1.25rem;
  }
}

@media (min-width: 768px) {
  .commencer-transit {
    --meet-spread: 13.5rem;
  }

  .commencer-transit__panel {
    width: min(100%, 36rem);
    gap: 1.05rem;
  }

  .commencer-transit__kicker {
    font-size: 0.8rem;
  }

  .commencer-transit__brand {
    font-size: 6.1rem;
  }

  .commencer-transit__brand > img {
    width: 3.35rem;
    height: 3.35rem;
  }

  .commencer-transit__story {
    font-size: 1.7rem;
  }

  .commencer-transit__merge {
    width: min(100%, 34rem);
    height: 17rem;
  }

  .commencer-transit__halo {
    width: 12.5rem;
    height: 12.5rem;
  }

  .commencer-transit__heart--left,
  .commencer-transit__heart--right {
    font-size: 10.2rem;
  }

  .commencer-transit__heart--one {
    font-size: 12.4rem;
  }

  .commencer-transit__promise {
    max-width: 28rem;
    font-size: 1.18rem;
  }

  .commencer-transit__loader {
    width: min(100%, 28rem);
  }

  .commencer-transit__glow {
    width: 30rem;
    height: 30rem;
  }

  .commencer-transit__spark--l1,
  .commencer-transit__spark--r1 {
    font-size: 2.1rem;
  }
  .commencer-transit__spark--l3,
  .commencer-transit__spark--r3 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .commencer-transit {
    --meet-spread: 17rem;
  }

  .commencer-transit__panel {
    width: min(100%, 42rem);
  }

  .commencer-transit__brand {
    font-size: 7.2rem;
  }

  .commencer-transit__brand > img {
    width: 4rem;
    height: 4rem;
  }

  .commencer-transit__story {
    font-size: 1.9rem;
  }

  .commencer-transit__merge {
    width: min(100%, 40rem);
    height: 20rem;
  }

  .commencer-transit__halo {
    width: 15rem;
    height: 15rem;
  }

  .commencer-transit__heart--left,
  .commencer-transit__heart--right {
    font-size: 12.5rem;
  }

  .commencer-transit__heart--one {
    font-size: 15rem;
  }

  .commencer-transit__promise {
    font-size: 1.28rem;
  }

  .commencer-transit__loader {
    width: min(100%, 32rem);
  }

  .commencer-transit__track {
    height: 1.65rem;
  }

  .commencer-transit__convoy {
    font-size: 1.2rem;
  }

  .commencer-transit__glow {
    width: 36rem;
    height: 36rem;
  }

  .commencer-transit__spark--l1 {
    left: 8%;
    font-size: 2.6rem;
  }
  .commencer-transit__spark--l3 {
    left: 4%;
    font-size: 3.6rem;
  }
  .commencer-transit__spark--r1 {
    right: 8%;
    font-size: 2.7rem;
  }
  .commencer-transit__spark--r3 {
    right: 4%;
    font-size: 3.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .commencer-transit,
  .commencer-transit__brand,
  .commencer-transit__kicker,
  .commencer-transit__caret,
  .commencer-transit__halo,
  .commencer-transit__heart--left,
  .commencer-transit__heart--right,
  .commencer-transit__heart--one,
  .commencer-transit__loader,
  .commencer-transit__fill,
  .commencer-transit__convoy,
  .commencer-transit__convoy span,
  .commencer-transit__spark {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes commencer-bg-in {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes commencer-rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .commencer__cta.btn-lg {
    width: min(70%, 15.5rem);
    min-height: 2.7rem;
    padding: 0.6rem 1.35rem;
    font-size: 0.95rem;
  }

  .commencer__bubble {
    padding: 0.55rem 0.75rem 0.5rem;
    border-radius: 1.15rem;
    transform: scale(0.92);
    transform-origin: center;
  }

  .commencer__bubble-stat {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) {
  .commencer__bg {
    background-position: center 12%;
  }

  .commencer {
    width: min(100% - 3rem, 46rem);
    gap: 1.75rem;
    padding-top: clamp(2.25rem, 6vh, 3.5rem);
  }

  .commencer__glass {
    padding: 1.9rem 2rem;
  }

  .commencer__portrait img {
    width: 240px;
    height: 240px;
    max-width: 240px;
    max-height: 240px;
  }

  .commencer__eyebrow {
    font-size: 0.88rem;
  }

  .commencer__brand {
    font-size: 5.1rem;
  }

  .commencer__brand.brand-mark > img {
    width: 3.4rem;
    height: 3.4rem;
  }

  .commencer__lead {
    font-size: 1.22rem;
  }

  .commencer__about h2,
  .commencer__section-title {
    font-size: 2.35rem;
  }

  .commencer__text,
  .commencer__step p {
    font-size: 1.05rem;
  }

  .commencer__step h3 {
    font-size: 1.28rem;
  }

  .commencer__bubble-stat {
    font-size: 1.85rem;
  }

  .commencer__footer {
    width: min(100%, 46rem);
  }

  .commencer__cta {
    width: min(100%, 28rem);
    min-height: 3.35rem;
    font-size: 1.18rem;
  }

  .commencer__login {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .commencer__bg {
    background-position: center top;
    filter: blur(2px);
  }

  .commencer {
    width: min(100% - 4rem, 54rem);
  }

  .commencer__portrait img {
    width: 280px;
    height: 280px;
    max-width: 280px;
    max-height: 280px;
  }

  .commencer__brand {
    font-size: 5.9rem;
  }

  .commencer__brand.brand-mark > img {
    width: 3.9rem;
    height: 3.9rem;
  }

  .commencer__lead {
    font-size: 1.32rem;
  }

  .commencer__about h2,
  .commencer__section-title {
    font-size: 2.55rem;
  }

  .commencer__steps {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .commencer__footer {
    width: min(100%, 54rem);
  }

  .commencer__cta {
    width: min(100%, 32rem);
    min-height: 3.55rem;
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .commencer__bg,
  .commencer__portrait,
  .commencer__intro,
  .commencer__glass,
  .commencer__approach,
  .commencer__step,
  .commencer__footer {
    animation: none;
  }
}

/* ?? Explorer feed (scroll type TikTok) ?? */
body.explorer-page,
body.messages-page,
body.messages-inbox-page,
body.history-page,
body.likes-page {
  --explorer-chrome: 4.15rem;
  --explorer-slide-pad: 0.35rem;
  --explorer-dock: 4.65rem;
  --explorer-col: min(100%, 42rem);
  background: var(--cream);
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100dvh;
  font-family: "Poppins", var(--font-sans);
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

html:has(body.explorer-page) {
  overflow: hidden;
  height: 100%;
  height: 100dvh;
  scroll-snap-type: none;
}

body.explorer-page {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  height: 100dvh;
  min-height: 100dvh;
  color: var(--text-primary);
}

body.explorer-page,
body.explorer-page button,
body.explorer-page input,
body.explorer-page a,
body.explorer-page p,
body.explorer-page h1,
body.explorer-page h2,
body.explorer-page h3,
body.explorer-page span,
body.explorer-page li,
body.messages-page,
body.messages-page button,
body.messages-page input,
body.messages-page a,
body.messages-page p,
body.messages-page h1,
body.messages-page h2,
body.messages-page h3,
body.messages-page span,
body.messages-page li,
body.messages-inbox-page,
body.messages-inbox-page button,
body.messages-inbox-page input,
body.messages-inbox-page a,
body.messages-inbox-page p,
body.messages-inbox-page h1,
body.messages-inbox-page h2,
body.messages-inbox-page h3,
body.messages-inbox-page span,
body.messages-inbox-page li {
  font-family: "Poppins", var(--font-sans);
}

/* Police marque TimaLove = Allura (comme /commencer/) */
.brand,
.brand > span,
.brand-mark,
.brand-mark > span,
.brand-script,
.brand-script > span,
.explorer__logo,
.explorer__logo > span,
.explorer__veil-title,
.explorer__veil-title > span,
.commencer__brand,
.commencer__brand > span,
.welcome__title,
.welcome__title > span,
.stories .brand-script,
.stories .brand-script > span {
  font-family: var(--font-brand) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
}

.explorer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

html:has(body.likes-page),
html:has(body.history-page),
html:has(body.messages-inbox-page),
html:has(body.visit-profil-page) {
  height: auto;
  min-height: 100%;
  overflow: auto;
}

body.likes-page .explorer,
body.history-page .explorer,
body.messages-inbox-page .explorer {
  display: block;
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

body.likes-page,
body.history-page,
body.messages-inbox-page,
body.visit-profil-page {
  display: block;
  height: auto;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--cream);
}

body.explorer-page .explorer {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body.explorer-page--curated .explorer {
  flex: 1 1 auto;
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.explorer__top {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem 0.35rem;
  padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
  background: transparent;
  z-index: 30;
  overflow: visible;
}

.explorer__chrome {
  position: relative;
  z-index: 30;
  flex-shrink: 0;
  overflow: visible;
  background: var(--glass-bg-solid);
  border-bottom: 1px solid rgba(232, 99, 122, 0.12);
}

.explorer__top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.explorer-search {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.85rem 0.7rem;
}

.explorer-search__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 600px;
  min-height: 2.7rem;
  padding: 0 0.7rem 0 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(232, 99, 122, 0.16);
  color: var(--text-muted);
}

.explorer-search__ico {
  flex-shrink: 0;
  color: var(--rose-primary);
}

.explorer-search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.explorer-search__field input::placeholder {
  color: var(--text-muted);
}

.explorer-search__field input::-webkit-search-cancel-button {
  display: none;
}

.explorer-search__clear {
  appearance: none;
  border: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--bordeaux-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.explorer-search__clear[hidden] {
  display: none;
}

.explorer-search__results {
  position: absolute;
  left: 50%;
  right: auto;
  width: 100%;
  max-width: 600px;
  top: calc(100% - 0.35rem);
  z-index: 12;
  max-height: min(22rem, 52dvh);
  overflow-y: auto;
  background: var(--white);
  border-radius: 1.15rem;
  box-shadow: 0 12px 32px rgba(45, 31, 34, 0.14);
  border: 1px solid rgba(232, 99, 122, 0.12);
  transform: translateX(-50%);
}

.explorer-search__results:empty {
  display: none;
  transform: none;
}

.explorer-search__hit--thread mark {
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  border-radius: 3px;
  padding: 0 0.12rem;
}

@media (max-width: 767px) {
  .explorer-search__field,
  .explorer-search__results {
    max-width: 280px;
  }
}

.explorer-search__list {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  display: grid;
  gap: 0.15rem;
}

.explorer-search__hit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.explorer-search__hit:hover,
.explorer-search__hit:focus-visible {
  background: var(--rose-pale);
}

.explorer-search__photo {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rose-pale);
  color: var(--rose-primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 2px solid var(--rose-primary);
}

.explorer-search__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.explorer-search__meta {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.explorer-search__meta strong {
  font-size: 0.95rem;
  color: var(--bordeaux-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explorer-search__meta em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explorer-search__empty {
  margin: 0;
  padding: 1rem 1.1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.explorer-search__star {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-primary);
  display: grid;
  place-items: center;
}

body.explorer-page.has-explorer-search {
  --explorer-chrome: 7.35rem;
}

body.explorer-page.has-explorer-quota:not(.has-explorer-search) {
  --explorer-chrome: 5.5rem;
}

body.explorer-page.has-explorer-quota.has-explorer-search {
  --explorer-chrome: 8.7rem;
}

body.explorer-page:has(.explorer-search) {
  --explorer-chrome: 7.35rem;
}

.msg-list .explorer-search {
  padding: 0.85rem 0 0;
  align-items: stretch;
}

.msg-list .explorer-search__field {
  max-width: none;
}

.msg-list__empty-search {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.history .explorer-search {
  padding: 0.15rem 0.85rem 1rem;
}

.explorer__quota {
  margin: -0.15rem 0 0.55rem;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.explorer__coach {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 2.75rem;
  padding: 0.18rem 0.62rem 0.18rem 0.2rem;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(232, 99, 122, 0.28);
}

.explorer__coach:hover {
  background: var(--hover-primary);
  color: var(--white);
}

.explorer__coach-icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-primary);
  flex-shrink: 0;
}

.explorer__coach-icon svg {
  width: 0.8rem;
  height: 0.8rem;
}

.explorer__coach-label {
  padding-right: 0.15rem;
  white-space: nowrap;
}

.explorer__filters-btn svg {
  display: block;
}

.explorer-filters-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.explorer-filters-modal[hidden] {
  display: none !important;
}

.explorer-filters-modal__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.explorer-filters-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(45, 31, 34, 0.48);
  cursor: pointer;
}

.explorer-filters-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: min(90dvh, 36rem);
  overflow: auto;
  background: var(--white);
  border-radius: 1.35rem;
  border: 1px solid rgba(232, 99, 122, 0.14);
  box-shadow: 0 18px 48px rgba(45, 31, 34, 0.16);
  padding: 1.15rem 1.15rem 1rem;
}

.explorer-filters-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.explorer-filters-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--bordeaux-dark);
}

.explorer-filters-modal__close {
  appearance: none;
  border: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.explorer-filters-modal__lead {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.explorer-filters-modal__form {
  display: grid;
  gap: 0.75rem;
}

.explorer-filters-modal__foot {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.explorer-filters-modal__msg {
  margin: 0;
  font-size: 0.85rem;
  color: var(--error);
}

.explorer-filters-modal__msg[hidden] {
  display: none !important;
}

body.is-explorer-filters {
  overflow: hidden;
}

.explorer__bell {
  position: relative;
}

.explorer__bell-badge {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  border-radius: 9999px;
  background: var(--error);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.explorer__bell-badge[hidden] {
  display: none !important;
}

.explorer__menu-anchor > .explorer__icon-btn {
  width: 3.125rem;
  height: 3.125rem;
  min-width: 48px;
  min-height: 48px;
}

.explorer__menu-anchor > .explorer__icon-btn svg {
  width: 24px;
  height: 24px;
}

.explorer__icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  background: var(--white);
  color: var(--bordeaux-medium);
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.explorer__icon-btn:hover {
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.brand-script,
.explorer__logo {
  text-align: center;
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 9vw, 3.6rem);
  color: var(--rose-primary);
  line-height: 1;
  font-weight: 400;
}

.explorer__veil-title {
  margin: 0.45rem 0 0.15rem;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 7vw, 2.8rem);
  color: var(--rose-primary);
  line-height: 1;
  font-weight: 400;
}

.explorer__menu-anchor {
  position: relative;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
}

.explorer__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 50;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 0.85rem 1.1rem;
  min-width: 13.5rem;
  border: 1px solid rgba(232, 99, 122, 0.12);
}

.explorer__menu:not([hidden]) {
  display: grid;
  gap: 0.7rem;
}

.explorer__menu[hidden] {
  display: none !important;
}

.explorer__menu a {
  color: var(--text-primary);
  font-weight: 500;
}

.explorer__menu a:hover {
  color: var(--rose-primary);
}

.explorer__feed {
  overflow: hidden;
  align-self: center;
  width: 100%;
  max-width: var(--explorer-col);
  margin-inline: auto;
  flex: 1 1 0%;
  min-height: 0;
  padding: 0.2rem 0.65rem 0.25rem;
  background: transparent;
  overscroll-behavior: none;
  touch-action: none;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

body.explorer-page .explorer__feed {
  display: flex;
  flex-direction: column;
}

.explorer__slide {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  height: var(--explorer-slide-h, 100%);
  min-height: 0;
  max-height: var(--explorer-slide-h, 100%);
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.explorer__slide--pending .explorer__veil {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.explorer__slide--pending .explorer__reveal {
  opacity: 0;
  pointer-events: none;
}

.explorer__slide.is-exit-up {
  z-index: 2;
  animation: explorer-exit-up 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

.explorer__slide.is-exit-down {
  z-index: 2;
  animation: explorer-exit-down 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

.explorer__slide.is-enter-up {
  animation: explorer-enter-up 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.explorer__slide.is-enter-down {
  animation: explorer-enter-down 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes explorer-exit-up {
  to {
    transform: translate3d(0, -108%, 0);
    opacity: 0;
  }
}

@keyframes explorer-exit-down {
  to {
    transform: translate3d(0, 108%, 0);
    opacity: 0;
  }
}

@keyframes explorer-enter-up {
  from {
    transform: translate3d(0, 108%, 0);
    opacity: 0.88;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes explorer-enter-down {
  from {
    transform: translate3d(0, -108%, 0);
    opacity: 0.88;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.explorer__card {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  transform: none;
  transform-origin: center center;
  opacity: 1;
}

.explorer__slide.is-active .explorer__card {
  transform: none;
  opacity: 1;
}

.explorer__media {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 1.65rem;
  overflow: hidden;
  background: var(--rose-pale);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.explorer__reveal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  margin: 0;
  padding: 0;
  transform: none;
  transition: opacity 0.32s ease;
}

.explorer__slide:not([data-ready="true"]) .explorer__reveal {
  opacity: 0.5;
  pointer-events: none;
}

.explorer__slide[data-ready="true"] .explorer__reveal {
  opacity: 1;
}

.explorer__photos {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  transform: none;
  background: var(--rose-pale);
  cursor: pointer;
}

.explorer__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  pointer-events: none;
  border-radius: 0;
  transform: none;
}

.explorer__photo.is-active {
  opacity: 1;
}

.explorer__photo-dots {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.28rem;
  pointer-events: none;
}

.explorer__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(45, 31, 34, 0.12);
}

.explorer__dot.is-on {
  width: 0.9rem;
  background: var(--rose-primary);
}

.explorer__photo-hit {
  position: absolute;
  top: 2.8rem;
  bottom: 5.4rem;
  width: 22%;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.explorer__photo-hit--prev {
  left: 0;
}

.explorer__photo-hit--next {
  right: 0;
}

body.explorer-page.is-guest .explorer__photo {
  filter: blur(26px);
  transform: none;
}

.explorer__photo--empty {
  background: var(--glass-bg);
  width: 100%;
  height: 100%;
}

.explorer__match {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border-radius: 9999px;
  background: var(--glass-bg-solid);
  border: 1px solid var(--glass-border);
  color: var(--rose-primary);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "Poppins", var(--font-sans);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
}

.explorer__match svg {
  color: var(--rose-primary);
  flex-shrink: 0;
}

.explorer__match.is-idle {
  color: var(--bordeaux-medium);
}

.explorer__match.is-idle svg {
  color: var(--rose-secondary);
}

.explorer__match.is-idle:hover,
.explorer__match.is-idle:focus-visible {
  color: var(--rose-primary);
  border-color: rgba(232, 99, 122, 0.35);
  outline: none;
  box-shadow: 0 0 0 2px rgba(232, 99, 122, 0.18);
}

.explorer__match.is-pending {
  color: var(--text-secondary);
}

.explorer__match.is-calculating svg {
  animation: explorer-pulse 1s ease-in-out infinite;
}

.explorer__match-bar {
  display: none;
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.28rem;
  height: 3px;
  border-radius: 9999px;
  background: var(--rose-light);
  overflow: hidden;
}

.explorer__match.is-calculating .explorer__match-bar {
  display: block;
}

.explorer__match-bar span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: 9999px;
  background: var(--rose-primary);
  animation: explorer-bar 1.05s ease-in-out infinite;
}

.explorer__match.is-calculating {
  padding-bottom: 0.62rem;
}

.explorer__match.is-pending svg {
  color: var(--rose-secondary);
  opacity: 0.75;
}

.explorer__match.is-pending [data-match-label] {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.explorer__match.is-ready {
  color: var(--rose-primary);
}

.explorer__place {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 9999px;
  background: var(--glass-bg-solid);
  border: 1px solid var(--glass-border);
  color: var(--bordeaux-dark);
  font-size: 0.74rem;
  font-weight: 600;
  font-family: "Poppins", var(--font-sans);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
}

.explorer__place svg {
  color: var(--rose-primary);
  flex-shrink: 0;
}

.explorer__go-profile {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  transform-origin: center right;
  transition: transform 0.25s ease;
}

.explorer__go-profile > span:first-child {
  padding: 0.62rem 1.15rem;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--white);
  color: var(--bordeaux-dark);
  font-size: 1.02rem;
  font-weight: 700;
  font-family: "Poppins", var(--font-sans);
  box-shadow: 0 4px 12px rgba(45, 31, 34, 0.16);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.25s ease;
}

.explorer__go-profile-avatar {
  width: 3.55rem;
  height: 3.55rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  border: 2px solid var(--white);
  box-shadow: 0 6px 16px rgba(45, 31, 34, 0.2);
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.explorer__go-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.explorer__go-profile-avatar em {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--rose-primary);
  font-size: 0.95rem;
}

.explorer__go-profile:hover {
  transform: translateY(-2px);
}

.explorer__go-profile:hover > span:first-child {
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.explorer__go-profile:hover .explorer__go-profile-avatar {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.35);
}

.explorer__go-profile.is-inview .explorer__go-profile-avatar {
  animation: explorer-profile-pulse 2.2s ease-in-out infinite;
}

.explorer__go-profile.is-pressed {
  transform: scale(0.94);
}

@keyframes explorer-profile-pulse {
  0%,
  100% {
    box-shadow:
      0 6px 16px rgba(45, 31, 34, 0.2),
      0 0 0 0 rgba(232, 99, 122, 0.45);
  }
  55% {
    box-shadow:
      0 6px 16px rgba(45, 31, 34, 0.2),
      0 0 0 8px rgba(232, 99, 122, 0);
  }
}

.explorer__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 1.1rem 1.15rem;
  color: var(--white);
  background: none;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.explorer__meta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.explorer__meta h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Poppins", var(--font-sans);
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(45, 31, 34, 0.45);
}

.explorer__meta h2 .tl-mark--cert {
  filter: drop-shadow(0 1px 4px rgba(45, 31, 34, 0.5));
}

.explorer__meta h2 a {
  color: var(--white);
  text-decoration: none;
}

.explorer__verified {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--rose-primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(232, 99, 122, 0.4);
}

.explorer__role {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-family: "Poppins", var(--font-sans);
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(45, 31, 34, 0.4);
}

.explorer__actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin-top: 0.15rem;
}

.explorer__action {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(45, 31, 34, 0.18);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
  flex-shrink: 0;
}

.explorer__action:hover {
  transform: scale(1.07);
}

.explorer__action--pass {
  color: #8a9199;
}

.explorer__action--pass.is-passing {
  transform: scale(0.88);
  color: var(--text-secondary);
}

.explorer__slide.is-pass-dismiss .explorer__card {
  transition:
    transform 0.44s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  transform: translateX(-14%) scale(0.97);
  opacity: 0.45;
}

.explorer-pass-burst {
  position: fixed;
  width: 0;
  height: 0;
  z-index: 200;
  pointer-events: none;
}

.explorer-pass-burst__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  opacity: 0.65;
  animation: explorer-pass-ring 0.58s ease-out forwards;
}

@keyframes explorer-pass-ring {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(9);
  }
}

.explorer-pass-burst__core {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-secondary);
  line-height: 1;
  font-size: 1.65rem;
  animation: explorer-pass-core 0.48s ease-out forwards;
}

.explorer-pass-burst__core svg {
  display: block;
  width: 1em;
  height: 1em;
}

@keyframes explorer-pass-core {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.35) rotate(-12deg);
  }
  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -58%) scale(0.85) rotate(8deg);
  }
}

.explorer-pass-burst__bit {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
  color: var(--tint, var(--text-muted));
  font-size: var(--size, 0.75rem);
  will-change: transform, opacity;
  animation: explorer-pass-fly var(--dur, 0.72s)
    cubic-bezier(0.22, 0.72, 0.28, 1) forwards;
}

.explorer-pass-burst__bit svg {
  display: block;
  width: 1em;
  height: 1em;
}

@keyframes explorer-pass-fly {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.2);
  }
  22% {
    opacity: 0.9;
    transform: translate(
        calc(-50% + var(--dx) * 0.28px),
        calc(-50% + var(--dy) * 0.28px)
      )
      scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--dx) * 1px),
        calc(-50% + var(--dy) * 1px)
      )
      scale(0.35) rotate(var(--rot, 0deg));
  }
}

.explorer__action--star {
  color: var(--rose-primary);
}

.explorer__action--like {
  width: 4.35rem;
  height: 4.35rem;
  background: var(--rose-primary);
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 10px 24px rgba(232, 99, 122, 0.42);
}

.explorer__action--like:hover {
  background: var(--hover-primary);
}

.explorer__action.is-busy {
  pointer-events: none;
  opacity: 0.72;
}

.explorer__action--like.is-on,
.explorer__action--star.is-on {
  box-shadow:
    0 0 0 3px rgba(232, 99, 122, 0.22),
    0 10px 24px rgba(232, 99, 122, 0.42);
}

.explorer__action--star.is-on {
  background: var(--rose-primary);
  color: var(--white);
}

.explorer__veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(255, 240, 243, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}

.explorer__slide:not([data-ready="true"]) .explorer__veil {
  opacity: 1;
  visibility: visible;
}

.explorer__slide[data-ready="true"] .explorer__veil {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.explorer__veil-inner {
  text-align: center;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-card);
  background: var(--glass-bg-solid);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(232, 99, 122, 0.12);
  min-width: 11rem;
  transform: translateY(0.35rem);
  opacity: 0.96;
  transition:
    transform 0.32s ease,
    opacity 0.32s ease;
}

.explorer__slide.is-loading .explorer__veil-inner {
  transform: translateY(0);
  opacity: 1;
}

.explorer__veil-heart {
  color: var(--rose-primary);
  animation: explorer-pulse 1.2s ease-in-out infinite;
}

.explorer__veil-text {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.explorer__veil-bar {
  height: 4px;
  border-radius: 9999px;
  background: var(--rose-light);
  overflow: hidden;
}

.explorer__veil-bar span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 9999px;
  background: var(--rose-primary);
  animation: explorer-bar 1.2s ease-in-out infinite;
}

.explorer__slide[data-ready="true"] .explorer__match,
.explorer__slide[data-ready="true"] .explorer__go-profile,
.explorer__slide[data-ready="true"] .explorer__meta {
  animation: explorer-soft-in 0.35s ease both;
}

@keyframes explorer-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.75;
  }
}

@keyframes explorer-bar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes explorer-soft-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.explorer__bottom {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 20;
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--explorer-col);
  margin-inline: auto;
  transform: none;
  background: transparent;
  padding: 0 max(0.65rem, env(safe-area-inset-right, 0px))
    calc(0.35rem + env(safe-area-inset-bottom, 0px))
    max(0.65rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

body:not(.explorer-page) .explorer__bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
}

.explorer__dock {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  background: var(--white);
  border-radius: 1.35rem 1.35rem 0.85rem 0.85rem;
  padding: 1.15rem 0.35rem 0.55rem;
  box-shadow: 0 -2px 16px rgba(45, 31, 34, 0.08);
  overflow: visible;
}

.explorer__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.18rem;
  color: #8a9199;
  min-height: 3.15rem;
  padding-bottom: 0.05rem;
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.explorer__tab-icon {
  display: grid;
  place-items: center;
  position: relative;
  width: 1.55rem;
  height: 1.55rem;
}

.explorer__tab-badge {
  position: absolute;
  top: -0.42rem;
  right: -0.55rem;
  z-index: 3;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--error);
  color: var(--white);
  border: 2px solid var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(45, 31, 34, 0.2);
  pointer-events: none;
}

.explorer__tab-badge[hidden] {
  display: none !important;
}

.explorer__tab-lock {
  position: absolute;
  right: -0.35rem;
  bottom: -0.12rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--rose-primary);
  box-shadow: 0 0 0 2px var(--white);
}

.explorer__tab-lock::after {
  content: "";
  position: absolute;
  inset: 0.18rem 0.22rem 0.14rem;
  border: 1.4px solid var(--white);
  border-radius: 2px 2px 1px 1px;
  border-top: 0;
}

.explorer__tab.is-locked {
  color: #8a9199;
}

.explorer__tab:hover {
  color: var(--rose-primary);
}

.explorer__tab.is-active {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rose-primary);
  box-shadow: none;
  min-height: 0;
}

.explorer__tab.is-active .explorer__tab-icon {
  width: 3.15rem;
  height: 3.15rem;
  margin-top: -1.45rem;
  border-radius: 50%;
  background: var(--rose-primary);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(232, 99, 122, 0.45);
}

.explorer__tab.is-active .explorer__tab-badge {
  top: -0.05rem;
  right: -0.05rem;
  border-color: var(--white);
}

.explorer__tab.is-active:hover {
  background: transparent;
  color: var(--rose-primary);
  transform: none;
}

.explorer__tab.is-active:hover .explorer__tab-icon {
  background: var(--hover-primary);
}

.explorer__tab.is-active svg {
  width: 1.35rem;
  height: 1.35rem;
}

.explorer__tab.is-active svg path[fill="none"] {
  stroke: currentColor;
}

.explorer__tab--plus {
  color: #8a9199;
}

.explorer__sentinel {
  height: 1px;
  scroll-snap-align: none;
}

.explorer__slide--empty {
  align-items: center;
  justify-content: center;
}

.explorer__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary);
}

.explorer__empty h2 {
  color: var(--text-primary);
  font-family: var(--font-serif);
}

/* Cœurs décoratifs (PC / grande tablette) — CSS only, GPU */
.explorer-hearts {
  display: none;
}

.explorer-rise {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.explorer-rise__heart {
  position: absolute;
  left: var(--x);
  bottom: -1.5rem;
  line-height: 1;
  color: var(--rose-primary);
  opacity: 0;
  font-size: calc(0.65rem * var(--s, 1));
  will-change: transform, opacity;
  animation: explorer-rise-beat var(--d, 12s) linear var(--delay, 0s) infinite;
  filter: drop-shadow(0 2px 4px rgba(232, 99, 122, 0.12));
}

@keyframes explorer-rise-beat {
  0% {
    transform: translate3d(0, 0, 0) scale(0.65);
    opacity: 0;
  }
  6% {
    opacity: 0.42;
    transform: translate3d(4px, -6vh, 0) scale(1);
  }
  12% {
    transform: translate3d(-3px, -12vh, 0) scale(0.78);
    opacity: 0.38;
  }
  18% {
    transform: translate3d(5px, -18vh, 0) scale(1);
  }
  36% {
    transform: translate3d(-6px, -40vh, 0) scale(0.82);
    opacity: 0.28;
  }
  42% {
    transform: translate3d(4px, -46vh, 0) scale(1);
  }
  70% {
    transform: translate3d(-8px, -78vh, 0) scale(0.8);
    opacity: 0.16;
  }
  100% {
    transform: translate3d(6px, -112vh, 0) scale(0.7);
    opacity: 0;
  }
}

.explorer-burst {
  position: fixed;
  width: 0;
  height: 0;
  z-index: 200;
  pointer-events: none;
}

.explorer-burst__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--rose-primary);
  border-radius: 50%;
  opacity: 0.9;
  animation: explorer-burst-ring 0.72s ease-out forwards;
}

.explorer-burst__ring--soft {
  border-color: var(--rose-secondary);
  animation-delay: 0.08s;
  animation-duration: 0.9s;
}

@keyframes explorer-burst-ring {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(14);
  }
}

.explorer-burst__core {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rose-primary);
  line-height: 1;
  font-size: 2.6rem;
  animation: explorer-burst-core 0.58s ease-out forwards;
  filter: drop-shadow(0 4px 8px rgba(61, 32, 36, 0.22));
}

.explorer-burst__core svg {
  display: block;
}

@keyframes explorer-burst-core {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.2);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.45);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.85);
  }
}

.explorer-burst__heart {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
  color: var(--tint, var(--rose-primary));
  font-size: var(--size, 1rem);
  will-change: transform, opacity;
  animation: explorer-burst-fly var(--dur, 1.12s)
    cubic-bezier(0.16, 0.72, 0.24, 1) forwards;
  filter: drop-shadow(0 3px 6px rgba(61, 32, 36, 0.2));
}

.explorer-burst__heart svg {
  display: block;
  width: 1em;
  height: 1em;
}

@keyframes explorer-burst-fly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.22);
  }
  18% {
    opacity: 1;
    transform: translate(
        calc(-50% + var(--dx) * 0.32px),
        calc(-50% + var(--dy) * 0.32px)
      )
      scale(1.28);
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--dx) * 1px),
        calc(-50% + var(--dy) * 1px)
      )
      scale(0.42) rotate(var(--rot, 0deg));
  }
}

.explorer__action--like.is-bursting,
.explorer__action--star.is-bursting,
.visit__action--like.is-bursting,
.visit__dock-btn.is-bursting,
.likes__icon-btn.is-bursting,
.likes__btn.is-bursting {
  transform: scale(1.18);
}

.explorer-wing {
  display: none;
}

@media (max-width: 1023px) {
  body.explorer-page,
  html:has(body.explorer-page),
  .explorer__feed {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.explorer-page {
    --explorer-col: 100%;
    --explorer-slide-pad: 0.2rem;
  }

  .explorer__feed {
    width: 100%;
    max-width: 100%;
    padding-inline: max(0.55rem, env(safe-area-inset-left, 0px))
      max(0.55rem, env(safe-area-inset-right, 0px));
  }

  .explorer__bottom {
    width: 100%;
    max-width: 100%;
    padding-inline: max(0.55rem, env(safe-area-inset-left, 0px))
      max(0.55rem, env(safe-area-inset-right, 0px));
  }

  .explorer__slide .explorer__card {
    transform: none;
    opacity: 1;
  }

  html.is-native-app body.explorer-page .explorer__feed,
  html.is-native-app body.explorer-page .explorer__bottom {
    width: 100%;
    max-width: 100%;
    padding-inline: max(0.5rem, env(safe-area-inset-left, 0px))
      max(0.5rem, env(safe-area-inset-right, 0px));
  }

  html.is-native-app .explorer__card,
  html.is-native-app .explorer__media,
  html.is-native-app .explorer__reveal,
  html.is-native-app .explorer__photos,
  html.is-native-app .explorer__photo {
    transform: none;
  }

  html.is-native-app .explorer__photos,
  html.is-native-app .explorer__photo {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
  }

  html.is-native-app .explorer__photo {
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

  body.explorer-page::-webkit-scrollbar,
  html:has(body.explorer-page)::-webkit-scrollbar,
  .explorer__feed::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .explorer__top {
    display: grid;
    grid-template-columns: calc(2.25rem + 1px) minmax(0, 1fr) auto;
    padding: 0.28rem 0.55rem 0.12rem;
    padding-top: calc(0.28rem + env(safe-area-inset-top, 0px));
    gap: 0.28rem;
  }

  body.explorer-page {
    --explorer-chrome: 3.15rem;
  }

  body.explorer-page.has-explorer-search,
  body.explorer-page:has(.explorer-search) {
    --explorer-chrome: 5.55rem;
  }

  body.explorer-page.has-explorer-quota:not(.has-explorer-search) {
    --explorer-chrome: 3.15rem;
  }

  body.explorer-page.has-explorer-quota.has-explorer-search {
    --explorer-chrome: 5.55rem;
  }

  .explorer__icon-btn {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
  }

  .explorer__icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .explorer__menu-anchor {
    width: calc(2.25rem + 1px);
    height: calc(2.25rem + 1px);
    min-width: calc(2.25rem + 1px);
    min-height: calc(2.25rem + 1px);
  }

  .explorer__menu-anchor > .explorer__icon-btn {
    width: calc(2.25rem + 1px);
    height: calc(2.25rem + 1px);
    min-width: calc(2.25rem + 1px);
    min-height: calc(2.25rem + 1px);
  }

  .explorer__menu-anchor > .explorer__icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .explorer__menu {
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 11.5rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.9rem;
  }

  .explorer__top-actions {
    gap: 0.22rem;
  }

  .explorer__coach {
    min-height: 2.15rem;
    font-size: 0.68rem;
    gap: 0.2rem;
    padding: 0.1rem 0.5rem 0.1rem 0.12rem;
  }

  .explorer__coach-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .explorer__coach-icon svg {
    width: 0.72rem;
    height: 0.72rem;
  }

  .explorer-search {
    padding: 0 0.55rem 0.38rem;
  }

  .explorer-search__field {
    min-height: 2.15rem;
    padding: 0 0.5rem 0 0.75rem;
  }

  .explorer-search__field input {
    font-size: 0.82rem;
  }

  .explorer-search__ico {
    width: 14px;
    height: 14px;
  }

  .explorer__logo,
  .brand-script {
    font-size: clamp(1.45rem, 5.6vw, 1.75rem);
  }

  .explorer__logo.brand-mark > img,
  .brand-script.brand-mark > img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .explorer__match {
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.7rem;
    padding: 0.32rem 0.55rem;
  }

  .explorer__go-profile {
    top: 0.65rem;
    right: 0.65rem;
  }

  .explorer__meta {
    padding: 0 0.8rem 0.9rem;
    gap: 0.85rem;
  }

  .explorer__meta h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .explorer__role {
    font-size: 0.85rem;
  }

  .explorer__bottom {
    padding-inline: 0.45rem;
  }

  .explorer__dock {
    padding: 0.7rem 0.2rem 0.5rem;
  }

  .explorer__tab {
    min-height: 2.85rem;
    font-size: 0.58rem;
  }

  .explorer__tab.is-active .explorer__tab-icon {
    width: 2.85rem;
    height: 2.85rem;
    margin-top: -1.25rem;
  }

  .explorer__tab.is-active svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .explorer__veil-title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .explorer__veil-title.brand-mark > img {
    width: 1.3rem;
    height: 1.3rem;
  }

  .commencer__brand {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .commencer__brand.brand-mark > img {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (max-width: 480px) {
  .explorer__top {
    padding: 0.22rem 0.45rem 0.08rem;
    padding-top: calc(0.22rem + env(safe-area-inset-top, 0px));
    gap: 0.2rem;
  }

  .explorer__icon-btn {
    width: 2.05rem;
    height: 2.05rem;
    min-width: 2.05rem;
    min-height: 2.05rem;
  }

  .explorer__menu-anchor {
    width: calc(2.05rem + 1px);
    height: calc(2.05rem + 1px);
    min-width: calc(2.05rem + 1px);
    min-height: calc(2.05rem + 1px);
  }

  .explorer__menu-anchor > .explorer__icon-btn {
    width: calc(2.05rem + 1px);
    height: calc(2.05rem + 1px);
    min-width: calc(2.05rem + 1px);
    min-height: calc(2.05rem + 1px);
  }

  .explorer__menu-anchor > .explorer__icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .explorer__logo,
  .brand-script {
    font-size: clamp(1.35rem, 6.2vw, 1.6rem);
  }

  .explorer__logo.brand-mark > img,
  .brand-script.brand-mark > img {
    width: 1.1rem;
    height: 1.1rem;
  }

  .explorer__coach {
    min-height: 2.05rem;
    font-size: 0.64rem;
    padding: 0.08rem 0.42rem 0.08rem 0.1rem;
  }

  .explorer-search {
    padding: 0 0.45rem 0.32rem;
  }

  .explorer-search__field {
    min-height: 2.05rem;
  }

  .explorer__bell-badge {
    min-width: 0.9rem;
    height: 0.9rem;
    font-size: 0.55rem;
  }

  .explorer__match {
    font-size: 0.65rem;
    padding: 0.28rem 0.5rem;
    max-width: calc(100% - 5.5rem);
  }

  .explorer__go-profile {
    gap: 0.45rem;
  }

  .explorer__go-profile > span:first-child {
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    min-height: 2.75rem;
  }

  .explorer__go-profile-avatar {
    width: 3.25rem;
    height: 3.25rem;
  }

  .explorer__meta {
    padding: 0 0.7rem 0.75rem;
    gap: 0.7rem;
  }

  .explorer__meta h2 {
    font-size: 1.2rem;
  }

  .explorer__role {
    font-size: 0.8rem;
  }

  .explorer__dock {
    padding: 0.55rem 0.1rem 0.4rem;
  }

  .explorer__tab {
    min-height: 2.65rem;
    font-size: 0.55rem;
    gap: 0.12rem;
  }

  .explorer__tab-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .explorer__tab.is-active .explorer__tab-icon {
    width: 2.6rem;
    height: 2.6rem;
    margin-top: -1.1rem;
  }

  .explorer__tab.is-active svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .explorer__menu {
    top: 100%;
    left: 0.5rem;
    right: auto;
    min-width: 9.5rem;
    max-width: calc(100vw - 1.5rem);
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  body.explorer-page,
  body.messages-page,
  body.messages-inbox-page,
  body.history-page,
  body.likes-page {
    --explorer-col: min(100% - 2rem, 46rem);
    --explorer-chrome: 4.75rem;
    --explorer-dock: 4.75rem;
  }

  body.messages-page {
    --explorer-dock: 5.2rem;
  }

  body.explorer-page.has-explorer-search,
  body.explorer-page:has(.explorer-search) {
    --explorer-chrome: 7.1rem;
  }

  .explorer__slide {
    padding: 0;
  }

  .explorer__meta {
    padding: 0 1.15rem 1.7rem;
  }

  .explorer__bottom {
    padding: 0.4rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  }

  .explorer-hearts {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .explorer-heart {
    position: absolute;
    line-height: 1;
    user-select: none;
    animation-name: explorer-float-y;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  .explorer-heart--l1 {
    left: 2%;
    top: 14%;
    font-size: 2rem;
    color: rgba(232, 99, 122, 0.2);
    animation-duration: 4.2s;
  }
  .explorer-heart--l2 {
    left: 6%;
    top: 40%;
    font-size: 1.2rem;
    color: rgba(232, 99, 122, 0.3);
    animation-duration: 5.1s;
  }
  .explorer-heart--l3 {
    left: 1.5%;
    top: 64%;
    font-size: 2.6rem;
    color: rgba(196, 133, 139, 0.26);
    animation-duration: 6s;
  }
  .explorer-heart--l4 {
    left: 7%;
    top: 80%;
    font-size: 1rem;
    color: rgba(232, 99, 122, 0.35);
    animation-duration: 3.8s;
  }
  .explorer-heart--l5 {
    left: 4%;
    top: 26%;
    font-size: 1.5rem;
    color: rgba(196, 133, 139, 0.35);
    animation-duration: 4.8s;
  }
  .explorer-heart--r1 {
    right: 2.5%;
    top: 18%;
    font-size: 2.3rem;
    color: rgba(232, 99, 122, 0.24);
    animation-duration: 5.4s;
  }
  .explorer-heart--r2 {
    right: 7%;
    top: 46%;
    font-size: 1.15rem;
    color: rgba(232, 99, 122, 0.32);
    animation-duration: 3.6s;
  }
  .explorer-heart--r3 {
    right: 1.5%;
    top: 70%;
    font-size: 1.9rem;
    color: rgba(196, 133, 139, 0.32);
    animation-duration: 4.5s;
  }
  .explorer-heart--r4 {
    right: 8%;
    top: 30%;
    font-size: 1.35rem;
    color: rgba(232, 99, 122, 0.28);
    animation-duration: 5.8s;
  }
  .explorer-heart--r5 {
    right: 4%;
    top: 84%;
    font-size: 2.5rem;
    color: rgba(232, 99, 122, 0.18);
    animation-duration: 6.2s;
  }

  @keyframes explorer-float-y {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(0, -16px, 0);
    }
  }
}

@media (min-width: 1024px) {
  body.explorer-page,
  body.messages-page,
  body.messages-inbox-page,
  body.history-page,
  body.likes-page {
    --explorer-col: min(100% - 3rem, 52rem);
    --explorer-chrome: 5.1rem;
    --explorer-dock: 4.7rem;
  }

  body.explorer-page.has-explorer-search,
  body.explorer-page:has(.explorer-search) {
    --explorer-chrome: 7.45rem;
  }

  .explorer__feed {
    padding: 0.2rem 1rem 0.25rem;
  }

  .explorer__slide {
    padding: 0;
  }

  .explorer__meta {
    padding: 0 1.25rem 2.1rem;
  }

  .explorer__bottom {
    padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }

  .explorer-heart {
    position: absolute;
    line-height: 1;
    user-select: none;
    will-change: transform;
    animation-name: explorer-float-y;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  .explorer-heart--l1 {
    left: 3%;
    top: 12%;
    font-size: 2.8rem;
    color: rgba(232, 99, 122, 0.22);
    animation-duration: 4.2s;
  }
  .explorer-heart--l2 {
    left: 8%;
    top: 38%;
    font-size: 1.7rem;
    color: rgba(232, 99, 122, 0.32);
    animation-duration: 5.1s;
    animation-delay: -1s;
  }
  .explorer-heart--l3 {
    left: 2%;
    top: 62%;
    font-size: 3.6rem;
    color: rgba(196, 133, 139, 0.28);
    animation-duration: 6s;
    animation-delay: -2.2s;
  }
  .explorer-heart--l4 {
    left: 10%;
    top: 78%;
    font-size: 1.35rem;
    color: rgba(232, 99, 122, 0.4);
    animation-duration: 3.8s;
    animation-delay: -0.6s;
  }
  .explorer-heart--l5 {
    left: 5%;
    top: 24%;
    font-size: 2.1rem;
    color: rgba(196, 133, 139, 0.4);
    animation-duration: 4.8s;
    animation-delay: -1.8s;
  }
  .explorer-heart--r1 {
    right: 4%;
    top: 16%;
    font-size: 3.2rem;
    color: rgba(232, 99, 122, 0.26);
    animation-duration: 5.4s;
  }
  .explorer-heart--r2 {
    right: 9%;
    top: 44%;
    font-size: 1.5rem;
    color: rgba(232, 99, 122, 0.34);
    animation-duration: 3.6s;
    animation-delay: -0.9s;
  }
  .explorer-heart--r3 {
    right: 2.5%;
    top: 68%;
    font-size: 2.5rem;
    color: rgba(196, 133, 139, 0.36);
    animation-duration: 4.5s;
    animation-delay: -1.5s;
  }
  .explorer-heart--r4 {
    right: 11%;
    top: 28%;
    font-size: 1.8rem;
    color: rgba(232, 99, 122, 0.3);
    animation-duration: 5.8s;
    animation-delay: -2.4s;
  }
  .explorer-heart--r5 {
    right: 6%;
    top: 82%;
    font-size: 3.4rem;
    color: rgba(232, 99, 122, 0.2);
    animation-duration: 6.2s;
    animation-delay: -0.4s;
  }

  @keyframes explorer-float-y {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(0, -18px, 0);
    }
  }
}

@media (min-width: 1280px) {
  body.explorer-page,
  body.messages-page,
  body.messages-inbox-page,
  body.history-page,
  body.likes-page {
    --explorer-col: min(56rem, calc(100vw - 28rem));
  }

  .explorer-wing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 12.5rem;
    pointer-events: none;
  }

  .explorer-wing--left {
    left: max(1.25rem, calc((100vw - var(--explorer-col)) / 2 - 14rem));
  }

  .explorer-wing--right {
    right: max(1.25rem, calc((100vw - var(--explorer-col)) / 2 - 14rem));
    pointer-events: auto;
  }

  .explorer-wing__kicker {
    margin: 0 0 0.45rem;
    font-family: var(--font-brand);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--rose-primary);
  }

  .explorer-wing__text {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--bordeaux-medium);
  }

  .explorer-wing__card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.1rem 1.15rem;
    border-radius: 1.25rem;
    background: var(--white);
    border: 1px solid rgba(232, 99, 122, 0.16);
    box-shadow: 0 10px 24px rgba(45, 31, 34, 0.08);
    text-decoration: none;
    color: inherit;
  }

  .explorer-wing__card:hover {
    border-color: var(--rose-primary);
  }

  .explorer-wing__icon {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--rose-primary);
    color: var(--white);
    font-size: 0.95rem;
  }

  .explorer-wing__card strong {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--bordeaux-dark);
  }

  .explorer-wing__card span:last-child {
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--text-secondary);
  }
}

@media (max-width: 767px) {
  .explorer__feed {
    padding-inline: 0.5rem;
  }

  .explorer__actions {
    gap: 0.85rem;
  }

  .explorer__action {
    width: 2.95rem;
    height: 2.95rem;
  }

  .explorer__action svg {
    width: 17px;
    height: 17px;
  }

  .explorer__action--like {
    width: 3.7rem;
    height: 3.7rem;
  }

  .explorer__action--like svg {
    width: 24px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .explorer__actions {
    gap: 0.7rem;
  }

  .explorer__action {
    width: 2.7rem;
    height: 2.7rem;
  }

  .explorer__action svg {
    width: 16px;
    height: 16px;
  }

  .explorer__action--like {
    width: 3.4rem;
    height: 3.4rem;
  }

  .explorer__action--like svg {
    width: 22px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explorer-heart,
  .explorer-rise__heart,
  .explorer-burst__heart,
  .explorer-burst__ring,
  .explorer-burst__core,
  .explorer-pass-burst__bit,
  .explorer-pass-burst__ring,
  .explorer-pass-burst__core,
  .explorer__slide.is-pass-dismiss .explorer__card,
  .explorer__go-profile-avatar,
  .explorer-gate__panel {
    animation: none !important;
  }

  .explorer__slide.is-pass-dismiss .explorer__card {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .explorer__go-profile,
  .explorer-gate,
  .explorer-gate__panel {
    transition: none !important;
  }
}

body.is-explorer-gate {
  overflow: hidden;
}

.explorer-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.explorer-gate.is-open {
  opacity: 1;
  pointer-events: auto;
}

.explorer-gate[hidden] {
  display: none !important;
}

.explorer-gate.is-open[hidden] {
  display: grid !important;
}

.explorer-gate__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(45, 31, 34, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.explorer-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 22.5rem);
  padding: 1.75rem 1.4rem 1.5rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(45, 31, 34, 0.18);
  text-align: center;
  transform: translateY(0.85rem) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.explorer-gate.is-open .explorer-gate__panel {
  transform: translateY(0) scale(1);
}

.explorer-gate__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--bordeaux-medium);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.explorer-gate__close:hover {
  background: var(--white);
  color: var(--rose-primary);
}

.explorer-gate__brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-brand);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rose-primary);
  justify-content: center;
}

.explorer-gate__brand > img {
  width: 1.55rem;
  height: 1.55rem;
}

.explorer-gate h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--bordeaux-dark);
}

.explorer-gate__lead {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.explorer-gate__actions {
  display: grid;
  gap: 0.65rem;
}

.explorer-gate__actions > button {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.explorer-gate__social,
.explorer-gate__primary,
.explorer-gate__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.explorer-gate__social:hover,
.explorer-gate__primary:hover,
.explorer-gate__ghost:hover {
  transform: translateY(-1px);
}

.explorer-gate__social--google {
  background: var(--white);
  color: var(--bordeaux-dark);
  border: 1.5px solid rgba(45, 31, 34, 0.12);
  box-shadow: var(--shadow-sm);
}

.explorer-gate__social--apple {
  background: var(--bordeaux-dark);
  color: var(--white);
}

.explorer-gate__primary {
  background: var(--rose-primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.3);
}

.explorer-gate__primary:hover {
  background: var(--hover-primary);
}

.explorer-gate__ghost {
  background: transparent;
  color: var(--rose-primary);
  border: 1.5px solid rgba(232, 99, 122, 0.28);
}

.explorer-gate__note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 1023px) {
  .explorer-gate {
    padding: 0.85rem;
    align-items: center;
  }

  .explorer-gate__panel {
    width: min(100%, 20rem);
    padding: 1.25rem 1.1rem 1.05rem;
    border-radius: 1.25rem;
  }

  .explorer-gate__close {
    top: 0.5rem;
    right: 0.5rem;
    width: 1.85rem;
    height: 1.85rem;
  }

  .explorer-gate__brand {
    margin-bottom: 0.3rem;
    font-size: 2.1rem;
  }

  .explorer-gate__brand > img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .explorer-gate h2 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
  }

  .explorer-gate__lead {
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .explorer-gate__actions {
    gap: 0.45rem;
  }

  .explorer-gate__social,
  .explorer-gate__primary,
  .explorer-gate__ghost {
    min-height: 2.55rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.84rem;
    gap: 0.4rem;
  }

  .explorer-gate__note {
    margin-top: 0.7rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .explorer-gate {
    padding: 0.65rem;
  }

  .explorer-gate__panel {
    width: min(100%, 18.5rem);
    padding: 1.05rem 0.9rem 0.9rem;
    border-radius: 1.1rem;
  }

  .explorer-gate__brand {
    font-size: 1.85rem;
  }

  .explorer-gate h2 {
    font-size: 1.12rem;
  }

  .explorer-gate__lead {
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
  }

  .explorer-gate__social,
  .explorer-gate__primary,
  .explorer-gate__ghost {
    min-height: 2.35rem;
    font-size: 0.8rem;
  }
}

/* ?? Page profil visit? (glass, premium) ?? */
body.visit-profil-page {
  background: var(--cream);
  min-height: 100dvh;
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

body.visit-profil-page::before,
body.visit-profil-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

body.visit-profil-page::before {
  width: 26rem;
  height: 26rem;
  background: var(--rose-pale);
  top: -8rem;
  right: -7rem;
}

body.visit-profil-page::after {
  width: 22rem;
  height: 22rem;
  background: var(--rose-light);
  bottom: 3rem;
  left: -9rem;
}

.visit {
  width: min(100%, 34rem);
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: transparent;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.visit__intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  padding: 0 1rem;
}

.visit-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.visit__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
}

.visit__nav-back,
.stories__back,
.history__back {
  justify-self: start;
}

.visit__nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bordeaux-dark);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  cursor: pointer;
}

.visit__nav-btn:hover {
  background: var(--white);
  color: var(--rose-primary);
}

.visit__nav-spacer {
  width: 2.75rem;
  height: 2.75rem;
}

.visit__nav-brand {
  margin: 0;
  justify-self: center;
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(45, 31, 34, 0.35);
}

.visit__nav-brand > span {
  color: var(--white) !important;
}

.visit__nav-brand > img {
  width: 1.25rem;
  height: 1.25rem;
  filter: drop-shadow(0 1px 4px rgba(45, 31, 34, 0.3));
}

.visit__hero {
  position: relative;
  height: clamp(22rem, 58vh, 32rem);
  overflow: hidden;
  background: var(--rose-pale);
  border-radius: 1.5rem;
}

.visit__hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 1.5rem;
}

.visit__hero-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--white);
  background: var(--bordeaux);
  border-radius: 1.5rem;
}

.visit__hero-veil {
  position: absolute;
  inset: 0;
  background: rgba(45, 31, 34, 0.28);
  pointer-events: none;
}

.visit__hero-chips {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 5.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  z-index: 2;
}

.visit__media > .visit__hero-chips {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
}

.visit__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--bordeaux-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.visit__chip--live {
  color: var(--success);
}
.visit__chip--ok {
  color: var(--info);
}
.visit__chip--vip {
  color: var(--vip);
}

.visit__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.visit__sheet {
  position: relative;
  z-index: 3;
  margin-top: 0.85rem;
  padding: 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.visit__identity {
  border-radius: 1.5rem;
  padding: 1.15rem 1.15rem 1.05rem;
}

.visit__identity-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.visit__who {
  min-width: 0;
  flex: 1;
}

.visit__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-weight: 700;
  color: var(--bordeaux-dark);
  line-height: 1.15;
}

.visit__age {
  font-weight: 500;
  color: var(--text-secondary);
}

.visit__location {
  margin: 0.45rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.visit__location svg {
  color: var(--rose-primary);
  flex-shrink: 0;
}

.visit__role {
  margin: 0.35rem 0 0;
  color: var(--rose-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}

.visit__compat {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}

.visit__compat-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.visit__compat-track {
  fill: none;
  stroke: var(--rose-light);
  stroke-width: 6;
}

.visit__compat-value {
  fill: none;
  stroke: var(--rose-primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 188.4;
  stroke-dashoffset: calc(188.4 - (188.4 * var(--compat, 80) / 100));
}

.visit__compat-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.05;
}

.visit__compat-label strong {
  font-size: 0.95rem;
  color: var(--rose-primary);
}

.visit__compat-label span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.visit__ig {
  padding: 1rem 1.05rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 1.35rem;
  box-shadow: var(--glass-shadow);
}

.visit__ig-top {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.visit__ig .visit__media {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  display: block !important;
  position: static !important;
  top: auto !important;
  border: 0;
  border-radius: 0 !important;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.visit__ig .visit__photo-stage {
  box-sizing: border-box;
  display: grid;
  width: 5.85rem !important;
  max-width: 5.85rem !important;
  height: 5.85rem !important;
  min-height: 5.85rem !important;
  aspect-ratio: 1 !important;
  margin: 0 !important;
  padding: 3px !important;
  flex-shrink: 0;
  border-radius: 50% !important;
  overflow: hidden;
  background: var(--rose-primary) !important;
  border: 0;
  box-shadow: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.visit__ig .visit__hero {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 1 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid var(--white);
  border-radius: 50% !important;
  overflow: hidden;
  background: var(--rose-pale);
  box-shadow: none;
}

.visit__ig .visit__hero-img,
.visit__ig .visit__hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50% !important;
}

.visit__ig .visit__hero-fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--white);
  background: var(--bordeaux);
}

.visit__ig .visit__identity {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.visit__ig .visit__identity-top {
  margin: 0;
}

.visit__ig .visit__name {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
  line-height: 1.3;
}

.visit__name-main {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.visit__ig .visit__age {
  font-weight: 500;
  color: var(--text-secondary);
}

.visit__verified {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--rose-primary);
  color: var(--white);
  flex-shrink: 0;
}

.visit__handle {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.visit__stats {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  text-align: center;
}

.visit__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.visit__stats strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
  line-height: 1.1;
}

.visit__stats span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.visit__ig-bio {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--bordeaux-dark);
  line-height: 1.45;
}

.visit__ig-bio:empty,
.visit__ig-bio[hidden] {
  display: none;
}

.visit__ig-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.visit__ig .visit__photo-action {
  width: auto;
  min-height: 2.75rem;
  padding: 0 1.05rem;
  font-size: 0.82rem;
}

.visit__photo-action--primary,
.visit__ig .visit__photo-action--primary {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
}

.visit__photo-action--primary:hover,
.visit__ig .visit__photo-action--primary:hover {
  background: var(--hover-primary);
  color: var(--white);
}

.visit__subtab--modal {
  margin-left: auto;
}

.visit__photo-remove {
  appearance: none;
  min-height: 2.35rem;
  padding: 0 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  background: var(--white);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.visit__photo-remove:hover {
  color: var(--error);
  border-color: var(--error);
}

.visit__ig .visit__hero-chips {
  position: static;
  margin: 0.7rem 0 0;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: auto;
}

.visit__ig .visit__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.visit__ig .visit__action--msg {
  flex: 1;
  min-width: 0;
}

.visit__ig .visit__compat {
  width: 3.85rem;
  height: 3.85rem;
  background: var(--white);
  border-radius: 50%;
}

.visit__actions {
  display: grid;
  grid-template-columns: 3.1rem 1fr 3.1rem;
  gap: 0.65rem;
  margin-top: 1.05rem;
  align-items: center;
}

.visit__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.visit__action:hover {
  transform: translateY(-1px);
}

.visit__action--ghost,
.visit__action--like {
  width: 3.1rem;
  background: var(--white);
  color: var(--bordeaux-medium);
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  box-shadow: var(--shadow-sm);
}

.visit__action--like {
  background: var(--rose-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.35);
}

.visit__action--like.is-on {
  background: var(--hover-primary);
}

.visit__action--like:hover {
  background: var(--hover-primary);
}

.visit__action--msg {
  background: var(--bordeaux-dark);
  color: var(--white);
  padding: 0 1.1rem;
}

.visit:not(.visit--own) .visit__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: none;
}

.visit:not(.visit--own) .visit__action--msg {
  flex: 1;
}

.visit__action--msg:hover {
  background: var(--bordeaux);
}

.visit__action--msg-muted {
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--rose-light);
  box-shadow: none;
}

.visit__action--msg-muted:hover {
  background: var(--rose-pale);
  color: var(--text-primary);
}

.visit__trust {
  border-radius: 1.25rem;
  padding: 0.85rem 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.visit__trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.visit__trust-ico {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.visit__trust-item strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--bordeaux-dark);
}

.visit__trust-item p {
  margin: 0.15rem 0 0;
  font-size: 0.65rem;
  line-height: 1.3;
  color: var(--text-muted);
}

.visit__why {
  margin: 0.75rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  background: #fce4ec;
}

.visit__why .visit__kicker {
  margin: 0 0 0.45rem;
  color: #c2185b;
}

.visit__why-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visit__why-list li {
  position: relative;
  padding-left: 0.95rem;
  margin: 0.28rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #2d1f22;
}

.visit__why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #c2185b;
}

.visit__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.visit__tab {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0.7rem 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.visit__tab.is-active {
  background: var(--rose-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(232, 99, 122, 0.28);
}

.visit--own .visit__tabs {
  grid-template-columns: repeat(4, 1fr);
}

.visit--own .visit__tab {
  font-size: 0.76rem;
  padding: 0.62rem 0.15rem;
}

.visit__panel[hidden] {
  display: none !important;
}

.visit__panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.visit__card {
  border-radius: 1.25rem;
  padding: 1.15rem 1.15rem 1.2rem;
}

.visit__card-head .visit__card-title {
  margin-bottom: 0.3rem;
}

.visit__card-head .visit__card-lead {
  margin: 0;
}

.visit__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-secondary);
  font-weight: 700;
}

.visit-form-block {
  padding: 0.95rem 0 0.15rem;
  border-top: 1px solid rgba(232, 99, 122, 0.1);
}

.visit-form-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.visit-form-block h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--bordeaux-dark);
  font-weight: 700;
}

.visit__photo-stage {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 1.5rem;
}

.visit__photo-stage .visit__hero {
  height: clamp(18rem, 54vw, 26rem);
  border-radius: 1.5rem;
}

.visit__card-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--bordeaux-dark);
}

.visit__card-lead {
  margin: -0.15rem 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.visit__about-text {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.visit__about-text--muted {
  color: var(--text-muted);
  font-style: italic;
}

.visit__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.visit__facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(232, 99, 122, 0.1);
}

.visit__facts li:last-child {
  border-bottom: 0;
}

.visit__facts span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.visit__facts strong {
  color: var(--bordeaux-dark);
  font-weight: 600;
  text-align: right;
  font-size: 0.92rem;
  max-width: 62%;
  overflow-wrap: anywhere;
}

.visit__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.visit__pills > span {
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--rose-pale);
  color: var(--bordeaux-medium);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(232, 99, 122, 0.14);
}

.visit__pills > span.is-on {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
}

.visit__prompt-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-primary);
  font-weight: 700;
}

.visit__prompt-answer {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--bordeaux-dark);
  font-style: italic;
}

.visit__prompt-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.visit__invite {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.visit__invite .visit__about-text {
  margin: 0;
}

.visit__invite-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--rose-primary);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.28);
}

.visit__invite-cta:hover {
  background: var(--hover-primary);
}

.visit__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0 0.15rem;
  margin-top: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.visit__thumbs::-webkit-scrollbar {
  display: none;
}

.visit__thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid rgba(232, 99, 122, 0.15);
  border-radius: 12px;
  overflow: hidden;
  background: var(--rose-pale);
  cursor: pointer;
  appearance: none;
}

.visit__thumb:hover,
.visit__thumb:focus-visible {
  border-color: var(--rose-primary);
  outline: none;
}

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

.profile-modal .visit__thumbs {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0.15rem 0.15rem;
  margin-top: 0.35rem;
  min-height: 80px;
  width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.profile-modal .visit__thumbs::-webkit-scrollbar {
  display: none;
}

.profile-modal .visit__thumb,
.profile-modal .visit__thumb.visit__gallery-open {
  position: relative;
  inset: auto;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  padding: 0;
  display: block;
}

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

.visit__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(8.2rem, 28vw);
  grid-auto-flow: dense;
  gap: 3px;
}

.visit__gallery-item {
  position: relative;
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--rose-pale);
  display: grid;
  place-items: center;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.visit__gallery-open {
  appearance: none;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.visit__gallery-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 1.15rem;
}

.visit__gallery-item:nth-child(9n + 3),
.visit__gallery-item:nth-child(9n + 7) {
  grid-column: span 2;
}

.visit__gallery-item:only-child {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.visit__affinity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.visit__affinity li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 1rem;
  background: var(--rose-pale);
}

.visit__affinity-score {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-primary);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1.5px solid rgba(232, 99, 122, 0.25);
}

.visit__affinity strong {
  display: block;
  color: var(--bordeaux-dark);
  font-size: 0.92rem;
}

.visit__affinity p {
  margin: 0.2rem 0 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

.visit__bars {
  display: grid;
  gap: 0.85rem;
}

.visit__bar span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.visit__bar i {
  display: block;
  height: 0.55rem;
  width: 100%;
  border-radius: var(--radius-pill);
  background: var(--rose-light);
  position: relative;
  overflow: hidden;
}

.visit__bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: inherit;
  background: var(--rose-primary);
}

.visit__dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0.65rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(253, 245, 240, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(232, 99, 122, 0.12);
}

.visit__dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.visit__dock-btn--ghost {
  background: var(--white);
  color: var(--bordeaux-dark);
  border: 1.5px solid rgba(232, 99, 122, 0.25);
}

.visit__dock-btn--primary {
  background: var(--rose-primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.3);
}

.visit__dock-btn--primary:hover {
  background: var(--hover-primary);
}

@media (max-width: 480px) {
  .visit__hero {
    height: clamp(20rem, 52vh, 26rem);
  }

  .visit__sheet {
    margin-top: 0.75rem;
    padding-inline: 0.75rem;
  }

  .visit__trust {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .visit__trust-item {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }

  .visit__actions {
    grid-template-columns: 2.85rem 1fr 2.85rem;
  }

  .visit__action--ghost,
  .visit__action--like {
    width: 2.85rem;
    min-height: 2.85rem;
  }

  .visit__tab {
    font-size: 0.8rem;
    padding: 0.62rem 0.25rem;
  }

  .visit__nav-brand {
    font-size: 1.55rem;
  }
}

@media (min-width: 640px) {
  .visit__invite {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .visit__invite-cta {
    flex-shrink: 0;
  }

  .visit__gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(9.5rem, 18vw);
    gap: 4px;
  }

  .visit__gallery-item:nth-child(9n + 1),
  .visit__gallery-item:nth-child(9n + 2) {
    grid-column: 1;
  }

  .visit__gallery-item:nth-child(9n + 3) {
    grid-column: 2 / span 2;
    grid-row: span 2;
  }

  .visit__gallery-item:nth-child(9n + 7) {
    grid-column: 1 / span 2;
    grid-row: span 2;
  }

  .visit__gallery-item:nth-child(9n + 8),
  .visit__gallery-item:nth-child(9n + 9) {
    grid-column: 3;
  }

  .visit__gallery-item:first-child:nth-last-child(2),
  .visit__gallery-item:last-child:nth-child(2) {
    grid-column: auto;
    grid-row: span 2;
  }
}

@media (min-width: 768px) {
  .visit {
    width: min(100%, 1200px);
    max-width: 1200px;
  }

  .visit__dock {
    width: min(100%, 1200px);
    padding-inline: 1.25rem;
  }

  .visit__hero {
    height: clamp(22rem, 48vh, 30rem);
  }

  .visit__sheet {
    padding-inline: 1.25rem;
  }
}

@media (min-width: 900px) {
  .visit {
    display: grid;
    grid-template-columns: minmax(17.5rem, 22.5rem) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-items: start;
    column-gap: 1.35rem;
    padding: 1.1rem 1.35rem 6.75rem;
    background: transparent;
  }

  .visit__nav {
    grid-column: 1 / -1;
    position: relative;
    padding: 0.15rem 0 0.9rem;
  }

  .visit__nav-brand {
    color: var(--rose-primary);
    text-shadow: none;
    font-size: 2rem;
  }

  .visit__nav-brand > span {
    color: var(--rose-primary) !important;
  }

  .visit__nav-brand > img {
    filter: none;
  }

  .visit:not(.visit--own) .visit__intro {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0;
  }

  .visit__media {
    grid-column: 1;
    grid-row: 2;
    padding: 0 !important;
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.7rem;
  }

  .visit:not(.visit--own) .visit__media {
    flex: 0 0 min(22rem, 38%);
    width: min(22rem, 38%);
    max-width: 38%;
    position: relative;
    top: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .visit:not(.visit--own) .visit__hero,
  .visit:not(.visit--own) .visit__photo-stage .visit__hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .visit:not(.visit--own) .visit__hero-img {
    object-fit: cover;
    object-position: center 22%;
  }

  .visit:not(.visit--own) .visit__identity {
    flex: 1;
    min-width: 0;
  }

  .visit:not(.visit--own) .visit__sheet {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .visit__hero {
    grid-column: auto;
    grid-row: auto;
    position: relative;
    height: min(32rem, calc(100dvh - 11rem));
    min-height: 20rem;
    border-radius: 1.5rem;
  }

  .visit__photo-stage .visit__hero {
    height: min(30rem, calc(100dvh - 13rem));
  }

  .visit__hero-chips {
    bottom: 1.1rem;
  }

  .visit__hero-edit {
    display: none;
  }

  .visit__sheet {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    padding: 0;
    min-width: 0;
  }

  .visit__identity {
    padding: 1.35rem 1.4rem 1.2rem;
  }

  .visit__panel:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    align-items: start;
  }

  #panel-gallery:not([hidden]),
  #panel-filters:not([hidden]) {
    grid-template-columns: 1fr;
  }

  #panel-settings:not([hidden]) {
    grid-template-columns: 1fr;
  }

  #panel-settings .visit-flash,
  #panel-settings .visit__subtabs,
  #panel-settings .visit__settings-panel {
    grid-column: 1 / -1;
  }

  #panel-settings .visit__settings-panel:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    align-items: start;
  }

  #panel-settings .visit__settings-panel:not([hidden]) .visit__card--form,
  #panel-settings .visit__settings-panel:not([hidden]) .visit__card--plans,
  #panel-settings .visit__settings-panel:not([hidden]) .visit__card--account {
    grid-column: 1 / -1;
  }

  .visit-form {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

  .visit-form-block,
  .visit-form__row,
  .visit-form__check,
  .visit-form__field:has(textarea) {
    grid-column: 1 / -1;
  }

  .visit__gallery {
    grid-auto-rows: minmax(10.5rem, 13.75rem);
  }
}

/* Mon profil — édition sur la fiche visit */
.visit__action,
.visit__dock-btn {
  font-family: inherit;
  cursor: pointer;
}

button.visit__action,
button.visit__dock-btn {
  appearance: none;
  width: 100%;
  border: 0;
}

button.visit__action.visit__action--ghost,
button.visit__action.visit__action--like {
  width: 3.1rem;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
}

button.visit__action.visit__action--like {
  border-color: transparent;
}

.visit__hero-edit {
  display: none;
}

.visit--own .visit__sheet {
  margin-top: 0.85rem;
}

.visit__role:empty {
  display: none;
}

.visit--own .visit__nav {
  position: relative;
  padding: 0.6rem 0.75rem 0.45rem;
}

.visit--own .visit__nav-brand,
.visit--own .visit__nav-brand > span {
  color: var(--rose-primary) !important;
  text-shadow: none;
}

.visit--own .visit__nav-brand > img {
  filter: none;
}

.visit:not(.visit--own) .visit__hero-img {
  object-fit: cover;
  object-position: center 22%;
}

.visit:not(.visit--own) .visit__intro {
  padding-top: 4.4rem;
}

.visit:not(.visit--own) .visit__media {
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.visit--own .visit__media {
  display: grid;
  gap: 0.65rem;
  padding: 0 0.75rem;
}

.visit--own .visit__photo-stage {
  padding: 0.4rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1.35rem;
}

.visit--own .visit__hero {
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--glass-bg);
}

.visit--own .visit__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.visit--own .visit__hero-fallback {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
}

.visit--own .visit__photo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  justify-self: start;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(232, 99, 122, 0.35);
}

.visit--own .visit__ig .visit__photo-action--primary {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 12px rgba(232, 99, 122, 0.28);
}

.visit--own .visit__ig .visit__photo-action--primary:hover {
  background: var(--hover-primary);
  color: var(--white);
  border-color: var(--hover-primary);
}

.visit--own .visit__ig .visit__photo-action:not(.visit__photo-action--primary) {
  background: var(--white);
  color: var(--rose-primary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.visit--own
  .visit__ig
  .visit__photo-action:not(.visit__photo-action--primary):hover {
  background: var(--rose-pale);
}

.visit--own .visit__compat--on-photo {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  width: 3.65rem;
  height: 3.65rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.visit--own .visit__compat--on-photo .visit__compat-label strong {
  font-size: 0.78rem;
}

.visit--own .visit__compat--on-photo .visit__compat-label span {
  font-size: 0.52rem;
}

.visit--own .visit__hero .visit__gallery-remove {
  top: auto;
  bottom: 0.5rem;
  right: 0.5rem;
}

.visit--own .visit__media .visit__identity {
  width: min(100%, 14.75rem);
  margin-inline: auto;
  padding: 0.85rem 0.9rem 0.8rem;
  text-align: center;
}

.visit--own .visit__media .visit__identity-top {
  justify-content: center;
}

.visit--own .visit__media .visit__name {
  font-size: 1.35rem;
}

.visit--own .visit__media .visit__location {
  justify-content: center;
}

.visit--own .visit__tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  margin-bottom: 0.2rem;
  background: var(--cream);
}

.visit--own #panel-settings .visit__subtabs {
  position: sticky;
  top: 3.15rem;
  z-index: 7;
  margin-bottom: 0.35rem;
}

.visit__photo-action {
  appearance: none;
  width: 100%;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  background: var(--white);
  color: var(--rose-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.visit__photo-action:hover {
  background: var(--rose-pale);
}

.visit__label {
  margin: 0.9rem 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-secondary);
  font-weight: 700;
}

.visit__label:first-of-type {
  margin-top: 0.15rem;
}

.visit__card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(232, 99, 122, 0.12);
}

.visit__save {
  appearance: none;
  min-height: 2.75rem;
  padding: 0 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.visit__save:hover {
  background: var(--hover-primary);
}

.visit__save:disabled {
  opacity: 0.6;
}

.visit__save-msg {
  margin: 0;
  flex: 1;
  font-size: 0.82rem;
  color: #1b5e20;
}

.visit__save-msg.is-error {
  color: #b71c1c;
}

.visit__save-msg--plans {
  flex: none;
  width: 100%;
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  font-weight: 600;
}

.visit__save-msg--plans.is-error {
  background: #fdecea;
  color: #b71c1c;
}

.visit--own .visit__gallery {
  gap: 0.75rem;
  grid-auto-rows: auto;
  grid-auto-flow: row;
}

.visit--own .visit__gallery-item,
.visit--own .visit__gallery-item:only-child,
.visit--own .visit__gallery-item:nth-child(9n + 3),
.visit--own .visit__gallery-item:nth-child(9n + 7) {
  grid-column: auto;
  grid-row: auto;
}

.visit--own .visit__gallery-item {
  display: block;
  height: auto;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(45, 31, 34, 0.08);
  border-radius: 1.15rem;
  overflow: hidden;
}

.visit--own .visit__gallery-frame {
  position: relative;
  flex: none;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 4;
  display: block;
  background: var(--rose-pale);
  border-radius: 0.9rem;
  overflow: hidden;
}

.visit--own .visit__gallery-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.visit--own .visit__gallery-flag,
.visit--own .visit__gallery-remove,
.visit--own .visit__gallery-primary {
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 0;
  border-radius: 999px;
  min-height: 1.65rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--bordeaux-dark);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.visit--own .visit__gallery-flag {
  top: 0.45rem;
  left: 0.45rem;
  color: var(--rose-primary);
  cursor: default;
  flex: none;
}

.visit--own .visit__gallery-remove {
  top: 0.45rem;
  right: 0.45rem;
  cursor: pointer;
}

.visit--own .visit__gallery-remove:hover {
  color: var(--error);
  background: var(--white);
}

.visit--own .visit__gallery-primary {
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.45rem;
  width: auto;
  cursor: pointer;
}

.visit--own .visit__gallery-primary:hover {
  background: var(--white);
  color: var(--rose-primary);
}

.visit--own .visit__gallery-toolbar {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 0.85rem;
}

.visit--own .visit__gallery-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  min-height: 2.55rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(232, 99, 122, 0.35);
}

.visit--own .visit__gallery-add[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .visit:not(.visit--own) .visit__intro {
    padding-inline: 1.25rem;
  }

  .visit:not(.visit--own) .visit__media {
    padding-inline: 0;
  }

  .visit--own .visit__media {
    padding-inline: 1.25rem;
  }
}

@media (min-width: 900px) {
  .visit--own {
    padding-bottom: 2rem;
  }

  .visit--own .visit__tab {
    font-size: 0.88rem;
    padding: 0.7rem 0.4rem;
  }

  .visit--own .visit__subtabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .visit--own .visit__subtabs::-webkit-scrollbar {
    display: none;
  }

  #panel-settings .visit-form {
    grid-template-columns: 1fr;
  }

  .visit--own .visit__nav {
    padding: 0.15rem 0 0.9rem;
  }

  .visit--own .visit__media {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    position: sticky;
    top: 1rem;
  }

  .visit--own .visit__hero {
    position: relative;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .visit--own #panel-about:not([hidden]) {
    grid-template-columns: 1fr;
  }
}

.visit--own .visit__photo-stage,
.visit:not(.visit--own) .visit__photo-stage {
  width: min(100%, 14.75rem);
  margin-inline: auto;
}

.profile-modal .visit .visit__photo-stage,
.profile-modal .visit__photo-stage {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0;
}

.visit--own .visit__photo-stage .visit__hero,
.visit:not(.visit--own) .visit__photo-stage .visit__hero {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
}

.visit:not(.visit--own) .visit__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-modal .visit:not(.visit--own) .visit__hero-img {
  object-fit: contain;
  object-position: center;
}

.profile-modal .visit__hero-img {
  object-fit: contain;
  object-position: center;
}

@media (min-width: 640px) {
  .visit--own .visit__photo-stage,
  .visit:not(.visit--own) .visit__photo-stage {
    width: min(100%, 16.25rem);
  }
}

@media (min-width: 900px) {
  .visit--own .visit__photo-stage,
  .visit:not(.visit--own) .visit__photo-stage {
    width: min(100%, 17.5rem);
  }

  .visit--own .visit__photo-stage .visit__hero,
  .visit:not(.visit--own) .visit__photo-stage .visit__hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

.visit__flash {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 240, 243, 0.9);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.visit__flash.is-error {
  background: #ffebee;
  color: #b71c1c;
}

.visit-form {
  display: grid;
  gap: 0.75rem;
}

.visit-form--profile {
  gap: 1rem;
}

/* Champs profil / compte — fond crème + bordure visible (évite le blanc sur blanc) */
.visit-form--profile .visit-form__field input,
.visit-form--profile .visit-form__field select,
.visit-form--profile .visit-form__field textarea,
.visit-account-form .visit-form__input,
.visit-account-form .visit-form__field input,
.visit-account-form .visit-form__field select,
.visit-account-form .visit-form__field textarea,
.visit-account-panel .visit-form__input {
  background-color: var(--cream);
  border: 1.5px solid rgba(61, 32, 36, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 2px rgba(45, 31, 34, 0.04);
}

.visit-form--profile .visit-form__field select,
.visit-account-form .visit-form__field select {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8637A' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.visit-form--profile .visit-form__field input::placeholder,
.visit-form--profile .visit-form__field textarea::placeholder,
.visit-account-form .visit-form__input::placeholder,
.visit-account-form .visit-form__field input::placeholder,
.visit-account-form .visit-form__field textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.visit-form--profile .visit-form__field input:focus,
.visit-form--profile .visit-form__field select:focus,
.visit-form--profile .visit-form__field textarea:focus,
.visit-account-form .visit-form__input:focus,
.visit-account-form .visit-form__field input:focus,
.visit-account-form .visit-form__field select:focus,
.visit-account-form .visit-form__field textarea:focus {
  background-color: var(--white);
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.16);
}

.visit-form--profile .visit-form-group__body {
  background: var(--rose-pale);
}

.visit-form-group {
  border: 1px solid rgba(232, 99, 122, 0.14);
  border-radius: 20px;
  background: var(--white);
  overflow: hidden;
}

.visit-form-group--account {
  background: var(--rose-pale);
  border-color: rgba(232, 99, 122, 0.22);
}

.visit-form-group__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.05rem 0.85rem;
  border-bottom: 1px solid rgba(232, 99, 122, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.visit-form-group__head--actions {
  align-items: center;
  flex-wrap: wrap;
}

.visit-form-group__intro {
  flex: 1;
  min-width: 0;
}

.visit-form-group__action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--rose-primary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.visit-form-group__action:hover:not(:disabled) {
  border-color: var(--rose-primary);
  background: var(--rose-pale);
}

.visit-form-group__action:disabled {
  opacity: 0.6;
  cursor: wait;
}

.visit-form-group--account .visit-form-group__head {
  background: rgba(255, 255, 255, 0.55);
}

.visit__card--account {
  background: var(--rose-pale);
  border-color: rgba(232, 99, 122, 0.18);
}

.visit-account-panel {
  display: grid;
  gap: 0.75rem;
  padding: 0.35rem 0.15rem 0.15rem;
}

.visit-account-field {
  display: grid;
  gap: 0.45rem;
}

.visit-account-field__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.visit-account-form {
  display: grid;
  gap: 0.65rem;
}

.visit-account-form[hidden] {
  display: none !important;
}

[data-geo-status].is-error {
  color: var(--error);
}

.visit-form-group__icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.visit-form-group--account .visit-form-group__icon {
  background: var(--white);
}

.visit-form-group__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
  line-height: 1.25;
}

.visit-form-group__lead {
  margin: 0.18rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.visit-form-group__body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.05rem 1.05rem;
}

.visit-form-group__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: 0.15rem;
}

.visit-form__field--full {
  grid-column: 1 / -1;
}

.visit-form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.visit-form-hint--boxed {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(232, 99, 122, 0.14);
}

.visit-account-email__display {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.visit-account-email__display input {
  flex: 1;
  min-width: 0;
}

.visit-account-email__edit {
  appearance: none;
  flex-shrink: 0;
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--rose-primary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.visit-account-email__edit:hover {
  border-color: var(--rose-primary);
  background: var(--rose-pale);
}

.visit-account-email__editor {
  display: grid;
  gap: 0.65rem;
}

.visit-account-email__editor[hidden] {
  display: none !important;
}

.visit-google-badge,
.visit-oauth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid rgba(45, 31, 34, 0.12);
  color: var(--bordeaux-dark);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.visit-oauth-badge--apple {
  background: var(--bordeaux-dark);
  color: var(--white);
  border-color: transparent;
}

.visit-account-password {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(232, 99, 122, 0.22);
  display: grid;
  gap: 0.65rem;
}

.visit-account-password__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
}

.visit-form__password {
  position: relative;
}

.visit-form__password input {
  width: 100%;
  padding-right: 2.6rem;
}

.visit-form__password-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0.2rem;
}

.visit-form__password-toggle:hover {
  color: var(--rose-primary);
}

.visit__save--ghost {
  background: var(--white);
  color: var(--bordeaux-medium);
  border: 1.5px solid rgba(45, 31, 34, 0.12);
}

.visit__save--ghost:hover {
  background: var(--cream);
  color: var(--bordeaux-dark);
}

.visit__card-foot--split {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.visit__card-foot--split .visit__save {
  align-self: flex-end;
}

.visit-form__input {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-weight: 500;
  color: var(--bordeaux-dark);
  background: var(--white);
  min-height: 2.8rem;
}

.visit-form__input:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.16);
}

.visit-form__field input:disabled,
.visit-form__field input[readonly] {
  background: var(--cream);
  color: var(--text-secondary);
  cursor: default;
}

.visit-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.visit-form__field {
  display: grid;
  gap: 0.32rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.visit-form__field input,
.visit-form__field select,
.visit-form__field textarea {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-weight: 500;
  color: var(--bordeaux-dark);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  min-height: 2.8rem;
}

.visit-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8637A' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.visit-form__field textarea {
  min-height: 6.2rem;
  resize: vertical;
}

.visit-form__field input:focus,
.visit-form__field select:focus,
.visit-form__field textarea:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.16);
}

.visit-form__check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
}

.visit-form__check input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--rose-primary);
}

.visit-flash {
  margin: 0 0 0.25rem;
}

.visit-flash__item {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: var(--white);
  color: var(--bordeaux-dark);
  font-weight: 600;
  border: 1px solid rgba(76, 175, 80, 0.35);
}

.visit-flash__item.is-error {
  border-color: rgba(229, 57, 53, 0.35);
  color: var(--error);
}

.visit__meta-line {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.visit__meta-line strong {
  color: var(--bordeaux-dark);
  font-weight: 700;
}

.visit-plans {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0.85rem;
}

/* Paramètres — sous-onglets */
.visit__subtabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.visit__subtabs::-webkit-scrollbar {
  display: none;
}

.visit__settings-logout-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  background: var(--white);
  color: var(--bordeaux-dark);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.visit__settings-logout-link:hover {
  border-color: var(--rose-primary);
  background: var(--rose-pale);
}

.visit__subtab {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.visit__subtab.is-active {
  background: var(--rose-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(232, 99, 122, 0.28);
}

body.is-settings-modal {
  overflow: hidden;
}

.visit--own.has-settings-dock {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

.visit-settings-dock {
  position: fixed;
  left: 50%;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  padding: 0.4rem;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid rgba(232, 99, 122, 0.2);
  box-shadow: var(--shadow-md);
}

.visit-settings-dock[hidden] {
  display: none;
}

.visit-settings-dock__btn {
  appearance: none;
  min-height: 2.55rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  background: var(--white);
  color: var(--bordeaux-dark);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.visit-settings-dock__btn:hover {
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.visit-settings-dock__btn--primary {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
}

.visit-settings-dock__btn--primary:hover {
  background: var(--hover-primary);
  color: var(--white);
}

.visit-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 13100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
}

.visit-settings-modal[hidden] {
  display: none;
}

.visit-settings-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 31, 34, 0.48);
}

.visit-settings-modal__dialog {
  position: relative;
  width: 100%;
  max-height: min(92dvh, 46rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.15rem 1.15rem 0 0;
  background: var(--cream);
  border: 1px solid rgba(232, 99, 122, 0.16);
  box-shadow: var(--shadow-md);
}

.visit-settings-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.85rem 0.9rem;
  padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
  background: var(--white);
  border-bottom: 1px solid rgba(232, 99, 122, 0.12);
}

.visit-settings-modal__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  color: var(--bordeaux-dark);
}

.visit-settings-modal__close {
  appearance: none;
  flex-shrink: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  background: var(--white);
  color: var(--bordeaux-dark);
  cursor: pointer;
}

.visit-settings-modal__body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.75rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 0.75rem;
}

.visit-settings-modal__body .visit__card {
  margin: 0;
  min-width: 0;
}

.visit-settings-modal__body .tl-plans-grid {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.visit-settings-modal__body .tl-plan__cta {
  min-height: 2.75rem;
}

.visit__settings-panel {
  display: grid;
  gap: 0.9rem;
}

.visit__settings-panel[hidden] {
  display: none !important;
}

.visit-sub-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0.35rem 0 1.1rem;
}

.visit-promo-field {
  margin-bottom: 1rem;
}

.visit-promo-hint {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
}

.visit-promo-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.visit-promo-row input {
  flex: 1;
  min-width: 0;
}

.visit-promo-apply {
  flex-shrink: 0;
  white-space: nowrap;
}

.visit-promo-feedback {
  margin: 0.35rem 0 0;
}

.visit__card--plans {
  padding-bottom: 1.35rem;
  background: var(--cream);
  border-color: rgba(232, 99, 122, 0.12);
}

.tl-plans-rail {
  min-width: 0;
}

.tl-plans-rail__hint {
  display: none;
}

/* Abonnements — cartes style comparatif (inspiré Badoo, touche TimaLove) */
.tl-plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tl-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1rem 1rem;
  border-radius: 24px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

/* Une teinte distincte par formule — alternance rose / marron TimaLove */
.tl-plan--premium_1m {
  background: var(--rose-primary);
}

.tl-plan--journee_amoureuse {
  background: var(--rose-dark);
}

.tl-plan--pass_amour {
  background: var(--rose-primary);
}

.tl-plan--eternite {
  background: var(--rose-deep);
}

.tl-plan--vip_1m {
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  box-shadow: 0 8px 24px rgba(232, 99, 122, 0.14);
}

.tl-plan--pass_femme {
  background: var(--bordeaux-medium);
}

.tl-plan--featured {
  box-shadow: 0 12px 28px rgba(232, 99, 122, 0.35);
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

.tl-plan--vip {
  outline: 2px solid var(--vip);
  outline-offset: -2px;
}

.tl-plan.is-current {
  outline: 2px solid var(--rose-light);
  outline-offset: -2px;
}

.tl-plan--journee_amoureuse .tl-plan__compare,
.tl-plan--pass_amour .tl-plan__compare {
  background: rgba(45, 31, 34, 0.22);
}

.tl-plan--eternite .tl-plan__compare,
.tl-plan--pass_femme .tl-plan__compare {
  background: rgba(0, 0, 0, 0.22);
}

.tl-plan--vip_1m .tl-plan__compare {
  background: var(--white);
  border: 1px solid rgba(232, 99, 122, 0.18);
}

.tl-plan--vip_1m .tl-plan__brand-name {
  color: var(--bordeaux-dark);
}

.tl-plan--vip_1m .tl-plan__duration,
.tl-plan--vip_1m .tl-plan__tag {
  color: var(--text-secondary);
}

.tl-plan--vip_1m .tl-plan__compare-head {
  border-bottom-color: rgba(61, 32, 36, 0.1);
}

.tl-plan--vip_1m .tl-plan__compare-col {
  color: var(--text-muted);
}

.tl-plan--vip_1m .tl-plan__compare-row {
  border-bottom-color: rgba(61, 32, 36, 0.08);
}

.tl-plan--vip_1m .tl-plan__feature {
  color: var(--bordeaux-dark);
}

.tl-plan--vip_1m .tl-plan__mark--no {
  color: var(--text-muted);
}

.tl-plan--vip_1m .tl-plan__mark--yes {
  color: var(--vip);
  background: rgba(212, 160, 23, 0.22);
}

.tl-plan--vip_1m .tl-plan__cta--primary {
  background: var(--rose-primary);
  color: var(--white);
}

.tl-plan--vip_1m .tl-plan__cta--primary:hover:not(:disabled) {
  background: var(--hover-primary);
}

.tl-plan--vip_1m .tl-plan__cta--ghost {
  border-color: rgba(61, 32, 36, 0.18);
  color: var(--bordeaux-dark);
}

.tl-plan--vip_1m .tl-plan__cta--ghost:hover:not(:disabled) {
  border-color: var(--rose-primary);
  background: var(--white);
}

.tl-plan__ribbon {
  margin: 0;
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--bordeaux-dark);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tl-plan--pass_amour .tl-plan__ribbon {
  background: var(--bordeaux-dark);
}

.tl-plan--vip .tl-plan__ribbon {
  background: var(--vip);
  color: var(--bordeaux-dark);
}

.tl-plan__tag {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tl-plan__header {
  text-align: center;
  padding: 0.15rem 0.25rem 0;
}

.tl-plan__brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.tl-plan__brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.tl-plan__brand-plan {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rose-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-plan--journee_amoureuse .tl-plan__brand-plan,
.tl-plan--pass_amour .tl-plan__brand-plan {
  color: var(--white);
}

.tl-plan--vip_1m .tl-plan__brand-plan {
  color: var(--vip);
}

.tl-plan__duration {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.tl-plan__price {
  margin: 0.4rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.tl-plan--vip_1m .tl-plan__price {
  color: var(--bordeaux-dark);
}

.tl-plan__cta {
  appearance: none;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  line-height: 1.35;
}

.tl-plan__cta--primary {
  border: 0;
  background: var(--white);
  color: var(--bordeaux-dark);
}

.tl-plan__cta--primary:hover:not(:disabled) {
  background: var(--rose-pale);
}

.tl-plan__cta--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.tl-plan__cta--ghost:hover:not(:disabled) {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.tl-plan__cta:disabled {
  opacity: 0.72;
  cursor: default;
}

.tl-plan__compare {
  border-radius: 18px;
  background: rgba(45, 31, 34, 0.28);
  padding: 0.65rem 0.55rem 0.55rem;
  display: grid;
  gap: 0;
}

.tl-plan__compare-head,
.tl-plan__compare-row {
  display: grid;
  grid-template-columns: 1fr 3.2rem 3.2rem;
  align-items: center;
  gap: 0.35rem;
}

.tl-plan__compare-head {
  padding: 0 0.35rem 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.15rem;
}

.tl-plan__compare-col {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tl-plan__compare-col--plan {
  color: var(--rose-light);
}

.tl-plan--journee_amoureuse .tl-plan__compare-col--plan,
.tl-plan--pass_amour .tl-plan__compare-col--plan {
  color: var(--white);
}

.tl-plan--vip_1m .tl-plan__compare-col--plan {
  color: var(--vip);
}

.tl-plan__compare-row {
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tl-plan__compare-row:last-child {
  border-bottom: 0;
}

.tl-plan__feature {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--white);
  padding-right: 0.25rem;
}

.tl-plan__mark {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  margin: 0 auto;
  border-radius: 50%;
}

.tl-plan__mark--no {
  color: rgba(255, 255, 255, 0.45);
}

.tl-plan__mark--yes {
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
}

.tl-plan--eternite .tl-plan__mark--yes,
.tl-plan--pass_femme .tl-plan__mark--yes {
  background: rgba(232, 99, 122, 0.35);
}

.tl-plan--vip_1m .tl-plan__mark--yes {
  background: rgba(212, 160, 23, 0.22);
  color: var(--vip);
}

.visit__card-lead--notice {
  color: var(--rose-primary);
  font-weight: 600;
}

@media (max-width: 767px) {
  #settings-modal-subscription .visit__card--plans {
    overflow: visible;
  }

  #settings-modal-subscription .tl-plans-rail {
    margin-inline: -0.75rem;
  }

  #settings-modal-subscription .tl-plans-rail__hint {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0.75rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
  }

  #settings-modal-subscription .tl-plans-rail__hint svg {
    flex-shrink: 0;
    color: var(--rose-primary);
  }

  #settings-modal-subscription .tl-plans-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.75rem;
    padding-inline: 0.75rem;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  #settings-modal-subscription .tl-plans-grid::-webkit-scrollbar {
    display: none;
  }

  #settings-modal-subscription .tl-plans-grid::after {
    content: "";
    flex: 0 0 0.75rem;
  }

  #settings-modal-subscription .tl-plan {
    flex: 0 0 84%;
    width: 84%;
    max-width: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (min-width: 640px) {
  .visit-settings-modal {
    align-items: center;
    padding: 0.85rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .visit-settings-modal__dialog {
    width: min(100%, 34rem);
    max-height: min(90dvh, 44rem);
    border-radius: 1.35rem;
  }

  .visit-settings-modal__top {
    padding-top: 0.9rem;
  }

  .visit-settings-modal__body {
    padding: 0.85rem 0.9rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .tl-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  #settings-modal-subscription .tl-plans-grid {
    display: grid;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-inline: 0;
  }

  #settings-modal-subscription .tl-plans-grid::after {
    content: none;
  }

  #settings-modal-subscription .tl-plan {
    flex: unset;
    width: auto;
  }

  #settings-modal-subscription .tl-plans-rail {
    margin-inline: 0;
  }

  #settings-modal-subscription .tl-plans-rail__hint {
    display: none;
  }

  .visit-settings-modal {
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .visit-settings-modal__dialog {
    width: min(40rem, calc(100% - 2rem));
    max-height: min(86dvh, 44rem);
    border-radius: 1.4rem;
  }

  .visit-settings-modal__body .tl-plans-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tl-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .visit-settings-modal__dialog {
    width: min(52rem, calc(100% - 2.5rem));
    max-height: min(88dvh, 46rem);
  }

  .visit-settings-modal__body .tl-plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
  }
}

/* Legacy visit-sub (autres écrans éventuels) */
.visit-sub-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.visit-sub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.1rem 1rem;
  border-radius: 20px;
  border: 1.5px solid rgba(232, 99, 122, 0.18);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(45, 31, 34, 0.05);
}

.visit-sub-card--featured {
  border-color: var(--rose-primary);
  background: var(--rose-pale);
}

.visit-sub-card--vip {
  border-color: rgba(212, 160, 23, 0.45);
  background: var(--white);
}

.visit-sub-card.is-current {
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 1px rgba(232, 99, 122, 0.25);
}

.visit-sub-card__badge {
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--rose-primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.visit-sub-card--vip .visit-sub-card__badge {
  background: var(--vip);
}

.visit-sub-card__head {
  padding-right: 0.5rem;
}

.visit-sub-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
  line-height: 1.2;
}

.visit-sub-card__duration {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.visit-sub-card__price {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--rose-primary);
  font-variant-numeric: tabular-nums;
}

.visit-sub-card--vip .visit-sub-card__price {
  color: var(--vip);
}

.visit-sub-card__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.visit-sub-card__benefits li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.visit-sub-card__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--rose-primary);
}

.visit-sub-card--vip .visit-sub-card__benefits li::before {
  background: var(--vip);
}

.visit-sub-card__cta {
  appearance: none;
  width: 100%;
  margin-top: 0.35rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.visit-sub-card__cta:hover:not(:disabled) {
  background: var(--hover-primary);
}

.visit-sub-card__cta.is-current,
.visit-sub-card__cta:disabled {
  background: var(--rose-light);
  color: var(--bordeaux-medium);
  cursor: default;
}

.visit-sub-card--vip .visit-sub-card__cta {
  background: var(--bordeaux);
}

.visit-sub-card--vip .visit-sub-card__cta:hover:not(:disabled) {
  background: var(--bordeaux-medium);
}

@media (min-width: 640px) {
  .visit-sub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.visit-plan {
  appearance: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  background: var(--white);
  color: var(--bordeaux-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.visit-plan:hover {
  border-color: var(--rose-primary);
  background: var(--rose-pale);
}

.visit-plan.is-current {
  border-color: var(--rose-primary);
  background: var(--rose-pale);
}

.visit-plan strong {
  color: var(--rose-primary);
  font-weight: 700;
  white-space: nowrap;
}

.visit-plan--vip strong {
  color: var(--vip);
}

.visit__save--block {
  width: 100%;
  margin-top: 0.15rem;
}

.visit-notifs__enable {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.visit-notifs__enable[hidden],
.visit-notifs__prefs[hidden] {
  display: none !important;
}

.visit-notifs__enable-btn--active {
  background: var(--white);
  color: var(--success);
  border: 1.5px solid var(--success);
  cursor: default;
  pointer-events: none;
}

.visit-notifs__enable-btn--active:hover {
  background: var(--white);
}

.visit-notifs__prefs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.visit-notifs__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
}

.visit-notifs__status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.visit-notifs__msg {
  margin: 0;
}

.visit-form--checks {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

/* Popup activation notifications */
body.is-notif-popup {
  overflow: hidden;
}

.notif-popup {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.notif-popup[hidden] {
  display: none;
}

.notif-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 31, 34, 0.45);
}

.notif-popup__card {
  position: relative;
  width: min(22rem, 100%);
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: 20px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 12px 40px rgba(45, 31, 34, 0.18);
}

.notif-popup__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.notif-popup--error .notif-popup__icon {
  background: #fdecea;
  color: var(--error);
}

.notif-popup__title {
  margin: 0 0 0.45rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--bordeaux-dark);
}

.notif-popup__text {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.notif-popup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.notif-popup__btn:hover {
  background: var(--hover-primary, #d4556c);
}

body.is-upgrade-popup {
  overflow: hidden;
}

.upgrade-popup,
.upgrade-plans {
  position: fixed;
  inset: 0;
  z-index: 13100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.upgrade-popup[hidden],
.upgrade-plans[hidden] {
  display: none;
}

.upgrade-popup__backdrop,
.upgrade-plans__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 31, 34, 0.48);
}

.upgrade-popup__card {
  position: relative;
  width: min(22.5rem, 100%);
  padding: 1.75rem 1.4rem 1.3rem;
  border-radius: 1.35rem;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 99, 122, 0.16);
}

.upgrade-popup__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-size: 1.2rem;
}

.upgrade-popup__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--bordeaux-dark);
}

.upgrade-popup__text {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.upgrade-popup__actions {
  display: grid;
  gap: 0.5rem;
}

.upgrade-popup__btn {
  appearance: none;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.upgrade-popup__btn--primary {
  border: 0;
  background: var(--rose-primary);
  color: var(--white);
}

.upgrade-popup__btn--primary:hover {
  background: var(--hover-primary);
}

.upgrade-popup__btn--ghost {
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  background: var(--white);
  color: var(--text-secondary);
}

.upgrade-plans {
  align-items: stretch;
}

.upgrade-plans__dialog {
  position: relative;
  width: min(28rem, 100%);
  max-height: min(92dvh, 44rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 99, 122, 0.16);
}

.upgrade-plans__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.1rem 0.85rem;
  background: var(--white);
  border-bottom: 1px solid rgba(232, 99, 122, 0.12);
}

.upgrade-plans__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-secondary);
  font-weight: 700;
}

.upgrade-plans__title {
  margin: 0.2rem 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--bordeaux-dark);
}

.upgrade-plans__lead {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.upgrade-plans__close {
  appearance: none;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  border-radius: 50%;
  background: var(--white);
  color: var(--bordeaux-dark);
  cursor: pointer;
}

.upgrade-plans__promo {
  padding: 0 1rem 0.35rem;
}

.upgrade-plans__promo-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
}

.upgrade-plans__promo-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.upgrade-plans__promo-row input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  border-radius: 0.85rem;
  background: var(--cream);
  color: var(--bordeaux-dark);
  font: inherit;
  font-size: 0.9rem;
}

.upgrade-plans__promo-apply {
  appearance: none;
  flex-shrink: 0;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid rgba(61, 32, 36, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--bordeaux-dark);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.upgrade-plans__promo-feedback {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.upgrade-plans__promo-feedback.is-error {
  color: #e53935;
}

.upgrade-plans__list {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem 1.1rem;
  overflow-y: auto;
}

.upgrade-plan {
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.15rem;
  background: var(--white);
  border: 1.5px solid rgba(232, 99, 122, 0.16);
}

.upgrade-plan.is-featured {
  border-color: var(--rose-primary);
}

.upgrade-plan.is-vip {
  border-color: var(--vip);
}

.upgrade-plan__badge {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose-primary);
}

.upgrade-plan.is-vip .upgrade-plan__badge {
  color: var(--vip);
}

.upgrade-plan__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--bordeaux-dark);
}

.upgrade-plan__meta {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upgrade-plan__price {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rose-primary);
}

.upgrade-plan.is-vip .upgrade-plan__price {
  color: var(--vip);
}

.upgrade-plan__benefits {
  list-style: none;
  margin: 0.7rem 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.upgrade-plan__benefits li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.upgrade-plan__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rose-primary);
}

.upgrade-plan__cta {
  appearance: none;
  width: 100%;
  min-height: 2.65rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.upgrade-plan__cta:hover {
  background: var(--hover-primary);
}

.upgrade-plan.is-vip .upgrade-plan__cta {
  background: var(--bordeaux-dark);
}

.upgrade-plans__status {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--error);
  font-size: 0.85rem;
}

.upgrade-plans__empty {
  margin: 0;
  color: var(--text-secondary);
}

.signup-notif-state {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

.visit-notifs__foot {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visit-ws-test {
  margin-bottom: 1rem;
}

.visit-ws-test__endpoint {
  margin: 0;
  word-break: break-all;
}

.visit-ws-test__msg {
  flex: 1 1 100%;
  margin: 0 0 0.35rem;
}

.visit-notifs__foot .visit__save--ghost {
  flex: 1 1 auto;
  min-width: 8.5rem;
}

.visit__save--danger {
  background: var(--white);
  color: var(--error);
  border: 1.5px solid var(--error);
}

.visit__save--danger:hover {
  background: var(--rose-pale);
}

.visit__pill-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(232, 99, 122, 0.14);
  background: var(--rose-pale);
  color: var(--bordeaux-medium);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.8rem 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.visit__pill-icon {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-primary);
  flex-shrink: 0;
}

.visit__pill-icon svg {
  display: block;
}

.visit__pill-btn > span:not(.visit__pill-icon) {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.visit__pill-btn.is-on {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
}

.visit__pill-btn.is-on .visit__pill-icon {
  background: var(--white);
  color: var(--rose-primary);
}

.visit-values {
  margin: 0 0 0.2rem;
}

.visit-values__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.visit-values__row input {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.8rem;
  font: inherit;
  color: var(--bordeaux-dark);
}

.visit-values__row input:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.16);
}

.visit-values__add {
  appearance: none;
  min-height: 2.55rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.visit-values__add:hover {
  background: var(--hover-primary);
}

.visit-values__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 0.4rem;
}

.visit-values__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2rem;
  padding: 0.2rem 0.35rem 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--rose-pale);
  border: 1px solid rgba(232, 99, 122, 0.28);
  color: var(--bordeaux-medium);
  font-size: 0.82rem;
  font-weight: 600;
}

.visit-values__chip button {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-secondary);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.visit-values__chip button:hover {
  color: var(--error);
}

.visit__gallery-item {
  position: relative;
}

.visit__gallery-tools {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.4rem;
  display: flex;
  gap: 0.3rem;
}

.visit__gallery-tools button {
  flex: 1;
  border: 0;
  border-radius: 999px;
  min-height: 1.85rem;
  padding: 0 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--bordeaux-dark);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.visit__gallery-add {
  appearance: none;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.2rem;
  margin: 0.65rem 0 0;
  width: 100%;
  min-height: 3.2rem;
  border-radius: 1rem;
  border: 1.5px dashed rgba(232, 99, 122, 0.4);
  background: rgba(255, 255, 255, 0.45);
  color: var(--rose-primary);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.visit__gallery-add span {
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 480px) {
  .visit-form__row {
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visit__action,
  .visit__invite-cta,
  .visit__dock-btn {
    transition: none;
  }
}

/* ?? Page Stories (aper?u statique) ?? */
body.stories-page {
  background: var(--cream);
  min-height: 100dvh;
  font-family: "Poppins", var(--font-sans);
}

.stories {
  width: min(100%, 48rem);
  margin: 0 auto;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--cream);
}

.stories__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(232, 99, 122, 0.1);
  position: sticky;
  top: 0;
  z-index: 4;
}

.stories__icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 99, 122, 0.2);
  background: var(--white);
  color: var(--bordeaux-medium);
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
}

.stories__top-actions {
  display: flex;
  gap: 0.4rem;
}
.stories__bell {
  position: relative;
}

.stories__badge {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  min-width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--error);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.stories__main {
  padding: 1rem 1rem 1.5rem;
  overflow-y: auto;
}

.stories__rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 1rem;
  scrollbar-width: none;
}
.stories__rail::-webkit-scrollbar {
  display: none;
}

.stories__bubble {
  flex: 0 0 auto;
  width: 4.6rem;
  text-align: center;
  color: var(--text-secondary);
}

.stories__ring {
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  padding: 0.18rem;
  border: 2.5px solid var(--rose-primary);
  display: grid;
  place-items: center;
  margin: 0 auto 0.4rem;
  background: var(--white);
}
.stories__ring--self {
  border-color: var(--rose-secondary);
  border-style: dashed;
}
.stories__ring--online {
  border-color: var(--success);
}
.stories__ring--bordeaux {
  border-color: var(--bordeaux-medium);
}
.stories__ring--rose {
  border-color: var(--rose-primary);
}
.stories__ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
}
.stories__plus,
.stories__initial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-weight: 700;
  font-size: 1.25rem;
}
.stories__name {
  display: block;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stories__filters {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.stories__pill {
  appearance: none;
  border: 0;
  border-radius: 9999px;
  background: var(--rose-pale);
  color: var(--bordeaux);
  padding: 0.55rem 0.95rem;
  font-family: "Poppins", var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.stories__hint {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}
.stories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.stories__card {
  background: var(--white);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 99, 122, 0.08);
}
.stories__card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--rose-pale);
  overflow: hidden;
}
.stories__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.stories__dist {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(45, 31, 34, 0.45);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.5rem;
  border-radius: 9999px;
}
.stories__status {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 9999px;
}
.stories__status--online {
  color: var(--success);
}
.stories__card h2 {
  margin: 0.65rem 0.7rem 0.15rem;
  font-family: "Poppins", var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stories__card p {
  margin: 0 0.7rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.stories__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .stories {
    border-left: 1px solid rgba(232, 99, 122, 0.08);
    border-right: 1px solid rgba(232, 99, 122, 0.08);
  }
  .stories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Historique des likes envoyés */
body.history-page {
  background: var(--cream);
  min-height: 100dvh;
  overflow-x: hidden;
}

.history {
  position: relative;
  z-index: 1;
  width: var(--explorer-col, min(100%, 42rem));
  margin: 0 auto;
  padding: 0.65rem 0.75rem
    calc(
      var(--explorer-dock, 5.15rem) + 1.5rem + env(safe-area-inset-bottom, 0px)
    );
  background: var(--white);
  overflow-x: hidden;
}

.history__stories {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 0.55rem 0.15rem 1.05rem;
  margin: 0 0 0.35rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.history__stories::-webkit-scrollbar {
  display: none;
}

.history__story {
  position: relative;
  flex: 0 0 auto;
  width: 4.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-primary);
  scroll-snap-align: start;
}

.history__story-ring {
  display: grid;
  place-items: center;
  width: 4.15rem;
  height: 4.15rem;
  padding: 0.18rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--rose-primary);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(45, 31, 34, 0.08);
}

.history__story.is-super .history__story-ring {
  border-color: var(--rose-primary);
}

.history__story-ring img,
.history__story-ring span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  display: grid;
  place-items: center;
  color: var(--rose-primary);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--rose-pale);
}

.history__story-name {
  max-width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.2;
}

.history__story-badges {
  position: absolute;
  top: -0.1rem;
  right: -0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  pointer-events: none;
}

.history__story-heart,
.history__star--story {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(45, 31, 34, 0.14);
}

.history__heading {
  margin: 0.15rem 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
}

.history__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.history__card {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--rose-pale);
  box-shadow: 0 8px 20px rgba(45, 31, 34, 0.1);
}

.history__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  color: inherit;
}

.history__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.history__fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--rose-primary);
}

.history__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.5rem 0.55rem 0.55rem;
  background: rgba(45, 31, 34, 0.55);
}

.history__card.is-super .history__bar {
  padding-right: 0.55rem;
}

.history__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.history__name {
  display: block;
  width: 100%;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
}

.history__name .tl-name-line {
  max-width: 100%;
}

.history__msg {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232, 99, 122, 0.35);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.history__msg span {
  color: var(--white);
}

.history__msg:hover {
  background: var(--hover-primary);
}

@media (hover: hover) and (pointer: fine) {
  .history__msg:hover {
    transform: scale(1.06);
  }
}

.history__msg:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.history__msg.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

.visit__action--msg.is-busy {
  opacity: 0.75;
  pointer-events: none;
}

.history__heart,
.history__star-btn {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  min-height: 2.15rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-primary);
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(45, 31, 34, 0.16);
}

.history__reacts {
  display: none;
}

.history__heart svg path,
.history__star-btn svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.history__heart.is-on {
  color: var(--rose-primary);
}

.history__heart.is-on svg path {
  fill: var(--rose-primary);
  stroke: var(--rose-primary);
}

.history__star-btn.is-on {
  color: var(--rose-primary);
}

.history__star-btn.is-on svg path {
  fill: var(--rose-primary);
  stroke: var(--rose-primary);
}

/* Historique + likes — barre d’actions, mobile */
@media (max-width: 767px) {
  .history__grid,
  .likes__grid {
    gap: 0.55rem;
  }

  .history__bar,
  .likes__card-bar {
    padding: 0.38rem 0.42rem 0.42rem;
    gap: 0.24rem;
  }

  .history__name,
  .likes__card-bar strong {
    font-size: 0.76rem;
  }

  .likes__card-bar em {
    font-size: 0.62rem;
  }

  .history__actions,
  .likes__card-actions {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    width: 100%;
    min-height: 0;
  }

  .history__msg,
  .likes__msg-btn {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 1.85rem;
    padding: 0.28rem 0.5rem;
    font-size: 0.66rem;
    gap: 0.24rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .history__msg svg,
  .likes__msg-btn svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
  }

  .history__msg span,
  .likes__msg-btn span {
    white-space: nowrap;
  }

  .history__heart,
  .history__star-btn,
  .likes__icon-btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .history__heart svg,
  .history__star-btn svg {
    width: 14px;
    height: 14px;
  }

  .likes__featured-actions {
    gap: 0.4rem;
  }

  .likes__featured-actions .likes__btn {
    min-height: 2rem;
    min-width: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
  }

  /* Likes : 3 icônes seules (pass / super / like) */
  .likes__card-actions:not(:has(.likes__msg-btn)) {
    justify-content: flex-end;
    gap: 0.24rem;
  }

  .likes__card-actions:not(:has(.likes__msg-btn)) .likes__icon-btn {
    flex: 0 0 2rem;
    max-width: 2rem;
  }
}

@media (max-width: 360px) {
  .history__bar,
  .likes__card-bar {
    padding: 0.38rem 0.42rem 0.42rem;
  }

  .history__actions,
  .likes__card-actions {
    gap: 0.26rem;
  }

  .history__msg,
  .likes__msg-btn {
    padding: 0.38rem 0.45rem;
    font-size: 0.66rem;
    gap: 0.24rem;
  }

  .history__msg svg,
  .likes__msg-btn svg {
    width: 13px;
    height: 13px;
  }
}

@media (min-width: 768px) {
  .history__msg,
  .likes__msg-btn {
    min-height: 2.25rem;
  }

  .history__heart,
  .history__star-btn,
  .likes__icon-btn {
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
  }
}

.history__star {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(45, 31, 34, 0.16);
}

.history__star--story {
  position: relative;
  top: auto;
  left: auto;
  animation: none;
}

@keyframes history-star-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.28;
    transform: scale(0.86);
  }
}

.history__empty {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
}

.history__empty-ico {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.history__empty h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--bordeaux-dark);
}

.history__empty p {
  margin: 0 auto 1.2rem;
  max-width: 22rem;
  color: var(--text-secondary);
}

.history__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.history__cta:hover {
  background: var(--hover-primary);
}

.history__paywall {
  margin: 1.4rem 0.85rem 2rem;
  padding: 2.2rem 1.35rem 2rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--rose-light);
  border-radius: 1.4rem;
  box-shadow: 0 8px 24px rgba(45, 31, 34, 0.06);
}

.history__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-primary);
}

.history__paywall h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--bordeaux-dark);
}

.history__paywall p {
  margin: 0 auto 1.25rem;
  max-width: 22rem;
  color: var(--text-secondary);
}

.history__more-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.15rem;
}

.history__more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.history__more:hover {
  background: var(--hover-primary);
}

.history__more:focus-visible {
  outline: 2px solid var(--rose-primary);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .history {
    padding: 1rem 1.15rem calc(var(--explorer-dock, 5.35rem) + 1.4rem);
    border-radius: 1.35rem;
    box-shadow: 0 8px 24px rgba(45, 31, 34, 0.06);
  }

  .history__grid {
    gap: 1.15rem;
  }

  .history__story {
    width: 4.85rem;
  }

  .history__story-ring {
    width: 4.55rem;
    height: 4.55rem;
  }

  .history__stories {
    gap: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history__star {
    animation: none !important;
  }
}

@media (min-width: 1024px) {
  .history__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .history {
    padding-inline: 1.35rem;
  }
}

/* Modale profil (explorer / historique) */
.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.profile-modal[hidden] {
  display: none !important;
}

.profile-modal__stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.profile-modal__backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(45, 31, 34, 0.52);
  cursor: pointer;
  z-index: 0;
  pointer-events: auto;
}

.profile-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  height: auto;
  max-height: none;
  overflow: visible;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}

.profile-modal__body {
  min-height: 0;
}

.profile-modal__loading {
  margin: 0;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 600;
}

.profile-modal .visit {
  --profile-modal-inset: 0.75rem;
  width: 100%;
  min-height: 0;
  max-width: none;
  padding-bottom: 0;
  overflow: visible;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  box-sizing: border-box;
}

.profile-modal .visit__nav {
  position: sticky;
  top: 0;
  z-index: 5;
  width: 100%;
  box-sizing: border-box;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 0.45rem var(--profile-modal-inset);
  padding-top: calc(0.45rem + env(safe-area-inset-top, 0px));
}

.profile-modal .visit__nav-brand {
  color: var(--rose-primary);
  text-shadow: none;
  justify-self: start;
}

.profile-modal .visit__nav-brand > span {
  color: var(--rose-primary) !important;
}

.profile-modal .visit__nav-brand > img {
  filter: none;
}

.profile-modal .visit__intro {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  align-self: stretch;
  gap: 0;
  width: calc(100% - (2 * var(--profile-modal-inset)));
  max-width: 100%;
  margin: 0.35rem var(--profile-modal-inset) 0;
  padding: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  box-sizing: border-box;
}

.profile-modal .visit:not(.visit--own) .visit__media {
  position: relative !important;
  top: auto !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 0.75rem 0.75rem 0 !important;
  gap: 0;
  background: transparent;
}

.profile-modal .visit .visit__photo-stage,
.profile-modal .visit__photo-stage {
  width: min(100%, 13.5rem) !important;
  max-width: 13.5rem !important;
  margin-inline: auto;
}

.profile-modal .visit__photo-stage .visit__hero,
.profile-modal .visit__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  max-height: min(52dvh, 21rem);
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--rose-pale);
}

.profile-modal .visit__hero-img,
.profile-modal .visit__hero-fallback {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 1.15rem;
  object-fit: contain;
  object-position: center;
}

.profile-modal .visit__hero-fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  color: var(--rose-primary);
  background: var(--rose-pale);
}

.profile-modal .visit__media > .visit__hero-chips {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 1.5rem), 13.5rem);
  bottom: 0.85rem;
  z-index: 2;
  justify-content: flex-start;
}

.profile-modal .visit__identity,
.profile-modal .visit__identity.visit-glass {
  flex: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.85rem 0.95rem 1rem;
  border: 0;
  border-top: 1px solid rgba(232, 99, 122, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

.profile-modal .visit__identity-top {
  align-items: flex-start;
}

.profile-modal .visit__name {
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
}

.profile-modal .visit__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.profile-modal .visit__action--msg {
  min-height: 2.85rem;
  font-size: 0.9rem;
}

.profile-modal .visit__compat {
  width: 3.85rem;
  height: 3.85rem;
}

.profile-modal .visit-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.profile-modal .visit__sheet {
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.65rem;
  padding: 0 var(--profile-modal-inset) 0.35rem;
  gap: 0.7rem;
  min-width: 0;
}

.profile-modal .visit__trust,
.profile-modal .visit__tabs,
.profile-modal .visit__card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.profile-modal .visit__panel:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  width: 100%;
}

.profile-modal .visit__tabs {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.visit__tabs--profile,
.profile-modal .visit__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: visible;
  gap: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.visit__tabs--profile::-webkit-scrollbar,
.profile-modal .visit__tabs::-webkit-scrollbar {
  display: none;
}

.visit__tabs--profile .visit__tab,
.profile-modal .visit__tab {
  flex: unset;
  min-width: 0;
  white-space: nowrap;
  text-align: center;
  font-size: clamp(0.62rem, 2.5vw, 0.76rem);
  padding: 0.52rem 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-modal .visit__trust {
  padding: 0.7rem 0.75rem;
}

.profile-modal .visit__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 350px));
  justify-content: center;
  align-items: stretch;
  gap: 0.55rem;
  grid-auto-flow: row;
  grid-auto-rows: auto;
}

.profile-modal .visit__gallery-item,
.profile-modal .visit__gallery-item:nth-child(9n + 3),
.profile-modal .visit__gallery-item:nth-child(9n + 7),
.profile-modal .visit__gallery-item:only-child {
  position: relative;
  display: block;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 4 / 5;
  min-height: 0;
  height: auto;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--rose-pale);
  border: 1px solid rgba(232, 99, 122, 0.16);
  box-shadow: var(--shadow-sm);
}

.profile-modal .visit__gallery-item .visit__gallery-open {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.profile-modal .visit__gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

.profile-modal .visit__dock {
  position: sticky !important;
  bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  grid-template-columns: none;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(232, 99, 122, 0.16);
  z-index: 6;
}

.profile-modal .visit__dock-btn,
.profile-modal button.visit__dock-btn,
.profile-modal a.visit__dock-btn {
  flex: 0 0 3.45rem;
  width: 3.45rem;
  min-width: 44px;
  height: 3.45rem;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.profile-modal .visit__dock-btn:hover {
  transform: translateY(-1px);
}

.profile-modal .visit__dock-btn svg {
  display: block;
}

.profile-modal .visit__dock-btn--ghost,
.profile-modal button.visit__dock-btn--ghost,
.profile-modal a.visit__dock-btn--ghost {
  background: var(--white);
  color: var(--vip);
  border: 1.75px solid var(--vip);
}

.profile-modal .visit__dock-btn--ghost svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.profile-modal .visit__dock-btn--ghost:hover,
.profile-modal .visit__dock-btn--ghost.is-on {
  background: #fdf8ec;
  color: var(--vip);
  border-color: var(--vip);
}

.profile-modal .visit__dock-btn--ghost.is-on svg path {
  fill: currentColor;
}

.profile-modal .visit__dock-btn--primary,
.profile-modal button.visit__dock-btn--primary,
.profile-modal a.visit__dock-btn--primary {
  background: var(--rose-pale);
  color: var(--rose-primary);
  border: 1.75px solid var(--rose-primary);
  box-shadow: var(--shadow-sm);
}

.profile-modal .visit__dock-btn--primary svg path {
  fill: currentColor;
}

.profile-modal .visit__dock-btn--primary:hover,
.profile-modal .visit__dock-btn--primary.is-on {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 3.2rem 0.5rem 0.85rem;
  padding-top: calc(3.2rem + env(safe-area-inset-top, 0px));
  background: rgba(45, 31, 34, 0.92);
}

.photo-lightbox[hidden] {
  display: none !important;
}

.photo-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  max-width: min(100%, 56rem);
  flex: 1 1 auto;
  min-height: 0;
  touch-action: pan-y pinch-zoom;
}

.photo-lightbox__img {
  flex: 1 1 auto;
  max-width: 100%;
  max-height: calc(100dvh - 7.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-lightbox__nav {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bordeaux-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.photo-lightbox__nav:hover {
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.photo-lightbox__counter {
  position: absolute;
  top: calc(0.75rem + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.photo-lightbox__close {
  position: absolute;
  top: calc(0.65rem + env(safe-area-inset-top, 0px));
  right: 0.65rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--bordeaux-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.photo-lightbox__close:hover {
  background: var(--rose-pale);
  color: var(--rose-primary);
}

@media (max-width: 639px) {
  .photo-lightbox {
    padding-top: calc(2.75rem + env(safe-area-inset-top, 0px));
  }

  .photo-lightbox__close {
    width: 2rem;
    height: 2rem;
    min-width: 32px;
    min-height: 32px;
    top: calc(0.45rem + env(safe-area-inset-top, 0px));
    right: 0.45rem;
  }

  .photo-lightbox__close svg {
    width: 14px;
    height: 14px;
  }

  .photo-lightbox__nav {
    width: 2.1rem;
    height: 2.1rem;
  }

  .photo-lightbox__nav svg {
    width: 16px;
    height: 16px;
  }

  .photo-lightbox__counter {
    top: calc(0.5rem + env(safe-area-inset-top, 0px));
    font-size: 0.72rem;
  }
}

body.is-lightbox {
  overflow: hidden;
}

body.is-profile-modal {
  overflow: hidden;
}

@media (min-width: 640px) {
  .profile-modal .visit {
    --profile-modal-inset: 1rem;
  }

  .profile-modal .visit .visit__photo-stage,
  .profile-modal .visit__photo-stage {
    width: min(100%, 15rem) !important;
    max-width: 15rem !important;
  }

  .profile-modal .visit__media > .visit__hero-chips {
    width: min(calc(100% - 1.5rem), 15rem);
  }

  .profile-modal .visit__photo-stage .visit__hero,
  .profile-modal .visit__hero {
    max-height: min(48dvh, 22rem);
  }
}

@media (min-width: 768px) {
  .profile-modal__stage {
    padding: 1.25rem 0 2.25rem;
  }

  .profile-modal__dialog {
    margin: 0 auto;
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(45, 31, 34, 0.2);
  }

  .profile-modal .visit {
    --profile-modal-inset: 1.15rem;
  }

  .profile-modal .visit .visit__photo-stage,
  .profile-modal .visit__photo-stage {
    width: min(100%, 16.5rem) !important;
    max-width: 16.5rem !important;
  }

  .profile-modal .visit__media > .visit__hero-chips {
    width: min(calc(100% - 1.5rem), 16.5rem);
  }

  .profile-modal .visit__dock {
    border-radius: 0 0 1.5rem 1.5rem;
  }
}

@media (min-width: 851px) {
  .profile-modal__dialog {
    width: min(calc(100% - 2rem), 43.75rem);
    max-width: 43.75rem;
  }

  .profile-modal .visit {
    --profile-modal-inset: 1.25rem;
    width: 100%;
    max-width: 43.75rem;
    margin-inline: auto;
  }

  .profile-modal .visit__intro {
    width: calc(100% - (2 * var(--profile-modal-inset)));
    max-width: calc(43.75rem - (2 * var(--profile-modal-inset)));
  }

  .profile-modal .visit .visit__photo-stage,
  .profile-modal .visit__photo-stage {
    width: min(100%, 20rem) !important;
    max-width: 20rem !important;
  }

  .profile-modal .visit__media > .visit__hero-chips {
    width: min(calc(100% - 1.5rem), 20rem);
  }

  .profile-modal .visit__photo-stage .visit__hero,
  .profile-modal .visit__hero {
    max-height: min(42dvh, 26rem);
  }

  .profile-modal .visit:not(.visit--own) .visit__intro {
    flex-direction: column !important;
    align-items: stretch !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .profile-modal .visit:not(.visit--own) .visit__media {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
    position: relative !important;
    top: auto !important;
  }

  .profile-modal .visit:not(.visit--own) .visit__identity {
    flex: none !important;
    width: 100% !important;
    min-width: 0;
  }

  .profile-modal .visit:not(.visit--own) .visit__sheet {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .profile-modal .visit__panel:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }
}

.visit--own .visit__intro {
  grid-column: 1 / -1;
  width: 100%;
}

.visit--own .visit__ig .visit__media {
  padding: 0 !important;
}

.profile-modal .visit__intro:has(.visit__ig) {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  gap: 0.35rem;
  padding-top: 0 !important;
}

.profile-modal .visit:not(.visit--own) .visit__intro {
  padding-top: 0 !important;
}

.profile-modal .visit__intro:has(.visit__ig) .visit__thumbs {
  margin-top: 0;
  padding-top: 0.15rem;
}

.profile-modal .visit__ig .visit__media,
.profile-modal .visit:not(.visit--own) .visit__ig .visit__media {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  align-items: stretch !important;
  padding: 0 !important;
  position: static !important;
}

.profile-modal .visit__ig .visit__photo-stage,
.profile-modal .visit .visit__ig .visit__photo-stage {
  width: 5.85rem !important;
  max-width: 5.85rem !important;
  height: 5.85rem !important;
  min-height: 5.85rem !important;
  margin-inline: 0 !important;
}

.profile-modal .visit__ig .visit__hero,
.profile-modal .visit__ig .visit__photo-stage .visit__hero {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: 1 !important;
  border-radius: 50% !important;
}

.profile-modal .visit__ig .visit__hero-img,
.profile-modal .visit__ig .visit__hero-fallback {
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center;
}

.profile-modal .visit__ig .visit__identity,
.profile-modal .visit__ig .visit__identity.visit-glass {
  flex: 1 1 auto !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-modal .visit__ig .visit__name {
  font-size: 1.2rem;
}

.profile-modal .visit__ig .visit__hero-chips {
  position: static !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  bottom: auto !important;
}

.profile-modal .visit__ig .visit__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: none;
}

.profile-modal .visit__ig .visit__compat {
  width: 3.85rem;
  height: 3.85rem;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .visit--own {
    display: flex;
    flex-direction: column;
    width: min(100%, 40rem);
    max-width: 40rem;
    margin-inline: auto;
  }

  .visit--own .visit__intro,
  .visit--own .visit__sheet,
  .visit--own .visit__nav {
    grid-column: 1 / -1;
    width: 100%;
  }

  .visit--own .visit__ig .visit__hero,
  .visit:not(.visit--own) .visit__ig .visit__hero,
  .visit:not(.visit--own) .visit__ig .visit__photo-stage .visit__hero {
    aspect-ratio: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .visit:not(.visit--own) .visit__ig .visit__media {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  .visit__ig .visit__photo-stage {
    width: 6.5rem !important;
    max-width: 6.5rem !important;
    height: 6.5rem !important;
    min-height: 6.5rem !important;
  }

  .profile-modal .visit__ig .visit__photo-stage,
  .profile-modal .visit .visit__ig .visit__photo-stage {
    width: 6.5rem !important;
    max-width: 6.5rem !important;
    height: 6.5rem !important;
    min-height: 6.5rem !important;
  }
}

/* Page connexion / compléter profil */
body.auth-gate-page {
  min-height: 100dvh;
  background: var(--cream);
  overflow-x: hidden;
}

.auth-hearts {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-bubble {
  position: absolute;
  bottom: -4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  line-height: 1;
  animation-name: auth-bubble-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.auth-bubble--1 {
  left: 6%;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--rose-pale);
  color: var(--rose-primary);
  animation-duration: 16s;
  animation-delay: 0s;
  font-size: 0.95rem;
}
.auth-bubble--2 {
  left: 14%;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--white);
  color: var(--rose-secondary);
  animation-duration: 13s;
  animation-delay: 1.2s;
  font-size: 0.65rem;
}
.auth-bubble--3 {
  left: 22%;
  width: 3.1rem;
  height: 3.1rem;
  background: var(--rose-light);
  color: var(--rose-primary);
  animation-duration: 18s;
  animation-delay: 2.4s;
  font-size: 1.15rem;
}
.auth-bubble--4 {
  left: 31%;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--rose-pale);
  color: #c4858b;
  animation-duration: 14s;
  animation-delay: 0.6s;
}
.auth-bubble--5 {
  left: 42%;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--white);
  color: var(--rose-primary);
  animation-duration: 20s;
  animation-delay: 3.1s;
}
.auth-bubble--6 {
  left: 52%;
  width: 1.35rem;
  height: 1.35rem;
  background: var(--rose-light);
  color: var(--rose-secondary);
  animation-duration: 12s;
  animation-delay: 4.4s;
  font-size: 0.55rem;
}
.auth-bubble--7 {
  left: 61%;
  width: 2.8rem;
  height: 2.8rem;
  background: var(--rose-pale);
  color: var(--rose-primary);
  animation-duration: 17s;
  animation-delay: 1.8s;
  font-size: 1.05rem;
}
.auth-bubble--8 {
  left: 70%;
  width: 1.7rem;
  height: 1.7rem;
  background: var(--white);
  color: #d4556c;
  animation-duration: 15s;
  animation-delay: 5s;
}
.auth-bubble--9 {
  left: 78%;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--rose-light);
  color: var(--rose-secondary);
  animation-duration: 19s;
  animation-delay: 0.3s;
}
.auth-bubble--10 {
  left: 86%;
  width: 1.45rem;
  height: 1.45rem;
  background: var(--rose-pale);
  color: var(--rose-primary);
  animation-duration: 11s;
  animation-delay: 2.8s;
  font-size: 0.6rem;
}
.auth-bubble--11 {
  left: 10%;
  width: 2rem;
  height: 2rem;
  background: var(--white);
  color: var(--rose-primary);
  animation-duration: 21s;
  animation-delay: 6.2s;
}
.auth-bubble--12 {
  left: 48%;
  width: 3.4rem;
  height: 3.4rem;
  background: var(--rose-pale);
  color: #e8637a;
  animation-duration: 22s;
  animation-delay: 7.5s;
  font-size: 1.3rem;
}
.auth-bubble--13 {
  left: 93%;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--rose-light);
  color: var(--rose-secondary);
  animation-duration: 16s;
  animation-delay: 3.8s;
}
.auth-bubble--14 {
  left: 3%;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--white);
  color: #c4858b;
  animation-duration: 14s;
  animation-delay: 8.1s;
}
.auth-bubble--15 {
  left: 36%;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--rose-pale);
  color: var(--rose-primary);
  animation-duration: 12.5s;
  animation-delay: 9s;
  font-size: 0.5rem;
}
.auth-bubble--16 {
  left: 74%;
  width: 1.9rem;
  height: 1.9rem;
  background: var(--white);
  color: var(--rose-primary);
  animation-duration: 18.5s;
  animation-delay: 4.9s;
}

@keyframes auth-bubble-rise {
  0% {
    transform: translateY(0) translateX(0) scale(0.85);
    opacity: 0;
  }
  8% {
    opacity: 0.85;
  }
  50% {
    transform: translateY(-52vh) translateX(12px) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-108vh) translateX(-8px) scale(1.05);
    opacity: 0;
  }
}

.auth-gate {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem 2rem;
}

.auth-gate__session-banner {
  position: relative;
  z-index: 2;
  width: min(100%, 28rem);
  margin: 0 auto 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-card);
  background: var(--rose-pale);
  border: 1px solid rgba(232, 99, 122, 0.22);
  text-align: center;
}

.auth-gate__session-banner p {
  margin: 0 0 0.45rem;
  color: var(--bordeaux-dark);
  font-size: 0.92rem;
}

.auth-gate__session-reset {
  color: var(--rose-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.auth-gate__home {
  position: absolute;
  top: 1.1rem;
  left: 1.15rem;
  z-index: 2;
}

.auth-gate__panel {
  width: min(100%, 22.5rem);
  animation: auth-panel-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-gate__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--bordeaux-dark);
}

.auth-gate .explorer-gate__social,
.auth-gate .explorer-gate__primary,
.auth-gate .explorer-gate__ghost {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}

.auth-gate .explorer-gate__primary,
.auth-gate .explorer-gate__social--apple {
  border: 0;
}

.auth-gate .explorer-gate__ghost {
  text-decoration: none;
}

.auth-gate__or {
  margin: 0.95rem 0 0.2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-gate__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin: 0 0 0.9rem;
  padding: 0.28rem;
  background: var(--rose-pale);
  border-radius: var(--radius-pill);
}

.auth-gate__tab {
  border: 0;
  min-height: 2.35rem;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-gate__tab.is-active {
  background: var(--white);
  color: var(--rose-primary);
  box-shadow: var(--shadow-sm);
}

.auth-gate__pane.is-hidden {
  display: none;
}

.auth-gate .iti {
  width: 100%;
}

.auth-gate .iti__selected-country {
  background: var(--white);
  border-radius: 12px 0 0 12px;
}

.auth-gate__status {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--rose-pale);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.45;
}

.auth-gate__status.is-error {
  background: #ffebee;
  color: #b71c1c;
}

.auth-gate__form {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  margin-top: 0.35rem;
}

.auth-gate__form.is-idle {
  display: none;
}

.auth-gate__modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-gate__modal[hidden] {
  display: none;
}

body.is-auth-login-modal {
  overflow: hidden;
}

.auth-gate__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 31, 34, 0.48);
}

.auth-gate__modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  max-height: min(92dvh, 34rem);
  overflow-y: auto;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1.15rem;
  background: var(--white);
  border: 1.5px solid rgba(232, 99, 122, 0.18);
  box-shadow: 0 16px 40px rgba(45, 31, 34, 0.14);
}

.auth-gate__modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.auth-gate__modal-title {
  margin: 0;
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--bordeaux-dark);
}

.auth-gate__modal-close {
  appearance: none;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid rgba(232, 99, 122, 0.22);
  border-radius: 50%;
  background: var(--cream);
  color: var(--bordeaux-dark);
  cursor: pointer;
}

.auth-gate__status--modal {
  margin: 0 0 0.65rem;
}

.auth-gate__links--modal {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.auth-gate__modal .auth-gate__form {
  margin-top: 0;
}

.auth-gate__choice [data-auth-method].is-active {
  border-color: var(--rose-primary);
  color: var(--rose-primary);
  background: var(--rose-pale);
}

.auth-gate__submit {
  margin-top: 0.35rem;
}

.auth-gate__signup-btn {
  width: 100%;
  margin-top: 0.55rem;
  background: var(--bordeaux);
  color: var(--white);
  border: 0;
}

.auth-gate__signup-btn:hover,
.auth-gate__signup-btn:focus-visible {
  background: var(--bordeaux-medium);
  color: var(--white);
  outline: none;
}

.auth-legal-consent {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: center;
}

.auth-legal-consent a {
  color: var(--rose-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-legal-consent a:hover,
.auth-legal-consent a:focus-visible {
  color: var(--bordeaux);
}

.auth-legal-consent--modal {
  margin-top: 0.75rem;
}

.auth-legal-consent--wizard {
  margin: 0.75rem 1rem 0;
  max-width: 28rem;
}

.auth-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
}

.auth-terms-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--rose-primary);
}

.auth-terms-check a {
  color: var(--rose-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-terms-error {
  margin: 0.5rem 0 0;
  text-align: left;
}

.auth-gate__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
}

.auth-gate__links a,
.auth-gate__text-btn {
  color: var(--rose-primary);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.auth-gate__links a:hover,
.auth-gate__text-btn:hover {
  text-decoration: underline;
}

.auth-gate__links--center {
  justify-content: center;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid,
.signup-photos.is-invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.18);
}

.auth-hearts.is-wizard .auth-bubble {
  animation-duration: calc(14s / (0.55 + var(--beat, 1) * 0.12));
}

.auth-gate__panel[data-view="wizard"] {
  width: min(100%, 24.5rem);
  max-height: none;
  overflow: visible;
}

.signup-wizard__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 0 0 1.1rem;
}

.signup-heart {
  --beat: 1;
  justify-self: start;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-size: 1.2rem;
  line-height: 1;
  animation: signup-heartbeat calc(1.2s / (0.55 + var(--beat) * 0.08))
    ease-in-out infinite;
}

.signup-wizard__count {
  justify-self: end;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

@keyframes signup-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  42% {
    transform: scale(calc(1 + var(--beat) * 0.032));
  }
}

.signup-track {
  position: relative;
  min-height: 12rem;
}

.signup-slide {
  display: none;
  text-align: left;
}

.signup-slide.is-active {
  display: block;
}

.signup-slide.is-active.is-from-right {
  animation: signup-in-right 0.38s ease;
}

.signup-slide.is-active.is-from-left {
  animation: signup-in-left 0.38s ease;
}

@keyframes signup-in-right {
  from {
    opacity: 0;
    transform: translateX(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes signup-in-left {
  from {
    opacity: 0;
    transform: translateX(-1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.signup-kicker {
  margin: 0 0 0.35rem;
  color: var(--rose-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signup-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--bordeaux-dark);
  line-height: 1.25;
}

.signup-lead {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.signup-optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.7rem;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.signup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.signup-pills--stack {
  display: grid;
}

.signup-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(45, 31, 34, 0.12);
  background: var(--white);
  color: var(--bordeaux-dark);
  border-radius: var(--radius-pill);
  min-height: 2.45rem;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.signup-pill__icon {
  display: grid;
  place-items: center;
  color: var(--rose-primary);
  flex-shrink: 0;
}

.signup-pill__icon svg {
  display: block;
}

.signup-pill.is-on {
  background: var(--rose-pale);
  border-color: var(--rose-primary);
  color: var(--bordeaux-dark);
}

.signup-pill.is-on .signup-pill__icon {
  color: var(--rose-primary);
}

.signup-password {
  position: relative;
}

.signup-password .form-input {
  padding-right: 2.85rem;
}

.signup-password__toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.signup-password__eye {
  display: none;
  grid-area: 1 / 1;
}

.signup-password__eye--show {
  display: block;
}

.signup-password__toggle.is-revealed .signup-password__eye--show {
  display: none;
}

.signup-password__toggle.is-revealed .signup-password__eye--hide {
  display: block;
}

.signup-password__toggle:hover,
.signup-password__toggle:focus-visible {
  color: var(--rose-primary);
  background: var(--rose-pale);
  outline: none;
}

.signup-actions {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.4rem;
  align-items: stretch;
  margin-top: 1.1rem;
}

.signup-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 2.7rem;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0.7rem;
  white-space: nowrap;
}

.signup-actions__back {
  border: 1.5px solid rgba(61, 32, 36, 0.18);
  background: var(--white);
  color: var(--bordeaux);
}

.signup-actions__back:hover,
.signup-actions__back:focus-visible {
  background: var(--rose-pale);
  outline: none;
}

.signup-actions__skip {
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  background: var(--white);
  color: var(--rose-primary);
}

.signup-actions__skip:hover,
.signup-actions__skip:focus-visible {
  background: var(--rose-pale);
  outline: none;
}

.signup-actions__next {
  border: 0;
  background: var(--rose-primary);
  color: var(--white);
}

.signup-actions__next:hover,
.signup-actions__next:focus-visible {
  background: var(--hover-primary);
  outline: none;
}

.signup-intents {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
}

.signup-intent {
  display: grid;
  grid-template-columns: 2.65rem 1fr;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(45, 31, 34, 0.12);
  background: var(--white);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  cursor: pointer;
  color: var(--bordeaux-dark);
}

.signup-intent:hover,
.signup-intent:focus-visible {
  border-color: var(--rose-secondary);
  outline: none;
}

.signup-intent.is-on {
  background: var(--rose-pale);
  border-color: var(--rose-primary);
}

.signup-intent__mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-size: 1.15rem;
  line-height: 1;
}

.signup-intent.is-on .signup-intent__mark {
  background: var(--rose-primary);
  color: var(--white);
}

.signup-intent__body {
  display: grid;
  gap: 0.15rem;
}

.signup-intent__label {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--bordeaux-dark);
}

.signup-intent__hint {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

.signup-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.25);
}

.signup-values__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.signup-values__add {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--bordeaux);
  color: var(--white);
  padding: 0 0.95rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.signup-values__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 0.5rem;
  margin-bottom: 0.4rem;
}

.signup-values__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.55rem 0.28rem 0.75rem;
  font-size: 0.8rem;
}

.signup-values__chip button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.signup-combo {
  position: relative;
}

.signup-combo__list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  max-height: 12rem;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(45, 31, 34, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.signup-combo__list button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--bordeaux-dark);
  font: inherit;
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

.signup-combo__list button:hover,
.signup-combo__list button:focus-visible {
  background: var(--rose-pale);
  outline: none;
}

.signup-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
  border-radius: 16px;
}

.signup-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  border: 1px dashed rgba(45, 31, 34, 0.2);
  border-radius: 16px;
  background: var(--rose-pale);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
}

.signup-photo img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
}

.signup-geo {
  margin-top: 0.9rem;
}

.signup-actions__skip[hidden] {
  display: none !important;
}

.visit-intents {
  margin: 0.35rem 0 0.2rem;
}

.visit-intents .signup-intent {
  width: 100%;
}

.signup-notif-state {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  min-height: 1.2rem;
}

.auth-gate__signup-panel {
  width: min(100% - 2rem, 22.5rem);
}

@keyframes auth-panel-in {
  from {
    opacity: 0;
    transform: translateY(0.85rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .auth-bubble--12,
  .auth-bubble--3,
  .auth-bubble--7 {
    display: none;
  }

  .auth-gate {
    padding: 3.2rem 0.85rem 1.5rem;
  }

  .auth-gate__title {
    font-size: 1.28rem;
  }
}

/* Onboarding 4 étapes */
body.ob-page {
  min-height: 100dvh;
  background: var(--cream);
}

body.ob-page::before,
body.ob-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

body.ob-page::before {
  width: 22rem;
  height: 22rem;
  background: var(--rose-pale);
  top: -7rem;
  right: -6rem;
}

body.ob-page::after {
  width: 18rem;
  height: 18rem;
  background: var(--rose-light);
  bottom: 4rem;
  left: -8rem;
}

.ob {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.7rem 7.25rem;
}

.ob__top {
  display: grid;
  grid-template-columns: auto 1fr 2.35rem;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.ob__back {
  justify-self: start;
}

.ob__brand {
  justify-self: center;
  font-size: 1.45rem;
  color: var(--rose-primary);
  text-decoration: none;
}

.ob__brand img {
  width: 1rem;
  height: 1rem;
}

.ob__progress {
  position: relative;
  justify-self: end;
  width: 2.35rem;
  height: 2.35rem;
}

.ob__progress svg {
  width: 100%;
  height: 100%;
}

.ob__progress span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
}

.ob__status {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 240, 243, 0.78);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.ob__status.is-error {
  background: rgba(255, 235, 238, 0.9);
  color: #b71c1c;
}

.ob-glass {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(45, 31, 34, 0.1);
  border-radius: 1.2rem;
  padding: 0.95rem 0.85rem 1rem;
}

.ob__panel {
  display: none;
  animation: auth-panel-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ob__panel.is-active {
  display: block;
}

.ob__kicker {
  margin: 0 0 0.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-secondary);
  font-weight: 700;
}

.ob h1 {
  margin: 0 0 0.28rem;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--bordeaux-dark);
  line-height: 1.15;
}

.ob__lead {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ob__hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  color: var(--rose-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.ob__help {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ob__label em {
  color: var(--rose-primary);
  font-style: normal;
}

.ob__optional {
  margin-left: 0.25rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.ob__hint--need {
  color: var(--bordeaux-dark);
  font-weight: 600;
}

.ob-map-block {
  margin: 0.35rem 0 0.4rem;
}

.ob-map {
  height: 11.5rem;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--rose-pale);
  box-shadow: var(--shadow-sm);
}

.ob-map .leaflet-container {
  width: 100%;
  height: 100%;
  background: var(--rose-pale);
  font-family: var(--font-sans);
}

.ob-map .leaflet-control-attribution {
  font-size: 0.58rem;
  background: rgba(255, 255, 255, 0.82);
}

.ob-map__pin {
  background: transparent;
  border: 0;
}

.ob-map__pin span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rose-primary);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.ob-map__meta {
  margin: 0.4rem 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ob-map__refresh {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 99, 122, 0.35);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--rose-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ob-map__refresh:hover {
  background: var(--white);
}

.ob-values {
  margin: 0 0 0.4rem;
}

.ob-values__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.ob-values__row input {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.8rem;
  font: inherit;
  color: var(--bordeaux-dark);
}

.ob-values__row input:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.16);
}

.ob-values__add {
  appearance: none;
  min-height: 2.55rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ob-values__add:hover {
  background: var(--hover-primary);
}

.ob-values__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ob-values__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2rem;
  padding: 0.2rem 0.35rem 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--rose-pale);
  border: 1px solid rgba(232, 99, 122, 0.28);
  color: var(--bordeaux-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.ob-values__chip button {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-secondary);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.ob-values__chip button:hover {
  color: var(--error);
}

.ob__label {
  margin: 0.75rem 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-secondary);
  font-weight: 700;
}

.ob__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ob__field {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ob__field em {
  color: var(--rose-primary);
  font-style: normal;
}

.ob__field input,
.ob__field textarea,
.ob__field select,
.ob-combo__input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 0.58rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bordeaux-dark);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 2.55rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 6px 16px rgba(45, 31, 34, 0.04);
}

.ob__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8637A' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

.ob__field select:invalid,
.ob__field select option[value=""] {
  color: var(--text-muted);
}

.ob__field textarea {
  min-height: 5.6rem;
  resize: vertical;
}

.ob__field input:focus,
.ob__field textarea:focus,
.ob__field select:focus,
.ob-combo__input:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 122, 0.16);
}

.ob__field--tel .iti {
  width: 100%;
  display: block;
}

.ob__field--tel .iti input {
  width: 100%;
}

.ob__field--tel .iti__selected-country {
  border-radius: 14px 0 0 14px;
  background: transparent;
}

.iti--container {
  z-index: 40;
}

.iti__dropdown-content,
.iti__country-list {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(45, 31, 34, 0.12);
}

.iti__country.iti__highlight {
  background: var(--rose-pale);
}

.ob__choice--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ob__chip {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 2.15rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  color: var(--bordeaux-dark);
}

.ob__chip.is-on {
  background: var(--rose-pale);
  border-color: var(--rose-primary);
  color: var(--rose-primary);
}

.ob-combo {
  position: relative;
}

.ob-combo__list {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: calc(100% + 0.3rem);
  max-height: 14rem;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.ob-combo__list button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
  color: var(--bordeaux-dark);
}

.ob-combo__list button:hover {
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.ob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.ob-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  min-height: 4.7rem;
  padding: 0.55rem 0.2rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
}

.ob-card.is-on {
  border-color: var(--rose-primary);
  color: var(--rose-primary);
  background: rgba(255, 240, 243, 0.72);
}

.ob-card__icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  color: inherit;
}

.ob-card__icon svg {
  width: 20px;
  height: 20px;
}

.ob-card__check {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--rose-primary);
  color: var(--white);
  font-size: 0.65rem;
  display: none;
  place-items: center;
}

.ob-card.is-on .ob-card__check {
  display: grid;
}

.ob-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
}

.ob-card.is-on .ob-card__label {
  color: var(--rose-primary);
}

.ob-photos {
  display: grid;
  gap: 0.75rem;
}

.ob-photos__title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
}

.ob-photos__frame {
  display: grid;
  place-items: center;
  width: min(100%, 300px);
  height: 300px;
  max-width: 300px;
  max-height: 300px;
  min-height: 0;
  aspect-ratio: auto;
  margin-inline: auto;
  padding: 0.4rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1.5px dashed rgba(232, 99, 122, 0.35);
  overflow: hidden;
  cursor: pointer;
}

.ob-photos__frame img,
.ob-photos__frame video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0.9rem;
  background: var(--rose-pale);
}

.ob-photos__frame--live video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ob-photos__placeholder {
  color: var(--text-muted);
  font-weight: 600;
}

.ob-photos__pick {
  margin-top: 0.4rem;
  width: 100%;
  min-height: 2.2rem;
  font-size: 0.82rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 99, 122, 0.28);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  color: var(--rose-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ob-photos__pick.is-rose {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
}

.ob-photos__match {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 0.88rem;
}

.ob-photos__match.is-error {
  background: #ffebee;
  color: #b71c1c;
}

.ob__footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  padding: 0.65rem 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -10px 28px rgba(45, 31, 34, 0.08);
  z-index: 4;
}

.ob__mood {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.ob__heart {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-size: 0.85rem;
}

.ob__cta {
  width: 100%;
  min-height: 2.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.28);
}

.ob__cta:hover {
  background: var(--hover-primary);
}

.ob__cta:disabled {
  opacity: 0.6;
}

@media (min-width: 768px) {
  .ob {
    padding: 1.1rem 1.4rem 7.5rem;
  }

  .ob__top {
    grid-template-columns: auto 1fr 2.75rem;
    margin-bottom: 0.9rem;
  }

  .ob__back {
    min-height: 2.5rem;
  }

  .ob__brand {
    font-size: 1.85rem;
  }

  .ob__brand img {
    width: 1.15rem;
    height: 1.15rem;
  }

  .ob__progress {
    width: 2.75rem;
    height: 2.75rem;
  }

  .ob__progress span {
    font-size: 0.68rem;
  }

  .ob-glass {
    padding: 1.5rem 1.6rem 1.45rem;
    border-radius: 1.5rem;
  }

  .ob__kicker {
    font-size: 0.7rem;
  }

  .ob h1 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
  }

  .ob__lead {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
  }

  .ob__hint {
    font-size: 0.85rem;
  }

  .ob__field {
    font-size: 0.76rem;
    margin-bottom: 0.8rem;
  }

  .ob__field input,
  .ob__field textarea,
  .ob__field select,
  .ob-combo__input {
    min-height: 2.9rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .ob__field textarea {
    min-height: 7rem;
  }

  .ob__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .ob__form .ob__row {
    grid-column: 1 / -1;
  }

  .ob-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
  }

  .ob-card {
    min-height: 6.2rem;
    padding: 0.85rem 0.4rem 0.7rem;
    gap: 0.35rem;
  }

  .ob-card__icon {
    width: 2.3rem;
    height: 2.3rem;
  }

  .ob-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .ob-card__label {
    font-size: 0.78rem;
  }

  .ob__chip {
    min-height: 2.5rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.88rem;
  }

  .ob-photos {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .ob-photos__frame {
    width: min(100%, 300px);
    height: 300px;
    max-width: 300px;
    max-height: 300px;
    min-height: 0;
  }

  .ob-photos__pick {
    min-height: 2.5rem;
    font-size: 0.9rem;
  }

  .ob__panel.is-active[data-ob-panel="3"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
  }

  .ob__panel[data-ob-panel="3"] .ob__kicker,
  .ob__panel[data-ob-panel="3"] h1,
  .ob__panel[data-ob-panel="3"] .ob__lead,
  .ob__panel[data-ob-panel="3"] .ob__hint {
    grid-column: 1 / -1;
  }

  .ob__footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.4rem 1rem;
  }

  .ob__mood {
    margin-bottom: 0;
    justify-content: flex-start;
    font-size: 0.88rem;
  }

  .ob__cta {
    width: auto;
    min-width: 15rem;
    min-height: 3rem;
    padding: 0 1.75rem;
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .ob {
    padding: 1.5rem 2rem 8rem;
  }

  .ob-glass {
    padding: 2rem 2.25rem 1.85rem;
    border-radius: 1.7rem;
  }

  .ob h1 {
    font-size: 2rem;
  }

  .ob__lead {
    font-size: 1rem;
    max-width: 42rem;
  }

  .ob__form {
    column-gap: 1.5rem;
  }

  .ob-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
  }

  .ob-card {
    min-height: 6.6rem;
  }

  .ob-photos__frame {
    width: min(100%, 300px);
    height: 300px;
    max-width: 300px;
    max-height: 300px;
    min-height: 0;
  }

  .ob__footer {
    padding: 1rem 2rem 1.15rem;
  }

  .ob__cta {
    min-width: 18rem;
    min-height: 3.15rem;
  }
}

/* En-tête pages publiques (coaching, témoignages, contact, accueil) */
.pubtop {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0.65rem 1rem;
  padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
  background: var(--cream);
  border-bottom: 1px solid rgba(232, 99, 122, 0.12);
}

.pubtop__back {
  justify-self: start;
}

.pubtop__spacer {
  width: 6.25rem;
  height: 1px;
}

.pubtop__brand {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-brand);
  font-size: 1.85rem;
  color: var(--rose-primary);
  line-height: 1;
}

/* Pages publiques : jamais bloquées par le lock scroll de l’explorer */
html:has(body.public-page),
html:has(body.home-page),
html:has(body.coach-page),
html:has(body.contact-page),
html:has(body.temoignages-page) {
  overflow: auto !important;
  height: auto !important;
  min-height: 100%;
}

body.public-page,
body.home-page,
body.coach-page,
body.contact-page,
body.temoignages-page {
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100dvh;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 1;
}

body.home-page,
body.public-page {
  background: var(--cream);
  color: var(--text-primary);
}

body.coach-page {
  background: var(--bordeaux-dark) !important;
  color: var(--white);
}

body.coach-page .pubtop {
  background: var(--bordeaux-dark);
  border-bottom-color: rgba(245, 230, 232, 0.12);
}

.coach-page .pubtop__back {
  background: var(--white);
  color: var(--rose-secondary);
}

.coach-page .pubtop__brand {
  color: var(--rose-light);
}

.home-public {
  width: 100%;
  position: relative;
  z-index: 1;
}

.home-public__hero {
  min-height: min(78dvh, 44rem);
  display: grid;
  align-items: center;
  padding: 1.5rem 1rem 2.5rem;
}

.home-public__panel {
  width: min(100%, 36rem);
  margin: 0 auto;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--cream);
  border: 1px solid rgba(232, 99, 122, 0.14);
  box-shadow: 0 10px 28px rgba(45, 31, 34, 0.1);
  color: var(--text-primary);
}

.home-public__panel h1 {
  margin: 0.85rem 0 0.75rem;
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--text-primary);
}

.home-public__panel h1 em {
  color: var(--rose-primary);
  font-style: italic;
}

.home-public__lead {
  margin: 0 0 1.15rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.home-public__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.home-public__features {
  margin-top: 0.25rem;
}

.coach {
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
  padding: 0.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.coach__badge {
  margin: 0 auto 1.5rem;
  width: fit-content;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 230, 232, 0.28);
  color: var(--rose-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coach__grid {
  display: grid;
  gap: 1.5rem;
}

.coach__intro h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.coach__intro h1 em {
  font-style: italic;
  color: var(--rose-primary);
}

.coach__lead {
  margin: 0 0 1.15rem;
  color: var(--rose-light);
  line-height: 1.65;
  max-width: 36rem;
}

.coach__tags {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.coach__tags li {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.82rem;
}

.coach__price {
  background: var(--bordeaux-medium);
  border-radius: 1.35rem;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}

.coach__price p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--rose-light);
}

.coach__price strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
}

.coach__price ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.coach__price li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--rose-light);
  font-size: 0.88rem;
}

.coach__price li svg {
  color: var(--rose-primary);
}

.coach__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.coach__cta:hover {
  background: var(--hover-primary);
}

.coach__quote {
  margin: 1.15rem 0 0;
  background: var(--bordeaux-medium);
  border-radius: 1.25rem;
  padding: 1rem 1.15rem;
}

.coach__stars {
  margin: 0 0 0.45rem;
  color: var(--rose-primary);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.coach__quote p {
  margin: 0;
  font-style: italic;
  color: var(--rose-light);
  line-height: 1.55;
}

.coach__quote footer {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.coach__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.coach__features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--bordeaux-medium);
  border-radius: 1.25rem;
  padding: 0.95rem 1rem;
}

.coach__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-primary);
  color: var(--white);
  flex-shrink: 0;
}

.coach__features h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
}

.coach__features p {
  margin: 0;
  color: var(--rose-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.coach__how {
  margin-top: 0.7rem;
  background: var(--bordeaux-medium);
  border-radius: 1.35rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.coach__how h2 {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.coach__how ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.coach__how li {
  display: grid;
  gap: 0.2rem;
}

.coach__how span {
  color: var(--rose-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.coach__how p {
  margin: 0;
  color: var(--white);
  font-size: 0.92rem;
}

.coach__book {
  margin-top: 2rem;
  background: var(--bordeaux-medium);
  border-radius: 1.5rem;
  padding: 1.35rem 1.2rem 1.5rem;
}

.coach__book h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--white);
}

.coach__alerts,
.ctc__alerts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.coach__alerts li,
.ctc__alerts li {
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  font-size: 0.9rem;
}

.ctc__alerts li.is-error {
  background: #fdecea;
  color: var(--error);
}

.coach-form,
.ctc-form {
  display: grid;
  gap: 0.85rem;
}

.coach-form label,
.ctc-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.ctc-form label {
  color: var(--text-secondary);
}

.coach-form .form-input,
.coach-form .form-select,
.coach-form .form-textarea {
  background: var(--bordeaux-dark);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.coach__book .coach__cta {
  margin-top: 1.1rem;
  width: 100%;
}

.temoignages-page,
.contact-page,
body.temoignages-page,
body.contact-page {
  background: var(--cream) !important;
  min-height: 100dvh;
  color: var(--text-primary);
}

.tmn,
.ctc {
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
  padding: 0.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.tmn__intro,
.ctc__intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.tmn__kicker,
.ctc__kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-primary);
}

.tmn__kicker::before,
.ctc__kicker::before,
.ctc__kicker::after {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  margin: 0 0.55rem;
  background: var(--rose-primary);
  vertical-align: middle;
}

.tmn h1,
.ctc h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  color: var(--bordeaux-dark);
}

.tmn h1 em {
  font-family: var(--font-brand);
  font-style: normal;
  color: var(--rose-primary);
  font-size: 1.15em;
}

.tmn__lead,
.ctc__lead {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tmn__grid {
  display: grid;
  gap: 1rem;
}

.tmn__card {
  background: var(--white);
  border-radius: 1.35rem;
  padding: 1.2rem 1.15rem 1.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}

.tmn__quote-mark {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 0.8;
  color: var(--rose-secondary);
}

.tmn__stars {
  margin: 0.15rem 0 0.7rem;
  color: var(--rose-primary);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.tmn__text {
  margin: 0;
  flex: 1;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tmn__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tmn__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-family: var(--font-serif);
  font-weight: 700;
}

.tmn__author strong {
  display: block;
  color: var(--bordeaux-dark);
}

.tmn__author small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.tmn__empty {
  text-align: center;
  color: var(--text-secondary);
}

.ctc__methods {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.ctc__method {
  display: grid;
  justify-items: start;
  gap: 0.25rem;
  background: var(--rose-pale);
  border-radius: 1.35rem;
  padding: 1.2rem 1.15rem;
  text-decoration: none;
  color: inherit;
}

.ctc__method h2 {
  margin: 0.15rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--bordeaux-dark);
}

.ctc__method p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.ctc__method strong {
  margin-top: 0.35rem;
  color: var(--rose-primary);
  font-weight: 600;
  word-break: break-word;
}

.ctc__icon {
  color: var(--rose-primary);
}

.ctc__method--accent {
  background: var(--rose-primary);
  color: var(--white);
}

.ctc__method--accent .ctc__icon,
.ctc__method--accent h2,
.ctc__method--accent p,
.ctc__method--accent strong {
  color: var(--white);
}

.ctc__form-card {
  background: var(--rose-pale);
  border-radius: 1.5rem;
  padding: 1.4rem 1.2rem 1.5rem;
}

.ctc__form-card h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  text-align: center;
  color: var(--bordeaux-dark);
}

.ctc-form__full,
.coach-form__full {
  grid-column: 1 / -1;
}

.ctc__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: min(100%, 18rem);
  margin: 1.15rem auto 0;
  min-height: 3rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ctc__form-card form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ctc__submit:hover {
  background: var(--hover-primary);
}

@media (min-width: 768px) {
  .coach__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 1.75rem;
  }

  .coach__how ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .coach-form,
  .ctc-form {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (min-width: 1024px) {
  .tmn__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .coach__how ol {
    grid-template-columns: repeat(4, 1fr);
  }

  .commencer__bubble--couples {
    left: -1.5rem;
  }

  .commencer__bubble--rating {
    right: -1.5rem;
  }
}

/* —— Messages (fil + liste) —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.msg-list {
  position: relative;
  z-index: 1;
  width: var(--explorer-col);
  margin-inline: auto;
  margin-top: 0.7rem;
  padding: 0.95rem 0.95rem calc(var(--explorer-dock) + 1.4rem);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 1.55rem;
  box-shadow: var(--glass-shadow);
}

.msg-list__intro {
  margin: 0.2rem 0 1.05rem;
}

.msg-list__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  color: var(--text-primary);
  font-weight: 700;
}

.msg-list__lead {
  margin: 0.3rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.msg-list__preview-note {
  margin: 0.55rem 0 0;
  color: var(--rose-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.msg-list__feed {
  display: grid;
  gap: 0.7rem;
}

.msg-list__item {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  min-width: 0;
}

.msg-list__item .msg-list__card {
  flex: 1;
  min-width: 0;
}

.msg-list__item.is-blocked .msg-list__card {
  opacity: 0.88;
}

.msg-list__row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
}

.msg-list__who {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.msg-list__blocked-badge {
  flex-shrink: 0;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--bordeaux-dark);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.msg-list__actions {
  position: relative;
  flex-shrink: 0;
  align-self: center;
}

.msg-list__more {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45, 31, 34, 0.08);
}

.msg-list__more:hover {
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.msg-list__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 20;
  min-width: 11rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: var(--white);
  border: 1px solid rgba(232, 99, 122, 0.14);
  box-shadow: 0 10px 28px rgba(45, 31, 34, 0.14);
}

.msg-list__menu[hidden] {
  display: none !important;
}

.msg-list__menu-item {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.875rem;
  color: var(--bordeaux-dark);
  cursor: pointer;
}

.msg-list__menu-item:hover {
  background: var(--rose-pale);
}

.msg-list__menu-item--danger {
  color: var(--error);
}

.msg-list__card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1.35rem;
  box-shadow: var(--glass-shadow);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  cursor: pointer;
}

.msg-list__card:hover {
  box-shadow: 0 12px 28px rgba(45, 31, 34, 0.12);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(232, 99, 122, 0.22);
}

.msg-list__card.is-unread {
  background: var(--rose-pale);
}

.msg-list__avatar {
  position: relative;
  flex-shrink: 0;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-primary);
  overflow: hidden;
  display: block;
  font-weight: 700;
  border: 2px solid var(--rose-primary);
}

.msg-list__avatar[data-profile-modal] {
  cursor: pointer;
}

.msg-list__avatar img,
.msg-list__avatar > span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
}

.msg-list__avatar img {
  display: block;
}

.msg-list__avatar > span {
  display: grid;
  place-items: center;
}

.msg-list__online {
  position: absolute;
  right: 0.08rem;
  bottom: 0.08rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: var(--rose-primary);
  border: 2px solid var(--white);
}

.msg-list__body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.msg-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.msg-list__row strong {
  font-family: var(--font-serif);
  color: var(--bordeaux-dark);
  font-size: 1.12rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-list__row time {
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.msg-list__card.is-unread .msg-list__row time {
  color: var(--rose-primary);
  font-weight: 600;
}

.msg-list__preview {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-list__card.is-unread .msg-list__preview {
  color: var(--text-primary);
  font-weight: 500;
}

.msg-list__unread {
  flex-shrink: 0;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.msg-list__empty {
  text-align: center;
  background: var(--cream);
  border-radius: 1.5rem;
  padding: 2.4rem 1.4rem;
}

.msg-list__empty-ico {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-primary);
  margin-bottom: 0.85rem;
}

.msg-list__empty h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  color: var(--text-primary);
}

.msg-list__empty p {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
}

.msg-list__empty-search {
  margin: 0.85rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

.msg-list__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.msg-list__cta:hover {
  background: var(--hover-primary);
}

@media (min-width: 768px) {
  .msg-list {
    padding: 1rem 1.15rem calc(var(--explorer-dock, 5.35rem) + 1.4rem);
  }
}

body.messages-inbox-page {
  overflow-y: auto;
  height: auto;
}

body.messages-inbox-page .explorer {
  min-height: 100dvh;
}

body.likes-page {
  background: var(--cream);
  min-height: 100dvh;
  overflow-x: hidden;
}

body.likes-page .explorer {
  min-height: 100dvh;
}

body.messages-inbox-page .explorer__chrome,
body.likes-page .explorer__chrome,
body.history-page .explorer__chrome {
  position: sticky;
  top: 0;
}

.likes {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  max-width: 100%;
  margin-inline: auto;
  margin-top: 0.45rem;
  padding: 1rem clamp(0.65rem, 2.5vw, 1.35rem)
    calc(var(--explorer-dock) + 1.25rem + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border: 1px solid rgba(92, 58, 63, 0.08);
  border-radius: 1.35rem;
  box-shadow: 0 10px 32px rgba(45, 31, 34, 0.06);
  overflow-x: hidden;
}

.likes__intro {
  margin: 0.15rem 0 1.1rem;
}

.likes__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-primary);
}

.likes__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  color: var(--bordeaux-dark);
  font-weight: 700;
}

.likes__lead {
  margin: 0.4rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 32rem;
}

.likes__preview-note {
  margin: 0.55rem 0 0;
  color: var(--rose-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.likes__stories {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 1.1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  touch-action: pan-x;
}

.likes__stories::-webkit-scrollbar {
  display: none;
}

.likes__story {
  flex: 0 0 4.4rem;
  width: 4.4rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  position: relative;
}

.likes__story-ring {
  display: block;
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 50%;
  border: 2px solid var(--rose-primary);
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.likes__story.is-super .likes__story-ring {
  border-color: var(--vip);
}

.likes__story.is-matched .likes__story-ring {
  border-color: var(--rose-primary);
}

.likes__story-match {
  position: absolute;
  top: -0.1rem;
  right: -0.35rem;
  z-index: 2;
  pointer-events: none;
}

.likes__story-match .likes__match-badge {
  position: static;
  padding: 0.24rem 0.34rem;
  box-shadow: 0 4px 12px rgba(45, 31, 34, 0.2);
}

.likes__story-match .likes__match-badge-label {
  display: none;
}

.likes__story-match .likes__match-badge-heart svg {
  width: 9px;
  height: 8px;
}

.likes__story-ring img,
.likes__story-ring > span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-family: var(--font-serif);
  font-weight: 700;
}

.likes__story-ring img {
  display: block;
}

.likes__story-ring > span {
  display: grid;
  place-items: center;
}

.likes__story-heart,
.likes__story-star {
  position: absolute;
  top: -0.05rem;
  right: -0.05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-primary);
  color: var(--white);
  border: 2px solid var(--white);
  z-index: 1;
}

.likes__story-star {
  background: var(--vip);
}

.likes__story-name {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
}

.likes__story-name .tl-name-line {
  max-width: 100%;
  justify-content: center;
}

.likes__story-name .tl-name-text {
  max-width: 3.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.likes__featured {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 350px;
  margin-inline: auto;
  gap: 0.65rem;
  padding: 0.65rem;
  border-radius: 1.15rem;
  box-shadow: var(--glass-shadow);
}

.likes__featured-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--rose-pale);
}

.likes__featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.likes__featured-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--rose-primary);
  background: var(--rose-pale);
}

.likes__featured-photo .likes__featured-star {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--vip);
  box-shadow: 0 4px 12px rgba(45, 31, 34, 0.12);
  z-index: 2;
}

.likes__featured-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.likes__featured-copy h2 {
  margin: 0.1rem 0 0.2rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  color: var(--bordeaux-dark);
  line-height: 1.15;
}

.likes__featured-meta {
  margin: 0 0 0.35rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.likes__featured-text {
  margin: 0 0 0.65rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.likes__featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.likes__featured-actions .likes__btn {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.72rem;
  padding: 0.45rem 0.65rem;
  min-height: 2.35rem;
}

.likes__featured-actions .likes__btn--primary {
  flex: 1 1 100%;
}

.likes__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.likes__btn--ghost {
  background: var(--white);
  color: var(--bordeaux-dark);
  border: 1.5px solid rgba(232, 99, 122, 0.28);
}

.likes__btn--primary {
  flex: 1;
  background: var(--rose-primary);
  color: var(--white);
  border: 0;
}

.likes__btn--primary:hover,
.likes__btn--primary.is-on {
  background: var(--hover-primary);
}

.likes__btn--message {
  gap: 0.4rem;
}

.likes__btn--message svg {
  flex-shrink: 0;
}

.likes__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.7rem;
  margin: 0 0 0.85rem;
}

.likes__filters {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.likes__filter {
  appearance: none;
  border: 1px solid rgba(92, 58, 63, 0.12);
  background: var(--cream);
  color: var(--text-secondary);
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0.4rem 1rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.likes__filter.is-on {
  background: var(--rose-primary);
  color: var(--white);
  border-color: var(--rose-primary);
}

.likes__count {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.likes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: min(100%, 1120px);
  margin-inline: auto;
  padding-inline: clamp(0.25rem, 1.5vw, 0.5rem);
}

@media (min-width: 640px) {
  .likes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .likes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.likes__card {
  position: relative;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(92, 58, 63, 0.08);
  box-shadow: 0 8px 22px rgba(45, 31, 34, 0.07);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.likes__card:hover {
  box-shadow: 0 12px 28px rgba(45, 31, 34, 0.1);
  transform: translateY(-2px);
}

.likes__card.is-gone,
.likes__featured.is-gone {
  display: none;
}

.likes__card-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.likes__card-media img,
.likes__card-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.likes__card-media img {
  display: block;
}

.likes__card-fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--rose-primary);
  background: var(--rose-pale);
}

.likes__online {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid var(--white);
}

.likes__card-star {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--vip);
}

.likes__match-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  background: var(--bordeaux);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 18px rgba(45, 31, 34, 0.22);
  pointer-events: none;
}

.likes__match-badge-heart {
  display: inline-flex;
  color: var(--rose-primary);
  animation: likes-match-beat 1.05s ease-in-out infinite;
}

.likes__match-badge-heart + .likes__match-badge-heart {
  margin-left: -0.08rem;
  animation-delay: 0.16s;
}

.likes__match-badge-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-light);
  line-height: 1;
}

@keyframes likes-match-beat {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
  }

  15% {
    transform: scale(1.24);
    opacity: 1;
  }

  30% {
    transform: scale(1);
    opacity: 0.9;
  }

  45% {
    transform: scale(1.16);
    opacity: 1;
  }

  70% {
    transform: scale(1);
    opacity: 0.86;
  }
}

.likes__card.is-matched {
  box-shadow: 0 8px 22px rgba(232, 99, 122, 0.16);
}

.likes__featured.is-matched .likes__featured-photo .likes__match-badge {
  top: 0.65rem;
  right: 0.65rem;
}

.likes__card-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  padding: 0.5rem 0.55rem 0.55rem;
  background: rgba(45, 31, 34, 0.55);
  color: var(--white);
}

.likes__card-bar strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
}

.likes__card-bar strong .tl-name-line {
  max-width: 100%;
}

.likes__card-bar em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  color: var(--rose-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.likes__card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.05rem;
}

.likes__msg-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232, 99, 122, 0.35);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.likes__msg-btn span {
  color: var(--white);
}

.likes__msg-btn:hover {
  background: var(--hover-primary);
}

.likes__msg-btn.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

.likes__icon-btn {
  appearance: none;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  min-height: 2.15rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--bordeaux-medium);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(45, 31, 34, 0.16);
}

.likes__icon-btn--like {
  color: var(--rose-primary);
}

.likes__icon-btn--like svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.likes__icon-btn--like.is-on svg path {
  fill: currentColor;
}

.likes__icon-btn--msg {
  color: var(--rose-primary);
  text-decoration: none;
}

.likes__icon-btn--msg:hover {
  color: var(--hover-primary, #d4556c);
}

@media (prefers-reduced-motion: reduce) {
  .likes__match-badge-heart {
    animation: none;
  }
}

.likes__empty,
.likes__empty-filter {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary);
}

.likes__empty-ico {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-primary);
}

.likes__empty h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  color: var(--bordeaux-dark);
}

.likes__cta:hover {
  background: var(--hover-primary);
}

.likes__story.is-locked .likes__story-ring img,
.likes__card.is-locked .likes__card-media img {
  filter: blur(10px);
  transform: scale(1.12);
}

.likes__story.is-locked .likes__story-name {
  color: var(--text-muted);
}

.likes__lock {
  position: absolute;
  inset: auto 0.55rem 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--bordeaux-dark);
  font-size: 0.68rem;
  font-weight: 700;
}

.likes__upgrade {
  margin: 0.4rem 0 1.4rem;
  padding: 1.15rem 1rem 1.25rem;
  text-align: center;
  background: var(--rose-pale);
  border-radius: 1.2rem;
}

.likes__upgrade p {
  margin: 0;
  color: var(--bordeaux-dark);
  font-weight: 600;
}

@media (min-width: 640px) {
  .likes {
    margin-top: 0.6rem;
    padding: 0.9rem 0.95rem
      calc(var(--explorer-dock) + 1.35rem + env(safe-area-inset-bottom, 0px));
    border-radius: 1.45rem;
  }

  .likes__grid {
    gap: 0.9rem;
  }
}

@media (min-width: 768px) {
  .likes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 42rem;
    gap: 0.75rem;
  }

  .likes__filter {
    min-height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .likes {
    padding-inline: 1.15rem;
    padding-bottom: calc(var(--explorer-dock) + 1.5rem);
  }
}

.msg {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  overflow: visible;
  padding-bottom: calc(var(--explorer-dock) + 0.2rem);
}

html:has(body.messages-page) {
  overflow: hidden;
  height: 100%;
  height: 100dvh;
}

body.messages-page {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100dvh;
  min-height: 100dvh;
  --explorer-dock: 5.2rem;
}

body.messages-page .explorer {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body.messages-page .msg {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  padding-bottom: calc(
    var(--explorer-dock) + 0.55rem + env(safe-area-inset-bottom, 0px)
  );
}

body.messages-page .msg__top {
  position: relative;
}

body.messages-page .msg__pair,
body.messages-page .msg__blocked-banner,
body.messages-page .msg__pending-banner,
body.messages-page .msg__status,
body.messages-page .msg__card,
body.messages-page .msg__limit {
  flex-shrink: 0;
}

body.messages-page .msg__thread {
  flex: 1 1 auto;
  min-height: 0;
}

.msg__top {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem 0.35rem;
  padding-top: calc(0.45rem + env(safe-area-inset-top, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 99, 122, 0.12);
  position: sticky;
  top: 0;
  z-index: 30;
}

.msg__icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--rose-primary);
  border: 1px solid rgba(232, 99, 122, 0.12);
  box-shadow: 0 6px 16px rgba(45, 31, 34, 0.07);
  text-decoration: none;
}

.msg__icon-btn:hover {
  background: var(--rose-pale);
}

.msg__more-wrap {
  position: relative;
  z-index: 1;
}

.msg__more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 40;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: var(--white);
  border: 1px solid rgba(232, 99, 122, 0.14);
  box-shadow: 0 10px 28px rgba(45, 31, 34, 0.14);
}

.msg__more-menu[hidden] {
  display: none !important;
}

.msg__more-item {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.875rem;
  color: var(--bordeaux-dark);
  cursor: pointer;
}

.msg__more-item:hover {
  background: var(--rose-pale);
}

.msg__more-item--warn {
  color: var(--error);
}

.msg__blocked-banner {
  margin: 0 0.85rem 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.msg__pending-banner {
  margin: 0 0.85rem 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid rgba(232, 99, 122, 0.18);
}

.msg__pending-banner p {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  color: var(--bordeaux-dark);
}

.msg__pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.msg__avatar--link,
.msg__name-link {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.msg__avatar--link {
  display: inline-flex;
}

.msg__composer--disabled {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(232, 99, 122, 0.1);
}

.msg__composer-lock {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.msg__upgrade {
  display: block;
  width: 100%;
  max-width: 16rem;
  margin: 0.75rem auto 0;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.msg__upgrade:hover {
  background: #d4556c;
}

body.is-msg-report {
  overflow: hidden;
}

.msg-report {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.msg-report[hidden] {
  display: none !important;
}

.msg-report__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 31, 34, 0.45);
}

.msg-report__card {
  position: relative;
  width: min(24rem, 100%);
  max-height: min(90vh, 34rem);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.1rem;
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(45, 31, 34, 0.18);
}

.msg-report__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-secondary);
}

.msg-report__title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--bordeaux-dark);
}

.msg-report__lead {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.msg-report__form {
  display: grid;
  gap: 0.85rem;
}

.msg-report__field {
  display: grid;
  gap: 0.35rem;
}

.msg-report__field span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
}

.msg-report__field select,
.msg-report__field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(92, 58, 63, 0.18);
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--bordeaux-dark);
  background: var(--cream);
}

.msg-report__field textarea {
  resize: vertical;
  min-height: 6rem;
}

.msg-report__error {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--error);
}

.msg-report__error[hidden] {
  display: none !important;
}

.msg-report__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.msg-report__btn {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.msg-report__btn:hover {
  background: var(--hover-primary, #d4556c);
}

.msg-report__btn--ghost {
  background: var(--white);
  color: var(--bordeaux-dark);
  border: 1px solid rgba(92, 58, 63, 0.18);
}

.msg-report__btn--ghost:hover {
  background: var(--rose-pale);
}

.msg__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--rose-primary);
  line-height: 1;
}

.msg__brand span {
  font-family: var(--font-brand) !important;
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  font-weight: 400 !important;
}

.msg__brand img {
  width: 1.45rem;
  height: 1.45rem;
}

.msg__pair {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.2rem 0.75rem 0.3rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.msg__pair--split {
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem 0.4rem;
}

.msg__pair-people {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
}

.msg__pair-action {
  flex: 0 0 auto;
  max-width: min(11.5rem, 46vw);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.msg__pair-action form {
  margin: 0;
  width: 100%;
}

.msg__cta--compact {
  width: 100%;
  min-height: 2.45rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.62rem;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

.msg__pair-wait {
  margin: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #faf4f6;
  color: #6b5a5e;
  font-size: 0.65rem;
  font-weight: 500;
  white-space: nowrap;
}

body.messages-page.cdc-app .msg__status--meet {
  margin-top: 0.35rem;
}

.msg__person {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.08rem;
}

.msg__person::before {
  content: "";
  position: absolute;
  top: -0.1rem;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--rose-pale);
  z-index: 0;
}

.msg__avatar {
  position: relative;
  z-index: 1;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-primary);
  display: block;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.72rem;
  box-shadow: 0 4px 10px rgba(45, 31, 34, 0.1);
}

.msg__avatar img,
.msg__avatar > span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
}

.msg__avatar img {
  display: block;
}

.msg__avatar > span {
  display: grid;
  place-items: center;
}

.msg__dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--rose-primary);
  border: 1.5px solid var(--white);
}

.msg__person--me .msg__dot {
  right: auto;
  left: 0;
}

.msg__person strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-primary);
  line-height: 1.15;
}

.msg__person em {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--rose-primary);
  line-height: 1.1;
}

.msg__heart {
  flex-shrink: 0;
  margin: 0 0 0.85rem;
  color: var(--rose-primary);
  display: grid;
  place-items: center;
}

.msg__heart svg {
  width: 0.85rem;
  height: 0.75rem;
}

.msg__thread {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  padding: 0.5rem 0.85rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: auto;
}

.msg__thread::before {
  content: "";
  flex: 1 0 0;
  min-height: 0;
}

.msg__empty {
  margin: auto;
  color: var(--text-muted);
  text-align: center;
}

.msg__row {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  max-width: min(92%, 36rem);
}

.msg__row.is-mine {
  flex-direction: row-reverse;
  margin-left: auto;
}

.msg__bubble-avatar {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rose-light);
  color: var(--rose-primary);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
}

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

.msg__bubble {
  background: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  padding: 0.7rem 0.9rem 0.45rem;
  box-shadow: var(--glass-shadow);
  min-width: 0;
}

.msg__row.is-mine .msg__bubble {
  background: var(--rose-pale);
}

.msg__bubble p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.msg__voice {
  font-weight: 600;
  color: var(--rose-primary);
}

.msg__bubble.is-voice {
  padding: 0.45rem 0.65rem 0.4rem;
  min-width: 12.5rem;
}

.msg__bubble.is-photo {
  padding: 0.2rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.msg__row.is-mine .msg__bubble.is-photo {
  background: transparent;
}

.msg__photo-btn {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 0.9rem;
  overflow: hidden;
  max-width: min(13.75rem, 58vw);
}

.msg__photo {
  display: block;
  width: 100%;
  max-height: 13.75rem;
  height: auto;
  object-fit: cover;
  border-radius: 0.9rem;
}

.msg__voice-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 11.25rem;
  max-width: 16.5rem;
}

.msg__voice-play {
  flex-shrink: 0;
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--rose-primary);
  color: var(--white);
  display: block;
  cursor: pointer;
}

.msg__voice-ico {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
}

.msg__voice-ico[hidden] {
  display: none !important;
}

.msg__row:not(.is-mine) .msg__voice-play {
  background: var(--bordeaux);
}

.msg__voice-wave {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 1.7rem;
  overflow: hidden;
}

.msg__voice-wave i {
  flex: 1 1 auto;
  width: 3px;
  min-width: 2px;
  max-width: 4px;
  align-self: center;
  background: var(--rose-primary);
  border-radius: 99px;
  opacity: 0.38;
}

.msg__row:not(.is-mine) .msg__voice-wave i {
  background: var(--bordeaux-medium);
}

.msg__voice-card.is-playing .msg__voice-wave i {
  opacity: 0.9;
}

.msg__voice-wave::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--voice-progress, 0) * 100%);
  background: var(--rose-primary);
  opacity: 0.16;
  pointer-events: none;
}

.msg__voice-time {
  flex-shrink: 0;
  min-width: 2.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.msg__record {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.35rem;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  padding: 0.28rem;
  min-height: 2.75rem;
}

.msg__record[hidden],
.msg__field[hidden] {
  display: none !important;
}

.msg__record-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: var(--error);
  animation: msg-record-pulse 1s ease-in-out infinite;
}

.msg__record-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bordeaux-dark);
  font-variant-numeric: tabular-nums;
  min-width: 2.4rem;
}

.msg__record-wave {
  flex: 1;
  height: 0.7rem;
  border-radius: 99px;
  background: var(--rose-pale);
  overflow: hidden;
  position: relative;
}

.msg__record-wave::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: var(--rose-primary);
  animation: msg-record-move 1.1s ease-in-out infinite;
}

@keyframes msg-record-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

@keyframes msg-record-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(170%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .msg__record-dot,
  .msg__record-wave::before {
    animation: none;
  }
}

.msg__delete {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.msg__delete:hover,
.msg__delete:focus-visible {
  color: var(--error);
  background: rgba(229, 57, 53, 0.08);
  outline: none;
}

.msg__delete:disabled {
  opacity: 0.5;
  cursor: wait;
}

body.is-msg-delete {
  overflow: hidden;
}

.msg-delete {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.msg-delete[hidden] {
  display: none !important;
}

.msg-delete__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 31, 34, 0.45);
}

.msg-delete__card {
  position: relative;
  width: min(22rem, 100%);
  padding: 1.35rem 1.25rem 1.1rem;
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(45, 31, 34, 0.18);
}

.msg-delete__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-secondary);
}

.msg-delete__title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--bordeaux-dark);
}

.msg-delete__lead {
  margin: 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.msg-delete__actions {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
}

.msg-delete__btn {
  min-height: 2.65rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.msg-delete__btn--ghost {
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
}

.msg-delete__btn--ghost:hover {
  background: var(--rose-light);
}

.msg-delete__btn--danger {
  background: var(--error);
  color: var(--white);
}

.msg-delete__btn--danger:hover {
  background: #c62828;
}

.msg-delete__btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.msg__bubble footer {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.msg__row.is-mine .msg__bubble footer {
  justify-content: flex-end;
}

.msg__bubble time {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.msg__checks {
  color: var(--text-muted);
  display: grid;
  flex-shrink: 0;
}

.msg__checks.is-read {
  color: var(--rose-primary);
}

.msg__check--2 {
  opacity: 0;
}

.msg__checks.is-read .msg__check--2 {
  opacity: 1;
}

.msg__limit {
  flex-shrink: 0;
  margin: 0 1rem 0.35rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
}

.msg__limit a {
  color: var(--rose-primary);
  font-weight: 600;
}

.msg__composer {
  flex-shrink: 0;
  position: sticky;
  bottom: calc(
    var(--explorer-dock) + 0.25rem + env(safe-area-inset-bottom, 0px)
  );
  padding: 0 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
  z-index: 3;
}

body.messages-page .msg__composer {
  position: relative;
  bottom: auto;
  padding-bottom: 0.45rem;
}

.msg__field {
  display: flex;
  align-items: flex-end;
  gap: 0.15rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 1.35rem;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  padding: 0.28rem 0.28rem 0.28rem 0.85rem;
  min-height: 2.75rem;
}

.msg__field textarea {
  flex: 1;
  min-width: 0;
  max-height: 7.5rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-primary);
  outline: none;
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 0.45rem 0.35rem 0.45rem 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.msg__field textarea::placeholder {
  color: var(--text-muted);
}

.msg__tool-ico {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rose-primary);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.msg__tool-ico:hover {
  background: var(--rose-pale);
}

.msg__send {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--rose-primary);
  color: var(--white);
  border: 0;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(232, 99, 122, 0.28);
}

.msg__send:hover {
  background: var(--hover-primary);
}

@media (min-width: 640px) {
  .msg__thread {
    padding-inline: 1.1rem;
  }

  .msg__composer {
    padding-inline: 1.1rem;
  }
}

@media (min-width: 768px) {
  .msg {
    width: min(100% - 2rem, 40rem);
    height: auto;
    min-height: calc(100dvh - var(--explorer-dock) - 1.4rem);
    max-height: none;
    margin-top: 0.7rem;
    margin-bottom: calc(var(--explorer-dock) + 0.35rem);
    border-radius: 1.75rem;
    box-shadow: 0 16px 40px rgba(45, 31, 34, 0.1);
    padding-bottom: 0.7rem;
  }

  body.messages-page .msg {
    min-height: 0;
    margin-inline: auto;
    margin-top: 0.7rem;
    margin-bottom: calc(var(--explorer-dock) + 0.35rem);
    padding-bottom: 0.7rem;
  }

  .msg__pair {
    padding-inline: 1.25rem;
    gap: 0.55rem;
  }

  .msg__row {
    max-width: min(78%, 32rem);
  }
}

@media (min-width: 1024px) {
  .msg,
  body.messages-page .msg {
    width: min(100% - 3rem, 900px);
    max-width: 900px;
    height: auto;
    max-height: none;
    margin-inline: auto;
  }

  .msg__thread {
    padding: 0.7rem 1.5rem 0.55rem;
  }

  .msg__composer {
    padding-inline: 1.5rem;
  }

  .msg__row {
    max-width: min(72%, 36rem);
  }
}

@media (min-width: 1280px) {
  .msg,
  body.messages-page .msg {
    width: min(100% - 3rem, 900px);
    max-width: 900px;
  }
}

.swipe-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 12000;
  transform: translateX(-50%);
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--bordeaux-dark, #2d1f22);
  color: #fff;
  font-size: 0.875rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(45, 31, 34, 0.22);
}

.swipe-toast[hidden] {
  display: none;
}

.likes__more {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted, #9b8a8e);
}

/* Invitation message après like */
body.is-msg-invite {
  overflow: hidden;
}

.msg-invite {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.msg-invite[hidden] {
  display: none;
}

.msg-invite__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(45, 31, 34, 0.52);
  cursor: pointer;
}

.msg-invite__panel {
  position: relative;
  width: min(24rem, 100%);
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--rose-light);
  box-shadow: 0 18px 48px rgba(45, 31, 34, 0.18);
}

.msg-invite__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.msg-invite__close:hover {
  background: var(--rose-light);
  color: var(--bordeaux-dark);
}

.msg-invite__hero {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.msg-invite__duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.msg-invite__face {
  flex-shrink: 0;
}

.msg-invite__duo-heart {
  color: var(--rose-primary);
  font-size: 1.1rem;
  line-height: 1;
  margin: 0 0.1rem;
}

.msg-invite__avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.22);
  display: block;
}

.msg-invite__avatar-fallback {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 8px 20px rgba(232, 99, 122, 0.22);
  display: grid;
  place-items: center;
  background: var(--rose-pale);
  color: var(--rose-primary);
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
}

.msg-invite__avatar-fallback--partner {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.msg-invite__avatar-partner {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.msg-invite__avatar-fallback--partner.is-initial .msg-invite__avatar-partner {
  display: none;
}

.msg-invite__avatar-fallback--partner:not(.is-initial)
  [data-msg-invite-partner-initial] {
  display: none;
}

.msg-invite__kicker {
  margin: 0 0 0.25rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-secondary);
}

.msg-invite__title {
  margin: 0 0 0.45rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--bordeaux-dark);
}

.msg-invite__lead {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.msg-invite__compose {
  margin-bottom: 0.85rem;
}

.msg-invite__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bordeaux-medium);
}

.msg-invite__input {
  width: 100%;
  min-height: 5.5rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--rose-light);
  border-radius: 14px;
  background: var(--cream);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-primary);
  resize: vertical;
}

.msg-invite__input:focus {
  outline: 2px solid rgba(232, 99, 122, 0.35);
  outline-offset: 1px;
  border-color: var(--rose-primary);
}

.msg-invite__hint {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.msg-invite__error {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(229, 57, 53, 0.08);
  color: #c62828;
  font-size: 0.8125rem;
}

.msg-invite__actions {
  display: block;
}

.msg-invite__message {
  width: 100%;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 99, 122, 0.28);
}

.msg-invite__message:hover {
  background: var(--hover-primary);
}

.msg-invite__message:focus-visible {
  outline: 2px solid var(--rose-primary);
  outline-offset: 3px;
}

.msg-invite__message.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

body.is-msg-like-required {
  overflow: hidden;
}

.msg-invite--like-required .msg-invite__hero {
  padding-top: 0.35rem;
}

.msg-invite__steps {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem 0.85rem 1.35rem;
  border-radius: 14px;
  background: var(--rose-pale);
  color: var(--bordeaux-dark);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

.msg-invite__steps li + li {
  margin-top: 0.35rem;
}

.msg-invite__steps strong {
  color: var(--rose-primary);
  font-weight: 700;
}

.msg-invite__actions--stack {
  flex-direction: column;
  gap: 0.55rem;
}

.msg-invite__actions--stack .msg-invite__message {
  width: 100%;
}

.visit__dock-btn--primary.is-like-hint,
.explorer__action--like.is-like-hint {
  animation: like-required-hint 1.15s ease-in-out 3;
  outline: 3px solid rgba(232, 99, 122, 0.45);
  outline-offset: 3px;
}

@keyframes like-required-hint {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.msg-invite__message--ghost {
  background: var(--white);
  color: var(--bordeaux-dark);
  border: 1px solid var(--rose-light);
  box-shadow: none;
}

.msg-invite__message--ghost:hover {
  background: var(--rose-pale);
}

.msg-invite__ghost,
.msg-invite__primary {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .msg-invite__panel {
    transition: none !important;
  }
}

/* Popup live — message / like / super like / match */
.live-popup {
  position: fixed;
  z-index: 12500;
  right: 1rem;
  bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
  width: min(22.5rem, calc(100vw - 2rem));
}

.live-popup[hidden] {
  display: none !important;
}

.live-popup__card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(45, 31, 34, 0.16);
}

.live-popup__photo {
  flex: 0 0 3.15rem;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rose-pale);
  color: var(--bordeaux);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

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

.live-popup__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.live-popup__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose-primary);
}

.live-popup__title {
  font-size: 0.98rem;
  color: var(--bordeaux-dark);
  line-height: 1.2;
}

.live-popup__text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-popup__cta {
  flex: 0 0 auto;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--rose-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
}

.live-popup__close {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.live-popup[data-kind="new_match"] .live-popup__kicker,
.live-popup[data-kind="super_like"] .live-popup__kicker {
  color: var(--vip, #d4a017);
}

.force-update-banner {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 13000;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bordeaux-dark, #2d1f22);
  color: var(--rose-light, #f5e6e8);
  border-bottom: 2px solid var(--rose-primary, #e8637a);
}

.force-update-banner[hidden] {
  display: none !important;
}

body.has-force-update {
  padding-top: 3.5rem;
}

.force-update-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  max-width: 72rem;
  margin: 0 auto;
}

.force-update-banner__text {
  margin: 0;
  font-size: 0.9rem;
}

.force-update-banner__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--rose-primary, #e8637a);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 900px) {
  .live-popup {
    top: 1.25rem;
    right: 1.25rem;
    bottom: auto;
  }
}

/* ===== Responsive — profil, paramètres, likes, historique ===== */

@media (max-width: 640px) {
  .visit--own .visit__sheet {
    padding: 0 0.65rem 1.1rem;
    gap: 0.65rem;
  }

  .visit--own .visit__nav {
    padding: 0.45rem 0.65rem 0.35rem;
  }

  .visit__ig {
    padding: 0.75rem 0.8rem 0.85rem;
    border-radius: 1.1rem;
  }

  .visit__ig-top {
    gap: 0.75rem;
  }

  .visit__ig .visit__photo-stage {
    width: 4.75rem !important;
    max-width: 4.75rem !important;
    height: 4.75rem !important;
    min-height: 4.75rem !important;
  }

  .visit__ig .visit__name {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  }

  .visit__ig .visit__location {
    font-size: 0.78rem;
  }

  .visit__stats {
    margin-top: 0.55rem;
    gap: 0.2rem;
  }

  .visit__stats strong {
    font-size: 0.88rem;
  }

  .visit__stats span {
    font-size: 0.62rem;
  }

  .visit__ig-actions {
    gap: 0.45rem;
    margin-top: 0.55rem;
    flex-wrap: wrap;
  }

  .visit__ig .visit__photo-action {
    min-height: 2.75rem;
    padding: 0 0.95rem;
    font-size: 0.78rem;
    flex: 1 1 calc(50% - 0.25rem);
  }

  .visit--own .visit__ig .visit__photo-action--primary {
    flex: 1 1 100%;
  }

  .visit--own .visit__tabs {
    padding: 0.22rem;
    gap: 0.22rem;
  }

  .visit--own .visit__tab {
    font-size: 0.66rem;
    padding: 0.5rem 0.08rem;
  }

  .visit__subtabs {
    padding: 0.22rem;
    gap: 0.22rem;
  }

  .visit__subtab {
    padding: 0.42rem 0.65rem;
    font-size: 0.72rem;
  }

  .visit--own #panel-settings .visit__subtabs {
    top: 2.65rem;
  }

  .visit__card {
    padding: 0.85rem 0.85rem 0.9rem;
    border-radius: 1.05rem;
  }

  .visit__card-title {
    font-size: 1.05rem;
  }

  .visit__card-lead {
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
  }

  .visit__kicker {
    font-size: 0.62rem;
  }

  .visit__save {
    min-height: 2.45rem;
    padding: 0 1rem;
    font-size: 0.82rem;
  }

  .visit__pill-btn {
    min-height: 2.15rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.74rem;
  }

  .visit__pill-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  #panel-settings .visit__settings-panel:not([hidden]) {
    gap: 0.65rem;
  }

  .visit--own.has-settings-dock {
    padding-bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px));
  }

  .visit-settings-dock {
    gap: 0.35rem;
    padding: 0.32rem;
    max-width: calc(100% - 1rem);
  }

  .visit-settings-dock__btn {
    min-height: 2.25rem;
    padding: 0 0.85rem;
    font-size: 0.74rem;
  }

  .visit-settings-modal {
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .visit-settings-modal__dialog {
    width: 100%;
    max-height: min(92dvh, 40rem);
    border-radius: 1.15rem 1.15rem 0 0;
  }

  .visit-settings-modal__top {
    padding: 0.75rem 0.8rem;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  }

  .visit-settings-modal__body {
    padding: 0.65rem 0.65rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    gap: 0.65rem;
  }

  .visit-settings-modal__body .visit__card {
    padding: 0.75rem 0.75rem 0.8rem;
  }

  .visit-settings-modal__body .tl-plans-grid {
    gap: 0.75rem;
  }

  .visit-settings-modal__body .tl-plan {
    padding: 0.85rem 0.75rem 0.75rem;
    border-radius: 18px;
    gap: 0.65rem;
  }

  .visit-settings-modal__body .tl-plan__brand-name {
    font-size: clamp(1.15rem, 4.5vw, 1.55rem);
  }

  .visit-settings-modal__body .tl-plan__brand-plan {
    font-size: clamp(0.82rem, 2.8vw, 0.95rem);
  }

  .visit-settings-modal__body .tl-plan__price {
    font-size: clamp(1.25rem, 4.8vw, 1.7rem);
  }

  .visit-settings-modal__body .tl-plan__duration {
    font-size: 0.72rem;
  }

  .visit-settings-modal__body .tl-plan__feature {
    font-size: 0.74rem;
  }

  .visit-settings-modal__body .tl-plan__compare-head,
  .visit-settings-modal__body .tl-plan__compare-row {
    grid-template-columns: minmax(0, 1fr) 2.75rem 2.75rem;
  }

  .visit-settings-modal__body .tl-plan__cta {
    min-height: 2.75rem;
    font-size: 0.82rem;
  }

  .likes {
    margin-top: 0.3rem;
    padding: 0.55rem 0.55rem
      calc(var(--explorer-dock) + 0.95rem + env(safe-area-inset-bottom, 0px));
    border-radius: 1rem;
  }

  .likes__intro {
    margin-bottom: 0.75rem;
  }

  .likes__kicker {
    font-size: 0.62rem;
  }

  .likes__title {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }

  .likes__lead {
    font-size: 0.8rem;
  }

  .likes__preview-note {
    font-size: 0.72rem;
  }

  .likes__stories {
    gap: 0.55rem;
    padding-bottom: 0.75rem;
  }

  .likes__story {
    flex-basis: 3.65rem;
    width: 3.65rem;
  }

  .likes__story-ring {
    width: 3.6rem;
    height: 3.6rem;
  }

  .likes__story-name {
    font-size: 0.64rem;
    margin-top: 0.25rem;
  }

  .likes__featured {
    gap: 0.55rem;
    padding: 0.55rem;
    border-radius: 1rem;
  }

  .likes__featured-photo {
    border-radius: 0.85rem;
  }

  .likes__featured-fallback {
    font-size: 2.75rem;
  }

  .likes__featured-copy h2 {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  }

  .likes__featured-meta {
    font-size: 0.78rem;
  }

  .likes__featured-text {
    font-size: 0.8rem;
    margin-bottom: 0.65rem;
  }

  .likes__btn {
    min-height: 2.35rem;
    min-width: 2.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .likes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    max-width: 26rem;
  }

  .likes__card,
  .likes__featured {
    max-width: none;
    margin-inline: auto;
  }

  .likes__card-fallback {
    font-size: 1.85rem;
  }

  .likes__toolbar {
    gap: 0.4rem;
  }

  .likes__filter {
    min-height: 2.15rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  .history {
    padding: 0.45rem 0.55rem
      calc(
        var(--explorer-dock, 5.15rem) + 1.1rem +
          env(safe-area-inset-bottom, 0px)
      );
  }

  .history__stories {
    gap: 0.55rem;
    padding-bottom: 0.75rem;
  }

  .history__story {
    width: 3.65rem;
    gap: 0.28rem;
  }

  .history__story-ring {
    width: 3.5rem;
    height: 3.5rem;
  }

  .history__story-name {
    font-size: 0.64rem;
  }

  .history__heading {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    margin-bottom: 0.65rem;
  }

  .history__grid {
    gap: 0.45rem;
  }

  .history__card {
    border-radius: 0.95rem;
  }

  .history__fallback {
    font-size: 1.85rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .visit--own .visit__sheet {
    padding: 0 0.85rem 1.25rem;
  }

  .visit__ig {
    padding: 0.85rem 0.95rem 0.95rem;
  }

  .visit__ig .visit__photo-stage {
    width: 5.25rem !important;
    max-width: 5.25rem !important;
    height: 5.25rem !important;
    min-height: 5.25rem !important;
  }

  .visit__ig .visit__name {
    font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  }

  .visit__stats strong {
    font-size: 0.95rem;
  }

  .visit--own .visit__tab {
    font-size: 0.72rem;
    padding: 0.55rem 0.12rem;
  }

  .visit__subtab {
    font-size: 0.76rem;
    padding: 0.48rem 0.75rem;
  }

  .visit__card {
    padding: 0.95rem 0.95rem 1rem;
  }

  .visit__card-title {
    font-size: 1.1rem;
  }

  #panel-settings .visit__settings-panel:not([hidden]) {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .visit-settings-modal__dialog {
    width: min(36rem, calc(100% - 1.5rem));
    max-height: min(88dvh, 42rem);
  }

  .visit-settings-modal__body .tl-plans-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .visit-settings-modal__body .tl-plan {
    padding: 0.95rem 0.85rem 0.85rem;
  }

  .visit-settings-dock__btn {
    min-height: 2.35rem;
    font-size: 0.8rem;
  }

  .likes {
    padding: 0.65rem 0.7rem
      calc(var(--explorer-dock) + 1.05rem + env(safe-area-inset-bottom, 0px));
  }

  .likes__title {
    font-size: clamp(1.45rem, 4vw, 1.85rem);
  }

  .likes__story-ring {
    width: 3.95rem;
    height: 3.95rem;
  }

  .likes__story {
    flex-basis: 4rem;
    width: 4rem;
  }

  .likes__featured-photo {
    border-radius: 0.9rem;
  }

  .likes__grid {
    grid-template-columns: repeat(2, minmax(0, 350px));
    gap: 0.6rem;
    justify-content: center;
  }

  .likes__card,
  .likes__featured {
    max-width: min(100%, 350px);
    margin-inline: auto;
  }

  .history {
    padding-inline: 0.65rem;
  }

  .history__story-ring {
    width: 3.85rem;
    height: 3.85rem;
  }

  .history__grid {
    gap: 0.6rem;
  }
}

/* ── Perf scroll : pages glass sans backdrop-filter coûteux ── */
body.explorer-page .explorer-hearts,
body.explorer-page .explorer-rise,
body.likes-page .explorer-hearts,
body.history-page .explorer-hearts,
body.visit-profil-page .explorer-hearts {
  display: none !important;
}

body.visit-profil-page .visit-glass,
body.likes-page .visit-glass,
body.history-page .visit-glass {
  background: var(--glass-bg-solid);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.visit-profil-page .visit {
  min-height: 100dvh;
}

body.likes-page,
body.history-page {
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

.likes__card,
.likes__featured,
.history__story,
.history__grid > * {
  contain: layout style paint;
}

@media (prefers-reduced-motion: reduce) {
  body.explorer-page .explorer__reveal,
  body.explorer-page .explorer__veil,
  body.explorer-page .explorer__veil-inner,
  body.explorer-page .explorer__card,
  body.explorer-page .explorer__match.is-calculating svg,
  body.explorer-page .explorer__match-bar span,
  body.explorer-page .explorer__slide[data-ready="true"] .explorer__match,
  body.explorer-page .explorer__slide[data-ready="true"] .explorer__go-profile,
  body.explorer-page .explorer__slide[data-ready="true"] .explorer__meta,
  body.explorer-page .explorer__slide.is-exit-up,
  body.explorer-page .explorer__slide.is-exit-down,
  body.explorer-page .explorer__slide.is-enter-up,
  body.explorer-page .explorer__slide.is-enter-down {
    transition: none !important;
    animation: none !important;
  }

  .explorer-rise__heart,
  .explorer-heart {
    animation: none !important;
  }
}

/* ── Modal rappel genre ─────────────────────────────────────────────────── */
body.is-gender-prompt {
  overflow: hidden;
}

.gender-prompt-modal {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.gender-prompt-modal[hidden] {
  display: none !important;
}

.gender-prompt-modal__stage {
  position: relative;
  width: min(100%, 24rem);
}

.gender-prompt-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 31, 34, 0.52);
}

.gender-prompt-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--rose-light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.15rem 1.15rem 1rem;
}

.gender-prompt-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.gender-prompt-modal__head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--bordeaux-dark);
  line-height: 1.2;
}

.gender-prompt-modal__close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--rose-light);
  background: var(--white);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.gender-prompt-modal__close:hover,
.gender-prompt-modal__close:focus-visible {
  color: var(--rose-primary);
  border-color: rgba(232, 99, 122, 0.35);
  outline: none;
}

.gender-prompt-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.gender-prompt-modal__form .visit-form__field {
  margin-bottom: 0.75rem;
}

.gender-prompt-modal__error {
  margin: 0 0 0.75rem;
}

.gender-prompt-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.gender-prompt-modal__foot .btn {
  min-width: 7.5rem;
}

/* ── Modal projet de mariage (non fermable) ─────────────────────────────── */
body.is-projet-prompt {
  overflow: hidden;
}

.projet-prompt {
  position: fixed;
  inset: 0;
  z-index: 12100;
  display: grid;
  place-items: center;
  padding: max(0.75rem, env(safe-area-inset-top))
    max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom))
    max(0.75rem, env(safe-area-inset-left));
}

.projet-prompt[hidden] {
  display: none !important;
}

.projet-prompt__stage {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(92vh, 44rem);
}

.projet-prompt__backdrop {
  position: fixed;
  inset: 0;
  background: #3d2226;
}

.projet-prompt__dialog {
  position: relative;
  z-index: 1;
  max-height: min(92vh, 44rem);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #f8e8ea;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(61, 34, 38, 0.28);
  padding: 1.35rem 1.25rem 1.2rem;
}

.projet-prompt__kicker {
  margin: 0 0 0.35rem;
  font-family: Allura, "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #c2185b;
}

.projet-prompt__dialog h2 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.25;
  color: #3d2226;
}

.projet-prompt__lead {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6b5a5e;
}

.projet-prompt__set {
  margin: 0 0 0.95rem;
  padding: 0;
  border: 0;
}

.projet-prompt__set legend {
  margin: 0 0 0.4rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c2430;
}

.projet-prompt .cdc-choice {
  gap: 0.4rem;
}

.projet-prompt .cdc-choice__item {
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
}

.projet-prompt__error {
  margin: 0 0 0.75rem;
}

.projet-prompt__save {
  width: 100%;
  margin-top: 0.15rem;
}

/* Lot B — sélection curated du jour */
.curated-list {
  padding: 0 1rem 6.5rem;
  overflow-y: visible;
}
.curated-list__intro {
  padding: 0.5rem 0 1.25rem;
}
.curated-list__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-secondary, #c4858b);
  margin: 0 0 0.35rem;
}
.curated-list__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin: 0 0 0.35rem;
  color: var(--text-primary, #2d1f22);
}
.curated-list__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .curated-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, 720px);
    margin-inline: auto;
  }
}
.curated-list__more-wrap {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0 0.5rem;
}
.curated-list__more-btn {
  min-width: 10rem;
}
.curated-list__sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}
.curated-list__loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.1rem 0 1.4rem;
}
.curated-list__loader[hidden] {
  display: none !important;
}
.curated-list__spinner {
  width: 1.7rem;
  height: 1.7rem;
  border: 2.5px solid #fce4ec;
  border-top-color: #c2185b;
  border-radius: 50%;
  animation: curated-spin 0.7s linear infinite;
}
@keyframes curated-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 639px) {
  .curated-list {
    padding-left: 0;
    padding-right: 0;
  }
  .curated-list__intro,
  .curated-list .objective-banner,
  .curated-list .matrimonial-objective {
    padding-left: 2.5vw;
    padding-right: 2.5vw;
  }
  .curated-list__grid {
    width: 95vw;
    max-width: 95vw;
    margin-inline: auto;
  }
}
.explorer-filters-modal__section {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}
.explorer-filters-modal__section legend {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-secondary, #c4858b);
  margin-bottom: 0.65rem;
  padding: 0;
}
.curated-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas:
    "media body"
    "actions actions";
  gap: 0.65rem 0.85rem;
  background: #fff;
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: 0 8px 24px rgba(45, 31, 34, 0.06);
  cursor: pointer;
}
.curated-card__media {
  grid-area: media;
  display: block;
  position: relative;
  width: 96px;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--rose-pale, #fff0f3);
}
.curated-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.curated-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--rose-primary, #e8637a);
}
.curated-card__head h2 {
  margin: 0;
  font-size: 1rem;
}
.curated-card__place,
.curated-card__role {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted, #9b8a8e);
}
.curated-card__live {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4caf50;
}
.curated-card__online {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: #4caf50;
  border: 2px solid #fff;
  pointer-events: none;
}
.curated-card__intent {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rose-secondary, #c4858b);
}
.curated-card__compat {
  margin: 0.45rem 0 0;
  border: 0;
  background: var(--rose-pale, #fff0f3);
  color: var(--text-primary, #2d1f22);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.curated-card__body {
  grid-area: body;
  min-width: 0;
  align-self: start;
}
.curated-card__actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(194, 24, 91, 0.1);
  cursor: default;
}
.curated-card__why {
  margin: 0.4rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: #fce4ec;
}
.curated-card__why-kicker {
  margin: 0 0 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c2185b;
}
.curated-card__why ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.curated-card__why li {
  position: relative;
  padding-left: 0.85rem;
  margin: 0.18rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #2d1f22;
}
.curated-card__why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #c2185b;
}
.curated-card__why .voice-intro {
  margin: 0.4rem 0 0;
  gap: 0.35rem 0.55rem;
}
.curated-card__why .voice-intro__play {
  min-height: 1.9rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  gap: 0.28rem;
}
.curated-card__why .voice-intro__play svg {
  width: 13px;
  height: 13px;
}
.curated-card__why .voice-intro__time {
  font-size: 0.72rem;
}
.curated-card__interest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  min-height: 2.15rem;
  padding: 0.28rem 0.65rem;
  border: 0;
  border-radius: 999px;
  background: #c2185b;
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(194, 24, 91, 0.16);
}
.curated-card__interest svg {
  flex-shrink: 0;
}
.curated-card__interest span {
  white-space: nowrap;
}
.curated-card__interest:hover {
  background: #a0144c;
}
.curated-card__interest.is-on {
  background: #5c2430;
  box-shadow: 0 4px 12px rgba(92, 36, 48, 0.18);
}
.curated-card__interest:focus-visible,
.curated-card__msg:focus-visible {
  outline: 2px solid #c2185b;
  outline-offset: 2px;
}
.curated-card__actions .explorer__action {
  width: 2.625rem;
  height: 2.625rem;
  flex-shrink: 0;
  justify-self: center;
}
.curated-card__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  min-width: 0;
  min-height: 2.15rem;
  padding: 0.26rem 0.55rem;
  border: 1.5px solid #c2185b;
  border-radius: 999px;
  background: #fff;
  color: #c2185b;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 3px 8px rgba(194, 24, 91, 0.08);
}
.curated-card__msg svg {
  flex-shrink: 0;
}
.curated-card__msg:hover {
  background: #c2185b;
  color: #fff;
}
.curated-card__msg--muted {
  background: #fff;
  color: #6e3a40;
  border-color: #6e3a40;
  box-shadow: none;
}
.curated-card__msg--muted:hover {
  background: #fce4ec;
  color: #5c2430;
  border-color: #5c2430;
}
.curated-card__msg.is-busy {
  opacity: 0.65;
  cursor: wait;
}
.curated-list__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary, #6b5a5e);
}

/* Curated Parcours — barre du bas fixe + scroll page */
html:has(body.explorer-page--curated),
body.explorer-page--curated {
  height: auto;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.explorer-page--curated .explorer {
  flex: 1 1 auto;
  min-height: 100dvh;
  height: auto;
  overflow: visible;
  padding-bottom: calc(
    var(--explorer-dock, 4.75rem) + env(safe-area-inset-bottom, 0px)
  );
}

body.explorer-page--curated .explorer__feed {
  flex: 0 1 auto;
  min-height: auto;
  overflow: visible;
  overscroll-behavior: auto;
  touch-action: auto;
}

body.explorer-page--curated .curated-list {
  overflow: visible;
  padding-bottom: 1rem;
}

body.explorer-page--curated .explorer__bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(0.55rem, env(safe-area-inset-left, 0px))
    max(0.55rem, env(safe-area-inset-right, 0px));
  padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

body.explorer-page--curated .explorer__dock {
  max-width: var(--explorer-col, 100%);
  margin-inline: auto;
}

/* Lot B — messages guidés */
.msg__composer--guided {
  padding: 0.75rem 1rem 1rem;
}
.msg__guided-lead {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #6b5a5e);
}
.msg__guided-list {
  display: grid;
  gap: 0.55rem;
}
.msg__guided-btn {
  text-align: left;
  border: 1px solid rgba(45, 31, 34, 0.08);
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-primary, #2d1f22);
  cursor: pointer;
}
.msg__guided-btn:hover {
  border-color: var(--rose-primary, #e8637a);
  background: var(--rose-pale, #fff0f3);
}
.msg__guided-skip {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--text-secondary, #6b5a5e);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.msg__guided-skip:hover {
  color: var(--bordeaux-dark, #2d1f22);
}
.msg__guided-hint {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  color: var(--text-secondary, #6b5a5e);
}
.msg__guided-answer {
  display: block;
  margin: 0 0 0.75rem;
}
.msg__guided-answer textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  border: 1px solid rgba(45, 31, 34, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--text-primary, #2d1f22);
  background: #fff;
}
.msg__guided-answer textarea:focus {
  outline: 2px solid var(--rose-primary, #c2185b);
  outline-offset: 1px;
}
.msg__composer--guided .msg__cta {
  width: 100%;
}
.msg__voice-q {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #5c2430;
  font-weight: 600;
}
.msg__guided {
  background: #fff;
  border: 1px solid rgba(92, 36, 48, 0.08);
  border-radius: 20px;
  padding: 1.05rem 1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(45, 31, 34, 0.06);
}
.msg__guided-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c2185b;
}
.msg__guided-title {
  margin: 0 0 0.45rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.3;
  color: #3d2226;
}
.msg__guided-progress {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}
.msg__guided-progress span {
  flex: 1;
  height: 0.28rem;
  border-radius: 999px;
  background: #fce4ec;
}
.msg__guided-progress span.is-on {
  background: #c2185b;
}
.msg__guided-q {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2d1f22;
}
.msg__guided-rec {
  display: grid;
  gap: 0.7rem;
}
.msg__guided-mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #c2185b;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(194, 24, 91, 0.2);
}
.msg__guided-mic.is-rec {
  background: #5c2430;
}
.msg__guided-mic:disabled {
  opacity: 0.6;
  cursor: wait;
}
.msg__guided-time {
  margin: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #5c2430;
}
.msg__guided-status {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: #6b5a5e;
}
.msg__guided-status.is-error {
  color: #e53935;
}
.msg__guided-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.msg__guided-actions[hidden] {
  display: none !important;
}
.msg__guided-redo,
.msg__guided-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}
.msg__guided-redo {
  border: 1.5px solid #5c2430;
  background: #fff;
  color: #5c2430;
  border-radius: 999px;
  min-height: 2.45rem;
  font-weight: 700;
  cursor: pointer;
}
.msg__guided-send {
  border: 0;
  background: #c2185b;
  color: #fff;
  border-radius: 999px;
  min-height: 2.45rem;
  font-weight: 700;
  cursor: pointer;
}
.msg__guided-send--text {
  width: 100%;
}
.msg__guided-ico {
  display: block;
  flex-shrink: 0;
}
.msg__guided-text-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e3a40;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
  justify-self: center;
}
.msg__guided-text {
  display: grid;
  gap: 0.45rem;
}
.msg__guided-text[hidden],
.msg__guided-text-toggle[hidden] {
  display: none !important;
}
.msg__guided-text-count {
  margin: 0;
  font-size: 0.72rem;
  color: #9b8a8e;
  text-align: right;
}
.msg__guided-withdraw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.4rem;
  margin-top: 0.55rem;
  border: 1.5px solid #5c2430;
  border-radius: 999px;
  background: #fff;
  color: #5c2430;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.guided-review__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #2d1f22;
  white-space: pre-wrap;
}
.msg__guided-wait {
  text-align: center;
  padding: 0.35rem 0 0.2rem;
}
@media (max-width: 639px) {
  .curated-list__intro {
    padding: 0.25rem 2.5vw 0.7rem;
  }
  .curated-list__kicker {
    font-size: 0.62rem;
    margin-bottom: 0.15rem;
  }
  .curated-list__title {
    font-size: 1.12rem;
    margin-bottom: 0.2rem;
  }
  .curated-list .matrimonial-objective {
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.65rem;
    border-radius: 12px;
  }
  .matrimonial-objective__kicker {
    font-size: 0.62rem;
  }
  .matrimonial-objective__value {
    font-size: 0.95rem;
  }
  .curated-card {
    padding: 0.6rem;
    gap: 0.45rem 0.6rem;
    border-radius: 14px;
  }
  .curated-card__media {
    width: 76px;
    height: 90px;
    border-radius: 10px;
  }
  .curated-card__head h2 {
    font-size: 0.88rem;
  }
  .curated-card__place,
  .curated-card__role {
    font-size: 0.72rem;
  }
  .curated-card__why {
    margin-top: 0.28rem;
    padding: 0.32rem 0.42rem;
    border-radius: 10px;
  }
  .curated-card__why-kicker {
    font-size: 0.58rem;
    margin-bottom: 0.15rem;
  }
  .curated-card__why li {
    font-size: 0.68rem;
    padding-left: 0.72rem;
  }
  .curated-card__intent {
    font-size: 0.68rem;
    margin-top: 0.25rem;
  }
  .curated-card__actions {
    gap: 0.32rem;
    padding-top: 0.35rem;
  }
  .curated-card__interest,
  .curated-card__msg {
    min-height: 2.05rem;
    padding: 0.22rem 0.45rem;
    font-size: 0.66rem;
    gap: 0.22rem;
    box-shadow: 0 3px 8px rgba(194, 24, 91, 0.12);
  }
  .curated-card__interest svg,
  .curated-card__msg svg {
    width: 12px;
    height: 12px;
  }
  .curated-card__why .voice-intro__play {
    min-height: 1.65rem;
    padding: 0.12rem 0.5rem;
    font-size: 0.64rem;
  }
  .msg__composer--guided {
    padding: 0.45rem 0.7rem 0.7rem;
  }
  .msg__guided {
    padding: 0.7rem 0.7rem 0.8rem;
    border-radius: 14px;
  }
  .msg__guided-kicker {
    font-size: 0.62rem;
    margin-bottom: 0.15rem;
  }
  .msg__guided-title {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
  }
  .msg__guided-lead,
  .msg__guided-q {
    font-size: 0.78rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }
  .msg__guided-rec {
    gap: 0.4rem;
  }
  .msg__guided-time {
    font-size: 0.72rem;
  }
  .msg__guided-mic {
    min-height: 2.15rem;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    gap: 0.28rem;
    box-shadow: 0 4px 10px rgba(194, 24, 91, 0.16);
  }
  .msg__guided-mic svg,
  .msg__guided-redo svg,
  .msg__guided-send svg {
    width: 13px;
    height: 13px;
  }
  .msg__guided-actions {
    gap: 0.32rem;
  }
  .msg__guided-redo,
  .msg__guided-send {
    min-height: 2rem;
    padding: 0.22rem 0.45rem;
    font-size: 0.68rem;
    gap: 0.22rem;
  }
  .msg__guided-status,
  .msg__guided-text-toggle {
    font-size: 0.7rem;
  }
  .msg__guided-answer textarea {
    min-height: 4.2rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
  }
  .msg__guided-withdraw,
  .msg__guided-reopen {
    min-height: 2.05rem;
    font-size: 0.72rem;
  }
  .guided-review__card {
    padding: 0.9rem 0.85rem 1rem;
  }
  .guided-review__title {
    font-size: 1.05rem;
  }
  .guided-review__lead,
  .guided-review__q,
  .guided-review__text {
    font-size: 0.78rem;
  }
  .guided-review__btn {
    min-height: 2.15rem;
    font-size: 0.72rem;
  }
}
.guided-review[hidden] {
  display: none !important;
}
.guided-review {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
}
@media (min-width: 640px) {
  .guided-review {
    place-items: center;
  }
}
.guided-review__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(61, 34, 38, 0.48);
}
.guided-review__card {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: 92dvh;
  overflow: auto;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 1.2rem 1.1rem 1.35rem;
  box-shadow: 0 18px 40px rgba(45, 31, 34, 0.18);
}
@media (min-width: 640px) {
  .guided-review__card {
    border-radius: 24px;
  }
}
.guided-review__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: #fce4ec;
  color: #5c2430;
  cursor: pointer;
}
.guided-review__kicker {
  margin: 0 2.4rem 0.25rem 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c2185b;
}
.guided-review__title {
  margin: 0 2.4rem 0.4rem 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: #3d2226;
}
.guided-review__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #6b5a5e;
}
.guided-review__clip {
  margin: 0 0 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: #fce4ec;
}
.guided-review__step {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c2185b;
}
.guided-review__q {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #2d1f22;
}
.guided-review__safety {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin: 0.85rem 0 1rem;
}
.guided-review__safety button {
  border: 0;
  background: transparent;
  color: #6e3a40;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}
.guided-review__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.guided-review__btn {
  min-height: 2.85rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.guided-review__btn--accept {
  border: 0;
  background: #c2185b;
  color: #fff;
  box-shadow: 0 8px 16px rgba(194, 24, 91, 0.2);
}
.guided-review__btn--reject {
  border: 1.5px solid #5c2430;
  background: #fff;
  color: #5c2430;
}
.guided-review__error {
  margin: 0 0 0.7rem;
  color: #e53935;
  font-size: 0.82rem;
}
.msg__guided-reopen {
  display: block;
  width: 100%;
  min-height: 2.7rem;
  border: 0;
  border-radius: 999px;
  background: #c2185b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.msg__quota-hint {
  margin: 0;
  padding: 0.65rem 1rem 0;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  color: var(--text-secondary, #6b5a5e);
}

/* Lot C — objectif matrimonial + intérêts fusionnés */
.matrimonial-objective {
  background: #fff;
  border-radius: 16px;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  box-shadow: 0 6px 18px rgba(45, 31, 34, 0.05);
}
.matrimonial-objective__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-secondary, #c4858b);
}
.matrimonial-objective__value {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--text-primary, #2d1f22);
}
.likes__panel.hidden {
  display: none;
}
.likes__toolbar--sections {
  margin-bottom: 0.35rem;
}
.likes__filters--main {
  margin-bottom: 0.5rem;
}
.likes__history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: min(100%, 1120px);
  margin-inline: auto;
  padding: 0 clamp(0.25rem, 1.5vw, 0.5rem) 1.5rem;
}

@media (min-width: 640px) {
  .likes__history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .likes__history-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.likes__history-grid .history__card {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(92, 58, 63, 0.08);
}
.msg__daily-suggestion {
  margin: 0 1rem 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: var(--rose-pale, #fff0f3);
  color: var(--text-secondary, #6b5a5e);
  font-size: 0.86rem;
  line-height: 1.45;
}
.ob__chip-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(45, 31, 34, 0.1);
  cursor: pointer;
}
.ob__chip-check input {
  accent-color: var(--rose-primary, #c2185b);
}

.explorer__chips {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 70%;
}
.explorer__chips span,
.moi-menu a,
.moi-menu button {
  border-radius: 999px;
  background: #fff;
  color: #5c2430;
  border: 1px solid #f8e8ea;
}
.explorer__chips span {
  padding: 0.28rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.explorer__why {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #5c2430;
}
.cx-list { display: grid; gap: 0.8rem; padding: 0 1rem 6rem; }
.cx-card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.45rem;
}
.cx-card h2 { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; color: #5c2430; margin: 0; }
.cx-card__kicker { margin: 0; color: #c2185b; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.cx-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.cx-close { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; margin-top: 0.6rem; }
.moi-menu { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.moi-menu a, .moi-menu button {
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
}
body.visit-profil-page { padding-bottom: 5.5rem; }
body.welcome-page .welcome__frost { display: none; }
body.welcome-page .welcome {
  max-width: none;
  width: 100%;
}
body.welcome-page .welcome__top,
body.welcome-page .welcome__actions {
  width: min(100%, 26rem);
  margin-inline: auto;
}
body.welcome-page .welcome__wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
body.welcome-page .welcome__logo {
  width: 2.6rem;
  height: auto;
  margin: 0;
  flex-shrink: 0;
  color: #fff;
}
body.welcome-page .welcome__mark {
  width: 2.35rem;
  height: auto;
  color: #fff;
  flex-shrink: 0;
  margin-top: 0.35rem;
}
body.welcome-page .welcome__title {
  font-size: clamp(2.7rem, 11vw, 3.6rem);
  text-shadow: 0 2px 10px rgba(45, 31, 34, 0.28);
}
body.welcome-page .welcome__divider {
  width: min(100%, 16rem);
  margin-top: 0.35rem;
}
body.welcome-page .welcome__tagline {
  margin-top: 0.85rem;
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 500;
}
body.welcome-page .welcome__slogan {
  position: absolute;
  top: 27%;
  right: max(0.8rem, 6vw);
  width: min(15rem, 58vw);
  margin: 0;
  text-align: center;
  color: #5c2430;
  font-family: var(--font-brand);
  font-size: clamp(2.15rem, 7.5vw, 3.15rem);
  line-height: 0.95;
  transform: rotate(-8deg);
  text-shadow: none;
}
body.welcome-page .welcome__slogan-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  color: #5c2430;
}
body.welcome-page .welcome__slogan-flourish span {
  flex: 1;
  height: 2px;
  background: #5c2430;
  max-width: 3.2rem;
}
body.welcome-page .welcome__slogan-flourish svg {
  width: 1.15rem;
  height: auto;
}
body.welcome-page .welcome__cta {
  background: var(--rose-primary);
  animation: none;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(45, 31, 34, 0.18);
}
body.welcome-page .welcome__cta:hover {
  background: var(--hover-primary);
}
body.welcome-page .welcome__cta-icon {
  animation: none;
  width: 1.2rem;
}
body.welcome-page .welcome__login {
  color: #fff;
  text-shadow: 0 1px 6px rgba(45, 31, 34, 0.35);
}

body.explorer-page .explorer__icon-btn,
body.explorer-page .explorer__menu-anchor > .explorer__icon-btn {
  width: 2.4rem;
  height: 2.4rem;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2d1f22;
  box-shadow: none;
}
body.explorer-page .explorer__chrome {
  background: #fff;
  border-bottom: 0;
}
body.explorer-page .explorer__top {
  grid-template-columns: 2.75rem 1fr 2.75rem;
}
body.explorer-page .explorer__top-spacer { width: 2.75rem; }
body.explorer-page .explorer__logo {
  justify-self: center;
  font-size: 2.45rem;
  color: #c2185b;
}
body.explorer-page .explorer__menu {
  left: auto;
  right: 0;
}
body.explorer-page .explorer__menu button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font: inherit;
  font-weight: 500;
  color: #2d1f22;
  cursor: pointer;
}
body.explorer-page .cdc-switch {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  padding: 0 0 0.45rem;
  background: #fff;
}
body.explorer-page .cdc-switch a {
  color: #9b8a8e;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid transparent;
}
body.explorer-page .cdc-switch a.is-on {
  color: #c2185b;
  border-bottom-color: #c2185b;
}
body.explorer-page .explorer__feed { padding: 0 0.85rem 0.15rem; background: #fff; }
body.explorer-page .explorer__card {
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(45, 31, 34, 0.06);
}
body.explorer-page .explorer__media {
  flex: 1 1 auto;
  height: auto;
  width: auto;
  margin: 0.2rem 0.15rem 0;
  border: 0;
  border-radius: 1.35rem;
  box-shadow: none;
}
body.explorer-page .explorer__meta {
  gap: 0.28rem;
  padding: 0.85rem 0.95rem 0.7rem;
  background: rgba(45, 31, 34, 0.38);
}
body.explorer-page .explorer__meta h2,
body.explorer-page .explorer__meta h2 a {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  text-shadow: none;
}
body.explorer-page .cdc-loc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font-size: 0.95rem;
}
body.explorer-page .explorer__place {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: default;
}
body.explorer-page .explorer__place svg {
  color: #fff;
}
body.explorer-page .cdc-online {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
body.explorer-page .cdc-online::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
}
body.explorer-page .cdc-sheet {
  flex: 0 0 auto;
  background: #fff;
  padding: 0.7rem 0.35rem 0.35rem;
}
body.explorer-page .cdc-reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
body.explorer-page .cdc-reasons li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.28rem 0.85rem 0.28rem 0.28rem;
  border-radius: 999px;
  background: #f3f0f1;
  color: #3a3032;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}
body.explorer-page .cdc-reasons__ico {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #e6dfe1;
  flex-shrink: 0;
  font-size: 0.72rem;
  color: #5c2430;
}
body.explorer-page .cdc-reasons__ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Boutons pass / like / star — deck swipe uniquement (pas les cartes curated) */
body.explorer-page .explorer__actions {
  margin: 0.85rem 0 0.35rem;
  gap: 1.4rem;
}
body.explorer-page .explorer__actions .explorer__action--pass,
body.explorer-page .explorer__actions .explorer__action--like,
body.explorer-page .explorer__actions .explorer__action--star {
  width: 71px;
  height: 71px;
  border: 0;
  flex-shrink: 0;
}
body.explorer-page .explorer__actions .explorer__action svg {
  display: block;
  width: 34px;
  height: 34px;
}
body.explorer-page .explorer__actions .explorer__action--pass,
body.explorer-page .explorer__actions .explorer__action--like {
  background: #e11d48;
  color: #fff;
  box-shadow: 0 8px 16px rgba(225, 29, 72, 0.28);
}
body.explorer-page .explorer__actions .explorer__action--star {
  background: #fff;
  color: #3b82f6;
  box-shadow: 0 6px 14px rgba(45, 31, 34, 0.12);
}
@media (max-width: 767px) {
  body.explorer-page .explorer__actions .explorer__action--pass,
  body.explorer-page .explorer__actions .explorer__action--like,
  body.explorer-page .explorer__actions .explorer__action--star {
    width: 62px;
    height: 62px;
  }
  body.explorer-page .explorer__actions .explorer__action svg {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 480px) {
  body.explorer-page .explorer__actions .explorer__action--pass,
  body.explorer-page .explorer__actions .explorer__action--like,
  body.explorer-page .explorer__actions .explorer__action--star {
    width: 56px;
    height: 56px;
  }
  body.explorer-page .explorer__actions .explorer__action svg {
    width: 28px;
    height: 28px;
  }
}
body.explorer-page .explorer__actions .explorer__action--star.is-on {
  background: #fff;
  color: #3b82f6;
}
body.explorer-page--curated .curated-card__actions .explorer__action svg {
  width: 1.15rem;
  height: 1.15rem;
}
body.explorer-page .explorer__bottom {
  background: #fff;
}
body.explorer-page .explorer__dock,
body.cdc-app .explorer__dock {
  align-items: center;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid #f4ecee;
  padding: 0.62rem 0.1rem calc(0.42rem + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.explorer-page .explorer__tab,
body.cdc-app .explorer__tab {
  min-height: 0;
  min-width: 0;
  justify-content: center;
  gap: 0.22rem;
  padding-inline: 0.06rem;
  color: #3d4451;
  font-weight: 700;
}
body.explorer-page .explorer__tab-label,
body.cdc-app .explorer__tab-label {
  display: block;
  max-width: 100%;
  font-size: clamp(0.56rem, 2.65vw, 0.68rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
body.explorer-page .explorer__tab-icon,
body.explorer-page .explorer__tab.is-active .explorer__tab-icon,
body.cdc-app .explorer__tab-icon,
body.cdc-app .explorer__tab.is-active .explorer__tab-icon {
  width: 1.85rem;
  height: 1.85rem;
  margin-top: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.explorer-page .explorer__tab.is-active,
body.explorer-page .explorer__tab.is-active .explorer__tab-icon,
body.cdc-app .explorer__tab.is-active,
body.cdc-app .explorer__tab.is-active .explorer__tab-icon {
  color: #c2185b;
  background: transparent;
}
body.explorer-page .explorer__tab svg,
body.explorer-page .explorer__tab.is-active svg,
body.cdc-app .explorer__tab svg,
body.cdc-app .explorer__tab.is-active svg {
  width: 1.625rem;
  height: 1.625rem;
}
body.explorer-page .explorer__tab.is-active svg path[fill="currentColor"],
body.cdc-app .explorer__tab.is-active svg path[fill="currentColor"] {
  fill: currentColor;
}
body.cdc-app {
  background: #fff;
}
body.cdc-app .explorer-hearts,
body.cdc-app .explorer-rise,
body.cdc-app .explorer-wing { display: none; }
body.cdc-app .explorer__chrome,
body.cdc-app .explorer__bottom {
  background: #fff;
}
body.cdc-app .explorer__logo { color: #c2185b; }
body.cdc-app .explorer__tab.is-active,
body.cdc-app .explorer__tab.is-active .explorer__tab-icon {
  box-shadow: none;
  margin-top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
}
@media (max-width: 380px) {
  body.explorer-page .explorer__tab-label,
  body.cdc-app .explorer__tab-label {
    font-size: 0.54rem;
  }
  body.explorer-page .explorer__tab svg,
  body.explorer-page .explorer__tab.is-active svg,
  body.cdc-app .explorer__tab svg,
  body.cdc-app .explorer__tab.is-active svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}
.cdc-projet-slogan {
  margin: 0 0 0.7rem;
  text-align: center;
  color: #c2185b;
  font-size: 0.95rem;
  font-weight: 500;
}
.cdc-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
}
.cdc-dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f3d0d8;
}
.cdc-dots i.is-on {
  background: #c2185b;
  box-shadow: 0 0 0 4px #c2185b;
  border-radius: 999px;
  width: 0.55rem;
  height: 0.22rem;
}
.cdc-q {
  margin: 1.1rem 0 0.55rem;
  font-size: 1.05rem;
  color: #2d1f22;
}
.cdc-choice {
  display: grid;
  gap: 0.55rem;
}
.cdc-choice__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #f0e6e8;
  color: #2d1f22;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.cdc-choice__item.is-on {
  background: #fce4ec;
  box-shadow: 0 0 0 1.5px #f4c4d0;
}
.cdc-choice__item.is-on::after {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  margin-left: auto;
  border-radius: 50%;
  background: #c2185b url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9.2 16.6 5 12.4l1.4-1.4 2.8 2.8 8-8L18.6 7z'/></svg>") center / 0.75rem no-repeat;
}
.cdc-choice__ico {
  color: #9b8a8e;
}
.cdc-choice__item.is-on .cdc-choice__ico { color: #c2185b; }
.cdc-page {
  padding: 0.4rem 1.1rem 6rem;
  background: #fff;
}
body.connexions-page .explorer__chrome,
body.connexions-page .cdc-page {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.cdc-page__title {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2d1f22;
}
body.cdc-app .explorer__icon-btn {
  font: inherit;
  padding: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
  color: #2d1f22;
}
.cdc-people,
.cdc-requests { display: grid; gap: 0; }
.cdc-cx-tabs {
  display: flex;
  gap: 0.45rem;
  margin: -0.25rem 0 0.85rem;
}
.cdc-cx-tabs a {
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  background: #f6eef0;
  color: #6b5a5e;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}
.cdc-cx-tabs a.is-on {
  background: #c2185b;
  color: #fff;
}
.cdc-search {
  display: block;
  padding: 0 1.1rem 0.55rem;
  background: #fff;
}
.cdc-search[hidden] { display: none !important; }
.cdc-search input {
  width: 100%;
  border: 1px solid #f0e6e8;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  color: #2d1f22;
  background: #fff;
}
.cdc-person {
  display: grid;
  grid-template-columns: 3.35rem 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f6eef0;
}
.cdc-person__avatar,
.cdc-moi__avatar {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f3e6e9;
  color: #5c2430;
  font-weight: 700;
}
.cdc-person__avatar img,
.cdc-moi__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cdc-person__meta { min-width: 0; }
.cdc-person__meta strong {
  display: block;
  color: #2d1f22;
}
.cdc-person__status,
.cdc-person__wait {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #9b8a8e;
  font-size: 0.78rem;
}
.cdc-person__status.is-on { color: #16a34a; }
.cdc-person__status.is-on::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #22c55e;
}
.cdc-person__status.is-off { color: #9b8a8e; }
.cdc-person__status.is-off svg { color: #c9b8bb; }
.cdc-person__wait { color: #c2185b; font-weight: 600; }
.cdc-person form { margin: 0; }
.cdc-person__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #fce4ec;
  color: #c2185b;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
}
.cdc-person__more { position: relative; }
.cdc-person__dots {
  width: 2rem;
  height: 2.15rem;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 0.16rem;
  cursor: pointer;
}
.cdc-person__dots span {
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 50%;
  background: #8a7a7e;
}
.cdc-person__menu {
  position: absolute;
  right: 0;
  top: calc(100% - 0.15rem);
  z-index: 8;
  min-width: 10rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(45, 31, 34, 0.14);
}
.cdc-person__menu a,
.cdc-person__menu button {
  display: block;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #2d1f22;
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.cdc-person__menu a:hover,
.cdc-person__menu button:hover { background: #fce4ec; }
.cdc-request {
  padding: 0.9rem;
  border-radius: 1rem;
  background: #fce4ec;
  margin-bottom: 0.8rem;
}
.cdc-request__kicker {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: #c2185b;
}
.cdc-request__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.cdc-inbox {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 0.7rem;
  align-items: center;
}
.cdc-inbox .cdc-page__title { margin: 0; }
.cdc-inbox__cap {
  margin: 0;
  color: #c2185b;
  font-weight: 700;
}
.cdc-inbox__warn {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0.4rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
  background: #fdecea;
  color: #6b3a2a;
  font-size: 0.88rem;
}
.cdc-conseils__head {
  text-align: center;
  padding: 0.35rem 0 0.2rem;
}
.cdc-conseils__shield {
  margin: 0 0 0.35rem;
  line-height: 0;
}
.cdc-conseils__brand {
  margin: 0;
  color: #c2185b;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cdc-conseils__lead {
  margin: 0.4rem auto 0.85rem;
  max-width: 20rem;
  color: #6b5a5e;
  font-size: 0.82rem;
  line-height: 1.45;
}
.cdc-filters {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.cdc-filters button {
  border: 0;
  background: #f3ecee;
  color: #6b5a5e;
  border-radius: 999px;
  padding: 0.38rem 0.95rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.cdc-filters button.is-on {
  background: #c2185b;
  color: #fff;
}
.cdc-topics {
  display: grid;
  gap: 0;
  margin-top: 0.65rem;
  padding-bottom: 0.5rem;
}
.cdc-topic {
  border-bottom: 1px solid #efe6e9;
}
.cdc-topic__hit {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.15rem 0.85rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.cdc-topic__hit:focus-visible {
  outline: 2px solid #c2185b;
  outline-offset: 2px;
  border-radius: 0.5rem;
}
.cdc-topic__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.15rem 1rem 0;
}
.cdc-topic__thumb {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8e8ea;
}
.cdc-topic__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cdc-topic__thumb--icon img {
  object-fit: contain;
  padding: 0.35rem;
}
.cdc-topic__thumb--assistant {
  background: #fce4ec;
}
.signup-required {
  font-weight: 600;
  color: #c2185b;
  font-size: 0.82em;
}
.auth-gate [data-notif-enable].is-enabled {
  background: #4caf50;
  border-color: #43a047;
  color: #fff;
}
.auth-gate [data-notif-enable].is-enabled:hover {
  background: #43a047;
  color: #fff;
}
.cdc-topic__copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.cdc-topic__copy--coach {
  display: block;
}
.cdc-topic__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d1f22;
  line-height: 1.25;
}
.cdc-topic__summary {
  margin: 0;
  color: #6b5a5e;
  font-size: 0.78rem;
  line-height: 1.45;
}
.cdc-topic__chev {
  color: #b8a8ab;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
  padding-right: 0.1rem;
}
.cdc-topic--coach {
  border-bottom: 0;
}
.cdc-topic--coach .cdc-topic__title {
  font-size: 0.95rem;
}
.cdc-topic__cta {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: #c2185b;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.cdc-topic__cta:hover {
  background: #a0144c;
  color: #fff;
}
body.conseils-page main.cdc-page.cdc-conseils {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  body.conseils-page main.cdc-page.cdc-conseils {
    max-width: 1000px;
  }
}
.conseil-detail {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.conseil-detail[hidden] {
  display: none !important;
}
body.conseil-detail-open {
  overflow: hidden;
}
.conseil-detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(45 31 34 / 0.45);
}
.conseil-detail__sheet {
  position: relative;
  width: min(100%, 26rem);
  max-height: min(92vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 1.15rem 1.15rem 0 0;
  box-shadow: 0 -8px 32px rgb(45 31 34 / 0.12);
}
.conseil-detail__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: #2d1f22;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.conseil-detail__hero {
  aspect-ratio: 16 / 9;
  background: #fce4ec;
  overflow: hidden;
}
.conseil-detail__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.conseil-detail__body {
  padding: 1rem 1.1rem 1.35rem;
}
.conseil-detail__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d1f22;
}
.conseil-detail__intro {
  margin: 0 0 0.85rem;
  color: #6b5a5e;
  font-size: 0.88rem;
  line-height: 1.5;
}
.conseil-detail__list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: #2d1f22;
  font-size: 0.86rem;
  line-height: 1.55;
}
.conseil-detail__list li + li {
  margin-top: 0.45rem;
}
.conseil-detail__actions {
  margin: 0;
}
@media (min-width: 640px) {
  .conseil-detail {
    align-items: center;
    padding: 1rem;
  }
  .conseil-detail__sheet {
    border-radius: 1.15rem;
    max-height: min(88vh, 680px);
  }
}
html:has(body.moi-page),
body.moi-page.visit-profil-page {
  background: #fff !important;
}
body.moi-page.visit-profil-page::before,
body.moi-page.visit-profil-page::after {
  display: none !important;
}
body.moi-page .explorer {
  display: block;
  height: auto;
  min-height: 100dvh;
  overflow: visible;
  background: #fff;
}
body.moi-page .visit.visit--own {
  width: 100%;
  max-width: none;
  min-height: 0;
  padding-bottom: 0;
  background: #fff;
}
body.moi-page .cdc-moi-chrome {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}
body.moi-page .cdc-moi-chrome .explorer__top {
  display: grid;
  grid-template-columns: 2.4rem 1fr 2.4rem;
  align-items: center;
  padding: 0.55rem 1rem 0.2rem;
}
body.moi-page .cdc-moi-chrome .explorer__logo {
  justify-self: center;
  font-size: 1.85rem;
  color: #c2185b;
  text-decoration: none;
}
body.moi-page .cdc-moi-chrome .explorer__icon-btn {
  justify-self: end;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #8a7a7e;
}
body.moi-page .cdc-moi-quick {
  display: grid;
  gap: 0;
  margin: 0 1rem 0.5rem;
  padding: 0.25rem 0;
  border: 1px solid #efe6e9;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 8px 24px rgb(45 31 34 / 0.08);
}
body.moi-page .cdc-moi-quick[hidden] {
  display: none !important;
}
body.moi-page .cdc-moi-quick a,
body.moi-page .cdc-moi-quick button {
  border: 0;
  background: transparent;
  padding: 0.7rem 0.95rem;
  text-align: left;
  font: inherit;
  color: #2d1f22;
  cursor: pointer;
  text-decoration: none;
}
body.moi-page .visit.visit--own,
body.moi-page .cdc-moi-chrome,
body.moi-page .visit__sheet--moi {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
body.moi-page .visit__sheet--moi {
  padding: 0.35rem 1.25rem calc(9.5rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
}
body.moi-page .visit__sheet--moi > .visit__panel--moi:not(.is-mounted) {
  display: none !important;
}
.cdc-moi__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.55rem 0 1.15rem;
}
.cdc-moi__avatar-btn {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
}
.cdc-moi__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.1rem;
  height: 7.1rem;
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: #f3ecee;
  color: #c2185b;
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px #e6dcdf;
}
.cdc-moi__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cdc-moi__name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0.95rem;
}
.cdc-moi__name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #2d1f22;
}
.cdc-moi__edit {
  border: 0;
  padding: 0.15rem;
  background: transparent;
  color: #2d1f22;
  cursor: pointer;
  line-height: 0;
}
.cdc-moi__progress {
  width: 100%;
  margin: 0 auto 0.35rem;
  text-align: left;
}
.cdc-moi__complete {
  margin: 0 0 0.4rem;
  color: #22c55e;
  font-size: 0.82rem;
  font-weight: 600;
}
.cdc-moi__bar-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: center;
}
.cdc-moi__bar {
  height: 0.42rem;
  border-radius: 999px;
  background: #e8f5e9;
  overflow: hidden;
}
.cdc-moi__bar span {
  display: block;
  height: 100%;
  background: #22c55e;
  border-radius: 999px;
}
.cdc-moi__check {
  line-height: 0;
}
.cdc-moi {
  display: grid;
  gap: 0;
  margin: 0.35rem 0 0.5rem;
}
.cdc-moi__divider {
  height: 1px;
  margin: 0.55rem 0 0.35rem;
  background: #efe6e9;
}
.cdc-moi__row {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.92rem 0;
  border: 0;
  border-bottom: 1px solid #f4ecee;
  background: transparent;
  color: #2d1f22;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.cdc-moi__group .cdc-moi__item:last-child .cdc-moi__row {
  border-bottom: 0;
}
.cdc-moi__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d1f22;
}
.cdc-moi__icon--gold {
  color: #d4a017;
}
.cdc-moi__icon--danger {
  color: #e53935;
}
.cdc-moi__label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2d1f22;
}
.cdc-moi__chev {
  color: #9b8a8e;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.cdc-moi__drawer {
  padding: 0 0 0.95rem;
}
.cdc-moi__drawer .visit__panel,
.cdc-moi__drawer .visit__settings-panel {
  padding: 0;
}
.cdc-moi__drawer .visit-glass,
.cdc-moi__drawer .cx-card {
  box-shadow: none;
  border: 1px solid #efe6e9;
  background: #fff;
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
}
.cdc-moi__drawer .cx-card label {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.7rem;
  color: #2d1f22;
  font-size: 0.86rem;
  font-weight: 600;
}
.cdc-moi__drawer .cx-card select,
.cdc-moi__drawer .visit-form select,
.cdc-moi__drawer .visit-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid #efe6e9;
  border-radius: 0.7rem;
  background: #fff;
  color: #2d1f22;
  padding: 0.45rem 0.7rem;
}
.cdc-moi__item.is-open > .cdc-moi__row {
  border-bottom-color: transparent;
}
.cdc-moi__item.is-open .cdc-moi__chev {
  color: #c2185b;
  transform: rotate(90deg);
}
.cdc-moi__item--mount:not(.is-open) {
  display: none;
}
.cdc-moi__item--mount.is-open {
  display: block;
  padding-top: 0.25rem;
}
.cdc-moi-help-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cdc-moi-help-links a {
  display: block;
  padding: 0.55rem 0;
  color: #c2185b;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #f4ecee;
}
.cdc-moi-help-links li:last-child a {
  border-bottom: 0;
}
body.moi-page .visit__subtabs,
body.moi-page .visit__tabs--sr {
  display: none !important;
}
body.cdc-app.visit-profil-page .visit__nav,
body.cdc-app.visit-profil-page .visit__intro,
body.cdc-app.visit-profil-page .visit__tabs:not(.visit__tabs--sr) {
  display: none;
}
body.cdc-app.visit-profil-page .visit__sheet {
  padding-top: 0.15rem;
}
[data-moi-photos-inline] {
  display: none !important;
}
.moi-photos-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: #fff;
}
.moi-photos-modal[hidden],
.moi-photo-view[hidden] {
  display: none !important;
}
body.moi-photos-open,
body.moi-photo-view-open {
  overflow: hidden;
}
.moi-photos-modal__sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}
.moi-photos-modal__top {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid #efe6e9;
}
.moi-photos-modal__back,
.moi-photos-modal__close {
  border: 0;
  background: transparent;
  color: #2d1f22;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  cursor: pointer;
}
.moi-photos-modal__close {
  justify-self: end;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 400;
}
.moi-photos-modal__title {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d1f22;
}
.moi-photos-modal__body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
.moi-photos-modal .visit__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .moi-photos-modal .visit__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.moi-photos-modal [data-photo-id] {
  cursor: pointer;
}
.moi-photo-view {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d1f22;
}
.moi-photo-view img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.moi-photo-view__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: #2d1f22;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* —— Fil de discussion CDC —— */
body.messages-page.cdc-app {
  background: #fff;
}
body.messages-page.cdc-app .explorer-hearts,
body.messages-page.cdc-app .explorer-rise,
body.messages-page.cdc-app .explorer-wing {
  display: none;
}
body.messages-page.cdc-app .msg {
  background: #fff;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.messages-page.cdc-app .msg__top {
  background: #fff;
  border-bottom: 1px solid #f4ecee;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.messages-page.cdc-app .msg__icon-btn {
  background: #fff;
  border: 1px solid #f0e6e8;
  box-shadow: none;
  color: #5c2430;
  border-radius: 999px;
}
body.messages-page.cdc-app .msg__icon-btn:hover {
  background: #fce4ec;
  color: #c2185b;
}
body.messages-page.cdc-app .msg__brand img {
  display: none;
}
body.messages-page.cdc-app .msg__brand span {
  color: #c2185b;
}
body.messages-page.cdc-app .msg__pair {
  gap: 0.65rem;
  padding: 0.5rem 0.85rem 0.45rem;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #f7eef0;
}
body.messages-page.cdc-app .msg__pair--split {
  justify-content: space-between;
  gap: 0.4rem;
}
body.messages-page.cdc-app .msg__pair-people {
  gap: 0.5rem;
}
body.messages-page.cdc-app .msg__cta--compact {
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
}
body.messages-page.cdc-app .msg__person::before {
  display: none;
}
body.messages-page.cdc-app .msg__avatar {
  width: 2.5rem;
  height: 2.5rem;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #f3d0d8;
}
body.messages-page.cdc-app .msg__person strong {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2d1f22;
}
body.messages-page.cdc-app .msg__name-link {
  color: inherit;
  font: inherit;
}
body.messages-page.cdc-app .msg__person em {
  font-size: 0.62rem;
  font-weight: 500;
  color: #9b8a8e;
}
body.messages-page.cdc-app .msg__person--me em,
body.messages-page.cdc-app .msg__person:has(.msg__dot) em {
  color: #c2185b;
}
body.messages-page.cdc-app .msg__heart {
  margin: 0 0 0.55rem;
  color: #c2185b;
}
body.messages-page.cdc-app .msg__heart svg {
  width: 0.8rem;
  height: 0.72rem;
}
body.messages-page.cdc-app .msg__card,
body.messages-page.cdc-app .msg__status {
  flex-shrink: 0;
  width: calc(100% - 2rem);
  max-width: 34rem;
  margin: 0.55rem auto 0;
}
body.messages-page.cdc-app .msg__status {
  padding: 0.55rem 0.85rem;
  border-radius: 0.95rem;
  background: #fce4ec;
  color: #5c2430;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}
body.messages-page.cdc-app .msg__card {
  padding: 0.7rem 1rem 0.8rem;
  border-radius: 1rem;
  background: #fce4ec;
  text-align: center;
}
body.messages-page.cdc-app .msg__card.is-quiet {
  padding: 0.28rem 0.65rem;
  margin: 0.35rem auto 0;
  border-radius: 999px;
  background: #faf4f6;
}
body.messages-page.cdc-app .msg__card.is-quiet .msg__card-title {
  font-size: 0.65rem;
  line-height: 1.25;
  font-weight: 500;
  color: #6b5a5e;
}
body.messages-page.cdc-app .msg__card-kicker {
  margin: 0 0 0.25rem;
  color: #c2185b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.messages-page.cdc-app .msg__card-title {
  margin: 0;
  color: #2d1f22;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
}
body.messages-page.cdc-app .msg__card-meta,
body.messages-page.cdc-app .msg__card-why {
  margin: 0.4rem 0 0;
  color: #6b5a5e;
  font-size: 0.82rem;
}
body.messages-page.cdc-app .msg__card form {
  margin: 0.75rem 0 0;
}
body.messages-page.cdc-app .msg__card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
body.messages-page.cdc-app .msg__card-actions form {
  margin: 0;
}
body.messages-page.cdc-app .msg__cta,
body.messages-page.cdc-app .msg__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
body.messages-page.cdc-app .msg__cta {
  border: 0;
  background: #c2185b;
  color: #fff;
}
body.messages-page.cdc-app .msg__cta:hover {
  background: #a0144c;
}
body.messages-page.cdc-app .msg__ghost {
  border: 1px solid #e8cfd4;
  background: #fff;
  color: #5c2430;
}
body.messages-page.cdc-app .msg__ghost:hover {
  background: #fff;
  border-color: #c2185b;
  color: #c2185b;
}
body.messages-page.cdc-app .msg__thread {
  padding: 0.9rem 1rem 0.6rem;
}
body.messages-page.cdc-app .msg__bubble {
  background: #fff;
  border: 1px solid #f0e6e8;
  box-shadow: 0 6px 18px rgba(45, 31, 34, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.messages-page.cdc-app .msg__row.is-mine .msg__bubble {
  background: #fce4ec;
  border-color: transparent;
}
body.messages-page.cdc-app .msg__composer {
  background: #fff;
  padding: 0.45rem 0.85rem 0.65rem;
  border-top: 1px solid #f7eef0;
}
body.messages-page.cdc-app .msg__field {
  background: #fff;
  border: 1px solid #f0e6e8;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.messages-page.cdc-app .msg__limit {
  margin: 0 1rem 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: #fdecea;
  color: #6b3a2a;
  font-size: 0.84rem;
}
body.messages-page.cdc-app .msg-close__reasons {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.4rem;
}
body.messages-page.cdc-app .msg-close__reasons legend {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c2430;
}
body.messages-page.cdc-app .msg-close__choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #f0e6e8;
  cursor: pointer;
}
body.messages-page.cdc-app .msg-close__choice:has(input:checked) {
  box-shadow: 0 0 0 2px #c2185b;
  background: #fce4ec;
}
body.messages-page.cdc-app .msg-close__choice input {
  accent-color: #c2185b;
}
body.messages-page.cdc-app .msg-close__choice span {
  font-size: 0.9rem;
  color: #2d1f22;
}
body.messages-page.cdc-app #msg-close-modal .msg-report__card {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 34rem);
}
body.messages-page.cdc-app #msg-close-modal .msg-report__form {
  min-height: 0;
  flex: 1 1 auto;
}
body.messages-page.cdc-app #msg-close-modal .msg-close__reasons {
  max-height: 16rem;
  overflow: auto;
}
body.messages-page.cdc-app #msg-close-modal .msg-report__actions {
  position: sticky;
  bottom: 0;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  background: #fff;
}

@media (max-width: 767px) {
  body.messages-page.cdc-app .msg__pair {
    gap: 0.45rem;
    padding: 0.35rem 0.7rem 0.3rem;
  }
  body.messages-page.cdc-app .msg__avatar {
    width: 2.15rem;
    height: 2.15rem;
  }
  body.messages-page.cdc-app .msg__person strong {
    font-size: 0.68rem;
  }
  body.messages-page.cdc-app .msg__person em {
    font-size: 0.56rem;
  }
  body.messages-page.cdc-app .msg__heart {
    margin-bottom: 0.4rem;
  }
  body.messages-page.cdc-app .msg__heart svg {
    width: 0.68rem;
    height: 0.62rem;
  }
  body.messages-page.cdc-app .msg__card.is-quiet {
    width: calc(100% - 1.25rem);
    padding: 0.22rem 0.5rem;
    margin-top: 0.25rem;
  }
  body.messages-page.cdc-app .msg__card.is-quiet .msg__card-title {
    font-size: 0.58rem;
    line-height: 1.2;
  }
  body.messages-page.cdc-app .msg__thread {
    padding-top: 0.5rem;
  }
}

.voice-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0.45rem 0 0;
}
.voice-intro--card {
  margin-top: 0.5rem;
}
.voice-intro__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid #5c2430;
  border-radius: 999px;
  background: #fff;
  color: #5c2430;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.voice-intro__play:hover,
.voice-intro__play[aria-pressed="true"] {
  background: #c2185b;
  border-color: #c2185b;
  color: #fff;
}
.voice-intro__ico {
  display: block;
  flex-shrink: 0;
}
.voice-intro__ico[hidden] {
  display: none !important;
}
.voice-intro__time {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b5a5e;
}
.voice-intro__report {
  flex: 1 1 100%;
  margin: 0;
}
.voice-intro__report summary {
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5c2430;
}
.voice-intro__report-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.voice-intro__report-form textarea {
  width: 100%;
  border: 1px solid #e8d4d8;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.85rem;
  color: #2d1f22;
  background: #fff;
  resize: vertical;
}
.voice-intro__report-form button {
  justify-self: start;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #c2185b;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.voice-intro__report-status {
  margin: 0;
  font-size: 0.78rem;
  color: #5c2430;
}
.visit__voice {
  margin: 0.75rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  background: #fff;
}
.visit__voice .visit__kicker {
  margin: 0 0 0.25rem;
  color: #c2185b;
}
.visit__voice .visit__card-lead {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: #6b5a5e;
}
.voice-intro--own {
  margin-top: 0.35rem;
}
.voice-intro__empty,
.voice-intro__timer {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: #6b5a5e;
}
.voice-intro__own-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.voice-intro__own-actions .btn {
  min-height: 2.4rem;
}
.voice-intro__own-actions .btn[hidden],
.voice-intro__player-slot[hidden],
.voice-intro__empty[hidden],
.voice-intro__timer[hidden] {
  display: none !important;
}
