/* Akamako (ex-Discovery) — Tinder-style swipe page. Phase Discovery 2026-05-27 */

.discovery-body {
  /* Akamako Live — diagonal purple→magenta gradient */
  background: linear-gradient(150deg, #3A1771 0%, #7E1C86 50%, #C71E7B 100%);
  background-attachment: fixed;
  color: #fff;
  min-height: 100vh;
  overscroll-behavior: none;
}
.discovery-shell {
  padding: 14px 0 20px;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}

/* ── Header (custom, replaces app-header) ─────────────────────── */
.dc-header {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center; gap: 12px;
  padding: 14px 14px 12px;
  background: linear-gradient(135deg, rgba(162,59,224,.92) 0%, rgba(255,46,147,.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.dc-header-back, .dc-header-action {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18);
  border: 0;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: background .15s, transform .12s;
  position: relative;
  flex-shrink: 0;
}
.dc-header-back:hover, .dc-header-action:hover { background: rgba(255,255,255,.28); }
.dc-header-back:active, .dc-header-action:active { transform: scale(.92); }
.dc-header-title { min-width: 0; text-align: center; }
.dc-header-name {
  font-size: 18px; font-weight: 900; margin: 0;
  letter-spacing: .5px; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dc-header-sub {
  font-size: 11.5px; font-weight: 600; margin: 2px 0 0;
  opacity: .92;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dc-header-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  background: #FF2E93;
  color: #fff;
  font-size: 10.5px; font-weight: 900;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  border: 2px solid rgba(255,255,255,.95);
  line-height: 1;
}

/* ── Tabs (sous header) — hub social Akamako ──────────────────── */
.dc-tabs {
  position: sticky;
  top: 68px;   /* sous le header (hauteur ~68px) */
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(20, 10, 30, .92), rgba(20, 10, 30, .78));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.dc-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, .65);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.dc-tab i { font-size: 16px; }
.dc-tab:hover {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
}
.dc-tab.active {
  background: linear-gradient(135deg, rgba(162, 59, 224, .35) 0%, rgba(255, 46, 147, .35) 100%);
  border-color: rgba(255, 46, 147, .5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 46, 147, .25);
}

/* ── Vibes feed (mini grid in tab) ─────────────────────────────── */
.dc-vibes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 14px;
}
.dc-vibe-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #1a0f1c center / cover no-repeat;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.dc-vibe-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 46, 147, .35); }
.dc-vibe-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .85) 100%);
}
.dc-vibe-card video, .dc-vibe-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.dc-vibe-info {
  position: absolute;
  bottom: 8px; left: 8px; right: 8px;
  color: #fff;
  z-index: 2;
  font-weight: 800;
  font-size: 12px;
}
.dc-vibe-info .pseudo { display: block; line-height: 1.2; }
.dc-vibe-info .dist { font-size: 10.5px; font-weight: 700; opacity: .85; margin-top: 2px; }

