/* WeshApp — interface type app. Mobile d'abord ; la version desktop s'active quand l'app fait au moins 900 px de large.
   Les règles propres à l'app sont préfixées par .wa-app (classe du body en mode app) : elles ne touchent jamais
   le contenu des pages classiques (Ultimate Member, Better Messages, classes WordPress comme .page ou .menu-item). */

:root {
  --bg: #0c0c0e; --panel: #161619; --line: #2a2a2f; --text: #ededf1; --muted: #9b9ba4;
  --accent: #ff6a00; --gold1: #f7d774; --gold2: #c9962b; --gold: linear-gradient(135deg, var(--gold1), var(--gold2));
  --sheet: #141416; --glass: #0000004d;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
html, body { margin: 0; background: #000; color: var(--text); font: 14px/1.45 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-text-size-adjust: 100%; }
body.wa-app, body.wa-page { height: 100%; overflow: hidden; overscroll-behavior: none; }
/* html à pleine hauteur : AgeVerif floute <html> et y accroche sa fenêtre plein écran ; sous Firefox, un html de 0 px la rendait invisible. */
html { height: 100%; }
.wa-app *, .wa-page * { box-sizing: border-box; }
/* Remises à zéro limitées à l'app et à la navigation (les boutons et liens des plugins gardent leur style).
   :where() leur donne une priorité nulle : n'importe quelle classe de l'app (.snd, .btn-gold, .close-x…) passe devant. */
:where(.wa-app .app) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:where(.wa-app .app, .app .side, .app .dtop, .app .dock, .app .ptop) a { color: inherit; text-decoration: none; }
/* L'ancien thème colore les liens visités (a:visited violet) : la navigation garde ses couleurs. */
.app .side a, .app .dtop a, .app .dock a, .app .ptop a { color: inherit; text-decoration: none; }
.app svg.i { width: 24px; height: 24px; display: block; flex: none; }
:where(.wa-app .app, .app .side, .app .dtop) img { max-width: 100%; }
[hidden] { display: none !important; }
/* Bloc SEO (h1 + description) : masqué visuellement, lu par Google et les lecteurs d'écran. */
.wa-seo { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* visibilité selon le visiteur */
.wa-role-visitor .hide-visitor, .wa-role-member .hide-member, .wa-role-vip .hide-vip { display: none !important; }

/* ================= Structure ================= */
.app { position: fixed; inset: 0; overflow: hidden; background: #000; container: app / inline-size; }
.app .side, .app .dtop, .wa-app .navarrows { display: none; }
.wa-app .main { position: absolute; inset: 0; }
.wa-app .screen { position: absolute; inset: 0; display: none; }
.wa-app .screen.active { display: block; }
.wa-app .mobile-only { display: block; }

/* --- barre du haut mobile --- */
.wa-app .mtop { position: absolute; top: 0; left: 0; right: 0; z-index: 6; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 26px; display: flex; align-items: center; gap: 8px;
  background: linear-gradient(#000c, #0000); pointer-events: none; }
.wa-app .mtop > * { pointer-events: auto; }
/* Logo sticker (WESH sur PORN, 1,72:1) : en dessous de ~40 px de haut, « PORN » devient illisible. */
.wa-app .mtop .logo, .app .brand .logo, .app .ptop .logo { height: 48px; width: auto; max-width: none; display: block; filter: drop-shadow(0 2px 4px #0008); }
.app .ptop .logo { height: 44px; }
.wa-app .pills { flex: 1; display: flex; justify-content: center; pointer-events: none; }
.wa-app .pg { display: flex; gap: 2px; padding: 3px; border-radius: 18px; background: var(--glass); border: 1px solid #ffffff1f; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: auto; }
.wa-app .pg a { padding: 5px 12px; border-radius: 15px; font-size: 13px; font-weight: 600; color: #fffc; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.wa-app .pg a.on { background: #fff; color: #000; }
.wa-app .pg .vipt { color: var(--gold1); }
.wa-app .pg .vipt.on { background: var(--gold); color: #1a1300; }
.wa-app .pg svg.i { width: 13px; height: 13px; }
.app .iconbtn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.app button.iconbtn, .app button.iconbtn:hover, .app button.iconbtn:focus, .app button.iconbtn:active { background: transparent; border: 0; padding: 0; line-height: 1; } /* le style.css du parent (pages classiques) grise tous les boutons */

.wa-app .srcbar { position: absolute; z-index: 6; top: calc(56px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 32px); padding: 6px 8px 6px 14px; border-radius: 18px; background: #000b; border: 1px solid #ffffff26; font-weight: 600; font-size: 13px; }
.wa-app .srcbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-app .srcbar button { width: 24px; height: 24px; border-radius: 50%; background: #ffffff1f; display: flex; align-items: center; justify-content: center; }
.wa-app .srcbar svg.i { width: 14px; height: 14px; }

/* ================= Feed ================= */
.wa-app .feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.wa-app .feed::-webkit-scrollbar { display: none; }
.wa-app .slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.wa-app .player { position: absolute; inset: 0; overflow: hidden; background: #000; }
.wa-app .media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.wa-app .media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.wa-app .vbg { display: none; position: absolute; inset: -30px; background: #111 center / cover no-repeat; filter: blur(24px) brightness(.5); }
.wa-app .land .vbg { display: block; }
.wa-app .land .media { inset: auto 0; top: 42%; transform: translateY(-50%); aspect-ratio: 16 / 9; }
.wa-app .land .media video { object-fit: contain; }
.wa-app .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #0007; display: none;
  align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.wa-app .play svg.i { width: 28px; height: 28px; margin-left: 4px; }
.wa-app .paused .play { display: flex; }
.wa-app .fs { display: none; }
.wa-app .land .fs { display: flex; position: absolute; left: 50%; top: calc(42% + 30vw + 14px); transform: translateX(-50%); gap: 6px; align-items: center; z-index: 3;
  background: #ffffff1f; border: 1px solid #ffffff33; padding: 6px 12px; border-radius: 16px; font-size: 13px; }
.wa-app .fs svg.i { width: 16px; height: 16px; }
.wa-app .snd { position: absolute; z-index: 4; top: calc(62px + env(safe-area-inset-top, 0px)); right: 12px; height: 32px; padding: 0 12px; border-radius: 16px; background: #0008;
  border: 1px solid #ffffff26; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.wa-app .sound-on .snd { padding: 0; width: 32px; justify-content: center; }
.wa-app .sound-on .snd .t { display: none; }
.wa-app .buffer { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 3px solid #ffffff33; border-top-color: #fff;
  animation: spin .8s linear infinite; display: none; z-index: 2; pointer-events: none; }
.wa-app .waiting .buffer { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.app .vipbadge { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; color: #1a1300; background: var(--gold); padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; vertical-align: middle; }
.app .vipbadge.big { font-size: 12px; padding: 4px 10px; }
.wa-app .early { display: inline-flex; margin-top: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--gold1); color: var(--gold1); text-shadow: none; }

.wa-app .info { position: absolute; left: 14px; right: 84px; bottom: calc(104px + var(--safe-b)); z-index: 3; text-shadow: 0 1px 3px #000; }
.wa-app .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.wa-app .who img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #ffffffd0; object-fit: cover; background: #333; }
.wa-app .who small { font-weight: 400; color: #fffb; }
.wa-app .info .title { margin: 7px 0 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Description : une seule ligne coupée par « … », avec « plus » au bout de la même ligne.
   Ouverte : texte entier (défilable si long), « moins » en dessous. */
.wa-app .desc { position: relative; margin: -2px 0 7px; font-size: 13px; line-height: 1.4; color: #ffffffd9; display: flex; align-items: baseline; gap: 6px; }
.wa-app .desc .dtxt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-app .desc.open { display: block; }
.wa-app .desc.open .dtxt { display: block; white-space: normal; max-height: 38vh; overflow-y: auto; overscroll-behavior: contain; }
.wa-app .dmore { flex: none; font-weight: 700; color: #fff; font-size: 13px; padding: 0; }
.wa-app .desc-open .info { background: linear-gradient(#0000, #000a 30%); padding-top: 30px; margin-top: -30px; }
.wa-app .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wa-app .tags button { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 10px; background: #ffffff24; text-shadow: none; }
.wa-app .cta-vip { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--gold); color: #1a1300 !important; font-weight: 800; text-shadow: none;
  padding: 9px 12px; border-radius: 10px; font-size: 13px; max-width: 100%; }
.wa-app .cta-vip svg.i { width: 16px; height: 16px; }
.wa-app .prog { position: absolute; left: 0; right: 0; bottom: calc(80px + var(--safe-b)); height: 14px; z-index: 3; cursor: pointer; }
.wa-app .prog::before { content: ""; position: absolute; left: 16px; right: 16px; top: 6px; height: 3px; border-radius: 2px; background: #ffffff30; }
.wa-app .prog i { position: absolute; left: 16px; top: 6px; height: 3px; border-radius: 2px; background: var(--accent); width: 0; max-width: calc(100% - 32px); }

/* capsule d'actions */
.wa-app .rail { position: absolute; right: 10px; bottom: calc(126px + var(--safe-b)); z-index: 3; display: flex; flex-direction: column; gap: 6px; padding: 10px 5px;
  border-radius: 28px; background: var(--glass); border: 1px solid #ffffff1f; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wa-app .rb { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 600; width: 46px; }
.wa-app .rb .ib { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.wa-app .rb.on { color: #ff3b5c; }
.wa-app .rb.dl { color: var(--gold1); }
.wa-app .pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }

.wa-app .lockover { display: none; }
.wa-app .ended .lockover { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: #000b; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: center; padding: 0 30px; }
.wa-app .lockover .big { font-size: 21px; font-weight: 800; }
.wa-app .lockover p { margin: 0; color: #fffc; }
.app .btn-gold { background: var(--gold); color: #1a1300 !important; font-weight: 800; padding: 12px 20px; border-radius: 12px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.app .btn-gold.wide { display: flex; width: 100%; padding: 15px; }
.app .btn-ghost { border: 1px solid #ffffff40; padding: 9px 16px; border-radius: 12px; color: #fffd; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.app .btn-accent { background: var(--accent); color: #fff !important; font-weight: 700; padding: 11px 18px; border-radius: 12px; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.app .dtop .sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.app .dtop .sm svg.i { width: 16px; height: 16px; }
.wa-app .lnk { color: #fffb; text-decoration: underline !important; font-size: 13px; }
.wa-app .swipe-hint { font-size: 12px; color: #fff9; }
.wa-app .muted { color: var(--muted); }

/* carte VIP (bande-annonce) */
.wa-app .trailer { background: linear-gradient(120deg, hsl(35 60% 28%), hsl(330 45% 22%), hsl(260 40% 20%), hsl(35 60% 28%)); background-size: 300% 300%; animation: trailer 9s linear infinite; }
@keyframes trailer { to { background-position: 300% 0; } }
.wa-app .mosaic { position: absolute; inset: -8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; filter: blur(6px) brightness(.55); }
.wa-app .mosaic i { display: block; background: #222 center / cover no-repeat; min-height: 80px; }
.wa-app .vipcard .player::after, .wa-app .cdslide .player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#0000 30%, #000e 80%); pointer-events: none; z-index: 1; }
.wa-app .vipcard .vc { position: absolute; left: 16px; right: 16px; bottom: calc(100px + var(--safe-b)); z-index: 3; text-align: center; display: grid; gap: 10px; justify-items: center; }
.wa-app .vipcard h3 { margin: 0; font-size: 25px; line-height: 1.15; }
.wa-app .vipcard .sub { color: #fffc; font-size: 13.5px; margin-top: -4px; }
.wa-app .perkchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.wa-app .perkchips span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; background: #c9962b2e; border: 1px solid #c9962b66; color: #f6e7bd; }
.wa-app .vipcard .btn-gold { width: 100%; max-width: 300px; }

/* compte à rebours */
.wa-app .cdslide .cdbg { position: absolute; inset: -30px; background: #222 center / cover no-repeat; filter: blur(18px) brightness(.55); }
.wa-app .cdbox { position: absolute; left: 20px; right: 20px; top: 50%; transform: translateY(-55%); z-index: 3; text-align: center; display: grid; gap: 10px; justify-items: center; }
.wa-app .cdbox .cdtitle { font-weight: 700; font-size: 16px; }
.wa-app .cd { display: flex; gap: 6px; }
.wa-app .cd span { min-width: 60px; padding: 8px 4px 4px; border-radius: 12px; background: #0009; border: 1px solid #ffffff26; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wa-app .cd small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wa-app .cdbox p { margin: 0; color: #fffc; font-size: 13.5px; }

.wa-app .feed-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 30px; color: var(--muted); }
.wa-app .feed-msg .spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #ffffff22; border-top-color: var(--accent); animation: spin .8s linear infinite; }

/* ================= Dock (mobile) ================= */
.app .dock { position: absolute; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); height: 62px; border-radius: 31px; z-index: 10; display: flex; align-items: center;
  justify-content: space-between; padding: 0 8px; background: #141417eb; border: 1px solid #ffffff1a; box-shadow: 0 10px 30px #000a;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.app .dock .d { position: relative; height: 44px; min-width: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff9; padding: 0 10px;
  font-size: 13px; font-weight: 600; transition: background .15s; }
.app .dock .d .lbl { display: none; }
.app .dock .d.on { background: #ff6a0024; color: #fff; }
.app .dock .d.on .lbl { display: inline; }
.app .dock .d.on svg.i { color: var(--accent); }
.app .dock .up { width: 48px; height: 48px; min-width: 48px; padding: 0; border-radius: 16px; background: var(--gold); color: #1a1300; transform: rotate(45deg); }
.app .dock .up svg.i { transform: rotate(-45deg); }
/* compteur Better Messages */
.app .dock .d [class*="bp-better-messages-unread"], .app .sn [class*="bp-better-messages-unread"] { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }

/* ================= Volets ================= */
.wa-app .scrim { position: absolute; inset: 0; background: #0009; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 20; }
.wa-app .scrim.on { opacity: 1; pointer-events: auto; }
.wa-app .sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--sheet); border-radius: 22px 22px 0 0; z-index: 21; padding-bottom: var(--safe-b);
  transform: translateY(105%); transition: transform .25s ease, opacity .2s; display: flex; flex-direction: column; max-height: 92%; }
.wa-app .sheet.open { transform: none; }
.wa-app .grab { width: 38px; height: 4px; border-radius: 2px; background: #ffffff40; margin: 9px auto 0; flex: none; }
.wa-app .sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.wa-app .sheet-h b { font-size: 15px; }
.wa-app .sheet-h svg.i { width: 20px; height: 20px; }
.wa-app .chips { display: flex; gap: 6px; }
.wa-app .chips.wrap { flex-wrap: wrap; }
.wa-app .chip { font-size: 12px; padding: 5px 11px; border-radius: 14px; background: #ffffff12; color: #fffc; white-space: nowrap; display: inline-block; }

.wa-app #o-comments { height: 74%; }
.wa-app .rules { font-size: 11.5px; color: var(--muted); padding: 8px 14px; border-bottom: 1px solid var(--line); }
.wa-app .clist { flex: 1; overflow-y: auto; padding: 4px 0 8px; overscroll-behavior: contain; }
.wa-app .c { display: flex; gap: 10px; padding: 10px 14px; }
.wa-app .c.pinned { background: #ff6a000f; border-left: 3px solid var(--accent); }
.wa-app .c.reply { padding: 8px 14px 8px 58px; }
.wa-app .c.reply .cav { width: 26px; height: 26px; }
.wa-app .pin-label { font-size: 11px; color: var(--accent); font-weight: 700; margin-bottom: 2px; }
.wa-app .cav { width: 34px; height: 34px; border-radius: 50%; flex: none; object-fit: cover; background: #333; }
.wa-app .cbody { flex: 1; min-width: 0; }
.wa-app .cname { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wa-app .cname b { color: #dadae0; font-weight: 600; }
.wa-app .cname { flex-wrap: nowrap; min-width: 0; }
.wa-app .cuser { flex: none; }
.wa-app .cuser:hover b { color: #fff; text-decoration: underline; }
.wa-app .cmeta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8a8a93; }
.wa-app .cmeta::before { content: "· "; }
.wa-app .ctime { flex: none; }
.wa-app .ctime::before { content: "· "; }
.wa-app .cav-link { flex: none; display: block; }
.wa-app .team { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: var(--accent); color: #fff; }
.wa-app .ctext { margin: 2px 0 4px; white-space: pre-line; overflow-wrap: anywhere; }
.wa-app .cact { font-size: 12px; color: var(--muted); display: flex; gap: 14px; }
.wa-app .cact button { color: var(--muted); font-weight: 600; }
.wa-app .creplies { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.wa-app .clike { display: flex; flex-direction: column; align-items: center; color: var(--muted); font-size: 11px; padding-top: 4px; }
.wa-app .clike svg.i { width: 18px; height: 18px; }
.wa-app .clike.on { color: #ff3b5c; }
.wa-app .cmore { display: block; margin: 6px auto 10px; color: var(--muted); font-size: 13px; text-decoration: underline; }
.wa-app .cempty { text-align: center; color: var(--muted); padding: 30px 20px; }
.wa-app .pending { opacity: .6; }
.wa-app .cinput { border-top: 1px solid var(--line); padding: 10px 12px 14px; flex: none; }
.wa-app .cclosed { text-align: center; color: var(--muted); font-size: 13px; padding: 6px 0; }
.wa-app .cform { display: flex; gap: 8px; align-items: flex-end; }
.wa-app .cform .field { flex: 1; background: #ffffff10; border-radius: 20px; padding: 8px 14px; }
.wa-app .cform textarea { width: 100%; resize: none; border: 0; outline: 0; background: none; color: #fff; font: inherit; max-height: 120px; display: block; }
.wa-app .cform .send { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.wa-app .cform .send svg.i { width: 18px; height: 18px; }
.wa-app .reply-to { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.wa-app .cinput .login { display: flex; gap: 8px; }
.wa-app .cinput .login > * { flex: 1; font-size: 13px; padding: 10px 8px; }

.wa-app #o-more { padding-bottom: calc(14px + var(--safe-b)); }
.wa-app .menu-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.wa-app .menu-item svg.i { width: 20px; height: 20px; color: var(--muted); }
.wa-app .menu-item small { display: block; color: var(--muted); font-size: 12px; }

.wa-app .full { position: absolute; inset: 0; background: #0b0b0d; z-index: 30; transform: translateY(100%); transition: transform .28s ease, opacity .2s; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.wa-app .full.open { transform: none; }
.wa-app .full::-webkit-scrollbar { display: none; }
.wa-app .close-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; background: #0009; display: flex; align-items: center; justify-content: center; }
.wa-app .close-x svg.i { width: 18px; height: 18px; }
.wa-app .pdv-hero { position: relative; height: 280px; overflow: hidden; background: #111; }
.wa-app .pdv-hero .trailer, .wa-app .pdv-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wa-app .pdv-hero .mosaic { grid-template-columns: repeat(4, 1fr); }
.wa-app .pdv-hero .over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 20px 20px;
  background: linear-gradient(#0000 25%, #0b0b0d); text-align: center; gap: 8px; z-index: 1; }
.wa-app .pdv-hero h2 { margin: 0; font-size: 26px; }
.wa-app .pdv-hero .over span:last-child { color: #fffc; }
.wa-app .pdv-body { padding: 14px 20px 30px; }
.wa-app .why { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 10px; }
.wa-app .why li { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.wa-app .why .wi { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #c9962b26; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.wa-app .why b { display: block; font-size: 14.5px; }
.wa-app .why small { color: var(--muted); font-size: 12.5px; }
.wa-app .discreet { text-align: center; color: var(--muted); font-size: 12px; margin-top: 8px; }
.wa-app .paid { margin-top: 18px; padding: 14px; border-radius: 14px; border: 1px dashed #c9962b88; background: #c9962b10; text-align: center; display: grid; gap: 8px; justify-items: center; }
.wa-app .paid b { font-size: 14.5px; }
.wa-app .paid small { color: var(--muted); }
.wa-app .fine { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }
.wa-app .fine a { text-decoration: underline; }

.wa-app #o-pass { padding-bottom: calc(18px + var(--safe-b)); }
.wa-app .passbox { padding: 6px 22px 8px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.wa-app .passbox .pic { width: 60px; height: 60px; border-radius: 18px; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-top: 8px; }
.wa-app .passbox h3 { margin: 0; font-size: 21px; }
.wa-app .passbox p { margin: 0; color: #cfcfd6; font-size: 13.5px; }
.wa-app .passbox label { font-weight: 700; font-size: 13px; margin-top: 4px; }
.wa-app .passbox input { width: 100%; max-width: 300px; background: #ffffff10; border: 1px solid #ffffff2e; border-radius: 12px; padding: 13px; color: #fff;
  font: inherit; font-size: 17px; text-align: center; letter-spacing: .12em; }
.wa-app .passbox .btn-gold { max-width: 300px; font-family: inherit; }
.wa-app .passbox .after { font-size: 12.5px; color: var(--muted); }

/* ================= Pages (Découvrir, envoi) ================= */
.wa-app .page { position: absolute; inset: 0; overflow-y: auto; padding: calc(18px + env(safe-area-inset-top, 0px)) 14px calc(100px + var(--safe-b)); background: #0b0b0d; scrollbar-width: none; }
.wa-app .page::-webkit-scrollbar { display: none; }
.wa-app .page h2 { font-size: 19px; margin: 6px 0 12px; }
.wa-app .page h4 { margin: 20px 0 8px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; scroll-margin-top: 12px; }
.wa-app .page h4 .more { color: var(--muted); font-size: 12px; font-weight: 400; text-decoration: underline; }
.wa-app .searchbar, .app .dsearch { display: flex; align-items: center; gap: 8px; background: #ffffff12; border: 1px solid #ffffff14; border-radius: 12px; padding: 0 12px; color: var(--muted); }
.wa-app .searchbar svg.i, .app .dsearch svg.i { width: 18px; height: 18px; }
.wa-app .searchbar input, .app .dsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; padding: 11px 0; }
.wa-app .chips.scroll { overflow-x: auto; margin-top: 12px; scrollbar-width: none; }
.wa-app .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.wa-app .tile { position: relative; aspect-ratio: 9 / 14; border-radius: 8px; overflow: hidden; background: #1c1c20 center / cover no-repeat; display: block; width: 100%; }
.wa-app .tile span { position: absolute; left: 6px; right: 6px; bottom: 5px; font-size: 11px; font-weight: 600; text-shadow: 0 1px 3px #000; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wa-app .tile::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(#0000, #000b); }
.wa-app .tile span { z-index: 1; }
.wa-app .skeleton { grid-column: 1 / -1; height: 120px; border-radius: 10px; background: linear-gradient(90deg, #17171a, #222227, #17171a); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
.wa-app .cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wa-app .cat { position: relative; height: 72px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; padding: 8px 10px; text-align: left; width: 100%;
  background: #24242a center / cover no-repeat; }
.wa-app .cat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(#0003, #000c); }
.wa-app .cat b, .wa-app .cat small { position: relative; text-shadow: 0 1px 3px #000; }
.wa-app .cat b { font-size: 14px; }
.wa-app .cat small { margin-left: auto; font-size: 11px; color: #fffc; }
.app .plogos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app .plogos img { height: 34px; width: auto; border-radius: 6px; }
.wa-app .embed { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.wa-app #s-upload .embed { border: 0; border-radius: 18px; background: var(--panel); } /* BV ouvert avec ?embed=weshapp : fond sombre */
.wa-app .up-rules { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
.wa-app .up-rules span { background: #1f1f25; border-radius: 99px; padding: 5px 10px; font-size: 12px; color: #c9c9d1; }
.wa-app .embed iframe { display: block; width: 100%; height: 70vh; min-height: 520px; border: 0; }
.wa-app .narrow { max-width: 640px; margin: 0 auto; }

.wa-app .zmlock { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; background: #000c;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 60px 26px 100px; text-align: center; }
.wa-app .zbox { display: grid; gap: 12px; justify-items: center; max-width: 360px; }
.wa-app .zbox h3 { margin: 0; font-size: 22px; }
.wa-app .zbox p { margin: 0; color: #fffc; }

.wa-app .toast { position: absolute; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%) translateY(20px); background: #fff; color: #000; padding: 9px 16px; border-radius: 18px;
  font-size: 13px; font-weight: 600; opacity: 0; transition: .2s; z-index: 40; pointer-events: none; max-width: calc(100% - 40px); text-align: center; }
.wa-app .toast.on { opacity: 1; transform: translateX(-50%); }
.wa-app .noscript { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 50; background: #000; padding: 20px; text-align: center; }

/* ================= Desktop (app >= 900 px) ================= */
@container app (min-width: 900px) {
  .wa-app .mtop, .app .dock, .wa-app .mobile-only { display: none !important; }
  .app .side { display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; top: 0; bottom: 0; width: 244px; padding: 18px 12px; z-index: 8;
    background: #0b0b0d; border-right: 1px solid #ffffff12; overflow-y: auto; scrollbar-width: none; }
  .app .brand { padding: 0 6px 14px; display: block; }
  .app .brand .logo { height: 76px; }
  .app .logo-mini { display: none; width: 46px; height: 46px; margin: 0 auto; }
  .app .sn { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; color: #ddd; }
  .app .sn:hover { background: #ffffff0d; }
  .app .sn.on { background: #ff6a001f; color: #fff; font-weight: 700; }
  .app .sn.on svg.i { color: var(--accent); }
  .app .sn.sn-vip { color: var(--gold1); }
  .app .sn.sn-vip.on { background: #c9962b26; }
  .app .sn.sn-vip.on svg.i { color: var(--gold1); }
  .app .sn.up { margin-top: 10px; border: 1px solid #c9962b88; color: var(--gold1); justify-content: center; }
  .app .side .promo { margin-top: 16px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, #2a210e, #120e06); border: 1px solid #c9962b55; }
  .app .side .promo b { display: block; font-size: 16px; margin: 6px 0 2px; }
  .app .side .promo p { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }
  .app .side .promo .btn-gold { width: 100%; padding: 9px; font-size: 13px; }
  .app .side .partners { margin-top: 16px; padding: 0 6px; }
  .app .side .partners small { color: var(--muted); display: block; margin-bottom: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
  .app .side .plogos img { height: 30px; }
  .app .side .foot { margin-top: auto; padding: 16px 6px 0; color: #6c6c74; font-size: 11.5px; }
  .app .side .foot a:hover { color: #ccc; }

  .app .dtop { display: flex; position: absolute; left: 244px; right: 0; top: 0; height: 64px; align-items: center; gap: 12px; padding: 0 22px; z-index: 8; background: #000; }
  .app .dsearch { flex: 1; max-width: 460px; margin: 0 auto; border-radius: 22px; padding: 0 16px; }
  .app .dright { display: flex; align-items: center; gap: 10px; }
  .app .avatar img { width: 36px; height: 36px; border-radius: 50%; display: block; object-fit: cover; }
  .app .dright .vipbadge { font-size: 11px; padding: 4px 8px; }

  .wa-app .main { left: 244px; top: 64px; transition: right .25s ease; }
  .wa-app .c-open .main { right: 400px; }
  .wa-app .srcbar { top: 10px; }

  .wa-app .slide { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 0 14px; }
  .wa-app .player { position: relative; inset: auto; height: 100%; aspect-ratio: 9 / 16; border-radius: 20px; flex: none; max-width: calc(100% - 120px); }
  .wa-app .slide.land .player { height: auto; aspect-ratio: 16 / 9; width: min(900px, calc(100% - 220px)); }
  .wa-app .land .vbg, .wa-app .land .fs { display: none; }
  .wa-app .land .media { inset: 0; top: 0; transform: none; aspect-ratio: auto; }
  .wa-app .snd { top: 12px; }
  .wa-app .info { bottom: 26px; right: 16px; }
  .wa-app .prog { bottom: 4px; }
  .wa-app .rail { position: static; align-self: flex-end; margin-bottom: 18px; background: none; border: 0; padding: 0; gap: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .wa-app .rb { width: 60px; font-size: 12px; gap: 3px; }
  .wa-app .rb .ib { width: 50px; height: 50px; background: #ffffff14; }
  .wa-app .rb:hover .ib { background: #ffffff24; }
  .wa-app .vipcard .vc { bottom: 28px; }
  .wa-app .navarrows { display: flex; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 12px; z-index: 5; }
  .wa-app .navarrows button { width: 50px; height: 50px; border-radius: 50%; background: #ffffff14; display: flex; align-items: center; justify-content: center; }
  .wa-app .navarrows button:hover { background: #ffffff26; }
  .wa-app .c-open .navarrows { display: none; }
  .wa-app .zmlock { padding: 30px; }
  .wa-app .toast { bottom: 30px; }

  .wa-app #o-comments { top: 64px; left: auto; right: 0; bottom: 0; width: 400px; height: auto; max-height: none; border-radius: 0; border-left: 1px solid #ffffff14; transform: translateX(105%); z-index: 9; }
  .wa-app #o-comments.open { transform: none; }
  .wa-app #o-comments .grab { display: none; }
  .wa-app .c-open .scrim { opacity: 0; pointer-events: none; }
  .wa-app #o-more, .wa-app #o-pass { left: 50%; right: auto; bottom: auto; top: 50%; border-radius: 18px; transform: translate(-50%, -46%); opacity: 0; pointer-events: none; overflow: hidden; }
  .wa-app #o-more { width: 380px; padding-bottom: 0; }
  .wa-app #o-pass { width: 440px; border: 1px solid #c9962b55; }
  .wa-app #o-more.open, .wa-app #o-pass.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
  .wa-app #o-more .grab, .wa-app #o-pass .grab { display: none; }
  .wa-app #o-pdv { inset: auto; left: 50%; top: 50%; width: 580px; max-height: 92%; border-radius: 22px; border: 1px solid #c9962b55; transform: translate(-50%, -46%); opacity: 0; pointer-events: none; }
  .wa-app #o-pdv.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
  .wa-app #o-pdv .why { grid-template-columns: 1fr 1fr; }
  .wa-app #o-pdv .why li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wa-app .close-x { top: 12px; }

  .wa-app .page { padding: 24px 32px 40px; }
  .wa-app .grid3 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .wa-app .tile { border-radius: 12px; }
  .wa-app .cats { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
  .wa-app .cat { height: 90px; }
}
/* desktop étroit : barre latérale réduite aux icônes */
@container app (min-width: 900px) and (max-width: 1179px) {
  .app .side { width: 80px; align-items: center; padding: 18px 8px; }
  .app .side .lbl, .app .side .promo, .app .side .partners, .app .side .foot, .app .brand .logo { display: none; }
  .app .logo-mini { display: block; }
  .app .brand { padding: 0 0 16px; }
  .app .sn { justify-content: center; padding: 11px; }
  .app .dtop, .wa-app .main, .app .pmain { left: 80px; }
}

/* ================= Pages classiques (connexion, profil, messages…) ================= */
.wa-pagewrap { top: var(--wp-admin--admin-bar--height, 0px); }
.app .pmain { position: absolute; inset: 0; }
.app .ptop { position: absolute; top: 0; left: 0; right: 0; height: 56px; padding: 0 14px; display: flex; align-items: center; background: #000; border-bottom: 1px solid #ffffff12; z-index: 5; }
.app .pscroll { position: absolute; inset: 56px 0 0; overflow-y: auto; padding: 16px 12px calc(100px + var(--safe-b)); background: #0b0b0d; }
.wa-content { max-width: 1200px; margin: 0 auto; background: #fff; color: #1b1b1f; border-radius: 18px; padding: 22px 20px; line-height: 1.6; font-size: 15px; }
/* Profil, compte, connexion (Ultimate Member) et messagerie (Better Messages) : toute la largeur disponible. */
.wa-content.wa-wide { max-width: none; }
.wa-content.wa-flush { padding: 0; overflow: hidden; min-height: 100%; }
.wa-content h1 { font-size: 24px; margin: 0 0 16px; line-height: 1.25; }
.wa-content a { color: #d65a00; }
.wa-content img { max-width: 100%; height: auto; }
.wa-content input, .wa-content textarea, .wa-content select { max-width: 100%; }
.wa-content .btn-accent { color: #fff; }
.wa-list { padding-left: 18px; }
.wa-empty { text-align: center; }
@container app (min-width: 900px) {
  .app .pmain { left: 244px; top: 64px; }
  .app .ptop { display: none; }
  .app .pscroll { inset: 0; padding: 24px 32px 40px; }
  .wa-content { padding: 30px 34px; }
  .wa-content.wa-flush { padding: 0; }
  .app .pscroll:has(.wa-flush) { padding: 16px; }
}
@container app (min-width: 900px) and (max-width: 1179px) {
  .app .pmain { left: 80px; }
}

/* ================= Liens légaux (repliés derrière « Conditions générales », comme TikTok) ================= */
.app .legal { color: #6c6c74; font-size: 11.5px; line-height: 1.6; }
.app .legal a, .app .legal button { color: inherit !important; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.app .legal a:hover, .app .legal button:hover, .app .legal summary:hover { color: #ccc !important; text-decoration: underline; }
.app .legal details { margin-top: 6px; }
.app .legal summary { cursor: pointer; list-style: none; font-weight: 600; color: #8a8a93; }
.app .legal summary::-webkit-details-marker { display: none; }
.app .legal summary::after { content: " ▾"; font-size: 10px; }
.app .legal details[open] summary::after { content: " ▴"; }
.app .legal .lg-links { margin-top: 6px; display: grid; gap: 6px; }
.app .legal .lg-b, .app .legal .lg-b * { color: inherit !important; background: none !important; font-size: inherit !important; font-weight: 400 !important; text-align: left !important; margin: 0 !important; padding: 0 !important; line-height: 1.6 !important; }
.app .legal .lg-copy { margin-top: 6px; }
.app .legal.in-page { margin: 28px 0 8px; padding-top: 14px; border-top: 1px solid #ffffff14; }
@container app (min-width: 1180px) {
  .app .legal.pfoot { display: none; } /* la barre latérale complète les affiche déjà */
}

/* ================= Bandeau cookies (hors du conteneur .app : media queries) ================= */
.wa-cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; font-family: Outfit, system-ui, sans-serif; }
.wa-cc[hidden] { display: none; }
.wa-cc .wa-cc-in { pointer-events: auto; max-width: 560px; margin: 0 auto; max-height: calc(100vh - 24px); overflow-y: auto; background: #17171b; color: #ededf1; border: 1px solid #2a2a2f; border-radius: 20px; padding: 18px; box-shadow: 0 18px 60px #000c; }
.wa-cc .wa-cc-t { display: block; font-size: 17px; margin-bottom: 6px; }
.wa-cc p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #b9b9c2; }
.wa-cc a { color: #ff8a33 !important; text-decoration: underline; }
.wa-cc .wa-cc-detail { display: none; margin-bottom: 12px; }
.wa-cc.detail .wa-cc-detail { display: block; }
.wa-cc .wa-cc-opt { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 12px 0; border-top: 1px solid #2a2a2f; cursor: pointer; }
.wa-cc .wa-cc-opt b { display: block; font-size: 14px; color: #ededf1; }
.wa-cc .wa-cc-opt small { display: block; font-size: 12px; line-height: 1.45; color: #9b9ba4; margin-top: 3px; }
.wa-cc .wa-cc-opt input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 44px; height: 26px; border-radius: 13px; background: #3a3a40; position: relative; cursor: pointer; margin: 2px 0 0; transition: background .2s; }
.wa-cc .wa-cc-opt input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.wa-cc .wa-cc-opt input:checked { background: #ff6a00; }
.wa-cc .wa-cc-opt input:checked::after { transform: translateX(18px); }
.wa-cc .wa-cc-opt input:focus-visible { outline: 2px solid #ff8a33; outline-offset: 2px; }
.wa-cc .wa-cc-note { font-size: 11.5px; color: #7d7d86; border-top: 1px solid #2a2a2f; padding-top: 10px; margin: 0; }
.wa-cc .wa-cc-btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* « Tout refuser » et « Tout accepter » : même taille, même poids (exigence CNIL). */
.wa-cc .wa-cc-btns button { flex: 1 1 0; min-width: 120px; padding: 11px 14px; border-radius: 12px; border: 0; font: 700 14px/1.2 Outfit, system-ui, sans-serif; background: #ff6a00; color: #fff; cursor: pointer; }
.wa-cc .wa-cc-btns .wa-cc-more { flex: 1 1 100%; order: 3; background: none; color: #b9b9c2; font-weight: 600; text-decoration: underline; padding: 6px; }
.wa-cc .wa-cc-btns .wa-cc-save { display: none; flex: 1 1 100%; order: 3; background: #2a2a2f; }
.wa-cc.detail .wa-cc-more { display: none; }
.wa-cc.detail .wa-cc-save { display: block; }
@media (min-width: 900px) {
  .wa-cc { left: auto; right: 16px; bottom: 16px; width: 440px; padding: 0; }
}

/* ================= Menu « Informations légales » (bouton à 9 points) ================= */
.app .wa-lg-btn { color: #fff; }
.app .wa-lg-btn svg.i { width: 20px; height: 20px; }
.app .ptop .wa-lg-btn { margin-left: auto; }
.wa-app .mtop { gap: 4px; }
@container app (min-width: 1180px) {
  .app .dtop .wa-lg-btn { display: none; } /* la barre latérale complète affiche déjà les liens */
}
.wa-lg { position: fixed; inset: 0; z-index: 9980; font-family: Outfit, system-ui, sans-serif; }
.wa-lg[hidden] { display: none; }
.wa-lg-scrim { position: absolute; inset: 0; background: #0009; }
.wa-lg-in { position: absolute; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #17171b; color: #ededf1; border: 1px solid #2a2a2f; border-radius: 20px; padding: 14px; box-shadow: 0 18px 60px #000c; }
.wa-lg-h { display: flex; align-items: center; justify-content: space-between; }
.wa-lg-h b { font-size: 16px; }
.wa-lg-x { background: none; border: 0; color: #ededf1; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }
.wa-lg-x svg.i { width: 20px; height: 20px; }
.wa-lg-g { color: #9b9ba4; font-size: 12px; margin: 12px 2px 8px; }
.wa-lg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wa-lg-t { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 76px; padding: 10px 6px; border-radius: 14px;
  background: #222228; border: 0; color: #ededf1 !important; font: 500 12px/1.25 Outfit, system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.wa-lg-t:hover { background: #2c2c33; }
.wa-lg-t svg.i { width: 22px; height: 22px; color: #ff8a33; }
.wa-lg-t.red svg.i { color: #f09595; }
.wa-lg-f { display: flex; justify-content: space-between; margin-top: 14px; color: #7d7d86; font-size: 11.5px; }
@media (min-width: 900px) {
  .wa-lg-scrim { background: transparent; }
  .wa-lg-in { left: auto; right: 16px; bottom: auto; top: var(--lg-top, 64px); width: 340px; }
}

/* ================= Barre latérale : texte du pied de page + pages légales ================= */
.app .legal .lg-text { margin-bottom: 10px; }
.app .legal .lg-text p { margin: 0 0 8px; line-height: 1.5; }
.app .legal .lg-text a { text-decoration: underline; }
.app .legal .lg-report { display: inline-flex !important; align-items: center; gap: 6px; margin: 2px 0 6px; color: #e0e0e6 !important; font-weight: 600; }
.app .legal .lg-report svg.i { width: 15px; height: 15px; color: #f09595; }
.app .legal .lg-more { margin: 0 0 8px; }
.app .legal .lg-list { list-style: none; margin: 6px 0 0; padding: 0 0 0 2px; display: grid; gap: 4px; }
.app .plogos .ptxt { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: #ffffff14; color: #ededf1; font-weight: 700; font-size: 12.5px; }

/* ================= Pastilles entre pages légales ================= */
.app .lg-nav { position: sticky; top: -16px; z-index: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -16px -12px 14px; padding: 12px; background: #0b0b0d; }
.app .lg-nav::-webkit-scrollbar { display: none; }
.app .lg-nav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 20px; background: #1f1f25; color: #ededf1 !important; font: 600 13.5px/1.2 Outfit, system-ui, sans-serif; white-space: nowrap; text-decoration: none; }
.app .lg-nav a.on { background: #fff; color: #111 !important; }
@container app (min-width: 900px) {
  .app .lg-nav { top: -24px; margin: -24px -32px 18px; padding: 16px 32px; max-width: none; }
}

/* ================= Bêta : « Donner mon avis » et « Revenir à l'ancien site » ================= */
.app .legal .lg-beta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: #ff6a0014; }
.app .legal .lg-beta span { color: #ff9a4d; font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; width: 100%; }
.app .legal .lg-beta button, .app .legal .lg-beta a { background: none; border: 0; padding: 0; color: #ededf1 !important; font: inherit; text-decoration: underline; cursor: pointer; }
.wa-fb-p { color: #9b9ba4; font-size: 13px; margin: 6px 2px 10px; }
.wa-fb textarea { box-sizing: border-box; width: 100%; min-height: 110px; resize: vertical; background: #0f0f12; color: #ededf1; border: 1px solid #2a2a2f; border-radius: 12px; padding: 10px 12px; font: 15px/1.4 Outfit, system-ui, sans-serif; }
.wa-fb textarea:focus { outline: 0; border-color: #ff6a00; }
.wa-fb-a { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.wa-fb-s { color: #9b9ba4; font-size: 13px; }
.wa-fb-b { background: #ff6a00; color: #fff; border: 0; border-radius: 99px; padding: 11px 22px; font: 700 14px Outfit, system-ui, sans-serif; cursor: pointer; }
.wa-fb-b:disabled { opacity: .6; }
@media (min-width: 900px) {
  .wa-fb .wa-lg-scrim { background: #0009; }
  .wa-fb .wa-lg-in { top: 50%; right: auto; left: 50%; transform: translate(-50%, -50%); width: 420px; }
}

/* ================= Onglet Nouveautés : carte du post épinglé ================= */
.wa-app .stickycard .stbg { position: absolute; inset: 0; background: #222 center / cover no-repeat; }
.wa-app .stickycard h3 { font-size: 22px; }
.wa-app .mtop .pg a { padding: 5px 10px; } /* 3 onglets : Pour toi · Nouveautés · VIP */

/* ================= Vidéo indisponible (ne démarre pas au bout de 10 s ou erreur de lecture) ================= */
.wa-app .slide.unavail .play, .wa-app .slide.unavail .buffer { display: none; }
.wa-app .unavail-msg { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #000c; color: #ededf1; text-align: center; padding: 20px; }
.wa-app .unavail-msg svg.i { width: 34px; height: 34px; color: #9b9ba4; margin-bottom: 4px; }
.wa-app .unavail-msg b { font-size: 17px; }
.wa-app .unavail-msg span { color: #9b9ba4; font-size: 13px; }
.wa-app .slow-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; width: min(280px, calc(100% - 32px)); display: flex; flex-direction: column; align-items: center; gap: 6px; background: #000d; color: #ededf1; text-align: center; padding: 16px; border-radius: 14px; }
.wa-app .slow-msg b { font-size: 16px; }
.wa-app .slow-msg span { color: #9b9ba4; font-size: 13px; }
.wa-app .slow-msg div { display: flex; gap: 8px; margin-top: 6px; }
.wa-app .slow-msg button { border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; background: #ffffff1f; color: #ededf1; }
.wa-app .slow-msg button[data-slow="retry"] { background: #ededf1; color: #111; }

/* ================= Vrais liens (SEO) : tags, titre, vignettes — même apparence que les anciens boutons ================= */
.wa-app .tags a { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 10px; background: #ffffff24; text-shadow: none; }
.wa-app .info .title a { color: inherit; text-decoration: none; }
.wa-app a.tile, .wa-app a.cat, .wa-app a.chip { text-decoration: none; color: inherit; }
