/* ===========================================================================
   AubeMatch — feuille de style
   Identité « aube » : nuit indigo qui bascule vers une aurore rose / ambre.
   Display serif éditorial · libellés mono · accent rose aurore + bleu Aube.
   =========================================================================== */

:root {
  --night:   #1b1733;
  --night-2: #2a2348;
  --ink:     #241f33;
  --ink-soft:#5a5470;
  --canvas:  #fbf7f2;
  --paper:   #ffffff;
  --rose:    #ff4d6d;   /* like / accent principal (aurore) */
  --rose-2:  #ff7a8a;
  --coral:   #ff8a6b;
  --amber:   #ffb46b;
  --blue:    #2b5fd9;   /* signature Aube, structure / liens secondaires */
  --blue-ink:#1c3a8a;
  --green:   #1f9d77;
  --line:    rgba(27, 23, 51, 0.12);
  --line-2:  rgba(27, 23, 51, 0.07);
  --shadow:  0 18px 50px -20px rgba(27, 23, 51, 0.45);
  --shadow-sm: 0 6px 20px -10px rgba(27, 23, 51, 0.35);
  --radius:  18px;
  --serif:   "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --dawn:    linear-gradient(165deg, #1b1733 0%, #3a2a52 38%, #b3567e 72%, #ffb46b 100%);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--night); }

/* --------------------------------------------------------------- Topbar -- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.4) blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--dawn);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.14);
}
.brand-name { font-family: var(--serif); font-size: 22px; color: var(--night); letter-spacing: -0.01em; }
.brand-accent { color: var(--rose); }

.nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 22px); }
.nav-link {
  font-size: 14px; color: var(--ink); position: relative; padding: 4px 2px;
  letter-spacing: 0.01em;
}
.nav-link:hover { text-decoration: none; color: var(--rose); }
.nav-link.is-active { color: var(--rose); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--rose); border-radius: 2px;
}
.nav-muted { color: var(--ink-soft); }
.badge {
  display: inline-block; min-width: 18px; height: 18px; line-height: 18px;
  padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff;
  font-size: 11px; font-weight: 700; text-align: center; vertical-align: 1px;
  font-family: var(--mono);
}

/* --------------------------------------------------------------- Boutons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s;
  background: var(--paper); color: var(--ink);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-primary { background: var(--rose); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #ff3a5e; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-block { width: 100%; }
.btn-danger { background: transparent; border-color: rgba(255,77,109,.45); color: var(--rose); }
.btn-danger:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-warn { background: transparent; border-color: rgba(255,180,107,.7); color: #a45e09; }
.btn-warn:hover { background: var(--amber); color: #3a2706; border-color: var(--amber); }

/* --------------------------------------------------------------- Layout --- */
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: clamp(20px, 4vw, 44px); flex: 1; }
.wrap-narrow { max-width: 520px; }
.flashes { max-width: 680px; margin: 14px auto 0; padding: 0 16px; width: 100%; }
.flash {
  font-size: 14px; padding: 11px 16px; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid var(--line);
}
.flash-info  { background: #eef3ff; border-color: #c9d8ff; color: var(--blue-ink); }
.flash-error { background: #fff0f3; border-color: #ffc2cf; color: #b4243f; }

.section-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* --------------------------------------------------------------- Footer --- */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  padding: 18px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft); background: var(--paper);
}
.footer-tag { font-family: var(--mono); font-size: 12px; }