/* ── Events feed (list in tab) ─────────────────────────────────── */
.dc-events-list {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px;
}
.dc-event-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  transition: background .15s, transform .12s;
}
.dc-event-card:hover { background: rgba(255, 255, 255, .12); }
.dc-event-card:active { transform: scale(.98); }
/* Vignette : cover OU dégradé brand + icône, avec pastille date en overlay. */
.dc-event-thumb {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  display: flex; align-items: center; justify-content: center;
}
.dc-event-thumb.ongoing { background: linear-gradient(135deg, #10B981, #059669); }
.dc-event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dc-event-thumb-ic { color: rgba(255,255,255,.9); font-size: 30px; }
.dc-event-date-badge {
  position: absolute; left: 5px; bottom: 5px;
  background: rgba(0,0,0,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border-radius: 8px; padding: 3px 7px;
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  color: #fff; text-align: center;
}
.dc-event-thumb:not(.has-cover) .dc-event-date-badge { background: rgba(0,0,0,.32); }
.dc-event-date-badge .day { font-size: 17px; font-weight: 900; line-height: 1; }
.dc-event-date-badge .month { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-top: 1px; }
.dc-event-info { color: #fff; min-width: 0; align-self: center; }
.dc-event-title { font-size: 14.5px; font-weight: 900; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-event-meta { font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.dc-event-meta i { margin-right: 4px; }
.dc-event-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 5px; }
.dc-event-cat {
  display: inline-block;
  font-size: 10px; font-weight: 900;
  background: rgba(255, 46, 147, .25); color: #E9DBFF;
  padding: 2px 7px; border-radius: 5px;
}
.dc-event-going {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 900;
  background: rgba(255,255,255,.14); color: #fff;
  padding: 2px 7px; border-radius: 5px;
}
/* Reco « Pour toi » — événement matchant les intérêts de l'user. */
.dc-event-foryou {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 900;
  background: linear-gradient(135deg, #F5B027, #FF7A00); color: #3a2400;
  padding: 2px 7px; border-radius: 5px;
}

/* ── Filter pills (Vibes filter + Events category) ─────────────── */
.dc-filter-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 10px 14px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dc-filter-pills::-webkit-scrollbar { display: none; }
.dc-pill {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .15);
  font-family: inherit;
  font-size: 12px; font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.dc-pill i { margin-right: 4px; font-size: 11px; }
.dc-pill:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.dc-pill.active {
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 46, 147, .45);
}

/* ── RSVP button on event card ─────────────────────────────────── */
.dc-event-rsvp {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent;
  border: 1.5px solid #FF2E93;
  color: #FF2E93;
  font-size: 11px; font-weight: 900;
  padding: 5px 12px;
  border-radius: 8px;
  margin-top: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, transform .12s;
}
.dc-event-rsvp:hover { background: rgba(255, 46, 147, .12); }
.dc-event-rsvp.going {
  background: #10B981;
  border-color: #10B981;
  color: #fff;
}
.dc-event-rsvp:disabled { opacity: .6; cursor: wait; }

/* ── Modal participants + group-match ──────────────────────────── */
.dc-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
@media (min-width: 600px) {
  .dc-modal-overlay { align-items: center; padding: 20px; }
}
.dc-modal {
  background: linear-gradient(180deg, #4A1C7A 0%, #3A1771 100%);
  border-radius: 22px 22px 0 0;
  max-width: 480px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  padding: 24px 18px 18px;
  position: relative;
  box-shadow: 0 -8px 40px rgba(255, 46, 147, .35);
}
@media (min-width: 600px) {
  .dc-modal { border-radius: 20px; }
}
.dc-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255, 255, 255, .12);
  border: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.dc-group-match-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(255, 46, 147, .25));
  border: 1px solid rgba(16, 185, 129, .5);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.45;
}
.dc-participants-list {
  display: flex; flex-direction: column; gap: 8px;
}
.dc-participant-row {
  display: flex; gap: 10px; align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, .06);
  border-radius: 12px;
}
.dc-participant-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900;
  overflow: hidden;
  flex-shrink: 0;
}
.dc-participant-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dc-participant-info { flex: 1; min-width: 0; color: #fff; }
.dc-participant-name { font-weight: 800; font-size: 14px; }
.dc-participant-bio { font-size: 11px; color: rgba(255, 255, 255, .65); margin-top: 2px; }
.dc-participant-swipe {
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  color: #fff;
  border: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 46, 147, .45);
  transition: transform .12s;
  flex-shrink: 0;
}
.dc-participant-swipe:active { transform: scale(.92); }
.dc-participant-swipe:disabled { opacity: .6; cursor: wait; }

/* ── Shared button helpers (dark theme) ───────────────────────── */
.dc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800; font-size: 14px;
  font-family: inherit;
  border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s;
  text-decoration: none;
}
.dc-btn:active { transform: scale(.97); }
.dc-btn-primary {
  background: linear-gradient(135deg, #A23BE0 0%, #FF2E93 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,46,147,.45);
}
.dc-btn-primary:hover { box-shadow: 0 10px 28px rgba(255,46,147,.6); }
/* Phase Akamako Âge 2026-05-30 — spinner d'âge à l'opt-in (13→99, pas de gate 18+) */
.dc-age-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: dcAgeFade .18s ease;
}
@keyframes dcAgeFade { from { opacity: 0; } to { opacity: 1; } }
.dc-age-modal {
  background: linear-gradient(180deg, #4A1C7A 0%, #3A1771 100%); border-radius: 22px;
  padding: 26px 22px; max-width: 340px; width: 100%;
  text-align: center; box-shadow: 0 12px 48px rgba(0,0,0,.5);
}
.dc-age-hero { font-size: 46px; line-height: 1; margin-bottom: 8px; }
.dc-age-modal h3 { font-size: 21px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.dc-age-modal p { font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 18px; line-height: 1.45; }
.dc-age-select {
  width: 100%; font-size: 18px; font-weight: 700;
  padding: 13px 14px; border-radius: 13px;
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10); color: #fff; margin-bottom: 16px;
  appearance: menulist;
}
.dc-age-modal .dc-btn-primary { width: 100%; margin-bottom: 8px; }
.dc-age-cancel {
  background: none; border: none; color: rgba(255,255,255,.55);
  font-size: 13px; cursor: pointer; padding: 8px;
}
.dc-btn-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.dc-btn-secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.dc-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  padding: 10px 16px;
  font-weight: 700;
}
.dc-btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ── Onboarding (opt-in screen) ── */
.dc-onboard {
  text-align: center;
  padding: 30px 24px;
  max-width: 460px;
  margin: 0 auto;
}
.dc-onboard-hero {
  font-size: 78px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 20px rgba(255,46,147,.5));
}
.dc-onboard h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #FF2E93, #A23BE0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dc-onboard p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.75);
  margin: 0 0 20px;
}
.dc-onboard ul {
  text-align: left;
  margin: 14px 0 24px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
}
.dc-onboard ul li {
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.dc-onboard ul li::before {
  content: "✓";
  color: #FF2E93;
  font-weight: 900;
  flex-shrink: 0;
}
.dc-onboard .btn-primary {
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  color: #fff;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: 14px;
  border: 0;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,46,147,.45);
}
.dc-onboard .btn-primary:disabled { opacity: .5; cursor: wait }

