/* Generated by tools/build-css.js from 15 files: edit those, not this one. */

/* ===== wk-cyber-theme.css ===== */
/* ============================================================
   WK DESIGN SYSTEM — THEME OFFICIEL WK (FIVEM UI PUR)
   Design épuré, sobre et professionnel inspiré de wk_creation.
   Zéro effet néon, zéro scanline, zéro bannière intrusive.
   ============================================================ */

:root {
  --accent-rgb: 58, 116, 194;
  --accent: #3a74c2;
  --accent-hover: #4885d8;
  --bg: #141417;
  --panel: #202024;
  --panel2: #26262b;
  --panel-hover: #2a2a30;
  --line: #2e2e34;
  --line-hover: #44444b;
  --txt: #ececef;
  --mut: #8c8c96;
  --dim: #5f5f68;
  --red: #5f92e5;
  --green: #22c55e;
  --gold: #eab308;
  --r: 8px;
}

/* 1. RESET GLOBAL & FOND */
*, *::before, *::after {
  box-sizing: border-box !important;
  text-shadow: none !important;
}

html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--bg) !important;
  background-image: none !important;
  color: var(--txt) !important;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  -webkit-font-smoothing: antialiased !important;
  min-height: 100vh !important;
}

/* 2. SUPPRESSION DE TOUT ÉLÉMENT QUI NE FAIT PAS PARTIE DE LA NEW UI */
#wkShareCreationsBanner,
.wk-share-banner,
#wkDiscordGateOverlay,
.wk-discord-gate,
.notifs-leak-float,
button.notifs-leak-float,
[class*="notif-leak"],
.live-activity-container,
.wk-discord-notif-card,
.animated-bg-container,
.animated-bg-grid,
.animated-bg-scanline,
.animated-bg-canvas,
#bgParticlesCanvas,
body::before,
body::after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

/* Scrollbar sobre type GTA FiveM */
::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}
::-webkit-scrollbar-track {
  background: var(--bg) !important;
}
::-webkit-scrollbar-thumb {
  background: #34343a !important;
  border-radius: 4px !important;
  border: 2px solid var(--bg) !important;
}
::-webkit-scrollbar-thumb:hover {
  background: #44444c !important;
}

/* 3. EN-TÊTE SOBRE & ÉPURÉE (FULL WIDTH, PROPRE, SANS DÉFORMATION) */
.fl-saas-header,
header.fl-saas-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: rgba(20, 20, 23, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--line) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  padding: 0 24px !important;
  height: 58px !important;
  z-index: 9999 !important;
  box-sizing: border-box !important;
}

