/* LikeDrop — même thème que Gift Shop : sombre, accent orange, likes en vert */
:root {
  --bg: #0D0F13;
  --bg-admin: #0B0D10;
  --surface: #15181E;
  --surface-2: #1C2028;
  --line: #232733;
  --line-2: #2A2F3A;
  --line-3: #3A4150;
  --text: #F2F3F5;
  --text-2: #C9CDD6;
  --muted: #A3A9B6;
  --faint: #8A90A0;
  --accent: #FF8A1F;
  --accent-hover: #FF9B3D;
  --accent-ink: #1A0E00;
  --accent-soft: #1E1A16;
  --link: #FFB066;
  --like: #34D399;
  --ok: #34D399;
  --ok-bg: rgba(52, 211, 153, .12);
  --bad: #FF8A8A;
  --bad-strong: #FF6B6B;
  --bad-bg: rgba(255, 107, 107, .12);
  --warn-bg: rgba(255, 138, 31, .12);
  --info: #8DBBFF;
  --info-bg: rgba(77, 155, 255, .12);
  --binance: #F3BA2F;
  --radius: 16px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 560ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.5; min-height: 100vh; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #FFCB99; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; top: 0; left: 0; margin: -1px; padding: 0; border: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.hidden { display: none !important; }
.ok-ic { color: var(--ok); display: inline-flex; }
.center { text-align: center; }
.like-num { color: var(--like); font-weight: 800; }
[data-icon] { display: inline-flex; }
.ico { display: block; flex-shrink: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* ------------------------------------------------ boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -12px rgba(255,138,31,.8); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--line-3); color: var(--text); }
.btn-soft { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-3); }
.btn-soft:hover { color: var(--text); border-color: #4A5265; }
.btn-binance { background: var(--binance); color: #1A1400; }
.btn-binance:hover { background: #F7C84F; color: #1A1400; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; min-height: 56px; font-size: 16px; font-weight: 800; }
.btn:disabled { background: var(--line-2); color: var(--muted); cursor: not-allowed; border-color: transparent; box-shadow: none; }

/* ------------------------------------------------ en-tête */
.closed-bar { background: #3A1518; color: #FFD6D6; text-align: center; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid rgba(255,107,107,.4); animation: drop var(--t-med) var(--ease-out) both; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
.announce { background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; text-align: center; padding: 9px 16px; }
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(11, 13, 18, .88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; background: linear-gradient(140deg, #FF9B3D, #FF6B1A 55%, #D94A00); box-shadow: 0 6px 18px rgba(255, 107, 26, .38), inset 0 1px 0 rgba(255,255,255,.25); transition: transform var(--t-med) var(--ease-out); }
.brand-mark img { width: 22px; height: 22px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { font-family: 'Rajdhani', var(--display); font-weight: 700; font-size: 21px; letter-spacing: 1.6px; line-height: 1; }
.brand-text b { color: #FF6B1A; margin-left: 4px; font-weight: 700; }
.topnav { display: flex; align-items: center; gap: 4px; }
.auth-slot { display: flex; align-items: center; gap: 4px; }
.navlink { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; color: var(--muted); font-weight: 600; font-size: 15px; border-radius: 10px; transition: background var(--t-fast), color var(--t-fast); }
.navlink:hover, .navlink[aria-current="page"] { color: var(--text); background: var(--surface); }
.navlink > span:first-child { display: inline-flex; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #1462B8; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-menu { position: relative; }
.avatar-btn { margin-left: 6px; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; }
.avatar-btn .avatar { width: 36px; height: 36px; border: 2px solid var(--line-2); font-size: 15px; transition: border-color var(--t-fast); }
.avatar-btn:hover .avatar, .avatar-btn[aria-expanded="true"] .avatar { border-color: var(--accent); }
.menu { position: absolute; right: 0; top: 50px; min-width: 210px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; z-index: 20; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.menu a, .menu button { display: flex; width: 100%; min-height: 40px; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.menu .who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (max-width: 480px) { .hide-xs { display: none !important; } .brand-text { font-size: 18px; } }

/* ------------------------------------------------ cartes, badges, formulaires */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-warn { background: var(--warn-bg); color: var(--link); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: var(--line); color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.input { min-height: 52px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); font-size: 16px; width: 100%; }
.input:focus { border-color: var(--accent); outline: none; }
.input[aria-invalid="true"] { border-color: var(--bad-strong); }
.input-sm { min-height: 40px; font-size: 14px; border-radius: 10px; padding: 0 12px; }
.textarea { min-height: 120px; padding: 12px 14px; font-size: 14px; line-height: 1.5; resize: vertical; }
.hint { font-size: 13px; color: var(--faint); }
.err-msg { font-size: 13px; color: var(--bad); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row > .input { flex: 1 1 220px; width: auto; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.alert-ok { background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.35); }
.alert-bad { background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.4); }
.alert-warn { background: rgba(255,138,31,.08); border: 1px solid rgba(255,138,31,.4); }
.alert-info { background: var(--surface-2); border: 1px solid var(--line-2); }
.alert > div > strong { display: block; }
.alert > span:first-child { display: inline-flex; flex-shrink: 0; margin-top: 1px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.kv > :first-child { color: var(--muted); }
.kv > :last-child { text-align: right; }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: 14px; min-height: 180px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-2); user-select: none; }

/* Barre de progression des likes */
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > div { height: 100%; background: var(--accent); border-radius: 999px; transition: width var(--t-slow) var(--ease-out); }
.bar.ok > div { background: var(--ok); }
.bar-sm { height: 6px; }

/* ------------------------------------------------ accueil */
.hero { padding: 64px 24px 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.chip .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); } 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } }
.checks { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted); }
.checks span { display: flex; align-items: center; gap: 6px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13.5px; color: var(--faint); }
.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; animation: rise var(--t-slow) var(--ease-out) 200ms both; }
.profile-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 80px -30px rgba(255,138,31,.35); }
.profile-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--faint); }
.profile-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.profile-main .nick { font-family: var(--display); font-weight: 800; font-size: 22px; }
.profile-main .likes { font-family: var(--display); font-weight: 800; font-size: 38px; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.profile-main .likes small { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--faint); margin-left: 6px; }
.profile-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--faint); }
.profile-foot .like-num { font-weight: 700; }
.quick { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color var(--t-fast), transform var(--t-med) var(--ease-out); }
.quick:hover { color: var(--text); border-color: var(--line-3); transform: translateX(4px); }
.quick-ic { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--warn-bg); color: var(--accent); }
.quick-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.quick-body b { font-size: 15px; }
.quick-body span { font-size: 12.5px; color: var(--faint); }
.quick-price { font-family: var(--display); font-weight: 800; font-size: 17px; white-space: nowrap; }
.section { padding: 48px 24px; }
.section h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -0.02em; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-head p { margin-top: 6px; max-width: 560px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.steps .card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { color: var(--accent); font-family: var(--mono); font-size: 14px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); line-height: 1.55; }
.faq { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 72px; }
.faq > div:first-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.faq-list { flex: 2 1 520px; display: flex; flex-direction: column; gap: 12px; }
details.card { padding: 18px 20px; }
details summary { cursor: pointer; font-weight: 700; font-size: 16px; }
details p { margin-top: 12px; color: var(--muted); line-height: 1.6; }
.pay-logos { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-logo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; }
.pay-logo img { width: 22px; height: 22px; border-radius: 6px; }
.feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin-top: 16px; }

