/* Pearr : prototype cliquable, sans serveur. Tout l'état vit dans la page et
   repart de zéro au rechargement. Le look suit le brand kit Pearr : fond
   cream, encadrés pear, berry pour l'action, midnight, formes rondes,
   titres condensés. */
/* Le logo : deux poires qui se recouvrent, la feuille berry, le mot en bas de casse. */
.pear { height: 1.15em; width: auto; flex: none; overflow: visible; }
.pear .b { fill: var(--berry); } .pear .f { fill: var(--pear); }
.logo-img { display: block; height: 1.15em; width: auto; }
.wordmark { display: inline-flex; align-items: center; gap: .1em; font-family: var(--brand); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--berry); text-transform: lowercase; }

/* ── Mise en page : le téléphone, et à côté la note de concept ── */
/* Sur téléphone : la note de concept d'abord, la même que sur ordinateur, puis
   un bouton qui ouvre le prototype en plein écran (adresse en #app). */
.stage { min-height: 100%; }
.phone { position: relative; width: 100%; height: calc(100svh - 2 * var(--frame)); background: var(--cream); overflow: hidden; display: none; flex-direction: column; }
.aside { padding: max(22px, env(safe-area-inset-top)) 18px 120px; }
.aside .enter { position: fixed; width: auto; left: calc(14px + var(--frame)); right: calc(14px + var(--frame)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--frame)); z-index: 3; box-shadow: 0 10px 30px -10px rgba(255, 0, 92, .7); }
body.in-app .aside { display: none; }
body.in-app .phone { display: flex; }
@media (max-width: 899px) { .aside h1 { font-size: 3.6rem !important; } .aside .tag { font-size: 3.4rem !important; } }
/* Une fois inscrit, le pitch et les quatre points ont été lus : on les retire. */
body.joined .rules, body.joined .aside .pitch { display: none; }
@media (max-width: 899px) { html[lang="fr"] .aside .tag { font-size: 2.85rem !important; } }
@media (min-width: 900px) {
  .stage { display: grid; place-items: center; }
  .phone, body.in-app .phone { display: flex; }
  .aside, body.in-app .aside { display: block; padding: 0; }
  .enter { display: none !important; }
  .stage { grid-template-columns: minmax(0, 27rem) auto; gap: 5rem; justify-content: center; padding: 2.5rem; }
  .phone { width: 390px; height: min(820px, calc(100svh - 5rem - 2 * var(--frame))); border-radius: 48px; border: 11px solid var(--ink); box-shadow: 22px 22px 0 var(--berry); }
  .about-btn { display: none !important; }
  .lang { top: .9rem; right: 0; }
}
/* Le logo laisse toujours la place du bouton de langue à sa droite : il rétrécit plutôt que de passer dessous. */
.aside h1 { display: block; margin: 0; padding-right: 88px; font-size: 5.4rem; }
.aside h1 .logo-img { width: min(100%, 3.44em); height: auto; }
/* Le choix de la langue, en haut à droite de la note de concept. */
.aside { position: relative; }
.lang { position: absolute; top: max(22px, env(safe-area-inset-top)); right: 18px; z-index: 2; min-width: 46px; padding: 9px 12px; border-radius: 999px; background: var(--ink); color: var(--pear); }
.aside .tag { margin: 1.6rem 0 1rem; font-size: 4.6rem; color: var(--berry); }
.pitch { margin: 0 0 1.3rem; font-size: 1.3rem; line-height: 1.3; font-weight: 700; }
.sheet .pitch { font-size: 1.1rem; margin-bottom: 1.1rem; }
/* La liste d'attente : un courriel, une ville, un bouton. */
/* L'ordre des blocs change une fois inscrit : la confirmation d'abord, puis
   la course, puis le partage. */
.wait { display: flex; flex-direction: column; margin: 0 0 1.6rem; }
.wait > * { order: 3; }
.wait .goal { order: 1; }
.wait .wait-row { order: 2; }
.wait.done .wait-msg { order: 0; margin: 0 2px 18px; }
/* Avant l'inscription, sur téléphone : pas de bouton vers le prototype, mais une
   ligne sous le formulaire qui dit ce que l'inscription débloque. Sur ordinateur,
   le téléphone verrouillé à côté le dit déjà. */
