/* GHP, proposition 4 « REELS » : mobile d'abord, codes TikTok / Instagram.
   Palette coucher de soleil sur Moorea, fond sombre. */

:root {
  --bg: #0D0D12;
  --bg2: #17171F;
  --bg3: #232330;
  --line: rgba(255, 255, 255, .11);
  --tx: #fff;
  --mu: rgba(255, 255, 255, .74);
  --turq: #2FD4C8;
  --o: #FF7A3D;
  --r: #FF3D7F;
  --v: #7B2FF7;
  --sun: linear-gradient(135deg, #FF7A3D 0%, #FF3D7F 52%, #7B2FF7 100%);
  --hh: 58px;
  --tb: 64px;
  --sab: env(safe-area-inset-bottom, 0px);
  --ft: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --fb: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rad: 22px;
}

* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hh) + 10px);
  scroll-snap-type: y proximity;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--tx);
  font: 400 15px/1.5 var(--fb);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 38% at 12% 0%, rgba(255, 61, 127, .2), transparent 70%),
    radial-gradient(50% 40% at 100% 22%, rgba(123, 47, 247, .2), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(255, 122, 61, .13), transparent 70%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ft); line-height: 1.08; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 2px; border-radius: 8px; }
svg { flex: none; }
.on svg { fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 300; background: #fff; color: #000; padding: 8px 12px; border-radius: 10px; }
.skip:focus { top: 8px; }
.grad-t {
  background: var(--sun); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Boutons et pastilles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font: 700 14px/1 var(--fb); white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.96); }
.btn.grad { background: var(--sun); color: #fff; box-shadow: 0 8px 22px -8px rgba(255, 61, 127, .7); }
.btn.grad:hover { box-shadow: 0 10px 28px -6px rgba(255, 61, 127, .9); }
.btn.ghost { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .2); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn.on { background: var(--bg3); box-shadow: none; border: 1px solid var(--line); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: 999px; font: 700 12px/1 var(--fb); background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
}
.chip.grad { background: var(--sun); border-color: transparent; }
.chip.turq { background: var(--turq); color: #05302d; border-color: transparent; }

/* ---------- En-tete ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; height: var(--hh); z-index: 100;
  background: rgba(13, 13, 18, .82); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.hdr-in { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.hdr-search {
  display: none; flex: 1; max-width: 460px; height: 40px; align-items: center; gap: 10px; padding: 0 16px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; color: var(--mu); font-size: 14px; text-align: left;
}
.hdr-search:hover { border-color: rgba(255, 255, 255, .3); }
.hdr-ic { display: flex; align-items: center; gap: 2px; }
.ib {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  transition: background .2s, transform .15s;
}
.ib:hover { background: rgba(255, 255, 255, .1); }
.ib:active { transform: scale(.9); }
.ib .dot {
  position: absolute; top: 6px; right: 5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--sun); font: 800 10.5px/18px var(--fb); text-align: center;
}
.ib .dot[hidden] { display: none; }

/* ---------- Mise en page ---------- */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr);
  max-width: 600px; margin: 0 auto;
  padding: calc(var(--hh) + 6px) 0 calc(var(--tb) + var(--sab) + 24px);
}
.layout > * { min-width: 0; }
.side { display: none; }
.sec { padding: 26px 14px 6px; scroll-margin-top: calc(var(--hh) + 4px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 7vw, 34px); font-weight: 800; }
.sec-head p { color: var(--mu); font-size: 14px; max-width: 34ch; }
.hello { font: 700 13px/1 var(--fb); color: var(--turq); letter-spacing: .02em; margin-bottom: 6px; display: block; }

