/* =====================================================================
   SECRET LINK — L'APPLI
   Posé sur styles.css : la page d'origine fournit les jetons et les
   composants (onglets, chiffres, bouton d'accès, sections, bento, cadenas,
   carte d'offre, dock, feuille). Ici : la barre haute, les trois vues de la
   liste, la carte « +3 400 », l'en-tête plat d'une créatrice, le bandeau de
   la feuille, et quelques réglages.
   ===================================================================== */
:root {
  --sl-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-bottom, 0px));
  --sl-safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px));
  /* Ce que les boutons d'un navigateur intégré recouvrent en haut de la page (dans la Mini App, Telegram donne la mesure : --tg-safe-top). */
  --sl-chrome-top: 0px;
}
/*
 * Le navigateur intégré de Telegram sur iPhone. Jusqu'au 23/11, 52 px : ses boutons fermer et ⋯ flottaient sur le haut de la
 * page. Depuis, Telegram a sa propre barre (fermer, adresse, ⋯) au-dessus de la page, qui commence en dessous : les 52 px
 * laissaient un vide entre cette barre et la nôtre. Remettre une valeur ici si ses boutons recouvrent de nouveau la page.
 */
.tg-browser { --sl-chrome-top: 0px; }
.sl-body { background: var(--ink-0); -webkit-tap-highlight-color: transparent; }
.sl-locked { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
#sl-shell { min-height: var(--tg-vh, 100dvh); }
.sl-loading { display: grid; place-items: center; min-height: 60vh; }
a.tile { display: block; text-decoration: none; color: var(--fg-1); }
a.sl-rank { display: flex; text-decoration: none; color: var(--fg-1); }

/* ===== La barre du haut : la marque, la cloche, le bouton VIP couronné, un filet de marque dessous =====
   Collée en haut seulement dans la Mini App. Ailleurs elle défile avec la page : le navigateur intégré
   de Telegram (iOS) colle une barre sticky sous la hauteur de son en-tête déplié, même replié en
   pastille, et la page défilait au-dessus d'elle. Le VIP reste à portée par le dock du bas. */
.sl-topbar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + var(--sl-safe-top) + var(--sl-chrome-top)) 16px 10px 18px;
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(255, 45, 120, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(14, 10, 13, 0.98), rgba(14, 10, 13, 0.9));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.in-telegram .sl-topbar { position: sticky; top: 0; }
.sl-topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 45, 120, 0.7) 35%, rgba(255, 95, 162, 0.7) 65%, transparent); }
.sl-topbar .sl-brand { --lockup-h: 38px; text-decoration: none; filter: drop-shadow(0 4px 14px rgba(255, 45, 120, 0.25)); }
.sl-topbar-actions { display: flex; align-items: center; gap: 8px; }
.sl-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  color: var(--fg-1);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}
.sl-bell:active { transform: scale(0.95); }
.sl-bell svg { width: 19px; height: 19px; }
.sl-bell i { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gradient); box-shadow: 0 0 0 2px var(--ink-2), 0 0 10px rgba(255, 45, 120, 0.8); }
.sl-vip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 6px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 45, 120, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease;
}
.sl-vip:active { transform: scale(0.97); }
.sl-vip-crown { display: grid; place-items: center; width: 18px; height: 18px; }
.sl-vip-crown svg { width: 18px; height: 18px; }
.sl-vip .dock-arrow { background: rgba(255, 255, 255, 0.22); }
.sl-vip.is-done { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, var(--brand-gradient) border-box; border-color: transparent; color: var(--brand-1); box-shadow: none; }
.sl-vip.is-done .dock-arrow { background: var(--brand-soft-bg); color: var(--brand-1); }

/* ===== Le haut de l'accueil, en une ligne sur une lueur discrète : « En live » et son nombre à gauche, les compteurs à droite, puis les avatars cerclés de rouge en rangée qui glisse ===== */
.sl-live {
  padding-top: 14px;
  background: radial-gradient(70% 120% at 92% 0%, rgba(255, 45, 120, 0.16), transparent 62%);
}
.sl-live-head { display: flex; align-items: center; gap: 8px; padding: 0 18px; }
.sl-live-stats { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--fg-3); white-space: nowrap; }
.sl-live-stats .is-online { display: inline-flex; align-items: center; gap: 5px; color: var(--fg-2); }
.sl-live-stats .is-online::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.sl-live-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.sl-live-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); animation: liveDot 1s ease-in-out infinite; }
.sl-live-head b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--live); color: #fff; font-size: 10px; font-weight: 800; }
.sl-live-row { display: flex; gap: 14px; padding: 12px 18px 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 18px; overscroll-behavior-x: contain; }
.sl-live-row::-webkit-scrollbar { display: none; }
.sl-live-item { flex: none; display: grid; justify-items: center; gap: 8px; width: 64px; text-decoration: none; scroll-snap-align: start; }
.sl-live-item .avatar-story-wrapper, .sl-live-item .avatar { width: 58px; height: 58px; }
.sl-live-item .avatar { border-color: var(--ink-0); }
.sl-live-item .live-badge-avatar { border-color: var(--ink-0); }
.sl-live-item small { max-width: 64px; font-size: 11px; font-weight: 600; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Les trois vues : un sélecteur segmenté ===== */
.sl-tabs {
  display: flex;
  gap: 4px;
  margin: 16px 18px 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--ink-2);
}
.sl-tabs button {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-3);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.sl-tabs button b { display: inline-grid; place-items: center; min-width: 20px; height: 19px; padding: 0 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--fg-2); font-size: 10.5px; font-weight: 700; }
.sl-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, var(--brand-gradient) border-box; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
.sl-tabs button[aria-selected="true"] b { background: var(--brand-gradient); color: var(--brand-ink); }
.sl-panel[hidden] { display: none; }
.sl-lead { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--fg-3); }

