/* Police Inter hébergée sur le site (mêmes fichiers et mêmes règles que Google Fonts, licence SIL OFL : /fonts/OFL-Inter.txt) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0e1016;
  --panel: #171a23;
  --panel-2: #1f2330;
  --line: #2a2f3e;
  --text: #eef0f6;
  --muted: #9aa1b5;
  --accent: #ffcc00;
  --hot: #ff4d4d;
  --good: #3ddc84;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14,16,22,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.logo img { width: 36px; height: 36px; flex: 0 0 auto; }
.logo-txt span { color: var(--accent); }
nav.cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
nav.cats::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-top {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); white-space: nowrap; border: 1px solid transparent;
}
.nav-top:hover { color: var(--text); }
.nav-item.active > .nav-top { color: var(--text); background: var(--panel-2); border-color: var(--line); }
.caret { font-size: 11px; opacity: .7; display: none; }
.dropdown { display: none; }

/* Menus déroulants : seulement sur grand écran (sur mobile, les onglets de sous-rubrique prennent le relais) */
@media (min-width: 900px) {
  nav.cats { overflow: visible; }
  .caret { display: inline; }
  .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.45); z-index: 20;
  }
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { display: block; }
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
  .dropdown a:hover, .dropdown a:focus { background: var(--panel-2); color: var(--text); }
  .nav-item:hover > .dd-group, .nav-item:focus-within > .dd-group { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 380px; }
  .dropdown .dd-head { color: var(--text); font-weight: 800; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
}
/* Choix Switch 2 / Switch en tête des pages Nintendo (utile sur mobile, sans menu déroulant). */
.console-switch { display: flex; gap: 8px; margin: 0 0 10px; }
.console-switch a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); }
.console-switch a.active { background: var(--accent); color: #111; border-color: var(--accent); }

/* Onglets de sous-rubrique */
.subtabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 16px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs a { padding: 10px 4px; margin-right: 14px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subtabs a:hover { color: var(--text); }
.subtabs a.active { color: var(--text); border-bottom-color: var(--accent); }
.subtabs .count { font-size: 12px; color: var(--muted); background: var(--panel-2); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.empty { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); margin: 10px 0 20px; }
.empty strong { color: var(--text); }

/* Format physique / numérique */
.fmt { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.thumb .fmt { position: absolute; bottom: 10px; left: 10px; }
.fmt.physique { background: #e8f7ee; color: #12753a; }
.fmt.numerique { background: #ede7ff; color: #5a2fc2; }

/* Catalogue */
.plat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.plat-chips span { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel-2); border-radius: 6px; padding: 3px 8px; }
.from { color: var(--muted); font-size: 14px; white-space: nowrap; }
.badge.new { background: var(--accent); color: #111; }
.ed-chip { align-self: flex-start; font-size: 12px; font-weight: 700; color: #c9b6ff; background: rgba(90,47,194,.25); border-radius: 6px; padding: 3px 8px; }
.list-view .ed-chip { flex: 0 0 auto; }
.editions-table tr.current td { background: rgba(90,47,194,.15); }
.ed-here { font-size: 13px; color: var(--muted); font-weight: 600; }
.ed-plats { color: var(--muted); font-size: 14px; }
.badge.pre { background: #5a2fc2; color: #fff; }
.tag.pre { background: #5a2fc2; color: #fff; }
.preorder-info { margin: 0 0 16px; }

/* Catalogue : populaires + recherche */
.popular-block {
  background: linear-gradient(135deg, rgba(255,77,77,.10), rgba(255,204,0,.06));
  border: 1px solid var(--line); border-radius: 18px; padding: 6px 18px 20px; margin: 8px 0 30px;
}
.popular-block .section-title { margin-top: 18px; margin-bottom: 4px; }
.popular-source { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.popular-more { margin: 14px 0 0; font-weight: 600; }
.popular-more a { color: var(--accent); }
.popular-block.anticipated { background: linear-gradient(135deg, rgba(90,47,194,.18), rgba(255,204,0,.05)); }
.popular-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card.popular { border-color: rgba(255,204,0,.45); }
.rank-badge {
  position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 17px;
  background: var(--accent); color: #111; box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.search-box { position: relative; margin: 6px 0 12px; max-width: 560px; }
.search-box input {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px 13px 44px; outline: none;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,204,0,.15); }
.search-box input::placeholder { color: var(--muted); }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: .7; }
.search-count { color: var(--muted); font-size: 14px; margin: 0 0 10px; min-height: 1em; }

/* Catalogue : barre d'outils + affichage en liste */
.list-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.list-tools .filters { margin: 0; }
.view-toggle { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.vt { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--muted); border: 0; border-radius: 8px; padding: 6px 12px; }
.vt.active { background: var(--panel-2); color: var(--text); }
.grid.list-view { display: flex; flex-direction: column; gap: 6px; }
.list-view .game-card { flex-direction: row; align-items: center; border-radius: 10px; }
.list-view .game-card:hover { transform: none; }
.list-view .game-card .thumb { flex: 0 0 64px; width: 64px; height: 64px; padding: 4px; }
.list-view .game-card .thumb img { max-height: 56px; max-width: 100%; }
.list-view .game-card .thumb .badge, .list-view .game-card .thumb .rank-badge { display: none; }
.list-view .game-card .body { flex-direction: row; align-items: center; gap: 14px; padding: 8px 14px; flex: 1; min-width: 0; }
.list-view .game-card .cat-tag { display: none; }
.list-view .game-card h3 { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-view .game-card .plat-chips { flex: 0 1 auto; flex-wrap: nowrap; overflow: hidden; }
.list-view .game-card .prices { margin: 0; flex: 0 0 auto; min-width: 110px; justify-content: flex-end; }
.list-view .game-card .price { font-size: 18px; }
@media (max-width: 640px) {
  .list-view .game-card .plat-chips { display: none; }
  .list-view .game-card .prices { min-width: 0; }
  .list-view .game-card h3 { white-space: normal; font-size: 14px; }
}
@media (max-width: 900px) { .popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .popular-grid { grid-template-columns: 1fr; } }
.game-head { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; margin-top: 8px; }
.game-head .pic { background: #fff; border-radius: 12px; padding: 14px; display: grid; place-items: center; }
.game-head .pic img { max-height: 260px; object-fit: contain; }
.game-intro { color: #d9dcea; font-size: 17px; margin: 0 0 10px; }
.pt-title { font-size: 20px; margin: 34px 0 12px; }
.plat-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.plat-btn {
  font: inherit; cursor: pointer; text-align: left; min-width: 120px;
  background: var(--panel); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 15px;
}
.plat-btn small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 2px; }
.plat-btn:hover { border-color: #3b4256; }
.plat-btn.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plat-btn.active small { color: var(--accent); }
.plat-name { font-size: 18px; margin: 0 0 6px; }
.pt-summary { color: #d9dcea; margin: 0 0 12px; }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.price-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr.best td { background: rgba(255, 204, 0, .07); }
.price-table .rank { color: var(--muted); font-weight: 700; width: 36px; }
.pt-price { font-size: 22px; font-weight: 800; white-space: nowrap; }
.price-table tr.best .pt-price { color: var(--accent); }
.pt-diff { color: var(--muted); white-space: nowrap; font-weight: 600; }
.best-flag { background: var(--good); color: #0b2a17; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 6px; }
.pt-go { text-align: right; }
.btn.small { margin: 0; padding: 8px 14px; font-size: 14px; }
.third { font-size: 12px; color: #ffb347; }
.pt-missing, .pt-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.pt-note { background: var(--panel); border-left: 3px solid var(--accent); padding: 10px 12px; border-radius: 6px; color: #d9dcea; }
@media (max-width: 640px) {
  .game-head { grid-template-columns: 1fr; }
  .game-head .pic img { max-height: 200px; }
  .price-table th:first-child, .price-table td.rank { display: none; }
  .price-table td { padding: 12px 10px; }
  .pt-price { font-size: 18px; }
  .plat-btn { min-width: 0; flex: 1 1 calc(50% - 10px); }
}

/* Étiquettes en haut d'article */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; border: 1px solid transparent; }
.tag.cat { background: transparent; }
.tag.shop { color: #fff; position: static; font-size: 12px; padding: 5px 10px; }
.tag.discount { background: var(--hot); color: #fff; }

/* Hero */
.hero { padding: 36px 0 20px; }
.hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -1px; }
.hero p { color: var(--muted); margin: 0; max-width: 640px; }
.hero .stamp { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line); padding: 5px 10px; border-radius: 8px; }

/* Grid */
.section-title { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; font-size: 20px; }
.section-title .dot { width: 10px; height: 10px; border-radius: 50%; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); border-color: #3b4256; }
.card .thumb { background: #fff; height: 210px; display: flex; align-items: center; justify-content: center; position: relative; padding: 14px; }
.card .thumb img { max-height: 180px; max-width: 75%; object-fit: contain; }
.badge {
  position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 800;
  background: var(--hot); color: #fff; padding: 4px 8px; border-radius: 6px;
}
.shop {
  position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 6px; color: #fff;
}
.shop.Amazon { background: #232f3e; }
.shop.Leclerc { background: #0066cc; }
.shop.Cdiscount { background: #c4002b; }

/* Filtres marchands */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.chip {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  background: var(--panel); color: var(--muted); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}
.chip:hover { color: var(--text); }
.chip.active { background: var(--accent); color: #111; border-color: var(--accent); }
.see-all { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); }
.see-all:hover { color: var(--text); }

/* Offres terminées */
.card.expired { opacity: .55; }
.card.expired .badge { background: #555; }
.expired-banner { margin-top: 18px; background: #3a2a10; border: 1px solid #6b4d1a; color: #ffd27a; padding: 12px 14px; border-radius: 10px; }
.btn.disabled { background: var(--panel-2); color: var(--muted); cursor: default; }
.aff-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
[hidden] { display: none !important; }

/* Pages texte */
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p { color: #d9dcea; }
.prose a { color: var(--accent); }
footer p { margin: 0 0 8px; max-width: 760px; }
footer .links a { color: var(--text); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.card h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.prices { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; }
.price { font-size: 24px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.old { color: var(--muted); text-decoration: line-through; font-size: 14px; white-space: nowrap; }
.hot-flag { color: var(--hot); font-size: 12px; font-weight: 700; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 28px 0 60px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--text); }
.article h1 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.2; letter-spacing: -.5px; margin: 8px 0 12px; }
.meta { color: var(--muted); font-size: 14px; }
.deal-box {
  margin: 24px 0; display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.deal-box .pic { background: #fff; border-radius: 10px; display: grid; place-items: center; padding: 12px; }
.deal-box .pic img { max-height: 200px; object-fit: contain; }
.deal-box .product { font-weight: 600; margin-bottom: 6px; }
.deal-box .price { font-size: 34px; }
.deal-box .save { color: var(--good); font-weight: 700; font-size: 14px; }
.deal-box .ref { color: var(--muted); font-size: 13px; margin-top: 4px; }
.btn {
  display: inline-block; margin-top: 14px; background: var(--accent); color: #111;
  font-weight: 800; padding: 12px 20px; border-radius: 10px;
}
.btn:hover { filter: brightness(1.08); }
.content p { font-size: 17px; margin: 0 0 16px; color: #d9dcea; }
.content h2 { font-size: 21px; margin: 30px 0 10px; }
.disclaimer {
  margin-top: 30px; font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.more { margin-top: 40px; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 24px 0 40px; margin-top: 40px; }

@media (max-width: 640px) {
  header.top .wrap { gap: 12px; }
  .logo { font-size: 18px; gap: 6px; }
  .logo img { width: 30px; height: 30px; }
  .deal-box { grid-template-columns: 1fr; }
  .deal-box .pic img { max-height: 180px; }
}

/* Packs consoles : prix normal (sans promo) */
.badge.normal { background: #3a4052; color: #e4e7f0; }
.shop.tie { background: #2f7d4f; }
.tag.normal { background: #3a4052; color: #e4e7f0; border-color: #3a4052; }
.family-title { font-size: 17px; margin: 18px 0 10px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.family-title .count { font-size: 12px; color: var(--muted); background: var(--panel-2); padding: 2px 8px; border-radius: 999px; }
.packs-intro { margin-bottom: 0; }
.packs-intro .pt-note { margin-top: 0; }

/* Fiche jeu : choix de l'édition (même principe que la plateforme) */
.ed-picker .ed-btn { border-color: rgba(140,100,255,.45); }
.ed-picker .ed-btn.active { border-color: #a98bff; box-shadow: 0 0 0 1px #a98bff inset; }
.ed-picker .ed-btn.active small { color: #c9b6ff; }
.ed-count { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 8px; }
.ed-current { margin: 4px 0 8px; color: #c9b6ff; }
.ed-h { margin: 6px 0; }
.badge.resale { background: #7a4b12; color: #ffd27a; }
.resale-note { background: #3a2a10; border: 1px solid #6b4d1a; color: #ffd27a; padding: 10px 12px; border-radius: 10px; font-size: 14px; }


/* Catalogue en liste : petite étiquette avec la date de sortie des précommandes (en grille, le badge sur l'image suffit) */
.pre-date { display: none; }
.list-view .game-card h3 { display: flex; align-items: center; gap: 10px; }
.list-view .game-card h3 .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Quand la place manque, ce sont les prix par plateforme qui rétrécissent en premier, pas le titre. */
.list-view .game-card .plat-chips { flex-shrink: 20; min-width: 0; }
.list-view .pre-date { display: inline-block; flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #8ff0de; background: rgba(20,140,120,.28); border: 1px solid rgba(110,230,205,.35); border-radius: 6px; padding: 3px 8px; }
@media (max-width: 640px) {
  .list-view .game-card h3 { flex-direction: column; align-items: flex-start; gap: 4px; }
  .list-view .game-card h3 .t { overflow: visible; }
}

/* Fiche jeu : contenu de l'édition */
.ed-contents { margin: 6px 0 10px; padding: 10px 14px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.ed-contents ul { margin: 6px 0 4px; padding-left: 20px; }
.ed-contents li { margin: 2px 0; }
.ed-contents small { color: var(--muted); }
.plat-release { color: var(--muted); font-size: 14px; margin: -4px 0 10px; }

/* Guides d'achat */
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 10px 0 30px; }
.guide-item { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-item:hover { border-color: var(--accent); }
.guide-item span { color: var(--muted); font-size: 14px; }
.guide h2 { margin-top: 26px; }

/* Tops du moment : même espace entre les boutons de tri et les cartes qu'entre deux lignes de cartes */
.popular-block .filters { margin-bottom: 16px; }

/* Menu : maison pour l'accueil */
.nav-home { display: inline-flex; align-items: center; justify-content: center; padding-left: 12px; padding-right: 12px; }
.nav-home svg { display: block; }
.nav-item.active .nav-home { color: var(--accent); }

/* Planning des sorties */
.plan-month { margin: 22px 0; }
.plan-month .count { font-size: 13px; color: var(--muted); background: var(--panel-2); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.plan-list { display: flex; flex-direction: column; gap: 6px; }
.plan-row { display: grid; grid-template-columns: 110px 48px 1fr auto; align-items: center; gap: 14px; padding: 8px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.plan-row:hover { border-color: var(--accent); }
.plan-row img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.plan-date { font-weight: 800; color: var(--accent); font-size: 14px; text-transform: capitalize; }
.plan-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plan-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-plats { display: flex; flex-wrap: wrap; gap: 4px; }
.plan-plats span { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--panel-2); border-radius: 5px; padding: 2px 6px; }
.plan-price { text-align: right; font-weight: 800; color: var(--accent); font-size: 18px; white-space: nowrap; }
.plan-price small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) {
  .plan-row { grid-template-columns: 44px 1fr auto; gap: 10px; }
  .plan-date { grid-column: 1 / -1; font-size: 13px; }
  .plan-row img { width: 44px; height: 44px; }
  .plan-name strong { white-space: normal; font-size: 14px; }
}
/* Planning : mois repliables */
details.plan-month { margin: 10px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
details.plan-month > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 18px; font-weight: 800; }
details.plan-month > summary::-webkit-details-marker { display: none; }
details.plan-month > summary .dot { width: 10px; height: 10px; border-radius: 50%; }
details.plan-month > summary:hover { color: var(--accent); }
.plan-toggle { margin-left: auto; color: var(--muted); transition: transform .15s; }
details.plan-month[open] .plan-toggle { transform: rotate(180deg); }
details.plan-month .plan-list, details.plan-month .pt-note { padding: 0 12px 12px; }
details.plan-month .pt-note { margin: 0; }

/* Catalogue : classement par lettre */
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 4px; }
.letter { font: inherit; font-size: 13px; font-weight: 700; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; }
.letter:hover:not(:disabled) { color: var(--text); border-color: #3b4256; }
.letter.active { background: var(--accent); color: #111; border-color: var(--accent); }
.letter:disabled { opacity: .35; cursor: default; }

/* Recherche rapide (en-tête) */
header.top .wrap { max-width: 1340px; }
.qs { position: relative; margin-left: auto; flex: 1 1 240px; max-width: 300px; min-width: 200px; }
.qs-toggle { display: none; background: none; border: 0; color: var(--muted); padding: 8px; cursor: pointer; border-radius: 999px; }
.qs-toggle:hover { color: var(--text); background: var(--panel-2); }
.qs-input { width: 100%; height: 38px; padding: 0 14px 0 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='%239aa1b5' stroke-width='2.2'/%3E%3Cpath d='m20 20-4.2-4.2' stroke='%239aa1b5' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 12px center / 16px; color: var(--text); font: inherit; font-size: 14px; outline: none; }
.qs-input:focus { border-color: var(--accent); }
.qs-input::-webkit-search-cancel-button { filter: invert(.6); }
.qs-res { position: absolute; top: calc(100% + 8px); right: 0; width: min(440px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.5); padding: 6px; z-index: 30; }
.qs-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.qs-item:hover, .qs-item.on { background: var(--panel-2); }
.qs-item img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 6px; flex: 0 0 auto; }
.qs-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.qs-t { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-m { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-k { color: var(--accent); font-weight: 700; }
.qs-p { font-weight: 800; color: var(--accent); font-size: 14px; white-space: nowrap; }
.qs-all { display: block; text-align: center; padding: 9px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.qs-all:hover { color: var(--text); }
.qs-none { padding: 14px; color: var(--muted); font-size: 14px; text-align: center; }
/* Écrans moyens et petits : une loupe qui ouvre le champ sous l'en-tête */
@media (max-width: 1320px) {
  .qs { flex: 0 0 auto; position: static; min-width: 0; margin-left: auto; }
  .qs-toggle { display: block; }
  .qs-form { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 16px; background: rgba(14,16,22,.97); border-bottom: 1px solid var(--line); }
  .qs.open .qs-form { display: block; }
  .qs-res { top: calc(100% + 58px); right: 16px; left: 16px; width: auto; }
}

/* Accueil : bouton « Voir les N bons plans » sous chaque catégorie */
.more-wrap { text-align: center; margin-top: 18px; }
.more-btn { margin-top: 0; background: transparent; color: var(--text, #fff); border: 1px solid var(--line); padding: 12px 22px; }
.more-btn:hover { border-color: var(--accent); color: var(--accent); filter: none; }
@media (max-width: 600px) { .more-btn { display: block; width: 100%; box-sizing: border-box; } }
/* Accueil : rangées pleines. Colonnes fixées ici (4 dès 1120px, 3 dès 844px, 2 dès 568px, sinon 1) ;
   build.js marque h4/h3/h2/h1 les cartes en trop pour chaque cas. */
.home-grid > .hc { display: contents; }
.home-grid { grid-template-columns: 1fr; }
@media (min-width: 1120px) { .home-grid { grid-template-columns: repeat(4, 1fr); } .home-grid > .h4 { display: none; } }
@media (min-width: 844px) and (max-width: 1119px) { .home-grid { grid-template-columns: repeat(3, 1fr); } .home-grid > .h3 { display: none; } }
@media (min-width: 568px) and (max-width: 843px) { .home-grid { grid-template-columns: repeat(2, 1fr); } .home-grid > .h2 { display: none; } }
@media (max-width: 567px) { .home-grid > .h1 { display: none; } }
.more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 600px) { .more-row .more-btn { flex: 1 1 calc(50% - 10px); width: auto; display: block; text-align: center; } }

/* Emplacements publicitaires (AdSense) */
.ad { margin: 28px 0; text-align: center; min-height: 90px; }
.ad-label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.ad-preview { display: flex; align-items: center; justify-content: center; min-height: 110px; border: 2px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 14px; }
.ad-preview[hidden] { display: none; }

.todo { background: rgba(255, 196, 0, .15); color: #ffcf4d; padding: 0 4px; border-radius: 4px; }
.prose ul { padding-left: 20px; } .prose li { margin: 0 0 10px; }

/* Fiche jeu : encadré d'infos sous l'image (même largeur que l'image), synopsis à droite */
.pic-col { display: flex; flex-direction: column; gap: 12px; }
.about-facts { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel, rgba(255,255,255,.03)); display: flex; flex-direction: column; gap: 10px; }
.about-facts div { margin: 0; }
.about-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.about-facts dd { margin: 0; font-weight: 600; font-size: 14px; line-height: 1.35; }
.game-synopsis { font-size: 16px; line-height: 1.65; margin: 10px 0 14px; color: #d9dcea; }
@media (max-width: 600px) { .about-facts { display: grid; grid-template-columns: 1fr 1fr; } }

.ed-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0; }

/* Essai « plateforme d'abord » : lien « Contenu de l'édition » (discret, pas un bouton de choix) et petite fenêtre dans la page */
.ed-info-link { align-self: center; display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 4px 2px; margin-left: 6px; color: var(--muted); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.ed-info-txt { text-decoration: underline; text-underline-offset: 3px; }
.ed-info-link:hover { color: var(--accent); }
.ed-info-link[hidden] { display: none; }
.ed-info-ic { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 800; font-style: normal; text-decoration: none; line-height: 1; }
.ed-dialog { max-width: 460px; width: calc(100% - 32px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2, #1b1d27); color: inherit; padding: 22px 24px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.ed-dialog::backdrop { background: rgba(0,0,0,.55); }
.ed-dialog h3 { margin: 0 28px 12px 0; font-size: 18px; }
.ed-dialog ul { margin: 0 0 12px; padding-left: 20px; } .ed-dialog li { margin: 0 0 8px; line-height: 1.5; }
.ed-dialog small { color: var(--muted); }
.ed-dialog-close { position: absolute; top: 10px; right: 12px; background: transparent; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.ed-dialog-close:hover { color: var(--accent); }

/* Fiche jeu : la ligne « Prix relevés le… » se cale en bas de la colonne de droite, alignée sur le bas de l'encadré
   d'infos (Éditeur) sous l'image, quelle que soit la longueur du synopsis. */
.game-head { align-items: stretch; }
.game-head > div:last-child { display: flex; flex-direction: column; }
.game-head > div:last-child > .meta { margin-top: auto; padding-top: 8px; }

/* Fiche jeu : rien ne bouge quand on change de plateforme ou d'édition.
   - l'image tient dans un cadre de hauteur fixe (les jaquettes n'ont pas toutes les mêmes proportions) ;
   - le titre des autres éditions (h2, un seul h1 par page pour Google) a exactement le style du h1. */
.game-head .pic { height: 300px; box-sizing: border-box; overflow: hidden; display: flex; align-items: center; justify-content: center; }
/* 300 px de cadre moins 2 × 14 px de marge : la jaquette entière tient toujours dans le cadre, jamais coupée. */
.game-head .pic img { max-height: 272px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.article .game-head .ed-h { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.2; letter-spacing: -.5px; margin: 8px 0 12px; }

/* Accueil : bascule « Les plus populaires du moment » / « Les tops du moment » (titres cliquables) */
.top-switch { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 6px; }
.top-tab { background: none; border: 0; padding: 4px 0 6px; font: inherit; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.top-tab:hover { color: var(--text, #fff); }
.top-tab.active { color: var(--text, #fff); border-bottom-color: var(--hot, #ff5a3c); }

/* Accueil, « Les tops du moment » : 4 cartes, les autres derrière « Voir plus » */
.hot-wrap:not(.open) .hot-extra { display: none; }
.hot-more { cursor: pointer; font: inherit; font-weight: 800; }

/* Carte classée (1, 2, 3…) : le numéro reste en haut à gauche, l étiquette de date (« Sortie le… ») descend en bas à gauche */
.thumb:has(.rank-badge) .badge { top: auto; bottom: 10px; }

/* Accueil : noms complets des 3 classements sur grand écran, noms courts (Ventes, Promos, Précos) sur téléphone */
.tt-short { display: none; }
@media (max-width: 600px) { .tt-long { display: none; } .tt-short { display: inline; } .top-switch { gap: 6px 18px; } }
@media (max-width: 600px) { .top-tab { font-size: 13px; } .top-switch { gap: 4px 6px; justify-content: space-between; flex-wrap: nowrap; } }
/* Accueil : même hauteur de texte d intro pour les 3 onglets, la grille ne bouge pas en changeant d onglet */
.top-view .popular-source { min-height: 2lh; }
@media (max-width: 600px) { .top-view .popular-source { min-height: 3lh; } }
/* Fiches Switch / Switch 2 : de l air entre la note et le titre du tableau de prix qui suit */
.pf-eds .ed-note { margin-bottom: 26px; }
/* Fiche : jeu disponible seulement en retrait magasin (Click & Collect) */
.cc-only { font-size: 14.5px; margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--hot); background: rgba(255,255,255,.04); border-radius: 0 8px 8px 0; }
/* Accueil, bloc Consoles : espace entre les boutons de console et les cartes */
.hc-block .filters { margin-bottom: 18px; }
.hc-empty { color: var(--muted); margin: 6px 0 4px; }
/* Fil d Ariane : de l air sous le menu, plus serré au-dessus du titre de la page */
.crumbs { margin-top: 20px; margin-bottom: 8px; }
.crumbs + .hero { padding-top: 6px; }
.article .crumbs { margin-top: 0; }
/* Catalogue : bascule Tous les jeux / Consoles, collée au texte d intro */
.cat-switch { margin: 6px 0 14px; }
.cat-consoles .filters { margin-bottom: 16px; }
.cat-switch { justify-content: flex-start; gap: 6px 26px; }
@media (max-width: 600px) { .cat-switch .top-tab { font-size: 17px; } }
/* Catalogue > Consoles : intro aérée, filtres et tri sur une ligne */
.cat-consoles .pt-note { margin-bottom: 18px; }
.cc-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.cc-tools .filters { margin: 0; }
.cc-sort { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.cc-sort select { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 14px; }
/* Boutons de plateforme juste sous l intro (Planning…) : espace régulier au-dessus et en dessous */
.hero + .filters { margin: 0 0 20px; }

/* Rythme régulier dans le bloc d'accueil : onglets → texte 14px, texte → boutons 16px, boutons → cartes 20px.
   La hauteur du texte est égalisée par script (voir homeTopBlock), plus de min-height fixe en lignes. */
.top-switch { margin-bottom: 14px; }
.top-view .popular-source, .popular-block .popular-source { min-height: 0; margin: 0 0 16px; line-height: 1.5; }
@media (max-width: 600px) { .top-view .popular-source { min-height: 0; } }
.popular-block .filters, .hc-block .filters { margin: 0 0 20px; }

/* Même rythme sur toutes les pages : texte d'intro → boutons 20px, boutons → onglets/contenu 20px. */
.console-switch { margin-bottom: 20px; }
.subtabs { margin-bottom: 20px; }
.cat-consoles .pt-note { margin-bottom: 20px; }
.cc-tools { margin-bottom: 20px; }
.cat-switch { margin-bottom: 20px; }
.list-tools + .letters { margin-top: 14px; }
.hero + .subtabs { margin-top: 0; }

/* Source des classements (Amazon) : en bas du bloc, en petit et discret. */
.src-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); opacity: .75; }
.top-switch { margin-bottom: 18px; }

/* Synopsis coupé au niveau du cadre d'infos de gauche (voir le script de la fiche) : fondu + « Lire la suite ». */
.game-synopsis.clamp { overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 2.4em), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 2.4em), transparent); margin-bottom: 4px; }
.syn-more { align-self: flex-start; background: none; border: 0; padding: 0; margin: 0 0 10px; font: inherit; font-size: 14px; font-weight: 700; color: var(--accent); cursor: pointer; }
.syn-more:hover { text-decoration: underline; }

/* Bloc « Toute la licence » : espace entre la phrase d explication et les cartes (10 nov. 2026) */
.more.franchise .pt-note{margin:0 0 18px}

/* Catalogue, onglet « Planning des sorties » : même rythme que l onglet Consoles (11 nov. 2026) */
.cat-planning .pt-note{margin:0 0 20px}
.cat-planning .filters{margin:0 0 20px}

/* Catalogue « Tous les jeux » : affichage par lots de 48 + bouton « Voir plus » (11 nov. 2026) */
.see-more-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;margin:28px 0 8px}
.see-more-wrap .see-more{margin:0;border:0;font:inherit;font-weight:800;cursor:pointer}
.see-more-count{margin:0;color:var(--muted);font-size:14px}
.see-more-count:empty{display:none}
.see-more-wrap .see-more[hidden]{display:none}

/* Catalogue : menu « Trier par » à côté de Grille / Liste (11 nov. 2026) */
.list-right{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}

/* Planning : choix Liste / Grille (11 nov. 2026) */
.pvt { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--muted); border: 0; border-radius: 8px; padding: 6px 12px; }
.pvt.active { background: var(--panel-2); color: var(--text); }
.plan-tools { margin: 0 0 20px; }
.cat-planning .plan-tools .filters { margin: 0; }
.plans.plan-grid .plan-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.plans.plan-grid .plan-row { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
.plans.plan-grid .plan-row img { order: -1; width: 100%; height: 200px; padding: 6px; border-radius: 8px; }
.plans.plan-grid .plan-date { font-size: 13px; }
.plans.plan-grid .plan-name strong { white-space: normal; }
.plans.plan-grid .plan-price { text-align: left; margin-top: auto; }
@media (max-width: 640px) {
  .plans.plan-grid .plan-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .plans.plan-grid .plan-row img { height: 150px; }
}

/* Catalogue : les 3 onglets (Tous les jeux, Consoles, Sorties à venir) sur une seule ligne sur mobile (11 nov. 2026) */
@media (max-width: 600px) { .cat-switch .top-tab { font-size: 15px; white-space: nowrap; } }
@media (max-width: 360px) { .cat-switch .top-tab { font-size: 14px; } }

/* Catalogue, « Sorties à venir » : blocs « Les plus attendues » et « Cette semaine », compte à rebours (11 nov. 2026) */
.sorties-block { margin: 0 0 30px; }
.sorties-block .filters { margin: 0 0 20px; }
.sorties-block .section-title .count, .cal-title .count { font-size: 13px; color: var(--muted); background: var(--panel-2); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.countdown { display: inline-block; margin: 2px 0 4px; font-size: 12px; font-weight: 800; color: var(--accent); background: rgba(255, 197, 49, .12); border-radius: 6px; padding: 2px 8px; }
.countdown.soon { color: #111; background: var(--hot, #ff5a3c); }
.countdown:empty { display: none; }
.cal-title { margin-top: 10px; }
.cat-planning .cal-note { margin: 0 0 20px; }
@media (max-width: 600px) { .sorties-block .popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sorties-block .game-card h3 { font-size: 14px; } .sorties-block .game-card .cat-tag { font-size: 10px; } }

/* Sorties à venir : carrousels « Les plus attendues » et « Cette semaine » (11 nov. 2026) */
.car { position: relative; }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 8px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track[hidden] { display: none; }
.car-track > .car-item { flex: 0 0 calc((100% - 4 * 14px) / 4.4); scroll-snap-align: start; min-width: 0; }
.car-btn { position: absolute; top: 38%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(20, 22, 28, .92); color: var(--text, #fff); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.car-btn:hover { background: var(--accent); color: #111; border-color: var(--accent); }
.car-btn[hidden] { display: none; }
.car-prev { left: -14px; }
.car-next { right: -14px; }
@media (max-width: 900px) { .car-track > .car-item { flex-basis: calc((100% - 2 * 14px) / 2.6); } }
@media (max-width: 600px) {
  .car-btn { display: none; }
  .car-track { gap: 10px; }
  .car-track > .car-item { flex-basis: calc((100% - 10px) / 2.25); }
}
@media (max-width: 600px) { .car-track > .car-item { flex-basis: calc((100% - 10px) / 1.65); } }

/* Sorties à venir : même rythme que les blocs de l accueil (titre → boutons 18 px, boutons → cartes 20 px) */
.sorties-block > .section-title { margin: 0 0 18px; }
.cat-planning .cal-title { margin: 10px 0 18px; }

/* Cartes de jeu : date de sortie sous le titre (et plus sur la jaquette) + compte à rebours (11 nov. 2026) */
.rel-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--text, #fff); }
.rel-line .countdown { margin: 0; }
.rel-new .rel-date { color: var(--muted); font-weight: 600; }
.list-view .rel-line { display: none; }

/* Menu du haut : un groupe avec une seule console (Microsoft) garde une seule colonne, à la largeur normale (11 nov. 2026) */
@media (min-width: 0px) { .nav-item:hover > .dd-group:has(> div:only-child), .nav-item:focus-within > .dd-group:has(> div:only-child) { grid-template-columns: 1fr; min-width: 210px; } }

/* Pages de promos : tri, filtre de prix, « Voir plus » (11 nov. 2026) */
.dl-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 20px; }
.dl-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.dl-price input { width: 84px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 14px; }
.dl-price input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.dl-reset { background: none; border: 0; color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; padding: 4px 2px; }
.dl-reset[hidden] { display: none; }
.dl-wrap .grid-section[hidden] { display: none; }
.see-more-wrap .dl-more[hidden] { display: none; }
@media (max-width: 600px) { .dl-tools { flex-direction: column; align-items: flex-start; } .dl-price input { width: 74px; } }
.pt-note + .dl-tools { margin-top: 20px; }

/* Précommandes : boutons par période (11 nov. 2026) */
.per-filters { margin: 4px 0 20px; }

/* Filtres Genre / Éditeur / Éditions spéciales (11 nov. 2026) */
.sp-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.sp-check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.cc-sort select { max-width: 230px; }
#game-pub, .cat-genre { max-width: 165px; }

/* Catalogue, onglet Consoles : filtres modèle / lecteur / type / prix / promo (11 nov. 2026) */
.cc-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 10px; }
.cc-disc-note { margin: 0 0 20px; font-size: 12.5px; color: var(--muted); }
#cc-model { max-width: 220px; }
@media (max-width: 600px) { .cc-filters { flex-direction: column; align-items: flex-start; } }

/* Article bon plan : accès à la fiche du jeu (prix actuels de toutes les boutiques) (11 nov. 2026) */
.deal-box .btn.disabled + .fiche-btn { margin-left: 8px; }
.fiche-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent); }
.fiche-link:hover { text-decoration: underline; }
.expired-banner a { color: var(--accent); font-weight: 700; white-space: normal; }

/* Article bon plan : encadré « Le jeu » sous le texte (11 nov. 2026) */
.game-box { margin: 30px 0; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.game-box .gb-label { margin: 0 0 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.gb-in { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: start; }
.gb-pic { display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 10px; height: 210px; }
.gb-pic img { max-height: 190px; max-width: 100%; object-fit: contain; }
.gb-txt { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gb-name { margin: 0; font-size: 20px; line-height: 1.3; }
.gb-name a:hover { color: var(--accent); }
.gb-plat { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--panel-2); border-radius: 999px; padding: 2px 9px; }
.game-box .about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; background: var(--panel-2); }
.gb-syn { margin: 0; font-size: 15px; line-height: 1.55; color: #d9dcea; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gb-btn { align-self: flex-start; }
@media (max-width: 600px) {
  .game-box { padding: 16px; }
  .gb-in { grid-template-columns: 1fr; gap: 16px; }
  .gb-pic { height: 200px; }
  .game-box .about-facts { grid-template-columns: 1fr 1fr; }
  .gb-syn { -webkit-line-clamp: 5; }
  .gb-btn { align-self: stretch; text-align: center; }
}

/* Petits prix : bloc « bons plans à petit prix » en carrousel, puis tous les jeux (11 nov. 2026) */
.cheap-deals { margin: 0 0 30px; }
.cheap-deals > .section-title, .cheap-all > .section-title { margin: 0 0 18px; }
.cheap-deals .src-note a { color: var(--accent); font-weight: 700; }
.cheap-all .per-filters { margin: 0 0 20px; }
.section-title .count { font-size: 13px; color: var(--muted); background: var(--panel-2); padding: 2px 8px; border-radius: 999px; margin-left: 2px; font-weight: 600; }

/* Guides d'achat (refonte du 11 nov. 2026) : en-tête illustrée, En bref, sommaire, Bon à savoir, cartes produits,
   tableaux, et un seul rythme d'espacement : 30 px entre deux blocs, 14 px sous un titre de section. */
.guide .g-head { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 24px; align-items: center; margin: 0 0 30px; padding: 22px; background: linear-gradient(135deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); }
.guide .g-head.no-img { grid-template-columns: 1fr; }
.guide .g-head h1 { margin: 10px 0 10px; }
.guide .g-head .meta { margin: 0; }
.g-head-pic { background: #fff; border-radius: 12px; height: 200px; display: grid; place-items: center; padding: 10px; }
.g-head-pic img { max-height: 180px; max-width: 100%; object-fit: contain; }
.g-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #111; background: var(--accent); border-radius: 999px; padding: 3px 10px; }
.g-brief, .g-tip, .g-toc { border-radius: 12px; padding: 16px 18px; margin: 0 0 30px; }
.g-brief { background: rgba(255, 204, 0, .08); border: 1px solid rgba(255, 204, 0, .35); }
.g-brief strong, .g-tip strong, .g-toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.g-brief strong { color: var(--accent); }
.g-brief p, .g-tip p { margin: 0; font-size: 16px; line-height: 1.6; color: #e6e8f0; }
.g-tip { background: rgba(61, 220, 132, .07); border: 1px solid rgba(61, 220, 132, .35); }
.g-tip strong { color: var(--good); }
.g-toc { background: var(--panel); border: 1px solid var(--line); }
.g-toc strong { color: var(--muted); }
.g-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.g-toc a { color: var(--text); font-size: 15px; }
.g-toc a:hover { color: var(--accent); text-decoration: underline; }
.guide .g-intro { margin: 0 0 30px; }
.guide .content p:last-child { margin-bottom: 0; }
.guide .g-body > * { margin-top: 0; margin-bottom: 30px; }
.guide .g-body h2, .guide .g-body section > h2 { font-size: 22px; line-height: 1.3; margin: 0 0 14px; scroll-margin-top: 84px; }
.guide .g-body > h2:not(:first-child) { margin-top: 44px; }
.guide .g-body section.grid-section { margin: 0 0 30px; }
.guide .g-body section.grid-section > p { font-size: 17px; color: #d9dcea; margin: 0 0 20px; }
.guide .g-body > .content + .grid, .guide .g-body > .content + .g-prods, .guide .g-body > .content + .table-wrap { margin-top: -10px; }
.guide .g-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.guide .g-actions .btn { margin: 0; }
.btn.alt { background: var(--panel-2); color: var(--text); }
.guide .disclaimer { margin-top: 0; }
/* Tableaux des guides : bordures douces, en-tête, lignes alternées, défilement horizontal propre sur mobile */
.guide .table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.guide .table-wrap .price-table { border: 0; border-radius: 0; min-width: 520px; }
.guide .price-table th { background: var(--panel-2); white-space: nowrap; }
.guide .price-table td { padding: 11px 14px; font-size: 15px; }
.guide .price-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.guide .price-table td a { color: var(--accent); font-weight: 600; }
.guide .price-table td a:hover { text-decoration: underline; }
/* Cartes produits compactes */
.g-prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-prod { display: flex; gap: 14px; align-items: center; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.g-prod:hover { border-color: var(--accent); }
.g-prod-pic { flex: 0 0 64px; height: 84px; background: #fff; border-radius: 8px; display: grid; place-items: center; padding: 4px; }
.g-prod-pic img { max-height: 76px; max-width: 100%; object-fit: contain; }
.g-prod-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g-prod-txt strong { font-size: 15px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.g-prod-txt small { color: var(--muted); font-size: 12.5px; }
.g-prod-price { color: var(--accent); font-weight: 800; font-size: 17px; }
/* Page /guides/ : grandes cartes illustrées */
.guide-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 0 0 30px; }
.guide-list .guide-item { padding: 0; gap: 0; overflow: hidden; }
.gi-pic { position: relative; display: grid; place-items: center; height: 190px; background: #fff; padding: 14px; }
.gi-pic img { max-height: 162px; max-width: 80%; object-fit: contain; }
.gi-pic .g-badge { position: absolute; top: 12px; left: 12px; }
.guide-list .gi-txt { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; color: var(--muted); font-size: 14px; }
.gi-txt strong { color: var(--text); font-size: 17px; line-height: 1.3; }
.guide-list .gi-txt .gi-more { color: var(--accent); font-weight: 700; margin-top: auto; }
.guide-list .guide-item:hover .gi-more { text-decoration: underline; }
@media (max-width: 600px) {
  .guide .g-head { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .g-head-pic { height: 170px; order: -1; }
  .g-head-pic img { max-height: 150px; }
  .g-prods { grid-template-columns: 1fr; }
  .guide-list { grid-template-columns: 1fr; }
}
.guide-item .g-badge { color: #111; }
@media (max-width: 700px) { .guide .price-table th:first-child { display: table-cell; } }

/* Accessoires (refonte du 11 nov. 2026) : rangées « Par console » / « Par type », cartes avec consoles compatibles */
.acc-row { margin: 0 0 30px; }
.acc-row > .section-title, .acc-all > .section-title { margin: 0 0 18px; }
.acc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.acc-tile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.acc-tile:hover, .acc-tile:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.at-pic { display: grid; place-items: center; height: 140px; background: #fff; padding: 10px; }
.at-pic img { max-height: 120px; max-width: 85%; object-fit: contain; }
.at-txt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.at-txt strong { font-size: 16px; }
.at-txt small { color: var(--muted); font-size: 13px; }
.acc-plats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.acc-plats span { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--panel-2); border-radius: 999px; padding: 2px 8px; }
.acc-card .prices { align-items: baseline; }
.acc-at { font-size: 12px; color: var(--muted); }
.acc-aff { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 600px) {
  .acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .at-pic { height: 110px; }
  .at-pic img { max-height: 92px; }
  .at-txt { padding: 10px 12px 12px; }
  .at-txt strong { font-size: 15px; }
}
.acc-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Accessibilité (11 nov. 2026) : contour de focus visible au clavier sur les liens, boutons et champs */
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.card:focus-visible, .guide-item:focus-visible, .g-prod:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #111; font-weight: 800; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
main:focus { outline: none; }
.guide-note { margin: 30px 0 0; } .guide-note a { color: var(--accent); font-weight: 700; } .guide-note a:hover { text-decoration: underline; }
.hero p a { color: var(--accent); font-weight: 700; } .hero p a:hover { text-decoration: underline; }

/* Article « meilleur prix » (comparaison entre boutiques, sans prix barré) */
.vs { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Mention affiliation discrète, une fois par page (11 nov. 2026) */
.aff-line { font-size: 12px; color: var(--muted); margin: -4px 0 12px; }

/* Guides sur l accueil : mêmes cartes que /guides/, image plus basse sur mobile */
@media (max-width: 600px) { .home-guides .gi-pic { height: 130px; } .home-guides .gi-pic img { max-height: 104px; } }

/* Onglets trop longs (11 nov. 2026) : à la souris ils passent à la ligne ; au doigt ils défilent, avec un fondu à droite tant qu il reste des onglets */
@media (hover: hover) and (pointer: fine) { .subtabs { flex-wrap: wrap; overflow-x: visible; row-gap: 2px; } }
.subtabs.more { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