/* Segmenté Boost / Auto */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.seg button { min-height: 40px; padding: 0 18px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* Cartes d'offres */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.offer { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast), box-shadow var(--t-med); }
.offer:hover { color: var(--text); transform: translateY(-4px); border-color: var(--line-3); box-shadow: 0 20px 40px -24px rgba(0,0,0,.9); }
.offer-pop { border-color: rgba(255,138,31,.55); }
.offer-head { position: relative; height: 130px; display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 1px solid var(--line); background: radial-gradient(90% 110% at 50% 0%, rgba(255,138,31,.16), transparent 70%), #101318; }
.offer-head .big { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.offer-head .unit { font-size: 15px; font-weight: 600; color: var(--faint); margin-top: 14px; }
.offer-tag { position: absolute; top: 12px; left: 12px; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,138,31,.5); color: var(--link); }
.offer-pop .offer-tag { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.offer-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.offer-kind { font-size: 12.5px; font-weight: 700; color: var(--accent); }
.offer-title { font-size: 17px; font-weight: 700; }
.offer-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.offer-price b { font-family: var(--display); font-weight: 800; font-size: 22px; }
.offer-price span { font-size: 14px; color: var(--faint); }
.offer-meta { font-size: 13px; color: var(--faint); flex: 1; }
.offer .btn { margin-top: 12px; }
.offer-custom { border-style: dashed; border-color: rgba(255,138,31,.4); }
.offer-custom .offer-head { background: #101318; }
.offers-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--faint); }

/* Curseur sur mesure */
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 18px; cursor: pointer; }
.stepper button:hover { border-color: var(--line-3); }
.stepper input[type="range"] { flex: 1; min-width: 0; accent-color: var(--accent); cursor: pointer; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.preset { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.preset[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ------------------------------------------------ boutique */
.page { padding: 40px 24px 72px; }
.page-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; margin-bottom: 28px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.backlink:hover { color: var(--text); }
.shop-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.shop-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.shop-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1000px) { .shop-side { position: sticky; top: 84px; } }
.panel { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.step-title { display: flex; align-items: center; gap: 12px; }
.step-title h2 { font-size: 19px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--mono); flex-shrink: 0; }
.player-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.opt { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 11px 12px; border-radius: 12px; cursor: pointer; background: var(--bg); border: 1px solid var(--line); color: var(--text); transition: border-color var(--t-fast), background var(--t-fast); }
.opt:hover { border-color: var(--line-3); }
.opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(255,138,31,.12); }
.opt small { font-size: 11.5px; font-weight: 700; color: var(--faint); }
.opt b { font-size: 15px; }
.opt span { font-size: 12.5px; font-weight: 700; color: var(--link); }
.custom-box { padding: 16px; border-radius: 12px; border: 1px dashed rgba(255,138,31,.45); display: flex; flex-direction: column; gap: 12px; }
.custom-box .head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.custom-box .head b { font-family: var(--display); font-weight: 800; font-size: 24px; }
.methods { display: flex; flex-direction: column; gap: 8px; }
.method { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 12px; cursor: pointer; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); text-align: left; width: 100%; transition: border-color var(--t-fast), background var(--t-fast); }
.method:hover { border-color: var(--line-3); }
.method[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.method:disabled { opacity: .45; cursor: not-allowed; }
.method .logos { display: flex; gap: 4px; flex-shrink: 0; }
.method .logos img { width: 30px; height: 30px; border-radius: 8px; }
.method .name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.method .name b { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.method .name span { font-size: 12.5px; color: var(--faint); }
.method .amt { font-family: var(--display); font-weight: 800; font-size: 16px; white-space: nowrap; }
.tag-auto { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); }
.summary { border-top: 1px dashed var(--line-2); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); }
.total .amount { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--accent); }