body.locked .aside .enter { display: none; }
.wait .teaser { margin: 12px 2px 0; font-size: 1.05rem; line-height: 1.3; font-weight: 800; color: var(--berry-ink); }
.wait.done .teaser { display: none; }
@media (min-width: 900px) { .wait .teaser { display: none; } }
.wait .acts, .wait .wait-again { align-self: flex-start; }
/* Les deux gestes d'après l'inscription : partager, et nous suivre. */
.wait .acts { display: flex; gap: 8px; }
.wait .bring.follow { flex: none; justify-content: center; width: 48px; padding: 0; }
.wait:not(.done) .bring, body.locked .bring { display: none; }
/* La course entre les villes : une rangée par ville, la sienne en berry. */
.race { display: grid; gap: 4px; margin: 0 0 14px; }
.race > .label { margin: 0 2px 4px; color: var(--berry-ink); }
.race .row { display: grid; grid-template-columns: 1.4rem 1fr auto; gap: 10px; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--pear); font-size: 1.05rem; font-weight: 700; }
.race .row b { color: var(--berry-ink); }
.race .row i { font-style: normal; font-size: 1.5rem; }
.race .row i.label { font-size: .68rem; color: var(--berry-ink); }
.race .row.me i.label { color: #fff; }
.race .row.me { background: var(--berry); color: #fff; }
.race .row.me b { color: #fff; }
.goal { margin: 0 2px 10px; font-size: 1.15rem; line-height: 1.25; font-weight: 800; }
/* Une fois inscrit, la règle de la course devient un sous-titre : condensée, en noir, sous la confirmation. */
/* La règle de la course : la phrase complète avant l'inscription, sa version
   courte en titre du classement après. */
.goal .after, .wait.done .goal .before { display: none; }
.wait.done .goal .after { display: inline; }
.wait.done .goal { margin-bottom: 10px; font-size: 1.5rem; font-stretch: 75%; text-transform: uppercase; line-height: 1; letter-spacing: -.005em; color: var(--ink); }
.wait-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wait input { flex: 1 1 13rem; min-width: 0; min-height: 58px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); outline: none; }
/* La ville : un menu à nous plutôt que celui du système, pour rester dans
   les couleurs. Le bouton et la liste ont la même forme de pastille. */
.wait .city { position: relative; flex: 1 1 9rem; min-width: 0; }
.city-btn, .city-menu button { display: block; width: 100%; min-height: 58px; padding: 0 44px 0 20px; border-radius: 999px; text-align: left; font-size: .95rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-btn { border: 2px solid var(--ink); background: var(--pear) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B0B0F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px; color: var(--ink); }
.city-btn[data-value]:not([data-value=""]) { color: var(--berry-ink); }
.city-btn:focus-visible, .city-btn[aria-expanded="true"] { outline: none; border-color: var(--berry); box-shadow: 0 0 0 3px var(--blush); }
.city-menu { position: absolute; z-index: 6; top: calc(100% + 6px); left: 0; right: 0; display: grid; gap: 6px; }
.city-menu[hidden] { display: none; }
.city-menu button { border: 2px solid var(--ink); background: var(--ink); color: #fff; padding-right: 20px; box-shadow: 0 6px 14px rgba(11, 11, 15, .12); }
.city-menu button[aria-selected="true"] { color: var(--pear); }
.city-menu button:hover, .city-menu button:focus-visible { outline: none; background: var(--berry); color: #fff; }
/* Le champ piège : hors de vue et hors du parcours au clavier. Seul un robot le remplit. */
.wait .hp { position: absolute; left: -9999px; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; }
.wait input:focus { border-color: var(--berry); box-shadow: 0 0 0 3px var(--blush); }
.wait .cta { flex: 1 1 100%; width: auto; font-size: 1.25rem; }
.wait .cta:disabled { opacity: .6; }
.wait-msg { margin: 10px 2px 0; font-size: 1.05rem; font-weight: 700; }
.wait-msg.ok { color: var(--ink); }
.wait-msg b.shout { display: block; margin-bottom: 6px; font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1; color: var(--berry); }
/* Le partage : un vrai bouton, avec l'icône de partage, pour qu'on comprenne
   qu'il envoie le lien à quelqu'un. */
.wait .bring { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--ink); color: var(--pear); font-size: 1rem; font-weight: 800; }
.wait .bring svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wait .bring span { display: inline; font-size: inherit; line-height: 1.2; font-weight: inherit; }
.wait-msg span { display: block; font-size: 1rem; line-height: 1.35; font-weight: 600; }
.wait.done .wait-row { display: none; }
.lnk.wait-again { display: inline-block; margin: 12px 2px 0; font-size: .8rem; font-weight: 600; color: var(--muted); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rules li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .7rem; align-items: baseline; padding: .85rem 1.1rem; border-radius: 26px; background: var(--card); font-size: 1.05rem; line-height: 1.3; font-weight: 600; }
.rules b { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--berry-ink); padding-top: .2rem; }
.aside .foot { margin: 1.2rem 0 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }

/* ── L'application ── */
.top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 18px 10px; }
.logo { font-size: 1.9rem; }
.chip { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--card); color: var(--berry-ink); }
.back { padding: 8px 0; color: var(--berry-ink); }
.me-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--ink); color: var(--pear); display: grid; place-items: center; }
.me-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.me-btn .av { width: 100%; height: 100%; font-size: .95rem; }
.me-photo { position: relative; height: 230px; margin-top: 14px; border-radius: 30px; overflow: hidden; background: var(--card); display: grid; place-items: center; }
/* Le cadrage : un carré où la photo se déplace sous le doigt. touch-action
   coupe le défilement de la page pendant qu'on la bouge. */