.fl-saas-header .fl-saas-header__inner {
  height: 58px !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.fl-saas-header-spacer {
  height: 10px !important;
  display: block !important;
}

/* Logo avec badge style #chip de wk_creation */
[data-testid="link-logo"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

[data-testid="link-logo"] img,
[data-testid="link-logo"] svg {
  height: 28px !important;
  width: auto !important;
  border-radius: 6px !important;
  border: none !important;
  box-shadow: none !important;
}

[data-testid="link-logo"] span,
[data-testid="link-logo"] .font-black {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: var(--mut) !important;
  padding: 3px 8px !important;
  border: 1px solid var(--line) !important;
  border-radius: 5px !important;
  background: var(--panel) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* Onglets de navigation centrale (style #tabs de wk_creation) */
.console-nav > div:nth-child(2),
.console-nav .hidden.md\:flex {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  padding: 3px !important;
  gap: 3px !important;
  display: flex !important;
  align-items: center !important;
}

.console-nav .fl-nav-link,
.console-nav a[href] {
  padding: 6px 14px !important;
  border-radius: 5px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--mut) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.12s !important;
  box-shadow: none !important;
}

.console-nav .fl-nav-link:hover,
.console-nav a[href]:hover {
  color: var(--txt) !important;
  background: var(--panel2) !important;
  border-color: var(--line) !important;
}

.fl-nav-link--active,
.console-nav .fl-nav-link[aria-current="page"],
.console-nav > div:nth-child(2) a:first-child {
  color: var(--txt) !important;
  background: var(--panel2) !important;
  border-color: var(--line-hover) !important;
  box-shadow: none !important;
}

.fl-nav-link--active svg,
.console-nav .fl-nav-link[aria-current="page"] svg {
  color: var(--accent) !important;
}

/* Badges utilisateur dans le header (VIP, Spin, Profil) */
.wk-navbar-badges {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.wk-pill-vip,
.wk-pill-spin,
.wk-pill-users,
.wk-pill-quota,
.wk-pill-credits {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 5px 10px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1px solid var(--line) !important;
  background: var(--panel) !important;
  color: var(--mut) !important;
  box-shadow: none !important;
}

.wk-pill-vip {
  color: var(--gold) !important;
  border-color: rgba(234, 179, 8, 0.3) !important;
}
.wk-pill-spin {
  color: var(--green) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
}

/* 4. CONTAINER PRINCIPAL & TITRE (AUCUN CHEVAUCHEMENT) */
main,
main.max-w-\[1400px\],
div.max-w-\[1400px\] {
  max-width: 1360px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 24px 24px 40px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

main > header,
header.mb-5 {
  margin-top: 14px !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
  display: block !important;
}

main > header h1, 
header.mb-5 h1,
.wk-hero-title {
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  color: var(--txt) !important;
  text-transform: none !important;
  margin: 0 0 4px 0 !important;
  text-shadow: none !important;
}

main > header p, 
header.mb-5 p,
.wk-hero-sub {
  font-size: 0.85rem !important;
  color: var(--mut) !important;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

/* 5. LES 4 CARTES DE STATISTIQUES (ALIGNEES SUR 1 LIGNE PROPRE, ZERO NEON) */
.stats-bar-panel {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin: 18px 0 24px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (max-width: 900px) {
  .stats-bar-panel {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 500px) {
  .stats-bar-panel {
    grid-template-columns: 1fr !important;
  }
}

.shiny-stat-wrap,
.stats-bar-panel .shiny-stat-wrap,
.stats-bar-panel .shiny-stat-wrap:nth-child(1),
.stats-bar-panel .shiny-stat-wrap:nth-child(2),
.stats-bar-panel .shiny-stat-wrap:nth-child(3),
.stats-bar-panel .shiny-stat-wrap:nth-child(4) {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  padding: 12px 16px !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  transition: border-color 0.12s, background 0.12s !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.shiny-stat-wrap:hover {
  border-color: var(--line-hover) !important;
  background: var(--panel2) !important;
}

.shiny-stat-wrap::before,
.shiny-stat-wrap::after {
  display: none !important;
}

.shiny-stat-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
}

.stats-bar-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 6px !important;
  background: var(--panel2) !important;
  border: 1px solid var(--line) !important;
  color: var(--mut) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.shiny-stat-wrap:hover .stats-bar-icon {
  color: var(--accent) !important;
  border-color: var(--line-hover) !important;
}

.stat-copy-label, 
.stat-copy-block span:first-child {
  font-size: 0.72rem !important;
  color: var(--mut) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
}

.stat-copy-num, 
.stat-copy-block span:nth-child(2) {
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--txt) !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.02em !important;
}

.stat-view-link,
.stat-copy-badge {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
  border: 1px solid var(--line) !important;
  background: var(--panel2) !important;
  color: var(--mut) !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

/* 6. RECHERCHE & SIDEBAR CATÉGORIES (STYLE #subs DE WK_CREATION) */
.sidebar-panel,
aside {
  background: transparent !important;
  border: none !important;
}

/* Champ de recherche (style .jump / .field de wk_creation) */
input[type="text"],
input[type="search"],
.search-input-field,
.fl-glow-search input {
  background: #18181b !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 0.82rem !important;
  color: var(--txt) !important;
  outline: none !important;
  transition: border-color 0.15s !important;
  box-shadow: none !important;
  width: 100% !important;
}

input[type="text"]:focus,
input[type="search"]:focus,
.search-input-field:focus,
.fl-glow-search input:focus {
  border-color: rgba(var(--accent-rgb), 0.8) !important;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.3) !important;
}

/* Boutons catégories */
aside button,
.category-btn,
[data-testid*="btn-category"] {
  border-radius: 6px !important;
  border: 1px solid var(--line) !important;
  background: #18181b !important;
  color: var(--mut) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  transition: all 0.12s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  box-shadow: none !important;
}

aside button:hover,
.category-btn:hover {
  color: var(--txt) !important;
  border-color: var(--line-hover) !important;
  background: var(--panel2) !important;
}

aside button[aria-pressed="true"],
aside button.active,
.category-btn--active,
[data-testid="btn-category-all"][aria-pressed="true"],
aside button:first-of-type {
  color: var(--txt) !important;
  background: rgba(var(--accent-rgb), 0.12) !important;
  border: 1px solid var(--accent) !important;
  box-shadow: none !important;
}

aside button[aria-pressed="true"] span:last-child,
aside button.active span:last-child,
aside button:first-of-type span:last-child {
  background: var(--panel2) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(var(--accent-rgb), 0.4) !important;
  border-radius: 4px !important;
  padding: 1px 6px !important;
  font-size: 0.72rem !important;
}

/* 7. CARTES DE PUBLICATIONS / LEAKS (STYLE .card DE WK_CREATION) */
.console-card,
article.console-card {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  overflow: hidden !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
  transition: border-color 0.15s, background 0.15s !important;
  position: relative !important;
}

.console-card:hover {
  border-color: var(--line-hover) !important;
  background: var(--panel2) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

.console-card__media {
  height: 180px !important;
  background: #18181b !important;
  border-bottom: 1px solid var(--line) !important;
  position: relative !important;
  overflow: hidden !important;
}

.console-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.console-card__cat {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: rgba(20, 20, 23, 0.9) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  color: var(--mut) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  padding: 2px 7px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.console-card__body {
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.console-card__title {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--txt) !important;
  line-height: 1.4 !important;
}

.console-card__free-badge,
.console-card button:has-text("GRATUIT"),
.console-card button:has-text("FREE") {
  background: rgba(34, 197, 94, 0.1) !important;
  color: var(--green) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  font-weight: 600 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
}

/* Boutons au style .btn.pri et .btn de wk_creation */
.fg-btn--primary,
button.fl-primary-btn,
.fg-btn {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 9px 16px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.12s !important;
}

.fg-btn--primary:hover,
button.fl-primary-btn:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}

.btn-secondary,
button.fl-secondary-btn {
  background: var(--panel2) !important;
  border: 1px solid var(--line) !important;
  color: var(--txt) !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  padding: 8px 14px !important;
  cursor: pointer !important;
  transition: all 0.12s !important;
}

.btn-secondary:hover,
button.fl-secondary-btn:hover {
  border-color: var(--line-hover) !important;
  color: #ffffff !important;
}

/* 8. FENÊTRES MODALES & DIALOGUES (STYLE .win DE WK_CREATION) */
.modal,
[role="dialog"],
.modal-content,
div[class*="modal"]:not([class*="fl-post-modal"]):not(.wkv-card) > div {
  background: #18181b !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
  color: var(--txt) !important;
}

/* 9. PIED DE PAGE */
footer {
  border-top: 1px solid var(--line) !important;
  background: transparent !important;
  color: var(--mut) !important;
  font-size: 0.8rem !important;
  padding: 24px 0 !important;
  margin-top: 40px !important;
}

/* ===== wk-stats-layout.css ===== */
/* Homepage statistics: even columns, consistent separators, responsive collapse. */
.stats-bar-panel {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  width: min(100%, 1120px) !important;
  margin-inline: auto !important;
}
.stats-bar-panel > .shiny-stat-wrap,
.stats-bar-panel > .shiny-stat-wrap.flex-1 {
  min-width: 0 !important;
  width: 100% !important;
  flex: initial !important;
}
.stats-bar-panel > .stats-bar-divider {
  display: none !important;
}
.stats-bar-cell { min-height: 76px; padding: 14px 16px !important; gap: 11px !important; }
.stats-bar-icon { width: 38px !important; height: 38px !important; border-radius: 10px !important; }
.stats-bar-panel .shiny-stat-inner { min-width: 0; }
@media (max-width: 760px) {
  .stats-bar-panel { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .stats-bar-panel > .stats-bar-divider { display: none !important; }
  .stats-bar-cell { min-height: 68px; padding: 12px !important; }
}
@media (max-width: 420px) {
  .stats-bar-panel { grid-template-columns: 1fr !important; }
}

/* ===== wk-filter-polish.css ===== */
/* Cleaner category filters with a restrained blue active state. */
.text-gradient-pkm {
  display: inline-block !important;
  padding: 4px 9px !important;
  margin-right: 5px !important;
  border: 1px solid rgba(126,166,255,.28) !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, rgba(87,130,220,.18), rgba(87,130,220,.08)) !important;
  color: #c6d9ff !important;
  -webkit-text-fill-color: #c6d9ff !important;
  font-size: .48em !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: .12em !important;
  vertical-align: .22em !important;
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}
.fl-glow-search__menu {
  border-color: rgba(126,166,255,.22) !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.35), 0 20px 50px rgba(0,0,0,.55), 0 0 28px rgba(76,132,230,.09) !important;
}
.fl-glow-search__menu-item.is-active {
  color: #d7e5ff !important;
  background: rgba(93,145,238,.18) !important;
  box-shadow: inset 3px 0 0 #78a9ff !important;
}
.filter-segment-indicator {
  background: rgba(93,145,238,.19) !important;
  box-shadow: 0 0 12px rgba(93,145,238,.12) !important;
}
.filter-segment-btn-active { color: #d7e5ff !important; }
.filter-category-list {
  --cat-accent: #78a9ff !important;
  --rail-accent: #78a9ff !important;
  background: #11141a !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.2) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.filter-category-row {
  min-height: 44px;
  padding: 9px 12px !important;
  color: #c2c8d2 !important;
  border-bottom-color: rgba(255,255,255,.07) !important;
  font-size: 12px !important;
}
.filter-category-row:hover {
  color: #f4f7fb !important;
  background: rgba(255,255,255,.045) !important;
}
.filter-category-icon svg,
.filter-category-icon svg * {
  color: #9ebfff !important;
  fill: #9ebfff !important;
  stroke: #9ebfff !important;
}
.filter-category-icon {
  color: #9ebfff !important;
}
.filter-category-row-active {
  color: #f4f7fb !important;
  background: rgba(103,157,255,.11) !important;
  box-shadow: inset 3px 0 0 #78a9ff;
}
.filter-category-row-active .filter-category-icon { color: #a9c8ff !important; }
.filter-category-row-active,
.filter-category-row-active * {
  --cat-accent: #78a9ff !important;
}
.filter-category-rail {
  --rail-accent: #78a9ff !important;
  background: linear-gradient(90deg, rgba(120,169,255,.14), rgba(120,169,255,.04), transparent) !important;
  box-shadow: inset 3px 0 0 #78a9ff !important;
}
.filter-category-rail::after {
  background: #78a9ff !important;
  box-shadow: none !important;
}
.filter-category-count {
  min-width: 26px;
  text-align: center;
  padding: 3px 8px !important;
  color: #c5cad3 !important;
  background: rgba(255,255,255,.08) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.filter-category-row-active .filter-category-count {
  color: #d8e6ff !important;
  background: rgba(103,157,255,.16) !important;
  border-color: rgba(120,169,255,.3) !important;
  box-shadow: none !important;
  transform: none !important;
}
.category-pill-icon-active { box-shadow: none !important; }

/* Sidebar: one clean grouped list instead of boxed rows (overrides `aside button` from wk-cyber-theme). */
aside .filter-category-list,
.filter-block .filter-category-list {
  overflow: hidden !important;
  border-radius: 10px !important;
}
aside .filter-category-list .filter-category-row,
.filter-block .filter-category-list .filter-category-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px 12px 8px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.05) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #aeb5c0 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
aside .filter-category-list .filter-category-row:last-child,
.filter-block .filter-category-list .filter-category-row:last-child {
  border-bottom: 0 !important;
}
aside .filter-category-list .filter-category-row:hover,
.filter-block .filter-category-list .filter-category-row:hover {
  color: #f4f7fb !important;
  background: rgba(255,255,255,.035) !important;
}
aside .filter-category-list .filter-category-row-active,
.filter-block .filter-category-list .filter-category-row-active {
  color: #fff !important;
  font-weight: 600 !important;
  background: transparent !important;
}
.filter-category-row-active .filter-category-icon { transform: none !important; }
.filter-category-count {
  margin-left: auto !important;
  min-width: 28px !important;
  padding: 2px 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  background: rgba(255,255,255,.06) !important;
  color: #8f97a3 !important;
}
aside .filter-category-list .filter-category-row:not(.filter-category-row-active) .filter-category-count {
  border: 0 !important;
  background: rgba(255,255,255,.06) !important;
  color: #8f97a3 !important;
}
aside .filter-category-list .filter-category-row.filter-category-row-active .filter-category-count,
.filter-category-list .filter-category-row.filter-category-row-active .filter-category-count {
  border: 0 !important;
  box-shadow: none !important;
  background: rgba(120,169,255,.18) !important;
  color: #cfe0ff !important;
}
.filter-category-rail {
  border-radius: 0 !important;
}
.filter-category-rail::after {
  top: 22% !important;
  bottom: 22% !important;
  border-radius: 0 3px 3px 0 !important;
}
.filter-category-list:not(:has(.filter-category-row-active)) .filter-category-rail {
  display: none !important;
}

/* Search: keep the text clear of the left icon. */
.fl-glow-search .fl-glow-search__input,
.fl-glow-search__main .fl-glow-search__input {
  height: 40px !important;
  padding: 0 14px 0 40px !important;
  border-radius: 10px !important;
  background: #11141a !important;
  border: 1px solid rgba(255,255,255,.1) !important;
}
.fl-glow-search__main .fl-glow-search__input:focus {
  border-color: rgba(120,169,255,.45) !important;
  box-shadow: 0 0 0 3px rgba(120,169,255,.12) !important;
  outline: none !important;
}
.filter-sublabel {
  color: #7d8592 !important;
  letter-spacing: .1em !important;
}
button[data-testid="button-theme-settings"] {
  display: none !important;
}

/* Account dropdown: keep privileged actions in the site's blue palette. */
[data-testid="user-menu-panel"] {
  border-color: rgba(130, 164, 255, .2) !important;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .72), 0 0 28px rgba(72, 112, 255, .08) !important;
}
[data-testid="user-menu-panel"] img.w-12.h-12 {
  border-color: #638cff !important;
}
[data-testid="user-menu-panel"] [data-testid="menu-item-post"] svg {
  color: #83a3ff !important;
}
[data-testid="user-menu-panel"] [data-testid="menu-item-staff-support"],
[data-testid="user-menu-panel"] [data-testid="menu-item-admin"] {
  color: #dce6ff !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
}
button[data-testid="menu-item-staff-support"],
a[data-testid="menu-item-admin"] {
  color: #dce6ff !important;
}
[data-testid="menu-item-post"] svg {
  color: #83a3ff !important;
  stroke: #83a3ff !important;
  filter: hue-rotate(225deg) saturate(.9) !important;
}
[data-testid="user-menu-panel"] [data-testid^="menu-item-"]:not([data-testid="menu-item-verify"]) svg {
  filter: hue-rotate(225deg) saturate(.9) !important;
}
[data-testid="user-menu-panel"] svg {
  filter: hue-rotate(225deg) saturate(.9) !important;
}
[data-testid="user-menu-panel"] [data-testid="menu-item-verify"] svg {
  filter: none !important;
}
button[data-testid="menu-item-staff-support"] svg,
a[data-testid="menu-item-admin"] svg,
button[data-testid="button-logout"] svg {
  color: #83a3ff !important;
}
[data-testid="user-menu-panel"] [data-testid="menu-item-staff-support"] svg,
[data-testid="user-menu-panel"] [data-testid="menu-item-admin"] svg,
[data-testid="user-menu-panel"] [data-testid="button-logout"] svg {
  color: #83a3ff !important;
}
[data-testid="user-menu-panel"] [data-testid="menu-item-staff-support"]:hover,
[data-testid="user-menu-panel"] [data-testid="menu-item-admin"]:hover,
[data-testid="user-menu-panel"] [data-testid="menu-item-post"]:hover {
  background: rgba(99, 140, 255, .11) !important;
  border-color: rgba(99, 140, 255, .18) !important;
  color: #fff !important;
}

/* ===== wk-categories.css ===== */
/* Sidebar categories: plain text list, no icons, no boxed card. Loaded after wk-filter-polish.css. */
/* One bordered panel around both lists, same look as the account menu */
aside .filter-block.filter-block-flush {
  padding: 6px !important;
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset !important;
}
aside .filter-block.filter-block-flush .filter-sublabel { padding-top: 8px !important; }
aside .filter-block.filter-block-flush .filter-category-list + .filter-sublabel {
  margin-top: 6px !important;
  padding-top: 12px !important;
  border-top: 1px solid #1f2128;
}

/* Search field: magnifier on the left, filter button as a small square on the right.
   The filter button used to stretch over the whole field (left:-5px; right:5px) with a blue border. */
aside .fl-glow-search__main { position: relative !important; }
aside .fl-glow-search__input {
  width: 100% !important;
  height: 40px !important;
  padding: 0 44px 0 38px !important;
  color: #e6e7ea !important;
  font-size: 13px !important;
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  outline: none !important;
}
aside .fl-glow-search__input::placeholder { color: #6b6d77 !important; }
aside .fl-glow-search__input:focus { border-color: #3a3d48 !important; box-shadow: none !important; }
aside .fl-glow-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
aside .fl-glow-search__search-icon {
  left: 12px !important;
  top: 50% !important;
  right: auto !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  color: #6b6d77 !important;
  pointer-events: none;
}
aside .fl-glow-search__search-icon svg { width: 16px !important; height: 16px !important; }
aside .fl-glow-search .fl-glow-search__filter {
  position: absolute !important;
  top: 50% !important;
  left: auto !important;
  right: 5px !important;
  bottom: auto !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #8b8d97 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
}
aside .fl-glow-search .fl-glow-search__filter:hover,
aside .fl-glow-search .fl-glow-search__filter[aria-expanded="true"] { color: #f4f4f5 !important; background: #1d1f26 !important; }
aside .fl-glow-search .fl-glow-search__filter::before,
aside .fl-glow-search .fl-glow-search__filter::after { display: none !important; }

aside .filter-block .filter-sublabel {
  margin: 0 0 6px !important;
  padding: 0 10px;
  color: #6b6d77 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
}
aside .filter-block .filter-category-list {
  display: flex !important;
  flex-direction: column;
  gap: 1px;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
aside .filter-block .filter-category-rail,
aside .filter-block .filter-category-icon { display: none !important; }

aside .filter-block .filter-category-list .filter-category-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #9a9ca6 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background .12s, color .12s !important;
}
aside .filter-block .filter-category-list .filter-category-row:hover {
  color: #e6e7ea !important;
  background: #17181d !important;
}
aside .filter-block .filter-category-list .filter-category-row.filter-category-row-active {
  color: #f4f4f5 !important;
  font-weight: 600 !important;
  background: #1d1f26 !important;
  box-shadow: none !important;
}

aside .filter-block .filter-category-list .filter-category-row .filter-category-count,
aside .filter-block .filter-category-list .filter-category-row:not(.filter-category-row-active) .filter-category-count,
aside .filter-block .filter-category-list .filter-category-row.filter-category-row-active .filter-category-count {
  margin-left: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #6b6d77 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-variant-numeric: tabular-nums;
}
aside .filter-block .filter-category-list .filter-category-row.filter-category-row-active .filter-category-count { color: #c4c6cc !important; }

/* Filter menu of the search field (rendered in a portal): same panel as the account menu. */
html body .fl-glow-search__menu {
  padding: 6px !important;
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  animation: none !important;
}
html body .fl-glow-search__menu::before,
html body .fl-glow-search__menu::after { display: none !important; }
html body .fl-glow-search__menu .fl-glow-search__menu-label {
  margin: 0 !important;
  padding: 8px 10px 4px !important;
  color: #6b6d77 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body .fl-glow-search__menu .fl-glow-search__menu-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
html body .fl-glow-search__menu .fl-glow-search__menu-group + .fl-glow-search__menu-label { margin-top: 4px !important; }
html body .fl-glow-search__menu .fl-glow-search__menu-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  height: 32px !important;
  padding: 0 10px !important;
  color: #c4c6cc !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  transform: none !important;
}
html body .fl-glow-search__menu .fl-glow-search__menu-item::before,
html body .fl-glow-search__menu .fl-glow-search__menu-item::after { display: none !important; }
html body .fl-glow-search__menu .fl-glow-search__menu-item:hover { color: #f4f4f5 !important; background: #1b1c22 !important; }
html body .fl-glow-search__menu .fl-glow-search__menu-item.is-active { color: #f4f4f5 !important; background: #1d1f26 !important; }
html body .fl-glow-search__menu .fl-glow-search__menu-item > span { flex: 1; }
html body .fl-glow-search__menu .fl-glow-search__menu-item svg {
  flex: none;
  width: 14px !important;
  height: 14px !important;
  color: #8b8d97 !important;
}
html body .fl-glow-search__menu .fl-glow-search__menu-item.is-active svg { color: #f4f4f5 !important; }
html body .fl-glow-search__menu .fl-glow-search__menu-sep {
  height: 1px !important;
  margin: 6px 4px !important;
  background: #1f2128 !important;
  border: 0 !important;
}
html body .fl-glow-search__menu [data-testid="button-clear-search"],
html body .fl-glow-search__menu [data-testid="button-clear-filters"] { color: #9a9ca6 !important; }
/* "GRATUIT" / "FREE" comes in capitals from the shared card-badge translation */
html body .fl-glow-search__menu [data-testid="button-pricing-free"] span { display: inline-block; text-transform: lowercase !important; }
html body .fl-glow-search__menu [data-testid="button-pricing-free"] span::first-letter { text-transform: uppercase; }

/* ===== wk-polish.css ===== */
/* Interface polish: quieter surfaces, clearer hierarchy and predictable motion. */
:root {
  --wk-bg: #0b0d12;
  --wk-surface: #12151c;
  --wk-surface-raised: #181c25;
  --wk-border: rgba(255,255,255,.09);
  --wk-border-hover: rgba(255,255,255,.17);
  --wk-accent: #638cff;
  --wk-accent-hover: #83a3ff;
  --wk-shadow: 0 14px 40px rgba(0,0,0,.24);
}
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }
button, a, [role="button"] { transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
button:hover, [role="button"]:hover { transform: translateY(-1px); }
:focus-visible { outline: 2px solid var(--wk-accent-hover) !important; outline-offset: 3px; }
::selection { background: rgba(99,140,255,.34); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ===== wk-post-modal.css ===== */
/* Resource modal: flat, neutral surfaces, one accent colour. */
.fl-post-modal__backdrop {
  background: rgba(5, 6, 9, .8) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  /* Pas d'animation CSS : le bundle (framer-motion) anime déjà l'ouverture.
     Les deux superposées donnaient l'impression que la fenêtre s'ouvrait deux fois. */
  animation: none !important;
}
.fl-post-modal {
  max-width: 1080px !important;
  background: #111217 !important;
  border: 1px solid #23252d !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.55) !important;
  animation: none !important;
}

/* Kill decorative motion from framer-motion hovers */
.fl-post-modal__download,
.fl-post-modal__sec-btn,
.fl-post-modal__composer-verify { transform: none !important; }
.fl-post-modal__download-shine,
.fl-post-modal__img-fade,
.fl-post-modal__badge { display: inline-flex !important; align-items: center !important; color: #4ade80 !important; background: rgba(34,197,94,.12) !important; border: 1px solid rgba(34,197,94,.32) !important; }

/* Media column */
.fl-post-modal__media {
  background: #0b0c0f !important;
  border-right: 1px solid #23252d !important;
}
.fl-post-modal__stage { background: #0b0c0f !important; }
.fl-post-modal__img { background: transparent !important; object-fit: contain !important; }
.fl-post-modal__stage iframe { display: block; border: 0 !important; background: #000 !important; }

.fl-post-modal__nav {
  width: 32px !important;
  height: 32px !important;
  color: #e6e7ea !important;
  background: rgba(17,18,23,.85) !important;
  border: 1px solid #2c2e37 !important;
  border-radius: 8px !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.fl-post-modal__nav:hover { background: #1d1f26 !important; }
.fl-post-modal__dots { bottom: 14px !important; }
.fl-post-modal__dot { background: rgba(255,255,255,.3) !important; transform: none !important; }
.fl-post-modal__dot.is-on { background: #fff !important; }

.fl-post-modal__thumbs {
  gap: 6px !important;
  padding: 10px 12px !important;
  background: #0b0c0f !important;
  border-top: 1px solid #23252d !important;
}
.fl-post-modal__thumb {
  width: 64px !important;
  height: 40px !important;
  background: #16171c !important;
  border: 1px solid #2c2e37 !important;
  border-radius: 6px !important;
  opacity: .55;
  transform: none !important;
  box-shadow: none !important;
  transition: opacity .12s, border-color .12s !important;
}
.fl-post-modal__thumb:hover { opacity: .85; }
.fl-post-modal__thumb.is-on {
  opacity: 1;
  border-color: #e6e7ea !important;
}
.fl-post-modal__thumb--video {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.fl-post-modal__thumb--video svg {
  color: #e6e7ea !important;
  fill: #e6e7ea !important;
  stroke: #e6e7ea !important;
}

/* Side column */
.fl-post-modal__side {
  width: 360px !important;
  background: #111217 !important;
}
.fl-post-modal__side-top {
  position: relative;
  gap: 16px !important;
  padding: 20px !important;
}
.fl-post-modal__toolbar {
  position: absolute !important;
  top: 16px;
  right: 16px;
  z-index: 2;
  gap: 4px !important;
}
.fl-post-modal__icon-btn {
  width: 30px !important;
  height: 30px !important;
  color: #80838e !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  transition: color .12s, background .12s !important;
}
.fl-post-modal__icon-btn:hover {
  color: #f4f4f5 !important;
  background: #1d1f26 !important;
}

.fl-post-modal__heading { padding-right: 72px; }
.fl-post-modal__kicker {
  margin: 0 0 6px !important;
  color: #80838e !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
}
.fl-post-modal__title {
  color: #f4f4f5 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
}
.fl-post-modal__desc {
  color: #9a9ca6 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.fl-post-modal__desc:empty { display: none !important; }

.fl-post-modal__author {
  gap: 10px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.fl-post-modal__avatar {
  width: 32px !important;
  height: 32px !important;
  background: #1d1f26 !important;
  box-shadow: none !important;
}
.fl-post-modal__author-name { color: #e6e7ea !important; font-size: 13px !important; font-weight: 600 !important; }
.fl-post-modal__author-date { color: #6b6d77 !important; font-size: 11px !important; }
.fl-post-modal__dl-count {
  gap: 5px !important;
  padding: 0 !important;
  color: #9a9ca6 !important;
  background: none !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-variant-numeric: tabular-nums;
}
.fl-post-modal__dl-count svg { color: #6b6d77 !important; }

/* Actions */
.fl-post-modal__actions { gap: 8px !important; }
.fl-post-modal__download {
  height: 42px;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  animation: none !important;
  transition: background-color .12s !important;
}
.fl-post-modal__download.is-ready,
.fl-post-modal__download.is-vip { background: #3d6ee0 !important; }
.fl-post-modal__download.is-ready:hover:not(:disabled),
.fl-post-modal__download.is-vip:hover:not(:disabled) { background: #345fc4 !important; }
.fl-post-modal__download.is-verify { background: #5865f2 !important; }
.fl-post-modal__download.is-boost  { background: #c98a12 !important; }
.fl-post-modal__download.is-buy    { background: #12976a !important; }
.fl-post-modal__download.is-muted  { background: #1d1f26 !important; color: #9a9ca6 !important; }
.fl-post-modal__balance-hint { color: #6b6d77 !important; font-size: 11px !important; }

.fl-post-modal__secondary { gap: 8px !important; }
.fl-post-modal__sec-btn {
  height: 36px;
  padding: 0 12px !important;
  color: #c4c6cc !important;
  background: transparent !important;
  border: 1px solid #2c2e37 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background .12s, color .12s !important;
}
.fl-post-modal__sec-btn:hover { color: #fff !important; background: #1d1f26 !important; }
.fl-post-modal__sec-btn.is-saved,
.fl-post-modal__sec-btn.is-report { color: #fff !important; background: #1d1f26 !important; border-color: #3a3d47 !important; }
.fl-post-modal__sec-btn.is-saved { color: #4ade80 !important; background: rgba(34,197,94,.12) !important; border-color: rgba(34,197,94,.35) !important; }

.fl-post-modal__report-input {
  background: #16171c !important;
  border: 1px solid #2c2e37 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}
.fl-post-modal__report-input:focus { border-color: #4a4d58 !important; outline: none !important; }
.fl-post-modal__report-submit {
  color: #fff !important;
  background: #3d6ee0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Comments */
.fl-post-modal__comments-head {
  padding: 14px 20px 8px !important;
  border-top: 1px solid #23252d !important;
}
.fl-post-modal__comments-head p {
  color: #9a9ca6 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.fl-post-modal__comments-head span {
  color: #9a9ca6 !important;
  background: #1d1f26 !important;
  font-weight: 600 !important;
}
.fl-post-modal__comments { padding: 4px 20px 12px !important; gap: 14px !important; }
.fl-post-modal__comments-empty { color: #6b6d77 !important; font-size: 13px !important; }
.fl-post-modal__comment img { width: 28px !important; height: 28px !important; }
.fl-post-modal__comment-user { color: #e6e7ea !important; font-size: 12px !important; font-weight: 600 !important; }
.fl-post-modal__comment-body { color: #c4c6cc !important; font-size: 13px !important; }

.fl-post-modal__composer {
  padding: 12px 16px !important;
  background: #111217 !important;
  border-top: 1px solid #23252d !important;
}
.fl-post-modal__composer-input {
  height: 38px;
  padding: 0 12px !important;
  background: #16171c !important;
  border: 1px solid #2c2e37 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}
.fl-post-modal__composer-input:focus { border-color: #4a4d58 !important; box-shadow: none !important; }
.fl-post-modal__composer-send {
  width: 38px !important;
  height: 38px !important;
  background: #3d6ee0 !important;
  border-radius: 8px !important;
}
.fl-post-modal__composer-locked,
.fl-post-modal__composer-login,
.fl-post-modal__composer-verify {
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.fl-post-modal__composer-login,
.fl-post-modal__composer-verify { background: #5865f2 !important; }

@media (max-width: 860px) {
  .fl-post-modal__side { width: 100% !important; }
  .fl-post-modal__media { border-right: 0 !important; }
}

/* ===== wk-vip-modal.css ===== */
/* VIP access modal: plain card, real account info, no decorative badges. */
#vipDevModal.vip-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}
#vipDevModal .vip-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(5, 7, 11, .72) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
  animation: wkv-fade .18s ease both !important;
}

.vip-modal-card.wkv-card {
  position: relative !important;
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 !important;
  padding: 22px 22px 18px !important;
  text-align: left !important;
  color: #e6e9ef !important;
  background: #0f1218 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.55) !important;
  animation: wkv-in .22s cubic-bezier(.2,.8,.3,1) both !important;
}
.vip-modal-card.wkv-card::before,
.vip-modal-card.wkv-card::after { content: none !important; }
/* wk-cyber-theme boxes every div inside a "*modal*" element; not in this card */
.vip-modal-card.wkv-card > div {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.vip-modal-card.wkv-card * { text-transform: none !important; letter-spacing: normal; }

.wkv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0 !important;
  color: #8a93a2 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  cursor: pointer;
}
.wkv-close:hover { color: #fff !important; background: rgba(255,255,255,.06) !important; }

.wkv-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 32px;
}
.wkv-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1f29;
}
.wkv-avatar--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e3b341;
}
.wkv-head-meta { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.wkv-user {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wkv-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a93a2;
  font-size: 12px;
  font-weight: 500;
}
.wkv-dot { width: 7px; height: 7px; border-radius: 50%; background: #5b6472; }
.wkv-status.is-on { color: #9fd9b4; }
.wkv-status.is-on .wkv-dot { background: #34c27a; }
.wkv-status.is-pending .wkv-dot { background: #78a9ff; animation: wkv-blink 1s ease-in-out infinite; }

.wkv-title {
  margin: 20px 0 6px !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
}
.wkv-desc {
  margin: 0 !important;
  color: #9aa3b2 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.wkv-perks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.06);
}
.wkv-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #8a93a2;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.wkv-perks li.is-on { color: #dfe4ec; }
.wkv-perk-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #6b7482;
  background: rgba(255,255,255,.05);
}
.wkv-perks li.is-on .wkv-perk-ico { color: #78a9ff; background: rgba(120,169,255,.14); }

.wkv-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.wkv-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background .15s, border-color .15s, color .15s;
}
.wkv-btn--primary { color: #fff !important; background: #3d6fe0 !important; }
.wkv-btn--primary:hover { background: #4a7cf0 !important; }
.wkv-btn--discord { color: #fff !important; background: #5865f2 !important; }
.wkv-btn--discord:hover { background: #6773f4 !important; }
.wkv-btn--ghost {
  flex: 0 0 auto;
  color: #c3c9d4 !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.1) !important;
}
.wkv-btn--ghost:hover { color: #fff !important; background: rgba(255,255,255,.05) !important; }
.wkv-actions .wkv-btn--ghost:only-child,
.wkv-actions .wkv-btn--ghost:first-child:not(:last-child) { flex: 1; }

.wkv-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #8a93a2 !important;
  font-size: 12.5px;
  text-decoration: none !important;
}
.wkv-link:hover { color: #c3c9d4 !important; }

.wkv-skeleton { display: grid; gap: 8px; margin-top: 22px; }
.wkv-skeleton span {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04));
  background-size: 200% 100%;
  animation: wkv-shimmer 1.1s linear infinite;
}
.wkv-skeleton span:nth-child(1) { width: 70%; height: 16px; }
.wkv-skeleton span:nth-child(3) { width: 45%; }

@keyframes wkv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wkv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wkv-blink { 50% { opacity: .35; } }
@keyframes wkv-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (max-width: 420px) {
  .wkv-actions { flex-direction: column; }
  .wkv-btn--ghost { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .vip-modal-card.wkv-card, #vipDevModal .vip-modal-backdrop, .wkv-skeleton span, .wkv-dot { animation: none !important; }
}

/* VIP glass suite */
#vipDevModal .vip-modal-backdrop {
  background: radial-gradient(ellipse at 50% 38%, rgba(56,72,142,.22), transparent 52%), rgba(3,5,12,.76) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
}
#vipDevModal .vip-modal-card.wkv-card {
  max-width: 470px !important;
  padding: 27px 27px 23px !important;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(24,28,43,.91), rgba(13,16,25,.94) 58%, rgba(20,19,34,.92)) !important;
  border: 1px solid rgba(179,190,255,.20) !important;
  border-radius: 22px !important;
  box-shadow: 0 36px 110px rgba(0,0,0,.68), inset 0 1px rgba(255,255,255,.10), 0 0 70px rgba(90,105,230,.12) !important;
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}
#vipDevModal .vip-modal-card.wkv-card::before {
  content: "" !important;
  display: block;
  position: absolute;
  left: 13%; right: 13%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189,198,255,.85), rgba(120,139,255,.65), transparent);
}
#vipDevModal .wkv-close { top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 10px !important; background: rgba(255,255,255,.045) !important; border: 1px solid rgba(255,255,255,.08) !important; }
#vipDevModal .wkv-avatar { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 0 0 4px rgba(255,255,255,.035); }
#vipDevModal .wkv-title { margin-top: 21px !important; font-size: 21px !important; letter-spacing: -.45px !important; }
#vipDevModal .wkv-desc { color: #aab3c5 !important; }
#vipDevModal .wkv-perks { border-color: rgba(255,255,255,.09); }
#vipDevModal .wkv-perks li { border-color: rgba(255,255,255,.075); padding: 11px 0; }
#vipDevModal .wkv-perk-ico { width: 22px; height: 22px; background: rgba(255,255,255,.055); }
#vipDevModal .wkv-checkout-box { gap: 11px; margin-top: 18px; }
#vipDevModal .wkv-checkout-price-banner {
  padding: 14px 16px;
  background: linear-gradient(105deg, rgba(235,184,66,.12), rgba(108,91,194,.10));
  border: 1px solid rgba(236,191,91,.27);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
#vipDevModal .wkv-price-badge { font-size: 21px; color: #ffdc83; }
#vipDevModal .wkv-pay-options { gap: 8px; }
#vipDevModal .wkv-pay-option {
  padding: 12px 13px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 13px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
#vipDevModal .wkv-pay-option:hover { background: rgba(255,255,255,.085); border-color: rgba(172,185,255,.28); transform: translateY(-1px); }
#vipDevModal .wkv-pay-option.is-highlight { background: linear-gradient(100deg, rgba(72,105,208,.16), rgba(88,101,242,.10)); border-color: rgba(117,145,255,.36); }
#vipDevModal .wkv-pay-icon { width: 38px; height: 38px; border-radius: 11px; }
#vipDevModal .wkv-pay-text strong { font-size: 13px; }
#vipDevModal .wkv-pay-text small { color: #9aa5b8; }
#vipDevModal .wkv-btn { min-height: 43px; border-radius: 11px !important; }
#vipDevModal .wkv-btn--primary { background: linear-gradient(110deg, #536fe2, #5965e8) !important; box-shadow: 0 8px 24px rgba(82,103,226,.25) !important; }
#vipDevModal .wkv-link { color: #9ba7bd !important; }
@media (max-width: 520px) {
  #vipDevModal.vip-modal-overlay { padding: 12px !important; }
  #vipDevModal .vip-modal-card.wkv-card { max-width: 470px !important; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 22px 19px 19px !important; border-radius: 19px !important; }
}

/* Alignement sur les panneaux WK : surfaces opaques, contraste doux, bleu du site. */
#vipDevModal .vip-modal-backdrop {
  background: rgba(5,7,12,.80) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}
#vipDevModal .vip-modal-card.wkv-card {
  max-width: 430px !important;
  padding: 24px 24px 20px !important;
  background: linear-gradient(180deg,#171a22,#11141b) !important;
  border: 1px solid rgba(100,145,220,.22) !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 76px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.035) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
#vipDevModal .vip-modal-card.wkv-card::before { content:none !important; }
#vipDevModal .wkv-title { font-size:20px !important; }
#vipDevModal .wkv-checkout-price-banner { background:rgba(234,179,8,.07); border-color:rgba(234,179,8,.2); border-radius:12px; }
#vipDevModal .wkv-pay-option { background:#1b1e26; border-color:rgba(255,255,255,.08); border-radius:11px; -webkit-backdrop-filter:none; backdrop-filter:none; }
#vipDevModal .wkv-pay-option:hover { background:#222631; border-color:rgba(100,145,220,.34); }
#vipDevModal .wkv-pay-option.is-highlight { background:rgba(59,130,246,.09); border-color:rgba(59,130,246,.32); }
#vipDevModal .wkv-btn--primary { background:#3a74c2 !important; box-shadow:0 7px 20px rgba(58,116,194,.2) !important; }


/* --- VIP Checkout & Payment Hub --- */
.wkv-checkout-box {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wkv-checkout-price-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 10px;
}
.wkv-price-badge {
  font-size: 18px;
  font-weight: 700;
  color: #eab308;
}
.wkv-price-sub {
  font-size: 12px;
  color: #a1a1aa;
}
.wkv-pay-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.wkv-pay-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #181b22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #f4f4f5 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
  cursor: pointer;
}
.wkv-pay-option:hover {
  background: #20242e;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.wkv-pay-option.is-highlight {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.35);
}
.wkv-pay-option.is-highlight:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: #3b82f6;
}
.wkv-pay-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wkv-pay-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.wkv-pay-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.wkv-pay-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.wkv-pay-text small {
  font-size: 11px;
  color: #a1a1aa;
}
.wkv-pay-arrow {
  color: #71717a;
  font-size: 12px;
}
.wkv-pay-option:hover .wkv-pay-arrow {
  color: #fff;
}


/* ============================================================
   BOUTIQUE PLEINE PAGE ÉPURÉE — DESIGN SYSTEM OFFICIEL WK LEAK
   Sobre, épuré, zéro surcharge visuelle, identique au site.
   ============================================================ */
#vipDevModal.wk-shop-page {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #141417 !important;
  z-index: 2147483640 !important;
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}
#vipDevModal.wk-shop-page .vip-modal-backdrop {
  display: none !important;
}
#vipDevModal.wk-shop-page .wka-card {
  width: 100% !important;
  max-width: 820px !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 28px 20px 80px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  text-align: left !important;
}

/* 1. Header supérieur avec logo, titre, bouton retour et LA PETITE CROIX TOUT À DROITE */
.wk-shop-header-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #2e2e34 !important;
  position: relative !important;
}
.wk-shop-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.wk-shop-header-left .wk-shop-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #202024 !important;
  border: 1px solid #2e2e34 !important;
  color: #ececef !important;
  padding: 6px 13px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all .18s ease !important;
  text-decoration: none !important;
}
.wk-shop-header-left .wk-shop-back-btn:hover {
  background: #2a2a30 !important;
  border-color: #44444b !important;
  color: #fff !important;
  transform: translateX(-2px) !important;
}
.wk-shop-header-titles {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.wk-shop-header-titles h1 {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #ececef !important;
  letter-spacing: -0.01em !important;
}
.wk-shop-header-badge {
  font-size: 11px !important;
  color: #8c8c96 !important;
  background: #26262b !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  border: 1px solid #2e2e34 !important;
  font-weight: 500 !important;
}

/* LA PETITE CROIX TOUT À DROITE */
.wk-shop-top-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: #202024 !important;
  border: 1px solid #2e2e34 !important;
  color: #8c8c96 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all .18s ease !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}
.wk-shop-top-close:hover {
  background: #2a2a30 !important;
  border-color: #44444b !important;
  color: #fff !important;
  transform: scale(1.06) !important;
}

/* Croix fixe d'urgence en haut à droite pour ne jamais être bloqué */
.wk-shop-fixed-close {
  position: fixed !important;
  top: 16px !important;
  right: 18px !important;
  z-index: 2147483647 !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: #202024 !important;
  border: 1px solid #2e2e34 !important;
  color: #ececef !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5) !important;
  transition: all .18s ease !important;
}
.wk-shop-fixed-close:hover {
  background: #2a2a30 !important;
  border-color: #44444b !important;
  color: #fff !important;
  transform: scale(1.08) !important;
}

/* 2. Onglets de catégories (Pills style accueil FiveM) */
.wk-shop-tabs {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 24px !important;
}
.wk-shop-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 8px 15px !important;
  background: #202024 !important;
  border: 1px solid #2e2e34 !important;
  color: #8c8c96 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all .18s ease !important;
  text-decoration: none !important;
}
.wk-shop-tab:hover {
  background: #2a2a30 !important;
  color: #ececef !important;
  border-color: #44444b !important;
}
.wk-shop-tab.is-active {
  background: #26262b !important;
  border-color: #3a74c2 !important;
  color: #fff !important;
  box-shadow: 0 0 0 1px rgba(58, 116, 194, 0.3) !important;
}

/* 3. Carte principale épurée */
.wk-clean-box {
  background: #202024 !important;
  border: 1px solid #2e2e34 !important;
  border-radius: 10px !important;
  padding: 26px 28px !important;
  margin-bottom: 20px !important;
}
.wk-clean-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #2e2e34 !important;
}
.wk-clean-item-title {
  margin: 0 !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #ececef !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.wk-clean-subtext {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  color: #8c8c96 !important;
}
.wk-clean-price-badge {
  text-align: right !important;
}
.wk-clean-price-val {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #ececef !important;
}
.wk-clean-price-period {
  display: block !important;
  font-size: 11px !important;
  color: #8c8c96 !important;
}

/* 4. Liste des avantages simple et propre */
.wk-clean-list {
  list-style: none !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.wk-clean-list li {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 9px 12px !important;
  background: #1a1a1e !important;
  border: 1px solid #2e2e34 !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  color: #ececef !important;
}
.wk-clean-list li i {
  color: #22c55e !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
}

/* 5. Boutons d'actions épurés */
.wk-clean-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}
.wk-clean-btn-stripe {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #3a74c2 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all .18s ease !important;
}
.wk-clean-btn-stripe:hover {
  background: #4885d8 !important;
}
.wk-clean-btn-paypal {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #0070ba !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all .18s ease !important;
}
.wk-clean-btn-paypal:hover {
  background: #005ea6 !important;
}
.wk-clean-note {
  margin: 8px 0 0 !important;
  font-size: 11.5px !important;
  color: #8c8c96 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

/* Inputs de formulaire épurés */
.wk-clean-input {
  width: 100% !important;
  height: 40px !important;
  background: #18181b !important;
  border: 1px solid #2e2e34 !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
  color: #ececef !important;
  font-size: 13px !important;
  outline: none !important;
  margin-bottom: 12px !important;
  transition: border-color .18s !important;
}
.wk-clean-input:focus {
  border-color: #3a74c2 !important;
}

@media (max-width: 600px) {
  .wk-clean-list { grid-template-columns: 1fr !important; }
  .wk-clean-top { flex-direction: column !important; align-items: flex-start !important; }
  .wk-clean-price-badge { text-align: left !important; }
}

/* ===== wk-pagination.css ===== */
/* Page numbers under the resource grid: centred, flat, same surfaces as the sidebar. */
div:has(> [data-testid="button-page-prev"]) {
  justify-content: center !important;
  gap: 4px !important;
  margin-top: 28px !important;
}
div:has(> [data-testid="button-page-prev"]) > button {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #8b8d97 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  font-variant-numeric: tabular-nums;
  box-shadow: none !important;
  transition: background .12s, color .12s !important;
}
div:has(> [data-testid="button-page-prev"]) > button:hover:not(:disabled) {
  background: #17181d !important;
  color: #e6e7ea !important;
}
div:has(> [data-testid="button-page-prev"]) > button[aria-current="page"] {
  background: #f4f4f5 !important;
  border-color: #f4f4f5 !important;
  color: #0e0f13 !important;
  font-weight: 600 !important;
}
div:has(> [data-testid="button-page-prev"]) > [data-testid="button-page-prev"],
div:has(> [data-testid="button-page-prev"]) > [data-testid="button-page-next"] {
  border-color: #23252d !important;
  color: #c4c6cc !important;
}
div:has(> [data-testid="button-page-prev"]) > [data-testid="button-page-prev"] { margin-right: 6px; }
div:has(> [data-testid="button-page-prev"]) > [data-testid="button-page-next"] { margin-left: 6px; }
div:has(> [data-testid="button-page-prev"]) > button:disabled { opacity: .35 !important; cursor: default; }
div:has(> [data-testid="button-page-prev"]) > span { color: #4b4e5a !important; }
/* "3/6" counter: the numbers already say it */
div:has(> [data-testid="button-page-prev"]) > span:last-child { display: none !important; }

/* ===== wk-notif.css ===== */
/* Discord @Leak notifications: these blocks had no styles at all and showed as raw text at the bottom of the page. */

/* The floating "Notifs @Leak" button and the copy injected next to a Discord link: the prompt and the modal cover it */
.wk-notif-fab,
.wk-nav-notif-btn { display: none !important; }

/* Prompt (shown with style.display = block) */
.wk-notif-toast-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483003;
  width: min(330px, calc(100vw - 32px));
  color: #e6e7ea;
  font: 400 13px/1.5 Inter, system-ui, sans-serif;
  background: #121318;
  border: 1px solid #23252d;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.wk-notif-toast-inner { position: relative; display: flex; gap: 12px; padding: 14px; }
.wk-notif-toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6d77;
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.wk-notif-toast-close:hover { color: #e6e7ea; background: #1d1f26; }
.wk-notif-toast-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  background: #5865f2;
  border-radius: 8px;
}
.wk-notif-toast-body { flex: 1; min-width: 0; padding-right: 18px; }
.wk-notif-toast-title { margin: 1px 0 2px; color: #f4f4f5; font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.wk-notif-toast-desc { color: #8b8d97; font-size: 12.5px; line-height: 1.5; }
.wk-role-pill { color: #c9cdfb; font-weight: 600; }
.wk-notif-toast-actions { display: flex; gap: 8px; margin-top: 12px; }
.wk-toast-btn-accept,
.wk-toast-btn-decline {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  font: 600 12.5px Inter, system-ui, sans-serif;
  border-radius: 8px;
  cursor: pointer;
}
.wk-toast-btn-accept { color: #fff; background: #5865f2; border: 1px solid #5865f2; }
.wk-toast-btn-accept:hover { background: #4752c4; border-color: #4752c4; }
.wk-toast-btn-decline { color: #c4c6cc; background: transparent; border: 1px solid #2c2f38; }
.wk-toast-btn-decline:hover { color: #f4f4f5; background: #1d1f26; }

/* Modal (shown with style.display = flex) */
.wk-notif-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483004;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.wk-notif-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 6, 9, .75); }
.wk-notif-modal-card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  color: #e6e7ea;
  font: 400 13px/1.5 Inter, system-ui, sans-serif;
  text-align: center;
  background: #121318;
  border: 1px solid #23252d;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}
.wk-notif-status-card {
  margin-bottom: 16px;
  padding: 14px;
  text-align: left;
  background: #17181d;
  border: 1px solid #23252d;
  border-radius: 10px;
}

/* On/off switch in the modal */
.wk-switch { position: relative; flex: none; display: inline-block; width: 40px; height: 22px; }
.wk-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.wk-slider {
  position: absolute;
  inset: 0;
  background: #2c2f38;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
}
.wk-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .15s;
}
.wk-switch input:checked + .wk-slider { background: #5865f2; }
.wk-switch input:checked + .wk-slider::before { transform: translateX(18px); }
.wk-switch input:disabled + .wk-slider { opacity: .4; cursor: not-allowed; }

/* ===== wk-install-banner.css ===== */
/* Bandeau « Installer l'app » (mobile) — rendu par le composant GB du bundle */
.wk-pwa-wrap {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 990;
  padding: 0 12px max(12px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.wk-pwa {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 14px 14px 14px;
  border-radius: 16px;
  background: rgba(13, 16, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: Inter, system-ui, sans-serif;
}
.wk-pwa__logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  background: #000;
}
.wk-pwa__body { min-width: 0; flex: 1; padding-right: 22px; }
.wk-pwa__title {
  margin: 1px 0 0;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.wk-pwa__text {
  margin: 4px 0 0;
  color: rgba(226, 232, 240, 0.62);
  font-size: 12.5px;
  line-height: 1.45;
}
.wk-pwa__text strong { color: #e2e8f0; font-weight: 600; }
.wk-pwa__actions { display: flex; gap: 8px; margin-top: 12px; }
.wk-pwa__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  font: 600 13px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.wk-pwa__btn i { font-size: 12px; }
.wk-pwa__btn:disabled { opacity: .6; cursor: wait; }
.wk-pwa__btn--primary { flex: 1; background: #2563eb; border: 1px solid #2563eb; color: #fff; }
.wk-pwa__btn--primary:hover:not(:disabled) { background: #1d4ed8; border-color: #1d4ed8; }
.wk-pwa__btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(226, 232, 240, 0.8); }
.wk-pwa__btn--ghost:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.wk-pwa__btn:focus-visible, .wk-pwa__close:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.wk-pwa__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(226, 232, 240, 0.45);
  font-size: 14px;
  cursor: pointer;
}
.wk-pwa__close:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

/* ===== wk-header.css ===== */
/* Header, hero title, stats row and page-size switch: flat surfaces, no glows, one height for the header controls. */

/* "WK Leak" was drawn as a bordered pill (header and hero); plain text now */
html body .text-gradient-pkm {
  padding: 0 !important;
  color: #f4f4f5 !important;
  -webkit-text-fill-color: #f4f4f5 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  letter-spacing: inherit !important;
  animation: none !important;
}
html body [data-testid="link-logo"] .text-gradient-pkm {
  padding: 0 !important;
  color: #f4f4f5 !important;
  background: none !important;
  border: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}
html body [data-testid="link-logo"] > div:first-child {
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
html body [data-tour="hero-title"] { font-weight: 700 !important; letter-spacing: -.01em !important; }
html body [data-tour="hero-title"] .text-gradient-pkm { font: inherit !important; }
html body [data-tour="hero-title"] .text-gradient-pkm + span { color: #a1a3ab !important; }

/* Header controls on the right: same height, same surface */
html body .fl-saas-header [class*="border-amber-500"], 
html body .fl-saas-header [class*="font-mono"], 
html body .fl-saas-header [data-testid="button-user-menu"], 
html body .fl-saas-header #wkLangToggleBtn {
  height: 32px !important;
  padding: 0 12px !important;
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
}
html body .fl-saas-header [class*="border-amber-500"] {
  gap: 6px !important;
  color: #e9b949 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
html body .fl-saas-header [class*="border-amber-500"]:hover { background: #1b1c22 !important; }
html body .fl-saas-header [class*="border-amber-500"] > span:first-child:empty { display: none; }
html body .fl-saas-header [class*="border-amber-500"] > span { filter: none !important; letter-spacing: 0 !important; }
html body .fl-saas-header [class*="font-mono"] {
  gap: 8px !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums;
}
html body .fl-saas-header [class*="font-mono"] > span:first-child { width: 6px !important; height: 6px !important; box-shadow: none !important; }
html body .fl-saas-header [class*="font-mono"] > span:last-child { color: #c4c6cc !important; font-weight: 500 !important; }
html body .fl-saas-header [data-testid="button-user-menu"] { padding: 0 10px 0 4px !important; gap: 8px !important; }
html body .fl-saas-header [data-testid="button-user-menu"]:hover { background: #1b1c22 !important; }
html body .fl-saas-header [data-testid="button-user-menu"] img { width: 24px !important; height: 24px !important; box-shadow: none !important; }
html body .fl-saas-header [data-testid="button-user-menu"] > span { color: #e6e7ea !important; font-size: 12.5px !important; font-weight: 500 !important; }
html body .fl-saas-header .wk-chip-tag { line-height: 16px; }
html body .fl-saas-header #wkLangToggleBtn { font-size: 11px !important; letter-spacing: .02em !important; }
html body .fl-saas-header #wkLangToggleBtn:hover { background: #1b1c22 !important; }

/* Stats row: one flat card per figure (the outer frame + inner card made a double box) */
/* Full width of the content column, aligned with the title and the sidebar (was centred at max 1120px and clipped) */
html body .stats-bar-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 18px 0 24px !important;
  overflow: visible !important;
  gap: 12px !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html body .stats-bar-panel .stats-bar-divider { display: none !important; }
html body .stats-bar-panel .shiny-stat-wrap.shiny-stat-wrap.shiny-stat-wrap {
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
html body .stats-bar-panel .shiny-stat-wrap::before, 
html body .stats-bar-panel .shiny-stat-wrap::after, 
html body .stats-bar-panel .shiny-stat-inner::before, 
html body .stats-bar-panel .shiny-stat-inner::after { display: none !important; }
html body .stats-bar-panel .shiny-stat-inner {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: 100%;
  padding: 14px 16px !important;
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: border-color .12s !important;
}
html body .stats-bar-panel .shiny-stat-wrap:hover .shiny-stat-inner, 
html body .stats-bar-panel .shiny-stat-wrap[aria-pressed="true"] .shiny-stat-inner { border-color: #33363f !important; }
html body .stats-bar-panel .stats-bar-icon {
  width: 36px !important;
  height: 36px !important;
  color: #8b8d97 !important;
  background: #1b1c22 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
html body .stats-bar-panel .stats-bar-icon svg { width: 17px !important; height: 17px !important; color: inherit !important; fill: none !important; }
/* "En ligne": a live dot instead of the filled circle icon */
html body [data-testid="btn-text-online-now"] .stats-bar-icon svg { display: none !important; }
html body [data-testid="btn-text-online-now"] .stats-bar-icon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .15);
}
html body .stats-bar-panel .stat-label {
  display: block;
  color: #8b8d97 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body .stats-bar-panel .stat-number-display, 
html body .stats-bar-panel .stat-count-value {
  color: #f4f4f5 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: -.01em !important;
  text-shadow: none !important;
  font-variant-numeric: tabular-nums;
}
html body .stats-bar-panel .stat-view-link {
  padding: 4px 10px !important;
  color: #9a9ca6 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: 1px solid #23252d !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body .stats-bar-panel .shiny-stat-wrap:hover .stat-view-link { color: #f4f4f5 !important; background: #1b1c22 !important; }

/* Page size switch ("Afficher 10 20 50"): small segmented control */
html body div:has(> [data-testid="button-limit-10"]) {
  gap: 2px !important;
  padding: 3px !important;
  background: #121318;
  border: 1px solid #23252d;
  border-radius: 8px;
}
html body div:has(> [data-testid="button-limit-10"]) > span {
  padding: 0 6px 0 6px;
  color: #6b6d77 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body div:has(> [data-testid="button-limit-10"]) > button {
  min-width: 30px;
  height: 24px;
  padding: 0 8px !important;
  color: #8b8d97 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border-radius: 6px !important;
}
html body div:has(> [data-testid="button-limit-10"]) > button:hover { color: #f4f4f5 !important; }
html body div:has(> [data-testid="button-limit-10"]) > button[aria-pressed="true"] { color: #f4f4f5 !important; background: #23252d !important; }
/* Footer: name + short line on the left, copyright on the right (replaces the big animated outline logo) */
html body footer .wk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Inter, system-ui, sans-serif;
}
html body footer .wk-foot-brand { display: flex; align-items: baseline; gap: 10px; }
html body footer .wk-foot-name { color: #e6e7ea; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
html body footer .wk-foot-tag { color: #6b6d77; font-size: 12.5px; }
html body footer .wk-foot-copy { margin: 0; color: #6b6d77; font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* Phones: the centred nav tabs (desktop only) were forced visible and covered the right-hand controls */
@media (max-width: 767px) {
  html body .fl-saas-header .fl-saas-header__inner nav.console-nav > div.absolute.hidden:has(.fl-nav-link) { display: none !important; }
  html body .fl-saas-header [class*="font-mono"] { display: none !important; }
  html body .fl-saas-header [data-testid="button-user-menu"] > span { display: none !important; }
  html body .fl-saas-header [data-testid="button-user-menu"] { padding: 0 4px !important; }
  html body .fl-saas-header [class*="border-amber-500"],
  html body .fl-saas-header #wkLangToggleBtn { padding: 0 9px !important; }
  html body [data-testid="link-logo"] .text-gradient-pkm { font-size: 14px !important; }

  /* Stats: 2 x 2 compact cards, the whole card already opens the panel */
  html body .stats-bar-panel { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; margin: 14px 0 18px !important; }
  html body .stats-bar-panel .shiny-stat-inner { padding: 12px !important; gap: 10px !important; }
  html body .stats-bar-panel .stats-bar-icon { width: 30px !important; height: 30px !important; }
  html body .stats-bar-panel .stat-view-link { display: none !important; }
  html body .stats-bar-panel .stat-number-display,
  html body .stats-bar-panel .stat-count-value { font-size: 16px !important; }
  html body .stats-bar-panel .stat-label { font-size: 11.5px !important; }
}

/* ===== wk-users-panel.css ===== */
/* Panel opened from the stats ("Voir"): a centred window instead of a drawer stuck to the right edge. */
html body div:has(+ .shiny-panel-shell) {
  z-index: 2147482989 !important;
  background: rgba(5, 6, 9, .7) !important;
}
html body .shiny-panel-shell {
  z-index: 2147482990 !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: min(680px, calc(100vw - 32px)) !important;
  height: min(600px, calc(100vh - 64px)) !important;
  padding: 0 !important;
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55) !important;
  transform: translate(-50%, -50%) !important;
  overflow: hidden !important;
  animation: wkup-in .16s ease-out both !important;
}
@keyframes wkup-in { from { opacity: 0; margin-top: 6px; } to { opacity: 1; margin-top: 0; } }
html body .shiny-panel-shell::before,
html body .shiny-panel-shell::after,
html body .shiny-panel-inner::before,
html body .shiny-panel-inner::after { display: none !important; }
html body .shiny-panel-inner {
  width: 100% !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body .shiny-panel-inner > div:first-child {
  padding: 16px 16px 0 24px !important;
  border-bottom: 0 !important;
}
html body .shiny-panel-inner > div:first-child h3 { color: #8b8d97 !important; font-size: 12px !important; font-weight: 500 !important; }
html body .shiny-panel-inner > div:first-child button {
  width: 30px !important;
  height: 30px !important;
  color: #8b8d97 !important;
  background: transparent !important;
  border-radius: 7px !important;
  transform: none !important;
}
html body .shiny-panel-inner > div:first-child button:hover { color: #f4f4f5 !important; background: #1d1f26 !important; }
html body .shiny-panel-inner > div:last-child { min-height: 0; padding: 0 !important; }

/* Members */
.wkup { display: flex; flex-direction: column; height: 100%; font-family: Inter, system-ui, sans-serif; }
.wkup-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 24px 16px;
}
.wkup-counts { flex: 1; min-width: 0; }
.wkup-title { margin: 0; white-space: nowrap; color: #f4f4f5; font-size: 22px; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.wkup-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  color: #8b8d97;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.wkup-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.wkup .wkup-search {
  flex: none !important;
  width: 220px !important;
  min-width: 0 !important;
  margin: 0 !important;
  height: 36px;
  padding: 0 12px 0 34px;
  color: #e6e7ea;
  font: 400 13px Inter, system-ui, sans-serif;
  background: #0e0f13 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6d77' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center;
  border: 1px solid #23252d;
  border-radius: 8px;
  outline: none;
}
.wkup-search::placeholder { color: #6b6d77; }
.wkup-search:focus { border-color: #3a3d48; }
.wkup-search::-webkit-search-cancel-button { -webkit-appearance: none; }

.wkup-tabs {
  display: flex;
  gap: 2px;
  padding: 0 20px;
  border-bottom: 1px solid #1f2128;
}
.wkup-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  margin-bottom: -1px;
  padding: 0 10px;
  color: #8b8d97;
  font: 500 13px Inter, system-ui, sans-serif;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.wkup-tab:hover { color: #e6e7ea; }
.wkup-tab[aria-selected="true"] { color: #f4f4f5; border-bottom-color: #f4f4f5; }
.wkup-tab-count {
  padding: 0 6px;
  color: #8b8d97;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  background: #1b1c22;
  border-radius: 4px;
}
.wkup-tab[aria-selected="true"] .wkup-tab-count { color: #e6e7ea; background: #23252d; }

.wkup-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: #2c2f38 transparent;
}
.wkup-list::-webkit-scrollbar { width: 6px; }
.wkup-list::-webkit-scrollbar-thumb { background: #2c2f38; border-radius: 3px; }
.wkup-label { margin: 14px 8px 6px; color: #6b6d77; font-size: 11.5px; font-weight: 500; }
.wkup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.wkup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .12s;
}
.wkup-row:hover { background: #1b1c22; }
.wkup-row.is-guest { cursor: default; }
.wkup-row.is-guest:hover { background: none; }
.wkup-av { position: relative; flex: none; width: 34px; height: 34px; }
.wkup-av > img, .wkup-av > div:first-child {
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #1d1f26 !important;
}
.wkup-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border: 2px solid #121318;
  border-radius: 50%;
  background: #4b4e5a;
}
.wkup-row.is-online .wkup-status { background: #22c55e; }
.wkup-row:not(.is-online) .wkup-av > img { opacity: .75; }
.wkup-meta { flex: 1; min-width: 0; }
.wkup-name {
  margin: 0;
  overflow: hidden;
  color: #d4d5da;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wkup-row.is-online .wkup-name { color: #f4f4f5; }
.wkup-time { margin: 1px 0 0; color: #6b6d77; font-size: 11.5px; }
.wkup-tag { padding: 1px 6px; color: #8b8d97; font-size: 10px; font-weight: 600; border: 1px solid #2c2e37; border-radius: 4px; }
.wkup-more {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 12px;
  color: #c4c6cc;
  font: 500 12.5px Inter, system-ui, sans-serif;
  background: transparent;
  border: 1px solid #23252d;
  border-radius: 8px;
  cursor: pointer;
}
.wkup-more:hover:not(:disabled) { color: #f4f4f5; background: #1b1c22; }
.wkup-more:disabled { opacity: .5; cursor: default; }
.wkup-empty { padding: 48px 0; color: #6b6d77; font-size: 13px; text-align: center; }
.wkup-row--skel { cursor: default; }
.wkup-av--skel { border-radius: 50%; background: #1b1c22; }
.wkup-skel { width: 120px; height: 10px; border-radius: 4px; background: #1b1c22; }

@media (max-width: 600px) {
  .wkup-head { flex-direction: column; align-items: stretch; }
  .wkup .wkup-search { width: 100% !important; }
  .wkup-grid { grid-template-columns: 1fr; }
}

/* ===== wk-cards.css ===== */
/* Resource cards (classic layout, .console-card): flat surface like the stats and the sidebar.
   Older themes style these with !important, hence "html body" on every rule. */
html body .console-card {
  overflow: visible !important; /* the Christmas snow cap sits above the top edge */
  background: #121318 !important;
  border: 1px solid #23252d !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .12s !important;
}
html body .console-card:hover { border-color: #3a3d48 !important; box-shadow: none !important; transform: none !important; }
html body .console-card.console-card-pinned { border-color: #3a3d48 !important; }
html body .console-card::after { display: none !important; }

html body .console-card .console-card__media {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 9px 9px 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #1f2128 !important;
  background: #0e0f13 !important;
}
html body .console-card .console-card__media::before,
html body .console-card .console-card__media::after { display: none !important; }
html body .console-card .console-card__img { transition: transform .25s ease !important; filter: none !important; }
html body .console-card .console-card__img--empty {
  display: grid !important;
  place-items: center !important;
  color: #4b4e5a !important;
  font-size: 13px !important;
  background: #0e0f13 !important;
}

/* Category chip on the image */
html body .console-card .console-card__cat {
  top: 10px !important;
  left: 10px !important;
  gap: 5px !important;
  padding: 3px 8px !important;
  color: #e6e7ea !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: rgba(14, 15, 19, .82) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Text */
html body .console-card .console-card__body { padding: 12px 14px 12px !important; gap: 8px !important; }
html body .console-card .console-card__head { display: block !important; min-height: 0 !important; margin: 0 !important; }
html body .console-card .console-card__title {
  margin: 0 !important;
  color: #f4f4f5 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}
html body .console-card .console-card__type { margin-top: 2px !important; color: #8b8d97 !important; font-size: 12px !important; font-weight: 400 !important; }
html body .console-card .console-card__meta {
  gap: 14px !important;
  padding: 0 !important;
  color: #8b8d97 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  border: 0 !important;
  font-variant-numeric: tabular-nums;
}
html body .console-card .console-card__meta span { gap: 5px !important; }
html body .console-card .meta-icon { width: 13px !important; height: 13px !important; color: #6b6d77 !important; }

/* Footer: price tag + save */
html body .console-card .console-card__foot {
  margin-top: 2px !important;
  padding-top: 10px !important;
  border-top: 1px solid #1f2128 !important;
}
html body .console-card .console-card__price {
  display: inline-block !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: lowercase !important;
  background: transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  animation: none !important;
}
html body .console-card .console-card__price::first-letter { text-transform: uppercase; }
html body .console-card .console-card__price::before,
html body .console-card .console-card__price::after { display: none !important; }
html body .console-card .console-card__price.is-free { color: #4ade80 !important; border: 1px solid rgba(74, 222, 128, .3) !important; }
html body .console-card .console-card__price.is-boost { color: #e9b949 !important; border: 1px solid rgba(233, 185, 73, .35) !important; text-transform: none !important; }
html body .console-card .console-card__price.is-paid { color: #e6e7ea !important; border: 1px solid #2c2f38 !important; text-transform: none !important; }
html body .console-card .console-card__save {
  width: 30px !important;
  height: 30px !important;
  color: #6b6d77 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}
html body .console-card .console-card__save:hover { color: #f4f4f5 !important; background: #1d1f26 !important; }
html body .console-card .console-card__save.is-saved { color: #f4f4f5 !important; }

/* "New" badge on resources posted in the last 48 h (top right of the image) */
html body .console-card .wk-card-new {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 8px;
  color: #0e0f13;
  font: 600 11px/1.3 Inter, system-ui, sans-serif;
  background: #f4f4f5;
  border-radius: 6px;
}
html.wk-xmas body .console-card .wk-card-new { color: #fff; background: #dc2626; }

/* ===== wk-resource-ui.css ===== */
/* Cartes de ressources + fenêtre d'une publication.
   Chargé après wk-cyber-theme.css / wk-post-modal.css, avant wk-christmas.css (qui recolore en rouge à Noël). */

:root {
  --rc-surface: #111318;
  --rc-surface-2: #161922;
  --rc-border: #1f232d;
  --rc-border-hover: #2f3545;
  --rc-text: #eceef3;
  --rc-muted: #8a90a0;
  --rc-faint: #5f6575;
  --rc-accent: #3b82f6;
  --rc-accent-hover: #2f6fe0;
  --rc-free: #34c27a;
  --rc-vip: #f5b301;
  --rc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ===================== CARTE ===================== */
html body article.console-card,
html body .console-card {
  display: flex !important;
  flex-direction: column !important;
  background: var(--rc-surface) !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 6px 18px rgba(0, 0, 0, .28) !important;
  overflow: hidden !important;
  transform: translateY(0);
  transition: transform .22s var(--rc-ease), border-color .2s, box-shadow .22s var(--rc-ease) !important;
}
html body .console-card:hover {
  transform: translateY(-3px);
  border-color: var(--rc-border-hover) !important;
  background: var(--rc-surface) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 16px 34px rgba(0, 0, 0, .45) !important;
}
html body .console-card:focus-visible { outline: 2px solid var(--rc-accent); outline-offset: 3px; }

/* Visuel */
html body .console-card__media {
  position: relative !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  background: #0b0c10 !important;
  border-bottom: 0 !important;
  overflow: hidden !important;
}
html body .console-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.001);
  transition: transform .5s var(--rc-ease), filter .3s !important;
}
html body .console-card:hover .console-card__img { transform: scale(1.045); }
/* Fondu bas de l'image vers la carte */
html body .console-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(17, 19, 24, 0), rgba(17, 19, 24, .92));
  pointer-events: none;
}
html body .console-card__cat {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 1;
  padding: 4px 9px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 999px !important;
  background: rgba(10, 11, 15, .62) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f2f3f7 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
}

/* Texte */
html body .console-card__body {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 2px 16px 14px !important;
  margin-top: -6px;
  position: relative;
}
html body .console-card__head { display: flex; flex-direction: column; gap: 4px; }
html body .console-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0 !important;
  color: var(--rc-text) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  letter-spacing: -.01em !important;
  transition: color .15s;
}
html body .console-card:hover .console-card__title { color: #fff !important; }
html body .console-card__type {
  margin: 0 !important;
  color: var(--rc-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
html body .console-card__meta {
  display: flex !important;
  align-items: center;
  gap: 14px !important;
  color: var(--rc-faint) !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums;
}
html body .console-card__meta > span { display: inline-flex !important; align-items: center; gap: 6px !important; }
html body .console-card__meta svg { width: 14px !important; height: 14px !important; opacity: .8; }

/* Pied */
html body .console-card__foot {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--rc-border) !important;
}
html body .console-card__price {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .05) !important;
  color: var(--rc-text) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase;
  box-shadow: none !important;
}
html body .console-card__price::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
html body .console-card__price.is-free { color: var(--rc-free) !important; background: rgba(52, 194, 122, .1) !important; }
html body .console-card__price.is-boost,
html body .console-card__price.is-vip { color: var(--rc-vip) !important; background: rgba(245, 179, 1, .1) !important; }
html body .console-card__save {
  display: grid !important;
  place-items: center;
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--rc-faint) !important;
  transition: color .15s, background-color .15s, border-color .15s !important;
}
html body .console-card__save:hover { color: var(--rc-text) !important; background: rgba(255, 255, 255, .05) !important; border-color: var(--rc-border) !important; }
html body .console-card__save.is-saved { color: var(--rc-accent) !important; }
html body .console-card__save svg { width: 16px !important; height: 16px !important; }

/* ===================== FENÊTRE D'UNE PUBLICATION ===================== */
html body .fl-post-modal__backdrop {
  background: rgba(4, 5, 8, .78) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;
}
html body .fl-post-modal {
  max-width: 1140px !important;
  background: var(--rc-surface) !important;
  border: 1px solid var(--rc-border-hover) !important;
  border-radius: 18px !important;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset !important;
}

/* Visuel : l'image floutée remplit les bandes noires autour de l'aperçu */
html body .fl-post-modal__media { background: #07080b !important; border-right: 1px solid var(--rc-border) !important; }
html body .fl-post-modal__stage {
  position: relative;
  overflow: hidden;
  background: #07080b !important;
  isolation: isolate;
}
html body .fl-post-modal__stage::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background-image: var(--pm-ambient, none);
  background-size: cover;
  background-position: center;
  filter: blur(36px) saturate(1.2) brightness(.45);
  transform: scale(1.1);
}
html body .fl-post-modal__stage { display: flex !important; align-items: center; justify-content: center; }
html body .fl-post-modal__img {
  position: relative;
  z-index: 1;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5));
}
/* Miniatures YouTube (hqdefault) : 4:3 avec bandes noires incrustées, on les recadre en 16:9 */
html body .fl-post-modal__img[src*="img.youtube.com"] {
  width: 100% !important;
  height: auto !important;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
}
html body .fl-post-modal__thumbs {
  gap: 8px !important;
  padding: 12px 14px !important;
  background: var(--rc-surface) !important;
  border-top: 1px solid var(--rc-border) !important;
}
html body .fl-post-modal__thumb {
  width: 72px !important;
  height: 44px !important;
  border-radius: 8px !important;
  border: 1px solid var(--rc-border-hover) !important;
  opacity: .5;
  overflow: hidden;
}
html body .fl-post-modal__thumb.is-on { opacity: 1; border-color: #fff !important; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12) !important; }

/* Colonne d'infos */
html body .fl-post-modal__side { width: 380px !important; background: var(--rc-surface) !important; }
html body .fl-post-modal__side-top { gap: 18px !important; padding: 24px 24px 20px !important; }
html body .fl-post-modal__kicker {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  height: 22px;
  margin: 0 0 10px !important;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(59, 130, 246, .12);
  color: #8db4ff !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
}
html body .fl-post-modal__title {
  color: #fff !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
}
html body .fl-post-modal__author {
  padding: 12px !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 12px !important;
  background: var(--rc-surface-2) !important;
}
html body .fl-post-modal__avatar { width: 36px !important; height: 36px !important; }
html body .fl-post-modal__author-name { font-size: 13.5px !important; }
html body .fl-post-modal__dl-count {
  height: 26px;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .05) !important;
  color: var(--rc-text) !important;
}

html body .fl-post-modal__download {
  height: 48px;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  transition: background-color .15s, transform .15s, box-shadow .15s !important;
}
html body .fl-post-modal__download.is-ready,
html body .fl-post-modal__download.is-vip {
  background: var(--rc-accent) !important;
  box-shadow: 0 8px 22px rgba(59, 130, 246, .28) !important;
}
html body .fl-post-modal__download.is-ready:hover:not(:disabled),
html body .fl-post-modal__download.is-vip:hover:not(:disabled) {
  background: var(--rc-accent-hover) !important;
  box-shadow: 0 10px 26px rgba(59, 130, 246, .38) !important;
}
html body .fl-post-modal__download:active:not(:disabled) { transform: translateY(1px) !important; }
html body .fl-post-modal__sec-btn { height: 40px; border-radius: 10px !important; border-color: var(--rc-border-hover) !important; }

/* Commentaires */
html body .fl-post-modal__comments-head { padding: 16px 24px 8px !important; border-top: 1px solid var(--rc-border) !important; }
html body .fl-post-modal__comments-head p { color: var(--rc-text) !important; font-size: 13px !important; }
html body .fl-post-modal__comments { padding: 4px 24px 14px !important; }
html body .fl-post-modal__comments-empty {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--rc-faint) !important;
}
html body .fl-post-modal__comments-empty::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a90a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / 20px no-repeat,
    var(--rc-surface-2);
  border: 1px solid var(--rc-border);
}
html body .fl-post-modal__composer { padding: 14px 18px !important; background: var(--rc-surface) !important; border-top: 1px solid var(--rc-border) !important; }
html body .fl-post-modal__composer-input { height: 42px; border-radius: 10px !important; background: var(--rc-surface-2) !important; border-color: var(--rc-border-hover) !important; }
html body .fl-post-modal__composer-send { width: 42px !important; height: 42px !important; border-radius: 10px !important; background: var(--rc-accent) !important; }

@media (max-width: 860px) {
  html body .fl-post-modal__side { width: 100% !important; }
  html body .fl-post-modal { border-radius: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body .console-card, html body .console-card__img { transition: none !important; }
  html body .console-card:hover { transform: none; }
  html body .console-card:hover .console-card__img { transform: none; }
}

/* ===== wk-popups.css ===== */
/* Pop-ups du site : pub sponsor, toast « Notifications Discord », toasts de téléchargement.
   Même famille visuelle que les cartes et la fenêtre des publications (wk-resource-ui.css). */

:root {
  --pp-surface: #111318;
  --pp-surface-2: #161922;
  --pp-border: #262b37;
  --pp-text: #eceef3;
  --pp-muted: #8a90a0;
  --pp-accent: #3b82f6;
  --pp-discord: #5865f2;
  --pp-ease: cubic-bezier(.2, .8, .2, 1);
}

/* Advertisement: a small partner panel beside its artwork. */
html body .sponsor-popup-overlay { align-items:center !important; justify-content:center !important; padding:20px !important; z-index:2147483200 !important; }
html body .sponsor-popup-backdrop { background:#05080dbd !important; backdrop-filter:blur(3px) !important; }
html body .sponsor-popup-card {
  position:relative !important; display:grid !important; grid-template-columns:270px minmax(0,1fr) !important;
  grid-template-rows:auto 1fr !important; width:min(650px,100%) !important; max-width:650px !important;
  max-height:calc(100dvh - 40px) !important; overflow:auto !important;
  background:var(--nl-surface,#10151e) !important; border:1px solid var(--nl-border,#2b3545) !important;
  border-radius:8px !important; box-shadow:0 20px 60px #0007 !important; animation:none !important;
}
html body .sponsor-popup-body { grid-column:1; grid-row:1 / 3; position:relative !important; padding:0 !important; min-height:280px; background:#080c12 !important; border:0 !important; border-right:1px solid var(--nl-border,#2b3545) !important; }
html body .sponsor-full-image-link { display:block; height:100%; line-height:0; }
html body .sponsor-full-image-img { display:block !important; width:100% !important; height:100% !important; min-height:280px; max-height:420px; object-fit:contain !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
html body .sponsor-popup-header { grid-column:2; grid-row:1; display:block !important; padding:30px 40px 12px 26px !important; background:none !important; border:0 !important; }
html body .sponsor-header-left { display:block !important; min-width:0; }
html body .sponsor-header-left::before { content:'PUBLICITÉ'; display:block; margin-bottom:18px; color:var(--nl-muted,#8e9aab); font:500 10px/1.4 Inter,system-ui,sans-serif; letter-spacing:1.6px; }
html body .sponsor-dot-orange, html body .sponsor-badge-tag { display:none !important; }
html body .sponsor-partner-name { display:block !important; color:var(--nl-text,#edf2f8) !important; font:600 23px/1.25 Inter,system-ui,sans-serif !important; letter-spacing:-.5px !important; text-transform:none !important; overflow-wrap:anywhere; white-space:normal !important; }
html body .sponsor-partner-name::after { content:none !important; }
html body .sponsor-close-btn { position:absolute !important; top:10px !important; right:10px !important; z-index:3; display:grid !important; place-items:center !important; width:28px !important; height:28px !important; padding:0 !important; border:0 !important; border-radius:4px !important; background:transparent !important; color:#96a1b1 !important; font-size:23px !important; line-height:1 !important; box-shadow:none !important; cursor:pointer; }
html body .sponsor-close-btn:hover { color:#fff !important; background:#ffffff0b !important; }
html body .sponsor-popup-footer { grid-column:2; grid-row:2; display:flex !important; flex-direction:column !important; justify-content:flex-end !important; align-items:stretch !important; gap:18px !important; padding:12px 26px 24px !important; background:none !important; border:0 !important; }
html body .sponsor-footer-actions { order:0; display:flex !important; flex-direction:column !important; gap:9px !important; margin:0 !important; }
html body .sponsor-discord-pill-btn, html body .sponsor-website-btn { display:flex; justify-content:center !important; align-items:center !important; gap:9px !important; min-height:39px !important; height:auto !important; padding:10px 12px !important; border-radius:5px !important; font:500 12px/1.4 Inter,system-ui,sans-serif !important; text-decoration:none !important; box-shadow:none !important; transform:none !important; }
html body .sponsor-website-btn { order:0; color:#fff !important; background:var(--nl-primary,#2774b9) !important; border:1px solid var(--nl-primary,#2774b9) !important; }
html body .sponsor-discord-pill-btn { order:1; color:var(--nl-text,#d5deeb) !important; background:transparent !important; border:1px solid var(--nl-border,#354153) !important; }
html body .sponsor-discord-pill-btn i { color:#98a4dc !important; }
html body .sponsor-website-btn:hover { filter:brightness(1.1); }
html body .sponsor-discord-pill-btn:hover { background:#ffffff06 !important; }
html body .sponsor-dismiss-label { order:1; display:flex !important; align-items:center !important; align-self:flex-start !important; gap:8px !important; color:var(--nl-muted,#8e9aab) !important; font:400 11px/1.4 Inter,system-ui,sans-serif !important; cursor:pointer; }
html body .sponsor-dismiss-label input { appearance:auto !important; width:13px; height:13px; margin:0; accent-color:var(--nl-primary,#2774b9); }
html body .sponsor-content-box { padding:25px 20px !important; background:transparent !important; text-align:left !important; }
html body .sponsor-card-title { font:600 18px/1.4 Inter,system-ui,sans-serif !important; color:var(--nl-text,#edf2f8) !important; }
html body .sponsor-card-desc { font:400 13px/1.7 Inter,system-ui,sans-serif !important; color:var(--nl-muted,#9aa7b8) !important; }
html body .sponsor-nav-btn { position:absolute !important; top:50% !important; z-index:2; width:28px !important; height:32px !important; background:#080c12cc !important; border:1px solid #ffffff22 !important; border-radius:4px !important; color:#fff !important; transform:translateY(-50%) !important; }
html body .sponsor-nav-prev { left:8px !important; } html body .sponsor-nav-next { right:8px !important; }
html body .sponsor-carousel-dots { position:absolute !important; left:50% !important; bottom:10px !important; display:flex; gap:6px !important; transform:translateX(-50%) !important; }
html body .sp-dot { width:6px !important; height:6px !important; border-radius:50% !important; background:#ffffff55 !important; }
html body .sp-dot.active { background:#fff !important; }
html body .sponsor-popup-card :is(a,button,input):focus-visible { outline:2px solid var(--nl-highlight,#88b7ed); outline-offset:3px; }
html body .sponsor-popup-card:has(#spFullImageLink[style*="none"]) { grid-template-columns:1fr !important; max-width:400px !important; }
html body .sponsor-popup-card:has(#spFullImageLink[style*="none"]) .sponsor-popup-header { grid-column:1; grid-row:1; }
html body .sponsor-popup-card:has(#spFullImageLink[style*="none"]) .sponsor-popup-body { grid-column:1; grid-row:2; min-height:0; border:0 !important; }
html body .sponsor-popup-card:has(#spFullImageLink[style*="none"]) .sponsor-popup-footer { grid-column:1; grid-row:3; }
html body .sponsor-popup-card:has(#spFullImageLink[style*="none"]) .sponsor-card-title { display:none !important; }
html body .sponsor-popup-card:has(#spFullImageLink[style*="none"]) .sponsor-nav-btn { display:none !important; }
@media(max-width:580px) {
 html body .sponsor-popup-card { grid-template-columns:1fr !important; max-width:370px !important; }
 html body .sponsor-popup-body { grid-column:1; grid-row:1; min-height:0; border-right:0 !important; border-bottom:1px solid var(--nl-border,#2b3545) !important; }
 html body .sponsor-full-image-img { height:auto !important; min-height:0; max-height:210px; aspect-ratio:16 / 9; }
 html body .sponsor-popup-header { grid-column:1; grid-row:2; padding:18px 22px 8px !important; }
 html body .sponsor-header-left::before { margin-bottom:8px; }
 html body .sponsor-partner-name { font-size:21px !important; }
 html body .sponsor-popup-footer { grid-column:1; grid-row:3; padding:12px 22px 20px !important; }
 html body .sponsor-close-btn { background:#080c12b3 !important; }
}

/* Toast « Notifications Discord » : stylé par wk-notif.css (une seule version) */

/* ===================== TOASTS « X A TÉLÉCHARGÉ » ===================== */
html body #wkDownloadToastContainer { left: 20px !important; bottom: 20px !important; z-index: 2147482900 !important; }
html body .wk-dl-toast {
  gap: 11px !important;
  padding: 7px 14px 7px 7px !important;
  border-radius: 999px !important;
  border: 1px solid var(--pp-border) !important;
  background: rgba(17, 19, 24, .94) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45) !important;
  font-family: Inter, system-ui, sans-serif !important;
}
html body .wk-dl-icon-box { width: 30px !important; height: 30px !important; min-width: 30px !important; border-radius: 50% !important; background: rgba(52, 194, 122, .14) !important; }
html body .wk-dl-text { font-size: 13px !important; gap: 5px !important; }
html body .wk-dl-action { font-weight: 500 !important; color: var(--pp-muted) !important; }
html body .wk-dl-title { color: var(--pp-text) !important; font-weight: 600 !important; }
html body .wk-dl-toast[style*="pointer"]:hover { border-color: #3a404e !important; }

/* ===================== PAS DE CHEVAUCHEMENT ===================== */
/* Une fenêtre ouverte (post, pub, roue, notifs) : on masque les toasts de téléchargement */
html body:has(.fl-post-modal) #wkDownloadToastContainer,
html body:has(#customSponsorModal[style*="flex"]) #wkDownloadToastContainer,
html body:has(#wkWheelOverlay.open) #wkDownloadToastContainer,
html body:has(#wkDiscordNotifBanner[style*="block"]) #wkDownloadToastContainer { display: none !important; }

@media (max-width: 640px) {
  html body .sponsor-popup-overlay { align-items: flex-end !important; padding: 0 !important; }
  html body .sponsor-popup-card { width: 100% !important; max-width: none !important; border-radius: 14px 14px 0 0 !important; animation: ppSheet .28s ease-out both; }
  @keyframes ppSheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  html body .sponsor-popup-footer { padding-bottom: max(14px, env(safe-area-inset-bottom)) !important; }
  
  
  html body .wk-notif-toast-banner { left: 12px !important; right: 12px !important; bottom: 12px !important; width: auto !important; }
  html body #wkDownloadToastContainer { left: 12px !important; right: 12px !important; bottom: 12px !important; }
  /* Bandeau d'installation de l'app ouvert : les autres attendent */
  html body:has(.wk-pwa-wrap) #wkDiscordNotifBanner,
  html body:has(.wk-pwa-wrap) #wkDownloadToastContainer { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body .sponsor-popup-card, html body .sponsor-popup-backdrop, html body .wk-notif-toast-banner { animation: none !important; }
}