/* ------------------------------------------------ paiement Binance */
.pay-layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .pay-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } .pay-layout > aside { position: sticky; top: 84px; } }
.pay-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pay-steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.pay-steps .step-num { margin-top: 2px; }
.pay-steps h3 { font-size: 16px; margin-bottom: 8px; }
.amount-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 20px; border-radius: 14px; background: radial-gradient(120% 140% at 0% 0%, rgba(243,186,47,.16), transparent 60%), var(--bg); border: 1px solid rgba(243,186,47,.45); }
.amount-box .val { font-family: var(--mono); font-weight: 500; font-size: clamp(28px, 6vw, 40px); letter-spacing: .02em; color: var(--binance); font-variant-numeric: tabular-nums; }
.amount-box .val small { font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--text-2); margin-left: 8px; letter-spacing: 0; }
.copy-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); }
.copy-line .v { font-family: var(--mono); font-size: 17px; overflow-wrap: anywhere; }
.copy-line .k { font-size: 12px; color: var(--faint); font-weight: 700; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.copy-btn:hover { border-color: var(--line-3); }
.copy-btn.copied { background: var(--ok); border-color: var(--ok); color: #04210f; }
.warn-exact { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.warn-exact strong { color: var(--binance); }
.qr { width: 180px; height: 180px; border-radius: 14px; background: #fff; padding: 8px; object-fit: contain; }
.timer { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-weight: 700; }
.timer.late { color: var(--bad); }
.drop-zone { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1.5px dashed var(--line-3); background: var(--bg); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.drop-zone:hover, .drop-zone.over { border-color: var(--accent); background: var(--accent-soft); }
.drop-zone .thumb { width: 64px; height: 64px; flex: none; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; color: var(--faint); }
.drop-zone .thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-zone .txt { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.drop-zone .txt b { font-size: 14px; }
.drop-zone .txt span { font-size: 12.5px; color: var(--faint); overflow-wrap: anywhere; }
.reasons { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.status-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 12px 0; }
.status-box .h { font-family: var(--display); font-weight: 800; font-size: 22px; }

/* Animation « likes en route » : pouce qui pulse + cœurs qui montent */
.like-anim { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.la-stage { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.la-thumb { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(140deg, #FF9B3D, #FF6B1A 55%, #D94A00); box-shadow: 0 12px 30px -10px rgba(255,107,26,.7); animation: la-pop 1.4s var(--ease-out) infinite; }
.la-thumb img { width: 34px; height: 34px; }
.la-heart { position: absolute; bottom: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--like); opacity: 0; animation: la-up 1.4s ease-out infinite; }
.la-heart:nth-child(2) { left: 14px; animation-delay: .2s; }
.la-heart:nth-child(3) { right: 12px; animation-delay: .5s; background: var(--accent); }
.la-heart:nth-child(4) { left: 44px; animation-delay: .8s; }
@keyframes la-pop { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.12) rotate(-6deg); } 55% { transform: scale(.97); } }
@keyframes la-up { 0% { opacity: 0; transform: translateY(0) scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-46px) scale(1); } }
.like-live { padding: 22px; border-radius: 16px; border: 1px solid rgba(255,138,31,.35); background: radial-gradient(120% 120% at 50% 0%, rgba(255,138,31,.12), transparent 60%), var(--surface-2); }
.la-title { font-size: 17px; font-weight: 800; }
.la-text { font-size: 14px; color: var(--muted); max-width: 360px; }

/* ------------------------------------------------ connexion */
.login-wrap { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.login-card { width: 100%; max-width: 420px; padding: 40px 32px; display: flex; flex-direction: column; gap: 28px; border-radius: 20px; }
.login-card h1 { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; text-align: center; }
.login-card h1 + p { margin-top: 10px; }
.oauth { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; border-radius: 12px; font-weight: 700; font-size: 16px; }
.oauth-google { background: #fff; color: #1F1F1F; }
.oauth-google:hover { background: #F1F1F1; color: #1F1F1F; }
.oauth-discord { background: #5865F2; color: #fff; }
.oauth-discord:hover { background: #4752C4; color: #fff; }
.oauth[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.notes { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.note { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.note svg { flex-shrink: 0; margin-top: 2px; }

/* ------------------------------------------------ tableau de bord client */
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.dash-head .page-title { margin: 0; }
.dash-who { font-size: 13.5px; font-weight: 600; color: var(--faint); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; border-radius: 14px; }
.kpi .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .v { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.kpi .s { font-size: 12.5px; color: var(--faint); }
.subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.sub { padding: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text); border-radius: 16px; text-align: left; cursor: pointer; transition: border-color var(--t-fast), transform var(--t-med) var(--ease-out); }
.sub:hover { border-color: var(--line-3); transform: translateY(-2px); }
.sub[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,138,31,.12); }
.sub-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--faint); }
.sub-main { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sub-main b { font-family: var(--display); font-weight: 800; font-size: 20px; }
.sub-who { font-size: 13.5px; color: var(--text-2); }
.sub-prog { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); }
.order-detail { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.od-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.od-head h2 { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 4px 0; }
.od-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.od-nums > div { padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.od-nums .k { font-size: 12px; color: var(--faint); }
.od-nums .v { font-family: var(--display); font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.od-nums .hl { background: rgba(255,138,31,.08); border-color: rgba(255,138,31,.35); }
.od-nums .hl .v { color: var(--accent); }
@media (max-width: 480px) { .od-nums .v { font-size: 19px; } }
.runs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-height: 320px; overflow: auto; }
.runs li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.runs li:last-child { border-bottom: 0; }
.runs .when { color: var(--muted); font-variant-numeric: tabular-nums; }
.runs .ba { color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.dash-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 1024px) { .dash-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } .dash-grid > .sticky { position: sticky; top: 84px; } }
.h-sub { font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* Frise d'étapes */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 14px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--line-2); flex-shrink: 0; }
.tl-dot.done { background: var(--ok); border-color: var(--ok); }
.tl-dot.now { border-color: var(--accent); }
.tl-dot.now::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tl-dot.bad { background: var(--bad-strong); border-color: var(--bad-strong); }
.tl-line { width: 2px; flex: 1; min-height: 20px; background: var(--line-2); }
.tl-line.done { background: var(--ok); }
.tl-body { padding-bottom: 18px; }
.tl-body .t { font-weight: 700; }
.tl-body .s { font-size: 13px; color: var(--faint); }

/* ------------------------------------------------ tableaux */
.table-card { padding: 0; overflow: hidden; border-radius: 14px; }
.table-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.table-wrap { overflow-x: auto; position: relative; }
table { width: 100%; border-collapse: collapse; }
th { font-weight: 600; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid #1E222B; font-size: 14px; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--surface-2); }

/* ------------------------------------------------ pied de page & contact */
.site-footer { margin-top: 48px; border-top: 1px solid var(--line); background: #0F1218; padding: 28px 0 calc(16px + env(safe-area-inset-bottom)); }
.footer-in { display: grid; gap: 22px; }
@media (min-width: 768px) { .footer-in { grid-template-columns: 1.3fr 1fr auto; align-items: start; } }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand .brand-mark img { width: 20px; height: 20px; }
.footer-brand p { margin: 2px 0 0; max-width: 340px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: 14px; }
.footer-nav a:hover { color: var(--text); }
.footer-title { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.contact-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-fb { background: #1466D1; color: #fff; }
.btn-fb:hover { background: #1A74E8; color: #fff; }
.btn-wa { background: #25D366; color: #06240f; }
.btn-wa:hover { background: #33E077; color: #06240f; }
.contact-row .btn { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.footer-pay { display: flex; gap: 8px; margin-top: 10px; }
.footer-pay img { width: 28px; height: 28px; border-radius: 7px; }
.footer-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.contact-dock { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.contact-fab { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #25D366; color: #06240f; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), 0 4px 12px rgba(0,0,0,.4); transition: transform var(--t-med) var(--ease-out), background var(--t-fast); animation: fab-in var(--t-slow) var(--ease-out) 600ms both; }
.contact-fab:hover { transform: translateY(-2px) scale(1.04); }
.contact-fab.is-open { background: var(--surface-2); color: var(--text); }
.contact-fab > span { display: inline-flex; }
@keyframes fab-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
.contact-panel { width: min(320px, calc(100vw - 32px)); padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -12px rgba(0,0,0,.7); transform-origin: bottom right; animation: pop var(--t-med) var(--ease-out) both; }
.contact-panel[hidden] { display: none; }
.contact-panel-title { margin: 0 0 4px; font-weight: 800; font-size: 16px; }
.contact-panel .muted { margin: 0 0 12px; }

/* ------------------------------------------------ toasts & dialogues */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; max-width: calc(100vw - 40px); }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-3); font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.4); max-width: 420px; animation: toast-in var(--t-med) var(--ease-out) both; }
.toast.bad { border-color: rgba(255,107,107,.5); }
.toast.ok { border-color: rgba(52,211,153,.5); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
dialog { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; width: min(460px, calc(100vw - 32px)); overflow-x: hidden; }
dialog::backdrop { background: rgba(0,0,0,.6); }
dialog[open] { animation: pop var(--t-med) var(--ease-out) both; }
dialog h3 { font-size: 18px; margin-bottom: 8px; }
dialog form { display: flex; flex-direction: column; gap: 16px; }
dialog .row { justify-content: flex-end; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------ animations au défilement */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.hero-anim > * { animation: rise var(--t-slow) var(--ease-out) both; }
.hero-anim > *:nth-child(2) { animation-delay: 60ms; }
.hero-anim > *:nth-child(3) { animation-delay: 120ms; }
.hero-anim > *:nth-child(4) { animation-delay: 180ms; }
.hero-anim > *:nth-child(5) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .la-heart { opacity: 0; }
}
.m0 { margin: 0 !important; }
.mt { margin-top: 12px; }
.dash-who .avatar { width: 24px; height: 24px; font-size: 11px; }
.note > span:first-child { display: inline-flex; color: var(--ok); margin-top: 2px; }
@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 14px; }
  .kpi .v { font-size: 22px; }
  .h-sub { flex-wrap: wrap; }
  .dash-head .btn { width: 100%; }
}

/* =====================================================================
   V2 : langue, promotions, panier, espace client (SaaS)
   ===================================================================== */
.i18n-wait body { visibility: hidden; }
.mb { margin-bottom: 14px; }
.mt2 { margin-top: 20px; }
.right { text-align: right; }
.wrap { white-space: normal !important; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 20px; }

.lang-switch { display: inline-flex; gap: 2px; padding: 3px; margin-right: 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.lang-switch button { min-height: 30px; min-width: 36px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; letter-spacing: .04em; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.promo-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; font-size: 14px; color: #FFE9C7; background: linear-gradient(90deg, #3A1E06, #5A2A04 50%, #3A1E06); border-bottom: 1px solid rgba(255,138,31,.45); }
.promo-bar strong { color: var(--accent); font-family: var(--display); font-size: 16px; }
.price-block { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-block b { font-family: var(--display); font-weight: 800; font-size: 16px; }
.price-block.big b { font-size: 22px; }
.price-block s { color: var(--faint); font-size: 13px; }
.price-block .faint { font-size: 13px; }
.promo-chip { display: inline-flex; padding: 2px 7px; border-radius: 999px; background: rgba(52,211,153,.14); color: var(--ok); font-size: 11.5px; font-weight: 800; font-style: normal; }
.offer-promo { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: var(--ok); color: #04210f; font-size: 12px; font-weight: 800; }
.offer .price-block { margin-top: 4px; }

.add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 6px; border-top: 1px dashed var(--line-2); }
.cart-list { display: flex; flex-direction: column; gap: 8px; }
.cart-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.cart-main { display: flex; flex-direction: column; min-width: 0; }
.cart-main b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-price { text-align: right; }
.cart-price .price-block { justify-content: flex-end; flex-direction: column; align-items: flex-end; gap: 0; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 10px; text-align: center; color: var(--faint); font-size: 13.5px; border: 1px dashed var(--line-2); border-radius: 12px; }
.sk-sm { min-height: 70px; }
.oc-kind { display: inline-grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--warn-bg); color: var(--accent); }
.oc-kind.auto { background: var(--info-bg); color: var(--info); }
.cell-item { display: inline-flex; align-items: center; gap: 10px; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; background: transparent; border: 0; border-radius: 10px; color: var(--muted); cursor: pointer; }
.iconbtn:hover { background: var(--surface-2); color: var(--text); }
.iconbtn.sm { width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 8px; }
.seg-full { display: flex; }
.seg-full button { flex: 1; }
.seg button:disabled { opacity: .4; cursor: not-allowed; }

/* Espace client */
.dash-body { background: var(--bg-admin); }
.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-top: 24px; padding-bottom: 64px; align-items: start; }
.app-side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }
.side-who { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.side-who .avatar { width: 38px; height: 38px; }
.side-who > div { display: flex; flex-direction: column; min-width: 0; }
.side-who b, .side-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-links { display: flex; flex-direction: column; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 14.5px; transition: background var(--t-fast), color var(--t-fast); }
.side-links a:hover { background: var(--surface); color: var(--text); }
.side-links a[aria-current="page"] { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.side-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 800; }
.side-count.warn { background: var(--accent); color: var(--accent-ink); }
.side-help { padding: 14px; display: flex; flex-direction: column; gap: 6px; border-radius: 14px; }
.app-main { min-width: 0; }
.dview > * + * { margin-top: 18px; }
.dview { animation: rise var(--t-med) var(--ease-out) both; }
.empty-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 20px; text-align: center; color: var(--muted); }
.list-card { padding: 4px 0; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text); border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--surface-2); color: var(--text); }
.list-row > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.list-row > div.right { align-items: flex-end; }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-current="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tab-count { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; text-align: center; }
a.sub, .sub { color: var(--text); }
.track-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 16px; background: radial-gradient(120% 160% at 0% 0%, rgba(255,138,31,.10), transparent 55%), var(--surface); }
.track-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.track-id .oc-kind { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; }
.track-title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; margin: 2px 0; }
.track-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.od-nums.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .od-nums.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.track-grid { display: grid; gap: 18px; }
@media (min-width: 1100px) { .track-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.pad { padding: 20px; }
.mini-chart { height: 130px; display: flex; align-items: flex-end; gap: 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.mc-col { flex: 1; max-width: 22px; min-height: 4px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #4BE3AD, #1FA67A); transform-origin: bottom; animation: growy var(--t-slow) var(--ease-out) both; }
.mc-col.err { background: var(--line-3); }
@keyframes growy { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.kvl { margin: 0; display: flex; flex-direction: column; }
.kvl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kvl > div:last-child { border-bottom: 0; }
.kvl dt { color: var(--muted); }
.kvl dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.alog { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.alog li { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.alog li:last-child { border-bottom: 0; }
.alog-when { color: var(--muted); font-size: 13px; }
.alog-what { display: flex; flex-direction: column; }
.alog-what small { color: var(--muted); font-size: 12px; }
.orders-table td { vertical-align: middle; }
@media (max-width: 900px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 14px; }
  .app-side { position: static; }
  .side-who, .side-help { display: none; }
  .side-links { flex-direction: row; overflow-x: auto; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); scrollbar-width: none; }
  .side-links a { flex: 0 0 auto; min-height: 40px; }
  .side-links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
}
@media (max-width: 480px) { .alog li { grid-template-columns: 1fr; gap: 2px; } .cart-item { grid-template-columns: 36px minmax(0, 1fr) auto; } }

/* =====================================================================
   V3 : codes, gains parrain, retraits, responsive renforcé
   ===================================================================== */
.two-col { display: grid; gap: 18px; }
@media (min-width: 1100px) { .two-col { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.panel { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.upper { text-transform: uppercase; }
.btn-block { width: 100%; justify-content: center; }
.strike { text-decoration: line-through; }
.kpis-6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.codes-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.code-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(120% 160% at 100% 0%, rgba(255,138,31,.10), transparent 55%), var(--surface); }
.code-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.code-value { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line-3); }
.code-value b { font-size: 20px; letter-spacing: .06em; overflow-wrap: anywhere; }
.code-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.code-meta span { display: flex; flex-direction: column; gap: 2px; }
.dlg-wide { width: min(520px, calc(100vw - 24px)); }
.wd-balance { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.wd-balance b { font-family: var(--display); font-size: 22px; color: var(--ok); }
.op-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.op { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.op img { border-radius: 8px; flex: 0 0 32px; }
.op span { display: flex; flex-direction: column; min-width: 0; }
.op b { font-size: 14px; }
.op small { color: var(--faint); font-size: 12px; }
.op[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: rgba(255,138,31,.07); }
.confirm-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); text-align: center; }
.confirm-amount { font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--accent); }
.row.end { justify-content: flex-end; flex-wrap: wrap; }
.promo-field { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.promo-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.35); font-size: 14px; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sum-line.ok { color: var(--ok); }
.alert.small { font-size: 13px; }

/* Tables -> cartes sur mobile (data-label posé automatiquement par common.js) */
@media (max-width: 640px) {
  table.rtable thead { display: none; }
  table.rtable, table.rtable tbody, table.rtable tr, table.rtable td { display: block; width: 100%; }
  table.rtable tr { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  table.rtable tr:last-child { border-bottom: 0; }
  table.rtable td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border: 0; white-space: normal; text-align: right; overflow-wrap: anywhere; }
  table.rtable td::before { content: attr(data-label); flex: 0 0 auto; max-width: 45%; color: var(--faint); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-align: left; }
  table.rtable td[data-label=""]::before, table.rtable td:not([data-label])::before { content: none; }
  table.rtable td[data-label=""] { justify-content: flex-end; }
  table.rtable td > * { max-width: 100%; }
  .code-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  dialog { padding: 18px; max-height: calc(100dvh - 24px); overflow-y: auto; }
  dialog .row .btn { flex: 1 1 auto; }
  .op-choice { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .container-wide { padding: 0 12px; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .code-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-switch button { min-width: 30px; padding: 0 5px; }
  .btn-sm { padding: 0 10px; }
}
.two-col > *, .codes-grid > *, .track-grid > *, .dash-grid > * { min-width: 0; }
.row > .input { min-width: 0; }
@media (max-width: 360px) {
  .topbar-in { gap: 6px; }
  .brand { gap: 8px; }
  .brand-text { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; }
  .topnav { gap: 2px; }
  .topnav .navlink { padding: 0 6px; }
}
@media (max-width: 400px) { .hero h1 { font-size: clamp(28px, 9.4vw, 38px); overflow-wrap: break-word; } }

/* =====================================================================
   V4 : cartes de profil Free Fire (280x60), contacts Telegram / Discord, heure d'envoi
   ===================================================================== */
.pcard { position: relative; width: 100%; max-width: 280px; aspect-ratio: 280 / 60; border-radius: 10px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line); flex-shrink: 0; }
.pcard img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcard.is-loading { background: linear-gradient(90deg, var(--surface-2), var(--line-2), var(--surface-2)); background-size: 200% 100%; animation: pc-shimmer 1.2s linear infinite; }
.pcard.is-loading img { opacity: 0; }
@keyframes pc-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.pcard-lg { max-width: 280px; }
@media (min-width: 1024px) { .pcard-lg { max-width: 350px; } }
.sub-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.btn-tg { background: #229ED9; color: #fff; }
.btn-tg:hover { background: #2FAEE8; color: #fff; }
.btn-dc { background: #5865F2; color: #fff; }
.btn-dc:hover { background: #6A76F5; color: #fff; }
.send-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.side-help .contact-row { margin-top: 6px; }
.side-help .contact-row .btn { min-height: 38px; font-size: 13px; padding: 0 12px; }
.track-head .pcard-head { flex: 1 1 240px; }
@media (max-width: 640px) { .track-head .pcard-head { flex-basis: 100%; max-width: none; } .sub .pcard { max-width: none; } }