.me-photo.crop { height: auto; aspect-ratio: 1; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.me-photo.crop:active { cursor: grabbing; }
.me-photo.crop img { position: absolute; max-width: none; height: auto; pointer-events: none; }
.me-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 7px 12px; border-radius: 999px; background: rgba(11, 11, 15, .72); color: #fff; white-space: nowrap; pointer-events: none; }
.me-zoom { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.me-zoom .label { color: var(--berry-ink); }
.me-zoom input { flex: 1; min-width: 0; accent-color: var(--berry); }
.me-zoom .lnk { flex: none; font-size: .9rem; }
.me-photo > span.shout { font-size: 7rem; color: var(--berry); }
.me-pick { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--pear); white-space: nowrap; }
.field { display: block; width: 100%; min-height: 54px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--card); font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink); outline: none; }
.field:focus { box-shadow: 0 0 0 3px var(--berry); }
.about-btn { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--pear); font-weight: 800; }
.view { flex: 1; overflow-y: auto; padding: 4px 16px 20px; scrollbar-width: none; }
.view::-webkit-scrollbar { display: none; }
.view > * { animation: in .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.tabs { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 12px max(12px, env(safe-area-inset-bottom)); padding: 5px; border-radius: 999px; background: var(--ink); }
.tabs button { padding: 12px 4px; border-radius: 999px; color: rgba(255, 248, 245, .7); transition: background .2s, color .2s; }
.tabs button[aria-current="page"] { background: var(--pear); color: var(--ink); }
.tabs .dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--berry); vertical-align: 1px; }

h2.h { margin: 12px 0 0; font-size: 3.1rem; color: var(--berry); }
.sub { margin: 10px 0 0; font-size: 1.02rem; line-height: 1.35; color: var(--muted); }
.day { display: flex; align-items: center; justify-content: space-between; margin: 22px 2px 10px; }
.day h3 { margin: 0; font-size: 2rem; color: var(--berry); }
.day span { color: var(--muted); }