/* =========================================================== Landing ====== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--dawn);
  border-radius: 26px; padding: clamp(34px, 6vw, 76px);
  box-shadow: var(--shadow);
}
.hero::after {
  /* champ d'étoiles */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 26%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 70% 16%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 42% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 86% 32%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 12% 44%, #fff, transparent);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; opacity: .9;
}
.hero h1 {
  color: #fff; font-size: clamp(38px, 7vw, 76px); margin: 14px 0 10px;
  letter-spacing: -0.02em; max-width: 14ch;
}
.hero p { font-size: clamp(17px, 2.2vw, 21px); max-width: 52ch; opacity: .94; line-height: 1.5; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px; margin-top: 40px;
}
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.feature .glyph { font-size: 26px; color: var(--rose); font-family: var(--serif); }
.feature h3 { font-size: 20px; margin: 12px 0 6px; }
.feature p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.manifesto { margin-top: 48px; max-width: 70ch; }
.manifesto h2 { font-size: clamp(24px, 4vw, 34px); }
.manifesto p { font-size: 17px; line-height: 1.65; color: var(--ink); }

/* ======================================================= Onboarding ======= */
.steps {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-soft);
}
.step { display: inline-flex; align-items: center; gap: 8px; }
.step.is-active { color: var(--rose); font-weight: 600; }
.step-num {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 12px;
}
.step.is-active .step-num { background: var(--rose); color: #fff; border-color: var(--rose); }
.step-line { flex: 1; height: 1px; background: var(--line); max-width: 60px; }

/* ============================================================ Auth ======== */
.auth-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.auth-card h1 { font-size: 30px; margin: 0 0 6px; }
.auth-card .sub { color: var(--ink-soft); margin: 0 0 24px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.input, textarea, select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; transition: border .15s, box-shadow .15s;
}
.input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.14);
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.auth-foot { margin-top: 18px; font-size: 14px; color: var(--ink-soft); text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

/* ======================================================= Découverte ======= */
.deck-stage {
  display: flex; flex-direction: column; align-items: center;
  gap: 22px; padding-top: 8px;
}
.deck {
  position: relative; width: min(380px, 92vw); height: min(560px, 72vh);
}
.card {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden;
  background: var(--night); box-shadow: var(--shadow);
  will-change: transform; user-select: none; cursor: grab;
  border: 1px solid rgba(255,255,255,.08);
}
.card:active { cursor: grabbing; }
.card-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-color: var(--night-2);
}
.card-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,28,.92) 0%, rgba(15,12,28,.45) 32%, rgba(15,12,28,0) 60%);
}
.card-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 24px;
  color: #fff; z-index: 2;
}
.card-name { font-family: var(--serif); font-size: 28px; display: flex; align-items: baseline; gap: 10px; }
.card-name .age { font-size: 22px; font-weight: 400; opacity: .92; }
.card-city {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: .85; margin-top: 6px;
}
.card-bio { font-size: 14.5px; line-height: 1.45; margin-top: 10px; opacity: .92; max-height: 4.4em; overflow: hidden; }
.card-count {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-family: var(--mono); font-size: 11px; color: #fff;
  background: rgba(0,0,0,.35); padding: 4px 9px; border-radius: 999px;
}
/* tampons LIKE / NON pendant le glissement */
.stamp {
  position: absolute; top: 30px; z-index: 4; font-family: var(--mono); font-weight: 800;
  font-size: 30px; letter-spacing: 0.12em; padding: 6px 16px; border-radius: 12px;
  text-transform: uppercase; opacity: 0; transition: opacity .05s; pointer-events: none;
}
.stamp-like { left: 22px; color: var(--green); border: 4px solid var(--green); transform: rotate(-14deg); }
.stamp-nope { right: 22px; color: var(--rose); border: 4px solid var(--rose); transform: rotate(14deg); }

