/* Gamuwa — feuille de style du site (aucune étape de build nécessaire) */
:root {
  --nuit: #1C1233;
  --nuit-2: #2A1E4A;
  --nuit-3: #3E3066;
  --braise: #FF6A2B;
  --soleil: #FFC23D;
  --sable: #FFF6EC;
  --lilas: #D9CFF0;
  --danger: #FF5C7A;
  --radius: 16px;
  --font-title: "Unbounded", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--nuit); color: var(--sable); font-family: var(--font-body); }
a { color: var(--soleil); text-decoration: none; }
a:hover { color: var(--braise); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }

/* ---------- En-tête ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px; padding: 12px 24px;
  background: rgba(28, 18, 51, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nuit-2);
}
.topbar.overlay { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(28,18,51,.85), rgba(28,18,51,0)); border: 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--sable); font-family: var(--font-title); font-weight: 700; font-size: 22px; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--sable); font-weight: 600; font-size: 15px; }
.nav a.active, .nav a:hover { background: var(--nuit-2); color: var(--sable); }
.topbar .spacer { flex: 1; }
.coins-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--nuit-2); color: var(--soleil); font-weight: 700; }

/* ---------- Boutons, formulaires ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 700; background: var(--braise); color: var(--nuit); }
.btn:hover { filter: brightness(1.08); color: var(--nuit); }
.btn.secondary { background: transparent; color: var(--sable); border: 2px solid var(--nuit-3); }
.btn.gold { background: var(--soleil); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 14px; color: var(--lilas); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--nuit-3); background: var(--nuit); color: var(--sable); font: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--braise); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; color: var(--lilas); font-size: 14px; }
.error { color: var(--danger); font-size: 14px; }
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.flash.success { background: #1f4d3a; color: #c9f7dc; }
.flash.error { background: #5a1f2e; color: #ffd3dc; }

/* ---------- Pages classiques ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; }
.narrow { max-width: 480px; }
.card { background: var(--nuit-2); border-radius: 20px; padding: 24px; }
.muted { color: var(--lilas); }
.row-title { display: flex; align-items: baseline; justify-content: space-between; margin: 32px 0 12px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.grid-series { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.poster { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--nuit-2); scroll-snap-align: start; color: var(--sable); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster .meta { position: absolute; inset: auto 0 0 0; padding: 40px 10px 10px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.poster .meta strong { display: block; font-size: 15px; line-height: 1.2; }
.poster .meta span { font-size: 12px; color: var(--lilas); }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--soleil); color: var(--nuit); }
.badge.braise { background: var(--braise); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--nuit-2); color: var(--sable); font-weight: 600; font-size: 14px; border: 0; cursor: pointer; }
.chip.active { background: var(--braise); color: var(--nuit); }

/* Page série */
.series-hero { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.series-hero .poster { pointer-events: none; }
.episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-top: 16px; }
.ep { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 12px; background: var(--nuit-2); color: var(--sable); font-weight: 700; }
.ep:hover { background: var(--nuit-3); color: var(--sable); }
.ep .lock { position: absolute; top: 4px; right: 6px; font-size: 11px; color: var(--soleil); }
@media (max-width: 720px) { .series-hero { grid-template-columns: 1fr; } .series-hero .poster { max-width: 220px; } }

