/* ==========================================================================
   Variables principales
   ========================================================================== */
:root {
  --mauve: #a442d8;
  --orange: #ff7f11;
  --fond: linear-gradient(to bottom, #ffa700 0%, #ffa700 40%, #ff7000 100%);
  --max-width: 1200px;
  --radius: 12px;
}
/* ==========================================================================
   Styles communs à toutes les pages
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  color: #222;
  background: var(--fond) fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Liens génériques */
a { color: var(--mauve); transition: color 0.2s; }
a:hover { color: var(--orange); }

/* ==========================================================================
   Header commun (menu principal)
   ========================================================================== */
header {
  background: var(--mauve);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  box-shadow: 0 8px 0 var(--orange);
  border-bottom: 6px solid var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
}
header h1, .pixel-logo {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.4rem;
  color: white;
  text-shadow: 1px 1px 0 #ff7f11, 2px 2px 0 #000000;
}
nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}
nav a:hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
  bottom: -4px;
  left: 0;
}
/* Lien de la section active : jaune lisible sur fond violet, sans souligné */
.main-nav a.active {
  color: #ffe066 !important;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  background: var(--mauve);
  padding: 0 18px;
  min-height: 62px;
  font-family: 'Press Start 2P', cursive;
  color: white;
  border-bottom: 6px solid var(--orange);
  box-shadow: 0 8px 0 #ff7f11;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 20px auto;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
}
.logo {
  display: flex;
  align-items: center;
}
.pixel-logo {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px #000, 3px 3px #ff7f11;
  letter-spacing: 2px;
  text-decoration: none;
  display: inline-block;
}
.site-header-logo-link {
  line-height: 0;
  text-shadow: none;
}
.site-header-logo-img {
  display: block;
  width: auto;
  height: 2.35rem;
  max-width: min(168px, 42vw);
}
.site-header-logo-img--hover {
  display: none;
}
.site-header-logo-link:hover .site-header-logo-img--default,
.site-header-logo-link:focus-visible .site-header-logo-img--default {
  display: none;
}
.site-header-logo-link:hover .site-header-logo-img--hover,
.site-header-logo-link:focus-visible .site-header-logo-img--hover {
  display: block;
}
.site-header-nav-group {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

.main-nav {
  flex: 0 1 auto;
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

/* Sélecteur de langue (visuel — FR actif par défaut) */
.site-header-lang {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.62rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  user-select: none;
  white-space: nowrap;
}

.site-header-lang-option {
  color: #fff;
}

a.site-header-lang-option {
  text-decoration: none;
}

a.site-header-lang-option:hover,
a.site-header-lang-option:focus {
  color: #ffe066;
}

.site-header-lang-option.is-active {
  color: #ffe066;
}

.site-header-lang-sep {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  text-shadow: 1px 1px #000;
  letter-spacing: 1px;
  transition: color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #ffcc00;
  text-shadow: 1px 1px #000, 2px 2px #fff2;
}

/* Bouton hamburger (masqué sur desktop) */
.site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  flex-shrink: 0;
}
.site-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.site-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
}
.site-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100%;
  background: linear-gradient(180deg, #1e0d48 0%, #12063a 100%);
  border-left: 3px solid var(--orange);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  padding: 1.25rem 1.1rem 2rem;
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
}
.site-nav-drawer-title {
  font-family: 'Exo 2', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.85rem;
}
.site-nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.site-nav-drawer a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  text-shadow: none;
  letter-spacing: 0;
  transition: background 0.15s, color 0.15s;
}
.site-nav-drawer a:hover,
.site-nav-drawer a:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #ffcc00;
}
.site-nav-drawer a.active {
  background: rgba(164, 66, 216, 0.45);
  color: #ffe066;
}
body.site-nav-open {
  overflow: hidden;
}

