/* ═══ Hypé — thème sombre ═══ */
:root {
  --bg: #0D0B12;
  --card: #18141F;
  --card2: #221C2C;
  --line: rgba(255,255,255,0.08);
  --text: #FFFFFF;
  --muted: #A79FB5;
  --pink: #FF3D6E;
  --pink-d: #FF6B91;
  --pink-l: rgba(255,61,110,0.16);
  --violet: #7B5CFF;
  --violet-l: rgba(123,92,255,0.18);
  --ink: #15121F;
  --soft: #1E1928;
  --snap: #FFFC00;
  --green: #19D17F;
  --r: 22px;
  --display: "Unbounded", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; }
body { min-height: 100dvh; }
body::before { content: ""; position: fixed; inset: -20% -20% auto; height: 60vh; background: radial-gradient(closest-side, rgba(255,61,110,0.18), transparent), radial-gradient(closest-side at 80% 30%, rgba(123,92,255,0.16), transparent); pointer-events: none; z-index: 0; }
a { color: var(--pink-d); }
button { font-family: inherit; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3 { margin: 0; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 0; }
.center { text-align: center; }


#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; z-index: 1; }
.page { padding: 4px 16px 120px; display: flex; flex-direction: column; gap: 16px; animation: fade-up 0.35s ease both; }
.page.still { animation: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
.glass { background: rgba(255,255,255,0.06); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Barre du haut */
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 16px 8px; position: sticky; top: 0; z-index: 10; background: linear-gradient(to bottom, var(--bg) 60%, rgba(13,11,18,0)); }
.top h1 { flex: 1; font-family: var(--display); font-weight: 800; font-size: 20px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: #fff; text-decoration: none; }
.logo::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 4px; background: var(--pink); margin-left: 3px; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: none; flex: none; }
.icon-btn.light { background: rgba(255,255,255,0.16); }

/* Boutons */
.btn { min-height: 54px; border-radius: 18px; border: none; padding: 0 18px; font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform 0.12s ease, opacity 0.2s; color: #fff; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; }
.btn-block { width: 100%; }
.btn-main { background: var(--pink); color: #fff; font-family: var(--display); box-shadow: 0 10px 26px rgba(255,61,110,0.35); }
.btn-violet { background: var(--violet); color: #fff; font-family: var(--display); }
.btn-dark { background: rgba(255,255,255,0.1); color: #fff; }
.btn-light { background: #fff; color: var(--ink); font-family: var(--display); }
.btn-ghost, .btn-ghost-d { background: rgba(255,255,255,0.08); color: #fff; }
.btn-ghost.danger { color: #FF7A9A; }
.btn-snap { background: var(--snap); color: var(--ink); }
.btn-snap.locked { background: rgba(255,252,0,0.12); color: var(--snap); box-shadow: inset 0 0 0 2px rgba(255,252,0,0.5); font-size: 14px; }
.btn-snap.locked svg { stroke: var(--snap); }
.link-btn { background: none; border: none; color: var(--pink-d); font-weight: 800; font-size: 14px; padding: 10px; }
.pop { animation: pop 0.45s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 40% { transform: scale(1.12); } }

/* Navigation */
.nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); width: min(452px, calc(100% - 24px)); height: 66px; border-radius: 24px; background: rgba(24,20,31,0.88); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-around; z-index: 20; box-shadow: 0 12px 30px rgba(0,0,0,0.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-weight: 800; font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; position: relative; }
.nav a.on { color: #fff; }
.nav a.on::after { content: ""; position: absolute; bottom: -8px; width: 4px; height: 4px; border-radius: 2px; background: var(--pink); }
.nav-plus { width: 52px; height: 52px; border-radius: 18px; background: var(--pink); border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(255,61,110,0.45); }
.dot { position: absolute; top: -4px; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--card); }

/* Top / classement */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.05); color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; }
.tab.on { background: #fff; color: var(--ink); }
.flist { display: flex; flex-direction: column; gap: 10px; }
.fcard { position: relative; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 10px 12px; animation: fade-up 0.35s ease both; }
.fcard.mine { box-shadow: inset 0 0 0 2px var(--pink); }
.frank { width: 22px; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--muted); text-align: center; }
.fcard:nth-child(1) .frank { color: var(--snap); }
.fphoto { width: 60px; height: 76px; border-radius: 16px; background: var(--card2) center / cover; flex: none; }
.finfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: #fff; }
.finfo b { font-size: 16px; }
.finfo small { font-weight: 700; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hype-mini { width: 60px; height: 60px; border-radius: 18px; border: none; background: var(--pink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-weight: 800; font-size: 13px; flex: none; }
.hype-mini.done { background: var(--pink-l); color: var(--pink-d); }
.fcard.mine .hype-mini { background: rgba(255,255,255,0.08); color: var(--muted); }
.empty { text-align: center; color: var(--muted); font-weight: 600; padding: 24px 10px; margin: 0; line-height: 1.5; }
.skel { height: 96px; border-radius: var(--r); background: linear-gradient(90deg, var(--card), var(--card2), var(--card)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skel.big { height: 420px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Profil */
.ptop { position: relative; margin: 0 -16px; height: min(68vh, 560px); overflow: hidden; border-radius: 0 0 32px 32px; }
.gal { position: absolute; inset: 0; background: var(--card2); }
.gal-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 100%; height: 100%; scroll-snap-align: start; background: center / cover no-repeat; }
.gal-dots { position: absolute; top: calc(66px + env(safe-area-inset-top)); left: 16px; right: 16px; display: flex; gap: 4px; z-index: 2; }
.gal-dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); }
.gal-dots i.on { background: #fff; }
.ptop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,11,18,0.55), rgba(13,11,18,0) 25%, rgba(13,11,18,0) 50%, rgba(13,11,18,0.95)); pointer-events: none; }
.ptop .top { position: absolute; left: 0; right: 0; top: 0; background: none; z-index: 3; }
.top-badge { position: absolute; top: calc(80px + env(safe-area-inset-top)); right: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: var(--snap); color: var(--ink); font-weight: 800; font-size: 12px; }
.gal-info { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; color: #fff; pointer-events: none; display: flex; flex-direction: column; gap: 6px; }
.gal-info > * { pointer-events: auto; }
.gal-info h1 { font-family: var(--display); font-weight: 800; font-size: 32px; display: flex; align-items: center; gap: 8px; }
.gal-info p { margin: 0; font-weight: 600; font-size: 14px; opacity: 0.92; }
.gal-info .dep { font-weight: 800; }
.live-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: rgba(255,61,110,0.92); color: #fff; font-weight: 800; font-size: 13px; text-decoration: none; }
.live-pill i { width: 8px; height: 8px; border-radius: 4px; background: #fff; animation: blink 1.4s infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.16); font-weight: 700; font-size: 12px; color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat-row div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-row b { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; }
.stat-row div:first-child b { color: var(--snap); }
.stat-row span { font-weight: 700; font-size: 11px; color: var(--muted); }
.act-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: relative; }
.act-row .btn { width: 100%; min-height: 58px; }
.act-row .wide { grid-column: span 2; }
#snap-slot { display: flex; }
.hype-big { font-size: 18px; }
.hype-big.done { background: var(--green); box-shadow: 0 10px 24px rgba(25,209,127,0.3); opacity: 1; }
.own-box { background: var(--pink-l); border: 1px solid rgba(255,61,110,0.3); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { border: none; text-align: left; border-radius: var(--r); padding: 16px; min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; text-decoration: none; color: #fff; }
.tile b { font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.2; }
.tile small { font-weight: 700; font-size: 12px; opacity: 0.85; }
.tile-quiz { background: var(--violet); transform: rotate(-1.5deg); box-shadow: 0 8px 22px rgba(123,92,255,0.35); }
.tile-ask { background: var(--card2); border: 1px solid var(--line); transform: rotate(1.5deg); }
.tile:only-child { grid-column: span 2; transform: none; }
.block { display: flex; flex-direction: column; gap: 6px; }
.block h3, .sec { font-family: var(--display); font-weight: 800; font-size: 16px; margin: 6px 0 2px; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.lrow b { flex: 1; }
.lrow.me { background: var(--pink-l); border-color: var(--pink); }
.lr { width: 22px; font-family: var(--display); font-weight: 800; color: var(--violet); }
.ls { font-weight: 800; }
.qa { border-radius: 18px; padding: 14px; background: var(--card); border: 1px solid var(--line); }
.qa .q { margin: 0; font-weight: 800; }
.qa .a { margin: 6px 0 0; color: #B9A6FF; font-weight: 700; }
.report { align-self: center; background: none; border: none; color: var(--muted); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; padding: 10px; }
.more-row { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }

/* Quiz */
.quiz-page { min-height: 100dvh; background: radial-gradient(120% 70% at 50% 0%, #6A4BFF, #2A1A6E 70%, var(--bg)); color: #fff; padding: calc(16px + env(safe-area-inset-top)) 16px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.qtop { display: flex; align-items: center; gap: 12px; }
.qprog { flex: 1; display: flex; gap: 4px; }
.qprog i { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.25); }
.qprog i.on { background: #fff; }
.qwho { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--card2) center / cover; border: 2px solid #fff; flex: none; display: inline-block; }
.av.big { width: 64px; height: 64px; }
.qcard { margin-top: 18px; background: #fff; color: var(--ink); border-radius: 30px; padding: 26px 22px; transform: rotate(-1deg); box-shadow: 0 18px 40px rgba(0,0,0,0.35); display: flex; flex-direction: column; gap: 8px; animation: card-in 0.35s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes card-in { from { opacity: 0; transform: rotate(-4deg) translateY(20px) scale(0.96); } }
.qcard small { font-weight: 800; font-size: 13px; color: var(--violet); }
.qcard h2 { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.2; }
.qopts { display: flex; flex-direction: column; gap: 10px; }
.qopt { min-height: 60px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.1); color: #fff; font-weight: 800; font-size: 17px; text-align: left; padding: 0 20px; transition: background 0.15s, transform 0.15s; }
.qopt:active { transform: scale(0.98); }
.qopt.picked { background: #fff; color: var(--violet); }
.big-input { font-size: 18px; text-align: center; }
.result-card { background: radial-gradient(120% 120% at 50% 0%, #8C70FF, #4B2FD6); color: #fff; border-radius: 30px; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; position: relative; overflow: hidden; }
.result-card p { margin: 0; font-weight: 800; font-size: 14px; opacity: 0.9; }
.result-card .big { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; }
.result-card h2 { font-family: var(--display); font-weight: 600; font-size: 18px; }
.pill-y { margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: var(--snap); color: var(--ink); font-weight: 800; font-size: 13px; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* Moi */
.me-hero { position: relative; border-radius: 28px; overflow: hidden; background: var(--card); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.me-hero::before { content: ""; position: absolute; inset: 0; background: var(--bgimg) center / cover; opacity: 0.25; filter: blur(30px); transform: scale(1.3); }
.me-hero > * { position: relative; }
.me-head { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.me-head b { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 20px; }
.me-head small { color: var(--pink-d); font-weight: 800; font-size: 13px; }
.me-head > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.me-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.me-stats div { background: rgba(0,0,0,0.25); border-radius: 18px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.me-stats b { font-family: var(--display); font-weight: 800; font-size: 22px; }
.me-stats div:first-child b { color: var(--snap); }
.me-stats span { font-weight: 700; font-size: 11px; color: var(--muted); text-align: center; }
.boost { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: linear-gradient(135deg, rgba(255,61,110,0.25), rgba(123,92,255,0.25)); border: 1px solid rgba(255,255,255,0.12); }
.boost b { display: block; font-family: var(--display); font-size: 15px; }
.boost small { color: var(--muted); font-weight: 700; font-size: 12px; }
.boost > div { flex: 1; }
.boost .btn { min-height: 44px; font-size: 14px; padding: 0 14px; }
.share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sh { border: none; border-radius: var(--r); padding: 16px; min-height: 100px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; color: #fff; }
.sh b { font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.2; }
.sh small { font-weight: 700; font-size: 12px; opacity: 0.9; }
.sh-profile { background: var(--pink); grid-column: span 2; min-height: 86px; }
.sh-quiz { background: var(--violet); }
.sh-ask { background: var(--card2); border: 1px solid var(--line); }
.menu { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.menu a, .menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; text-decoration: none; color: #fff; font-weight: 800; position: relative; background: none; border: none; font-size: 16px; text-align: left; }
.menu > * + * { border-top: 1px solid var(--line) !important; }
.menu small { color: var(--muted); font-weight: 700; font-size: 13px; }
.menu .dot { position: static; box-shadow: none; }
.settings { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 4px 16px; }
.settings summary { min-height: 48px; display: flex; align-items: center; font-weight: 800; cursor: pointer; list-style: none; }
.settings summary::-webkit-details-marker { display: none; }
.settings[open] { padding-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.warn { margin: 0; padding: 12px 14px; border-radius: 16px; background: rgba(255,200,60,0.14); color: #FFD77A; font-weight: 700; font-size: 14px; }

/* Formulaire */
.title { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 13px; }
.field small { color: var(--muted); font-weight: 600; }
.input { width: 100%; min-height: 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); padding: 12px 14px; font-size: 16px; font-weight: 600; color: #fff; outline: none; resize: none; }
.input::placeholder { color: #7D7590; }
.input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,61,110,0.2); }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #A79FB5 50%), linear-gradient(135deg, #A79FB5 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
select.input option { background: var(--card); color: #fff; }
.quiz-page .input { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.row2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; line-height: 1.35; }
.check-row input { width: 22px; height: 22px; accent-color: var(--pink); flex: none; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pcell { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; background: var(--card) center / cover no-repeat; overflow: hidden; }
.pcell.cover { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.padd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed rgba(255,255,255,0.18); color: var(--pink-d); font-weight: 800; font-size: 12px; cursor: pointer; text-align: center; padding: 6px; }
.pgrid .padd:first-child { grid-column: span 3; aspect-ratio: auto; height: 220px; font-size: 15px; background: radial-gradient(circle at 50% 30%, rgba(255,61,110,0.2), var(--card)); border-color: rgba(255,61,110,0.4); }
.ptag { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,0.6); color: #fff; font-weight: 800; font-size: 11px; }
.pdel { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 15px; border: none; background: rgba(0,0,0,0.6); color: #fff; display: flex; align-items: center; justify-content: center; }
.pdel svg { width: 16px; height: 16px; }
.opt { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 2px 14px; }
.opt summary { min-height: 46px; display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; cursor: pointer; list-style: none; }
.opt summary::-webkit-details-marker { display: none; }
.opt summary span { color: var(--muted); font-weight: 600; }
.opt[open] { padding-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.chips.pick button { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.05); font-weight: 800; font-size: 13px; color: #fff; }
.chips.pick button.on { background: var(--pink); border-color: var(--pink); }

/* Éditeur de quiz */
.qe-prog { height: 8px; border-radius: 8px; background: var(--card); overflow: hidden; }
.qe-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink)); border-radius: 8px; transition: width 0.3s ease; }
.qe-list { display: flex; flex-direction: column; gap: 12px; }
.qe { border-radius: var(--r); padding: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: background 0.2s; }
.qe.ok { background: var(--violet-l); border-color: rgba(123,92,255,0.4); }
.qe-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.qe-head b { font-size: 15px; line-height: 1.3; }
.swap { width: 36px; height: 36px; border-radius: 12px; border: none; background: rgba(255,255,255,0.08); color: var(--muted); display: flex; align-items: center; justify-content: center; flex: none; }
.qe-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qe-opts button { min-height: 46px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.05); font-weight: 700; font-size: 14px; color: #fff; padding: 6px 8px; }
.qe-opts button.on { background: var(--violet); border-color: var(--violet); }
.sticky-save { position: sticky; bottom: calc(14px + env(safe-area-inset-bottom)); padding-top: 6px; }

/* Questions */
.info { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--muted); }
.info svg { flex: none; }
#asks { display: flex; flex-direction: column; gap: 14px; }
.ask { border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.ask.r0 { background: var(--violet); transform: rotate(-0.8deg); }
.ask.r1 { background: var(--card2); transform: rotate(0.8deg); }
.ask.r2 { background: #3A1B2B; transform: rotate(-0.4deg); }
.ask .q { margin: 0; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.25; }
.ask small { font-weight: 700; font-size: 12px; opacity: 0.8; }
.ask .a { margin: 0; font-weight: 700; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.92); color: var(--violet); }
.ask .input { min-height: 0; background: rgba(0,0,0,0.25); }
.ask-act { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ask-act .btn { min-height: 46px; font-size: 14px; }
.ask .link-btn { color: #fff; opacity: 0.85; }

/* Feuille du bas */
#sheet { position: fixed; inset: 0; z-index: 80; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.2s; }
.sheet-card { position: absolute; left: 50%; bottom: 0; width: min(480px, 100%); transform: translate(-50%, 100%); background: #1A1622; border: 1px solid var(--line); border-bottom: none; border-radius: 28px 28px 0 0; padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; transition: transform 0.28s cubic-bezier(.2,1,.3,1); max-height: 92dvh; overflow-y: auto; color: #fff; }
#sheet.open .sheet-bg { opacity: 1; }
#sheet.open .sheet-card { transform: translate(-50%, 0); }
.sheet-card h2 { font-family: var(--display); font-weight: 800; font-size: 20px; padding-right: 40px; }
.sheet-card .muted { display: flex; gap: 8px; align-items: flex-start; }
.sheet-card .muted svg { flex: none; margin-top: 1px; }
.sheet-x { position: absolute; top: 16px; right: 14px; width: 40px; height: 40px; border-radius: 20px; border: none; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; }
.share-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share-steps div { background: var(--card); border-radius: 16px; padding: 12px; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.share-steps b { width: 24px; height: 24px; border-radius: 12px; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.snap-share svg { flex: none; }

/* Toast + bannière temps réel */
#toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 16px; font-weight: 800; font-size: 14px; opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 90; max-width: calc(100% - 40px); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.banner { position: fixed; left: 50%; top: calc(10px + env(safe-area-inset-top)); transform: translate(-50%, -140%); width: min(452px, calc(100% - 24px)); z-index: 95; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; background: rgba(30,25,40,0.96); border: 1px solid var(--line); color: #fff; text-decoration: none; box-shadow: 0 14px 36px rgba(0,0,0,0.5); transition: transform 0.35s cubic-bezier(.2,1.2,.4,1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.banner.show { transform: translate(-50%, 0); }
.banner .av { width: 42px; height: 42px; border-width: 0; }
.banner b { display: block; font-size: 14px; }
.banner small { color: var(--muted); font-weight: 700; font-size: 12px; }

/* Confettis */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }
.confetti i { position: absolute; top: 30%; width: 8px; height: 12px; border-radius: 2px; animation: conf 2s ease-out forwards; }
@keyframes conf { to { transform: translate(var(--x), 260px) rotate(var(--r)); opacity: 0; } }

/* Mutuel */
.mutual { position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px; background: radial-gradient(circle at 50% 35%, rgba(255,61,110,0.55), rgba(13,11,18,0.96) 65%); text-align: center; animation: fade-up 0.3s ease both; }
.mutual .pair { display: flex; }
.mutual .pair span { width: 110px; height: 110px; border-radius: 50%; border: 4px solid #fff; background: var(--card2) center / cover; }
.mutual .pair span:last-child { margin-left: -24px; }
.mutual h2 { font-family: var(--display); font-weight: 800; font-size: 28px; }
.mutual p { margin: 0; color: rgba(255,255,255,0.85); font-weight: 600; }
.mutual .btn { width: min(320px, 100%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }

/* ═══ Découvrir (plein écran) ═══ */


.disc { position: fixed; inset: 0; max-width: 480px; margin: 0 auto; background: #15121F; color: #fff; overflow: hidden; }
.dtop { position: absolute; top: 0; left: 0; right: 0; z-index: 6; padding: calc(10px + env(safe-area-inset-top)) 14px 0; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(to bottom, rgba(21,18,31,0.65), rgba(21,18,31,0)); pointer-events: none; }
.dtop > * { pointer-events: auto; }
.dbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo.light { color: #fff; font-size: 22px; }
.fpill { height: 36px; max-width: 70%; padding: 0 12px; border-radius: 999px; border: none; background: rgba(255,255,255,0.2); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fpill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail-it { border: none; background: none; color: #fff; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 60px; flex: none; }
.rail-it small { font-weight: 800; font-size: 11px; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.ring { position: relative; width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #FF3D6E, #FFC48A); display: block; }
.ring.seen { background: rgba(255,255,255,0.35); }
.ring.add { background: rgba(255,255,255,0.25); }
.ring > span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #15121F; background: #3A3448 center / cover; }
.ring i { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 11px; background: var(--pink); border: 2px solid #15121F; color: #fff; font-style: normal; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.dstage { position: absolute; inset: 0; }
.dloading { position: absolute; inset: 0; background: linear-gradient(90deg, #1E1A2B, #2A2438, #1E1A2B); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.dcard { position: absolute; inset: 0; touch-action: pan-y; transition: transform 0.25s ease, opacity 0.25s ease; animation: dcard-in 0.3s ease both; user-select: none; -webkit-user-select: none; }
@keyframes dcard-in { from { opacity: 0; transform: scale(0.97); } }
.dcard.out-right { transform: translateX(120%) rotate(14deg); opacity: 0; }
.dcard.out-left { transform: translateX(-120%) rotate(-14deg); opacity: 0; }
.dcard.out-up { transform: translateY(-40px); opacity: 0; }
.dphotos { position: absolute; inset: 0; }
.dph { position: absolute; inset: 0; background: #2A2438 center / cover no-repeat; opacity: 0; transition: opacity 0.2s; }
.dph.on { opacity: 1; }
.dsegs { position: absolute; left: 14px; right: 14px; top: calc(6px + env(safe-area-inset-top)); display: flex; gap: 4px; z-index: 7; }
.dsegs i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); }
.dsegs i.on { background: #fff; }
.dshade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(21,18,31,0) 40%, rgba(21,18,31,0.9) 100%); pointer-events: none; }
.dzone { position: absolute; top: 140px; bottom: 260px; z-index: 2; }
.dzone.prev { left: 0; width: 35%; }
.dzone.next { right: 72px; width: 40%; }
.stamp { position: absolute; top: 160px; z-index: 5; padding: 8px 16px; border-radius: 14px; border: 4px solid; font-family: var(--display); font-weight: 800; font-size: 30px; opacity: 0; transition: opacity 0.12s; pointer-events: none; }
.stamp.yes { left: 22px; color: #FF3D6E; border-color: #FF3D6E; transform: rotate(-12deg); background: rgba(255,255,255,0.9); }
.stamp.no { right: 22px; color: #fff; border-color: #fff; transform: rotate(12deg); background: rgba(21,18,31,0.4); }
.dcard.swipe-yes .stamp.yes, .dcard.swipe-no .stamp.no { opacity: 1; }
.dside { position: absolute; right: 10px; bottom: calc(250px + env(safe-area-inset-bottom)); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dside > span { font-weight: 800; font-size: 12px; margin-bottom: 8px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.dbtn { width: 52px; height: 52px; border-radius: 26px; border: none; background: rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dbtn.hype { background: var(--pink); box-shadow: 0 8px 20px rgba(255,61,110,0.45); }
.dbtn.hype.done { background: var(--green); }
.dbtn.quiz { background: var(--violet); font-family: var(--display); font-weight: 800; font-size: 20px; }
.dinfo { position: absolute; left: 16px; right: 78px; bottom: calc(176px + env(safe-area-inset-bottom)); z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.dinfo h2 { font-family: var(--display); font-weight: 800; font-size: 30px; display: flex; align-items: center; gap: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.dmeta { margin: 0; font-weight: 700; font-size: 14px; opacity: 0.95; }
.dbio { margin: 0; font-weight: 600; font-size: 14px; opacity: 0.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dinfo .chips { margin-top: 0; }
.dstory { align-self: flex-start; border: none; border-radius: 14px; padding: 9px 12px; background: rgba(255,61,110,0.92); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.dstory i { width: 8px; height: 8px; border-radius: 4px; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.dact { position: absolute; left: 14px; right: 14px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 6; display: flex; gap: 10px; }
.dpass { width: 62px; height: 62px; flex: none; border-radius: 22px; border: none; background: rgba(255,255,255,0.18); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dpass.next svg { transform: rotate(180deg); }
.dmain { flex: 1; height: 62px; border-radius: 22px; border: none; background: var(--snap); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: transform 0.12s; }
.dmain:active { transform: scale(0.97); }
.dmain.snap { animation: pop 0.45s cubic-bezier(.3,1.6,.5,1); }
.dempty { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 26px 120px; text-align: center; }
.dempty h2 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.dempty p { margin: 0 0 8px; color: rgba(255,255,255,0.75); font-weight: 600; line-height: 1.5; }
.btn-ghost-d { background: rgba(255,255,255,0.14); color: #fff; }
body.dark .nav { background: rgba(21,18,31,0.92); box-shadow: 0 10px 28px rgba(0,0,0,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav a { min-width: 58px; }

/* Musique */
.mpill { align-self: flex-start; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: none; background: rgba(21,18,31,0.55); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mpill.light { background: var(--card); color: #fff; border: 1px solid var(--line); }
.mcover { width: 28px; height: 28px; border-radius: 8px; background: #FFFC00 center / cover; flex: none; }
.mtxt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mtxt b { font-weight: 800; }
.mtap { padding: 3px 8px; border-radius: 999px; background: var(--snap); color: var(--ink); font-weight: 800; font-size: 11px; white-space: nowrap; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: #FFFC00; }
.mpill.light .eq i { background: var(--snap); }
.mpill.on .eq i { animation: eq 0.9s ease-in-out infinite; }
.mpill.on .eq i:nth-child(2) { animation-delay: 0.2s; }
.mpill.on .eq i:nth-child(3) { animation-delay: 0.4s; }
.mpill.on .eq i:nth-child(4) { animation-delay: 0.1s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mres { display: flex; flex-direction: column; gap: 8px; max-height: 46dvh; overflow-y: auto; }
.mr { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: var(--soft); }
.mr .mcover { width: 44px; height: 44px; border-radius: 10px; }
.mr .mtxt { flex: 1; display: flex; flex-direction: column; }
.mr .mtxt small { color: var(--muted); font-weight: 700; }
.mr { border: 1px solid var(--line); }
.mplay { width: 40px; height: 40px; border-radius: 20px; border: none; background: #fff; color: var(--ink); font-size: 14px; flex: none; }
.mpick { min-height: 40px; padding: 0 12px; font-size: 13px; box-shadow: none; flex: none; }

/* Stats profil */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat-row span { font-weight: 700; font-size: 11px; color: var(--muted); }
.gal-info .dep { font-weight: 800; opacity: 0.95; }

/* Mes stories */
.mystories { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.mystories::-webkit-scrollbar { display: none; }
.ms-add, .ms-item { flex: 0 0 84px; height: 140px; border-radius: 18px; border: 1px solid var(--line); background: var(--card) center / cover; padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; font-weight: 800; font-size: 13px; }
.ms-add { background: var(--pink-l); color: var(--pink-d); border: 2px dashed rgba(255,61,110,0.5); }
.ms-add svg { stroke: var(--pink); }
.ms-item.answer { background: var(--violet); color: #fff; }
.ms-item.answer span { font-size: 11px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sc-prev { height: 46dvh; border-radius: 22px; background: var(--card) center / cover no-repeat; }

/* Filtres */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.05); font-weight: 800; font-size: 13px; color: #fff; }
.fchip.on { background: #fff; border-color: #fff; color: var(--ink); }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #5F586E 50%), linear-gradient(135deg, #5F586E 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field small { color: var(--muted); font-weight: 600; }

/* Lecteur de stories */
#sv { position: fixed; inset: 0; z-index: 70; background: #000; }
.sv-in { position: absolute; inset: 0; max-width: 480px; margin: 0 auto; color: #fff; animation: fade-up 0.2s ease both; }
.sv-segs { position: absolute; top: calc(8px + env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.sv-segs i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); overflow: hidden; }
.sv-segs i.done b { width: 100%; }
.sv-segs b { display: block; height: 100%; width: 0; background: #fff; }
.sv-segs i.run b { animation: seg 5s linear forwards; }
@keyframes seg { to { width: 100%; } }
.sv-head { position: absolute; top: calc(20px + env(safe-area-inset-top)); left: 12px; right: 8px; display: flex; align-items: center; gap: 6px; z-index: 3; }
.sv-who { flex: 1; display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.sv-who b { font-size: 15px; }
.sv-who small { opacity: 0.75; font-weight: 700; }
.sv-who .av { width: 36px; height: 36px; }
.sv-x { width: 40px; height: 40px; border-radius: 20px; border: none; background: rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; justify-content: center; }
.sv-photo { position: absolute; inset: 0; background: #111 center / contain no-repeat; }
.sv-cap { position: absolute; left: 20px; right: 20px; bottom: calc(120px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; text-shadow: 0 2px 12px rgba(0,0,0,0.6); z-index: 2; }
.sv-card { position: absolute; left: 22px; right: 22px; top: 50%; transform: translateY(-55%) rotate(-2deg); background: #fff; color: var(--ink); border-radius: 28px; padding: 26px 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
#sv:has(.sv-card) .sv-in { background: linear-gradient(160deg, #5B3DF5, #FF3D6E); }
.sv-card .q { margin: 0 0 14px; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.25; }
.sv-card .a { margin: 0; color: var(--violet); font-weight: 800; font-size: 18px; line-height: 1.4; }
.sv-tap { position: absolute; top: 80px; bottom: 110px; z-index: 1; }
.sv-tap.prev { left: 0; width: 34%; }
.sv-tap.next { right: 0; width: 66%; }
.sv-foot { position: absolute; left: 14px; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; gap: 10px; z-index: 3; }
.sv-foot .btn { flex: 1; }
.mrow .mpill { flex: 1; min-width: 0; }
.mrow .link-btn { flex: none; }

/* ═══ Chat ═══ */
.dbar-r { display: flex; gap: 6px; min-width: 0; }
.dbar-r .fpill { text-decoration: none; }
.empty-box { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; padding: 26px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.empty-box b { font-family: var(--display); font-size: 17px; }
.clist { display: flex; flex-direction: column; gap: 6px; }
.citem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: #fff; position: relative; }
.citem.new { border-color: rgba(255,61,110,0.5); }
.citem .av { width: 54px; height: 54px; border: none; }
.av.live { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--pink); }
.ctxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ctxt small { color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.citem.new .ctxt small { color: #fff; font-weight: 800; }
.citem .dot { position: static; box-shadow: none; }
.thread { position: fixed; inset: 0; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; background: var(--bg); z-index: 2; }
.thead { position: relative; border-bottom: 1px solid var(--line); background: var(--bg); }
.twho { flex: 1; display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.twho .av { border: none; }
.twho > span:last-child { display: flex; flex-direction: column; }
.twho small { color: var(--muted); font-weight: 700; font-size: 12px; }
.tsnap { padding: 8px 16px; }
.tsnap .btn { min-height: 46px; font-size: 14px; }
.tmsgs { flex: 1; overflow-y: auto; padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 78%; align-self: flex-start; display: flex; flex-direction: column; gap: 2px; animation: fade-up 0.2s ease both; }
.msg p { margin: 0; padding: 10px 14px; border-radius: 20px 20px 20px 6px; background: var(--card2); font-weight: 600; font-size: 15px; line-height: 1.35; word-break: break-word; }
.msg small { color: var(--muted); font-size: 10px; font-weight: 700; padding: 0 8px; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me p { background: var(--pink); border-radius: 20px 20px 6px 20px; }
.tempty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 20px; }
.tempty .av { border: none; }
.tform { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.tform .input { min-height: 48px; border-radius: 24px; }
.tsend { width: 48px; height: 48px; border-radius: 24px; border: none; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }

/* ═══ Talkie ═══ */
.rooms { display: flex; flex-direction: column; gap: 10px; }
.room { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r); background: linear-gradient(145deg, rgba(123,92,255,0.25), rgba(255,61,110,0.12)); border: 1px solid var(--line); text-decoration: none; color: #fff; animation: fade-up 0.35s ease both; }
.room b { font-family: var(--display); font-size: 18px; }
.room-top { display: flex; align-items: center; gap: 8px; }
.room-top small { color: var(--muted); font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,61,110,0.25); animation: blink 1.4s infinite; }
.room-faces { display: flex; align-items: center; }
.room-faces span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--card); background: var(--card2) center / cover; margin-right: -8px; }
.room-faces small { margin-left: 16px; color: var(--muted); font-weight: 700; font-size: 12px; }
.rpage { min-height: 100dvh; display: flex; flex-direction: column; padding-bottom: calc(110px + env(safe-area-inset-bottom)); background: radial-gradient(120% 60% at 50% 0%, rgba(123,92,255,0.35), transparent 70%); }
.rgrid { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.rfaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.rfaces.big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rface { position: relative; border: none; background: none; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; }
.rav { width: 64px; height: 64px; border-radius: 50%; background: var(--card2) center / cover; transition: box-shadow 0.15s, transform 0.15s; }
.rfaces.big .rav { width: 84px; height: 84px; }
.rface b { font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rface.talking .rav { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--green), 0 0 24px rgba(25,209,127,0.6); transform: scale(1.05); }
.rhand { position: absolute; top: -4px; right: 8px; width: 28px; height: 28px; border-radius: 14px; background: var(--snap); color: var(--ink); display: flex; align-items: center; justify-content: center; font-style: normal; animation: pop 0.5s; }
.rhand svg { width: 16px; height: 16px; }
.rbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); width: min(452px, calc(100% - 24px)); display: flex; align-items: center; gap: 10px; z-index: 20; }
.rbar .btn-ghost { min-height: 60px; }
.rflex { flex: 1; min-height: 60px; }
.ptt { flex: 1; height: 76px; border-radius: 38px; border: none; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(255,61,110,0.45); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform 0.12s, background 0.12s; }
.ptt.on { background: var(--green); transform: scale(1.04); box-shadow: 0 0 0 8px rgba(25,209,127,0.25), 0 12px 30px rgba(25,209,127,0.45); }
.ptt.on span::after { content: " · en direct"; }
.dot[hidden] { display: none !important; }
.rfaces > p { grid-column: 1 / -1; }
.menu button { justify-content: flex-start; }
.menu button small, .menu a small { margin-left: auto; text-align: right; }

/* Moi : actions rapides compactes */
.qa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.qa-btn { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 12px 4px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; min-width: 0; }
.qa-btn:disabled { opacity: 0.45; }
.qa-btn b { font-size: 13px; font-weight: 800; }
.qa-btn small { font-size: 11px; font-weight: 700; color: var(--muted); max-width: 100%; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa-ic { width: 40px; height: 40px; border-radius: 14px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.qa-ic svg { width: 20px; height: 20px; }
.qa-btn.pink .qa-ic { background: var(--pink); }
.qa-btn.pink .qa-ic svg { stroke: #fff; }
.boost-on { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,61,110,0.25), rgba(123,92,255,0.25)); font-weight: 800; font-size: 13px; }
.av.ringed { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--pink); }
.me-hero { gap: 12px; padding: 16px; }
.mystories .ms-item { flex: 0 0 70px; height: 110px; }

/* ═══ Entrée ═══ */
.splash { position: fixed; inset: 0; max-width: 480px; margin: 0 auto; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; z-index: 3; }
.sp-tiles { position: absolute; inset: -10%; }
.sp-t { position: absolute; width: 130px; height: 170px; border-radius: 26px; background: linear-gradient(160deg, #3A2B55, #5B2440) center / cover; box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: float 7s ease-in-out infinite; opacity: 0.85; }
.sp-t.t0 { left: 6%; top: 8%; transform: rotate(-12deg); }
.sp-t.t1 { left: 58%; top: 4%; transform: rotate(9deg); animation-delay: -1s; }
.sp-t.t2 { left: 30%; top: 22%; width: 110px; height: 140px; transform: rotate(4deg); animation-delay: -2s; }
.sp-t.t3 { left: -4%; top: 38%; transform: rotate(8deg); animation-delay: -3s; }
.sp-t.t4 { left: 70%; top: 30%; transform: rotate(-8deg); animation-delay: -4s; }
.sp-t.t5 { left: 18%; top: 58%; width: 100px; height: 130px; transform: rotate(-6deg); animation-delay: -5s; }
.sp-t.t6 { left: 62%; top: 56%; transform: rotate(10deg); animation-delay: -1.5s; }
.sp-t.t7 { left: 40%; top: 72%; width: 90px; height: 120px; transform: rotate(-14deg); animation-delay: -2.5s; }
.sp-t.t8 { left: 84%; top: 76%; transform: rotate(6deg); animation-delay: -3.5s; }
@keyframes float { 50% { translate: 0 -14px; } }
.sp-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(255,61,110,0.55), rgba(13,11,18,0.2) 45%, rgba(13,11,18,0.94) 75%); }
.sp-main { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.sp-logo { font-family: var(--display); font-weight: 800; font-size: 86px; letter-spacing: -3px; line-height: 1; color: #fff; text-shadow: 0 10px 40px rgba(255,61,110,0.6); animation: logo-in 0.8s cubic-bezier(.2,1.4,.4,1) both; }
.sp-logo::after { content: ""; display: inline-block; width: 18px; height: 18px; border-radius: 9px; background: var(--snap); margin-left: 4px; box-shadow: 0 0 20px rgba(255,252,0,0.8); }
@keyframes logo-in { from { opacity: 0; transform: scale(0.6) rotate(-6deg); } }
.sp-tag { margin: 18px 0 0; font-weight: 700; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.9); animation: fade-up 0.6s 0.3s both; }
.sp-cta { position: relative; padding: 0 22px calc(26px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; animation: fade-up 0.6s 0.5s both; }
.sp-cta .btn { min-height: 58px; }
.sp-legal { margin: 4px 0 0; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); }
.sp-legal a { color: #fff; }

.ob { position: fixed; inset: 0; max-width: 480px; margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; z-index: 3; }
.ob-top { display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 16px 4px; }
.ob-prog { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.1); overflow: hidden; }
.ob-prog i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--pink), var(--snap)); transition: width 0.35s ease; }
.ob-body { flex: 1; overflow-y: auto; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; animation: fade-up 0.3s ease both; }
.ob-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ob-head h1, .ob.done h1 { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.1; color: var(--snap); }
.ob-stk { width: 64px; height: 64px; flex: none; transform: rotate(10deg); animation: pop 0.6s cubic-bezier(.3,1.6,.5,1) both; }
.ob-stk svg { width: 100%; height: 100%; }
.ob-sub { margin: -4px 0 0; color: rgba(255,255,255,0.8); font-weight: 600; font-size: 14px; line-height: 1.45; }
.ob-in { width: 100%; min-height: 58px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: #fff; padding: 0 18px; font-size: 18px; font-weight: 700; outline: none; }
.ob-in:focus { border-color: var(--snap); }
.ob-date { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 10px; }
.ob-date .ob-in { text-align: center; }
.ob-err { margin: 0; min-height: 18px; color: #FF7A9A; font-weight: 800; font-size: 14px; }
.ob-opts { display: flex; flex-direction: column; gap: 10px; }
.ob-opt { min-height: 58px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: #fff; font-weight: 800; font-size: 17px; text-align: left; padding: 0 20px; transition: transform 0.12s; }
.ob-opt.on { background: var(--snap); color: var(--ink); border-color: var(--snap); }
.ob-opt:active { transform: scale(0.98); }
.ob-bigadd { margin: 20px auto 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; cursor: pointer; }
.ob-plus { width: 150px; height: 150px; border-radius: 50%; background: var(--snap); display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 40px rgba(255,252,0,0.25); animation: pop 0.6s both; }
.ob-plus svg { width: 56px; height: 56px; stroke: var(--ink); }
.ob-hint { padding: 8px 14px; border-radius: 12px; background: var(--card2); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; }
.ob-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ob-ph { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; background: var(--card) center / cover; }
.ob-ph.main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ob-ph.add { display: flex; align-items: center; justify-content: center; border: 2px dashed rgba(255,255,255,0.2); cursor: pointer; }
.ob-social { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ob-social.snap { border-color: rgba(255,252,0,0.5); }
.ob-social input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font-size: 17px; font-weight: 700; }
.ob-social .si { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; }
.ob-cat { margin: 6px 0 0; font-family: var(--display); font-size: 14px; color: var(--muted); }
.ob-sel { min-height: 58px; font-size: 17px; }
.ob-check { margin-top: 8px; }
.ob-foot { padding: 12px 20px calc(18px + env(safe-area-inset-bottom)); display: flex; justify-content: center; }
.ob-next { min-width: 66px; height: 66px; border-radius: 33px; border: none; background: var(--snap); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; font-family: var(--display); font-weight: 800; font-size: 16px; box-shadow: 0 12px 30px rgba(255,252,0,0.25); transition: transform 0.15s, opacity 0.2s; }
.ob-next svg { transform: rotate(90deg); }
.ob-next:disabled { opacity: 0.3; box-shadow: none; }
.ob-next:not(:disabled):active { transform: scale(0.94); }
.ob.done .ob-body { justify-content: center; text-align: center; gap: 16px; }
.ob.done .menu { text-align: left; }

/* Âge (double curseur) */
.arange { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ar-head { display: flex; justify-content: space-between; font-weight: 800; }
.ar-head span { color: var(--snap); }
.ar-track { position: relative; height: 30px; }
.ar-track::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.15); }
.ar-fill { position: absolute; top: 13px; height: 4px; border-radius: 2px; background: var(--snap); }
.ar-track input { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 30px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ar-track input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 28px; height: 28px; border-radius: 14px; background: #fff; border: 4px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.4); cursor: pointer; }
.ar-track input::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 14px; background: #fff; border: 4px solid var(--ink); cursor: pointer; }

/* Stickers (centres d'intérêt) */
.stickers { display: flex; flex-wrap: wrap; gap: 6px; }
.stk { padding: 6px 10px; border-radius: 8px; border: none; background: rgba(255,255,255,0.12); color: #fff; font-family: var(--display); font-weight: 800; font-size: 12px; font-style: italic; text-transform: uppercase; letter-spacing: -0.2px; transform: skew(-4deg); }
button.stk { cursor: pointer; transition: transform 0.12s, background 0.12s; }
.stk.on { background: var(--violet); box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.stickers.sm .stk { padding: 4px 8px; font-size: 11px; background: rgba(0,0,0,0.45); }
.stickers.sm .stk.on { background: var(--violet); }
.stk.more { background: rgba(255,255,255,0.25) !important; }

/* Découvrir : extras */
.common { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 12px; transform: rotate(-3deg); }
.socials { display: flex; gap: 6px; }
.soc { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 10px; font-weight: 800; font-size: 12px; }
.soc svg { width: 14px; height: 14px; }
.soc.snap { background: var(--snap); color: var(--ink); }
.soc.snap i { font-style: normal; }
.soc.ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.soc.tt { background: #111; border: 1px solid rgba(255,255,255,0.2); }
.dbtn.rewind { position: absolute; left: 14px; top: calc(150px + env(safe-area-inset-top)); z-index: 4; width: 44px; height: 44px; }
.dbtn[hidden] { display: none; }
.tuto { position: absolute; inset: 0; z-index: 8; border: none; background: rgba(13,11,18,0.72); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px; backdrop-filter: blur(2px); animation: fade-up 0.3s both; }
.tuto-row { display: flex; gap: 14px; }
.tuto-b { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 18px; border-radius: 22px; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 15px; }
.tuto-b.small { font-family: var(--body); font-size: 13px; padding: 10px 14px; border-radius: 14px; }
.tuto-b i { font-style: normal; font-size: 26px; width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; }
.tuto-b .tl { background: rgba(21,18,31,0.1); animation: nudge-l 1.2s infinite; }
.tuto-b .tr { background: var(--pink); color: #fff; animation: nudge-r 1.2s infinite; }
@keyframes nudge-l { 50% { transform: translateX(-6px); } }
@keyframes nudge-r { 50% { transform: translateX(6px); } }
.tuto > b { margin-top: 6px; padding: 12px 22px; border-radius: 999px; background: var(--snap); color: var(--ink); font-weight: 800; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.qchip { height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: #fff; font-weight: 700; font-size: 13px; }

/* Chat : extras */
.pill-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--pink); font-family: var(--body); font-size: 12px; vertical-align: middle; }
.hrow { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.hrow::-webkit-scrollbar { display: none; }
.lcard { flex: 0 0 128px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #fff; }
.lph { position: relative; height: 168px; border-radius: 20px; background: var(--card2) center / cover; box-shadow: inset 0 0 0 2px var(--pink); }
.lph i { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 14px; background: var(--pink); display: flex; align-items: center; justify-content: center; }
.lcard b { font-size: 13px; }
.lcard small { color: var(--muted); font-weight: 600; font-size: 11px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcircle { flex: 0 0 70px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: #fff; }
.fcircle .av { width: 64px; height: 64px; border: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--violet); }
.fcircle b { font-size: 12px; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg.note p { background: var(--violet); }
.msg.note.me p { background: var(--violet); }
.msg.note small { display: inline-flex; align-items: center; gap: 3px; }

/* Talkie : mosaïque + chat */
.rgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: #fff; animation: fade-up 0.35s ease both; }
.rmosaic { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--card); }
.rmosaic span { background: linear-gradient(160deg, #2A2140, #3A1B2B) center / cover; }
.live-tag { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 8px; background: var(--pink); font-style: normal; font-weight: 800; font-size: 11px; }
.live-tag i { width: 6px; height: 6px; border-radius: 3px; background: #fff; animation: blink 1.4s infinite; }
.rcard b { font-family: var(--display); font-size: 14px; line-height: 1.2; }
.rcard small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 700; font-size: 12px; }
.rcard small svg { width: 14px; height: 14px; }
.fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 15; box-shadow: 0 12px 30px rgba(0,0,0,0.45); padding: 0 24px; }
.rchat { margin: 8px 16px 0; max-height: 26vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.rrules { margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.08); font-size: 12px; font-weight: 600; line-height: 1.4; color: rgba(255,255,255,0.85); }
.rline { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; animation: fade-up 0.2s both; }
.rline .av { width: 26px; height: 26px; border: none; }
.rline b { font-weight: 800; color: #C9BBFF; }
.rsay { display: flex; gap: 8px; margin: 8px 16px 0; }
.rsay .input { min-height: 46px; border-radius: 23px; }
.rsay .tsend { width: 46px; height: 46px; }

/* Moi : jauge */
.cring { position: relative; width: 76px; height: 76px; border-radius: 50%; flex: none; background: conic-gradient(var(--snap) calc(var(--pct) * 1%), rgba(255,255,255,0.12) 0); display: flex; align-items: center; justify-content: center; }
.cring .av { width: 66px; height: 66px; border: 3px solid var(--card); }
.cring em { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); padding: 2px 7px; border-radius: 8px; background: var(--snap); color: var(--ink); font-style: normal; font-weight: 800; font-size: 11px; }
.ctip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; border: none; background: rgba(0,0,0,0.3); color: #fff; font-size: 13px; font-weight: 700; }
.ctip b { color: var(--snap); }
.socials-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soc-b { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: #fff; text-decoration: none; font-weight: 800; font-size: 13px; }
.ctip span{white-space:nowrap}.ctip b{text-align:right}
/* correctifs */
.settings[open] { display: block; }
.settings[open] > * + * { margin-top: 10px; }
.settings .btn { flex-shrink: 0; }
.hrow { padding-top: 6px; padding-bottom: 6px; }
.fab[hidden] { display: none !important; }
.rcode { margin: 14px 0; padding: 16px; border-radius: 16px; background: var(--card); border: 1px dashed var(--snap); text-align: center; font-family: "Unbounded", sans-serif; font-size: 24px; font-weight: 800; letter-spacing: 3px; color: var(--snap); user-select: all; }
#sheet .btn + .btn { margin-top: 10px; }
.rcode-in { text-align: center; letter-spacing: 3px; text-transform: uppercase; font-size: 20px; margin-top: 12px; }
.err { color: var(--pink); font-weight: 700; font-size: 13px; min-height: 18px; margin: 8px 0; }
.sp-login { background: none; border: none; color: #fff; font-weight: 700; font-size: 14px; text-decoration: underline; padding: 6px; cursor: pointer; }

/* ═══ Logos réseaux ═══ */
.slogo { width: 18px; height: 18px; border-radius: 5px; flex: none; vertical-align: -4px; }
.field .slogo { margin-right: 4px; }
.soc.ig, .soc.tt { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.2); padding: 0 8px; }
.soc .slogo { width: 18px; height: 18px; }
.ob-social img.si { width: 32px; height: 32px; border-radius: 9px; background: none; }

/* ═══ Confettis v2 ═══ */
.confetti { perspective: 600px; }
.confetti i { top: 38%; left: 50%; animation: none; width: 9px; height: 13px; border-radius: 2px; }
.confetti i.cf-circle { width: 9px; height: 9px; border-radius: 50%; }
.confetti i.cf-strip { width: 5px; height: 18px; border-radius: 3px; }

/* ═══ Explosion de hype ═══ */
.hburst { position: absolute; inset: 0; z-index: 9; pointer-events: none; overflow: visible; }
.hburst > * { position: absolute; left: 50%; top: 42%; }
.hb-flash { width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,61,110,0.55) 35%, rgba(255,61,110,0) 70%); animation: hb-flash 0.6s ease-out both; }
@keyframes hb-flash { from { transform: scale(0.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.hb-ring { width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 6px solid var(--pink); box-shadow: 0 0 30px var(--pink); animation: hb-ring 0.8s cubic-bezier(.2,.8,.3,1) both; }
.hb-ring.r2 { border-color: var(--snap); box-shadow: 0 0 30px var(--snap); animation-delay: 0.12s; }
@keyframes hb-ring { from { transform: scale(0.1); opacity: 1; } to { transform: scale(3.6); opacity: 0; border-width: 1px; } }
.hb-stamp { transform: translate(-50%,-50%); padding: 10px 22px; border-radius: 18px; background: var(--pink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -1px; white-space: nowrap; box-shadow: 0 0 0 4px #fff, 0 20px 50px rgba(255,61,110,0.6); animation: hb-stamp 1.5s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes hb-stamp {
  0% { transform: translate(-50%,-50%) scale(3) rotate(-18deg); opacity: 0; }
  18% { transform: translate(-50%,-50%) scale(0.92) rotate(-8deg); opacity: 1; }
  28% { transform: translate(-50%,-50%) scale(1.05) rotate(-8deg); }
  75% { transform: translate(-50%,-50%) scale(1) rotate(-8deg); opacity: 1; }
  100% { transform: translate(-50%,-80%) scale(0.85) rotate(-8deg); opacity: 0; }
}
.hb-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(255,61,110,0.5); }
.hb-spark { width: 18px; height: 18px; background: var(--snap); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px rgba(255,252,0,0.9)); }
.hb-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.mutual .hburst > * { top: 30%; }

/* ═══ Tuto animé ═══ */
.dcard.demo { animation: demo-card 7.5s cubic-bezier(.45,0,.3,1) 0.4s infinite; }
@keyframes demo-card {
  0%, 8% { transform: none; }
  20%, 26% { transform: translateX(120px) rotate(11deg); }
  32%, 38% { transform: none; }
  50%, 56% { transform: translateX(-120px) rotate(-11deg); }
  62%, 100% { transform: none; }
}
.dcard.demo .stamp.yes { animation: st-yes 7.5s 0.4s infinite; }
.dcard.demo .stamp.no { animation: st-no 7.5s 0.4s infinite; }
@keyframes st-yes { 0%, 13% { opacity: 0; } 17%, 27% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes st-no { 0%, 43% { opacity: 0; } 47%, 57% { opacity: 1; } 61%, 100% { opacity: 0; } }
.tuto { background: linear-gradient(to bottom, rgba(13,11,18,0.1) 30%, rgba(13,11,18,0.85)); backdrop-filter: none; justify-content: flex-end; padding-bottom: 150px; gap: 14px; }
.t-finger { position: absolute; left: 50%; top: 46%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,0.92); box-shadow: 0 0 0 10px rgba(255,255,255,0.25), 0 10px 30px rgba(0,0,0,0.5); animation: t-finger 7.5s cubic-bezier(.45,0,.3,1) 0.4s infinite; }
@keyframes t-finger {
  0% { opacity: 0; transform: scale(1.4); }
  5%, 8% { opacity: 1; transform: none; }
  20%, 24% { transform: translateX(120px); opacity: 1; }
  27% { opacity: 0; transform: translateX(120px); }
  33% { opacity: 0; transform: none; }
  37%, 38% { opacity: 1; transform: none; }
  50%, 54% { transform: translateX(-120px); opacity: 1; }
  57% { opacity: 0; transform: translateX(-120px); }
  64% { opacity: 0; transform: translate(130px, -20px); }
  67% { opacity: 1; transform: translate(130px, -20px); }
  70% { transform: translate(130px, -20px) scale(0.75); }
  73% { transform: translate(130px, -20px); }
  80% { transform: translate(130px, -20px); }
  83% { transform: translate(130px, -20px) scale(0.75); }
  86%, 92% { opacity: 1; transform: translate(130px, -20px); }
  97%, 100% { opacity: 0; transform: translate(130px, -20px); }
}
.t-tap { position: absolute; left: 50%; top: 46%; width: 60px; height: 60px; margin: -30px 0 0 100px; margin-top: -50px; border-radius: 50%; border: 3px solid #fff; opacity: 0; animation: t-tap 7.5s 0.4s infinite; }
.t-tap.r2 { animation-name: t-tap2; }
@keyframes t-tap { 0%, 69% { opacity: 0; transform: scale(0.5); } 70% { opacity: 1; transform: scale(0.6); } 77%, 100% { opacity: 0; transform: scale(2); } }
@keyframes t-tap2 { 0%, 82% { opacity: 0; transform: scale(0.5); } 83% { opacity: 1; transform: scale(0.6); } 90%, 100% { opacity: 0; transform: scale(2); } }
.t-caps { position: relative; height: 34px; width: 100%; }
.t-caps span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 19px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6); opacity: 0; }
.t-caps em { font-style: normal; color: var(--snap); margin-left: 6px; }
.t-caps .c1 { animation: cap1 7.5s 0.4s infinite; }
.t-caps .c2 { animation: cap2 7.5s 0.4s infinite; }
.t-caps .c3 { animation: cap3 7.5s 0.4s infinite; }
@keyframes cap1 { 0% { opacity: 0; transform: translateY(8px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; } }
@keyframes cap2 { 0%, 32% { opacity: 0; transform: translateY(8px); } 36%, 59% { opacity: 1; transform: none; } 63%, 100% { opacity: 0; } }
@keyframes cap3 { 0%, 62% { opacity: 0; transform: translateY(8px); } 66%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.tuto > b { animation: fade-up 0.4s 0.8s both; }

/* ═══ Splash spectaculaire ═══ */
.splash { overflow: hidden; }
.splash .sp-tiles .sp-t { opacity: 0.85; animation: tile-in 0.9s cubic-bezier(.2,1.3,.4,1) both, float 7s ease-in-out infinite; animation-delay: calc(0.62s + var(--k) * 60ms), calc(var(--k) * -0.8s); }
@keyframes tile-in { from { scale: 0.1; opacity: 0; filter: blur(10px) brightness(2); } }
.sp-glow { animation: glow-in 1.2s 0.55s ease-out both; }
@keyframes glow-in { from { opacity: 0; transform: scale(0.4); } }
.sp-spark { position: absolute; left: 50%; top: 40%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 20px 8px var(--pink), 0 0 60px 20px rgba(255,61,110,0.6); z-index: 2; animation: spark 0.6s cubic-bezier(.6,0,.4,1) both; pointer-events: none; }
@keyframes spark { 0% { transform: translateY(60vh) scale(0.4); opacity: 0; } 20% { opacity: 1; } 90% { transform: none scale(1.2); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }
.sp-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, #fff, rgba(255,61,110,0.8) 25%, rgba(123,92,255,0) 60%); z-index: 2; pointer-events: none; animation: flash 0.7s 0.55s ease-out both; }
@keyframes flash { from { opacity: 1; transform: scale(0.3); } to { opacity: 0; transform: scale(1.6); } }
.sp-wave { position: absolute; left: 50%; top: 40%; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.8); z-index: 2; pointer-events: none; animation: wave 1.1s 0.58s cubic-bezier(.2,.8,.3,1) both; }
.sp-wave.w2 { border-color: var(--snap); animation-delay: 0.72s; }
@keyframes wave { from { transform: scale(0.1); opacity: 1; } to { transform: scale(4.5); opacity: 0; border-width: 1px; } }
.sp-logo { animation: none; position: relative; z-index: 3; }
.sp-logo::after { content: none; }
.sp-logo .l { display: inline-block; animation: let-in 0.7s cubic-bezier(.2,1.6,.4,1) both, let-wave 0.6s 2.2s ease-in-out both; animation-delay: calc(0.58s + var(--i) * 70ms), calc(2.2s + var(--i) * 80ms); }
@keyframes let-in { from { opacity: 0; transform: translateY(-80px) scale(2.4) rotate(-20deg); filter: blur(8px); } }
@keyframes let-wave { 50% { transform: translateY(-12px); } }
.sp-logo .ydot { display: inline-block; width: 18px; height: 18px; border-radius: 9px; background: var(--snap); margin-left: 4px; box-shadow: 0 0 24px rgba(255,252,0,0.9); animation: dot-in 0.6s 1s cubic-bezier(.2,2,.4,1) both, dot-pulse 2s 1.6s ease-in-out infinite; }
@keyframes dot-in { from { transform: scale(0) translateY(-60px); opacity: 0; } }
@keyframes dot-pulse { 50% { box-shadow: 0 0 40px 6px rgba(255,252,0,0.9); } }
.sp-tag { animation: fade-up 0.7s 1.1s both; position: relative; z-index: 3; }
.sp-cta { animation: fade-up 0.7s 1.3s both; z-index: 3; }

/* ═══ Onboarding : transitions ═══ */
.ob-body.fwd { animation: ob-fwd 0.5s cubic-bezier(.2,.9,.3,1) both; }
.ob-body.bwd { animation: ob-bwd 0.5s cubic-bezier(.2,.9,.3,1) both; }
@keyframes ob-fwd { from { opacity: 0; transform: translateX(60px) scale(0.97); } }
@keyframes ob-bwd { from { opacity: 0; transform: translateX(-60px) scale(0.97); } }
.ob-head h1 .w { display: inline-block; animation: w-in 0.55s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(0.08s + var(--i) * 60ms); }
@keyframes w-in { from { opacity: 0; transform: translateY(26px) rotate(4deg); } }
.ob-stk { animation: stk-in 0.8s 0.25s cubic-bezier(.2,1.8,.4,1) both, stk-float 3s 1.1s ease-in-out infinite; }
@keyframes stk-in { from { opacity: 0; transform: scale(0) rotate(-90deg); } }
@keyframes stk-float { 50% { transform: rotate(14deg) translateY(-5px); } }
.ob-body > *:not(.ob-head) { animation: fade-up 0.45s both; animation-delay: 0.25s; }
.ob-opts .ob-opt, .tagcloud .tag { animation: fade-up 0.4s both; }
.ob-prog i { transition: width 0.6s cubic-bezier(.2,.9,.3,1); position: relative; box-shadow: 0 0 12px rgba(255,252,0,0.5); }
.ob-next:not(:disabled) { animation: next-on 0.5s cubic-bezier(.2,1.8,.4,1) both; }
@keyframes next-on { from { transform: scale(0.8); } }

/* ═══ Onglets Chat ═══ */
.ctabs { display: flex; gap: 6px; margin: 4px 16px 0; padding: 4px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ctabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 12px; color: var(--muted); text-decoration: none; font-weight: 800; font-size: 14px; }
.ctabs a.on { background: #fff; color: var(--ink); }
.ctabs .dot { position: static; }

@media (prefers-reduced-motion: reduce) {
  .sp-spark, .sp-flash, .sp-wave, .t-finger, .t-tap { display: none; }
  .dcard.demo, .dcard.demo .stamp { animation: none; }
  .t-caps span { position: static; opacity: 1; animation: none; display: block; }
  .t-caps { height: auto; }
}
.t-caps span { display: block; text-align: center; line-height: 34px; white-space: nowrap; }
.t-caps em { margin-left: 0; }
.mutual .hb-stamp { font-size: 26px; padding: 8px 16px; }
.soc.blur { gap: 7px; height: 30px; padding: 0 10px 0 6px; background: rgba(0,0,0,0.45); color: #fff; border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(6px); }
.soc.blur.snap { background: var(--snap); color: var(--ink); border-color: var(--snap); }
.soc.blur .fake { font-style: normal; font-weight: 800; font-size: 13px; filter: blur(4.5px); user-select: none; letter-spacing: 0.5px; }
.soc.blur .sghost { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.soc.blur .sghost svg { width: 16px; height: 16px; }
.soc.blur.big { height: 40px; padding: 0 14px 0 10px; border-radius: 14px; }
.soc.blur.big .fake { font-size: 14px; }
.soc.blur.big .slogo { width: 22px; height: 22px; }

/* ═══ Badges / rangs ═══ */
.flair { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 6px; }
.flair.sm { margin: 4px 0 2px; }
.fl { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; white-space: nowrap; vertical-align: middle; }
.fl svg { flex: none; }
.fl.staff { background: #2F7BFF; color: #fff; }
.fl.staff.owner { background: linear-gradient(135deg, #FF3D6E, #7B5CFF); }
.fl.vip { background: linear-gradient(135deg, #FFE16B, #FFB800); color: #3A2600; }
.fl.vip svg { fill: #3A2600; }
.fl.rk.bronze { background: linear-gradient(135deg, #E3A06B, #A8642F); color: #fff; }
.fl.rk.argent { background: linear-gradient(135deg, #F1F4F8, #A9B3C1); color: #222; }
.fl.rk.or { background: linear-gradient(135deg, #FFE16B, #E8A400); color: #3A2600; }
.fl.rk.diamant { background: linear-gradient(135deg, #7BF3FF, #7B5CFF); color: #fff; }
.fl.rk.legende { background: linear-gradient(90deg, #FF3D6E, #FFB800, #19D17F, #3DD6FF, #7B5CFF, #FF3D6E); background-size: 300% 100%; color: #fff; animation: rainbow 4s linear infinite; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
@keyframes rainbow { to { background-position: 300% 0; } }
.rface .fl { height: 18px; font-size: 9px; padding: 0 5px; margin-top: 2px; }
/* contours */
.av.rk-bronze { box-shadow: 0 0 0 3px #C9864F; }
.av.rk-argent { box-shadow: 0 0 0 3px #C9D1DC; }
.av.rk-or { box-shadow: 0 0 0 3px #FFC83D, 0 0 18px rgba(255,200,61,0.6); }
.av.rk-diamant { box-shadow: 0 0 0 3px #7BF3FF, 0 0 22px rgba(123,92,255,0.8); }
.av.rk-legende { box-shadow: 0 0 0 3px #FF3D6E, 0 0 26px rgba(255,61,110,0.8); animation: lg-glow 3s linear infinite; }
@keyframes lg-glow { 0% { box-shadow: 0 0 0 3px #FF3D6E, 0 0 26px rgba(255,61,110,0.8); } 33% { box-shadow: 0 0 0 3px #FFB800, 0 0 26px rgba(255,184,0,0.8); } 66% { box-shadow: 0 0 0 3px #3DD6FF, 0 0 26px rgba(61,214,255,0.8); } 100% { box-shadow: 0 0 0 3px #FF3D6E, 0 0 26px rgba(255,61,110,0.8); } }
.dcard.rk-or::after, .dcard.rk-diamant::after, .dcard.rk-legende::after, .dcard.isvip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 6; }
.dcard.rk-or::after { box-shadow: inset 0 0 0 3px #FFC83D, inset 0 0 30px rgba(255,200,61,0.35); }
.dcard.isvip::after { box-shadow: inset 0 0 0 3px #FFC83D, inset 0 0 30px rgba(255,200,61,0.35); }
.dcard.rk-diamant::after { box-shadow: inset 0 0 0 3px #7BF3FF, inset 0 0 36px rgba(123,92,255,0.45); }
.dcard.rk-legende::after { animation: lg-card 3s linear infinite; }
@keyframes lg-card { 0% { box-shadow: inset 0 0 0 4px #FF3D6E, inset 0 0 40px rgba(255,61,110,0.4); } 33% { box-shadow: inset 0 0 0 4px #FFB800, inset 0 0 40px rgba(255,184,0,0.4); } 66% { box-shadow: inset 0 0 0 4px #3DD6FF, inset 0 0 40px rgba(61,214,255,0.4); } 100% { box-shadow: inset 0 0 0 4px #FF3D6E, inset 0 0 40px rgba(255,61,110,0.4); } }
.rankcard { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: #fff; text-align: left; }
.rc-gem { width: 42px; height: 42px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #2A2535; }
.rc-gem svg { width: 22px; height: 22px; }
.rankcard.rk-bronze .rc-gem { background: linear-gradient(135deg, #E3A06B, #A8642F); }
.rankcard.rk-argent .rc-gem { background: linear-gradient(135deg, #F1F4F8, #A9B3C1); color: #222; }
.rankcard.rk-or .rc-gem { background: linear-gradient(135deg, #FFE16B, #E8A400); color: #3A2600; }
.rankcard.rk-diamant .rc-gem { background: linear-gradient(135deg, #7BF3FF, #7B5CFF); }
.rankcard.rk-legende .rc-gem { background: linear-gradient(135deg, #FF3D6E, #FFB800, #3DD6FF); }
.rc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rc-txt b { font-size: 15px; }
.rc-txt small, .rc-xp { color: var(--muted); font-size: 12px; font-weight: 700; }
.rc-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.1); overflow: hidden; margin-top: 4px; }
.rc-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--pink), var(--snap)); }
.rk-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.rk-list div { display: flex; align-items: center; justify-content: space-between; }
.rk-list small { color: var(--muted); font-weight: 700; }
.xp-row { display: flex; justify-content: space-between; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.xp-row b { color: var(--snap); }

/* ═══ Parrainage ═══ */
.refcard { padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #3A1F6E, #6B1F4A); border: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 10px; }
.ref-top { display: flex; justify-content: space-between; align-items: baseline; }
.ref-top b { font-family: var(--display); font-size: 17px; }
.ref-top small { color: rgba(255,255,255,0.7); font-weight: 700; font-size: 12px; }
.refcard p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.88); }
.ref-dots { display: flex; align-items: center; gap: 8px; }
.ref-dots i { width: 30px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.2); }
.ref-dots i.on { background: var(--snap); box-shadow: 0 0 10px rgba(255,252,0,0.6); }
.ref-dots span { font-weight: 800; font-size: 13px; margin-left: 4px; }

/* ═══ Notifs ═══ */
.ncard { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 40px 14px 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,61,110,0.18), rgba(123,92,255,0.18)); border: 1px solid rgba(255,61,110,0.35); margin-bottom: 4px; }
.nc-ic { font-size: 24px; }
.nc-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.nc-txt b { font-size: 14px; }
.nc-txt small { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 600; line-height: 1.35; }
.ncard .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
.nc-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: none; border-radius: 14px; background: none; color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; }
.nc-x svg { width: 14px; height: 14px; }
.beta-tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--snap); color: var(--ink); font-weight: 800; font-size: 11px; letter-spacing: 1px; margin-bottom: 8px; }
.steps { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { padding: 12px 14px; border-radius: 14px; background: var(--card); font-size: 14px; font-weight: 600; line-height: 1.4; }
.steps li svg { width: 16px; height: 16px; vertical-align: -3px; }
.small { font-size: 12px; }

/* ═══ Boutique ═══ */
.vip-hero { padding: 20px; border-radius: 22px; background: radial-gradient(circle at 80% 0%, rgba(255,200,61,0.45), transparent 55%), linear-gradient(135deg, #2B1E05, #1A1324); border: 1px solid rgba(255,200,61,0.4); }
.vip-hero h1 { margin: 0 0 8px; font-family: var(--display); font-size: 26px; color: #FFD34D; display: flex; align-items: center; gap: 8px; }
.vip-hero h1 svg { width: 24px; height: 24px; fill: #FFD34D; }
.vip-hero p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.88); }
.shop-list { display: flex; flex-direction: column; gap: 10px; }
.shop-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: #fff; text-align: left; }
.shop-item.vip { border-color: rgba(255,200,61,0.6); background: linear-gradient(135deg, rgba(255,200,61,0.12), var(--card)); }
.si-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--pink); display: flex; align-items: center; justify-content: center; color: #fff; }
.shop-item.vip .si-ic { background: linear-gradient(135deg, #FFE16B, #E8A400); }
.shop-item.vip .si-ic svg { fill: #3A2600; width: 20px; height: 20px; }
.si-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.si-txt small { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35; }
.si-price { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--snap); white-space: nowrap; }
.order { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--card); margin-bottom: 8px; }
.order span { display: flex; flex-direction: column; }
.order small { color: var(--muted); font-weight: 700; font-size: 12px; }
.order em { font-style: normal; font-weight: 800; font-size: 12px; color: var(--snap); }
.order.paid em { color: var(--green); }
.order.rejected em { color: var(--pink); }
.lcard.locked .lph { background: linear-gradient(135deg, #5B4A1A, #2B1E35); filter: none; position: relative; }
.lcard.locked .lph::before { content: ""; position: absolute; inset: 0; border-radius: inherit; backdrop-filter: blur(8px); background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 8px, transparent 8px 16px); }
.lcard.locked .lph i { background: linear-gradient(135deg, #FFE16B, #E8A400); }
.lcard.locked .lph i svg { fill: #3A2600; }
.staff-link span { color: #7DB0FF; display: flex; align-items: center; gap: 8px; }

/* ═══ Modération ═══ */
.mtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 8px; }
.mtabs::-webkit-scrollbar { display: none; }
.mtabs button { flex: none; height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-weight: 800; font-size: 13px; }
.mtabs button.on { background: #fff; color: var(--ink); }
.modo { gap: 10px; }
.mtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mtile { padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.mtile b { font-family: var(--display); font-size: 24px; }
.mtile span { color: var(--muted); font-size: 12px; font-weight: 700; }
.mtile.warn { border-color: var(--pink); }
.mtile.warn b { color: var(--pink); }
.mstore { padding: 14px; border-radius: 16px; background: var(--card); display: flex; flex-direction: column; gap: 6px; }
.mstore small { color: var(--muted); font-weight: 700; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: #fff; text-decoration: none; width: 100%; text-align: left; }
.mrow .av { width: 44px; height: 44px; flex: none; }
.mr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mr-txt b { font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.mr-txt small { color: var(--muted); font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.mr-act { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.mr-act button, .btn-mini { height: 30px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); color: #fff; font-weight: 800; font-size: 12px; text-decoration: none; display: inline-flex; align-items: center; }
.mr-act button.danger, .mph button.danger { color: #FF7A9A; border-color: rgba(255,61,110,0.4); }
.mr-act button.ok { background: var(--green); border-color: var(--green); color: #04210F; }
.mr-act em { font-style: normal; font-weight: 800; font-size: 12px; color: var(--muted); }
.mcard { padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.mcard small { color: var(--muted); font-size: 11px; font-weight: 700; }
.mcard p { margin: 0; font-size: 14px; }
.mcard pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 13px; background: rgba(0,0,0,0.3); padding: 10px; border-radius: 10px; max-height: 220px; overflow: auto; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mph { display: flex; flex-direction: column; gap: 4px; }
.mph a, .mph .mtext { aspect-ratio: 3 / 4; border-radius: 12px; background: var(--card) center / cover; display: block; }
.mph .mtext { display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 11px; font-weight: 700; background: var(--violet); }
.mph small { font-size: 10px; color: var(--muted); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mph button { height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); color: #fff; font-size: 11px; font-weight: 800; }
.av2 { position: relative; width: 52px; height: 40px; flex: none; }
.av2 i { position: absolute; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #333 center / cover; border: 2px solid var(--card); }
.av2 i:last-child { left: 16px; top: 4px; }
.mchat { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow: auto; }
.mchat p { margin: 0; padding: 10px; border-radius: 12px; background: var(--card); font-size: 14px; }
.mchat small { color: var(--muted); font-size: 11px; }
.msearch { margin-bottom: 4px; }
.order-row.paid, .order-row.rejected { opacity: 0.6; }
.mrow { flex-wrap: wrap; }
.mrow .mr-act { flex-basis: 100%; justify-content: flex-start; padding-left: 54px; }
.mrow.conv .mr-act, .order-row .mr-act { flex-basis: auto; padding-left: 0; }
.order-row { flex-wrap: nowrap; }
.beta-tag { align-self: flex-start; }
#sheet .beta-tag { margin-right: 50px; }

/* ═══ Retour visuel du glisser (remplace les panneaux) ═══ */
.dcard { --sy: 0; --sn: 0; }
.dcard .stamp { position: absolute; top: 34%; left: 50%; right: auto; z-index: 7; width: 110px; height: 110px; margin-left: -55px; padding: 0; border: none; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; transition: none; pointer-events: none; }
.dcard .stamp svg { width: 44px; height: 44px; }
.dcard .stamp.yes { background: radial-gradient(circle at 30% 30%, #FF7A9A, #FF3D6E 60%); box-shadow: 0 0 0 6px rgba(255,61,110,0.25), 0 0 60px rgba(255,61,110,0.8); opacity: var(--sy); transform: scale(calc(0.5 + 0.5 * var(--sy))) rotate(calc(-12deg + 12deg * var(--sy))); }
.dcard .stamp.no { background: rgba(255,255,255,0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 6px rgba(255,255,255,0.12), 0 10px 40px rgba(0,0,0,0.4); opacity: var(--sn); transform: scale(calc(0.5 + 0.5 * var(--sn))) rotate(calc(12deg - 12deg * var(--sn))); }
.dcard .stamp.no svg { stroke: #fff; width: 40px; height: 40px; }
.dcard .tint { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; }
.dcard .tint.yes { background: radial-gradient(120% 90% at 100% 50%, rgba(255,61,110,0.55), rgba(255,61,110,0) 65%); opacity: var(--sy); }
.dcard .tint.no { background: radial-gradient(120% 90% at 0% 50%, rgba(13,11,18,0.7), rgba(13,11,18,0) 65%); opacity: var(--sn); }
.dcard.swipe-yes .stamp.yes { opacity: var(--sy); }
.dcard.swipe-no .stamp.no { opacity: var(--sn); }
/* tuto : mêmes éléments animés */
.dcard.demo .stamp.yes { animation: st-yes2 7.5s 0.4s infinite; }
.dcard.demo .stamp.no { animation: st-no2 7.5s 0.4s infinite; }
.dcard.demo .tint.yes { animation: tn-yes 7.5s 0.4s infinite; }
.dcard.demo .tint.no { animation: tn-no 7.5s 0.4s infinite; }
@keyframes st-yes2 { 0%, 10% { opacity: 0; transform: scale(0.5) rotate(-12deg); } 20%, 26% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: scale(0.5); } }
@keyframes st-no2 { 0%, 40% { opacity: 0; transform: scale(0.5) rotate(12deg); } 50%, 56% { opacity: 1; transform: none; } 62%, 100% { opacity: 0; transform: scale(0.5); } }
@keyframes tn-yes { 0%, 10% { opacity: 0; } 20%, 26% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes tn-no { 0%, 40% { opacity: 0; } 50%, 56% { opacity: 1; } 62%, 100% { opacity: 0; } }

/* ═══ Pastille musique compacte ═══ */
.dinfo .mpill, .gal .mpill, .ptop .mpill { gap: 7px; height: 30px; padding: 0 9px 0 3px; max-width: 72%; background: rgba(13,11,18,0.38); border: 1px solid rgba(255,255,255,0.14); font-size: 11.5px; font-weight: 700; }
.dinfo .mpill .mcover, .gal .mpill .mcover, .ptop .mpill .mcover { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,0.18); }
.mpill.on .mcover { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mpill .mtxt { max-width: 150px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.mpill .mscroll { display: inline-block; white-space: nowrap; }
.mpill.on .mscroll { animation: marquee 9s linear infinite; padding-right: 24px; }
@keyframes marquee { 0%, 15% { transform: translateX(0); } 100% { transform: translateX(-60%); } }
.mpill .eq { display: none; }
.mpill.on .eq { display: inline-flex; }
.mpill .mtap { padding: 0; width: 18px; height: 18px; border-radius: 50%; background: none; color: rgba(255,255,255,0.75); display: flex; align-items: center; justify-content: center; }
.mpill.light .mtap { color: var(--muted); }

/* ═══ Aura douce (façon halo lumineux) ═══ */
.dcard.rk-or::after, .dcard.isvip::after { box-shadow: inset 0 0 40px 10px rgba(255,200,61,0.42), inset 0 0 140px 36px rgba(255,170,40,0.16); animation: aura-breathe 3.2s ease-in-out infinite; }
.dcard.rk-diamant::after { box-shadow: inset 0 0 44px 12px rgba(123,243,255,0.38), inset 0 0 150px 44px rgba(123,92,255,0.22); animation: aura-breathe 3.2s ease-in-out infinite; }
.dcard.rk-legende::after { animation: aura-legend 6s linear infinite; }
@keyframes aura-breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@keyframes aura-legend {
  0% { box-shadow: inset 0 0 46px 12px rgba(255,61,110,0.45), inset 0 0 160px 46px rgba(123,92,255,0.22); }
  25% { box-shadow: inset 0 0 46px 12px rgba(255,170,40,0.45), inset 0 0 160px 46px rgba(255,61,110,0.22); }
  50% { box-shadow: inset 0 0 46px 12px rgba(61,214,255,0.45), inset 0 0 160px 46px rgba(25,209,127,0.2); }
  75% { box-shadow: inset 0 0 46px 12px rgba(123,92,255,0.48), inset 0 0 160px 46px rgba(61,214,255,0.22); }
  100% { box-shadow: inset 0 0 46px 12px rgba(255,61,110,0.45), inset 0 0 160px 46px rgba(123,92,255,0.22); }
}
.av.rk-or { box-shadow: 0 0 0 2px rgba(255,200,61,0.9), 0 0 22px 4px rgba(255,200,61,0.45); }
.av.rk-diamant { box-shadow: 0 0 0 2px rgba(123,243,255,0.9), 0 0 26px 6px rgba(123,92,255,0.5); }
.av.rk-legende { animation: lg-glow2 6s linear infinite; }
@keyframes lg-glow2 { 0%, 100% { box-shadow: 0 0 0 2px #FF3D6E, 0 0 28px 6px rgba(255,61,110,0.5); } 33% { box-shadow: 0 0 0 2px #FFB800, 0 0 28px 6px rgba(255,184,0,0.5); } 66% { box-shadow: 0 0 0 2px #3DD6FF, 0 0 28px 6px rgba(61,214,255,0.5); } }

/* ═══ Ouverture v2 : uniquement des formes rondes ═══ */
.sp-glow { animation: glow-in2 1.4s 0.5s ease-out both; }
@keyframes glow-in2 { from { opacity: 0; } }
.sp-spark { top: 40%; width: 12px; height: 12px; margin: -6px; background: #fff; box-shadow: 0 0 18px 6px rgba(255,255,255,0.9), 0 0 50px 20px rgba(255,61,110,0.7), 0 0 120px 50px rgba(123,92,255,0.35); animation: spark2 0.75s cubic-bezier(.5,0,.3,1) both; }
@keyframes spark2 {
  0% { transform: scale(0); opacity: 0; }
  30% { transform: scale(1); opacity: 1; }
  55% { transform: scale(0.7); opacity: 1; }
  75% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(6); opacity: 0; }
}
.sp-flash { inset: auto; left: 50%; top: 40%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(255,255,255,0.95), rgba(255,61,110,0.7) 22%, rgba(123,92,255,0.25) 45%, rgba(123,92,255,0) 70%); animation: flash2 0.9s 0.6s cubic-bezier(.2,.8,.3,1) both; }
@keyframes flash2 { from { transform: scale(0.05); opacity: 1; } 40% { opacity: 0.9; } to { transform: scale(1); opacity: 0; } }
.sp-wave { animation-delay: 0.62s; }
.sp-wave.w2 { animation-delay: 0.76s; }
.splash .sp-tiles .sp-t { animation: tile-in2 0.9s cubic-bezier(.2,1.3,.4,1) both, float 7s ease-in-out infinite; animation-delay: calc(0.7s + var(--k) * 60ms), calc(var(--k) * -0.8s); }
@keyframes tile-in2 { from { scale: 0.2; opacity: 0; } }
.sp-logo .l { animation-delay: calc(0.66s + var(--i) * 70ms), calc(2.3s + var(--i) * 80ms); }

/* ═══ Étincelles ═══ */
.sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 9; overflow: visible; }
.sparkles i { position: absolute; left: 50%; top: 58%; display: block; }
.sk-dot { border-radius: 50%; background: var(--c); box-shadow: 0 0 10px 2px var(--c); }
.sk-star { background: var(--c); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 6px var(--c)); }
.sk-bokeh { border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 70%); opacity: 0.6; filter: blur(1px); }
.sk-arrow { width: 24px; height: 24px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 14px rgba(255,61,110,0.7); }

/* ═══ Ma carte ═══ */
.cardpage { padding-bottom: 170px; }
.card-prev { display: flex; justify-content: center; }
.card-prev canvas { width: min(64vw, 280px); aspect-ratio: 9 / 16; height: auto; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08); background: #222; }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pset { position: relative; height: 64px; border-radius: 16px; border: 2px solid transparent; color: #fff; display: flex; align-items: flex-end; padding: 8px; font-weight: 800; font-size: 12px; text-shadow: 0 1px 4px rgba(0,0,0,0.6); overflow: hidden; }
.pset.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }
.seg { display: flex; gap: 6px; padding: 4px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.seg button { flex: 1; min-height: 40px; border: none; border-radius: 12px; background: none; color: var(--muted); font-weight: 800; font-size: 13px; padding: 0 8px; }
.seg button.on { background: #fff; color: var(--ink); }
.seg.wrap { flex-wrap: wrap; }
.seg.wrap button { flex: 1 1 45%; }
.sticky-save.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.btn-snapbtn { background: var(--snap); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.row2.even { grid-template-columns: 1fr 1fr; }

/* ═══ Formulaire profil ═══ */
.eform form { display: flex; flex-direction: column; gap: 12px; padding-bottom: 90px; }
.ecard { padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.ehead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ehead b { font-family: var(--display); font-size: 15px; }
.ehead small { color: var(--muted); font-size: 11px; font-weight: 700; text-align: right; }
.ecard .input, .ecard .ob-social { background: rgba(0,0,0,0.25); }
.ecard .ob-social { min-height: 52px; }
.si.snapi { width: 32px; height: 32px; border-radius: 9px; background: var(--snap); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.si.snapi svg { width: 18px; height: 18px; }
.ecard .arange { background: rgba(0,0,0,0.25); }

/* ═══ Sélecteur d'intérêts ═══ */
.tp { display: flex; flex-direction: column; gap: 12px; }
.tp-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.tp-tabs::-webkit-scrollbar { display: none; }
.tp-tabs button { flex: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.8); font-weight: 800; font-size: 13px; }
.tp-tabs button span { font-size: 16px; }
.tp-tabs button.on { background: #fff; color: var(--ink); }
.tp-tabs button i { font-style: normal; min-width: 18px; height: 18px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.tp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; animation: fade-up 0.25s both; }
.tpc { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: #fff; font-weight: 800; font-size: 14px; text-align: left; transition: transform 0.12s; }
.tpc i { font-style: normal; font-size: 20px; }
.tpc.on { background: linear-gradient(135deg, rgba(255,61,110,0.3), rgba(123,92,255,0.3)); border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.tpc:active { transform: scale(0.96); }
.tp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 34px; }
.tp-foot > b { font-family: var(--display); font-size: 14px; color: var(--snap); margin-right: 4px; }
.tps { height: 30px; padding: 0 10px; border-radius: 10px; border: none; background: var(--card2); color: #fff; font-weight: 700; font-size: 12px; }
.tps span { opacity: 0.6; margin-left: 2px; }
.seg button { line-height: 1.15; font-size: 12.5px; }

/* ═══ Confirmation ═══ */
.askc { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5,4,10,0); transition: background 0.2s; }
.askc.open { background: rgba(5,4,10,0.7); }
.askc-card { width: 100%; max-width: 360px; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: scale(0.92); opacity: 0; transition: transform 0.2s cubic-bezier(.2,1.4,.4,1), opacity 0.2s; }
.askc.open .askc-card { transform: none; opacity: 1; }
.askc-card p { margin: 0 0 16px; font-weight: 700; font-size: 15px; line-height: 1.45; }
.askc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-danger { background: #E5294F; color: #fff; }

/* ═══ Ma carte : tout sur un écran ═══ */
.cardpage { height: calc(100dvh - 64px - 92px - env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 0; max-width: 480px; margin: 0 auto; box-sizing: border-box; overflow: hidden; }
.cardpage .card-prev { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: center; }
.cardpage .card-prev canvas { height: 100%; width: auto; max-width: 100%; aspect-ratio: 9 / 16; object-fit: contain; }
.card-ctl { flex: none; display: flex; flex-direction: column; gap: 10px; }
.swatches { display: flex; justify-content: center; gap: 12px; }
.sw { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.15); padding: 0; flex: none; transition: transform 0.15s; }
.sw.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.25); transform: scale(1.1); }
.card-opts { display: flex; gap: 8px; }
.copt { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: rgba(255,255,255,0.75); font-weight: 800; font-size: 13px; white-space: nowrap; }
.copt.grow { flex: 1; min-width: 0; color: #fff; }
.copt.grow span { overflow: hidden; text-overflow: ellipsis; }
.copt svg { width: 16px; height: 16px; flex: none; }
.copt.on { background: var(--snap); color: var(--ink); border-color: var(--snap); }
.card-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }

/* ═══ Ouverture plus rapide (lumière plus courte) ═══ */
.sp-spark { animation: spark3 0.42s cubic-bezier(.5,0,.3,1) both; }
@keyframes spark3 { 0% { transform: scale(0); opacity: 0; } 45% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(6); opacity: 0; } }
.sp-flash { animation-delay: 0.3s; }
.sp-glow { animation-delay: 0.25s; }
.sp-wave { animation-delay: 0.32s; }
.sp-wave.w2 { animation-delay: 0.45s; }
.splash .sp-tiles .sp-t { animation-delay: calc(0.4s + var(--k) * 55ms), calc(var(--k) * -0.8s); }
.sp-logo .l { animation-delay: calc(0.36s + var(--i) * 65ms), calc(1.9s + var(--i) * 80ms); }
.sp-logo .ydot { animation-delay: 0.7s, 1.3s; }
.sp-tag { animation-delay: 0.8s; }
.sp-cta { animation-delay: 0.95s; }

/* ═══ Tuto : phrase sur 2 lignes si besoin (ne dépasse plus) ═══ */
.t-caps { height: 54px; padding: 0 18px; box-sizing: border-box; }
.t-caps span { display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; line-height: 1.2; font-size: 17px; padding: 0 18px; }
.t-caps em { margin-left: 5px; }

/* ═══ Ouverture : plus aucune carte derrière le logo ═══ */
.splash .sp-t.t0 { left: 4%; top: 3%; }
.splash .sp-t.t1 { left: 60%; top: 1%; }
.splash .sp-t.t2 { left: 34%; top: 9%; width: 96px; height: 124px; }
.splash .sp-t.t3 { left: -9%; top: 54%; }
.splash .sp-t.t4 { left: 81%; top: 50%; }
.splash .sp-t.t5 { left: 14%; top: 66%; }
.splash .sp-t.t6 { left: 62%; top: 63%; }
.splash .sp-t.t7 { left: 40%; top: 80%; }
.splash .sp-t.t8 { left: 86%; top: 82%; }
.sp-main::before { content: ""; position: absolute; left: 50%; top: 50%; width: 130%; height: 60%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(13,11,18,0.55), rgba(13,11,18,0)); z-index: 0; pointer-events: none; }

/* ═══ Installation simplifiée ═══ */
.big-cta { min-height: 58px; font-size: 17px; margin-top: 6px; }
.ios-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 8px; }
.ios-steps div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ios-steps b { font-size: 14px; }
.ios-steps small { color: var(--muted); font-size: 12px; font-weight: 600; }
.ios-ic { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: #0A84FF; display: flex; align-items: center; justify-content: center; }
.ios-ic svg { width: 24px; height: 24px; }
.ios-arrow { display: flex; justify-content: center; margin-top: 4px; animation: ios-bounce 1.2s ease-in-out infinite; transform: rotate(180deg); }
@keyframes ios-bounce { 50% { translate: 0 8px; } }
.or { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pkcard { background: linear-gradient(135deg, rgba(25,209,127,0.16), rgba(61,214,255,0.14)); border-color: rgba(25,209,127,0.4); }