/* « Open tonight » : une seule ligne berry, qui est elle-même l'interrupteur. */
.tonight { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px 16px; border-radius: 999px; background: var(--berry); color: #fff; text-align: left; transition: background .2s, color .2s; }
.tonight .n { font-size: 1.9rem; color: var(--pear); }
.tonight .t { flex: 1; font-size: .98rem; line-height: 1.15; font-weight: 700; }
.knob { flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--ink); position: relative; }
.knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); transition: transform .2s; }
.tonight[aria-pressed="true"] { background: var(--ink); color: var(--pear); }
.tonight[aria-pressed="true"] .knob { background: var(--pear); }
.tonight[aria-pressed="true"] .knob::after { transform: translateX(18px); background: var(--ink); }
.tonight .t small { display: block; margin-top: 2px; font-size: .78rem; font-weight: 600; opacity: .8; }

/* Pearr AI : le tri « For you », le bouton « Tune » et la raison de chaque suggestion. */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 999px; background: var(--card); }
.seg button { padding: 10px 4px; border-radius: 999px; color: #4D5220; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--berry); color: #fff; }
.tune { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--pear); }
.clear { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 999px; background: var(--ink); color: var(--pear); vertical-align: middle; }
.rate { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; vertical-align: middle; white-space: nowrap; }
.date { position: relative; }
.date > .rate { position: absolute; left: 14px; bottom: 14px; z-index: 1; box-shadow: 0 2px 6px rgba(11, 11, 15, .25); }
.cand h4 .rate { margin-left: 6px; font-size: .68rem; }
.portrait .rate { margin-left: 6px; }
.clear svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cand h4 .clear { margin-left: 6px; font-size: .58rem; }
.match .clear { margin: -4px 0 14px; }
/* Une date par heure : le compte à rebours et la notification qui l'annonce.
   La notification prend sa place en haut du téléphone et pousse le reste vers
   le bas : elle ne recouvre ni le logo ni la ligne « open tonight ». */