@media (min-width: 1180px) {
  .layout { grid-template-columns: 260px 520px 330px; gap: 34px; max-width: 1220px; padding: calc(var(--hh) + 14px) 16px 50px; }
  .side { display: block; position: sticky; top: calc(var(--hh) + 14px); align-self: start; max-height: calc(100vh - var(--hh) - 28px); overflow-y: auto; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .tabbar { display: none !important; }
  .hdr-search { display: flex; }
  .hdr-ic .only-m { display: none; }
  .sec { padding-left: 0; padding-right: 0; }
  body .maq { top: auto; left: 14px; bottom: 14px; width: auto; font-size: 11px; line-height: 1; padding: 8px 12px; border-radius: 999px; z-index: 90; }
}

/* ---------- Barre d'onglets (mobile) ---------- */
.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 100; height: calc(var(--tb) + var(--sab)); padding-bottom: var(--sab);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(13, 13, 18, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tabbar > * {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font: 600 10.5px/1 var(--fb); color: var(--mu); min-width: 0;
}
.tabbar .on, .tabbar [aria-current="true"] { color: #fff; }
.tabbar .tpl { width: 36px; height: 26px; border-radius: 10px; background: var(--sun); display: grid; place-items: center; color: #fff; }
.tabbar > *:active { transform: scale(.94); }

.maq {
  position: fixed; top: 10px; left: 92px; z-index: 101; width: 78px;
  font: 600 9.5px/1.15 var(--fb); padding: 4px 6px; border-radius: 10px; text-align: center;
  background: rgba(23, 23, 31, .9); border: 1px solid var(--line); color: var(--mu); backdrop-filter: blur(8px);
}
.maq:hover { color: #fff; border-color: var(--turq); }

/* ---------- Anneaux et avatars ---------- */
.ring {
  position: relative; display: block; border-radius: 50%; padding: 3px;
  background: var(--sun); background-size: 220% 220%;
}
.ring.vu { background: #3d3d4b; }
.ring .in { display: block; width: 100%; height: 100%; border-radius: 50%; padding: 3px; background: var(--bg); overflow: hidden; }
.ring .in img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av { display: inline-block; width: 42px; height: 42px; flex: none; }
.av .ring { width: 100%; height: 100%; padding: 2px; }
.av .ring .in { padding: 0; display: grid; place-items: center; color: var(--c, #fff); background: var(--bg2); font: 800 14px/1 var(--ft); }
.av.lg { width: 96px; height: 96px; }
.av.lg .ring { padding: 4px; }
.av.lg .ring .in { background: var(--bg); }

/* ---------- Stories (barre du haut) ---------- */
.stories-sec { padding-top: 8px; }
.stories {
  display: flex; gap: 12px; overflow-x: auto; padding: 8px 14px 6px; scrollbar-width: none;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; scroll-snap-align: start; padding-top: 2px; }
.story .ring { width: 72px; height: 72px; transition: transform .2s; }
.story:hover .ring { transform: scale(1.06); }
.story:active .ring { transform: scale(.94); }
.story.live .ring { animation: flow 3.5s linear infinite; box-shadow: 0 0 0 0 rgba(255, 61, 127, .5); }
.story .sb {
  position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c); color: #fff; display: grid; place-items: center; border: 2px solid var(--bg);
}
.story .cm {
  position: absolute; top: 56px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 800 9.5px/1 var(--fb); padding: 4px 7px; border-radius: 999px; background: var(--sun); border: 2px solid var(--bg); letter-spacing: .02em;
}
.story.live .sb { top: -2px; bottom: auto; }
.story .lb { font: 600 11.5px/1.2 var(--fb); color: var(--mu); max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 6px; }
.story.live .lb, .story.cur .lb { color: #fff; }
.story.cur .ring { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--turq); }
@keyframes flow { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }
@media (min-width: 1180px) { .stories { padding-left: 0; } }

/* ---------- Sujet du mois : reel ---------- */
.months { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; scroll-behavior: smooth; }
.months::-webkit-scrollbar { display: none; }
.pill {
  flex: none; height: 40px; min-width: 62px; padding: 0 16px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line);
  font: 700 13.5px/1 var(--fb); color: var(--mu); position: relative; transition: background .25s, color .25s, transform .15s;
}
.pill:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.pill:active { transform: scale(.95); }
.pill.on { background: var(--sun); color: #fff; border-color: transparent; }
.pill.now::after { content: ""; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 2px var(--bg2); }
.pill.on.now::after { box-shadow: 0 0 0 2px #FF3D7F; background: #fff; }
.reel-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 10px; font-size: 12.5px; color: var(--mu); flex-wrap: wrap; }
.reel-tools .btn { min-height: 36px; font-size: 12.5px; padding: 0 14px; }
.reel-tools .btn.run { background: rgba(47, 212, 200, .16); border: 1px solid rgba(47, 212, 200, .5); color: var(--turq); }

.reel-stage { position: relative; height: clamp(520px, calc(100svh - var(--hh) - var(--tb) - 40px), 720px); border-radius: 26px; overflow: hidden; background: #000; isolation: isolate; box-shadow: 0 30px 60px -30px rgba(255, 61, 127, .45); }
.reel { position: absolute; inset: 0; overflow: hidden; background: #000; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.reel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pan 18s ease-in-out infinite alternate; -webkit-user-drag: none; }
@keyframes pan { from { object-position: 22% 50%; transform: scale(1.05); } to { object-position: 78% 50%; transform: scale(1.14); } }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, .12) 45%, rgba(8, 6, 14, .9) 100%); }
.reel-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.reel-info { position: absolute; left: 0; bottom: 0; right: 76px; padding: 0 0 20px 16px; z-index: 2; }
.reel-user { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; text-align: left; }
.reel-user b { font-size: 14px; display: block; line-height: 1.1; }
.reel-user small { color: rgba(255, 255, 255, .8); font-size: 12px; }
.reel-info h3 { font-size: clamp(30px, 8.4vw, 40px); font-weight: 800; line-height: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.reel-info p { margin-top: 10px; font-size: 14px; line-height: 1.42; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.reel-info .saison { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--turq); font-weight: 600; margin-top: 8px; }
.reel-info .row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.reel-info .row .btn { min-height: 42px; padding: 0 16px; }
.rail { position: absolute; right: 8px; bottom: 20px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 60px; }
.rb { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 700 12px/1 var(--fb); width: 56px; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.rb svg { width: 34px; height: 34px; padding: 5px; border-radius: 50%; background: rgba(0, 0, 0, .38); backdrop-filter: blur(6px); box-sizing: content-box; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); transition: transform .2s; }
.rb { min-height: 52px; }
.rb:hover svg { transform: scale(1.1); }
.rb:active svg { transform: scale(.88); }
.rb.on { color: var(--r); }
.rb.on[data-act="save"] { color: var(--turq); }
.disc { width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(#FF7A3D, #FF3D7F, #7B2FF7, #FF7A3D); padding: 3px; animation: spin 6s linear infinite; margin-top: 4px; }
.disc img { width: 100%; height: 100%; border-radius: 50%; background: var(--bg); object-fit: contain; padding: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hint { font-size: 12px; color: var(--mu); margin-top: 10px; text-align: center; }

/* Coeur qui explose (double tap) */
.burst { position: absolute; z-index: 20; width: 0; height: 0; pointer-events: none; }
.burst .h { position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; color: #FF3D7F; filter: drop-shadow(0 6px 18px rgba(255, 61, 127, .8)); animation: pop .85s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.burst .h svg { width: 100%; height: 100%; fill: currentColor; stroke: #fff; stroke-width: 1; }
.burst .p { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; color: #FF7A3D; opacity: 0; animation: fly .9s ease-out forwards; }
.burst .p svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
@keyframes pop { 0% { transform: scale(0) rotate(-15deg); opacity: 0; } 25% { transform: scale(1.25) rotate(6deg); opacity: 1; } 55% { transform: scale(1) rotate(0); opacity: 1; } 100% { transform: scale(1.6) translateY(-50px); opacity: 0; } }
@keyframes fly { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(var(--rt)); opacity: 0; } }

/* ---------- Fil Pour toi ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 0 12px; }
.chips::-webkit-scrollbar { display: none; }
.cp { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font: 700 13px/1 var(--fb); color: var(--mu); transition: all .2s; }
.cp:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cp.on { background: #fff; color: #0D0D12; border-color: #fff; }
.feed { display: flex; flex-direction: column; gap: 18px; }
.post { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; scroll-snap-align: start; scroll-margin-top: calc(var(--hh) + 8px); }
.post.pop-in { animation: rise .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.p-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; }
.p-head .who { flex: 1; min-width: 0; line-height: 1.2; }
.p-head .who b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-head .who small { color: var(--mu); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spons { display: inline-block; font: 800 10.5px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; border-radius: 5px; background: rgba(47, 212, 200, .18); color: var(--turq); margin-right: 6px; }
.fol { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 999px; font: 700 13px/1 var(--fb); background: var(--sun); color: #fff; flex: none; }
.fol.on { background: var(--bg3); color: var(--mu); border: 1px solid var(--line); }
.media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.media > img.m { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.media .tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; }
.media.ad { aspect-ratio: 4 / 5; }
.media.tip {
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px 24px;
  background: linear-gradient(160deg, var(--c), #17171F 135%);
}
.media.tip::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center; opacity: .3; mix-blend-mode: luminosity; }
.media.tip > * { position: relative; }
.media.tip .k { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; }
.media.tip p { font: 800 clamp(22px, 6.4vw, 30px)/1.12 var(--ft); text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.adimg { position: relative; width: 100%; height: 100%; overflow: hidden; background: #111; }
.adimg .adbg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.3); }
.adimg .adfg { position: relative; width: 100%; height: 100%; object-fit: contain; }
.p-act { display: flex; align-items: center; gap: 2px; padding: 6px 8px 0; }
.act { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; transition: transform .15s, color .2s; }
.act:hover { background: rgba(255, 255, 255, .08); }
.act:active { transform: scale(.85); }
.act.on[data-act="like"] { color: var(--r); animation: beat .4s; }
.act.on[data-act="save"] { color: var(--turq); }
.p-act .sp { flex: 1; }
@keyframes beat { 40% { transform: scale(1.3); } }
.p-body { padding: 0 14px 14px; }
.p-body .lk { font-weight: 700; font-size: 13.5px; margin: 2px 0 6px; }
.p-body h3 { font-size: 19px; font-weight: 700; line-height: 1.15; margin: 4px 0 6px; }
.p-body p { color: rgba(255, 255, 255, .86); font-size: 14.5px; }
.p-body .more { display: inline-flex; margin-top: 8px; color: var(--turq); font-weight: 700; font-size: 13.5px; align-items: center; gap: 4px; min-height: 32px; }
.p-body .cta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.loadmore { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- Conseils express ---------- */
.tips { display: flex; flex-direction: column; align-items: center; }
.tips-top { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--mu); }
.tips-top b { color: var(--turq); font: 800 20px/1 var(--ft); margin-right: 2px; }
.tstack { position: relative; width: min(100%, 360px); height: 440px; outline-offset: 6px; touch-action: pan-y; }
.tcard {
  position: absolute; inset: 0; border-radius: 28px; padding: 24px; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(165deg, var(--c), #1a1226 125%); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8); touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), opacity .3s; will-change: transform; cursor: grab;
}
.tcard::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center; opacity: .26; mix-blend-mode: luminosity; pointer-events: none; }
.tcard > * { position: relative; }
.tcard[data-pos="0"] { transform: none; z-index: 3; }
.tcard[data-pos="1"] { transform: translateY(16px) scale(.94); z-index: 2; opacity: .96; cursor: default; }
.tcard[data-pos="2"] { transform: translateY(32px) scale(.88); z-index: 1; opacity: .85; cursor: default; }
.tcard.drag { transition: none; cursor: grabbing; }
.tc-h { display: flex; align-items: center; gap: 10px; }
.tc-h .ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; backdrop-filter: blur(6px); }
.tc-h b { display: block; font: 800 12px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; }
.tc-h small { font-size: 13px; opacity: .9; }
.tc-t { margin: auto 0; font: 800 clamp(22px, 6.2vw, 27px)/1.14 var(--ft); text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.tc-f { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; opacity: .85; font-weight: 600; }
.stamp { position: absolute; top: 26px; padding: 6px 12px; border: 3px solid; border-radius: 10px; font: 800 18px/1 var(--ft); letter-spacing: .06em; opacity: 0; z-index: 4; }
.stamp.yes { right: 22px; color: #7dffb0; transform: rotate(10deg); }
.stamp.no { left: 22px; color: #ffd24a; transform: rotate(-10deg); }
.tbtns { display: flex; gap: 22px; margin-top: 58px; }
.tb { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 12.5px/1 var(--fb); color: var(--mu); }
.tb svg { width: 62px; height: 62px; padding: 17px; border-radius: 50%; background: var(--bg2); border: 2px solid; box-sizing: border-box; transition: transform .15s, background .2s; }
.tb.no svg { border-color: #ffd24a; color: #ffd24a; }
.tb.yes svg { border-color: var(--r); color: var(--r); }
.tb:hover svg { background: var(--bg3); transform: scale(1.08); }
.tb:active svg { transform: scale(.9); }
.thint { margin-top: 12px; font-size: 12.5px; color: var(--mu); text-align: center; }
.tdone { width: min(100%, 360px); min-height: 360px; border-radius: 28px; border: 1px dashed rgba(255, 255, 255, .3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px; background: var(--bg2); }
.tdone h3 { font-size: 28px; }
.tdone p { color: var(--mu); }
.tdone .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- Grille des 12 sujets ---------- */
.sgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sc { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; display: block; isolation: isolate; background: #000; transition: transform .25s, box-shadow .25s; }
.sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; z-index: -2; }
.sc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 30%, rgba(8, 6, 14, .92) 100%); }
.sc:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -16px var(--c); }
.sc:hover img { transform: scale(1.08); }
.sc .mo { position: absolute; top: 10px; left: 10px; }
.sc .ico { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; }
.sc .tx { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.sc h3 { font-size: 18px; font-weight: 800; line-height: 1.05; }
.sc small { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.sc.rv.in:hover { transform: translateY(-4px); }
.sc.now::before { content: ""; position: absolute; inset: 0; border-radius: 20px; border: 3px solid var(--turq); z-index: 2; pointer-events: none; }

/* ---------- Pros ---------- */
.pros { display: flex; flex-direction: column; gap: 8px; }
.pro { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; }
.pro .pi { flex: 1; min-width: 0; line-height: 1.25; }
.pro .pi b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro .pi small { color: var(--mu); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro.flash { animation: flash 2.4s; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 3px var(--turq); } 100% { box-shadow: 0 0 0 3px transparent; } }
.pro .av { width: 46px; height: 46px; }

/* ---------- Reseaux sociaux ---------- */
.soc-cards { display: grid; gap: 12px; }
.soc { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; }
.soc::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .13); z-index: -1; }
.soc .lg { width: 54px; height: 54px; flex: none; border-radius: 17px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.soc .lg svg { width: 30px; height: 30px; }
.soc .tx { flex: 1; min-width: 0; line-height: 1.2; }
.soc .tx b { font: 800 19px/1 var(--ft); display: block; }
.soc .tx small { opacity: .92; font-size: 12.5px; }
.soc .nb { font: 800 26px/1.1 var(--ft); display: block; margin-top: 4px; }
.soc .nb small { font: 600 12px var(--fb); margin-left: 4px; opacity: .92; }
.soc .btn { background: #fff; color: #111; min-height: 40px; padding: 0 16px; }
.soc.fb { background: linear-gradient(135deg, #1877F2, #0a4fb5); }
.soc.ig { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); }
.soc.tt { background: linear-gradient(135deg, #111, #1d1d24); border: 1px solid rgba(255, 255, 255, .2); }
.soc.tt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(37, 244, 238, .35), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(254, 44, 85, .35), transparent 60%); }
.soc-note { font-size: 11.5px; color: var(--mu); margin: 10px 2px 0; }
.igrid-h { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; }
.igrid-h b { font: 800 16px var(--ft); }
.igrid-h small { color: var(--mu); font-size: 12.5px; }
.igrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 16px; overflow: hidden; }
.tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: block; width: 100%; background: var(--bg2); color: #fff; text-align: left; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover > img { transform: scale(1.1); }
.tile .tk { position: absolute; top: 7px; right: 7px; z-index: 2; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
.tile .th { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; background: rgba(8, 6, 14, .55); opacity: 0; transition: opacity .2s; font: 800 14px var(--fb); z-index: 2; }
.tile:hover .th, .tile:focus-visible .th { opacity: 1; }
.tile.spons::after { content: "Sponsorisé"; position: absolute; left: 6px; bottom: 6px; z-index: 2; font: 800 9px/1 var(--fb); letter-spacing: .05em; text-transform: uppercase; background: var(--turq); color: #05302d; padding: 3px 5px; border-radius: 4px; }
.tile.tipt { padding: 10px; display: flex; align-items: center; background: linear-gradient(160deg, var(--c), #17171F 140%); }
.tile.tipt p { font: 700 11.5px/1.22 var(--fb); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.tile .adimg { position: absolute; inset: 0; }

/* ---------- Annoncer ---------- */
.boost h2 { font-size: clamp(30px, 8.6vw, 42px); font-weight: 800; }
.boost .lead { color: var(--mu); margin: 8px 0 16px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font: 700 12.5px/1 var(--fb); margin-bottom: 8px; color: var(--mu); }
.field input { width: 100%; height: 50px; border-radius: 16px; background: var(--bg2); border: 1.5px solid var(--line); padding: 0 16px; color: #fff; font: 600 16px var(--fb); }
.field input:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 4px rgba(47, 212, 200, .18); }
.offers { display: grid; gap: 10px; margin-bottom: 18px; }
.offer { position: relative; text-align: left; padding: 16px 16px 14px; border-radius: 20px; background: var(--bg2); border: 1.5px solid var(--line); transition: border-color .2s, transform .2s, background .2s; display: block; width: 100%; }
.offer:hover { transform: translateY(-2px); }
.offer[aria-checked="true"] { border-color: transparent; background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--sun) border-box; border: 2px solid transparent; }
.offer .nm { font: 800 19px/1 var(--ft); }
.offer .pr { font: 800 26px/1 var(--ft); margin-top: 8px; display: block; }
.offer .pr small { font: 600 12px var(--fb); color: var(--mu); margin-left: 4px; }
.offer ul { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 5px; }
.offer li { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .88); }
.offer li svg { color: var(--turq); margin-top: 2px; }
.offer .vd { position: absolute; top: -10px; right: 14px; }
.preview-h { display: flex; align-items: center; gap: 8px; font: 800 14px var(--ft); margin: 6px 0 12px; }
.preview-h svg { color: var(--turq); }
.phone { width: min(100%, 340px); margin: 0 auto 18px; padding: 10px; border-radius: 38px; background: #050508; border: 2px solid #34344a; box-shadow: 0 30px 50px -30px rgba(123, 47, 247, .8); }
.phone .scr { border-radius: 28px; overflow: hidden; background: var(--bg); min-height: 440px; position: relative; }
.phone .notch { width: 90px; height: 22px; margin: -2px auto 6px; border-radius: 0 0 14px 14px; background: #050508; position: relative; z-index: 3; }
.pv-post .p-head { padding-top: 6px; }
.pv-post .media { aspect-ratio: 5 / 4; }
.pv-fiche { padding: 16px; display: grid; gap: 12px; }
.pv-fiche .top { display: flex; align-items: center; gap: 12px; }
.pv-fiche h4 { font-size: 20px; }
.pv-fiche .box { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 12px; font-size: 13px; color: var(--mu); display: grid; gap: 6px; }
.pv-fiche .soc-i { display: flex; gap: 8px; }
.pv-fiche .soc-i span { width: 38px; height: 38px; border-radius: 12px; background: var(--bg3); display: grid; place-items: center; }
.pv-story { position: relative; height: 470px; }
.pv-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 30%, rgba(8, 6, 14, .92)); }
.pv-story .in { position: absolute; z-index: 2; inset: 0; padding: 16px; display: flex; flex-direction: column; }
.pv-story .bars { display: flex; gap: 4px; margin: 14px 0 10px; }
.pv-story .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.pv-story .bars i:first-child { background: #fff; }
.pv-story h4 { font-size: 30px; margin: auto 0 8px; }
.stat-line { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 14px 14px; }
.stat-line span { font: 700 11.5px var(--fb); background: var(--bg3); padding: 6px 10px; border-radius: 999px; color: var(--turq); }
.boost-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Pied de page ---------- */
.ftr { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 16px calc(var(--tb) + var(--sab) + 40px); background: rgba(0, 0, 0, .3); }
.ftr-in { max-width: 620px; margin: 0 auto; display: grid; gap: 16px; text-align: center; justify-items: center; }
.ftr img { height: 46px; width: auto; }
.ftr p { color: var(--mu); font-size: 14px; }
.ftr nav { display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: center; font-weight: 600; font-size: 14px; }
.ftr nav a:hover { color: var(--turq); }
.ftr .ico-row { display: flex; gap: 10px; }
.ftr .ico-row a { width: 44px; height: 44px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, transform .2s; }
.ftr .ico-row a:hover { background: var(--sun); transform: translateY(-3px); }
.ftr small { color: rgba(255, 255, 255, .6); font-size: 12px; }
@media (min-width: 1180px) { .ftr { padding-bottom: 50px; } }

/* ---------- Barres laterales (bureau) ---------- */
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; padding: 16px; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 12px; font-weight: 800; }
.snav { display: grid; gap: 2px; }
.snav h3 { font: 800 12px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); margin: 14px 10px 6px; }
.sn { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 14px; font-weight: 600; font-size: 14.5px; transition: background .2s; }
.sn:hover { background: rgba(255, 255, 255, .07); }
.sn[aria-current="page"] { background: rgba(255, 255, 255, .1); }
.sn .si { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--c, var(--bg3)); color: #fff; flex: none; }
.sn small { display: block; color: var(--mu); font-size: 11.5px; font-weight: 500; line-height: 1.1; }
.sn.now .si { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--turq); }
.side-soc { display: flex; gap: 8px; padding: 12px 10px; }
.side-soc a { width: 40px; height: 40px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--line); display: grid; place-items: center; }
.side-soc a:hover { background: var(--sun); }
.adbox { position: relative; }
.adbox .lbl { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; color: var(--mu); }
.adbox .adimg { aspect-ratio: 4 / 5; border-radius: 16px; transition: opacity .4s; }
.adbox .nm { margin-top: 10px; font-size: 13px; color: var(--mu); }
.adbox .nm b { color: #fff; }
.adbox .cta { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mini-pro { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.mini-pro .av { width: 38px; height: 38px; }
.mini-pro .pi { flex: 1; min-width: 0; line-height: 1.2; }
.mini-pro .pi b { font-size: 13.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-pro .pi small { color: var(--mu); font-size: 12px; }
.mini-pro .btn { min-height: 32px; padding: 0 12px; font-size: 12.5px; }
.boost-mini { background: var(--sun); border: 0; }
.boost-mini h3 { font-size: 22px; }
.boost-mini p { font-size: 13.5px; margin-bottom: 12px; opacity: .95; }
.boost-mini .btn { background: #fff; color: #111; }

/* ---------- Feuilles (recherche, menu, favoris, publication) ---------- */
.sheet { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(5, 4, 10, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.sheet-p { position: relative; width: 100%; max-width: 560px; max-height: 94svh; background: var(--bg2); border: 1px solid var(--line); border-radius: 26px 26px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .3, 1); overflow: hidden; }
.sheet.open .sheet-bg { opacity: 1; }
.sheet.open .sheet-p { transform: none; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-h h2 { font-size: 20px; font-weight: 800; }
.sheet-b { overflow-y: auto; padding: 16px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet.big .sheet-p { height: 94svh; }
.sheet.post .sheet-b { padding: 0; }
.sheet.post .post { border: 0; border-radius: 0; }
.sheet.menu .sheet-p { height: auto; }
@media (min-width: 700px) {
  .sheet { align-items: center; }
  .sheet-p { border-radius: 26px; max-height: 88vh; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .3s, opacity .25s; }
  .sheet.open .sheet-p { transform: none; opacity: 1; }
  .sheet.big .sheet-p { height: 82vh; }
}
.sr-in { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 18px; }
.sr-in:focus-within { border-color: var(--turq); box-shadow: 0 0 0 4px rgba(47, 212, 200, .16); }
.sr-in input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; color: #fff; font: 500 16px var(--fb); }
.sr-in input:focus { outline: none; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.sr-g h3 { font: 800 12px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); margin: 18px 0 8px; display: flex; justify-content: space-between; }
.rr-w { display: flex; align-items: center; gap: 6px; border-radius: 14px; }
.rr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 14px; transition: background .2s; }
.rr:hover { background: rgba(255, 255, 255, .07); }
.rr .rt { flex: 1; min-width: 0; line-height: 1.25; }
.rr .rt b { display: block; font-size: 14.5px; overflow-wrap: anywhere; }
.rr .rt small { color: var(--mu); font-size: 12.5px; }
.rr .av { width: 40px; height: 40px; }
.rr .ico { width: 40px; height: 40px; border-radius: 13px; background: var(--bg3); display: grid; place-items: center; flex: none; color: var(--turq); }
mark { background: rgba(47, 212, 200, .28); color: #fff; border-radius: 4px; padding: 0 2px; }
.empty { text-align: center; color: var(--mu); padding: 26px 10px; }
.menu-list { display: grid; gap: 2px; }
.fav-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.fav-item p { flex: 1; font-size: 14.5px; }
.fav-item small { display: block; color: var(--mu); font-size: 12px; margin-top: 4px; }
.fav-item svg { color: var(--r); margin-top: 3px; }
.sheet-b h3.sub { font: 800 12px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); margin: 6px 0 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tb) + var(--sab) + 18px); transform: translate(-50%, 30px); z-index: 400;
  max-width: min(92vw, 440px); background: #fff; color: #111; padding: 12px 18px; border-radius: 16px;
  font: 600 14px/1.35 var(--fb); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: all .3s; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1180px) { .toast { bottom: 30px; } }

/* ---------- Visionneuse de story ---------- */
.sv { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.sv[hidden] { display: none; }
.sv.open { opacity: 1; }
.sv-bg { position: absolute; inset: 0; background: rgba(5, 4, 10, .94); backdrop-filter: blur(10px); }
.sv-frame {
  position: relative; width: 100vw; height: 100dvh; background: #000; overflow: hidden; color: #fff;
  touch-action: none; transition: transform .3s cubic-bezier(.2, .8, .3, 1), opacity .3s; user-select: none; -webkit-user-select: none;
}
.sv-frame.dragging { transition: none; }
.sv-arrow { display: none; }
@media (min-width: 700px) {
  .sv-frame { height: min(92vh, 840px); width: calc(min(92vh, 840px) * .5625); border-radius: 26px; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
  .sv-arrow { display: grid; place-items: center; position: relative; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); margin: 0 18px; }
  .sv-arrow:hover { background: rgba(255, 255, 255, .26); }
}
.sv-media { position: absolute; inset: 0; }
.sv-media > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pan 12s ease-in-out infinite alternate; }
.sv-media .blur { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(26px) brightness(.5) saturate(1.3); }
.sv-media .pubimg { position: absolute; left: 0; right: 0; top: 74px; bottom: 150px; margin: auto; width: 100%; height: calc(100% - 224px); object-fit: contain; z-index: 1; }
.sv-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, transparent 22%, transparent 46%, rgba(8, 6, 14, .92) 100%); z-index: 2; }
.sv-top { position: absolute; top: 0; left: 0; right: 0; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 0; z-index: 6; pointer-events: none; }
.sv-bars { display: flex; gap: 4px; }
.sv-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.sv-bars i b { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.sv-bars i.done b { transform: scaleX(1); }
.sv-head { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sv-head .av { width: 38px; height: 38px; }
.sv-who { flex: 1; min-width: 0; line-height: 1.2; }
.sv-who b { font-size: 14px; display: block; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.sv-who small { font-size: 12px; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.sv-b { pointer-events: auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.sv-b:hover { background: rgba(255, 255, 255, .16); }
.sv-zones { position: absolute; inset: 0; z-index: 4; cursor: pointer; }
.sv-ct { position: absolute; inset: 0; z-index: 5; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 18px calc(26px + env(safe-area-inset-bottom, 0px)); }
.sv-ct a, .sv-ct button { pointer-events: auto; }
.sv-ct > * { animation: up .5s both; }
.sv-ct > *:nth-child(2) { animation-delay: .08s; }
.sv-ct > *:nth-child(3) { animation-delay: .16s; }
.sv-ct > *:nth-child(4) { animation-delay: .24s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sv-ct .chip { align-self: flex-start; margin-bottom: 12px; }
.sv-ct h2 { font-size: clamp(32px, 9vw, 42px); font-weight: 800; line-height: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.sv-ct p { margin-top: 10px; font-size: 15.5px; line-height: 1.4; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.sv-ct .row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.sv-ct .glass { background: rgba(255, 255, 255, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .3); border-radius: 24px; padding: 20px; }
.sv-ct .glass p { font: 800 clamp(22px, 6.4vw, 28px)/1.15 var(--ft); margin: 0; }
.sv-ct .glass small { display: block; margin-top: 12px; font-size: 12.5px; opacity: .9; }
.sv-ct .sp { flex: 1; }
.sv-spons { position: absolute; top: 74px; left: 14px; z-index: 6; pointer-events: none; }
.sv-pause { position: absolute; top: 50%; left: 50%; z-index: 6; width: 70px; height: 70px; margin: -35px; border-radius: 50%; background: rgba(0, 0, 0, .5); display: grid; place-items: center; pointer-events: none; opacity: 0; transform: scale(.7); transition: all .2s; }
.sv.paused .sv-pause { opacity: 1; transform: none; }

/* ---------- Profil (categorie.html) ---------- */
.cover { position: relative; height: 170px; margin: 0 14px; border-radius: 24px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; animation: pan 20s ease-in-out infinite alternate; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 40%, rgba(13, 13, 18, .6)); }
.cover .back { position: absolute; top: 10px; left: 10px; z-index: 2; }
.prof-top { display: flex; align-items: flex-end; gap: 16px; padding: 0 20px; margin-top: -48px; position: relative; z-index: 2; }
.prof-top .av.lg .in { color: var(--c); }
.stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-bottom: 4px; }
.stats b { display: block; font: 800 22px/1 var(--ft); }
.stats small { font-size: 12.5px; color: var(--mu); }
.prof-in { padding: 14px 20px 0; }
.prof-in h1 { font-size: clamp(28px, 8vw, 36px); font-weight: 800; }
.prof-in .hd { color: var(--turq); font-weight: 600; font-size: 13.5px; margin-top: 4px; }
.prof-in .bio { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.prof-in .sai { display: flex; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--mu); align-items: flex-start; }
.prof-in .sai svg { color: var(--turq); margin-top: 1px; }
.prof-btns { display: flex; gap: 8px; margin-top: 16px; }
.prof-btns .btn { flex: 1; }
.prof-btns .btn.fix { flex: none; }
.hl { display: flex; gap: 14px; overflow-x: auto; padding: 18px 20px 6px; scrollbar-width: none; }
.hl::-webkit-scrollbar { display: none; }
.hl button { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hl .ring { width: 66px; height: 66px; background: linear-gradient(135deg, #3d3d4b, #5a5a6b); padding: 2px; }
.hl .ring .in { display: grid; place-items: center; background: var(--bg2); color: var(--c); padding: 0; }
.hl button:hover .ring { background: var(--sun); }
.hl small { font: 600 11.5px/1.2 var(--fb); color: var(--mu); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 76px; }
.tabs { position: sticky; top: var(--hh); z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; background: rgba(13, 13, 18, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.tabs button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 9px; font: 700 11.5px/1 var(--fb); color: var(--mu); border-bottom: 3px solid transparent; min-height: 54px; }
.tabs button[aria-selected="true"] { color: #fff; border-image: var(--sun) 1; border-bottom-width: 3px; border-bottom-style: solid; }
.tabs button:hover { color: #fff; }
.tabpanel { padding: 14px 14px 0; }
.tabpanel[hidden] { display: none; }
.tabpanel .igrid { border-radius: 12px; }
.tabpanel .intro { color: var(--mu); font-size: 13.5px; margin-bottom: 12px; }
.tabpanel .sgrid { margin-top: 4px; }
.ad-grid .tile { aspect-ratio: 3 / 4; }
@media (min-width: 1180px) { .cover, .prof-top, .prof-in, .tabpanel { margin-left: 0; margin-right: 0; } .cover { margin: 0; } .hl { padding-left: 0; } .tabpanel { padding-left: 0; padding-right: 0; } .prof-top, .prof-in { padding-left: 4px; padding-right: 4px; } .hl { padding-left: 4px; } }

/* ---------- Apparition au defilement ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .3, 1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
@media (max-width: 360px) {
  .reel-info { right: 68px; }
  .tstack { height: 410px; }
}