/* Responsive header mobile */
@media (max-width: 768px) {
  .site-header {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0.45rem 0.65rem;
    min-height: 52px;
    gap: 0.5rem;
  }

  .pixel-logo {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }

  .site-nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header-nav-group {
    display: none;
  }

  body.site-nav-open .site-nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.site-nav-open .site-nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  body.site-nav-open .site-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0 !important;
}
footer {
  width: 100%;
  max-width: var(--max-width);
  background: var(--mauve);
  color: white;
  text-align: center;
  padding: 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius) !important;
  box-shadow: 0 -8px 0 var(--orange);
  margin-top: 0 !important;
}
footer a.footer-link {
  text-decoration: none;
  color: #fff;
}
footer a.footer-link:hover {
  text-decoration: underline;
}
/* ==========================================================================
   PAGE D'ACCUEIL (index.php)
   ========================================================================== */
main, .fiche-jeu-main, .fiche-jeu-content {
  width: 100%;
  max-width: var(--max-width);
  background: rgba(255, 255, 255, 0.97);
  margin: 0 auto;
  padding: 2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1;
  margin-bottom: 0 !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f4ff;
  border: 2px solid var(--mauve);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}
.hero-text {
  max-width: 60%;
}
.hero-text h1 { font-size: 1.6rem; margin-bottom: 1rem; }
.hero-logo { text-align: center; }
.hero-logo img { width: 240px; max-width: 100%; }
.card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: white;
  border: 2px solid var(--mauve);
  border-radius: var(--radius);
  text-align: center;
  padding: 1rem;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover { box-shadow: 0 0 12px var(--orange); }
.card img { height: 150px; object-fit: contain; margin: 0 auto 1rem auto; }
.card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.card-link:hover { color: inherit; }
.card-cta {
  display: inline-block;
  background: var(--mauve);
  color: white;
  padding: 0.4rem 1rem;
  text-decoration: none;
  border-radius: 30px;
  margin-top: 0.5rem;
}
.card-link:hover .card-cta { background: var(--orange); }
.card a {
  background: var(--mauve); color: white; padding: 0.4rem 1rem; text-decoration: none; border-radius: 30px;
}
.card a:hover { background: var(--orange); }
/* Bloc info accueil */
.more-info {
  margin-top: 3rem;
  background: #fdf6f9;
  border-radius: var(--radius);
  padding: 2rem;
  border: 3px solid var(--mauve);
  width: 100%;
  max-width: 100%;

  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.more-info h2, .more-info h3 { color: var(--mauve); margin-top: 1.5rem; }
.more-info p { line-height: 1.6; }

/* Accueil 2001jeux – style aligné sur le reste du site */
.index-accueil { max-width: 1200px; margin: 0 auto; padding: 0 1rem 2rem; box-sizing: border-box; }
.index-hero { background: #fff; border: 1px solid rgba(164, 66, 216, 0.15); border-radius: 14px; box-shadow: 0 4px 16px rgba(164, 66, 216, 0.08); padding: 1.5rem 1.8rem; margin-bottom: 1.5rem; }
.index-cards .card { background: #fff; border: 1px solid rgba(164, 66, 216, 0.15); border-radius: 14px; box-shadow: 0 4px 16px rgba(164, 66, 216, 0.08); }
.index-more-info { background: #fff; border: 1px solid rgba(164, 66, 216, 0.15); border-radius: 14px; box-shadow: 0 4px 16px rgba(164, 66, 216, 0.08); padding: 1.35rem 1.5rem; }
.index-more-info h2 { font-family: 'Oswald', Arial, sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--mauve); margin-top: 0; }
.index-more-info h3 { font-family: 'Oswald', Arial, sans-serif; font-size: 1.1rem; color: var(--mauve); }
.index-more-info p { color: #3a2d4d; }

/* ==========================================================================
   PAGE CATÉGORIE GAMEZONE
   ========================================================================== */
.category-main {
  width: 100%;
  display: flex;
  justify-content: center;
  background: none;
  padding-top: 2.5rem;
  min-height: 90vh;
}
.category-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 40px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(80,0,70,0.10);
  padding: 36px 26px 30px 26px;
}
.category-title, h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #222;
  line-height: 1.4;
  letter-spacing: -0.5px;
  text-align: left;
  margin: 0 0 1rem 0;
}
.category-block-title, h2, .category-faq h2, .category-tips h2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--mauve);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.category-description {
  font-size: 1.07rem;
  margin-bottom: 16px;
  color: #333;
  line-height: 1.5;
}
.category-tips, .category-faq, .category-cta {
  margin-bottom: 22px;
  background: #f6e4fe;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--mauve);
  color: #522d6c;
}
.category-tips h2, .category-faq h2 { color: var(--mauve); font-family: 'Press Start 2P', Arial, sans-serif; font-size: 1.1em; }
.category-cta {
  background: #ead7fd;
  border: 1.5px dashed var(--mauve);
  color: #6e2d91;
  font-weight: 500;
}
.category-cta a {
  color: var(--mauve);
  font-weight: bold;
  text-decoration: underline;
}
.hero-text h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #222;
  line-height: 1.4;
  letter-spacing: -0.5px;
  text-align: left;
  margin: 0 0 1rem 0;
}