.next { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin: 2px 0 0; padding: 16px 18px; border-radius: 26px; background: var(--ink); color: var(--cream); }
.next .k { color: var(--pear); }
.next .cd { grid-row: span 2; font-size: 2.9rem; color: var(--pear); font-variant-numeric: tabular-nums; }
.next .lnk { justify-self: start; color: rgba(255, 248, 245, .8); font-size: .86rem; }
.new { display: inline-block; margin-left: 6px; padding: 4px 10px; border-radius: 999px; background: var(--berry); color: #fff; }
.toast { flex: none; margin: max(10px, env(safe-area-inset-top)) 10px 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 12px 16px; border-radius: 24px; background: var(--ink); color: var(--cream); text-align: left; animation: drop .45s cubic-bezier(.2, .8, .2, 1) both; }
.toast .pear { grid-row: span 2; height: 38px; width: auto; }
.toast .k { color: var(--pear); }
.toast b { font-size: 1.02rem; font-weight: 700; }
@keyframes drop { from { transform: translateY(-40%); opacity: 0; } }
.lnk { font: inherit; font-weight: 700; color: var(--berry-ink); text-decoration: underline; text-underline-offset: 2px; }
.plus { display: inline-flex; align-items: center; justify-content: center; width: 1.05em; height: 1.05em; margin-left: .18em; border-radius: 50%; background: var(--ink); color: var(--pear); font-family: var(--display); font-size: .62em; font-weight: 800; letter-spacing: 0; }
.spark { display: inline-block; width: .9em; height: .9em; margin-right: .35em; vertical-align: -.08em; fill: currentColor; }
.why { display: block; margin-top: 7px; font-size: .84rem; line-height: 1.25; font-weight: 700; color: var(--berry-ink); }
.learned { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.learned li { padding: 12px 14px; border-radius: 18px; background: var(--card); font-size: 1rem; line-height: 1.3; font-weight: 600; }
.sheet h2 { margin: 0 0 4px; font-size: 2.6rem; color: var(--berry); }

/* Les visages : une vraie photo, avec l'initiale en repli si elle ne charge pas. */
.face { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-stretch: 75%; background: linear-gradient(135deg, var(--berry), var(--blush)); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av { flex: none; border-radius: 50%; }
.av.m { width: 62px; height: 62px; font-size: 1.5rem; }
.av.me { background: var(--pear); color: var(--ink); }

/* Une date : le visage d'abord, puis l'heure en pastille et le plan. */
.date { width: 100%; display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: center; text-align: left; padding: 8px; margin-bottom: 10px; border-radius: 26px; background: var(--card); transition: transform .15s; }
.date:active { transform: scale(.985); }
.date .face { height: 108px; border-radius: 20px; font-size: 2.4rem; }
.date .body { min-width: 0; padding-right: 8px; }
.when { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--pear); }
.date .what { display: block; margin-top: 8px; font-size: 1.55rem; }
.date .who { display: block; margin-top: 5px; font-size: .98rem; color: #4D5220; }
.date .go { display: block; margin-top: 9px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.date .who b { color: var(--ink); font-weight: 700; }
.sent { display: inline-block; margin-left: 6px; padding: 4px 10px; border-radius: 999px; background: var(--berry); color: #fff; }
.portrait { height: 340px; border-radius: 30px; align-items: flex-end; justify-content: flex-start; padding: 14px 16px; font-size: 9rem; }
.portrait::after { content: ''; position: absolute; inset: 62% 0 0; background: linear-gradient(to top, rgba(11, 11, 15, .8), transparent); }
.portrait div { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; text-align: left; }
.portrait h2 { margin: 0; font-size: 2.3rem; }
.portrait small { display: block; margin-top: 8px; font-size: 1rem; line-height: 1; color: var(--pear); }

.plan { margin: 12px 0; border-radius: 24px; background: var(--card); padding: 4px 0; }
.plan div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline; padding: 11px 18px; font-size: 1.05rem; font-weight: 600; }
.plan div + div { border-top: 1px solid var(--line); }
.plan dt { color: var(--berry-ink); }
.plan dd { margin: 0; }
.quote { margin: 14px 4px 18px; font-size: 1.2rem; line-height: 1.28; font-weight: 600; }
.cta { text-decoration: none; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: 0 20px; border-radius: 999px; background: var(--berry); color: #fff; font-size: 1.45rem; letter-spacing: .01em; transition: transform .15s, opacity .2s; }
.cta:active { transform: scale(.98); }
.cta.ink { background: var(--ink); color: var(--pear); }
.cta.ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.cta:disabled { opacity: .35; cursor: default; }
.note { margin: 12px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); text-align: center; }
.note b { color: var(--berry-ink); font-weight: 700; }

/* Publier une date */
.q { margin: 22px 2px 9px; color: var(--berry-ink); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 11px 16px; border-radius: 999px; font-size: 1rem; font-weight: 700; background: var(--card); transition: background .15s, color .15s; }
.opt[aria-pressed="true"] { background: var(--berry); color: #fff; }
.opt.more { padding-left: 14px; padding-right: 14px; letter-spacing: .08em; }
.opts.row { flex-wrap: nowrap; }
.opts.row .opt { flex: none; }
textarea { width: 100%; min-height: 84px; padding: 14px 16px; border-radius: 22px; border: 0; background: var(--card); font: inherit; font-size: 1.02rem; color: var(--ink); resize: none; outline: none; }
textarea:focus { box-shadow: 0 0 0 3px var(--berry); }
.space { height: 18px; }

/* Les personnes intéressées */
.cand { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: 24px; background: var(--card); }
.cand h4 { margin: 2px 0 0; font-size: 1.15rem; font-weight: 700; }
.cand p { margin: 2px 0 10px; font-size: .95rem; line-height: 1.3; color: #4D5220; }
.yn { display: flex; gap: 8px; }
.yn button { flex: 1; min-height: 42px; border-radius: 999px; font-size: 1.15rem; background: var(--cream); }
.yn .y { background: var(--berry); color: #fff; }
.cand.no { opacity: .4; }
.empty { margin-top: 22px; padding: 28px 20px; text-align: center; border-radius: 28px; background: var(--card); }
.empty p { margin: 0 0 18px; font-size: 1.1rem; line-height: 1.3; font-weight: 600; }

/* You're paired : plein écran berry, les deux poires se rejoignent. */
.match { background: var(--berry); color: #fff; margin: -4px -16px -20px; padding: 22px 18px 26px; min-height: 100%; }
.match .pear { display: block; height: 96px; margin: 0 0 14px 8px; }
.match .pear .b { fill: #fff; animation: joinB .9s cubic-bezier(.2, .8, .2, 1) both; }
.match .pear .f { animation: joinF .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes joinB { from { transform: translateX(-24px); opacity: 0; } }
@keyframes joinF { from { transform: translateX(24px); opacity: 0; } }
.match .kick { color: var(--pear); }
.match h2 { margin: 8px 0 18px; font-size: 4.6rem; }
.match h2 span { color: var(--pear); }
.match .plan { background: #fff; }
.match .plan, .match .plan dd { color: var(--ink); }
.pair { display: flex; align-items: center; margin-bottom: 14px; }
.pair .av { box-shadow: 0 0 0 4px var(--berry); }
.pair .av + .av { margin-left: -16px; }
.pair span.t { margin-left: 14px; font-size: 1.15rem; font-weight: 700; }
.chat { margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 20px 20px 20px 6px; font-size: 1rem; line-height: 1.3; font-weight: 500; background: #fff; color: var(--ink); }
.msg.me { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--pear); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.quick button { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); font-size: .95rem; font-weight: 600; }
.match .cta.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; margin-top: 10px; }
.match .note { color: rgba(255, 255, 255, .85); }
.safety { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 999px; background: var(--ink); font-size: 1rem; font-weight: 600; width: 100%; text-align: left; }
.safety b { color: var(--pear); }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.thumbs button { min-height: 130px; border-radius: 28px; background: var(--pear); font-size: 2.8rem; }
.thumbs button + button { background: var(--blush); }
.thumbs button span { display: block; margin-top: 6px; }

/* La note de concept, en feuille sur téléphone */
/* Le prototype reste verrouillé tant qu'on n'est pas sur la liste d'attente. */
.lock { position: absolute; inset: 0; z-index: 8; display: none; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; text-align: center; background: rgba(255, 248, 245, .9); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
body.locked .lock { display: flex; }
.lock p.shout { margin: 0; font-size: 3.4rem; line-height: .95; color: var(--berry); }
/* Pas de bouton dans le téléphone : le formulaire est juste à côté. Sur mobile,
   où le prototype prend tout l'écran, un simple lien ramène au formulaire. */
.lock .back { align-self: center; font-size: 1rem; font-weight: 700; }
@media (min-width: 900px) { .lock .back { display: none; } }
.lock p { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.35; font-weight: 700; }
.sheet { position: absolute; inset: 0; z-index: 5; background: rgba(11, 11, 15, .55); display: flex; align-items: flex-end; }
.sheet > div { width: 100%; max-height: 88%; overflow-y: auto; background: var(--cream); border-radius: 30px 30px 0 0; padding: 22px 16px 24px; }
.sheet .panel { position: relative; }
.sheet .x { position: absolute; top: 14px; right: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--pear); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.sheet .later { display: block; width: 100%; margin-top: 6px; padding: 14px; text-align: center; font-weight: 700; color: var(--muted); }
.sheet h1 { margin: 0; font-size: 3rem; }
.sheet .tag { margin: .9rem 0 1.1rem; font-size: 2.4rem; color: var(--berry); }
.sheet .foot, .sheet .sub { color: #6E686C; }
.sheet .foot { font-size: .82rem; line-height: 1.5; }
.sheet .price { display: flex; align-items: baseline; gap: 12px; margin: 14px 2px 6px; }
.sheet .price b { font-size: 3rem; line-height: 1; color: var(--berry); white-space: nowrap; }
.sheet .price span { font-size: 1.05rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