/* ---------- Fil vertical façon TikTok ---------- */
body.feed-page { overflow: hidden; }
.feed { position: fixed; inset: 0; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; background: #000; }
.feed::-webkit-scrollbar { display: none; }
.slide { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.slide video { height: 100%; width: 100%; max-width: calc(100dvh * 9 / 16); object-fit: cover; background: #000; }
@media (max-width: 600px) { .slide video { max-width: none; } }
.slide .poster-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(30px) brightness(.4); transform: scale(1.2); }
.slide .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 90px 28px 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.slide .info * { pointer-events: auto; }
.slide .info h2 { font-size: 20px; margin: 0 0 4px; }
.slide .info p { margin: 0; color: var(--lilas); font-size: 14px; }
.slide .info .ep-label { display: inline-block; margin-bottom: 8px; font-weight: 700; color: var(--soleil); }
.slide .side { position: absolute; right: 12px; bottom: 110px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.side button, .side a { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: #fff; cursor: pointer; font-size: 12px; font-weight: 600; }
.side .ico { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.side .ico svg { width: 26px; height: 26px; }
.side .on .ico { background: var(--braise); color: var(--nuit); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.progress div { height: 100%; width: 0; background: var(--braise); }
.tap-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border-radius: 50%; background: rgba(0,0,0,.45); display: none; align-items: center; justify-content: center; }
.slide.paused .tap-hint { display: flex; }
.sound-btn { position: fixed; z-index: 45; top: 72px; right: 16px; }
.lock-panel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: rgba(28,18,51,.82); backdrop-filter: blur(8px); }
.lock-panel h3 { font-size: 22px; }
.lock-panel .price { font-family: var(--font-title); font-size: 34px; color: var(--soleil); }
.feed-end { height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; scroll-snap-align: start; text-align: center; padding: 24px; }
.spinner { width: 42px; height: 42px; border: 4px solid var(--nuit-3); border-top-color: var(--braise); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 60; padding: 12px 20px; border-radius: 12px; background: var(--sable); color: var(--nuit); font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.4); }

/* Studio */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--nuit-3); }
.table th { color: var(--lilas); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat strong { display: block; font-family: var(--font-title); font-size: 28px; color: var(--soleil); }
.upload-bar { height: 8px; border-radius: 999px; background: var(--nuit-3); overflow: hidden; }
.upload-bar div { height: 100%; width: 0; background: var(--braise); transition: width .2s; }
.status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--nuit-3); }
.status.ready, .status.published { background: #1f4d3a; color: #c9f7dc; }
.status.failed, .status.rejected, .status.suspended { background: #5a1f2e; color: #ffd3dc; }
.status.pending, .status.processing, .status.uploading { background: #5a4510; color: #ffe9b3; }
@media (max-width: 720px) {
  .topbar { gap: 10px; padding: 10px 14px; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  .brand span { display: none; }
}

/* =====================================================================
   Version 2 — design de la maquette (accueil, fil, série, studio)
   ===================================================================== */
:root { --coeur: #FF3B5C; --ligne: rgba(255,255,255,.10); }
.nav a { position: relative; background: none !important; }
.nav a.active { color: var(--sable); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px; background: var(--braise); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--sable); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--nuit-2); color: var(--sable); }
.icon-btn svg { width: 22px; height: 22px; }

/* Accueil : bandeau */
.hero { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center; background: radial-gradient(120% 120% at 85% 20%, #7a2d5a 0%, var(--nuit-2) 45%, var(--nuit) 80%); }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,18,51,.96) 0%, rgba(28,18,51,.75) 38%, rgba(28,18,51,0) 70%), linear-gradient(0deg, var(--nuit) 0%, rgba(28,18,51,0) 30%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); max-width: 640px; margin-bottom: 18px; }
.hero p { max-width: 460px; color: var(--lilas); font-size: 17px; line-height: 1.55; white-space: pre-line; margin: 0 0 28px; }
.hero .chips { gap: 12px; }
.btn.outline { background: transparent; color: var(--sable); border: 2px solid var(--lilas); }
.btn.outline:hover { border-color: var(--soleil); color: var(--soleil); }

/* Cartes "Tendances" */
.trend-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.trend { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--nuit-2); color: var(--sable); scroll-snap-align: start; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.trend img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.trend:hover img { transform: scale(1.04); }
.trend .meta { position: absolute; inset: auto 0 0 0; padding: 50px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.trend .meta strong { display: block; font-size: 16px; line-height: 1.2; padding-right: 40px; }
.trend .meta span { font-size: 12px; color: var(--lilas); }
.trend .play { position: absolute; right: 10px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.trend .play svg { width: 14px; height: 14px; margin-left: 2px; }
.trend .badge { position: absolute; top: 10px; left: 10px; }

/* Bandeau des fonctionnalités */
.features { margin-top: 48px; padding: 28px 24px; border: 1px solid var(--nuit-3); border-radius: 24px; background: linear-gradient(180deg, rgba(42,30,74,.7), rgba(42,30,74,.3)); }
.features h2 { text-align: center; font-size: 24px; margin-bottom: 24px; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.features li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 6px 12px; font-weight: 600; font-size: 15px; }
.features li + li { border-left: 1px solid var(--nuit-3); }
.features li svg { width: 40px; height: 40px; color: var(--sable); }
.features li.hot svg { color: var(--soleil); }
@media (max-width: 760px) { .features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } .features li + li { border-left: 0; } }

/* Fil : onglets en haut + actions façon TikTok */
.feed-tabs { position: fixed; z-index: 44; top: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 22px; }
.feed-tabs a { position: relative; color: rgba(255,255,255,.75); font-weight: 600; font-size: 17px; padding: 6px 0; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.feed-tabs a.active { color: #fff; font-weight: 700; }
.feed-tabs a.active::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -4px; height: 3px; border-radius: 3px; background: var(--braise); }
.side .ico { background: none; backdrop-filter: none; width: 46px; height: 46px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.side .ico svg { width: 34px; height: 34px; }
.side .on .ico { background: none; color: var(--coeur); }
.side .follow.on .ico { color: #fff; }
.side .avatar { position: relative; margin-bottom: 6px; }
.side .avatar .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--nuit); border: 2px solid #fff; filter: none; }
.side .avatar .ico svg { width: 32px; height: 32px; }
.side .avatar .plus { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--braise); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
.side .avatar.on .plus { background: #fff; color: var(--braise); }
.more-menu { position: absolute; right: 70px; bottom: 120px; z-index: 5; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--nuit-2); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.more-menu a, .more-menu button { display: block; width: 100%; text-align: left; padding: 12px 14px; border-radius: 10px; color: var(--sable); background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; }
.more-menu a:hover, .more-menu button:hover { background: var(--nuit-3); color: var(--sable); }
.slide .info .who { display: flex; gap: 10px; align-items: flex-start; }
.slide .info .who .mini { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--nuit-3); }
.slide .info h2 { font-size: 18px; }
.slide .info h2 small { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--lilas); margin-left: 6px; }

/* Page série */
.series-cover { position: relative; min-height: 380px; display: flex; align-items: flex-end; background: var(--nuit-2) center / cover no-repeat; }
.series-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--nuit) 0%, rgba(28,18,51,.6) 45%, rgba(28,18,51,.15) 100%); }
.series-cover .inner { position: relative; z-index: 1; width: 100%; max-width: 900px; margin: 0 auto; padding: 24px; }
.series-cover h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 12px; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 14px; font-weight: 600; }
.actions-row { display: flex; gap: 12px; align-items: center; margin: 20px 0 8px; }
.actions-row .btn { flex: 1; max-width: 360px; min-height: 52px; font-size: 17px; }
.square-btn { width: 52px; height: 52px; border-radius: 14px; border: 2px solid var(--nuit-3); background: transparent; color: var(--sable); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.square-btn.on { border-color: var(--braise); color: var(--braise); }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--nuit-3); margin-top: 20px; }
.tabs button { background: none; border: 0; color: var(--lilas); font-weight: 600; font-size: 16px; padding: 12px 0; cursor: pointer; position: relative; }
.tabs button.active { color: var(--sable); }
.tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--braise); }
.ep-list { list-style: none; margin: 0; padding: 0; }
.ep-row { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; color: var(--sable); border: 2px solid transparent; }
.ep-row:hover { background: var(--nuit-2); color: var(--sable); }
.ep-row.current { border-color: var(--braise); background: rgba(255,106,43,.08); }
.ep-row .thumb { position: relative; width: 96px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--nuit-3); flex-shrink: 0; }
.ep-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-row .thumb .play { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; }
.ep-row .txt { flex: 1; min-width: 0; }
.ep-row .txt strong { display: block; font-size: 15px; }
.ep-row.current .txt strong { color: var(--braise); }
.ep-row .txt span { font-size: 13px; color: var(--lilas); }
.ep-row .bar { height: 3px; border-radius: 3px; background: var(--nuit-3); margin-top: 8px; overflow: hidden; }
.ep-row .bar div { height: 100%; background: var(--braise); }
.ep-row .state { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ep-row .state.done { border-radius: 50%; background: #2eb872; color: #fff; }
.ep-row .state.lock { color: var(--soleil); }

/* Espace créateur */
.creator-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 22px; background: linear-gradient(120deg, #4a2370 0%, #2A1E4A 60%); border: 1px solid var(--nuit-3); }
.creator-banner h2 { font-family: var(--font-body); font-weight: 600; font-size: 22px; margin: 0 0 16px; }
.creator-banner svg { width: 90px; height: 90px; flex-shrink: 0; }
.menu-list { list-style: none; margin: 20px 0 0; padding: 0; border-radius: 18px; background: var(--nuit-2); overflow: hidden; }
.menu-list a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: var(--sable); font-size: 17px; }
.menu-list li + li a { border-top: 1px solid var(--nuit-3); }
.menu-list a:hover { background: var(--nuit-3); color: var(--sable); }
.menu-list svg { width: 24px; height: 24px; flex-shrink: 0; }
.menu-list .grow { flex: 1; }
.menu-list .grow small { display: block; color: var(--lilas); font-size: 13px; }
.menu-list .money { display: block; font-family: var(--font-title); color: var(--soleil); font-size: 20px; }

/* =====================================================================
   Version 3 — templates « Site Web Public » (menu, appli, catégories, pays, concours, commentaires)
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23FFF6EC' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 8px center; color: var(--sable); border: 0; font: inherit; font-weight: 700; padding: 8px 24px 8px 8px; cursor: pointer; }
.lang-select option { background: var(--nuit-2); color: var(--sable); }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.05; }
.grid-trend { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }

/* Bloc application mobile */
.app-block { position: relative; margin-top: 44px; display: grid; grid-template-columns: 200px 1fr 300px; gap: 28px; align-items: center; padding: 28px 32px; border-radius: 26px; background: linear-gradient(120deg, #4a2370 0%, #3a1d5c 50%, #5a2a3a 100%); border: 1px solid var(--nuit-3); overflow: visible; }
.phone { width: 170px; height: 300px; margin-top: -60px; border-radius: 30px; padding: 8px; background: #0d0818; border: 2px solid #514276; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.phone-screen { width: 100%; height: 100%; border-radius: 22px; background: linear-gradient(160deg, #3b1f5e, #FF6A2B) center / cover no-repeat; }
.app-text h2 { font-size: 26px; margin-bottom: 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.app-card { padding: 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(28,18,51,.35); }
.app-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.app-card-top strong { font-size: 18px; line-height: 1.3; }
.qr { width: 96px; height: 96px; flex-shrink: 0; border-radius: 10px; background: #fff; padding: 4px; }
.qr svg { width: 100%; height: 100%; display: block; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: #000; border: 1px solid #555; color: #fff; }
.store:hover { color: #fff; border-color: var(--soleil); }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.1; }
.store small { font-weight: 500; font-size: 10px; color: #ddd; }
@media (max-width: 900px) { .app-block { grid-template-columns: 1fr; text-align: left; } .phone { display: none; } }

/* Catégories et pays */
.cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; border-radius: 16px; background: var(--nuit-2); border: 1px solid var(--nuit-3); color: var(--sable); font-weight: 600; font-size: 15px; }
.cat:hover { background: var(--nuit-3); color: var(--sable); border-color: var(--braise); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.countries { display: flex; flex-wrap: wrap; gap: 10px; }
.country { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--nuit-2); border: 1px solid var(--nuit-3); color: var(--sable); font-weight: 600; }
.country:hover { border-color: var(--braise); color: var(--sable); }

/* Concours */
.contest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 24px; }
.contest-card { display: block; border-radius: 20px; overflow: hidden; background: var(--nuit-2); border: 1px solid var(--nuit-3); color: var(--sable); }
.contest-card:hover { border-color: var(--braise); color: var(--sable); }
.contest-cover { height: 160px; background: linear-gradient(135deg, #4a2370, #FF6A2B) center / cover no-repeat; }
.contest-body { padding: 18px; }
.contest-body h2 { font-size: 20px; margin: 10px 0 6px; }
.prize { color: var(--soleil); font-weight: 700; margin: 0 0 6px; }

/* Commentaires (fil vertical) */
.comments-panel { position: fixed; z-index: 70; right: 0; top: 0; bottom: 0; width: min(420px, 100vw); display: flex; flex-direction: column; background: var(--nuit); border-left: 1px solid var(--nuit-3); box-shadow: -20px 0 50px rgba(0,0,0,.5); }
.comments-panel header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--nuit-3); }
.comments-panel header h2 { font-size: 18px; margin: 0; }
.comments-list { flex: 1; overflow-y: auto; padding: 12px 18px; list-style: none; margin: 0; }
.comments-list li { padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.comments-list strong { font-size: 14px; }
.comments-list time { font-size: 12px; color: var(--lilas); margin-left: 8px; }
.comments-list p { margin: 4px 0 0; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.comments-list .del { background: none; border: 0; color: var(--lilas); font-size: 12px; cursor: pointer; padding: 4px 0; }
.comments-form { display: flex; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--nuit-3); }
.comments-form input { flex: 1; padding: 12px 14px; border-radius: 999px; border: 2px solid var(--nuit-3); background: var(--nuit-2); color: var(--sable); font: inherit; }
.comments-form input:focus { outline: none; border-color: var(--braise); }
.season-select { appearance: none; padding: 8px 34px 8px 14px; border-radius: 10px; border: 2px solid var(--nuit-3); background: var(--nuit-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23FFF6EC' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--sable); font: inherit; font-weight: 600; }

/* v4 — bandeau d'accueil : l'image reste à droite, sans être zoomée ni coupée */
.hero { min-height: clamp(460px, 42vw, 680px); }
.hero-img { left: auto; right: 0; width: min(100%, max(60%, 900px)); background-size: cover; background-position: center 18%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.hero::after { background: linear-gradient(90deg, rgba(28,18,51,.9) 0%, rgba(28,18,51,.55) 40%, rgba(28,18,51,0) 65%), linear-gradient(0deg, var(--nuit) 0%, rgba(28,18,51,0) 25%); }
@media (max-width: 720px) { .hero-img { width: 100%; -webkit-mask-image: none; mask-image: none; background-position: center top; } }

/* v5 — affichage identique au template « Site Web Public » */
.hero h1 { white-space: pre-line; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; max-width: 780px; }
.trend-row { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; }
@media (max-width: 900px) { .trend-row { grid-auto-columns: minmax(150px, 42%); } }
.trend { aspect-ratio: 145 / 160; border: 1px solid rgba(255,255,255,.14); }
.trend img { object-position: center top; }
.trend .meta { padding: 60px 14px 14px; background: linear-gradient(transparent, rgba(20,12,36,.92) 55%); }
.trend .meta strong { font-family: var(--font-body); font-weight: 700; font-size: clamp(15px, 1.25vw, 19px); padding-right: 0; margin-bottom: 4px; }
.trend .meta span { font-size: 14px; color: rgba(255,246,236,.85); }
.trend .play { right: 12px; bottom: auto; top: 58%; width: 38px; height: 38px; background: rgba(0,0,0,.35); }
.poster { aspect-ratio: 3 / 4; }
.poster img { object-position: center top; }

/* v6 — titres en police grasse étroite, comme sur le template (le logo garde sa police) */
:root { --font-title: "Inter", system-ui, sans-serif; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
.brand { font-family: "Unbounded", system-ui, sans-serif; }
.hero h1 { font-size: clamp(34px, 3.6vw, 60px); line-height: 1.08; max-width: 820px; }
.hero-inner { padding: 56px 24px 72px; }

/* v7 — proportions du template : page plus large, bandeau plus court, image en plan large */
.container, .hero-inner, .topbar-inner { max-width: 1380px; }
.hero { min-height: clamp(400px, 36vw, 620px); align-items: flex-start; }
.hero-img { width: 58%; background-size: cover; background-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.hero::after { background: linear-gradient(90deg, rgba(28,18,51,.85) 0%, rgba(28,18,51,.35) 40%, rgba(28,18,51,0) 55%), linear-gradient(0deg, var(--nuit) 0%, rgba(28,18,51,0) 28%); }
.hero-inner { padding: clamp(32px, 4vw, 64px) 24px 48px; }
.hero h1 { font-size: clamp(30px, 3.3vw, 56px); margin-bottom: 14px; }
.hero p { font-size: clamp(15px, 1.15vw, 18px); margin-bottom: 22px; }
.home-main { margin-top: clamp(-120px, -6vw, -40px); position: relative; z-index: 2; }
@media (max-width: 720px) { .hero-img { width: 100%; } .home-main { margin-top: 0; } }
/* v7b — détails du template */
.trend-row { scrollbar-width: none; }
.trend-row::-webkit-scrollbar { display: none; }
.row-title h2 svg { width: 28px; height: 28px; }
.cat { padding: 18px 8px 14px; gap: 10px; font-size: 16px; }
.cat svg { width: 50px; height: 50px; }
.country { padding: 10px 18px; font-size: 15px; }
.country svg { width: 32px; height: 22px; border-radius: 3px; }

/* =====================================================================
   Accueil v8 — menu à gauche, lecteur vertical, contenu à droite
   ===================================================================== */
body.home2 { background: radial-gradient(90% 70% at 70% 0%, #3a1c55 0%, var(--nuit) 55%) fixed, var(--nuit); }
.h2-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; height: 84px; padding: 0 28px 0 22px; background: rgba(24,15,44,.92); backdrop-filter: blur(10px); }
.h2-brand { width: 236px; flex-shrink: 0; font-size: 30px; }
.h2-brand svg { width: 46px; height: 46px; }
.h2-search { flex: 1; max-width: 760px; margin-left: clamp(0px, 14vw, 360px); display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); color: var(--lilas); }
.h2-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--sable); font: inherit; font-size: 15px; }
.h2-search input::placeholder { color: rgba(217,207,240,.75); }
.h2-search input:focus { outline: none; }
.h2-search:focus-within { border-color: var(--braise); }
.h2-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.h2-bell { position: relative; color: var(--sable); display: inline-flex; }
.h2-bell:hover { color: var(--soleil); }
.h2-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #E6263D; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.h2-login { border-radius: 999px; padding: 10px 22px; background: linear-gradient(180deg, #FFB23D, #FF8A1F); color: #2a1300; }

.h2-shell { display: grid; grid-template-columns: 236px minmax(300px, 404px) minmax(0, 1fr); gap: 20px; padding: 0 24px 40px 0; align-items: start; }
.h2-side { position: sticky; top: 84px; height: calc(100vh - 84px); display: flex; flex-direction: column; gap: 18px; padding: 24px 16px 20px; background: rgba(20,12,38,.6); border-right: 1px solid rgba(255,255,255,.05); overflow-y: auto; }
.h2-menu { display: flex; flex-direction: column; gap: 6px; }
.h2-menu a { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border-radius: 14px; color: var(--sable); font-size: 17px; font-weight: 500; }
.h2-menu a svg { color: #c9b8ef; flex-shrink: 0; }
.h2-menu a:hover { background: rgba(255,255,255,.06); color: var(--sable); }
.h2-menu a.active { background: linear-gradient(180deg, #FF8A3D, #FF6A2B); color: #fff; font-weight: 700; box-shadow: 0 8px 22px rgba(255,106,43,.35); }
.h2-menu a.active svg { color: #fff; }
.h2-premium { margin-top: auto; padding: 18px 14px; border-radius: 16px; text-align: center; background: linear-gradient(180deg, #3d2160, #2a1748); border: 1px solid rgba(255,255,255,.08); }
.h2-premium strong { display: block; color: var(--soleil); font-size: 17px; margin: 4px 0 6px; }
.h2-premium p { margin: 0 0 12px; font-size: 14px; line-height: 1.35; }
.h2-premium .btn { border-radius: 12px; background: linear-gradient(180deg, #FFB23D, #FF8A1F); color: #2a1300; }

/* Lecteur intégré */
.mini-player { position: sticky; top: 96px; height: calc(100vh - 112px); min-height: 520px; max-height: 900px; border-radius: 22px; overflow: hidden; background: #000; border: 2px solid rgba(255,255,255,.22); box-shadow: 0 20px 60px rgba(0,0,0,.5); margin-top: 12px; }
.mini-player .feed { position: absolute; inset: 0; }
.mini-player .slide, .mini-player .feed-end { height: 100%; }
.mini-player .slide video { max-width: none; }
.mini-player .slide .poster-bg { display: none; }
.mp-top { position: absolute; z-index: 6; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(rgba(0,0,0,.45), transparent); pointer-events: none; }
.mp-top > * { pointer-events: auto; }
.mp-live, .mp-expand { color: #fff; display: inline-flex; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.mp-tabs { display: flex; gap: 26px; }
.mp-tabs button { position: relative; background: none; border: 0; padding: 4px 0; cursor: pointer; color: rgba(255,255,255,.75); font: inherit; font-size: 18px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.mp-tabs button.active { color: #fff; font-weight: 700; }
.mp-tabs button.active::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: -6px; height: 3px; border-radius: 3px; background: #fff; }
.mini-player .slide .info { padding: 90px 74px 74px 18px; background: linear-gradient(transparent, rgba(0,0,0,.8) 45%); }
.mini-player .slide .info h2 { display: flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.mini-player .mp-name { color: #fff; }
.mini-player .mp-ep { font-size: 16px; color: #fff; margin-bottom: 8px; }
.mini-player .slide .info p { color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.4; }
.mini-player .mp-see { display: flex; width: 240px; max-width: 80%; margin: 14px auto 0; border-radius: 999px; min-height: 46px; font-size: 18px; background: linear-gradient(180deg, #FFA43D, #FF7A1F); color: #2a1300; transform: translateX(28px); }
.mini-player .slide .side { right: 10px; bottom: 120px; gap: 14px; }
.mini-player .side .ico { width: 44px; height: 44px; }
.mini-player .side .ico svg { width: 36px; height: 36px; }
.mini-player .side .avatar .ico { width: 54px; height: 54px; border: 2px solid var(--braise); background: #1c1233; }
.mini-player .side .avatar .ico svg { width: 36px; height: 36px; }
.mini-player .side span:not(.ico):not(.plus) { font-size: 13px; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.mini-player .side .mp-save.on .ico { color: var(--soleil); }
.mini-player .slide .progress { display: none; }
.mini-player .sound-btn { position: static; }
.mp-controls { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px 18px 16px; }
.mp-controls button { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; display: inline-flex; }
.mp-controls button svg { width: 26px; height: 26px; }
.mp-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.35); cursor: pointer; position: relative; }
.mp-bar::before { content: ""; position: absolute; inset: -10px 0; }
#mp-bar-fill { height: 100%; width: 0; border-radius: 6px; background: #fff; }
.mini-player .lock-panel { z-index: 7; }
.mini-player .feed-end h2 { font-size: 20px; }

/* Contenu de droite */
.h2-main { min-width: 0; padding-top: 12px; }
.h2-hero { position: relative; overflow: hidden; border-radius: 22px; min-height: clamp(380px, 30vw, 470px); display: flex; align-items: center; background: linear-gradient(110deg, #2a1546 0%, #4a1f52 55%, #c2502f 100%); border: 1px solid rgba(255,255,255,.08); }
.h2-hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; background-size: cover; background-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.h2-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,18,60,.92) 0%, rgba(36,18,60,.55) 38%, rgba(36,18,60,0) 60%), linear-gradient(0deg, rgba(28,18,51,.7) 0%, rgba(28,18,51,0) 30%); pointer-events: none; }
.h2-hero-text { position: relative; z-index: 1; padding: 36px 40px; max-width: 640px; }
.h2-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.h2-logo svg { width: 86px; height: 86px; flex-shrink: 0; }
.h2-logo-word { display: block; font-family: "Unbounded", system-ui, sans-serif; font-weight: 700; font-size: 48px; line-height: 1; color: #fff; }
.h2-slogan { position: relative; display: block; margin-top: 8px; padding-left: 30px; font-size: 19px; color: #fff; }
.h2-slogan::after { content: ""; position: absolute; left: 50px; bottom: -14px; width: 120px; height: 10px; border-top: 3px solid var(--braise); border-radius: 50%; }
.h2-hero h1 { white-space: pre-line; font-size: clamp(30px, 2.6vw, 44px); line-height: 1.06; margin: 0 0 12px; letter-spacing: -0.01em; }
.h2-hero p { margin: 0 0 24px; color: #fff; font-size: 18px; white-space: pre-line; }
.h2-cta { border-radius: 999px; min-height: 56px; padding: 12px 30px; font-size: 18px; background: linear-gradient(180deg, #FFA43D, #FF7A1F); color: #2a1300; }
.h2-row-title { margin-top: 26px; }
.h2-row-title h2 { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-weight: 700; font-size: 26px; letter-spacing: 0; }
.h2-row-title h2 svg { width: 30px; height: 30px; }
.h2-h { margin-top: 30px; font-family: var(--font-body); font-weight: 700; font-size: 24px; }
.h2-cards { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
.h2-cards .trend { aspect-ratio: 185 / 228; border-radius: 16px; }
.h2-cards .trend .meta strong { font-size: clamp(15px, 1.2vw, 20px); }
.h2-cards .trend .play { top: auto; bottom: 14px; }
.h2-cards .trend .meta strong, .h2-cards .trend .meta span { padding-right: 44px; }

@media (max-width: 1280px) {
  .h2-shell { grid-template-columns: 88px minmax(280px, 360px) minmax(0, 1fr); }
  .h2-brand { width: auto; }
  .h2-search { margin-left: 0; }
  .h2-menu a span, .h2-premium p, .h2-premium strong { display: none; }
  .h2-menu a { justify-content: center; padding: 14px; }
  .h2-premium { padding: 12px 6px; }
  .h2-premium .btn { padding: 6px 8px; font-size: 12px; }
  .h2-cards { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
@media (max-width: 900px) {
  .h2-top { height: 64px; padding: 0 14px; gap: 12px; }
  .h2-brand { font-size: 22px; } .h2-brand svg { width: 36px; height: 36px; }
  .h2-search { display: none; }
  .h2-shell { grid-template-columns: 1fr; padding: 0 12px 30px; gap: 16px; }
  .h2-side { position: static; height: auto; flex-direction: row; padding: 8px 0; background: none; border: 0; overflow-x: auto; }
  .h2-menu { flex-direction: row; }
  .h2-menu a span { display: inline; }
  .h2-menu a { padding: 10px 14px; white-space: nowrap; font-size: 15px; }
  .h2-premium { display: none; }
  .mini-player { position: relative; top: 0; height: 78vh; min-height: 460px; margin: 0 auto; width: 100%; max-width: 460px; }
  .h2-hero-text { padding: 24px; }
  .h2-logo svg { width: 60px; height: 60px; } .h2-logo-word { font-size: 34px; }
  .h2-hero-img { width: 100%; opacity: .55; }
  .h2-cards { grid-auto-columns: minmax(150px, 44%); }
}
/* Flèches précédente / suivante du lecteur intégré */
.mp-nav { position: absolute; z-index: 6; right: 12px; top: 74px; display: flex; flex-direction: column; gap: 10px; }
.mp-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.mp-nav button:hover { background: var(--braise); }
.mp-nav button:disabled { opacity: .35; cursor: default; background: rgba(0,0,0,.45); }
.h2-cards .trend .meta { padding: 50px 10px 12px; }
.h2-cards .trend .meta strong { font-size: clamp(14px, 1.05vw, 18px); padding-right: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2-cards .trend .meta span { padding-right: 44px; }
.h2-cards .trend .play { width: 34px; height: 34px; right: 10px; bottom: 12px; }
/* v8b — flèches à côté du lecteur (ne cachent plus le logo), menu sans barre de défilement */
.h2-shell { grid-template-columns: 236px minmax(300px, 468px) minmax(0, 1fr); }
.mp-wrap { position: sticky; top: 96px; padding-right: 64px; margin-top: 12px; }
.mp-wrap .mini-player { position: relative; top: 0; margin-top: 0; }
.mp-nav { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); gap: 14px; }
.mp-nav button { width: 48px; height: 48px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }
.mp-nav button:disabled { background: rgba(255,255,255,.05); }
.h2-side { scrollbar-width: none; gap: 14px; padding-top: 18px; }
.h2-side::-webkit-scrollbar { display: none; }
.h2-menu a { padding: 12px 16px; }
@media (max-height: 820px) { .h2-menu a { padding: 9px 16px; } .h2-premium { padding: 12px; } .h2-premium p { display: none; } }
@media (max-width: 1280px) { .h2-shell { grid-template-columns: 88px minmax(280px, 420px) minmax(0, 1fr); } }
@media (max-width: 900px) {
  .h2-shell { grid-template-columns: 1fr; }
  .mp-wrap { position: relative; top: 0; padding-right: 0; margin: 0 auto; width: 100%; max-width: 460px; }
  .mp-nav { display: none; }
}
/* v8c — flèches dans le lecteur, juste au-dessus du logo ; boutons de droite un peu plus bas ; ligne orange menu / lecteur */
.h2-shell { grid-template-columns: 236px minmax(300px, 404px) minmax(0, 1fr); }
.mp-wrap { padding-right: 0; }
.mini-player .slide .side { bottom: 96px; }
.mp-nav { right: 24px; top: auto; bottom: 472px; transform: none; gap: 8px; z-index: 7; }
.mp-nav button { width: 38px; height: 38px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25); }
.mp-nav button svg { width: 20px; height: 20px; }
.mp-nav button:disabled { background: rgba(0,0,0,.3); }
@media (max-height: 820px) {
  .mini-player .slide .side { gap: 8px; bottom: 90px; }
  .mini-player .side .ico { width: 38px; height: 38px; }
  .mini-player .side .ico svg { width: 30px; height: 30px; }
  .mp-nav { bottom: 410px; }
}
.h2-side { border-right: 2px solid var(--braise); }
@media (max-width: 1280px) { .h2-shell { grid-template-columns: 88px minmax(280px, 360px) minmax(0, 1fr); } }
@media (max-width: 900px) { .h2-side { border-right: 0; border-bottom: 2px solid var(--braise); } }
/* Formulaires de connexion / inscription : largeur limitée et centrée */
.container.narrow { max-width: 520px; }
.studio-link { white-space: nowrap; }

/* =====================================================================
   Studio : programmation, statistiques, commentaires
   ===================================================================== */
.studio-tabs { display: flex; gap: 6px; margin: 18px 0 4px; border-bottom: 1px solid var(--nuit-3); overflow-x: auto; }
.studio-tabs a { padding: 12px 16px; color: var(--lilas); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.studio-tabs a:hover { color: var(--sable); }
.studio-tabs a.active { color: var(--sable); border-bottom-color: var(--braise); }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 16px; }
.upload-grid [hidden] { display: none; }
.status.scheduled { background: #23345e; color: #cfe0ff; }
.inline-input { width: 100%; min-width: 140px; padding: 8px 10px; border-radius: 10px; border: 2px solid var(--nuit-3); background: var(--nuit); color: var(--sable); font: inherit; font-size: 14px; }
.inline-input:focus { border-color: var(--braise); outline: none; }
.inline-input[type="datetime-local"] { color-scheme: dark; min-width: 190px; }
.ep-table td { vertical-align: top; }
.release-cell { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.release-edit { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
td.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--nuit-2); gap: 4px; }
.seg button { border: 0; background: none; color: var(--lilas); font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.seg button.active { background: var(--braise); color: var(--nuit); }
.kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.chart svg { width: 100%; height: auto; display: block; }
.stats-table td, .stats-table th { white-space: nowrap; }
.stats-table tr.clickable { cursor: pointer; }
.stats-table tr.clickable:hover, .stats-table tr.clickable:focus { background: var(--nuit-3); outline: none; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 48px; gap: 12px; align-items: center; }
.bar-row .bar { height: 10px; border-radius: 999px; background: var(--nuit-3); overflow: hidden; }
.bar-row .bar div { height: 100%; background: var(--braise); }
.menu-list .grow small { display: block; }
.comment-filters { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin: 16px 0; }
.comment-filters .field { min-width: 240px; }
.studio-comments { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.c-item { padding: 16px 18px; border-radius: 16px; background: var(--nuit-2); }
.c-item.hidden-c { opacity: .6; }
.c-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.c-head time { color: var(--lilas); font-size: 13px; }
.c-ep { margin-left: auto; font-size: 13px; }
.c-item > p { margin: 8px 0 10px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.replies { list-style: none; margin: 0 0 10px; padding: 0 0 0 16px; border-left: 2px solid var(--nuit-3); display: grid; gap: 8px; }
.replies p { margin: 4px 0 0; }
.creator-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--braise); color: var(--nuit); font-size: 11px; font-weight: 800; margin: 0 6px; }
.reply-form { display: flex; gap: 8px; margin-bottom: 10px; }
.reply-form input { flex: 1; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--nuit-3); background: var(--nuit); color: var(--sable); font: inherit; }
.reply-form input:focus { border-color: var(--braise); outline: none; }
.c-actions { display: flex; gap: 8px; }
.comments-list .replies { margin-top: 8px; }

/* Menu de gauche : « Télécharger l'app » avec QR code au survol */
.h2-getapp { position: relative; }
.h2-getapp-link { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; color: var(--sable); font-weight: 600; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.h2-getapp-link svg { color: var(--soleil); flex-shrink: 0; }
.h2-getapp-link:hover, .h2-getapp-link:focus-visible { color: var(--sable); border-color: var(--braise); background: rgba(255,106,43,.1); }
.h2-qr-pop { position: fixed; z-index: 80; left: 250px; bottom: 24px; width: 230px; padding: 16px; border-radius: 18px; background: #fff; color: #1C1233; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; }
.h2-qr-pop .qr { width: 180px; height: 180px; margin: 0 auto 10px; padding: 0; background: #fff; }
.h2-qr-pop strong { display: block; font-size: 15px; }
.h2-qr-pop span { display: block; font-size: 13px; color: #5c4d7a; margin-top: 4px; line-height: 1.35; }
.h2-getapp:hover .h2-qr-pop, .h2-getapp:focus-within .h2-qr-pop { opacity: 1; visibility: visible; transform: none; }
.app-dl-logo svg { width: 72px; height: 72px; }
@media (max-width: 1280px) { .h2-getapp-link span { display: none; } .h2-getapp-link { justify-content: center; padding: 12px; } .h2-qr-pop { left: 100px; } }
@media (max-width: 900px), (hover: none) { .h2-qr-pop { display: none; } }
@media (max-width: 900px) { .h2-getapp { display: none; } }
.h2-side { z-index: 30; } /* le QR code passe au-dessus du lecteur */

/* Trait entre le menu et le lecteur : discret, comme l'espace entre le lecteur et le bandeau */
.h2-side { border-right: 1px solid rgba(255,106,43,.22); }
@media (max-width: 900px) { .h2-side { border-right: 0; border-bottom: 1px solid rgba(255,106,43,.22); } }

/* Grand bloc d'accueil : images de fond qui changent en fondu (le texte reste) */
.h2-hero .h2-hero-img { opacity: 0; transition: opacity 1.2s ease; }
.h2-hero .h2-hero-img.is-active { opacity: 1; }
.h2-hero-chip { position: absolute; z-index: 3; right: 18px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 14px; border: 1px solid rgba(255,255,255,.2); }
.h2-hero-chip:hover { background: var(--braise); color: #fff; }
.h2-hero-chip[hidden] { display: none; }
.h2-hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.h2-hero-dots button { pointer-events: auto; width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s, background .25s; }
.h2-hero-dots button.active { width: 28px; background: var(--braise); }
@media (prefers-reduced-motion: reduce) { .h2-hero .h2-hero-img { transition: none; } }
/* Trait menu / lecteur : un peu plus marqué */
.h2-side { border-right: 1px solid rgba(255,106,43,.5); }
@media (max-width: 900px) { .h2-side { border-right: 0; border-bottom: 1px solid rgba(255,106,43,.5); } }