/* ── Deck ── */
.dc-deck-wrap {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 14px;
}
.dc-deck {
  position: relative;
  flex: 1;
  min-height: 460px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.dc-card {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 18px 60px rgba(0,0,0,.5);
  cursor: grab;
  transform-origin: center bottom;
  will-change: transform, opacity;
  transition: transform .25s ease, opacity .25s ease;
}
.dc-card.dragging { transition: none; cursor: grabbing }
.dc-card.fly-left {
  transform: translate(-150%, -50px) rotate(-30deg);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.dc-card.fly-right {
  transform: translate(150%, -50px) rotate(30deg);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.dc-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.dc-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  color: #fff;
  font-weight: 900;
}
.dc-card-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 18px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, transparent 100%);
  color: #fff;
  pointer-events: none;
}
.dc-card-name {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 4px;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
/* Phase Akamako Âge 2026-05-30 — âge affiché à côté du pseudo (style Tinder) */
.dc-card-age {
  font-size: 21px;
  font-weight: 600;
  margin-left: 9px;
  opacity: .92;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.dc-card-meta {
  font-size: 13px;
  opacity: .9;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.dc-card-bio {
  font-size: 13px;
  line-height: 1.4;
  opacity: .85;
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dc-card-stamp {
  position: absolute;
  top: 30px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 12px;
  border: 4px solid;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}
.dc-card-stamp.like {
  right: 24px;
  color: #16A34A;
  border-color: #16A34A;
  transform: rotate(15deg);
}
.dc-card-stamp.pass {
  left: 24px;
  color: #EF4444;
  border-color: #EF4444;
  transform: rotate(-15deg);
}

/* ── Presence badge top-left (v2 ranking algo) ────────────────── */
.dc-card-presence {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  z-index: 2;
}
.dc-presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dc-card-presence.hot .dc-presence-dot {
  animation: dcPresencePulse 1.5s ease-in-out infinite;
}
@keyframes dcPresencePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, .05); }
}

/* ── "T'a déjà aimé" — high match probability ─────────────────── */
.dc-card-liked-me {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1C1C2E;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(255, 165, 0, .5);
  z-index: 2;
  animation: dcLikedMeShine 2s ease-in-out infinite;
}
@keyframes dcLikedMeShine {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ── Action buttons ── */
.dc-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
  padding: 0 14px 22px;
}
.dc-action-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.dc-action-btn:active { transform: scale(.92) }
.dc-action-btn.pass {
  background: #fff;
  color: #EF4444;
}
.dc-action-btn.like {
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  color: #fff;
  width: 76px;
  height: 76px;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(255,46,147,.45);
}
.dc-action-btn.super {
  background: linear-gradient(135deg, #4FC3F7, #1976D2);
  color: #fff;
  width: 52px; height: 52px; font-size: 20px;
}
.dc-action-btn.rewind {
  background: #fff;
  color: #F5B027;
  width: 48px; height: 48px; font-size: 18px;
}

/* Fly-up animation for super-like */
.dc-card.fly-up {
  transform: translateY(-150%) scale(.9);
  opacity: 0;
  transition: transform .55s ease, opacity .55s ease;
}
.dc-card-stamp.super {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  color: #1976D2;
  border-color: #1976D2;
  font-size: 38px;
  letter-spacing: 4px;
}

/* Online counter pill */
.dc-online-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 185, 129, .12);
  color: #6EE7B7;
  font-size: 12.5px; font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, .3);
  margin: 0 auto 8px;
  align-self: center;
}
.dc-online-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .2);
  animation: dcOnlinePulse 1.6s ease-in-out infinite;
}
@keyframes dcOnlinePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
  50% { box-shadow: 0 0 0 9px rgba(16, 185, 129, .05); }
}

/* Quick-row : 2 buttons Crossings + Likes-received */
.dc-quick-row {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 10px;
}
.dc-quick-btn {
  position: relative;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  width: 44px; height: 44px;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .12s;
}
.dc-quick-btn:hover { background: rgba(255, 255, 255, .2); }
.dc-quick-btn:active { transform: scale(.94); }
.dc-quick-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: #EF4444;
  color: #fff;
  font-size: 10.5px; font-weight: 900;
  border-radius: 9px;
  padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #1c0f1c;
  line-height: 1;
}