.deck-actions { display: flex; align-items: center; gap: 18px; }
.action {
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .1s, box-shadow .2s; font-size: 26px;
  color: var(--ink); line-height: 1;
}
.action:hover { transform: translateY(-3px) scale(1.04); }
.action-nope { color: var(--ink-soft); }
.action-nope:hover { color: var(--rose); border-color: var(--rose); }
.action-like { width: 76px; height: 76px; color: #fff; background: var(--rose); border-color: var(--rose); font-size: 30px; }
.action-like:hover { background: #ff3a5e; }
.action-star { color: var(--blue); }
.action-star:hover { color: #fff; background: var(--blue); border-color: var(--blue); }

.deck-empty, .deck-loading {
  text-align: center; max-width: 420px; padding: 40px 20px; color: var(--ink-soft);
}
.deck-empty h2 { color: var(--night); margin-bottom: 8px; }
.deck-hint { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }

/* tampons d'animation de sortie */
.fly-left  { transition: transform .4s ease, opacity .4s ease; transform: translateX(-160%) rotate(-22deg) !important; opacity: 0; }
.fly-right { transition: transform .4s ease, opacity .4s ease; transform: translateX(160%) rotate(22deg) !important; opacity: 0; }
.fly-up    { transition: transform .4s ease, opacity .4s ease; transform: translateY(-160%) rotate(6deg) !important; opacity: 0; }

/* ========================================================= Match modal ==== */
.modal-back {
  position: fixed; inset: 0; background: rgba(20,16,40,.7); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-back.show { display: flex; }
.match-modal {
  background: var(--dawn); color: #fff; border-radius: 26px; padding: 40px 32px;
  text-align: center; max-width: 420px; width: 100%; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.match-modal h2 { color: #fff; font-size: 38px; margin: 0 0 6px; }
.match-modal p { opacity: .92; margin: 0 0 22px; }
.match-faces { display: flex; justify-content: center; gap: -10px; margin: 18px 0 24px; }
.match-face {
  width: 96px; height: 96px; border-radius: 50%; background-size: cover; background-position: center;
  border: 3px solid #fff; margin: 0 -8px; background-color: var(--night-2);
}
.match-actions { display: flex; flex-direction: column; gap: 10px; }
.match-modal .btn { width: 100%; }
.match-modal .btn-light { background: #fff; color: var(--night); }

/* ====================================================== Correspondances === */
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(28px, 5vw, 40px); margin: 4px 0 0; }

.match-list { display: flex; flex-direction: column; gap: 2px; }
.match-row {
  display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px;
  border: 1px solid transparent; transition: background .15s, border .15s;
}
.match-row:hover { background: var(--paper); border-color: var(--line); text-decoration: none; }
.match-avatar {
  width: 60px; height: 60px; border-radius: 50%; background-size: cover; background-position: center;
  background-color: var(--night-2); flex: 0 0 auto; position: relative;
}
.match-avatar.has-unread::after {
  content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px;
  background: var(--rose); border: 2px solid var(--canvas); border-radius: 50%;
}
.match-meta { flex: 1; min-width: 0; }
.match-meta .name { font-family: var(--serif); font-size: 19px; color: var(--night); }
.match-meta .name .age { font-size: 15px; color: var(--ink-soft); font-family: var(--sans); }
.match-meta .preview { font-size: 14px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.match-meta .preview.unread { color: var(--ink); font-weight: 600; }
.match-time { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); flex: 0 0 auto; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state .glyph { font-size: 40px; color: var(--rose); font-family: var(--serif); }
.empty-state h2 { color: var(--night); margin: 14px 0 6px; }

/* ======================================================== Conversation ==== */
.chat {
  display: flex; flex-direction: column; height: calc(100vh - 168px);
  max-width: 720px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: #fff;
}
.chat-head .match-avatar { width: 46px; height: 46px; }
.chat-head .name { font-family: var(--serif); font-size: 19px; color: var(--night); }
.chat-head .meta { font-size: 12px; color: var(--ink-soft); font-family: var(--mono); }
.chat-head .spacer { flex: 1; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 74%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4;
  word-wrap: break-word;
}
.bubble.them { align-self: flex-start; background: #f0eef6; color: var(--ink); border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: var(--rose); color: #fff; border-bottom-right-radius: 5px; }
.bubble-time { font-size: 10px; opacity: .6; font-family: var(--mono); margin-top: 3px; display: block; }
.chat-intro {
  text-align: center; color: var(--ink-soft); font-size: 14px; padding: 20px;
  max-width: 40ch; margin: 0 auto;
}
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-form .input { flex: 1; border-radius: 999px; }
.chat-form .btn { flex: 0 0 auto; }

/* =========================================================== Profil ======= */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .profile-grid { grid-template-columns: 1fr; } }
.photos-panel { }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-cell {
  position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  background: var(--night-2) center/cover; border: 1px solid var(--line);
}
.photo-cell.empty {
  display: grid; place-items: center; background: var(--paper); border: 1px dashed var(--line);
  color: var(--ink-soft); font-family: var(--mono); font-size: 12px;
}
.photo-del {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: none; cursor: pointer; font-size: 16px;
  display: grid; place-items: center; line-height: 1;
}
.photo-del:hover { background: var(--rose); }
.add-photo {
  display: grid; place-items: center; aspect-ratio: 3/4; border-radius: 14px;
  border: 1px dashed var(--line); background: var(--paper); cursor: pointer; color: var(--ink-soft);
  font-family: var(--mono); font-size: 13px; text-align: center; padding: 10px;
}
.add-photo:hover { border-color: var(--rose); color: var(--rose); }
.add-photo input { display: none; }

.card-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm);
}
.card-panel h2 { font-size: 22px; margin: 0 0 18px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px;
  padding: 6px 12px; border-radius: 999px; letter-spacing: .04em;
}
.status-ok { background: #e7f7f0; color: var(--green); }
.status-todo { background: #fff0f3; color: var(--rose); }

.range-row { display: flex; align-items: center; gap: 14px; }
.range-cap { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); width: 22px; text-align: right; }
.range-row output { font-family: var(--mono); font-size: 14px; color: var(--night); min-width: 64px; }
input[type=range] { accent-color: var(--rose); flex: 1; }

.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--rose); }

/* ====================================================== Menu d'options ===== */
.menu { position: relative; flex: 0 0 auto; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); cursor: pointer;
  font-size: 22px; line-height: 1; display: grid; place-items: center;
  transition: color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--rose); border-color: var(--rose); }
.menu-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 6px; min-width: 220px;
}
.menu-pop[hidden] { display: none; }
.menu-item {
  display: block; width: 100%; text-align: left; background: none; border: none;
  font-family: var(--sans); font-size: 14px; color: var(--ink); cursor: pointer;
  padding: 10px 12px; border-radius: 9px;
}
.menu-item:hover { background: var(--canvas); }
.menu-item.danger { color: var(--rose); }
.menu-item.danger:hover { background: #fff0f3; }

/* ====================================================== Signalement ======== */
.report-card {
  background: var(--paper); color: var(--ink); border-radius: 22px;
  padding: clamp(24px, 4vw, 34px); max-width: 460px; width: 100%;
  box-shadow: var(--shadow); text-align: left;
}
.report-card h2 { font-size: 26px; margin: 6px 0 6px; }
.report-card .sub { color: var(--ink-soft); font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.reasons { display: flex; flex-direction: column; gap: 2px; }
.reason {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  cursor: pointer; font-size: 15px; color: var(--ink);
}
.reason:hover { background: var(--canvas); }
.reason input { accent-color: var(--rose); width: 16px; height: 16px; }
.report-actions { display: flex; gap: 10px; }
.report-actions .btn { flex: 1; }

/* ====================================================== Modération ========= */
.mod-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mod-count {
  font-family: var(--mono); font-size: 12px; color: var(--rose);
  background: #fff0f3; border-radius: 999px; padding: 4px 12px;
}
.mod-count-ok { color: var(--green); background: #e7f7f0; }
.mod-intro { color: var(--ink-soft); font-size: 14px; margin: 10px 0 0; max-width: 64ch; }

.report-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.report-card-row {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.report-card-row.is-resolved { opacity: .6; }

.report-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.report-reason { font-family: var(--serif); font-size: 21px; color: var(--night); }
.report-flags { display: flex; gap: 6px; flex-wrap: wrap; }

.report-person { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.report-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--canvas); padding: 2px 8px; border-radius: 6px;
}
.report-name { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.report-email { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }

.report-quote {
  border-left: 3px solid var(--line); margin: 14px 0 0; padding: 6px 0 6px 14px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink); white-space: pre-wrap;
}

.report-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); margin-top: 14px;
}

.report-acts {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2);
}
.report-acts form { margin: 0; }
.report-protected { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }

.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px;
}
.tag-open   { background: #fff0f3; color: var(--rose); }
.tag-done   { background: #e7f7f0; color: var(--green); }
.tag-warn   { background: #fff3e2; color: #a45e09; }
.tag-banned { background: #2a2348; color: #ffd7de; }

/* ====================================================== Admirateurs ======== */
.admirer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; margin-top: 22px;
}
.admirer-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, opacity .25s ease;
}
.admirer-card.leaving { transform: scale(.92); opacity: 0; }
.admirer-photo {
  position: relative; aspect-ratio: 4/5; background: var(--night-2) center/cover no-repeat;
}
.admirer-super {
  position: absolute; top: 10px; right: 10px; color: #fff; background: var(--blue);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; box-shadow: var(--shadow-sm);
}
.admirer-body { padding: 14px 16px 4px; flex: 1; }
.admirer-name { font-family: var(--serif); font-size: 20px; color: var(--night); }
.admirer-name .age { font-size: 16px; color: var(--ink-soft); font-family: var(--sans); }
.admirer-city {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 5px;
}
.admirer-bio {
  font-size: 14px; color: var(--ink-soft); line-height: 1.45; margin-top: 8px;
  max-height: 4.4em; overflow: hidden;
}
.admirer-acts { display: flex; gap: 8px; padding: 14px 16px 16px; }
.admirer-acts .btn { flex: 1; }

/* ================================================== Compte (zone sensible) = */
.danger-zone { border-color: rgba(255,77,109,.35); }
.danger-zone h2 { color: var(--rose); }

/* ================================================ Journal de modération ==== */
.mod-journal { margin-top: 34px; }
.journal-list { list-style: none; margin: 0; padding: 0; }
.journal-item {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px;
}
.journal-action {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 2px 9px;
  border-radius: 999px; flex: 0 0 auto;
}
.journal-ban    { background: #fff3e2; color: #a45e09; }
.journal-unban  { background: #e7f7f0; color: var(--green); }
.journal-delete { background: #fff0f3; color: var(--rose); }
.journal-who { color: var(--ink); font-weight: 600; }
.journal-by  { color: var(--ink-soft); }
.journal-date { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); margin-left: auto; }

/* ==================================================== Centres d'intérêt ==== */
.field-hint { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; transition: background .12s, border-color .12s, color .12s;
}
.chip:hover span { border-color: var(--rose); color: var(--rose); }
.chip.is-on span { background: var(--rose); border-color: var(--rose); color: #fff; }
.chip.is-locked { cursor: not-allowed; }
.chip.is-locked span { opacity: .38; }
.chip.is-locked:hover span { border-color: var(--line); color: var(--ink); }

/* pastilles d'intérêts sur les cartes (par défaut fond clair) */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.card-tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--canvas); color: var(--ink-soft); border: 1px solid var(--line);
}
.card-tag.shared { background: var(--rose); border-color: var(--rose); color: #fff; font-weight: 600; }
.card-shared { font-family: var(--mono); font-size: 12px; color: var(--rose); font-weight: 600; margin-top: 8px; }

/* variante sombre : sur la carte photo de la découverte */
.card .card-tag { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.24); }
.card .card-tag.shared { background: var(--rose); border-color: var(--rose); color: #fff; }
.card .card-shared { color: #ffd7de; }
.card .card-tags { max-height: 3.4em; overflow: hidden; }