.games-list-title {
  font-size: 1.3rem;
  margin: 32px 0 14px 0;
  color: var(--mauve);
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  font-family: 'Press Start 2P', Arial, sans-serif;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 20px;
  margin-bottom: 2.5rem;
}
.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #faf7ff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #c1b6ff33;
  padding: 0.5rem 0.5rem 0.75rem;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.15s, transform 0.15s;
}
.game-card:hover {
  box-shadow: 0 4px 16px #a789f966;
  transform: translateY(-4px) scale(1.03);
  background: #f1dfff;
}
.game-card img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 7px #fff2;
}
.game-title {
  font-size: 1rem;
  font-weight: bold;
  color: #7421a8;
  font-family: inherit;
  text-align: center;
}

.no-games {
  grid-column: 1/-1;
  text-align: center;
  color: #999;
  font-size: 1.05rem;
  padding: 20px 0 12px 0;
}

/* Pagination des catégories */
.pagination {
  text-align: center;
  margin: 20px 0 0 0;
}
.pagination a {
  display: inline-block;
  margin: 0 7px;
  padding: 6px 13px;
  border-radius: 8px;
  color: #fff;
  background: var(--mauve);
  text-decoration: none;
  font-weight: bold;
  transition: background 0.17s;
  font-family: 'Inter', Arial, sans-serif;
}
.pagination a.active, .pagination a:hover {
  background: var(--orange);
  color: #fff;
}
/* ========== PAGE CATÉGORIE GAMEZONE (nouveaux blocs) ========== */
.main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-content-block {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 40px #0002;
  padding: 48px 48px 24px 48px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
}

.category-box {
  border: 2px solid #ba73ff;
  background: #f8f4ff;
  border-radius: 18px;
  margin-bottom: 28px;
  padding: 20px 18px 12px 18px;
}

.category-box-title {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #a442d8;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.category-faq-question {
  font-weight: 600;
  margin-bottom: 4px;
}

.category-cta {
  background: #eedafd;
  border: 2px dashed #bb2dff;
  font-weight: 500;
  color: #6e2d91;
}

@media (max-width: 700px) {
  .category-content-block { padding: 18px 3vw 12px 3vw; border-radius: 10px; }
  .main-container { min-height: 50vh; }
}

.gamezone-page .container {
  max-width: 1200px;
  margin: auto;
  padding: 1.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.category-card {
  background: #fff;
  border: 2px solid #a442d8;
  padding: 0.8rem;
  text-align: center;
  border-radius: 12px;
  transition: transform 0.2s;
}
.category-card.highlighted {
  border-color: #ff7f11;
  background: #fff8f0;
}
.category-card:hover {
  transform: scale(1.04);
}

.top-games .top-block {
  margin-top: 2rem;
}
.game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.game-card {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  padding: 0.5rem;
}
.game-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.category-card {
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    transition: transform 0.2s;
}
.category-card.highlighted {
    border-color: #a045f5;
    background: #fef6ff;
}
.category-card:hover {
    transform: scale(1.02);
}
.top-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}
.top-blocks h3 {
    margin-bottom: 10px;
}
.top-blocks ul {
    padding-left: 20px;
}


/* ==========================================================================
   Responsive & Ajustements Mobiles
   ========================================================================== */
@media (max-width: 960px) {
  .category-container, main { padding: 2vw; }
}
@media (max-width: 700px) {
  main, .fiche-jeu-main, .fiche-jeu-content { padding: 1rem 0.5rem 0.5rem 0.5rem; }
  .category-container { padding: 0.5rem 2vw 1rem 2vw; border-radius: 0; }
  .category-title { font-size: 1.2rem; }
  .games-list-title { font-size: 1rem; }
  .game-card img { width: 100%; aspect-ratio: 1; height: auto; }
}