/* Crossings list */
.dc-list-head {
  text-align: center;
  padding: 12px 16px 18px;
}
.dc-list-head h2 {
  font-size: 22px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #FF2E93, #A23BE0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.dc-list-head p {
  font-size: 13px; color: rgba(255, 255, 255, .7);
}
.dc-crossings-list {
  display: flex; flex-direction: column; gap: 8px;
  padding: 0 14px;
}
.dc-crossing-row {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 12px;
  display: flex; gap: 12px; align-items: center;
  cursor: pointer;
  transition: background .15s, transform .12s;
}
.dc-crossing-row:hover { background: rgba(255, 255, 255, .1); }
.dc-crossing-row:active { transform: scale(.98); }
.dc-crossing-row.seen { opacity: .65; }
.dc-crossing-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 18px;
  overflow: hidden;
}
.dc-crossing-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dc-crossing-info { flex: 1; min-width: 0; color: #fff; }
.dc-crossing-name { font-weight: 800; font-size: 15px; margin-bottom: 3px; }
.dc-crossing-meta { font-size: 12px; color: rgba(255, 255, 255, .6); }
.dc-crossing-meta i { margin-right: 4px; }
.dc-crossing-tag {
  font-size: 11px; font-weight: 900;
  background: rgba(16, 185, 129, .15);
  color: #6EE7B7;
  padding: 3px 8px; border-radius: 6px;
}

/* Likes-received grid (2 cols) */
.dc-likes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 14px;
}
.dc-like-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.dc-like-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255, 46, 147, .35); }
.dc-like-photo {
  aspect-ratio: 1;
  background: center / cover no-repeat;
  position: relative;
}
.dc-like-super {
  position: absolute;
  top: 8px; left: 8px;
  background: linear-gradient(135deg, #4FC3F7, #1976D2);
  color: #fff;
  font-size: 10px; font-weight: 900;
  padding: 3px 7px; border-radius: 5px;
}
.dc-like-info { padding: 10px; color: #fff; }
.dc-like-name { font-weight: 800; font-size: 14px; }
.dc-like-meta { font-size: 11px; color: rgba(255, 255, 255, .6); margin-top: 3px; }

.dc-back-wrap {
  display: flex; justify-content: center;
  padding: 20px 14px 8px;
}

/* ── Empty state ── */
.dc-empty {
  text-align: center;
  padding: 60px 24px;
  color: rgba(255,255,255,.75);
}
.dc-empty-icon {
  font-size: 60px;
  margin-bottom: 14px;
}
.dc-empty p {
  font-size: 14px;
  line-height: 1.5;
}

/* ── Match overlay ── */
.dc-match-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, rgba(255,46,147,.96) 0%, rgba(58,23,113,.96) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: matchFadeIn .3s ease;
}
@keyframes matchFadeIn { from { opacity:0; } to { opacity:1; } }
.dc-match-inner {
  text-align: center;
  color: #fff;
  max-width: 420px;
}
.dc-match-title {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0 0 8px;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
  animation: matchPop .6s cubic-bezier(.34,1.56,.64,1);
}
@keyframes matchPop {
  0% { transform: scale(.3); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.dc-match-sub {
  font-size: 17px;
  font-weight: 700;
  opacity: .95;
  margin: 0 0 28px;
}
.dc-match-avatars {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  position: relative;
}
.dc-match-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  animation: matchAvatarIn .6s ease backwards;
}
.dc-match-avatar:first-child {
  animation-delay: .1s;
  transform: translateX(8px) rotate(-8deg);
}
.dc-match-avatar:last-child {
  animation-delay: .25s;
  transform: translateX(-8px) rotate(8deg);
}
@keyframes matchAvatarIn {
  from { opacity: 0; transform: translateY(20px) scale(.5); }
}
.dc-match-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 60px;
  color: #fff;
  transform: translate(-50%, -50%);
  animation: matchHeart 1.2s ease infinite;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(255,0,0,.5));
}
@keyframes matchHeart {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.15); }
}
.dc-match-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dc-match-btn {
  padding: 14px;
  border-radius: 14px;
  border: 0;
  font-weight: 900;
  font-size: 14.5px;
  cursor: pointer;
  font-family: inherit;
}
.dc-match-btn.primary {
  background: #fff;
  color: #FF2E93;
}
.dc-match-btn.secondary {
  background: rgba(0,0,0,.2);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}

/* Confetti (basic — emojis qui tombent) */
.dc-confetti {
  position: absolute;
  top: -20px;
  font-size: 20px;
  pointer-events: none;
  animation: confettiFall 3s linear infinite;
}
@keyframes confettiFall {
  to { transform: translateY(110vh) rotate(360deg); }
}

