:root {
  --bg-deep: #04050a;
  --panel: #10131c;
  --border: #232a3b;
  --red: #e51f2c;
  --white: #fff;
  --text-2: #9aa3b8;
  --text-3: #69718696;
  --orange: #ff9c00;
  --font-display: "Antonio", "Archivo Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --pad-l: clamp(24px, 10.4vw, 150px);
  --pad-r: clamp(24px, 8.3vw, 120px);
  --r-lead: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: #000; }
body {
  margin: 0;
  background: #000;
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h2, h3, p { margin: 0; }
.ico { flex: none; fill: currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: #000; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, #04050af5 0%, #04050a55 45%, #04050a30 100%),
    radial-gradient(ellipse 110% 110% at 88% 12%, #e51f2c3d, #e51f2c00 100%),
    radial-gradient(ellipse 90% 90% at 8% 55%, #2e6fe033, #2e6fe000 100%),
    url("../images/generated.webp") center top / cover no-repeat;
}
.hero__spacer { height: 190px; }

.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 var(--pad-r) 0 var(--pad-l);
  border-bottom: 1px solid #ff9c0047;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 46px; height: 38px; object-fit: contain; }
.brand__word { font: 700 19px/1 var(--font-display); letter-spacing: 1px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  white-space: nowrap; font: 600 12px/1 var(--font-body); letter-spacing: 1.1px; color: var(--text-2);
  transition: color .2s;
}
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__don-m, .nav__toggle { display: none; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 100px; white-space: nowrap;
  font: 700 12px/1 var(--font-body); letter-spacing: .8px; color: var(--white);
  transition: filter .2s, background .2s;
}
.pill--red { background: var(--red); }
.pill--red:hover { filter: brightness(1.15); }
.pill--ghost { box-shadow: inset 0 0 0 1px #ffffff2e; }
.pill--ghost:hover { background: #ffffff14; }

/* ---------- Live ---------- */
.live {
  display: flex; align-items: stretch; gap: 24px;
  padding: 0 var(--pad-r) 72px var(--pad-l);
}
.live__stream { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.player {
  container-type: inline-size; position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border-radius: var(--r-lead); box-shadow: inset 0 0 0 1px #ffffff1a;
}
.player__poster, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster { object-fit: cover; }
.player iframe { background: #000; }
.player iframe:not([src]) { display: none; }
#twitch-player { position: absolute; inset: 0; }
#twitch-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__offline { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.btn.btn--replays { display: none; }
.live.is-offline .player__offline { display: block; }
.live.is-offline .btn.btn--replays { display: inline-flex; }
.live.is-offline #twitch-player, .live.is-offline .player__poster { display: none; }
.live.is-loading .chat { visibility: hidden; }
#alt-player, #yt-slot { display: none; }
#yt-slot { position: absolute; inset: 0; }
#yt-slot iframe { width: 100%; height: 100%; border: 0; background: #000; }
.live[data-alt="kick"] #alt-player, .live[data-alt="youtube"] #yt-slot { display: block; }
.live.is-alt #twitch-player, .live.is-alt .note { display: none; }
.live.is-alt .player__poster { display: none; }
.meta { display: flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-body); color: var(--text-2); }
.meta .ico { color: var(--c, #9146ff); }
.ctas { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ctas__sub { display: flex; flex-direction: column; gap: 9px; }
.note { font-size: 12px; color: var(--text-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 28px; border-radius: 100px;
  font: 800 14px/1 var(--font-body); letter-spacing: .7px; color: var(--white);
  transition: filter .2s, background .2s;
}
.btn--red { background: var(--red); }
.btn--red:hover { filter: brightness(1.15); }
.btn--follow { background: color-mix(in srgb, var(--c, #9146ff) 22%, #161b27); }
.btn--follow:hover { filter: brightness(1.2); }
.btn--ghost { background: #ffffff0a; box-shadow: inset 0 0 0 1px #ffffff38; }
.btn--ghost:hover { background: #ffffff1a; }

.switcher { display: flex; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px;
  border: 0; border-radius: 100px; background: #161b27; color: var(--text-2); cursor: pointer;
  font: 800 13px/1 var(--font-body); letter-spacing: .8px; transition: background .2s, color .2s;
}
.tab:hover { background: #1d2333; color: #fff; }
.tab[aria-selected="true"] { background: color-mix(in srgb, var(--c) 15%, #161b27); color: #fff; }
.tab[aria-selected="true"] .ico, .tab[aria-selected="true"] .tab__k { color: var(--c); }
.tab .ico { fill: currentColor; }
.tab use[href="#i-twitch-o"] { fill: none; }
.tab__k { font: 700 18px/1 var(--font-display); letter-spacing: 1px; }

.chat {
  --c: #9146ff;
  flex: none; width: 356px; min-height: 540px; display: flex; flex-direction: column;
  background: #161b27; border-radius: var(--r-lead); overflow: hidden;
}
.chat__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.chat__title { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--font-body); letter-spacing: 1px; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chat__body { position: relative; flex: 1; min-height: 0; background: #0a0c13; }
.chat__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0a0c13; }
.chat__body iframe:not([src]) { display: none; }
.chat__open { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.chat__open[hidden] { display: none; }
.chat__open .btn { padding: 14px 24px; }

/* ---------- Sections ---------- */
.section { padding: 64px var(--pad-r) 64px clamp(24px, 8.3vw, 120px); border-top: 1px solid #ffffff0f; }
.section--alt { background: var(--bg-deep); }
.section--black { background: #000; padding-top: 72px; padding-bottom: 76px; }
#partenaires { padding-top: 72px; padding-bottom: 76px; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.head h2 { font: 700 40px/1.1 var(--font-display); letter-spacing: 2.5px; }
.head__note { max-width: 400px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.head--row { align-items: center; margin-bottom: 34px; }
.all {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; border-radius: 100px;
  font: 700 13px/1 var(--font-body); box-shadow: inset 0 0 0 1px #ffffff2e; transition: background .2s;
}
.all:hover { background: #ffffff14; }
.all__short { display: none; }

/* ---------- Hover : fond éclairci + lampe qui suit le curseur + pastille ↗ ---------- */
.hov {
  --mx: 50%; --my: 50%; --disc: 38px; --inset: 24px;
  position: relative; isolation: isolate;
}
.hov > * { position: relative; z-index: 1; }
.hov::before, .hov::after {
  content: ""; position: absolute; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.hov::before {
  inset: 0; border-radius: inherit; z-index: 0; opacity: 0;
  background:
    radial-gradient(circle 330px at var(--mx) var(--my), rgb(255 255 255 / .26), rgb(255 255 255 / .1) 33%, transparent 100%),
    rgb(255 255 255 / .075);
}
.hov::after {
  z-index: 2; width: var(--disc); height: var(--disc); border-radius: 50%;
  right: var(--inset); bottom: var(--inset);
  opacity: 0; transform: scale(.6);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24' fill='none' stroke='%23050505' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-5.500 5.500L5.500-5.500M-.500-5.500H5.500V.500'/%3E%3C/svg%3E") center / 62% no-repeat,
    var(--orange);
}
@media (hover: hover) {
  .hov:hover::before { opacity: 1; }
  .hov:hover::after { opacity: 1; transform: none; }
}
@media (hover: none) {
  .hov:active::before { opacity: 1; }
  .hov:active::after { opacity: 1; transform: none; }
}
.hov:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Cartes plateformes / partenaires ---------- */
.cards { display: flex; gap: 15.5px; }
.card {
  flex: 1 1 0; min-width: 0; height: 200px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  background: #161b27; border-radius: 16px; overflow: hidden;
}
.cards--partners .card { flex: 0 0 min(390px, 100%); }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__mark { width: 28px; height: 28px; margin: 7px 14px 7px 0; fill: currentColor; }
.card__mark use[href="#i-twitch-o"] { fill: none; }
.card__k { font: 700 28px/1 var(--font-display); letter-spacing: 1.6px; color: #53fc18; width: 42px; }
.card__app {
  width: 42px; height: 42px; border-radius: 10px; background: #fff url("../images/appetit-mark.webp") center / contain no-repeat;
}
.tag {
  padding: 5px 10px; border-radius: 30px; background: color-mix(in srgb, var(--c) 12%, transparent);
  font: 700 10px/1.2 var(--font-body); letter-spacing: .9px; color: var(--c);
}
.card__names { display: flex; flex-direction: column; gap: 3px; }
.card__name { font: 700 24px/1.1 var(--font-display); letter-spacing: 1.6px; }
.card__handle { font: 500 12.5px/1.4 var(--font-body); color: var(--text-2); padding-right: 54px; }
.card__handle--wrap { padding-right: 0; }

/* ---------- YouTube ---------- */
.video { display: flex; gap: 24px; align-items: flex-start; }
.video__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: #0a0c13 center / cover no-repeat; border-radius: var(--r-lead);
  box-shadow: inset 0 0 0 1px #ffffff14;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.thumb:hover img { transform: scale(1.03); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #04050a8c, #04050a00 50%, #04050ab3); }
.badge-new {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  padding: 6px 11px; border-radius: 100px; background: #f00;
  font: 800 11px/1 var(--font-body); letter-spacing: .9px;
}
.play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 76px; height: 60px; margin: -30px 0 0 -38px;
  display: grid; place-items: center; background: #ff0000e6; border-radius: 14px;
  transition: transform .2s, background .2s;
}
.thumb:hover .play { transform: scale(1.08); background: #f00; }
.play svg { width: 28px; height: 28px; fill: #fff; }
.video__title { font: 700 27px/1.15 var(--font-display); letter-spacing: 1.6px; text-transform: uppercase; }
.video__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.video__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stats { display: flex; gap: 16px; font: 500 13px/1 var(--font-body); color: var(--text-2); }
.stats span { display: inline-flex; align-items: center; gap: 6px; }
.stats svg { width: 13px; height: 13px; }
.watch {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 100px; background: #f00;
  font: 800 13px/1 var(--font-body); letter-spacing: .6px; transition: filter .2s;
}
.watch:hover { filter: brightness(1.15); }
.watch svg { width: 16px; height: 16px; fill: #fff; }

.video__side { flex: none; width: 400px; display: flex; flex-direction: column; gap: 22px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  background: #161b27; border-radius: 16px;
}
.channel.hov::after { display: none; }
.channel__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #0b0e15 url("../images/logo.webp") center / contain no-repeat; }
.channel__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.channel__text b { font: 700 15px/1.2 var(--font-body); }
.channel__text span { font-size: 12.5px; color: var(--text-2); }
.channel__sub { padding: 10px 15px; border-radius: 100px; background: #f00; font: 700 13px/1 var(--font-body); transition: filter .2s; }
.channel__sub:hover { filter: brightness(1.15); }
.playlist h3 { font: 700 11px/1 var(--font-body); letter-spacing: 1.6px; color: var(--text-2); margin-bottom: 16px; }
.playlist__list { display: flex; flex-direction: column; gap: 16px; }
.vod { display: flex; gap: 12px; }
.vod__thumb { flex: none; width: 138px; height: 78px; overflow: hidden; background: #0a0c13; }
.vod__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vod:hover .vod__thumb img { transform: scale(1.06); }
.vod__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.vod__title { font: 600 13.5px/1.35 var(--font-body); color: #e6eaf2; }
.vod:hover .vod__title { color: #fff; }
.vod__meta { font: 400 12px/1.3 var(--font-body); color: var(--text-3); }

/* ---------- Communauté ---------- */
.community {
  display: flex; flex-direction: column; gap: 26px; padding-top: 84px; padding-bottom: 84px;
  background: radial-gradient(ellipse 130% 150% at 50% 10%, #e51f2c2e, #e51f2c00 100%), #000;
}
.community__logo { width: 92px; height: 76px; object-fit: contain; }
.socials { display: flex; gap: 12px; }
.social {
  --disc: 24px; --inset: 11px;
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px 14px;
  background: #161b27; border-radius: 100px;
}
.social__badge {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c);
}
.social__badge svg { fill: currentColor; }
.social__badge--k { font: 700 17px/1 var(--font-display); letter-spacing: 1px; }
.social__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-right: 22px; }
.social__text b { font: 700 13.5px/1.3 var(--font-body); }
.social__text span { font-size: 11.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 30px var(--pad-r); background: var(--bg-deep); border-top: 1px solid #ff9c0047;
  font-size: 12.5px; color: var(--text-2);
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 34px; height: 28px; object-fit: contain; }
.footer__links { display: flex; gap: 26px; }
.footer__links a:hover { color: var(--white); }

/* ---------- Mobile ---------- */
@media (max-width: 1200px) {
  .nav__links { gap: 22px; }
  .nav__don { display: none; }
  .nav__don-m { display: inline-flex; }
}

@media (max-width: 1100px) {
  .section { padding-left: 40px; padding-right: 40px; }
  .video { flex-direction: column; }
  .video__side { width: 100%; }
  .socials { flex-wrap: wrap; }
  .social { flex: 1 1 calc(33% - 12px); }
}

@media (max-width: 1000px) {
  :root { --pad-l: 24px; --pad-r: 24px; }
  .hero__bg {
    background:
      linear-gradient(180deg, #000000f7 0%, #00000070 40%, #000000f2 100%),
      radial-gradient(ellipse 140% 120% at 85% 10%, #e51f2c3d, #e51f2c00 100%),
      url("../images/generated.webp") center top / cover no-repeat;
  }
  .hero__spacer { display: none; }

  .nav { height: 62px; border-bottom: 1px solid #ffffff14; }
  .brand { gap: 9px; }
  .brand__mark { width: 38px; height: 32px; }
  .brand__word { font-size: 17px; }
  .nav__actions { gap: 14px; }
  .nav__don, .nav__sub { display: none; }
  .nav__don-m { display: inline-flex; padding: 7px 13px; font-size: 11.5px; letter-spacing: .8px; font-weight: 800; }
  .nav__toggle { display: grid; place-items: center; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; }
  .nav__toggle .ico--close, .nav__toggle[aria-expanded="true"] .ico--open { display: none; }
  .nav__toggle[aria-expanded="true"] .ico--close { display: block; }
  .nav__links {
    position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #000000f2; backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff14;
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility .3s;
  }
  .nav__links.is-open { max-height: 320px; visibility: visible; }
  .nav__links a { padding: 16px 24px; font-size: 13px; border-top: 1px solid #ffffff0f; }

  .live { flex-direction: column; gap: 0; padding: 16px 24px 40px; }
  .live__stream { gap: 16px; }
  .player { box-shadow: inset 0 0 0 1px #ffffff1a; }
  .meta { gap: 6px; }
  .ctas { flex-direction: column; align-items: stretch; gap: 9px; }
  .ctas > * { width: 100%; }
  .btn { height: 50px; padding: 0; font-size: 13.5px; letter-spacing: .6px; }
  .note { font-size: 11.5px; }
  .tab { flex: 1 1 0; padding: 0 8px; font-size: 12px; }
  .chat { width: 100%; height: 400px; min-height: 0; margin-top: 40px; border-radius: var(--r-lead); }
  .switcher .tab { flex: 1 1 0; padding: 0 8px; font-size: 12px; }

  .section { padding: 40px 24px 44px; }
  .section--black, #partenaires { padding: 40px 24px 44px; }
  .head { flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 18px; }
  .head h2 { font-size: 32px; letter-spacing: .6px; }
  .head__note { font-size: 13.5px; max-width: none; }
  .head--row { flex-direction: row; align-items: center; margin-bottom: 16px; }
  .all { padding: 0; box-shadow: none; color: var(--orange); font-size: 12.5px; gap: 5px; }
  .all:hover { background: none; }
  .all__long { display: none; }
  .all__short { display: inline; }
  .all svg { width: 14px; height: 14px; }

  .cards { flex-direction: column; gap: 10px; }
  .card {
    flex: none; width: 100%; height: auto; flex-direction: row; align-items: center; gap: 13px;
    padding: 15px 16px; background: #161b27;
  }
  .cards--partners .card {
    flex: none; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px 13px;
  }
  .cards--partners .card__top, .cards--partners .card__names { display: contents; }
  .cards--partners .card__handle { grid-column: 1 / -1; font-weight: 500; }
  .card__top { display: contents; }
  .card__mark { width: 26px; height: 26px; margin: 0; }
  .card__k { width: 26px; font-size: 24px; text-align: center; }
  .card__names { order: 0; flex: 1; margin: 0; gap: 2px; }
  .card__name { font-size: 21px; letter-spacing: .8px; }
  .card__handle { font-size: 11.5px; padding-right: 0; }
  .tag { order: 3; padding: 4px 9px; font-size: 9.5px; letter-spacing: .7px; }
  .cards .card .card__top > :first-child { order: -1; }
  .cards--partners .card__app { width: 30px; height: 30px; border-radius: 8px; }
  .hov { --disc: 30px; --inset: 14px; }

  .video { gap: 16px; }
  .video__main { gap: 16px; }
  .thumb { box-shadow: inset 0 0 0 1px #ffffff14; }
  .badge-new { top: 10px; left: 10px; padding: 5px 9px; border-radius: 4px; font-size: 10px; }
  .play { width: 60px; height: 46px; margin: -23px 0 0 -30px; border-radius: 11px; }
  .play svg { width: 22px; height: 22px; }
  .video__title { font-size: 22px; letter-spacing: .4px; }
  .video__bar { flex-direction: column; align-items: stretch; gap: 16px; }
  .stats { gap: 14px; font-size: 12px; flex-wrap: wrap; }
  .watch { justify-content: center; height: 48px; padding: 0; font-size: 13px; }
  .channel { padding: 14px; gap: 12px; }
  .channel__avatar { width: 42px; height: 42px; }
  .channel__text b { font-size: 14px; }
  .channel__text span { font-size: 11.5px; }
  .channel__sub { padding: 9px 14px; font-size: 12.5px; }
  .video__side { gap: 16px; }
  .playlist h3 { font-size: 10.5px; margin-bottom: 14px; }
  .vod { gap: 11px; }
  .vod__thumb { width: 116px; height: 65px; }
  .vod__title { font-size: 12.5px; }
  .vod__meta { font-size: 11px; }
  .vod:nth-child(n+4) { display: none; }

  .community { padding: 44px 24px; gap: 22px; }
  .community__logo { width: 80px; height: 66px; }
  .socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .social { --disc: 22px; --inset: 10px; flex: none; padding: 12px 13px; gap: 10px; border-radius: 10px; }
  .social__badge { width: 17px; height: 17px; background: none; }
  .social__badge svg { width: 17px; height: 17px; }
  .social__badge--k { font-size: 18px; }
  .social__text { padding-right: 20px; }
  .social__text b { font-size: 13px; }
  .social__text span { font-size: 11px; }

  .footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 24px 28px; font-size: 11.5px; }
  .footer__links { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .runner__play { animation: none; }
  html { scroll-behavior: auto; }
  .hov::before, .hov::after, .thumb img, .vod__thumb img { transition: none; }
}

/* ---------- Mini-jeu hors ligne ---------- */
#runner { position: absolute; inset: 0; width: 100%; height: 100%; display: none; image-rendering: pixelated; touch-action: none; background: #04050a; cursor: pointer; }
.runner__close {
  position: absolute; z-index: 3; top: 14px; right: 14px; display: none; align-items: center; gap: 8px; border: 0; cursor: pointer;
  padding: 9px 14px; border-radius: 100px; color: #fff; font: 800 11px/1 var(--font-body); letter-spacing: .8px;
  background: #04050ab8; backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px #ffffff38; transition: background .2s;
}
.runner__close:hover { background: #ffffff26; }
.runner__play {
  position: absolute; z-index: 3; left: 50%; bottom: 5%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 20px); display: none; align-items: center; gap: 16px;
  padding: 10px 24px 10px 18px; border: 0; border-radius: 100px; cursor: pointer; color: #fff; text-align: left;
  background: var(--red); box-shadow: 0 8px 28px #e51f2c8c, inset 0 0 0 1px #ffffff40;
  animation: runner-pulse 2.2s ease-in-out infinite; transition: filter .2s;
}
.runner__play:hover { filter: brightness(1.15); animation-play-state: paused; transform: translateX(-50%) scale(1.04); }
.runner__cop { width: 48px; height: 60px; margin: -14px 0; image-rendering: pixelated; filter: drop-shadow(0 4px 0 #0000004d); }
.runner__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.runner__txt b { font: 800 14px/1.15 var(--font-body); letter-spacing: .8px; }
.runner__txt small { font: 500 11.5px/1.2 var(--font-body); color: #ffffffd9; }
@keyframes runner-pulse { 0%, 100% { box-shadow: 0 8px 28px #e51f2c8c, inset 0 0 0 1px #ffffff40; } 50% { box-shadow: 0 8px 44px #e51f2cd9, inset 0 0 0 1px #ffffff80; } }
.live.is-offline .runner__play { display: inline-flex; }
.live.is-playing #runner, .live.is-playing .runner__close { display: block; }
.live.is-playing .runner__close { display: inline-flex; }
.live.is-playing .runner__play, .live.is-playing .player__offline { display: none !important; }
@media (max-width: 760px) {
}

@container (max-width: 760px) {
  .runner__play { gap: 8px; padding: 4px 14px 4px 10px; bottom: 1.5%; }
  .runner__cop { width: 24px; height: 30px; margin: 0; }
  .runner__txt b { font-size: 10px; letter-spacing: .4px; white-space: normal; line-height: 1.2; }
  .runner__txt small, .runner__play .ico { display: none; }
}

.meta__game {
  display: none; align-items: center; gap: 6px; margin-left: auto; padding: 7px 12px; border: 0; border-radius: 100px; cursor: pointer;
  background: #161b27; color: #fff; font: 700 11.5px/1 var(--font-body); transition: background .2s;
}
.meta__game:hover { background: #e51f2c; }
.live.is-alt .meta__game { display: inline-flex; }
@media (max-width: 760px) { .meta { flex-wrap: wrap; row-gap: 8px; } .meta__game { margin-left: 0; } }

.live.is-yt-offline .player__offline { display: block; z-index: 1; }
.live.is-yt-offline .runner__play { display: inline-flex; }
.live.is-yt-offline .meta__game { display: none; }
.player__offline { z-index: 1; }

/* ---------- Page mentions légales ---------- */
.page-legal { display: flex; min-height: 100vh; flex-direction: column; }
.legal-hero { position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #000; }
.legal { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 72px var(--pad-r) 96px var(--pad-l); max-width: 760px; }
.legal h1 { font: 700 clamp(36px, 6vw, 56px)/1.05 var(--font-display); letter-spacing: 2.5px; }
.legal__soon { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: #ff9c0026; color: var(--orange); font: 800 12px/1 var(--font-body); letter-spacing: 1px; text-transform: uppercase; }
.legal__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.legal__text { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 560px; }
.legal__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal .btn { margin-top: 8px; }
.pill .back { transform: rotate(180deg); }
.footer__links a[aria-current="page"] { color: #fff; }
.legal-hero .hero__bg::after { content: ""; position: absolute; inset: 0; background: #04050ab3; }