/* --- CHARTE GAMEZONE : largeur fixe 1200px sur toutes les pages --- */
.gamezone-categories-menu {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.gamezone-main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* --- TOPBAR GAMEZONE --- */
.gamezone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffaf3;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 8px #a442d81a;
  padding: 0.35em 0.8em 0.35em 0.8em;
  margin: -30px auto 0.5em auto;
  max-width: 1200px;
  min-height: 36px;
}
.gamezone-topbar-breadcrumb {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.98em;
  color: var(--mauve);
}
/* Liens du fil d'Ariane : mauve par défaut, orange au hover (même style que JoL) */
.gamezone-topbar-breadcrumb a {
  color: var(--mauve);
  font-weight: 600;
  text-decoration: none;
}
.gamezone-topbar-breadcrumb a:hover {
  color: var(--orange) !important;
}
.gamezone-topbar-breadcrumb a:hover::after { display: none !important; }
.gamezone-topbar-search {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4em;
}
.gamezone-topbar-search-form {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.gamezone-topbar-search-form input[type="text"] {
  padding: 0.5em 1em;
  border-radius: 30px;
  border: 1.5px solid var(--mauve);
  font-size: 1.05em;
  font-family: 'Inter', sans-serif;  /* force Inter comme sur JoL → placeholder centré */
  line-height: 1;
  background: #fff;
  outline: none;
  transition: border 0.2s;
  max-width: 220px;
}
.gamezone-topbar-search-form button {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  width: 54px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05em;
  font-weight: 700;
  font-family: 'Inter', sans-serif;  /* force Inter pour alignement identique à JoL */
  transition: background 0.18s;
}
.gamezone-topbar-search-form button:hover {
  background: var(--mauve);
}
.gamezone-topbar-fav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  position: relative;
  outline: none;
  transition: background 0.2s;
}
.gamezone-topbar-fav:hover,
.gamezone-topbar-fav:focus {
  background: rgba(164, 66, 216, 0.12);
  outline: none;
  box-shadow: none;
}
.gamezone-topbar-fav .gamezone-topbar-fav-img {
  width: 30px;
  height: 24px;
  display: block;
  object-fit: contain;
}
.gamezone-topbar-fav img {
  width: 30px;
  height: 24px;
  display: block;
  object-fit: contain;
}
.gamezone-topbar-fav .gamezone-topbar-fav-fallback {
  color: var(--mauve);
  font-size: 1.1rem;
  line-height: 1;
}
.gamezone-topbar-fav:hover .gamezone-topbar-fav-fallback {
  color: var(--mauve);
}
.gamezone-topbar-fav-tooltip {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 8px;
  padding: 0.5em 0.9em;
  background: #fff;
  border: 1px solid rgba(164, 66, 216, 0.25);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(164, 66, 216, 0.12);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mauve);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}
.gamezone-topbar-fav:hover .gamezone-topbar-fav-tooltip,
.gamezone-topbar-fav:focus .gamezone-topbar-fav-tooltip {
  opacity: 1;
}

.gamezone-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex: 0 1 auto;
}

.gamezone-topbar-search-form {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 900px) {
  .gamezone-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7em;
    padding: 0.7em 0.5em 0.7em 0.5em;
  }
  .gamezone-topbar-search-form input[type="text"] {
    max-width: 100%;
    font-size: 0.98em;
  }
  .gamezone-topbar-search-form button {
    width: 48px;
    height: 36px;
    font-size: 0.98em;
  }
}

.fiche-jeu-content {
  max-width: 100%;
  width: 100%;
  margin: auto;
}

.fiche-jeu-col-left {
  /* background: #fdf6f9; */
}

/* ==========================================================================
   Scrollbar personnalisée (Chromium / Edge / Safari)
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f0e8f8;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c06ee8 0%, #a442d8 100%);
  border-radius: 6px;
  border: 2px solid #f0e8f8;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a442d8 0%, #7b1fa2 100%);
}
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #a442d8 #f0e8f8;
}


