/* PLASMIK / NOVA — direction artistique fluide, sombre et lumineuse.
   Surcouche visuelle uniquement : les comportements JS et les API restent intacts. */

:root {
  --bg: #090b0a;
  --surface: #121711;
  --raised: #1b2118;
  --line: #313b29;
  --ink: #f7f8f2;
  --muted: #aab5a5;
  --plasma: #d4ff3a;
  --plasma-ink: #101509;
  --plasma-soft: #28351b;
  --deep: #87af0b;
  --wrap: 1380px;
  --gut: clamp(20px, 4vw, 64px);
  --display: "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
}

html { scroll-padding-top: 100px; }
body {
  background: radial-gradient(ellipse 56% 42% at 81% 20%, #1b2413 0%, transparent 73%),
              radial-gradient(ellipse 45% 32% at 13% 64%, #11180e 0%, transparent 80%),
              #090b0a;
  color: var(--ink);
  letter-spacing: -.015em;
}
body::before {
  z-index: 0;
  background-image: linear-gradient(rgba(218, 255, 121, .055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(218, 255, 121, .055) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 68%, transparent 100%);
  opacity: .19;
}
body::after { z-index: 0; opacity: .55; }
body > * { position: relative; z-index: 1; }
main { isolation: isolate; }
img { user-select: none; }
::selection { background: var(--plasma); color: var(--plasma-ink); }

/* Editorial typography: clean and fluid rather than beveled. */
.disp {
  font: 800 clamp(34px, 4.5vw, 60px)/1.07 var(--sans);
  font-style: normal;
  text-transform: none;
  letter-spacing: -.058em;
}
.x3d, .x3d-lime { text-shadow: none; }
.x3d-lime { color: var(--plasma); }
.label { font: 750 11px/1.3 var(--sans); font-style: normal; letter-spacing: .17em; }
.slashes { gap: 5px; align-items: center; font-size: 10px; }
.slashes i { width: 5px; height: 5px; border-radius: 50%; transform: none; box-shadow: 0 0 13px #d4ff3a; }
.spark { width: .14em; height: .14em; border-radius: 50%; clip-path: none; margin: 0 0 .3em .15em; }

/* App-style controls and header */
.btn {
  min-height: 50px; padding: 15px 25px;
  border-radius: 100px; clip-path: none;
  font: 800 13px/1 var(--sans); font-style: normal;
  letter-spacing: .045em; box-shadow: 0 5px 26px rgba(212,255,58,.15);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(212,255,58,.28); filter: none; }
.btn.ghost { background: #21281e; border: 1px solid #46523a; box-shadow: none; }
.btn.ghost:hover { background: #2d3824; box-shadow: 0 10px 30px rgba(0,0,0,.24); }
.btn.small { min-height: 40px; padding: 10px 19px; font-size: 12px; }
.tag {
  border-radius: 100px; clip-path: none; padding: 5px 11px;
  font: 800 10px/1.5 var(--sans); font-style: normal; letter-spacing: .11em;
}
.tag.ghost { border: 1px solid #4a5840; background: #253022; color: #daebd1; }

.site-header {
  background: rgba(10, 13, 10, .72); border-bottom: 1px solid rgba(212,255,58,.13);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.site-header::after { display: none; }
.nav { height: 82px; gap: 20px; }
.brand img { height: 38px; width: auto; max-width: 188px; }
.nav-links { gap: 1px; margin-left: auto; }
.nav-links a {
  padding: 12px 15px; border-radius: 100px; font: 700 13px/1 var(--sans);
  font-style: normal; letter-spacing: .01em; text-transform: none;
  color: #c3cbbc;
}
.nav-links a:hover { color: #fff; background: rgba(212,255,58,.065); }
.nav-links a[aria-current] { color: var(--plasma); background: rgba(212,255,58,.1); }
.nav-links a[aria-current]::after { display: none; }
.nav-links a.specs {
  color: #eef3e8; background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09); margin-left: 8px; gap: 8px;
}
.nav-links a.specs:hover { background: rgba(255,255,255,.12); }
.nav-links a.specs img { width: 34px; height: 20px; object-fit: contain; }
.nav-live { margin-left: 0; }
.nav-toggle { background: #222a1f; border: 1px solid #415034; border-radius: 12px; clip-path: none; }

section { padding: clamp(70px, 8vw, 112px) 0; }
.sec-head { margin-bottom: 34px; gap: 24px; }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 61px); }
.kicker { gap: 12px; margin-bottom: 18px; }
.kicker .label { color: #a9c777; }
.sec-head .more {
  color: #e3f4b4; border: 1px solid #455237; padding: 10px 15px; border-radius: 100px;
  font: 700 12px/1.2 var(--sans); letter-spacing: .02em; text-transform: none;
}
.sec-head .more:hover { color: #111; background: var(--plasma); text-decoration: none; }
.hud::before, .hud::after { display: none; }
.empty { border-radius: 20px; background: rgba(25,31,22,.74); border: 1px dashed #495a3a; padding: 32px; }

/* Immersive landing hero */
.hero { padding: clamp(58px, 6vw, 92px) 0 0; overflow: hidden; min-height: 720px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -12% 4% 30%; pointer-events: none;
  background: radial-gradient(ellipse 42% 46% at 62% 46%, rgba(143,201,18,.19), transparent 80%);
  z-index: -1;
}
.hero-deco { display: none; }
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 15px; align-items: center; }
.hero-content { padding: 25px 0 95px; position: relative; z-index: 4; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 11px; padding: 8px 14px; border-radius: 100px;
  border: 1px solid rgba(212,255,58,.23); background: rgba(33,48,24,.48);
  color: #d3eeb1; font: 750 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase;
}
.hero-eyebrow .signal-dot { width: 7px; height: 7px; background: var(--plasma); border-radius: 50%; box-shadow: 0 0 16px #d4ff3a; }
.hero-title {
  margin: 28px 0 18px; font: 900 clamp(57px, 6.15vw, 92px)/.99 var(--sans);
  text-transform: uppercase; letter-spacing: -.075em;
  max-width: 760px; text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title .liquid-type {
  width: fit-content; max-width: 100%; color: transparent;
  background: linear-gradient(110deg, #f0ffa7 0%, #d4ff3a 54%, #9cdf02 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 22px rgba(212,255,58,.09));
}
.hero-tagline {
  margin: 0 0 18px; color: #c3d0b3; font: 750 15px/1.4 var(--sans);
  text-transform: none; font-style: normal; letter-spacing: .035em;
}
.hero-tagline b { color: var(--plasma); }
.hero p.lead { max-width: 530px; color: #aebcac; font-size: clamp(15px,1.4vw,18px); line-height: 1.75; margin-bottom: 30px; }
.hero-ctas { align-items: center; gap: 12px; }
.hero-ctas .btn { font-size: 13px; }
.hero-ctas .btn:first-child::after { content: "↗"; font-size: 18px; line-height: .7; }
.hero-ctas .btn:nth-child(2)::after { content: "→"; font-size: 18px; line-height: .7; }
.hero-proof { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; color: #8fa089; font: 700 11px/1 var(--mono); letter-spacing: .03em; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span:not(:first-child)::before { content: ""; width: 4px; height: 4px; background: #718d53; border-radius: 50%; margin-right: 4px; }
.hero-visual { min-width: 0; height: 620px; position: relative; isolation: isolate; }
.hero-visual::before {
  content: ""; position: absolute; width: 650px; height: 650px; border: 1px solid rgba(212,255,58,.11);
  border-radius: 50%; left: 50%; top: 42%; transform: translate(-50%,-50%); z-index: -1;
  box-shadow: 0 0 0 56px rgba(212,255,58,.014), 0 0 0 112px rgba(212,255,58,.009);
}
.hero-visual::after {
  content: ""; position: absolute; left: 6%; top: 6%; width: 85%; height: 88%; border-radius: 50%; z-index: -2;
  background: radial-gradient(ellipse, rgba(173,221,44,.15), transparent 68%); filter: blur(20px);
}
.hero-liquid { position: absolute; width: min(720px, 122%); max-width: none; left: 49%; top: 42%; transform: translate(-50%,-50%) rotate(-8deg); filter: drop-shadow(0 0 52px rgba(184,255,44,.13)); animation: liquid-float 8s ease-in-out infinite; }
@keyframes liquid-float { 50% { transform: translate(-50%,-52%) rotate(-5deg); } }
.hero-visual-label { position: absolute; right: 0; top: 12%; padding: 9px 13px; background: rgba(18,24,15,.78); border: 1px solid #4a5d30; border-radius: 100px; color: #d4ff3a; font: 700 11px var(--mono); letter-spacing: .09em; }
.hero-visual-label::before { content: "●"; margin-right: 8px; font-size: 8px; }
.hero-visual .live-card { position: absolute; z-index: 3; width: min(370px, 90%); left: 0; bottom: 22px; }
.hero-ribbon { border-top: 1px solid rgba(212,255,58,.13); border-bottom: 1px solid rgba(212,255,58,.13); background: rgba(21,29,16,.55); }
.hero-ribbon .wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; min-height: 72px; }
.hero-ribbon span { color: #b3c4a8; font: 700 11px/1.4 var(--mono); letter-spacing: .14em; }
.hero-ribbon span::before { content: "✳"; color: var(--plasma); margin-right: 14px; font-size: 15px; }

/* The live module remains controlled by the original Twitch script. */
.live-card { background: rgba(22,29,19,.86); border: 1px solid rgba(207,255,82,.23); border-radius: 21px; overflow: hidden; box-shadow: 0 25px 80px rgba(0,0,0,.45), 0 0 30px rgba(174,255,24,.045); backdrop-filter: blur(20px); }
.live-card .media { aspect-ratio: 2.55/1; background: #182113; }
.live-card .media .ph { background: radial-gradient(circle at 50% 25%, #313d21 0%, #161e13 64%); }
.live-card .media .ph img { width: 25%; }
.live-card .body { padding: 15px 19px 18px; }
.live-card .body .label { color: #b7cf96; }
.live-card .title { font-size: 15px; margin: 5px 0; }
.live-card .row { margin-top: 12px; }
.live-card.is-live { border-color: rgba(224,32,31,.65); }

/* Cards and repeated content */
.grid { gap: 22px; }
.vcard, .ncard { background: #151b13; border: 1px solid #303d29; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 42px rgba(0,0,0,.13); }
.vcard:hover, .ncard:hover { border-color: rgba(212,255,58,.6); box-shadow: 0 18px 46px rgba(0,0,0,.31), 0 0 0 1px rgba(212,255,58,.1); }
.vcard .thumb { background: linear-gradient(135deg,#27351f,#10160e); }
.vcard .thumb::after { background: linear-gradient(180deg, transparent 40%,rgba(5,9,6,.7)); }
.vcard .play { border-radius: 50%; clip-path: none; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.vcard .info { padding: 19px 19px 21px; gap: 12px; }
.vcard h3 { font-size: 16px; line-height: 1.5; }
.vcard.featured h3 { font: 800 clamp(19px,2vw,25px)/1.28 var(--sans); font-style: normal; letter-spacing: -.04em; }
.ncard .body { padding: 22px; gap: 14px; }
.ncard h3 { font: 800 21px/1.22 var(--sans); font-style: normal; text-transform: none; letter-spacing: -.035em; }
.ncard p { color: #b6c3b4; line-height: 1.7; }
.ncard .go a { font-style: normal; font-size: 12px; }
.news-list .ncard h3 { font-size: 26px; }
.plan { gap: 15px; }
.plan .slot { background: #1d2618; border: 1px solid #3a4b2d; border-radius: 18px; clip-path: none; padding: 20px 22px; }
.plan .slot.today { background: #2b3b1e; border-color: #a5d44d; }
.plan .d { font: 800 16px var(--sans); font-style: normal; }
.plan .h { font-size: 23px; }
.specs-block { background: linear-gradient(130deg, rgba(212,255,58,.095), rgba(22,28,19,.94) 40%, #131915); border: 1px solid #465739; border-radius: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.specs-block h2 { font-size: clamp(28px, 3.5vw, 48px); }
.specs-block p { color: #b9c7b5; line-height: 1.7; }
.soc { border-radius: 100px; clip-path: none; padding: 15px 21px; background: #1d281a; border: 1px solid #405436; font: 750 13px var(--sans); font-style: normal; }
.soc:hover { transform: translateY(-3px); }

/* Inside pages, including scheduling and player layout. */
.page-head { padding: clamp(72px,8vw,115px) 0 clamp(38px,4vw,60px); overflow: hidden; border-bottom: 1px solid rgba(212,255,58,.11); background: radial-gradient(ellipse 52% 90% at 90% 50%, rgba(149,206,23,.1), transparent 90%); }
.page-head::after { content: ""; position: absolute; width: 310px; height: 300px; top: 2%; right: max(2vw, 28px); background: url("../img/embleme.svg") no-repeat center/contain; opacity: .11; transform: rotate(-25deg); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(52px, 7.5vw, 104px); }
.page-head p { max-width: 660px; color: #bac8b2; line-height: 1.7; }
.tabs { gap: 9px; }
.tabs button { border-radius: 100px; clip-path: none; padding: 13px 23px; border: 1px solid #3c4a31; font: 750 13px var(--sans); font-style: normal; letter-spacing: .02em; background: #1c2719; }
.tabs button[aria-pressed="true"] { border-color: var(--plasma); box-shadow: 0 4px 19px rgba(212,255,58,.12); }
.live-layout { gap: 24px; }
.live-layout .player, .live-layout .chat { border: 1px solid #35442b; border-radius: 22px; overflow: hidden; }
.facade { background: radial-gradient(ellipse at 50% 30%, #293a1c, #121a11 70%); }
.modal .box { border-radius: 20px; }
.modal .frame { border-radius: 16px; overflow: hidden; }
.modal .close { border-radius: 100px; clip-path: none; }
.pnext { border-radius: 24px; border: 1px solid #445a31; border-left: 5px solid var(--g); background: linear-gradient(110deg, color-mix(in srgb,var(--g) 13%,transparent),transparent 65%), #1a2317; }
.prow { border-radius: 18px; overflow: hidden; border-color: #34432a; }
.pd { background: #222e1c; }
.pd .dd { font: 800 43px/1 var(--sans); text-shadow: none; letter-spacing: -.05em; }
.pd .dn { font-style: normal; }
.prow.vide:not(.today) .pd .dd { font-size: 26px; }
.ev { border-radius: 13px; clip-path: none; background: #26321f; }
.ev .eq { font-size: 18px; }
.adm-bar { background: rgba(14,19,13,.95); }
.arow, .adm-in, .arow input, .arow select { border-radius: 12px; }

/* Footer as a quiet, generous brand signoff. */
.site-footer { margin-top: 70px; border-top: 1px solid rgba(212,255,58,.14); background: radial-gradient(ellipse 70% 90% at 17% 100%, #1a2414, #0e120d 72%); }
.foot { gap: 55px; padding: 72px 0 62px; }
.foot img.logo { height: 44px; margin-bottom: 24px; }
.foot p { line-height: 1.8; }
.foot h4 { color: #c9d8bf; font-style: normal; letter-spacing: .15em; }
.foot ul { gap: 13px; }
.foot ul a { color: #bdc9b5; font-size: 14px; }
.foot-bottom { padding-top: 23px; border-color: #34422b; }

/* Curated motion; no animation when the visitor requests reduced motion. */
.js .rv { transform: translateY(18px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.9,.2,1); }
.js .rv.in { transform: none; }

@media (max-width: 1140px) {
  .hero-title { font-size: clamp(53px, 6.1vw, 78px); }
  .hero-visual { height: 550px; }
  .hero-visual .live-card { left: -10px; }
  .nav-links a { padding: 12px 10px; }
  .nav { gap: 12px; }
}
@media (max-width: 900px) {
  .nav { height: 74px; }
  .brand img { height: 34px; }
  .nav-links { top: 74px; border-radius: 0 0 24px 24px; padding: 14px var(--gut) 26px; background: rgba(11,16,10,.98); backdrop-filter: blur(24px); }
  .nav-links a { padding: 16px; border-bottom-color: rgba(212,255,58,.09); border-radius: 10px; }
  .nav-links a.specs { margin: 10px 0 0; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 25px 0 5px; }
  .hero-title { font-size: clamp(54px, 9.2vw, 87px); }
  .hero-visual { height: 520px; margin: 10px auto -30px; width: min(700px,100%); }
  .hero-liquid { width: min(600px, 108%); top: 43%; }
  .hero-visual .live-card { left: max(0px, 4%); bottom: 38px; }
  .hero-visual::before { width: 460px; height: 460px; }
  .hero-ribbon .wrap { justify-content: center; gap: 14px 24px; padding-top: 17px; padding-bottom: 17px; }
  .hero-ribbon span { font-size: 10px; }
  .page-head::after { right: -90px; }
}
@media (max-width: 620px) {
  .site-header { backdrop-filter: blur(12px); }
  .hero { padding-top: 28px; }
  .hero-eyebrow { font-size: 9px; }
  .hero-title { font-size: clamp(49px, 12vw, 72px); letter-spacing: -.078em; margin-top: 22px; }
  .hero-tagline { font-size: 14px; }
  .hero p.lead { font-size: 15px; }
  .hero-ctas { align-items: stretch; }
  .hero-ctas .btn { justify-content: center; flex: 1 1 175px; padding: 14px 16px; }
  .hero-proof { margin-top: 25px; font-size: 10px; }
  .hero-visual { width: 100%; height: 440px; margin-bottom: -12px; }
  .hero-liquid { width: 105%; top: 39%; left: 51%; }
  .hero-visual .live-card { width: min(310px, 90%); bottom: 15px; left: 0; }
  .hero-visual-label { top: 2%; right: -2%; font-size: 9px; }
  .hero-visual::before { width: 340px; height: 340px; top: 40%; }
  .hero-ribbon .wrap { justify-content: flex-start; }
  .hero-ribbon span { font-size: 9px; }
  .sec-head { align-items: flex-start; }
  .sec-head h2 { font-size: 38px; }
  .sec-head .more { padding: 9px 13px; }
  .grid { gap: 16px; }
  .page-head { padding-top: 65px; }
  .page-head h1 { font-size: clamp(45px, 11vw, 70px); }
  .page-head::after { width: 180px; height: 180px; top: 15%; right: -58px; }
  .news-list .ncard h3 { font-size: 22px; }
  .foot { gap: 35px; padding: 60px 0 42px; }
  .live-layout .player { min-height: 330px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-liquid { animation: none; }
  .js .rv { opacity: 1; transform: none; }
}

/* =====================================================================
   ALIGNEMENT DA « PLASMA LIQUIDE » (novembre 2026)
   Même identité que les overlays et le média kit : noir neutre, goutte lime,
   panneaux de verre, pastilles. Unbounded (titres), Space Grotesk (texte),
   JetBrains Mono (données). Pas d'italique, pas de grille, pas de gris verdâtre.
   ===================================================================== */
@font-face { font-family: "PU"; src: url("../fonts/unbounded-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "PU"; src: url("../fonts/unbounded-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "PG"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "PG"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "PM"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #0b0b0d; --surface: #131316; --raised: #1c1c21; --line: #2a2a31;
  --ink: #f4f4f5; --muted: #a1a1aa; --plasma: #d4ff3a; --plasma-ink: #0b0b0d;
  --plasma-soft: rgba(212,255,58,.12); --deep: #7da300;
  --glass: rgba(28,28,33,.72); --glass-line: rgba(255,255,255,.09);
  --display: "PU", "Arial Black", system-ui, sans-serif;
  --sans: "PG", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "PM", ui-monospace, Consolas, monospace;
}
body {
  background: radial-gradient(900px 700px at 88% -5%, rgba(212,255,58,.08), transparent 65%), #0b0b0d;
  font-family: var(--sans); font-weight: 500; letter-spacing: 0;
}
body::before { display: none; }
body::after { opacity: .5; }
body, body * { font-style: normal !important; }
::selection { color: #0b0b0d; }

/* Titres : Unbounded droit, casse normale */
.disp, .page-head h1, .sec-head h2, .pweek-head h2, .pn-title, .specs-block h2 {
  font-family: var(--display) !important; font-weight: 700 !important;
  text-transform: none !important; letter-spacing: -.035em !important; line-height: 1.04;
}
.hero-title {
  font: 700 clamp(46px, 5.4vw, 82px)/1.02 var(--display);
  text-transform: none; letter-spacing: -.04em; max-width: 720px;
}
.hero-title .liquid-type { background: none; color: var(--plasma); -webkit-background-clip: border-box; background-clip: border-box; filter: none; }
.vcard h3, .vcard.featured h3, .ncard h3, .live-card .title, .foot h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.foot h4 { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; color: var(--muted); }

/* Petits textes techniques en JetBrains Mono */
.label, .kicker .label, .hero-eyebrow, .hero-proof, .hero-ribbon span, .hero-visual-label,
.pweek-range, .pd .dm, .pn-cd, .ev .et, .ev .ek, .mono, .tag {
  font-family: var(--mono) !important; font-weight: 500 !important;
}
.tag { letter-spacing: .1em; }
.kicker .label, .live-card .body .label { color: var(--muted); }
.hero-eyebrow { color: var(--plasma); background: var(--plasma-soft); border-color: rgba(212,255,58,.35); }
.hero-tagline, .hero p.lead, .page-head p, .ncard p, .specs-block p, .foot ul a, .foot p { color: var(--muted); }
.hero-tagline { font-weight: 700; letter-spacing: 0; color: var(--ink); }
.hero-proof { color: #71717a; }
.hero-proof span:not(:first-child)::before { background: #52525b; }

/* Boutons et pastilles */
.btn, .tabs button, .nav-links a, .soc, .sec-head .more { font-family: var(--sans); font-weight: 700; letter-spacing: .02em; }
.btn { box-shadow: 0 6px 24px rgba(212,255,58,.14); }
.btn.ghost, .tabs button, .soc, .nav-toggle, .nav-links a.specs, .tag.ghost {
  background: rgba(255,255,255,.05); border: 1px solid var(--glass-line); color: var(--ink);
}
.btn.ghost:hover, .soc:hover, .nav-links a.specs:hover { background: rgba(255,255,255,.1); }
.tabs button[aria-pressed="true"] { background: var(--plasma); color: #0b0b0d; border-color: var(--plasma); }
.sec-head .more { color: var(--ink); border-color: var(--glass-line); }
.nav-links a { color: #d4d4d8; }

/* Verre : en-tête, cartes, panneaux */
.site-header { background: rgba(11,11,13,.72); border-bottom: 1px solid var(--glass-line); }
.live-card, .vcard, .ncard, .empty, .specs-block, .plan .slot, .pnext, .prow,
.live-layout .player, .live-layout .chat, .modal .box {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}
.empty { border-style: dashed; border-color: rgba(255,255,255,.14); border-radius: 22px; }
.vcard:hover, .ncard:hover { border-color: rgba(212,255,58,.5); }
.vcard .thumb, .live-card .media, .facade { background: radial-gradient(circle at 50% 30%, #1c1c21, #0b0b0d 75%); }
.live-card .media .ph { background: radial-gradient(circle at 50% 25%, #26262c 0%, #131316 64%); }
.live-card.is-live { border-color: rgba(224,32,31,.6); }
.plan .slot.today { background: rgba(212,255,58,.08); border-color: rgba(212,255,58,.55); }
.specs-block { background: linear-gradient(130deg, rgba(212,255,58,.07), transparent 45%), var(--glass); }
.hero::before { background: radial-gradient(ellipse 42% 46% at 62% 46%, rgba(212,255,58,.12), transparent 80%); }
.hero-visual::before { border-color: rgba(255,255,255,.06); box-shadow: none; }
.hero-visual::after { background: radial-gradient(ellipse, rgba(212,255,58,.12), transparent 68%); }
.hero-visual-label { background: var(--glass); border-color: var(--glass-line); }
.hero-ribbon { background: rgba(19,19,22,.6); border-color: var(--glass-line); }
.hero-ribbon span { color: var(--muted); }
.hero-ribbon span::before { content: "●"; font-size: 9px; }
.page-head { background: radial-gradient(ellipse 52% 90% at 90% 50%, rgba(212,255,58,.07), transparent 90%); border-bottom: 1px solid var(--glass-line); }
.page-head { position: relative; overflow: hidden; }
.page-head::after { opacity: .9; transform: translateY(-50%); filter: drop-shadow(0 0 40px rgba(212,255,58,.25)); width: 240px; height: 230px; top: 50%; }
.site-footer { background: radial-gradient(ellipse 70% 90% at 17% 100%, rgba(212,255,58,.05), #0b0b0d 72%); border-top: 1px solid var(--glass-line); }
.foot-bottom { border-color: var(--line); }
.adm-bar { background: rgba(11,11,13,.95); }

/* Planning */
.pnext { border-left: 1px solid var(--glass-line); background: radial-gradient(500px 260px at 100% 0%, rgba(212,255,58,.10), transparent 70%), var(--glass); }
.pn-big { display: none !important; }
.prow { border-radius: 22px; }
.prow.today { border-color: rgba(212,255,58,.55); box-shadow: 0 0 0 1px rgba(212,255,58,.25), 0 20px 60px rgba(0,0,0,.35); }
.pd { background: rgba(255,255,255,.03); }
.prow.today .pd { background: var(--plasma); color: #0b0b0d; }
.pd .dd { font: 700 40px/1 var(--display); letter-spacing: -.04em; }
.prow.vide:not(.today) .pd .dd { font-size: 24px; }
.ev { background: rgba(255,255,255,.045); border: 1px solid var(--glass-line); border-radius: 18px; }
.ev { box-shadow: none; }
.ev .ek { font-weight: 500; letter-spacing: .12em; }
.ev .eg::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--g); margin-right: 7px; vertical-align: 1px; }
.ev .eg { color: var(--muted); }
.ev .et { color: var(--plasma); }
.ev .eq { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.ev.video { background: var(--plasma-soft); border-color: rgba(212,255,58,.25); }
.pl-legend .lg { border-radius: 50%; }
/* Cadre « prochain live » centré sur la goutte (ordinateur et tablette) */
.hero-liquid { left: 50%; top: 50%; }
@keyframes liquid-float { 50% { transform: translate(-50%,-52%) rotate(-5deg); } }
.hero-visual .live-card { left: 50%; top: 50%; bottom: auto; transform: translate(-50%,-50%); }
@media (max-width: 900px) {
  .hero-visual { height: 500px; margin-top: 30px; }
  .hero-liquid { width: min(420px, 80%); height: auto; aspect-ratio: 1; top: 50%; }
}
@media (max-width: 620px) {
  .page-head::after { width: 130px; height: 125px; right: -34px; top: 46px; transform: none; opacity: .55; }
  .hero-visual { height: 600px; margin-top: 16px; }
  .hero-liquid { width: 76%; top: 25%; left: 56%; }
  .hero-visual .live-card { top: auto; bottom: 0; left: 0; transform: none; }
  .hero-title { font-size: clamp(38px, 10.5vw, 56px); letter-spacing: -.04em; }
  .page-head h1 { font-size: clamp(40px, 11vw, 64px) !important; }
  .sec-head h2 { font-size: 34px; }
}

/* ---------- Page d'administration (planning + news) ---------- */
.arow { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 22px; box-shadow: none; padding: 16px 18px; }
.arow.cancel { border-color: rgba(224,32,31,.5); }
.arow label { font: 500 11px var(--mono); letter-spacing: .12em; }
.adm-in, .arow input, .arow select, .arow textarea { border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--glass-line); color: var(--ink); font: 500 15px var(--sans); }
.arow textarea { width: 100%; padding: 12px 14px; resize: vertical; min-height: 104px; line-height: 1.5; color-scheme: dark; }
.arow textarea:focus { outline: 2px solid var(--plasma); outline-offset: 0; border-color: var(--plasma); }
.arow .del { border-radius: 12px; clip-path: none; background: rgba(255,255,255,.06); }
.adm-empty { border-radius: 18px; border-color: rgba(255,255,255,.14); }
.nrow { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.nimg { display: flex; flex-direction: column; gap: 10px; }
.nimg > img, .nimg > span { display: grid; place-items: center; width: 100%; aspect-ratio: 1200/630; object-fit: cover; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.14); color: var(--muted); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.nimg > img { border-style: solid; border-color: var(--glass-line); }
.nimg-act { display: flex; gap: 8px; flex-wrap: wrap; }
.nimg-act .btn { cursor: pointer; }
.nhint { margin: 0; color: #71717a; font-size: 12px; }
.nfields { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nline { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; }
.nrow label.tagf { flex: 0 1 170px; }
.nrow label.full { width: 100%; }
.nrow label.grow2 { flex: 2 1 260px; }
@media (max-width: 760px) { .nrow { grid-template-columns: 1fr; } }
/* texte des news : les retours à la ligne saisis dans l'admin sont gardés */
.ncard p { white-space: pre-line; }

/* =====================================================================
   THÈME CLAIR (bouton soleil / lune dans le menu ; sinon réglage de l'appareil)
   Mêmes formes que le thème sombre : fond clair, verre blanc, lime réservé aux
   boutons et à la goutte, accents de texte en vert olive (lisible sur fond clair).
   ===================================================================== */
.theme-toggle { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; margin-left: 8px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255,255,255,.05); color: var(--ink); cursor: pointer; transition: background .2s, transform .2s; }
.theme-toggle:hover { background: rgba(255,255,255,.1); transform: rotate(-12deg); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }
.theme-toggle:focus-visible { outline: 2px solid var(--plasma); outline-offset: 2px; }
@media (max-width: 900px) { .theme-toggle { margin-left: auto; } .nav-toggle { margin-left: 8px; } }

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5; --surface: #ffffff; --raised: #efefec; --line: #deded9;
  --ink: #0b0b0d; --muted: #55555e; --plasma-ink: #0b0b0d;
  --plasma-soft: rgba(212,255,58,.28); --pt: #5f7a00;
  --glass: rgba(255,255,255,.82); --glass-line: rgba(11,11,13,.09);
}
[data-theme="light"] body { background: radial-gradient(900px 700px at 88% -5%, rgba(212,255,58,.22), transparent 65%), #f7f7f5; color: var(--ink); }
[data-theme="light"] body::after { opacity: .9; }
[data-theme="light"] ::selection { background: var(--plasma); color: #0b0b0d; }

/* accents de texte : lime -> olive */
[data-theme="light"] :is(.live-card .game, .ncard .go a, .plan .h, .legal a, .pn-cd, .pweek-range, .pnow, .ev .et, .ev.video .ek, .adm-bar.dirty #bar-msg, .hero-eyebrow, .hero-visual-label, .nav-links a[aria-current], .empty a, .kicker .slashes i) { color: var(--pt) !important; }
[data-theme="light"] .kicker .slashes i, [data-theme="light"] .spark { background: var(--pt); box-shadow: none; }
[data-theme="light"] .hero-ribbon span::before { color: var(--pt); }

/* en-tête, menu, pied */
[data-theme="light"] .site-header { background: rgba(247,247,245,.8); border-bottom-color: var(--glass-line); }
[data-theme="light"] .nav-links a { color: #3f3f46; }
[data-theme="light"] .nav-links a:hover { color: #0b0b0d; background: rgba(11,11,13,.05); }
[data-theme="light"] .nav-links a[aria-current] { background: rgba(212,255,58,.35); }
[data-theme="light"] :is(.btn.ghost, .tabs button, .soc, .nav-toggle, .nav-links a.specs, .tag.ghost, .theme-toggle, .sec-head .more, .arow .del) { background: rgba(11,11,13,.04); border-color: rgba(11,11,13,.12); color: #0b0b0d; }
[data-theme="light"] :is(.btn.ghost, .soc, .nav-links a.specs, .theme-toggle, .sec-head .more):hover { background: rgba(11,11,13,.08); }
[data-theme="light"] .tabs button[aria-pressed="true"] { background: var(--plasma); border-color: #b9e400; color: #0b0b0d; }
[data-theme="light"] .btn:not(.ghost) { box-shadow: 0 6px 20px rgba(125,163,0,.22); }
[data-theme="light"] .nav-toggle span { background: #0b0b0d; }
@media (max-width: 900px) { [data-theme="light"] .nav-links { background: rgba(247,247,245,.98); } }
[data-theme="light"] .site-footer { background: radial-gradient(ellipse 70% 90% at 17% 100%, rgba(212,255,58,.16), #f7f7f5 72%); border-top-color: var(--glass-line); }
[data-theme="light"] :is(.foot ul a, .foot p, .foot-bottom, .foot-bottom a) { color: #55555e; }
[data-theme="light"] .foot ul a:hover { color: var(--pt); }

/* verre : cartes et panneaux */
[data-theme="light"] :is(.live-card, .vcard, .ncard, .empty, .specs-block, .plan .slot, .pnext, .prow, .live-layout .player, .live-layout .chat, .modal .box, .arow) {
  background: var(--glass); border-color: var(--glass-line); box-shadow: 0 20px 50px rgba(11,11,13,.07), inset 0 1px 0 #fff;
}
[data-theme="light"] .empty { border-color: rgba(11,11,13,.16); }
[data-theme="light"] :is(.vcard .thumb, .live-card .media, .facade, .live-card .media .ph) { background: radial-gradient(circle at 50% 30%, #ffffff, #e9e9e4 75%); }
[data-theme="light"] .live-card.is-live { border-color: rgba(224,32,31,.5); }
[data-theme="light"] .specs-block { background: linear-gradient(130deg, rgba(212,255,58,.25), transparent 45%), var(--glass); }
[data-theme="light"] .page-head { background: radial-gradient(ellipse 52% 90% at 90% 50%, rgba(212,255,58,.22), transparent 90%); border-bottom-color: var(--glass-line); }
[data-theme="light"] .page-head::after { filter: drop-shadow(0 10px 24px rgba(125,163,0,.3)); }
[data-theme="light"] .hero::before { background: radial-gradient(ellipse 42% 46% at 62% 46%, rgba(212,255,58,.3), transparent 80%); }
[data-theme="light"] .hero-visual::before { border-color: rgba(11,11,13,.07); }
[data-theme="light"] .hero-visual::after { background: radial-gradient(ellipse, rgba(212,255,58,.3), transparent 68%); }
[data-theme="light"] .hero-liquid { filter: drop-shadow(0 30px 50px rgba(125,163,0,.25)); }
[data-theme="light"] .hero-eyebrow { background: rgba(212,255,58,.3); border-color: rgba(125,163,0,.35); }
[data-theme="light"] .hero-proof { color: #71717a; }
[data-theme="light"] .hero-ribbon { background: rgba(255,255,255,.6); }
[data-theme="light"] :is(.hero-tagline, .hero-title) { color: #0b0b0d; }

/* planning, news, vidéos */
[data-theme="light"] .pd { background: rgba(11,11,13,.03); }
[data-theme="light"] .prow.today { border-color: #b9e400; box-shadow: 0 0 0 1px rgba(185,228,0,.5), 0 20px 50px rgba(11,11,13,.08); }
[data-theme="light"] .prow.today .pd { background: var(--plasma); color: #0b0b0d; }
[data-theme="light"] .prow.today .pd * { color: #0b0b0d !important; }
[data-theme="light"] .ev { background: #fff; border-color: rgba(11,11,13,.08); }
[data-theme="light"] .ev.video { background: rgba(212,255,58,.28); border-color: rgba(125,163,0,.3); }
[data-theme="light"] .pnext { background: radial-gradient(500px 260px at 100% 0%, rgba(212,255,58,.3), transparent 70%), var(--glass); }
[data-theme="light"] .ncard p, [data-theme="light"] .vcard .meta { color: #55555e; }
[data-theme="light"] .vcard .thumb::after { background: linear-gradient(180deg, transparent 55%, rgba(11,11,13,.35)); }
[data-theme="light"] .tag:not(.ghost):not(.live) { color: #0b0b0d; }

/* administration */
[data-theme="light"] :is(.adm-in, .arow input, .arow select, .arow textarea) { background: #fff; border-color: rgba(11,11,13,.14); color: #0b0b0d; }
[data-theme="light"] .arow input[type=time], [data-theme="light"] .arow input[type=date] { color-scheme: light; }
[data-theme="light"] .adm-bar { background: rgba(247,247,245,.95); border-top-color: var(--glass-line); }
[data-theme="light"] .nimg > img, [data-theme="light"] .nimg > span { background: #efefec; border-color: rgba(11,11,13,.14); }
[data-theme="light"] .adm-msg { color: #c41a1a; }
[data-theme="light"] :is(.pn-meta, .legal p, .legal li, .specs-block p, .hero p.lead, .page-head p) { color: #3f3f46; }
[data-theme="light"] :is(.legal h2, .legal h3, .legal strong) { color: #0b0b0d; }
/* l'en-tête (et le menu téléphone) passe toujours au-dessus du contenu */
body > .site-header { z-index: 60; }
@media (max-width: 900px) {
  .nav-links { background: #0b0b0d !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  [data-theme="light"] .nav-links { background: #f7f7f5 !important; }
}

/* mode clair : les mots forts des titres en noir sur un trait de surligneur lime (le lime seul est illisible sur fond clair) */
[data-theme="light"] :is(.x3d-lime, .hero-title .liquid-type, .h1 em) {
  color: #0b0b0d !important; -webkit-text-fill-color: #0b0b0d;
  background: linear-gradient(180deg, transparent 56%, #d4ff3a 56%, #d4ff3a 92%, transparent 92%) !important;
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; margin: 0 -.04em;
}
[data-theme="light"] .hero-tagline b { color: #0b0b0d !important; background: linear-gradient(180deg, transparent 55%, #d4ff3a 55%, #d4ff3a 95%, transparent 95%); padding: 0 .1em; }
[data-theme="light"] .spark { background: #0b0b0d; }
