/* Interface Workshop — bleu électrique commun et contenus prioritaires. */
:root { --action-blue:#12b8ff; --action-blue-dark:#0787bd; --action-blue-line:rgba(18,184,255,.5); }
html,body { max-width:100%; overflow-x:clip; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
[hidden] { display:none !important; }
body[data-page] .header-inner { position:relative; width:min(1440px,calc(100% - 40px)); }
body[data-page] .brand-copy small { max-width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body[data-page] .mobile-nav-button { display:inline-grid; place-items:center; width:46px; height:44px; flex:0 0 46px; border:1px solid var(--action-blue); background:#082330; color:var(--action-blue); border-radius:4px; cursor:pointer; font-size:25px; }
body[data-page] .site-nav { display:none; position:absolute; top:calc(100% + 6px); right:0; left:auto; width:250px; margin:0; padding:10px; flex-direction:column; flex-wrap:nowrap; gap:6px; border:1px solid var(--action-blue); background:rgba(4,12,17,.98); box-shadow:0 15px 45px #0009; z-index:100; }
body[data-page] .site-nav.is-open { display:grid; }
body[data-page] .site-nav a { display:block; padding:15px; color:#a9dff3; font:800 12px/1.2 "Courier New",monospace; border:1px solid #174459; text-align:left; }
body[data-page] .site-nav a:hover,body[data-page] .site-nav a[aria-current=page] { background:#0a3246; border-color:var(--action-blue); color:var(--action-blue); }
body[data-page]:not([data-page=admin]) .btn,body[data-page]:not([data-page=admin]) .btn.orange,body[data-page]:not([data-page=admin]) .btn.primary { background:linear-gradient(110deg,var(--action-blue),var(--action-blue-dark)) !important; color:#001722 !important; border:1px solid #4dcaff !important; box-shadow:0 0 18px #12b8ff16; min-height:44px; font:900 11px/1.45 "Courier New",monospace; padding:12px 18px; text-align:center; }
body[data-page]:not([data-page=admin]) .btn:hover { filter:brightness(1.12); box-shadow:0 0 22px #12b8ff32; }
body[data-page] button:focus-visible,body[data-page] a:focus-visible,body[data-page] select:focus-visible { outline:2px solid var(--action-blue); outline-offset:4px; }
body[data-page] .btn[aria-disabled=true],body[data-page] button:disabled { opacity:.45; cursor:not-allowed; }
body[data-page] .shop-card,body[data-page] .social-card { min-width:0; display:flex; flex-direction:column; align-items:flex-start; }
body[data-page] .shop-card p,body[data-page] .social-card p { flex:1; }
body[data-page] .site-footer { margin-top:25px; }

body[data-page] :is(a.shop-card,a.social-card,a.home-platform-card) {
  transition:border-color .18s ease,box-shadow .18s ease;
}
body[data-page] :is(a.shop-card,a.social-card,a.home-platform-card)[href]:hover,
body[data-page] :is(a.shop-card,a.social-card,a.home-platform-card):focus-visible {
  border-color:var(--action-blue);
  box-shadow:0 0 18px #12b8ff30;
}
body[data-page] :is(a.shop-card,a.social-card) .big {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
}

body[data-page=shop] .support-notice {
  margin:0 0 16px;
  padding:12px 16px;
  border:1px solid var(--action-blue-line);
  border-left:3px solid var(--action-blue);
  background:#071923;
  color:var(--action-blue);
  font-size:14px;
  line-height:1.55;
}
body[data-page=shop] .shop-card .support-goal { color:var(--action-blue); font-weight:700; }

/* Accueil compact : un bloc de direct + un seul carrousel. */
body[data-page=home] .home-focus-main { width:min(1440px,calc(100% - 48px)); min-height:calc(100svh - 165px); display:grid; align-content:center; padding:28px 0; }
body[data-page=home] .home-focus-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); min-height:560px; width:100%; background:linear-gradient(130deg,rgba(5,12,17,.96),rgba(3,9,12,.94)); border:1px solid #32515f; overflow:visible; }
body[data-page=home] .home-focus-card .live-now-copy { padding:clamp(24px,3.2vw,48px); min-width:0; }
body[data-page=home] .home-focus-card .live-now-copy h2 { font-size:clamp(32px,3.7vw,56px); overflow-wrap:anywhere; }
body[data-page=home] .home-focus-card .live-now-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
body[data-page=home] .live-now-metrics > span { min-width:0; border-right:1px solid #24343d; border-bottom:0; }
body[data-page=home] .live-now-metrics > span:last-child { border-right:0; }
body[data-page=home] .live-now-metrics small { font-size:9px; }
body[data-page=home] .home-focus-card.is-live .live-now-metrics b:not([data-live-active]) { color:var(--blue); }
body[data-page=home] .live-now-metrics b[data-live-active] { color:#ff6262; }
.home-platform-links {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  width:min(100%,330px);
}
.home-platform-card {
  display:grid;
  align-content:center;
  justify-items:center;
  gap:4px;
  min-height:64px;
  padding:7px 4px;
  border:1px solid #294856;
  border-radius:4px;
  background:#081923;
  color:#eff9fc;
  font:800 12px/1.2 "Courier New",monospace;
}
.home-platform-card img { display:block; }
body[data-page=home] .home-promo { min-width:0; display:flex; flex-direction:column; border-left:1px solid #294856; background:rgba(2,8,12,.6); }
.home-promo-stage { display:grid; flex:1; min-height:485px; }
.home-promo-slide { min-width:0; width:100%; padding:25px; align-self:stretch; }
.home-promo-controls { display:flex; align-items:center; justify-content:center; gap:7px; padding:14px 18px; border-top:1px solid #233f4c; }
.carousel-arrow { display:inline-grid; place-items:center; border:1px solid #3ac5ff; color:#001722; background:linear-gradient(120deg,#12b8ff,#0787bd); width:38px; height:40px; flex:0 0 38px; cursor:pointer; border-radius:3px; font-size:27px; line-height:1; }
.home-promo-controls button { cursor:pointer; padding:9px 10px; border:1px solid #207092; color:#6fd4ff; background:#071c28; font:800 11px/1.2 "Courier New",monospace; border-radius:3px; }
.home-promo-controls button[aria-current=true] { background:#12b8ff; color:#001722; border-color:#4dcaff; }
body[data-page=home] .home-compact-vote { padding:0; background:transparent !important; border:0; box-shadow:none; backdrop-filter:none; }
.home-compact-vote h2 { font-size:clamp(25px,2.5vw,37px); line-height:1.05; margin:12px 0 0; }
body[data-page=home] .home-compact-vote .home-vote-score-head { margin-bottom:10px; padding-bottom:12px; }
body[data-page=home] .home-compact-vote .poll-session-picker { margin:12px 0; }
body[data-page=home] .home-compact-vote .home-vote-score-total { margin:10px 0; }
body[data-page=home] .home-compact-vote .home-vote-score-total strong { font-size:36px; }
body[data-page=home] .home-compact-vote .home-vote-score-bars { gap:10px; }
body[data-page=home] .home-compact-vote .home-score-row { gap:4px; }
body[data-page=home] .home-compact-vote .home-score-row small { display:none; }
body[data-page=home] .home-compact-vote .home-vote-score-foot { margin-top:15px; padding-top:12px; gap:10px; }
body[data-page=home] .home-compact-vote .home-vote-button { width:100%; }
body[data-page=home] .home-discord-slide { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; background:radial-gradient(ellipse at 80% 0%,#12b8ff15,transparent 70%); }
.home-discord-slide .discord-mark { display:block; font-size:58px; margin:24px 0 14px; }
.home-discord-slide h2 { font-size:clamp(30px,3.4vw,48px); line-height:1.05; margin:0 0 18px; }
.home-discord-slide p { color:#b0c3cc; font-size:15px; line-height:1.65; max-width:450px; margin:0 0 25px; }

/* Clips : lecteur, flèches et miniatures. Pas de bouton dupliqué vers le clip en cours. */
.clips-gallery { margin:0 0 22px; padding:26px; }
.clip-carousel { min-width:0; width:100%; }
.clip-carousel-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.clip-counter { color:#75d8ff; font:900 12px/1.4 "Courier New",monospace; white-space:nowrap; }
.clip-title { color:#eff9fc; margin:14px 0 18px; font-size:clamp(19px,2.3vw,29px); line-height:1.25; overflow-wrap:anywhere; }
.clip-viewer { display:grid; grid-template-columns:38px minmax(0,1fr) 38px; align-items:center; gap:10px; }
.clip-screen { position:relative; min-width:0; min-height:300px; aspect-ratio:16/9; width:100%; background:radial-gradient(ellipse at 50% 40%,#0c354a,#020609 70%); border:1px solid #2c5364; display:grid; place-items:center; overflow:hidden; }
.clip-screen > p { color:#adcad8; line-height:1.7; padding:24px; text-align:center; font-size:14px; }
.clip-screen iframe { position:absolute; inset:0; width:100%; height:100%; min-height:300px; border:0; }
.clip-poster { position:absolute; inset:0; width:100%; height:100%; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:14px; color:#f1fbff; cursor:pointer; border:0; background:radial-gradient(ellipse at center,#12435c,#040c12); overflow:hidden; }
.clip-poster > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.65; }
.clip-poster > b,.clip-play { z-index:1; text-shadow:0 2px 10px #000; }
.clip-poster > b { font:900 12px/1.3 "Courier New",monospace; }
.clip-play { display:grid; place-items:center; border:2px solid #12b8ff; color:#12b8ff; width:70px; height:70px; border-radius:50%; background:#02111fbb; font-size:28px; padding-left:4px; }
.clip-thumbs { display:flex; gap:10px; overflow-x:auto; scrollbar-color:#12b8ff #091821; padding:13px 2px 5px; }
.clip-thumb { cursor:pointer; position:relative; flex:0 0 150px; width:150px; min-width:0; height:92px; background:#081d29; border:1px solid #236681; padding:0; color:#def6ff; text-align:left; overflow:hidden; }
.clip-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.65; }
.clip-thumb span { position:absolute; inset:auto 0 0; padding:18px 7px 6px; background:linear-gradient(transparent,#01090fee); font:700 10px/1.35 "Courier New",monospace; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.clip-thumb[aria-pressed=true] { border:2px solid #12b8ff; box-shadow:0 0 12px #12b8ff33; }
.home-promo .clip-title { font-size:20px; margin:12px 0; }
.home-promo .clip-thumb { flex-basis:118px; width:118px; height:72px; }
.home-promo .clip-screen { aspect-ratio:auto; height:300px; }
.home-promo .clip-carousel-heading .eyebrow { font-size:9px; }

/* Vote : les quatre catégories prennent la place de l’ancienne affiche. */
body[data-page=vote] main { width:min(1480px,calc(100% - 48px)); }
body[data-page=vote] .page-hero { padding:20px 26px; margin:22px 0; }
body[data-page=vote] .page-hero h1 { font-size:clamp(34px,4.3vw,54px); margin:0 0 12px; }
body[data-page=vote] .page-hero p { margin:0; }
body[data-page=vote] .poll-layout { display:block; padding-bottom:20px; }
body[data-page=vote] .vote-panel { padding:26px; }
body[data-page=vote] .panel-title h2 { font-size:clamp(19px,2vw,27px); line-height:1.3; }
body[data-page=vote] .vote-workspace { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr); gap:26px; margin-top:24px; align-items:start; }
.vote-categories h3 { color:#8ddaff; font:900 12px/1.4 "Courier New",monospace; margin:0 0 14px; }
body[data-page=vote] .poll-grid-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body[data-page=vote] .poll-category-card { display:block; min-height:0; border:1px solid #29627b; padding:0; text-align:left; overflow:hidden; background:#04131e; color:#f3faff; transition:transform .18s,border-color .18s,box-shadow .18s; }
body[data-page=vote] .poll-category-card > img { width:100%; aspect-ratio:16/10; object-fit:contain; background:#03090d; }
body[data-page=vote] .poll-category-card .category-card-caption { display:grid; gap:9px; padding:16px; border-top:1px solid #174255; }
body[data-page=vote] .poll-category-card strong { font-size:17px; line-height:1.3; color:#f2fbff; }
body[data-page=vote] .poll-category-card small { color:#78cce9; font:800 10px/1.5 "Courier New",monospace; }
body[data-page=vote] .poll-category-card:not(:disabled):hover { border-color:#12b8ff; box-shadow:0 0 24px #12b8ff22; transform:translateY(-2px); }
body[data-page=vote] .poll-category-card[aria-pressed=true] { border:2px solid #12b8ff; background:#0a2b3c; box-shadow:0 0 20px #12b8ff38; }
.vote-summary { border:1px solid #254b5c; background:#04101bd9; padding:20px; min-width:0; }
body[data-page=vote] .result-row { grid-template-columns:minmax(110px,1fr) minmax(35px,1fr) 38px; gap:8px; margin:18px 0; font-size:12px; }
body[data-page=vote] .bar-fill { background:linear-gradient(90deg,#0876a9,#12b8ff) !important; }
body[data-page=vote] .security-notice { margin-top:20px; }
body[data-page=vote] .poll-actions { margin-top:18px; }
body[data-page=vote] #voteButton { width:100%; }
body[data-page=vote] .poll-message { font-size:13px; line-height:1.6; }
body[data-page=vote] .turnstile-wrap { max-width:100%; overflow:auto; }
body[data-page=vote] .poll-session-picker { max-width:680px; }
@media(max-width:1100px) {
 body[data-page=home] .home-focus-card { grid-template-columns:minmax(0,1fr); }
 body[data-page=home] .home-promo { border-left:0; border-top:1px solid #294856; }
 body[data-page=home] .home-focus-card .live-now-copy { padding:28px; }
 body[data-page=home] .home-focus-card .live-now-copy h2 { font-size:38px; }
 .home-promo-stage { min-height:480px; }
 body[data-page=vote] .vote-workspace { grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr); gap:18px; }
 body[data-page=vote] .vote-panel { padding:20px; }
}
@media(max-width:800px) {
 body[data-page=vote] .vote-workspace { grid-template-columns:1fr; }
 body[data-page=vote] .vote-summary { margin-top:2px; }
 .clip-viewer { grid-template-columns:32px minmax(0,1fr) 32px; gap:7px; }
 .clip-viewer .carousel-arrow { width:32px; }
}
@media(max-width:560px) {
 body[data-page] .header-inner { width:calc(100% - 24px); gap:10px; }
 body[data-page] .brand-lockup { gap:8px; min-width:0; }
 body[data-page] .brand-copy strong { font-size:12px; }
 body[data-page] .brand-copy small { max-width:170px; font-size:7px; }
 body[data-page] .brand-mark { width:42px !important; height:42px !important; flex-basis:42px; }
 body[data-page=home] .home-focus-main,body[data-page=vote] main { width:calc(100% - 24px); padding-top:16px; }
 body[data-page=home] .home-focus-card .live-now-copy { padding:24px 18px; }
 body[data-page=home] .home-focus-card .live-now-copy h2 { font-size:34px; }
 body[data-page=home] .live-now-metrics > span { padding:12px; border-bottom:0; }
 .home-promo-slide { padding:20px 14px; }
 .home-promo-controls { gap:4px; padding:12px 8px; }
 .home-promo-controls button { font-size:10px; padding:9px 7px; }
 .home-promo-stage { min-height:470px; }
 .home-promo .clip-carousel-heading .eyebrow::before { width:14px; }
 .clip-screen { min-height:240px; }
 .home-promo .clip-screen { height:270px; }
 .clip-title { font-size:19px; }
 .clips-gallery { padding:18px 10px; }
 body[data-page=vote] .page-hero { padding:18px; margin:6px 0 18px; }
 body[data-page=vote] .vote-panel { padding:16px 12px; }
 body[data-page=vote] .poll-grid-buttons { gap:10px; }
 body[data-page=vote] .poll-category-card .category-card-caption { padding:10px; gap:6px; }
 body[data-page=vote] .poll-category-card strong { font-size:13px; }
 body[data-page=vote] .poll-category-card small { font-size:8px; }
 body[data-page=vote] .poll-session-picker select { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } }
.home-promo .clip-thumbs { display:none !important; }
.home-promo .clip-title { min-height:50px; max-height:50px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
/* Même hauteur pour les trois slides, sans étirer le bloc Twitch. */
body[data-page=home] .home-compact-vote { display:block; }
body[data-page=home] .home-compact-vote .home-vote-score-head { padding-bottom:10px; margin-bottom:8px; }
body[data-page=home] .home-compact-vote h2 { font-size:30px; margin-top:8px; }
body[data-page=home] .home-compact-vote .poll-session-picker { margin:10px 0; gap:7px; }
body[data-page=home] .home-compact-vote .poll-session-picker select { min-height:42px; padding:8px 10px; }
body[data-page=home] .home-compact-vote .home-vote-score-total { min-height:0; margin:8px 0; padding:0; }
body[data-page=home] .home-compact-vote .home-vote-score-total strong { font-size:30px; }
body[data-page=home] .home-compact-vote .home-vote-score-bars { display:grid; gap:10px; padding:0; }
body[data-page=home] .home-compact-vote .home-score-row { margin:0; padding:0; gap:5px; }
body[data-page=home] .home-compact-vote .home-score-label { font-size:11px; }
body[data-page=home] .home-compact-vote .home-score-label b { color:#6ed4ff; }
body[data-page=home] .home-compact-vote .home-score-track { height:5px; }
body[data-page=home] .home-compact-vote .home-score-track span { background:linear-gradient(90deg,#087faf,#12b8ff); }
body[data-page=home] .home-compact-vote .home-vote-score-foot { display:grid; gap:8px; margin-top:12px; padding-top:10px; }
body[data-page=home] .home-compact-vote .home-vote-score-foot small { font-size:10px; line-height:1.4; }
body[data-page=home] .home-compact-vote .home-vote-score-bars { display:none; }
body[data-page=home] .home-compact-vote .home-vote-score-total { padding:12px 0; margin:12px 0; }
body[data-page=home] .home-promo-slide[data-promo-slide=vote] { display:flex; align-items:center; }
body[data-page=home] .home-compact-vote { width:100%; }
body[data-page=vote] .poll-category-card > img { height:auto; aspect-ratio:4/3; object-fit:cover; filter:brightness(.95); transform:none; }
body[data-page=home] .home-compact-vote { min-height:0; }

/* Les dix jaquettes Horreur restent visibles, y compris celles des bords. */
body[data-page=vote] .poll-category-card[data-id="horreur"] > img {
  object-fit:contain;
  object-position:center;
  padding:6px;
  background:#03090d;
}