/* La recherche */
.sl-search { position: relative; margin: 0 0 12px; }
.sl-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--fg-4); pointer-events: none; }
.sl-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
    linear-gradient(180deg, var(--hairline-strong), var(--hairline)) border-box;
  color: var(--fg-1);
  font: 500 15px var(--font-ui);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 14px rgba(0, 0, 0, 0.24);
}
.sl-search input:focus { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, var(--brand-gradient) border-box; }
.sl-search input::placeholder { color: var(--fg-4); }
.media-empty { padding: 20px 0; text-align: center; color: var(--fg-3); font-size: 13px; }

/* Les vignettes : deux par rangée, la photo 4:5 avec sa pastille et le cadenas, puis un bandeau propre */
.sl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sl-card {
  display: block;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
    linear-gradient(180deg, var(--hairline-strong), var(--hairline)) border-box;
  color: var(--fg-1);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sl-card[hidden] { display: none; }
.sl-card:hover { transform: translateY(-2px); }
.sl-card:active { transform: scale(0.98); }
.sl-card.is-live { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, linear-gradient(160deg, rgba(255, 59, 48, 0.85), var(--brand-border) 70%) border-box; box-shadow: 0 10px 26px rgba(255, 45, 120, 0.14); }
.sl-card-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.sl-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sl-card-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 4, 6, 0.22) 0%, transparent 26%, transparent 72%, rgba(14, 10, 13, 0.78) 100%); }
.sl-card-chip {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 4, 6, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.sl-card-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.sl-card-chip.is-live { border-color: transparent; background: var(--live); }
.sl-card-chip.is-live::before { background: #fff; box-shadow: none; animation: liveDot 1s ease-in-out infinite; }
.sl-card-chip.is-new { border-color: transparent; background: var(--brand-gradient); color: var(--brand-ink); }
.sl-card-chip.is-new::before { content: none; }
.sl-card-lock {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 4, 6, 0.55) var(--lock-icon) center / 13px no-repeat;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.sl-card-body { display: grid; gap: 3px; padding: 10px 12px 12px; }
.sl-card-name { display: flex; align-items: center; gap: 5px; min-width: 0; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.sl-card-name > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card-name .sl-dot { margin: 0; }
.sl-verif { width: 15px; height: 15px; flex: none; }
.sl-card-meta { font-size: 11.5px; font-weight: 600; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card-meta.is-live, .sl-rank-copy small.is-live { color: #ff6b62; }
.sl-card-stats { display: flex; align-items: center; gap: 10px; margin-top: 3px; font-size: 11px; font-weight: 700; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.sl-card-stats span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sl-card-stats svg { width: 12px; height: 12px; color: var(--fg-4); }
/* Trois cartes par rangée (APP.listColumns = 3) : les mêmes infos, à l'échelle d'une carte plus étroite. */
.sl-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sl-cards--3 .sl-card { border-radius: 14px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32); }
.sl-cards--3 .sl-card-chip { top: 6px; left: 6px; height: 18px; padding: 0 6px; gap: 4px; font-size: 7.5px; letter-spacing: 0.06em; }
.sl-cards--3 .sl-card-chip::before { width: 4px; height: 4px; }
.sl-cards--3 .sl-card-lock { top: 6px; right: 6px; width: 20px; height: 20px; background-size: 10px; }
.sl-cards--3 .sl-card-body { gap: 2px; padding: 7px 8px 9px; }
.sl-cards--3 .sl-card-name { gap: 3px; font-size: 13px; }
.sl-cards--3 .sl-verif { width: 12px; height: 12px; }
.sl-cards--3 .sl-card-meta { font-size: 9.5px; }
.sl-cards--3 .sl-card-stats { gap: 7px; margin-top: 2px; font-size: 9.5px; }
.sl-cards--3 .sl-card-stats span { gap: 3px; }
.sl-cards--3 .sl-card-stats svg { width: 10px; height: 10px; }
.sl-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); vertical-align: middle; }

/* Tendances : la liste classée */
.sl-ranks { display: grid; gap: 8px; }
/* ===== Le pass VIP (onglet VIP et /checkout, depuis le 26/11 au soir) : la carte façon billet, le bouton blanc, ce qui est inclus, les créatrices derrière le cadenas ===== */
.sl-pass { position: relative; display: block; width: 100%; margin: 2px 0 0; padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: #fff; text-align: left; cursor: pointer; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 52%), linear-gradient(145deg, #ff70b0 0%, #ff2d78 46%, #b8094f 100%); box-shadow: 0 22px 48px rgba(255, 45, 120, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: transform 0.18s ease; }
.sl-pass:active { transform: scale(0.99); }
.sl-pass-guilloche { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; background: repeating-radial-gradient(circle at 110% -10%, rgba(255, 255, 255, 0.09) 0 1px, rgba(255, 255, 255, 0) 1px 9px), repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 7px); }
.sl-pass-body { position: relative; display: grid; gap: 8px; padding: 16px 18px 15px; }
.sl-pass-top { display: flex; align-items: center; justify-content: space-between; }
.sl-pass-brand { font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; opacity: 0.88; }
.sl-pass-crown { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.sl-pass-crown svg { width: 16px; height: 16px; }
.sl-pass-title { font-family: var(--font-display); font-size: 32px; font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; text-shadow: 0 2px 14px rgba(120, 0, 40, 0.25); }
.sl-pass-size { display: inline-flex; align-items: baseline; gap: 6px; justify-self: start; padding: 5px 11px 6px; border-radius: 11px; background: rgba(60, 0, 25, 0.26); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.sl-pass-size b { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.sl-pass-size span { font-size: 12px; font-weight: 700; opacity: 0.9; }
.sl-pass-promise { font-size: 13px; line-height: 1.42; opacity: 0.94; text-wrap: pretty; }
.sl-pass-meta { display: flex; align-items: center; gap: 9px; margin-top: 2px; font-size: 12.5px; font-weight: 700; }
.sl-pass-faces { display: flex; }
.sl-pass-faces img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.92); }
.sl-pass-faces img + img { margin-left: -8px; }
.sl-pass-stub { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 11px 18px 12px; background: rgba(60, 0, 25, 0.22); border-top: 2px dashed rgba(255, 255, 255, 0.5); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.sl-pass-stub::before, .sl-pass-stub::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-0); }
.sl-pass-stub::before { left: -9px; }
.sl-pass-stub::after { right: -9px; }
.sl-pass-stub b { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.02em; }
.sl-pass-cta { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 12px; padding: 0 7px 0 20px; border: 0; border-radius: 999px; background: #fff; color: #c80d5b; cursor: pointer; box-shadow: 0 10px 26px rgba(255, 45, 120, 0.22); transition: transform 0.18s ease; }
.sl-pass-cta:active { transform: scale(0.98); }
.sl-pass-cta-text { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; text-align: left; }
.sl-pass-cta-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-gradient); color: #fff; }
.sl-pass-cta-arrow svg { width: 18px; height: 18px; }
.sl-pass-reassure { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; font-size: 11.5px; font-weight: 600; color: var(--fg-3); }
.sl-pass-reassure span { display: inline-flex; align-items: center; gap: 5px; }
.sl-pass-reassure svg { width: 12px; height: 12px; color: var(--ok); }
.sl-pass-h { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg-1); }
.sl-pass-included { margin-top: 20px; padding: 14px 14px 4px; border: 1px solid var(--hairline); border-radius: 18px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.sl-pass-included ul { margin: 8px 0 0; padding: 0; list-style: none; }
.sl-pass-included li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline); }
.sl-pass-included li:first-child { border-top: 0; }
.sl-pass-inc-icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; color: var(--brand-1); }
.sl-pass-inc-icon svg { width: 20px; height: 20px; }
.sl-pass-included li.is-live .sl-pass-inc-icon { color: var(--live); }
.sl-pass-inc-copy { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sl-pass-inc-copy b { font-size: 14px; font-weight: 700; color: var(--fg-1); }
.sl-pass-inc-copy small { font-size: 12px; color: var(--fg-3); }
.sl-pass-inc-check { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(48, 209, 88, 0.14); color: var(--ok); }
.sl-pass-inc-check svg { width: 12px; height: 12px; }
.sl-pass-locked-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 0 10px; }
.sl-pass-locked-head > span { font-size: 12px; color: var(--fg-3); white-space: nowrap; }
.sl-pass-locked-head > span b { color: var(--fg-1); font-weight: 800; }
.sl-viptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.sl-viptile { position: relative; display: block; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--hairline-strong); border-radius: 14px; overflow: hidden; background: var(--ink-2); color: #fff; cursor: pointer; transition: transform 0.18s ease; }
.sl-viptile:active { transform: scale(0.97); }
.sl-viptile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.sl-viptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 4, 6, 0.1) 0%, rgba(7, 4, 6, 0) 35%, rgba(7, 4, 6, 0.86) 100%); }
.sl-viptile-lock { position: absolute; z-index: 2; top: 7px; right: 7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(7, 4, 6, 0.55); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sl-viptile-lock svg { width: 12px; height: 12px; }
.sl-viptile-id { position: absolute; z-index: 2; left: 9px; right: 8px; bottom: 8px; display: grid; gap: 1px; text-align: left; }
.sl-viptile-id b { font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-viptile-id small { font-size: 10.5px; font-weight: 600; color: var(--fg-2); }
.sl-viptiles + .sl-pass-cta { margin-top: 16px; }
.sl-tabs .sl-tab-crown { display: grid; place-items: center; width: 15px; height: 15px; color: var(--brand-1); }
.sl-tabs .sl-tab-crown svg { width: 15px; height: 15px; }
.sl-tabs button[data-tab="vip"] { color: var(--brand-1); font-weight: 800; letter-spacing: 0.04em; }
.sl-rank {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
    linear-gradient(180deg, var(--hairline-strong), var(--hairline)) border-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.sl-rank:active { transform: scale(0.985); }
.sl-rank:first-child { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, var(--brand-gradient) border-box; box-shadow: 0 10px 26px rgba(255, 45, 120, 0.16); }
.sl-rank-n { flex: none; width: 24px; text-align: center; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -0.04em; color: var(--fg-3); }
.sl-rank:first-child .sl-rank-n { color: var(--brand-1); }
.sl-rank-photo { flex: none; width: 64px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--ink-3); }
.sl-rank-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sl-rank-copy { flex: 1; min-width: 0; display: grid; gap: 3px; }
.sl-rank-copy strong { display: flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-verif { width: 15px; height: 15px; flex: none; }
.sl-rank-copy small { font-size: 12px; font-weight: 600; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-rank-copy em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-rank-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sl-rank-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--hairline-strong); background: rgba(7, 4, 6, 0.4); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--fg-2); white-space: nowrap; }
.sl-rank-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.sl-rank-chip.is-live { border-color: transparent; background: var(--live); color: #fff; }
.sl-rank-chip.is-live::before { background: #fff; box-shadow: none; animation: liveDot 1s ease-in-out infinite; }
.sl-rank-chevron { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft-bg); border: 1px solid var(--brand-border); color: var(--brand-1); }
.sl-rank-chevron svg { width: 14px; height: 14px; }

/* La carte « +3 400 modèles », une seule, en fin de liste */
.sl-end { padding-top: 6px; }
.sl-more {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 92px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-3);
  color: var(--fg-1);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 45, 120, 0.12);
  transition: transform 0.18s ease;
}
.sl-more:active { transform: scale(0.985); }
/* Dans la Liste, entre deux rangées de créatrices (depuis le 21/11) : toute la largeur de la grille. */
.sl-more--inline { grid-column: 1 / -1; margin: 4px 0; }
.sl-more[hidden] { display: none; }
.sl-more-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(0.45) saturate(1.2); transform: scale(1.2); }
.sl-more::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 4, 6, 0.86), rgba(7, 4, 6, 0.55)); }
.sl-more-copy { position: relative; z-index: 2; flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.sl-more .model-more-count { flex: none; font-size: 30px; white-space: nowrap; }
.sl-more-text { display: grid; gap: 2px; min-width: 0; }
.sl-more-text b { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.sl-more-text small { font-size: 12px; font-weight: 600; color: var(--fg-2); }
.sl-more-cta { position: relative; z-index: 2; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--brand-gradient); color: var(--brand-ink); font-family: var(--font-display); font-size: 13.5px; font-weight: 800; letter-spacing: 0.04em; box-shadow: 0 10px 24px rgba(255, 45, 120, 0.3); }
.sl-more-cta .dock-arrow { background: rgba(255, 255, 255, 0.2); }

/* ===== Le dock : trois visages pour « toutes les modèles », et la page garde de la place en bas ===== */
.dock.has-stack button { grid-template-columns: 52px minmax(0, 1fr) auto; }
.dock-avatar--stack { width: 52px; height: 32px; }
.dock-avatar--stack img { position: absolute; top: 0; width: 32px; height: 32px; }
.dock-avatar--stack img:nth-child(1) { left: 0; z-index: 3; }
.dock-avatar--stack img:nth-child(2) { left: 10px; z-index: 2; }
.dock-avatar--stack img:nth-child(3) { left: 20px; z-index: 1; }
.dock-avatar--stack i { display: none; }
/* Le titre peut prendre deux lignes plutôt que d'être coupé. */
.dock.has-stack .dock-copy strong { font-size: 13.5px; line-height: 1.15; letter-spacing: -0.02em; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sl-dock-on #sl-view { padding-bottom: calc(84px + var(--sl-safe-bottom)); }

/* ===== La page d'une créatrice : la même barre haute qu'à l'accueil (marque, statut), puis l'avatar avec ses chiffres à côté, le prénom dessous, sur la même lueur ===== */
.sl-topbar--page { padding-right: 16px; gap: 7px; }
/* Le bouton VIP de sa page (depuis le 21/11), à droite de son statut, à sa hauteur : la couronne et « VIP », sans la flèche. */
.sl-topbar--page .hero-status { flex: 0 1 auto; min-width: 0; height: 28px; gap: 5px; padding: 0 9px 0 8px; white-space: nowrap; }
.sl-topbar--page .hero-status-dot { flex: none; }
.sl-topbar--page .hero-status-text { overflow: hidden; text-overflow: ellipsis; }
.sl-vip--page { flex: none; height: 28px; gap: 5px; padding: 0 10px 0 8px; font-size: 12px; box-shadow: 0 6px 16px rgba(255, 45, 120, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.sl-vip--page .sl-vip-crown, .sl-vip--page .sl-vip-crown svg { width: 14px; height: 14px; }
.sl-topbar--page .sl-brand { --lockup-h: 32px; margin-right: auto; }
/* Le retour : flottant en bas à gauche (en haut à gauche, c'est la fermeture de Telegram), aligné sur le dock, et qui monte au-dessus de lui quand il est là. */
.sl-back-fab {
  position: fixed;
  z-index: 901;
  left: max(10px, calc(50% - 222px));
  bottom: calc(14px + var(--sl-safe-bottom));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(14, 10, 13, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: bottom 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.sl-back-fab svg { width: 18px; height: 18px; }
.sl-dock-on .sl-back-fab { bottom: calc(84px + var(--sl-safe-bottom)); }
.sl-back-space { height: 56px; }
.hero-status.is-live .hero-status-dot { background: var(--live); box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.2); animation: liveDot 1s ease-in-out infinite; }
.sl-profile {
  padding: 18px 18px 0;
  background: radial-gradient(70% 120% at 92% 0%, rgba(255, 45, 120, 0.16), transparent 62%);
}
.sl-profile-row { display: flex; align-items: center; gap: 16px; }
.sl-profile-row .avatar-story-wrapper, .sl-profile-row .avatar { width: 84px; height: 84px; }
.sl-profile-row .avatar { border-color: var(--ink-0); }
.sl-profile-row .live-badge-avatar { border-color: var(--ink-0); }
.sl-profile-stats { flex: 1; min-width: 0; margin: 0; padding: 0; border: 0; }
.sl-profile-stats .stat-value { font-size: 19px; }
.sl-profile-stats .stat-meta { white-space: nowrap; }
/* Le prénom, puis @pseudo et « 18+ · Privé » à sa droite, sur la même ligne (à la ligne si le prénom est long). */
.sl-profile-id { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; }
.sl-profile-id .profile-name { flex: none; margin: 0; font-size: 27px; line-height: 1.1; text-shadow: none; }
.sl-profile-id .username { margin: 0; min-width: 0; font-size: 14px; }
.sl-profile-id .hero-age-chip { flex: none; margin: 0; }
.sl-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 18px 0; }
.sl-action {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 62px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
    linear-gradient(180deg, var(--hairline-strong), var(--brand-border)) border-box;
  color: var(--fg-1);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}
.sl-action:active { transform: scale(0.97); }
.sl-action svg { width: 20px; height: 20px; color: var(--brand-1); }
.sl-action.is-live { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, linear-gradient(135deg, #ff6a60, var(--live)) border-box; }
.sl-action.is-live svg { color: var(--live); }
.sl-action i { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); animation: liveDot 1s ease-in-out infinite; }
/* Arrivée par une cam (notification ou post du canal) : Cam privée en orange, comme Live en rouge (sl/app.js, camNow). */
.sl-action.is-cam { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, linear-gradient(135deg, #ffb057, #ff7a1a) border-box; }
.sl-action.is-cam svg { color: #ff8a2b; }
.sl-action.is-cam i { background: #ff8a2b; box-shadow: 0 0 8px #ff8a2b; }
.section--gallery { padding-top: 22px; }
.sl-unlocked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.1);
  color: var(--ok);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.sl-unlocked svg { width: 18px; height: 18px; }
.sl-notfound { padding: 48px 18px; text-align: center; color: var(--fg-2); display: grid; gap: 14px; justify-items: center; }

/* Les médias verrouillés : déjà floutés fort à la fabrication (aucune source en clair ne part), encore voilés à l'écran. */
.tile--blurred img, .tile--blurred video { filter: blur(7px) brightness(0.6) saturate(1.1); transform: scale(1.12); }

/* Premium : plus de flou ni de cadenas */
.is-premium .media-veil { display: none; }
.is-premium .sl-card-lock { display: none; }
/* Avec l'accès ouvert (depuis le 12/11) : sous « Accès activé », le bouton ou la carte du pack en plus, ou « paiement reçu ». */
.sl-unlocked + .sl-plus-cta, .sl-unlocked + .sl-more, .sl-unlocked + .sl-unlocked--pack { margin-top: 10px; }
.sl-unlocked--pack { min-height: 44px; font-size: 13.5px; text-align: center; }
/* La feuille en version « encore plus » : sans la preuve sociale de l'accès. */
.sl-premium--plus .sl-sheet-activity { display: none; }

/* ===== La feuille (popup Premium, notifications) ===== */
.sl-sheet .joinform-head { padding-top: 14px; }
.sl-sheet:has(.sl-strip:not([hidden])) .joinform-grabber { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 4; margin: 0; }
.sl-sheet:has(.sl-strip:not([hidden])) .joinform-close-btn { z-index: 5; }
.sl-strip { position: relative; height: 128px; overflow: hidden; border-radius: 26px 26px 0 0; background: var(--ink-3); }
.sl-strip-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: blur(6px) brightness(0.55) saturate(1.15); transform: scale(1.1); }
.sl-strip-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 13, 0.05) 0%, rgba(14, 10, 13, 0.4) 55%, var(--ink-1) 100%); }
.sl-strip-id { position: absolute; left: 18px; right: 18px; bottom: 8px; display: flex; align-items: center; gap: 12px; }
.sl-strip-ring, .sl-strip-ring .avatar { width: 58px; height: 58px; }
.sl-strip-copy { min-width: 0; }
.sl-strip-copy b { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-strip-copy small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-sheet-reason { margin: 9px 0 0; font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.sl-sheet .joinform-cta-strip { margin-top: 12px; }
.sl-sheet-activity { margin: 12px 18px 0; }
.sl-sheet-activity .activity-text { font-size: 12px; color: var(--fg-3); }
.sl-sheet-activity .activity-text b { color: var(--fg-1); font-weight: 800; }
.sl-sheet .joinform-form-container { padding-top: 12px; }
.sl-sheet .joinform-legal { margin-top: 8px; }
/*
 * La variante « prelinker » de l'offre (sl/premium.js, sl/prelinker.js) : le formulaire de la plateforme (#selector,
 * repeint dans styles.css) à la place du champ et du bouton de la feuille ; le texte légal et « Pas maintenant » restent.
 * Pendant le chargement, le bloc reste dans la page (la plateforme y dessine) mais hors de la vue.
 */
.sl-premium--pl #sl-email-field, .sl-premium--pl #sl-email-error, .sl-premium--pl #sl-premium-submit, .sl-premium--pl #sl-fallback { display: none !important; }
.sl-pl { margin-bottom: 10px; }
.sl-pl-slot.is-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sl-pl .joinform-prelinker-wait { min-height: 106px; }
.sl-pl.is-sending #selector input[type="submit"], .sl-pl.is-sending #selector button[type="submit"] { opacity: 0.6 !important; pointer-events: none !important; }
#selector .ptprelinker-legend-form:not(:has(:not(i))) { display: none !important; }
/* « Tu es sûr ? » (depuis le 26/11, sl/premium.js) : par-dessus la feuille, avant de la fermer. */
.sl-premium .sl-sheet { position: relative; }
.sl-leave { position: absolute; inset: 0; z-index: 20; display: grid; align-items: center; padding: 14px; border-radius: inherit; background: rgba(7, 4, 6, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: sl-leave-fade 0.22s ease both; }
.sl-leave[hidden] { display: none; }
.sl-premium.is-leaving-ask .joinform-close-btn { visibility: hidden; }
.sl-leave-card { position: relative; display: grid; justify-items: center; gap: 12px; padding: 26px 18px 14px; overflow: hidden; border: 1px solid var(--brand-border); border-radius: 26px; background: linear-gradient(180deg, #1d1016 0%, var(--ink-2) 55%); text-align: center; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; animation: sl-leave-in 0.32s cubic-bezier(0.2, 0.9, 0.25, 1.15) both; }
.sl-leave-glow { position: absolute; top: -120px; left: 50%; width: 360px; height: 260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 45, 120, 0.42), rgba(255, 45, 120, 0)); pointer-events: none; }
.sl-leave-faces { position: relative; display: flex; justify-content: center; padding-bottom: 14px; }
.sl-leave-faces img { width: 58px; height: 58px; margin: 0 -9px; border-radius: 50%; object-fit: cover; border: 3px solid #1d1016; box-shadow: 0 0 0 2px var(--brand-1); filter: saturate(1.05); }
.sl-leave-faces img:nth-child(2) { position: relative; z-index: 1; width: 70px; height: 70px; margin-top: -6px; }
.sl-leave-lock { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-gradient); color: var(--brand-ink); border: 3px solid #1d1016; box-shadow: 0 6px 16px rgba(255, 45, 120, 0.45); }
.sl-leave-lock svg { width: 15px; height: 15px; }
.sl-leave-title { position: relative; font-family: var(--font-display); font-size: 25px; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: #fff; }
.sl-leave-text { position: relative; margin: -4px 0 0; max-width: 300px; font-size: 15.5px; line-height: 1.45; color: var(--fg-2); text-wrap: balance; }
.sl-leave-hl { color: #fff; font-weight: 800; background: linear-gradient(180deg, transparent 58%, rgba(255, 45, 120, 0.55) 58%); padding: 0 1px; }
.sl-leave-lose { display: grid; gap: 8px; width: 100%; margin-top: 2px; padding: 12px 12px 10px; border: 1px solid var(--hairline); border-radius: 18px; background: rgba(255, 255, 255, 0.03); text-align: left; }
.sl-leave-lose-title { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-1); }
.sl-leave-lose ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.sl-leave-lose li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--fg-1); }
.sl-leave-lose-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--brand-soft-bg); color: var(--brand-1); }
.sl-leave-lose-icon svg { width: 13px; height: 13px; }
.sl-leave-proof { margin: 0; font-size: 12.5px; color: var(--fg-3); }
.sl-leave-proof b { color: var(--fg-1); font-weight: 800; }
.sl-leave-stay { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 2px; padding: 0 8px 0 18px; border: 0; border-radius: 999px; background: var(--brand-gradient); color: var(--brand-ink); cursor: pointer; text-align: left; box-shadow: 0 12px 28px rgba(255, 45, 120, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25); transition: transform 0.18s ease; }
.sl-leave-stay:active { transform: scale(0.98); }
.sl-leave-stay-crown { display: grid; place-items: center; width: 20px; height: 20px; }
.sl-leave-stay-crown svg { width: 20px; height: 20px; }
.sl-leave-stay-text { flex: 1; min-width: 0; white-space: nowrap; font-family: var(--font-display); font-size: clamp(14.5px, 4.3vw, 16.5px); font-weight: 800; letter-spacing: -0.01em; }
.sl-leave-stay-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.sl-leave-stay-arrow svg { width: 18px; height: 18px; }
.sl-leave-quit { padding: 8px 12px; border: 0; background: transparent; color: var(--fg-3); font: 600 13px var(--font-ui); cursor: pointer; text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
@keyframes sl-leave-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sl-leave-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sl-leave, .sl-leave-card { animation: none; } }
/* Comme la feuille habituelle : le bouton en pleine largeur (la grille de la plateforme se calait sur son texte), l'icône du courrier dans le champ. */
#sl-premium #selector .ptprelinker-buttons { grid-template-columns: minmax(0, 1fr) !important; justify-content: stretch !important; }
#sl-premium #selector input[type="email"] {
  padding-left: 44px !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5fa2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='3'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") no-repeat 17px center / 18px 18px padding-box,
    linear-gradient(180deg, rgba(23, 23, 23, 0.92), rgba(15, 15, 15, 0.92)) padding-box,
    var(--brand-gradient) border-box !important;
}
/* « Plus qu'un geste » : une seule sortie, la croix, plus petite et plus discrète ; pas de « Plus tard » (sl/notify.js). */
#sl-notif.sl-notif--start .sl-not-now { display: none; }
#sl-notif.sl-notif--start .joinform-close-btn { width: 28px; height: 28px; font-size: 18px; top: 12px; right: 12px; background: transparent; border-color: transparent; color: var(--fg-3); opacity: 0.6; }
.sl-not-now { display: block; width: 100%; margin-top: 2px; padding: 10px; border: 0; background: transparent; color: var(--fg-3); font: 600 13px var(--font-ui); cursor: pointer; text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.sl-notif-bell { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--brand-gradient); color: #fff; box-shadow: 0 10px 24px rgba(255, 45, 120, 0.35); }
.sl-notif-bell svg { width: 22px; height: 22px; }

/* ===== Visionneuse, toast, débogage ===== */
.sl-viewer { position: fixed; inset: 0; z-index: 1000000; display: none; background: rgba(4, 2, 4, 0.96); }
.sl-viewer.is-open { display: block; }
.sl-viewer-stage { position: absolute; inset: 0; display: grid; place-items: center; touch-action: pan-y; }
.sl-viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; -webkit-user-select: none; user-select: none; }
.sl-viewer-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(10px + var(--sl-safe-top)) 14px 10px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent); }
.sl-viewer-count { font-size: 13px; font-weight: 700; color: var(--fg-2); }
.sl-icon-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 12px; border: 1px solid var(--hairline-strong); background: rgba(255, 255, 255, 0.08); color: var(--fg-1); cursor: pointer; }
.sl-icon-btn svg { width: 20px; height: 20px; }
.sl-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: rgba(7, 4, 6, 0.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sl-viewer-nav svg { width: 20px; height: 20px; }
.sl-viewer-nav--prev { left: 10px; }
.sl-viewer-nav--next { right: 10px; transform: translateY(-50%) scaleX(-1); }
.sl-viewer-nav[hidden] { display: none; }
.sl-toast { position: fixed; z-index: 2000000; left: 50%; bottom: calc(84px + var(--sl-safe-bottom)); transform: translate(-50%, 12px); max-width: min(calc(100% - 32px), 420px); padding: 10px 16px; border-radius: 999px; background: rgba(7, 4, 6, 0.92); border: 1px solid var(--hairline-strong); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.sl-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.sl-debug { margin: 18px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; padding: 14px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--hairline); color: var(--fg-2); }
.sl-page-head { padding: 18px 18px 8px; }
.sl-page-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.sl-page-sub { margin-top: 4px; font-size: 13px; color: var(--fg-3); }
.sl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 12px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box, var(--brand-gradient) border-box; color: #fff; font: 700 14px var(--font-display); text-decoration: none; cursor: pointer; }

@media (min-width: 720px) {
  .joinform-full-modal { align-items: center !important; }
  .joinform-card { border-radius: 26px; border-bottom: 1px solid var(--hairline-strong); }
  .sl-strip { border-radius: 26px 26px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-card-chip.is-live::before, .sl-action i, .hero-status.is-live .hero-status-dot, .sl-rank-chip.is-live::before, .sl-live-label i { animation: none; }
}

/* ===== Plus compact (26/11, à la demande) : la barre du haut de l'accueil à la taille de celle d'une fiche (la marque à 32 px, la cloche et le bouton VIP à 30 px, sans la flèche), l'onglet Tendances, l'onglet VIP et la page d'une créatrice plus petits ===== */
.sl-topbar .sl-brand { --lockup-h: 32px; }
.sl-topbar .sl-bell { width: 30px; height: 30px; }
.sl-topbar .sl-bell svg { width: 16px; height: 16px; }
.sl-topbar .sl-bell i { top: 5px; right: 6px; width: 7px; height: 7px; }
.sl-topbar .sl-vip { height: 30px; gap: 5px; padding: 0 11px 0 9px; font-size: 12px; box-shadow: 0 6px 16px rgba(255, 45, 120, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.sl-topbar .sl-vip .sl-vip-crown, .sl-topbar .sl-vip .sl-vip-crown svg { width: 14px; height: 14px; }
.sl-topbar .sl-vip .dock-arrow { display: none; }
.sl-topbar .sl-vip--page { height: 30px; }
.sl-topbar--page .hero-status { height: 30px; }
/* Tendances */
.sl-ranks { gap: 6px; }
.sl-rank { gap: 10px; padding: 7px 10px 7px 8px; border-radius: 15px; }
.sl-rank-n { width: 20px; font-size: 15px; }
.sl-rank-photo { width: 50px; border-radius: 10px; }
.sl-rank-copy { gap: 2px; }
.sl-rank-copy strong { font-size: 15px; }
.sl-rank-copy small { font-size: 11.5px; }
.sl-rank-copy em { font-size: 11px; }
.sl-rank-side { gap: 6px; }
.sl-rank-chip { height: 20px; padding: 0 7px; font-size: 9.5px; }
.sl-rank-chevron { width: 24px; height: 24px; }
.sl-rank-chevron svg { width: 12px; height: 12px; }
/* La page d'une créatrice */
.sl-profile-row { gap: 14px; }
.sl-profile-row .avatar-story-wrapper, .sl-profile-row .avatar { width: 72px; height: 72px; }
.sl-profile-stats .stat-value { font-size: 17px; }
.sl-profile-id { margin-top: 10px; gap: 5px 8px; }
.sl-profile-id .profile-name { font-size: 23px; }
.sl-profile-id .username { font-size: 13px; }
#sl-view .profile-bio { font-size: 12.5px; }
#sl-view .cta-dock { padding-top: 10px; }
#sl-view .cta-dock .cta-primary { min-height: 46px; font-size: 15px; }
.sl-actions { gap: 7px; padding-top: 9px; }
.sl-action { min-height: 52px; gap: 4px; padding: 6px; border-radius: 12px; font-size: 11.5px; }
.sl-action svg { width: 18px; height: 18px; }
#sl-view .section--gallery .section-title { font-size: 21px; }
/* « Populaire » (depuis le 26/11) : une pastille sombre sous l'étiquette Photo / Vidéo (à droite, elle la recouvrait sur une petite tuile), une petite étoile rose. */
.tile .tile-tag { gap: 4px; }
.tile .tile-tag--hot { top: 36px; left: 8px; right: auto; height: 20px; padding: 0 7px 0 6px; border-radius: 999px; background: rgba(7, 4, 6, 0.62); border: 1px solid var(--brand-border); color: #fff; font-size: 8.5px; }
.tile .tile-tag--hot svg { width: 10px; height: 10px; color: var(--brand-1); }
/* « Tu es sûr ? » sur un grand écran : la feuille y est une fenêtre plus petite que la question ; la question couvre tout l'écran, centrée, et défile si besoin. */
@media (min-width: 700px) {
  .sl-leave { position: fixed; padding: 24px; overflow-y: auto; border-radius: 0; }
  .sl-leave-card { width: min(420px, 100%); margin: auto; }
}

/* ===== La notification de l'app pour les acheteurs (depuis le 30/11, sl/inapp.js) =====
   Au milieu de l'écran, le fond assombri : verre sombre, filet de marque, l'étape 1 faite (vert), l'étape 2 à faire
   (rose), le bouton vers /checkout avec son prix. La croix la ferme (elle revient plus tard). */
.sl-inapp {
  position: fixed;
  z-index: 1999999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(16px + var(--sl-safe-top)) 16px calc(16px + var(--sl-safe-bottom));
  background: radial-gradient(70% 50% at 50% 45%, rgba(255, 45, 120, 0.16), transparent 70%), rgba(7, 4, 6, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.sl-inapp.is-visible { opacity: 1; }
.sl-inapp:not(.is-visible) { pointer-events: none; }
.sl-inapp .sl-inapp__card { transform: translateY(14px) scale(0.94); transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.25, 1.08); }
.sl-inapp.is-visible .sl-inapp__card { transform: none; }
.sl-inapp__card {
  width: 100%;
  max-width: 380px;
  padding: 16px 16px 16px 18px;
  border: 1px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(33, 23, 31, 0.96), rgba(14, 10, 13, 0.96)) padding-box,
    linear-gradient(135deg, rgba(255, 95, 162, 0.75), rgba(255, 255, 255, 0.1) 45%, rgba(48, 209, 88, 0.55)) border-box;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 6px 22px rgba(255, 45, 120, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  color: var(--fg-1);
  font-family: var(--font-ui);
}
.sl-inapp__head { display: flex; align-items: center; gap: 8px; }
.sl-inapp__icon { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--ink-0); box-shadow: inset 0 0 0 1px var(--brand-border); }
.sl-inapp__icon svg { width: 16px; height: 16px; }
.sl-inapp__app { font-size: 12px; font-weight: 700; letter-spacing: 0.01em; color: var(--fg-2); }
.sl-inapp__when { font-size: 12px; color: var(--fg-4); }
.sl-inapp__close { margin-left: auto; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--fg-3); cursor: pointer; }
.sl-inapp__close svg { width: 13px; height: 13px; }
.sl-inapp__main { display: block; width: 100%; margin: 8px 0 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.sl-inapp__title { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.2; }
.sl-inapp__body { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--fg-2); }
.sl-inapp__steps { display: flex; align-items: center; gap: 5px; margin-top: 11px; }
.sl-inapp__bar { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.sl-inapp__bar.is-done { background: var(--ok); }
.sl-inapp__bar:not(.is-done)::after { content: ''; position: absolute; inset: 0; width: 18%; border-radius: inherit; background: var(--brand-gradient); }
.sl-inapp__step { flex: none; margin-left: 4px; font-size: 11.5px; font-weight: 600; color: var(--fg-3); }
.sl-inapp__cta {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  margin-top: 11px;
  padding: 0 7px 0 14px;
  border: 0;
  border-radius: 14px;
  background: var(--brand-gradient);
  box-shadow: 0 8px 20px rgba(255, 45, 120, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
  font: 700 15px/1 var(--font-ui);
  cursor: pointer;
}
.sl-inapp__cta:active { transform: scale(0.98); }
.sl-inapp__cta-icon { display: grid; place-items: center; width: 18px; height: 18px; }
.sl-inapp__cta-icon svg { width: 18px; height: 18px; }
.sl-inapp__cta-text { flex: 1; text-align: left; }
.sl-inapp__price { flex: none; padding: 7px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.24); font-size: 13.5px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .sl-inapp .sl-inapp__card { transition: none; transform: none; } }