/* ── Matches list ── */
.dc-matches-list {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.dc-match-row {
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.dc-match-row:hover { background: rgba(255,255,255,.12) }
.dc-match-row-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  overflow: hidden;
}
.dc-match-row-avatar img { width:100%; height:100%; object-fit:cover; }
.dc-match-row-info { flex: 1; min-width: 0; }
.dc-match-row-name { font-weight: 800; font-size: 15px; color: #fff; margin-bottom: 2px; }
.dc-match-row-meta { font-size: 12px; color: rgba(255,255,255,.6); }

/* Header badge */
.hdr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  font-size: 10.5px;
  background: #fff;
  color: #FF2E93;
  border-radius: 8px;
  padding: 0 4px;
  font-weight: 900;
  margin-left: -10px;
  margin-top: -6px;
}

/* Refonte C 2026-05-28s — Gros bouton "Ajouter mon événement" pattern qf-add-btn.
   Dashed orange = invitation à contribuer. Cohérence visuelle avec /que-faire. */
.dc-add-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 12px 18px;
  padding: 14px 16px;
  background: rgba(255, 46, 147, 0.10);
  border: 2px dashed #FF2E93;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-family: Nunito, sans-serif;
  transition: background 140ms ease, transform 140ms ease;
}
.dc-add-btn:hover { background: rgba(255, 46, 147, 0.18); }
.dc-add-btn:active { transform: scale(0.98); }
.dc-add-btn > i:first-child { font-size: 22px; color: #FF2E93; flex-shrink: 0; }
.dc-add-btn > span { flex: 1; font-size: 14px; line-height: 1.35; }
.dc-add-btn span b { font-weight: 800; }
.dc-add-btn small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 2px;
}
.dc-add-btn > i:last-child { color: #FF2E93; flex-shrink: 0; }
/* Variante "empty state" — utilisé quand zéro event affiché, centré + max-width */
.dc-add-btn-empty {
  max-width: 360px;
  margin: 18px auto;
}

/* Refonte C 2026-05-28x — Filtres events 3 dropdowns (migrés depuis /que-faire). */
.dc-event-filters {
  display: flex;
  gap: 8px;
  padding: 10px 12px 6px;
  flex-wrap: wrap;
}
/* Toggle reco « Pour toi » (opt-in) dans les filtres events. */
.dc-ev-foryou {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit; font-size: 12.5px; font-weight: 800;
  padding: 0 14px; height: 38px; border-radius: 12px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.dc-ev-foryou i { color: #F5B027; }
.dc-ev-foryou.active {
  background: linear-gradient(135deg, #F5B027, #FF7A00);
  border-color: transparent; color: #3a2400;
}
.dc-ev-foryou.active i { color: #3a2400; }
.dc-event-filter {
  flex: 1 1 calc(33% - 8px);
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0 10px 0 12px;
  height: 42px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  position: relative;
}
.dc-event-filter:hover { background: rgba(255, 255, 255, 0.16); border-color: #FF2E93; }
.dc-event-filter:focus-within {
  border-color: #FF2E93;
  box-shadow: 0 0 0 3px rgba(255, 46, 147, 0.25);
}
.dc-event-filter > i {
  font-size: 13px;
  color: #FF2E93;
  margin-right: 8px;
  flex-shrink: 0;
}
.dc-event-filter select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  font-family: Nunito, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  padding: 0 22px 0 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 4.5l3 3 3-3' stroke='%23FF2E93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px 12px;
}
.dc-event-filter select option {
  background: #3A1771;
  color: #fff;
  font-weight: 600;
}
@media (max-width: 420px) {
  .dc-event-filter { flex: 1 1 calc(50% - 4px); min-width: 0; }
}

/* Refonte C 2026-05-28t — FAB "Ajouter mon événement" visible UNIQUEMENT
   sur l'onglet Événements (toggle via body.dc-tab-events). Position bottom-right
   pour ne pas conflicter avec les boutons d'action du deck profils (top-right).
   Cohérent avec le gros bouton dashed mais accessible en 1 tap sans scroller. */
.dc-add-event-fab {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  color: #fff;
  display: none; /* caché par défaut, révélé par body.dc-tab-events */
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 46, 147, 0.45);
  z-index: 100;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 220ms ease;
  opacity: 0;
  transform: scale(0.85) translateY(10px);
  pointer-events: none;
}
body.dc-tab-events .dc-add-event-fab {
  display: inline-flex;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation: dc-fab-pop-in 280ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
@keyframes dc-fab-pop-in {
  from { opacity: 0; transform: scale(0.6) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.dc-add-event-fab:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 46, 147, 0.6);
}
.dc-add-event-fab:active { transform: scale(0.94); }

/* ============================================================================
 * Phase Akamako v3 2026-05-30 — universel + animations (loader radar, card pop,
 * pulse "en ligne"). Donne le ressenti d'une vraie appli de rencontre.
 * ============================================================================ */

/* ── Loader radar (recherche de profils) ── */
.dc-radar-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 60px 20px; min-height: 360px;
}
.dc-radar {
  position: relative; width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
}
.dc-radar-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,46,147,.22);
  animation: dcRadarPulse 2.4s ease-out infinite;
}
.dc-radar-ring.r2 { inset: 26px; animation-delay: .4s; }
.dc-radar-ring.r3 { inset: 52px; animation-delay: .8s; }
@keyframes dcRadarPulse {
  0%   { transform: scale(.7); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scale(1.05); opacity: 0; }
}
.dc-radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,46,147,.0) 0deg, rgba(255,46,147,.0) 300deg, rgba(255,46,147,.45) 360deg);
  animation: dcRadarSpin 1.6s linear infinite;
}
@keyframes dcRadarSpin { to { transform: rotate(360deg); } }
.dc-radar-core {
  position: relative; z-index: 2;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  background: linear-gradient(135deg, #A23BE0, #FF2E93);
  box-shadow: 0 8px 26px rgba(255,46,147,.55);
  animation: dcCoreBeat 1.3s ease-in-out infinite;
}
@keyframes dcCoreBeat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
.dc-radar-msg {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600;
  text-align: center; max-width: 280px; animation: dcMsgFade 1.8s ease-in-out infinite;
}
@keyframes dcMsgFade { 0%,100% { opacity: .6; } 50% { opacity: 1; } }

/* ── Carte du dessus : petit "settle" à chaque nouvelle carte (cartes qui montent) ── */
.dc-card.dc-card-top {
  animation: dcCardRise .32s cubic-bezier(.22,1,.36,1);
}
@keyframes dcCardRise {
  /* Phase 2026-05-30 — démarre quasi-opaque (0.92) : plus de carte translucide
     qui laisse voir la photo suivante. Juste un léger settle de scale. */
  0%   { transform: scale(.985); opacity: .92; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Pastille "X en ligne" : point qui pulse ── */
.dc-online-pill .dot,
.dc-online-pill span.dot {
  animation: dcDotPulse 1.5s ease-in-out infinite;
}
@keyframes dcDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  70%      { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
}

/* ── Badge présence "hot" : halo vivant ── */
.dc-card-presence.hot .dc-presence-dot {
  animation: dcDotPulse 1.5s ease-in-out infinite;
}

/* ============================================================================
 * Phase Akamako v3.2 2026-05-30 — swipe PLEIN ÉCRAN, onglets BOTTOM NAVBAR,
 * cartes 9:16 qui remplissent l'écran, boutons overlay, drag tactile fiable,
 * anti-superposition du texte. (Dernier bloc = priorité.)
 * ============================================================================ */

/* Page en colonne flex pleine hauteur : header / contenu / navbar bas */
.discovery-body { display: flex; flex-direction: column; min-height: 100dvh; }
.dc-header { position: static !important; }

/* Le main occupe tout entre header et bottom-navbar ; padding bas = navbar.
   Hauteur navbar ~58px ; on réserve assez pour que la carte (et donc les
   boutons d'action en overlay tout en bas de la carte) ne passent JAMAIS
   derrière la navbar. */
.discovery-shell {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}
#dc-content { display: flex; flex-direction: column; width: 100%; flex: 1 1 auto; min-height: 0; }

/* ── Onglets Profils / Vibes / Événements → BOTTOM NAVBAR fine ── */
.dc-tabs {
  position: fixed !important;
  top: auto !important; bottom: 0 !important; left: 0; right: 0;
  z-index: 60;
  gap: 0 !important;
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: none !important;
  background: rgba(26, 11, 46, .85) !important;
  backdrop-filter: blur(14px);
}
.dc-tab {
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 5px 4px !important;
  gap: 2px !important;
  font-size: 10.5px !important;
}
.dc-tab i { font-size: 17px; }
.dc-tab.active { background: rgba(255,46,147,.16) !important; color: #FF2E93 !important; }

/* ── Deck plein écran : remplit la zone entre header et navbar ── */
.dc-deck-wrap { position: relative; flex: 1 1 auto; min-height: 0; padding: 0 !important; }
.dc-deck {
  position: absolute !important;
  inset: 0 !important;
  max-width: none !important; width: auto !important;
  min-height: 0 !important; margin: 0 !important;
}
.dc-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  /* CRITIQUE : sans ça le navigateur scrolle la page au lieu de dragger la carte */
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  /* GPU : promeut chaque carte sur sa propre couche compositeur → drag/fly à
     60fps sans repaint du main thread (perf type Tinder). */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Carte en cours de drag : pas de transition (suit le doigt 1:1) + couche isolée */
.dc-card.dragging { transition: none !important; will-change: transform; }
/* La photo : promue sur sa couche (décodage GPU, pas de repaint pendant drag) */
.dc-card-photo { transform: translateZ(0); }
.dc-card-photo, .dc-card-photo-placeholder { -webkit-user-drag: none; touch-action: none; }

/* ── Anti-superposition : seules les infos de la carte du DESSUS s'affichent ── */
.dc-card:not(:last-child) .dc-card-info,
.dc-card:not(:last-child) .dc-card-presence,
.dc-card:not(:last-child) .dc-card-liked-me,
.dc-card:not(:last-child) .dc-card-stamp { display: none !important; }

/* ── Overlay haut : présence (gauche) + quick actions (droite) ── */
.dc-online-pill {
  position: absolute !important;
  top: 12px; left: 12px; right: auto;
  margin: 0 !important; transform: none !important;
  z-index: 30;
}
.dc-quick-row {
  position: absolute !important;
  top: 12px; right: 12px; left: auto !important; bottom: auto !important;
  margin: 0 !important;
  flex-direction: column; gap: 10px;
  z-index: 30;
}

/* ── Boutons d'action flottants en bas de la carte ──
   bottom = un cran au-dessus du bas du deck pour que les cercles (jusqu'à 76px)
   ne soient jamais rognés par la navbar. Hauteur de rangée réservée dans le
   scrim .dc-card-info (padding-bottom). */
.dc-actions {
  /* FIXE au-dessus de la bottom-navbar (≈56px) → jamais rogné, quelle que soit
     la hauteur de la carte. z-index < navbar (60) pour ne pas masquer les onglets. */
  position: fixed !important;
  left: 0; right: 0;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  margin: 0 !important; padding: 0 6px !important;
  background: none !important;
  z-index: 55;
  pointer-events: none;   /* la barre ne capte pas les taps, seuls les boutons */
  align-items: center;
}
.dc-actions > * { pointer-events: auto; }
.dc-action-btn { box-shadow: 0 6px 22px rgba(0,0,0,.45) !important; }
.dc-action-btn.like { box-shadow: 0 6px 20px rgba(255,46,147,.55) !important; }

/* Texte profil remonté au-dessus des boutons + scrim lisible.
   padding-bottom assez grand pour laisser respirer la rangée de boutons. */
.dc-card-info {
  padding: 24px 18px 120px !important;
  background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.55) 58%, transparent 100%) !important;
}

/* FAB ajouter événement au-dessus de la navbar bas */
.dc-add-event-fab { bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important; }

/* ════════════════════════════════════════════════════════════════════
   Fiche SORTIE pleine page (parité natif SortieDetailScreen — 2026-06-27)
   ════════════════════════════════════════════════════════════════════ */
body.so-detail-open { overflow: hidden; }
.so-detail {
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column;
  background: #160a24; color: #fff;
  font-family: var(--font, system-ui);
}
.so-back {
  position: absolute; top: calc(12px + env(safe-area-inset-top,0px)); left: 12px; z-index: 5;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 17px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.so-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.so-loadwrap { flex: 1; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); font-size: 34px; }
.so-hero {
  position: relative; height: 210px;
  background-size: cover; background-position: center; background-color: #2a1640;
}
.so-hero-grad {
  position: absolute; left: 0; right: 0; top: 0; height: 96px;
  background: linear-gradient(180deg, rgba(0,0,0,.67), transparent);
}
.so-hero-org {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  color: #fff; font-size: 13px; font-weight: 900; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.so-hero-badges { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.so-badge-cat { background: rgba(0,0,0,.6); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.so-badge-price { background: #F5B027; color: #3a2a00; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }

.so-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.so-av {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(103,80,164,.3); color: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.so-av img { width: 100%; height: 100%; object-fit: cover; }
.so-av-me { border: 2px solid #F5B027; }
.so-org-row { display: flex; align-items: center; gap: 12px; }
.so-org-row .so-av { width: 60px; height: 60px; font-size: 22px; border: 2.5px solid #F5B027; }
.so-org-prop { color: #C4B5E8; font-size: 13px; font-weight: 700; }
.so-title { font-size: 19px; font-weight: 900; line-height: 1.2; }
.so-info { display: flex; gap: 16px; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; }
.so-section-t { font-size: 13px; font-weight: 900; color: #fff; margin-top: 4px; }
.so-avatars { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.so-avatars::-webkit-scrollbar { display: none; }
.so-pending { display: flex; flex-direction: column; gap: 6px; }
.so-pending-row { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 8px; }
.so-pending-name { flex: 1; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-mini { border: 0; border-radius: 10px; font-size: 12px; font-weight: 800; padding: 8px 12px; cursor: pointer; font-family: inherit; }
.so-mini-ok { background: #16A34A; color: #fff; }
.so-mini-no { background: transparent; color: #ef6c6c; border: 1.5px solid #ef6c6c; }
.so-desc { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.45; margin: 0; }
.so-pay { color: rgba(255,255,255,.9); font-size: 12.5px; font-weight: 600; }
.so-pay i { color: #C4B5E8; }
.so-card { background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.so-rules { color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.45; }
.so-gallery { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.so-gallery::-webkit-scrollbar { display: none; }
.so-photo { width: 130px; height: 130px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; cursor: pointer; }
.so-loc-head { font-size: 13px; font-weight: 700; }
.so-loc-head i { color: #C4B5E8; }
.so-loc-lock { color: rgba(255,255,255,.6); font-size: 12px; }
.so-loc-addr { color: rgba(255,255,255,.85); font-size: 13px; }
.so-loc-contact { color: #C4B5E8; font-size: 13px; font-weight: 600; }
.so-loc-route { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: rgba(103,80,164,.25); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; padding: 7px 10px; border-radius: 10px; }
.so-chat { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; background: linear-gradient(135deg,#A23BE0,#FF2E93); border-radius: 14px; padding: 13px; }
.so-chat span { flex: 1; display: flex; flex-direction: column; }
.so-chat small { opacity: .85; font-size: 11px; }
.so-chat-wait { color: rgba(255,255,255,.7); font-size: 12px; }

.so-actionbar {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom,0px));
  background: #1d0f30; border-top: 1px solid rgba(255,255,255,.08);
}
.so-act { flex: 1; border: 0; border-radius: 14px; padding: 14px; font-size: 14px; font-weight: 900; cursor: pointer; font-family: inherit; }
.so-act-join { background: #F5B027; color: #3a2a00; }
.so-act-leave, .so-act-full { background: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.so-act-full { cursor: default; }
.so-act-danger { flex: 0 0 auto; background: transparent; color: #ef6c6c; border: 1.5px solid #ef6c6c; }
.so-act-ghost { flex: 0 0 auto; background: transparent; color: #C4B5E8; border: 1.5px solid #6750A4; }
.so-toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(10px);
  background: #323232; color: #fff; font-size: 13px; padding: 10px 16px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 10;
}
.so-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.so-fullphoto { position: fixed; inset: 0; z-index: 20; background: #000; display: flex; align-items: center; justify-content: center; }
.so-fullphoto img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ── Potes : bouton dans la fiche sortie + deck post-event ── */
.so-potes {
  display: flex; align-items: center; gap: 10px; width: 100%;
  text-align: left; cursor: pointer; font-family: inherit;
  color: #fff; background: linear-gradient(135deg,#F5B027,#FF7A00);
  border: 0; border-radius: 14px; padding: 13px; font-size: 14px; font-weight: 900;
}
.so-potes span { flex: 1; }

.po-deck {
  position: fixed; inset: 0; z-index: 130;
  display: flex; flex-direction: column;
  background: #160a24; color: #fff; font-family: var(--font, system-ui);
}
.po-top { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top,0px)) 14px 10px; }
.po-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 17px; cursor: pointer; }
.po-title { font-size: 16px; font-weight: 900; }
.po-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px 16px 0; min-height: 0; }
.po-loading { font-size: 30px; color: rgba(255,255,255,.6); }
.po-card { width: 100%; max-width: 380px; }
.po-card-media {
  position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden;
  background: #2a1640; display: flex; align-items: center; justify-content: center;
}
.po-card-media img { width: 100%; height: 100%; object-fit: cover; }
.po-av-ph { font-size: 72px; font-weight: 900; color: rgba(255,255,255,.85); }
.po-card-grad { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(0,0,0,.8)); }
.po-card-id { position: absolute; left: 14px; bottom: 12px; font-size: 20px; font-weight: 900; z-index: 2; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.po-crossed {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(245,176,39,.92); color: #3a2a00; font-size: 11px; font-weight: 900;
  padding: 4px 9px; border-radius: 999px;
}
.po-card-bio { margin-top: 12px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.85); }
.po-empty { text-align: center; color: rgba(255,255,255,.7); padding: 20px; }
.po-empty i { font-size: 42px; margin-bottom: 12px; color: rgba(255,255,255,.5); }
.po-empty p { font-size: 14px; font-weight: 600; }
.po-actions {
  display: flex; justify-content: center; gap: 28px;
  padding: 16px 0 calc(20px + env(safe-area-inset-bottom,0px));
}
.po-btn {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 26px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.po-pass { background: #fff; color: #444; }
.po-like { background: linear-gradient(135deg,#FF2E93,#A23BE0); color: #fff; }
.po-btn:active { transform: scale(.92); }

.po-match { position: fixed; inset: 0; z-index: 140; background: rgba(0,0,0,.78); display: flex; align-items: center; justify-content: center; padding: 24px; }
.po-match-box { background: #1d0f30; border-radius: 22px; padding: 24px; text-align: center; max-width: 340px; width: 100%; }
.po-match-emoji { font-size: 44px; }
.po-match-h { font-size: 22px; font-weight: 900; color: #fff; margin: 6px 0 14px; }
.po-match-av { width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; border: 3px solid #F5B027; }
.po-match-av img { width: 100%; height: 100%; object-fit: cover; }
.po-match-name { font-size: 17px; font-weight: 900; color: #fff; }
.po-match-sub { font-size: 13px; color: rgba(255,255,255,.75); margin: 6px 0 16px; }
.po-match-dm { display: block; background: linear-gradient(135deg,#A23BE0,#FF2E93); color: #fff; text-decoration: none; font-weight: 900; padding: 13px; border-radius: 14px; margin-bottom: 8px; }
.po-match-later { width: 100%; background: transparent; color: rgba(255,255,255,.7); border: 0; font-weight: 800; font-size: 14px; padding: 10px; cursor: pointer; font-family: inherit; }
