:root {
  --bg: #fdf8f1;
  --paper: #ffffff;
  --ink: #1f2140;
  --ink-soft: #4a4c6b;
  --muted: #7a7b93;
  --line: #ece3d6;
  --coral: #ef6a4c;
  --coral-dark: #cf4f33;
  --sun: #ffc857;
  --teal: #2a9d8f;
  --good: #23835a; --good-bg: #e3f5ec;
  --warn: #9a6200; --warn-bg: #fff2d6;
  --bad: #b23a33; --bad-bg: #fde6e3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 33, 64, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--coral-dark); }
img { display: block; max-width: 100%; }

.proto-banner { background: var(--ink); color: #fff; text-align: center; font-size: 12px; padding: 6px 12px; letter-spacing: .04em; text-transform: uppercase; }
.site-header { max-width: 1080px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; text-decoration: none; color: var(--ink); letter-spacing: -.01em; }
.logo-mark { width: 42px; height: 42px; display: block; flex: none; }
.logo-eyes .eye, .home-side .eye { transition: transform .15s ease-out; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
nav a:hover, nav a.active { background: #f3eadd; color: var(--ink); }
main { max-width: 1080px; margin: 0 auto; padding: 8px 24px 48px; }
.site-footer { max-width: 1080px; margin: 0 auto; padding: 28px 24px 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* Accueil */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 36px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--coral); }
/* Deux phrases du titre séparées par un vrai espace (Benjamin, 05/11/2026). */
.hero h1 .h1-line { display: block; }
.hero h1 .h1-line + .h1-line { margin-top: .35em; }
.hero .lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Trois portes de l'accueil et leurs parcours (05/11/2026). */
.who-label { margin: 0 0 12px; font-weight: 800; color: var(--ink); }
.who-actions .btn { padding: 12px 20px; }
.hero-alt { margin: 16px 0 0; color: var(--ink-soft); }
.start-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.start-steps > li { counter-increment: step; position: relative; padding-left: 70px; }
.start-steps > li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; }
.start-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.start-links .btn { padding: 10px 18px; font-size: 15px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transform: rotate(-2deg); }
.collage img { border-radius: 14px; box-shadow: var(--shadow); aspect-ratio: 460 / 215; object-fit: cover; width: 100%; }
.collage img:nth-child(even) { transform: translateY(18px); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .collage { transform: none; } }

.btn { background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-block; box-shadow: 0 4px 0 var(--coral-dark); transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--coral-dark); }
.btn.ghost { background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 var(--line); border: 1.5px solid var(--line); }

.band { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin: 18px 0; }
.band h2 { margin: 0 0 6px; font-size: 24px; }
.band p { margin: 0; color: var(--ink-soft); }
.section-title { font-size: 30px; margin: 36px 0 6px; letter-spacing: -.02em; }
.sub { color: var(--ink-soft); margin: 0 0 22px; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.list-tile { background: var(--paper); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); font-weight: 800; border-left: 6px solid var(--sun); }
.list-tile:hover { border-left-color: var(--coral); }

/* Questionnaire */
.qcard { background: var(--paper); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow); }
.qcard h3 { margin: 0 0 4px; font-size: 18px; }
.qcard .hint { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.qcard .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; margin-right: 8px; vertical-align: 2px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); cursor: pointer; font-size: 15px; font-weight: 700; background: #fffdf9; user-select: none; color: var(--ink-soft); }
.choice span:hover { border-color: var(--ink-soft); }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.error { color: var(--bad); font-weight: 700; margin-left: 14px; }

/* Cartes jeux */
.result-group { margin: 30px 0; }
.result-group > h2 { font-size: 24px; margin: 0 0 4px; }
.result-group > p { margin: 0 0 16px; color: var(--ink-soft); }
.game-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 300px 1fr; overflow: hidden; margin-bottom: 18px; }
.game-card.top { outline: 3px solid var(--ink); }
.game-card .cover { background: transparent; padding: 16px 0 16px 16px; align-self: start; }
.game-card .cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.game-card .body { padding: 20px 22px; }
@media (max-width: 760px) { .game-card { grid-template-columns: 1fr; } .game-card .cover { padding: 16px 16px 0; } }
.rank { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); font-weight: 800; margin-right: 8px; }
.game-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.game-head h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.game-head h3 a { color: var(--ink); text-decoration: none; }
.game-head h3 a:hover { color: var(--coral-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.chip { background: #f3eadd; color: var(--ink-soft); border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 700; }
.chip.type { background: #e5f3f1; color: var(--teal); }
/* Échelle des joueurs (04/11/2026) : famille, intensité d'action, stress. Icônes dans img/scale/. */
/* Échelle en trois lignes titrées (Benjamin, 04/11/2026) : Controls, Timing, Stress */
.skill-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 10px; }
.sc-row { display: flex; align-items: center; gap: 8px; }
.sc-lbl { flex-shrink: 0; min-width: 72px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-vals { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 11px 3px 8px; font-size: 13px; font-weight: 800; line-height: 18px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); }
.sc img { width: 18px; height: 18px; display: block; }
.sc.fam.one { border-color: #f6b7a6; }
.sc.fam.two { border-color: #9fd3cc; }
.sc.fam.none { border-color: #d9cfc2; }
.sc.act, .sc.prec, .sc.stress { padding-left: 11px; }
.sc.stress { gap: 0; }
.sc.stress .chili { width: 15px; height: 15px; }
.sc.stress .to { font-weight: 700; color: var(--muted); margin: 0 4px; }
.game-hero .skill-badges { grid-area: badges; margin: -6px 0 0; gap: 8px; }
.game-hero .sc-lbl { font-size: 13px; min-width: 96px; }
.game-hero .sc-vals { gap: 8px; }
.game-hero .sc { font-size: 17px; line-height: 24px; padding: 6px 16px 6px 11px; gap: 7px; }
.game-hero .sc img { width: 24px; height: 24px; }
.game-hero .sc.stress .chili { width: 21px; height: 21px; }
.game-hero .sc.stress, .game-card.top .cover .sc.stress { gap: 1px; }
.game-card.top .cover .skill-badges { align-items: stretch; gap: 8px; margin: 14px 0 0; }
.game-card.top .cover .sc-row { flex-direction: column; align-items: flex-start; gap: 4px; }
.game-card.top .cover .sc { font-size: 16px; line-height: 22px; padding: 8px 14px 8px 11px; gap: 8px; }
.game-card.top .cover .sc img { width: 24px; height: 24px; }
.game-card.top .cover .sc.stress .chili { width: 20px; height: 20px; }
.skill-badges .role { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-top: 4px; }
.skill-badges .role:first-child { margin-top: 0; }
.game-hero .skill-badges .role { font-size: 13px; }
@media (max-width: 760px) { .game-card.top .cover .skill-badges { gap: 6px; margin-top: 12px; } .game-card.top .cover .sc-row { flex-direction: row; align-items: center; } .game-card.top .cover .sc { font-size: 14px; padding: 4px 12px 4px 9px; gap: 6px; } .game-card.top .cover .sc img { width: 20px; height: 20px; } .game-card.top .cover .sc.stress .chili { width: 17px; height: 17px; } }
ul.tags li.scale-item::before { content: "i"; background: #efe7dc; color: var(--ink-soft); }
.why { margin: 4px 0 12px; color: var(--ink-soft); }
.badge { display: inline-block; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
ul.tags { list-style: none; padding: 0; margin: 8px 0; }
ul.tags li { padding: 4px 0 4px 30px; position: relative; }
ul.tags li::before { position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; line-height: 20px; text-align: center; }
ul.tags li.plus::before { content: "+"; background: var(--good-bg); color: var(--good); }
ul.tags li.minus::before { content: "−"; background: var(--bad-bg); color: var(--bad); }
ul.tags li.cond::before { content: "!"; background: var(--warn-bg); color: var(--warn); }
ul.tags li.tip::before { content: "→"; background: #e5f3f1; color: var(--teal); }
.wall { background: #fff6ec; border: 1.5px dashed #f2c9a8; border-radius: 12px; padding: 12px 16px; margin: 12px 0 0; font-size: 15px; }
.wall strong { color: var(--coral-dark); }
.closer { background: #e5f3f1; border-radius: var(--radius); padding: 16px 20px; color: var(--teal); font-weight: 800; }

/* Fiche jeu */
.game-hero { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "title title" "badges badges" "img about" "facts facts"; gap: 18px 28px; align-items: center; margin: 28px 0 10px; }
.game-hero h1 { grid-area: title; }
.game-hero .about { grid-area: about; margin: 0; font-size: 17px; }
.facts-strip { grid-area: facts; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; margin: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; }
.facts-strip dt { font-weight: 800; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.facts-strip dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.game-hero .main-img { grid-area: img; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 460 / 215; object-fit: cover; }
.verdict-zone { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; margin-bottom: 22px; }
.verdict-zone .verdict-box { margin: 0; position: sticky; top: 16px; }
.verdict-zone[hidden], #gameq-title[hidden], #gameq-title + .sub[hidden] { display: none; } /* questions cachées après le petit jeu (23/11/2026) */
.verdict-box .panel.placeholder { outline: none; border: 2px dashed var(--line); box-shadow: none; background: transparent; color: var(--muted); }
#gameq.compact .qcard { padding: 12px 16px; margin-bottom: 10px; }
#gameq.compact .qcard h3 { font-size: 16px; }
#gameq.compact .qcard .hint { font-size: 13px; margin: 0; }
#gameq.compact .choices { margin-top: 8px; gap: 6px; }
#gameq.compact .choice span { padding: 6px 12px; font-size: 14px; }
.game-hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 0 0 10px; letter-spacing: -.02em; }
.facts { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin-top: 14px; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.facts dt { font-weight: 800; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 820px) { .game-hero, .verdict-zone { grid-template-columns: 1fr; } .game-hero { grid-template-areas: "title" "badges" "img" "about" "facts"; gap: 14px; } .facts-strip { grid-template-columns: 1fr 1fr; } .verdict-zone .verdict-box { position: static; } .verdict-zone .verdict-box.kept { order: -1; } }
.about { font-size: 18px; color: var(--ink-soft); max-width: 760px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 6px; }
.gallery img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two-col, .gallery { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.panel h2 { margin: 0 0 8px; font-size: 20px; }
.verdict-box { margin: 16px 0; }
.verdict-box .panel { outline: 3px solid var(--ink); }
/* Démo Stick With Me dans les fiches (05/11/2026) : grand cadre 16/9 en tête de page, c'est la fonction phare. */
.demo-zone { margin: 8px 0 30px; }
.demo-frame { background: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(31, 33, 64, .18); min-width: 640px; } /* sous 688 px de page, app.js n'affiche pas le cadre (19/11/2026) */
.demo-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.demo-note { margin: 0 2px 10px; font-size: .92rem; color: var(--ink-soft); } /* phrase validée par Benjamin le 20/11/2026, la même que dans le jeu */
.demo-state { margin: 12px 2px 0; font-weight: 700; color: var(--ink-soft); }
/* Verdict du jeu fiche sous le cadre (contrat v3, 19/11/2026) */
.demo-verdict { margin-top: 16px; }
.demo-verdict .game-head h3 { font-size: 20px; }
.demo-verdict .demo-retry { margin: 14px 0 0; }
#gameq .qcard.measured { outline: 2px solid var(--teal); }
/* Question d'entrée « Compared to your partner, you play… » (05/11/2026) : sans numéro, posée sur fond crème. */
.qcard.who { background: var(--bg, #fdf8f1); box-shadow: none; border: 2px solid var(--line); }
/* Texte de la pastille : data-pill du titre, posé par app.js dans la langue de la page (25/11/2026). */
#gameq .qcard.measured h3::after { content: attr(data-pill); display: inline-block; white-space: nowrap; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; vertical-align: middle; }

.game-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.game-tile { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s ease; }
.game-tile:hover { transform: translateY(-3px); }
.game-tile img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; }
.game-tile .t { padding: 14px 16px; }
.game-tile h3 { margin: 0 0 4px; font-size: 18px; }

.discord { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin: 40px 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.discord p { margin: 0; max-width: 620px; }
.discord .btn { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #b9bad0; }

.prose { max-width: 760px; }
.stat { display: flex; gap: 18px; align-items: center; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin-bottom: 12px; }
.stat b { font-size: 26px; min-width: 96px; color: var(--coral); }
.note { color: var(--muted); font-size: 14px; }
.meta { color: var(--muted); font-size: 14px; }

/* Profil et test manette */
.textin { width: 100%; font: inherit; font-size: 16px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fffdf9; color: var(--ink); }
.textin:focus { outline: none; border-color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 10px; font-weight: 600; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.consent-note { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 4px; }
.thanks-note { background: var(--good-bg); color: var(--good); border-radius: 12px; padding: 12px 16px; margin: 18px 0 0; }
.prose h2 { font-size: 21px; margin: 26px 0 4px; }
.proto-note { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 12px 16px; margin: 18px 0 0; }
.test-wrap { margin-top: 10px; }
.test-head { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
#tcanvas { width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); display: block; }
.how { font-size: 17px; font-weight: 700; margin: 12px 0; min-height: 26px; }
.test-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.result-card { margin-top: 18px; outline: 3px solid var(--ink); }
.result-card h2 { font-size: 28px; margin: 0 0 6px; }

/* Sondages (#/survey/<id>) : une question par écran */
.survey { max-width: 640px; }
.survey-title { color: var(--muted); font-weight: 800; font-size: 14px; margin: 24px 0 8px; }
.survey-progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 18px 0 6px; }
.survey-progress i { display: block; height: 100%; background: var(--coral); border-radius: 99px; transition: width .25s ease; }
.survey-count { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.survey .qcard h2 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.choices.stack { flex-direction: column; }
.choices.stack .choice span { display: block; border-radius: 14px; padding: 12px 16px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.scale .choice span { display: block; text-align: center; border-radius: 14px; padding: 12px 0; font-size: 19px; }
.scale-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 8px; }
.survey-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.survey-nav .error { margin: 0; flex: 1; text-align: center; font-size: 15px; }
.game-results { display: grid; gap: 8px; margin-top: 10px; }
.game-pick { display: flex; align-items: center; gap: 12px; background: #fffdf9; border: 2px solid var(--line); border-radius: 14px; padding: 6px 12px 6px 6px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.game-pick img { width: 76px; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 8px; flex: none; }
.game-pick.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.other-line { margin: 12px 0 8px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--coral-dark); text-decoration: underline; cursor: pointer; }
.link-btn.on { color: var(--ink); }
.survey-done { margin-top: 18px; }
.survey-done h1 { margin: 0 0 6px; }

/* Smartphone : menu sur une ligne qui défile, marges réduites, collage raccourci */
@media (max-width: 600px) {
  .proto-banner { font-size: 10px; padding: 5px 8px; }
  .site-header { padding: 12px 16px 6px; gap: 8px; }
  nav { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  nav::-webkit-scrollbar { display: none; }
  nav a { white-space: nowrap; font-size: 14px; padding: 7px 12px; background: #f3eadd; }
  nav a.active { background: var(--ink); color: #fff; }
  main { padding: 4px 16px 40px; }
  .site-footer { padding: 24px 16px 40px; }
  .hero { padding: 20px 0 24px; gap: 24px; }
  .hero .lead { font-size: 17px; }
  .collage img:nth-child(n+5) { display: none; }
}

/* Recherche de jeu sur la page « Can we play…? » */
.game-finder { margin: 0 0 24px; max-width: 560px; }
a.game-pick { text-decoration: none; color: inherit; }

/* Bannière des recommandations hebdomadaires (accueil) : fond encre, texte clair, bouton corail */
.band.weekly-band { background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 0; }
.band.weekly-band h2 { color: #fff; margin-top: 0; }
.band.weekly-band h2 em { font-style: normal; color: var(--sun); }
.band.weekly-band p { margin: 0; max-width: 620px; color: #e6e6f2; }
.band.weekly-band .btn { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--coral-dark); }

/* Autres jeux sous le verdict d'une fiche */
.alts { margin-top: 14px; display: grid; gap: 8px; }
.alts h3 { margin: 0 0 2px; font-size: 16px; }
.alts .game-pick span:nth-of-type(1) { flex: 1; }
.alts .game-pick .badge { padding: 4px 8px; font-size: 13px; }
.alts p { margin: 4px 0 0; font-weight: 800; }

/* Bannière Discord de l'accueil */
.band.discord-band { background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 0; }
.band.discord-band h2 { color: #fff; margin-top: 0; }
.band.discord-band h2 em { font-style: normal; color: var(--sun); }
.band.discord-band p { margin: 0; max-width: 620px; color: #e3f4f1; }
.band.discord-band .btn { background: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(0,0,0,.18); }

/* Contenu statique (pages générées pour les robots), visible avant le chargement de l'application */
.static-page img { max-width: 100%; height: auto; border-radius: var(--radius); }
.static-list { columns: 2; padding-left: 18px; }
@media (max-width: 600px) { .static-list { columns: 1; } }
/* Filtres des résultats (10/11/2026) : facultatifs, ils réordonnent la liste. */
/* Barre de filtres des résultats (23/11/2026, Benjamin) : « Steer your list » au-dessus, puis une seule ligne de pastilles
   (elle défile si elle ne tient pas, téléphone surtout) ; chaque pastille ouvre son menu, placé par rapport à la barre
   (app.js, bindSteer) pour ne pas être coupé par la ligne qui défile. Pastille foncée = réglage actif, avec son choix. */
.fbar { position: relative; margin: 10px 0 18px; }
.nav-short { display: none; }
@media (max-width: 480px) { .nav-long { display: none; } .nav-short { display: inline; } }
.fbar-lbl { margin: 0 0 6px; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.fbar-row { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.fbar-row::-webkit-scrollbar { display: none; }
/* La ligne continue : dégradé posé par-dessus (un masque cacherait aussi les menus, qui sont dans la ligne). */
.fbar::after { content: ""; position: absolute; right: 0; bottom: 4px; width: 56px; height: 40px; pointer-events: none; background: linear-gradient(to right, rgba(253, 248, 241, 0), var(--bg) 85%); opacity: 0; transition: opacity .15s; }
.fbar.more::after { opacity: 1; }
.fchip { flex: none; }
.fchip > summary { list-style: none; cursor: pointer; user-select: none; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 14px; color: var(--ink-soft); white-space: nowrap; box-shadow: 0 2px 6px rgba(31, 33, 64, .05); }
.fchip > summary::-webkit-details-marker { display: none; }
.fchip > summary::after { content: "▾"; margin-left: 6px; font-size: 12px; color: var(--muted); }
.fchip[open] > summary::after { content: "▴"; }
.fchip > summary:hover { border-color: var(--ink-soft); }
.fchip.on > summary { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip.on > summary::after { color: #c9cae0; }
.fmenu { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 260px; max-width: 360px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(31, 33, 64, .16); padding: 12px 14px 14px; }
.fmenu-q { margin: 0 0 10px; font-weight: 800; font-size: 15px; color: var(--ink); }
.fmenu .choices { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 0; }
.fmenu .choice span { display: block; padding: 7px 12px; font-size: 14px; }
.role-note { margin-top: -6px; }
.fa-back { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.fa-back a { color: var(--ink-soft); }
/* Pastille du verdict au bout du titre de la fiche (23/11/2026) */
/* 23/11/2026 (Benjamin) : image toujours entière ; la pastille du verdict passe sous l'image, sans la toucher,
   pour ne plus cacher le titre du jeu. */
.fiche .fb-img { grid-area: img; margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.fiche .fb-img > .fa-stamp { position: relative; z-index: 1; margin: 10px 0 0 12px; } /* ne touche pas l'image (rotation comprise) */
.fa-stamp { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 6px; border: 2px solid #fff; border-radius: 999px; font-size: 15px; font-weight: 800; letter-spacing: 0; line-height: 1.2; white-space: nowrap; cursor: help; transform: rotate(-2deg); box-shadow: 0 6px 18px rgba(31, 33, 64, .28); }
.fa-stamp[hidden] { display: none; }
.fa-stamp i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 900; }
.fa-stamp.good { background: #e3f4ee; color: #17694f; } .fa-stamp.good i { background: #2a9d8f; }
.fa-stamp.warn { background: #fff1d6; color: #8a5a00; } .fa-stamp.warn i { background: #e9a23b; }
.fa-stamp.bad { background: #fde6e3; color: #b03a2e; } .fa-stamp.bad i { background: #e05a4a; }
.sc.stress .stress-txt { margin-left: 4px; font-weight: 700; }
.sc.stress .to { margin: 0 2px; color: var(--muted); }
.game-list[hidden], .grid-sort[hidden] { display: none; }
@media (max-width: 600px) {
  .fbar-row { gap: 6px; }
  .fchip > summary { padding: 6px 11px; font-size: 13px; }
  .fmenu { left: 0 !important; right: 0; top: calc(100% + 6px) !important; max-width: none; min-width: 0; }
}
.steer { background: var(--paper); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); margin: 14px 0 18px; }
.steer-head { margin: 0 0 6px; }
.steer-head span { color: var(--muted); font-size: 14px; margin-left: 6px; }
.steer-row { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.steer-row:first-of-type { border-top: 0; }
.steer-lbl { flex: 0 0 130px; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.steer .choices { margin-top: 0; gap: 6px; }
.steer .choice span { padding: 5px 12px; font-size: 14px; }
@media (max-width: 640px) { .steer-row { flex-direction: column; gap: 4px; } .steer-lbl { flex: none; } }
.steer summary { cursor: pointer; list-style: none; }
.steer summary::-webkit-details-marker { display: none; }
.steer summary::after { content: "▾"; margin-left: 8px; color: var(--muted); }
.steer[open] summary::after { content: "▴"; }
.steer[open] summary { margin-bottom: 6px; }
.steer .steer-on { background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 800; margin-left: 6px; }

/* Accueil (22/11/2026, maquette de Fable validée par Benjamin) : une colonne, la question « Which one are you? » et deux
   boutons côte à côte, rien entre eux. La suite (#home-next) apparaît sous le bouton choisi, avec une pointe vers lui :
   carte du level sur ordinateur, questions puis envoi du level sur téléphone. Les questions se déplient dans #home-quiz. */
.home { max-width: 760px; margin: 0 auto; padding: 44px 0 8px; text-align: center; }
.home h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 12px; }
.home h1 em { font-style: normal; color: var(--coral); }
.home-lead { font-size: 20px; font-weight: 700; color: var(--ink-soft); margin: 0 0 34px; }
.home-q { margin: 0 0 16px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.home-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.home-side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 18px 24px; background: var(--paper); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 0 var(--line); font: inherit; font-size: 25px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; cursor: pointer; transition: border-color .12s ease, opacity .12s ease; }
.home-side svg { width: 68px; height: 68px; display: block; }
.home-side.more:hover { border-color: var(--coral); }
.home-side.less:hover { border-color: var(--teal); }
.home-side.more.on { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 5px 0 var(--coral-dark); }
.home-side.less.on { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 5px 0 #1f7a6f; }
.home-pick.picked .home-side:not(.on) { opacity: .62; }
.home-pick.picked .home-side:not(.on):hover { opacity: 1; }
#home-next { text-align: left; }
#home-next:not(:empty) { margin-top: 30px; position: relative; }
/* Deux cartes et « or » entre elles (Benjamin, 22/11/2026 au soir : « faire ci ou faire ça », comme l'ancien accueil). */
.home-paths { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.home-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.home-card h2 { margin: 0 0 8px; font-size: 23px; line-height: 1.18; letter-spacing: -.01em; }
.home-card p { margin: 0 0 20px; font-size: 16px; line-height: 1.5; }
.home-or { align-self: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 15px; display: grid; place-items: center; text-transform: uppercase; box-shadow: 0 4px 14px rgba(31, 33, 64, .14); }
/* Carte du level aux couleurs de Stick With Me : écran du jeu (Tandem et deux chats), bord de papier déchiré
   (masque bord-dechire du jeu), papier crème, police arrondie, titre corail, bouton jaune cerclé comme « Jouer ». */
.home-level { background: #fbf2e2 url(img/home/swm-papier.jpg) center / 340px; background-blend-mode: soft-light; color: #3b3350; border: 2px solid #eadbc2;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand", "Segoe UI Rounded", system-ui, sans-serif; }
.home-level-txt { padding: 26px 24px 24px; flex: 1; display: flex; flex-direction: column; }
/* Décor du cadre (22/11/2026) : tailles d'affichage = PNG / 3 ; ombre douce en second fond ; chats posés sur le bord haut
   (top = − ligne de pose / 3) ; Tandem derrière la carte (z-index −1, la carte ne crée pas de contexte d'empilement). */
.home-level { position: relative; overflow: visible; }
.deco { position: absolute; display: block; pointer-events: none; background-size: 100% 100%, 100% 100%; background-repeat: no-repeat; }
.deco-chat-1 { width: 43px; height: 70px; top: -45px; left: 62px; background-image: url(img/home/deco/chat-1.png), url(img/home/deco/chat-1-ombre.png); }
.deco-chat-2 { width: 86.33px; height: 70px; top: -45px; left: 216px; background-image: url(img/home/deco/chat-2.png), url(img/home/deco/chat-2-ombre.png); }
.deco-fleurs { width: 81.67px; height: 50px; bottom: -9px; right: -52px; background-image: url(img/home/deco/fleurs.png), url(img/home/deco/fleurs-ombre.png); }
.deco-tandem { z-index: -1; width: 118.33px; height: 150px; bottom: -21px; left: -76px; background-image: url(img/home/deco/tandem-plat.png), url(img/home/deco/tandem-plat-ombre.png); } /* Tandem à plat, choisi par Benjamin le 22/11 ; la version en volume est dans StickWithMe-demo/2026-11-22-deco-accueil/ */
#home-next:has(.home-level) { margin-top: 58px; }
@media (max-width: 687px) {
  .deco-tandem { display: none; }
  .deco-fleurs { right: -6px; bottom: -12px; }
  .home-paths > .home-level { margin-top: 30px; } /* place pour les chats sous le rond « or » */
}
.home-level h2 { color: #e8604f; font-weight: 900; text-shadow: 0 2px 0 rgba(59, 51, 80, .18); }
.home-level p { color: #5a4f6b; font-weight: 600; }
.swm-btn { margin-top: auto; display: block; text-align: center; background: #ffb81c; color: #3b3350; border: 2.5px solid #3b3350; border-radius: 999px; padding: 12px 22px; font-weight: 900; font-size: 17px; text-decoration: none; box-shadow: 0 4px 0 #3b3350; transition: transform .08s ease, box-shadow .08s ease; }
.swm-btn:hover { transform: translateY(1px); box-shadow: 0 3px 0 #3b3350; }
.home-ask { background: var(--paper); border: 1.5px solid var(--line); padding: 26px 24px 24px; }
.home-ask p { color: var(--ink-soft); }
.home-ask .btn { margin-top: auto; display: block; width: 100%; text-align: center; }
.notify.on-swm .notify-label { font-size: 15px; }
.notify.on-swm .notify-hint { color: #5a4f6b; }
.notify.on-swm .btn { background: #ffb81c; color: #3b3350; border: 2.5px solid #3b3350; box-shadow: 0 3px 0 #3b3350; }
.btn[data-home-ask].on { opacity: .7; }
#home-quiz { text-align: left; scroll-margin-top: 16px; }
#home-quiz:not(:empty) { margin-top: 30px; }
#home-quiz .qcard[data-q="q0"], #home-quiz .qcard[data-q="q8"] { display: none; }
.home-covers { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.home-covers span { color: var(--ink-soft); font-weight: 700; font-size: 15px; }
.home-covers div { display: flex; gap: 8px; justify-content: center; }
.home-covers img { width: 82px; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 12px rgba(31, 33, 64, .10); }
.home-low { margin: 26px 0 0; font-size: 14px; color: var(--muted); }
.home-low a { color: var(--ink-soft); font-weight: 700; }
.home-low .sep { margin: 0 8px; }
@media (min-width: 900px) { .home h1 { margin-inline: -70px; } } /* titre sur une ligne */
@media (max-width: 687px) { .home-paths { grid-template-columns: 1fr; gap: 14px; } .home-or { justify-self: center; } #home-quiz:not(:empty) { margin-top: 6px; } }
@media (max-width: 600px) {
  .home { padding-top: 22px; }
  .home-lead { font-size: 17px; margin-bottom: 24px; }
  .home-q { font-size: 19px; margin-bottom: 12px; }
  .home-pick { gap: 14px; }
  .home-side { font-size: 19px; padding: 20px 8px 18px; gap: 10px; }
  .home-side svg { width: 56px; height: 56px; }
  #home-next:not(:empty) { margin-top: 24px; }
  #home-quiz:not(:empty) { margin-top: 20px; }
  .home-covers { margin-top: 30px; }
  .home-covers span { font-size: 14px; }
  .home-covers div { width: 100%; }
  .home-covers img { width: calc((100% - 24px) / 4); }
  .home-covers img:nth-child(n+5) { display: none; }
  .home-low { margin-top: 20px; }
}

/* Formulaires email (15/11/2026) : lien du test vers l'ordinateur, liste des résultats, nouvelles d'un jeu complet.
   Compacts : une ligne email + bouton, qui passe sur deux lignes quand la place manque. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.notify { margin: 0; }
.notify-label { display: block; font-weight: 800; font-size: 16px; margin: 0 0 2px; }
.notify-hint { margin: 0 0 8px; font-size: 15px; color: var(--ink-soft); }
.notify-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.notify-row .textin { flex: 1 1 200px; min-width: 0; padding: 9px 14px; }
.notify-row .btn { flex: 0 0 auto; padding: 10px 20px; font-size: 15px; white-space: nowrap; }
.notify-row .btn:disabled { opacity: .6; cursor: default; }
.notify-check { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.notify-check input { margin-top: 4px; width: 17px; height: 17px; flex: none; }
.notify-msg { margin: 0; font-weight: 700; font-size: 15px; }
.notify-msg:not(:empty) { margin-top: 10px; }
.notify-msg.ok { color: var(--good); }
.notify-msg.err { color: var(--bad); }
.notify-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.notify.sent .notify-row, .notify.sent .notify-check, .notify.sent .notify-hint { display: none; }
.notify.sent .notify-msg { margin-top: 4px; }
/* Carte du test sur l'accueil, fond encre (téléphone et tablette) */
.notify.on-dark .notify-label { color: #fff; }
.notify.on-dark .notify-hint { color: var(--sun); font-weight: 700; }
.notify.on-dark .textin { border-color: transparent; background: #fff; }
.notify.on-dark .notify-note { color: #b9bad0; }
.notify.on-dark .notify-note a { color: #dcdcec; }
.notify.on-dark .notify-msg.ok { color: var(--sun); }
.notify.on-dark .notify-msg.err { color: #ffb4a6; }
/* Zone démo d'une fiche sur téléphone */
.notify.in-demo { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; margin: 0 0 14px; }
/* Sous les résultats */
.band.notify-band .notify { max-width: 560px; margin-top: 12px; }
.band.notify-band .notify-note { margin-top: 8px; }
.band.notify-band .notify-more { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
/* Fin du test manette et de la démo d'une fiche */
.notify-game { margin: 18px 0 4px; padding: 16px 18px; border: 2px dashed var(--line); border-radius: var(--radius); background: #fffdf9; }
.notify-game h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; }
.notify-game .notify { max-width: 520px; }
.demo-zone .notify-game { margin-top: 16px; }
/* Bloc Discord des résultats : le subreddit en une ligne */
.discord .discord-alt { margin-top: 8px; color: #dcdcec; font-size: 15px; }
.discord .discord-alt a { color: var(--sun); font-weight: 700; }
/* Couple Score et ambiance (18/11/2026) : ligne COUPLES de la fiche, pastilles du top 3, ligne sous le nom ailleurs */
.sc.cpl-score { border-color: #f6b7a6; }
.sc.mood.calm { border-color: #9fd3cc; }
.sc.mood.some { border-color: #f8cfa0; }
.sc.mood.yelling { border-color: #f6b7a6; }
[data-tip] { cursor: help; }
.verdict-pills { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cpl-pills { display: inline-flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 11px 4px 8px; font-weight: 800; font-size: 14px; line-height: 20px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); white-space: nowrap; }
.pill.cpl-score { border-color: #f6b7a6; }
.pill.mood { padding: 4px 7px; }
.pill.mood.calm { border-color: #9fd3cc; } .pill.mood.some { border-color: #f8cfa0; } .pill.mood.yelling { border-color: #f6b7a6; }
.pill img { width: 20px; height: 20px; display: block; }
.cpl-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 6px 0 6px; font-size: 13px; font-weight: 800; color: var(--ink); }
.cpl-line span { display: inline-flex; align-items: center; gap: 5px; }
.cpl-line img { width: 17px; height: 17px; display: block; }
.game-tile .cpl-line { margin: 2px 0 6px; }
.grid-sort { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 18px 0 12px; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.grid-sort select { font: inherit; font-weight: 800; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.tip-bubble { position: absolute; z-index: 1000; background: var(--ink); color: #fdf8f1; font-size: 14px; font-weight: 600; line-height: 1.45; padding: 10px 13px; border-radius: 12px; box-shadow: 0 8px 24px rgba(31, 33, 64, .25); pointer-events: none; }
@media (max-width: 600px) { .grid-sort { justify-content: flex-start; } .pill { font-size: 13px; } }
/* Rôle de la deuxième personne (18/11/2026) : bandeau sur la jaquette, ligne ROLES de la fiche */
.cover-img { position: relative; display: block; }
.role-ribbon { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 18px; color: #fff; background: var(--ink); box-shadow: 0 3px 10px rgba(31, 33, 64, .3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role-ribbon.helper_only { background: var(--coral-dark); }
.game-card.top .role-ribbon { font-size: 14px; padding: 6px 13px; }
.sc.p2role { padding-left: 11px; }
.sc.p2role.no_controller { border-color: #1f2140; }
.sc.p2role.helper_only { border-color: var(--coral); }
.sc.p2role.helper_option { border-color: #9fd3cc; }

/* The co-op gaming dictionary (19/11/2026) : #/dictionary et lien discret « What do these labels mean? ». */
.dict { max-width: 860px; }
.dict-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.dict-nav a { background: #f3eadd; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.dict-nav a:hover { background: var(--ink); color: #fff; }
.dict-group { scroll-margin-top: 12px; }
.dict-group h2 { font-size: 26px; margin: 40px 0 4px; letter-spacing: -.01em; }
.dict-group > .sub { margin-bottom: 16px; }
.dict-term { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; margin: 0 0 14px; scroll-margin-top: 12px; }
.dict-term.on { outline: 3px solid var(--coral); }
.dict-term h3 { margin: 0 0 2px; font-size: 20px; line-height: 1.3; }
.dict-term h3 a { color: var(--ink); text-decoration: none; }
.dict-term p { margin: 6px 0; }
.dict-short { font-weight: 700; color: var(--ink-soft); }
.dict-gesture { background: #e5f3f1; border-radius: 12px; padding: 8px 12px; }
.dict-vs { background: var(--warn-bg); border-radius: 12px; padding: 8px 12px; }
.dict-games-lbl { font-weight: 800; font-size: 14px; color: var(--muted); margin: 14px 0 6px !important; }
.dict-games-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.dict-games-row .game-pick { font-size: 14px; line-height: 1.3; }
.dict-end { margin: 28px 0 0; font-weight: 700; }
.dict-link { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.dict-link a { color: var(--muted); }
.dict-link a:hover { color: var(--coral-dark); }
.dict-link.in-grid { text-align: right; margin: -6px 0 14px; }
.dict-link.in-steer { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .dict-link.in-grid { text-align: left; }
  .dict-term { padding: 16px; }
  .dict-games-row { grid-template-columns: 1fr; }
  .dict-group h2 { font-size: 23px; }
}
/* Fiche : le lien du dictionnaire juste sous les étiquettes (zone « dict » de la grille). */
.game-hero { grid-template-areas: "title title" "badges badges" "dict dict" "img about" "facts facts"; }
.game-hero .dict-link { grid-area: dict; margin: -10px 0 0; }
@media (max-width: 820px) { .game-hero { grid-template-areas: "title" "badges" "dict" "img" "about" "facts"; } .game-hero .dict-link { margin: -6px 0 0; } }
/* Ligne d'explication sous les réponses q0 et q9 (19/11/2026) */
.choice-desc { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-top: 3px; line-height: 1.35; }
.choice input:checked + span .choice-desc { color: inherit; opacity: .85; }
/* Fiche de jeu (19/11/2026, « fiche claire » choisie par Benjamin). fa-* : phrase why et pastilles ; fb-* : le reste. */
.fb-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.fa-answer { font-size: 21px; line-height: 1.45; margin: 0 0 16px; color: var(--ink); }
.fa-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.fa-pills .sc.stress { gap: 1px; }
.fb-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 460 / 215; object-fit: cover; }
.dict-link.in-fiche { margin: 4px 0 0; }
.fb-hero { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: start; margin: 28px 0 10px; }
.fb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 0; }
.fb-cards.roles { grid-template-columns: 1fr 1fr; }
.fb-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.fb-card.wide { grid-column: 1 / -1; }
.fb-card h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fb-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.fb-good { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.fb-good .wall { margin: 0 0 10px; }
.fb-about { margin: 22px 0 8px; color: var(--ink-soft); }
.fb-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: 14px; }
.fb-facts dt { display: inline; font-weight: 800; color: var(--ink-soft); }
.fb-facts dt::after { content: ": "; }
.fb-facts dd { display: inline; margin: 0; color: var(--muted); }
/* Jeux Switch 2 seulement (22/11/2026) : la ligne sous les plateformes, un ton plus foncé que les autres faits. */
.fb-facts .plat-note { display: block; margin-top: 2px; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 760px) {
  .fa-answer { font-size: 19px; }
}
.fa-pills .sc { font-size: 15px; line-height: 20px; padding: 5px 14px 5px 9px; gap: 6px; }
.fa-pills .sc img { width: 20px; height: 20px; }
/* Trame de la fiche (19/11/2026, Benjamin : « plus carré ») : trois colonnes de même largeur et un seul écart (--fg),
   du haut de page aux captures. Image = colonne 1, texte = colonnes 2 et 3 ; questions = 2 colonnes, verdict = 1. */
.fiche { --fg: 20px; }
.fiche .fb-hero { grid-template-columns: repeat(3, 1fr); gap: var(--fg); margin: 28px 0 0; }
.fiche .fb-hero > div { grid-column: 2 / 4; }
/* 23/11/2026 (Benjamin) : les pastilles (rôle, Couple Score avec ses flèches de vote, ambiance) sur une ligne sous
   l'image, sans libellé ni question écrite. */
.fiche .fb-hero { grid-template-areas: "img head head" "others others others"; row-gap: 18px; }
.fiche .fb-hero > .fb-head { grid-area: head; }
.fiche .fb-hero > .fb-others { grid-area: others; align-self: start; gap: 8px; }
.fiche .fb-hero .fb-head .fa-answer { margin-bottom: 0; }
.fiche .fb-hero h1 { margin-top: -4px; }
.fiche .fb-cards { gap: var(--fg); margin: 12px 0 0; }
.fiche .fb-card { display: flex; flex-direction: column; }
.fiche .verdict-zone { grid-template-columns: 2fr 1fr; gap: var(--fg); }
.fiche .fb-good { grid-template-columns: repeat(3, 1fr); gap: var(--fg); margin-top: 12px; }
.fiche .wall-panel { background: #fff6ec; border: 1.5px dashed #f2c9a8; box-shadow: none; }
.fiche .wall-panel h2 { color: var(--coral-dark); }
.fiche .wall-panel p { margin: 0; font-size: 15px; }
.fiche .wall-panel ul.tags { margin: 12px 0 0; font-size: 15px; }
.fiche .fb-about { margin: 28px 0 10px; }
.fiche .fb-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px var(--fg); }
.fiche .gallery { gap: var(--fg); margin-top: 22px; }
@media (max-width: 820px) {
  .fiche .fb-hero, .fiche .fb-cards, .fiche .fb-good, .fiche .fb-facts, .fiche .verdict-zone { grid-template-columns: 1fr; }
  .fiche .fb-hero > div { grid-column: auto; }
  .fiche .fb-hero { grid-template-areas: "img" "head" "others"; row-gap: 14px; }
  .fiche .fb-hero > .fb-others { gap: 6px; }
  .fiche .fb-hero > .fb-others .sc { font-size: 13px; line-height: 18px; padding: 4px 9px 4px 6px; gap: 4px; }
  .fiche .fb-hero > .fb-others .sc img { width: 16px; height: 16px; }
  .fiche .fb-hero > .fb-others .cpl-vote .cv-btn { padding: 0 8px; }
}
/* Titre « What it asks » centré entre le haut de page et les cartes (19/11/2026, Benjamin) : même espace dessus et dessous. */
.fiche .fb-hero .fa-pills { margin-bottom: 0; }
.fiche .fb-hero + .section-title { margin: 26px 0 0; line-height: 1.2; }
.fiche .fb-hero + .section-title + .fb-cards { margin-top: 22px; }
/* Image et cartes équilibrées (19/11/2026, Benjamin) : l'image prend la hauteur du texte d'en face, son bas tombe sur
   celui des pastilles, à la même distance des cartes que le texte. */
@media (min-width: 821px) {
  .fiche .fb-hero { align-items: stretch; }
  /* Recadrage plafonné à un format 1,9 (environ 5 % de chaque côté) pour ne pas couper les logos ; au-delà l'image reste
     calée en bas, sur la ligne des pastilles, pour garder le même espace jusqu'au titre de section. */
  /* 23/11/2026 (Benjamin) : le haut de l'image s'aligne sur le haut du titre d'en face (avant : calée en bas, son haut ne
     tombait sur rien depuis l'ajout du vote et de « Other couples »). */
  /* 23/11/2026 (Benjamin) : image toujours entière, à son format d'origine (2,14 ou 16/9), plus aucun recadrage. */
  .fiche .fb-img { align-self: start; margin-top: 6px; }
}
/* Image entière dans tous les formats (23/11/2026, Benjamin : le titre du jeu était parfois coupé). */
.fiche .fb-img > img { height: auto; aspect-ratio: auto; object-fit: contain; max-height: none; }
.fiche .fb-cards + .dict-link { margin-top: 14px; }
/* Jeux proposés après un jeu fiche (19/11/2026) : « Try it » mène à la fiche et à son propre petit jeu. */
.after-game .sub { margin: 0 0 10px; font-size: 15px; }
.after-game .game-pick .try { margin-left: auto; font-size: 14px; font-weight: 800; color: var(--coral-dark); white-space: nowrap; }
/* Signaler un problème sous le petit jeu (20/11/2026) : discret, en gris, déplié sur place. */
.rp-link { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.rp-link button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.rp-link button:hover { color: var(--coral-dark); }
.rp { margin: 10px 0 0; padding: 16px 18px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; max-width: 640px; }
.rp h3 { margin: 0 0 10px; font-size: 16px; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.rp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rp-chip span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; background: #fffdf8; cursor: pointer; }
.rp-chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.rp-chip input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.rp textarea { width: 100%; min-height: 80px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; font-size: 15px; resize: vertical; }
.rp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rp-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.rp-row .btn { padding: 9px 18px; font-size: 15px; }
.rp-note { font-size: 13px; color: var(--muted); }

/* Vote sur la fiche (21/11/2026 ; flèches accolées au Couple Score depuis le 23/11/2026) */
.cpl-group { display: inline-flex; align-items: stretch; flex-shrink: 0; }
.cpl-group > .sc.cpl-score { border-top-right-radius: 0; border-bottom-right-radius: 0; padding-right: 10px; }
.sc.cpl-score.none { color: var(--ink-soft); }
.cpl-vote { display: inline-flex; align-items: stretch; border: 1.5px solid #f6b7a6; border-left: 0; border-radius: 0 999px 999px 0; background: var(--paper); overflow: hidden; }
.cpl-vote .cv-btn { font: inherit; font-size: 13px; line-height: 1; padding: 0 10px; border: 0; border-left: 1px solid #f6d2c7; background: transparent; color: var(--ink-soft); cursor: pointer; }
.cpl-vote .cv-btn.down { padding-right: 12px; }
.cpl-vote .cv-btn.up:hover, .cpl-vote .cv-btn.up:focus-visible { background: #e3f4ee; color: #17694f; }
.cpl-vote .cv-btn.down:hover, .cpl-vote .cv-btn.down:focus-visible, .cpl-vote .cv-btn.down.on { background: #fde6e3; color: #b03a2e; }
.cpl-vote.done { align-items: center; padding: 0 12px 0 10px; border-left: 1px solid #f6d2c7; font-size: 13px; font-weight: 800; color: #17694f; white-space: nowrap; }
.cpl-vote .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cv-reasons { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.cv-reasons b { margin-right: 4px; }
.cv-reasons .cv-btn { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line, #e3d9c9); background: #fff; color: var(--ink); cursor: pointer; }
.cv-reasons .cv-btn:hover { border-color: var(--ink); }
.cv-reasons .cv-btn.ghost { background: transparent; color: var(--ink-soft); }

/* « How do you two want to play? » (22/11/2026, maquette A) : au-dessus de Your top 3, un choix ou aucun. */
.role-pick { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 20px 8px; margin: 14px 0 0; border: 2px solid var(--ink);
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
.role-pick-q { font-weight: 800; font-size: 18px; line-height: 1.3; margin: 0; }
.role-pick .choices { margin-top: 0; gap: 8px; }
.role-pick .choice span { padding: 6px 15px; font-size: 15px; }
.role-pick-note[hidden] { display: none; }
.role-pick-note { grid-column: 1 / -1; margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.steer:has(+ .role-pick) { margin-bottom: 0; }
.role-pick + .result-group, .role-pick + .closer + .result-group { margin-top: 14px; }
.top-group > p { margin-bottom: 10px; }
@media (max-width: 760px) {
  .role-pick { display: block; padding: 12px 14px 10px; }
  .role-pick-q { font-size: 17px; }
  .role-pick .choices { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .role-pick .choice span { display: flex; align-items: center; justify-content: center; height: 100%; text-align: center; border-radius: 14px; padding: 7px 3px; font-size: 13px; line-height: 1.25; }
  .role-pick-note { font-size: 13.5px; }
}

/* Top 3 compact (22/11/2026, maquette B) : trois cartes côte à côte, « See details » déplie la carte complète dessous.
   Téléphone (moins de 688 px, ou IS_PHONE : classe stack) : cartes empilées, petite jaquette à gauche, détail sous sa carte. */
.top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); outline: 3px solid var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.mini-card.open { outline-color: var(--coral); }
.mini-cover { margin: 12px 12px 0; }
.mini-cover img { width: 100%; aspect-ratio: 3.2 / 1; object-fit: cover; border-radius: 12px; display: block; }
.mini-head { padding: 8px 14px 0; }
.mini-head h3 { margin: 0; font-size: 19px; line-height: 1.25; display: flex; align-items: center; }
.mini-head h3 a { color: var(--ink); text-decoration: none; }
.mini-head h3 .rank { flex: none; width: 28px; height: 28px; }
.mini-head .verdict-pills { display: flex; margin: 6px 0 0; }
.mini-head .badge { padding: 4px 12px; font-size: 13.5px; }
.mini-head .pill { padding: 2px 10px 2px 7px; }
.mini-head .pill.mood { padding: 2px 6px; }
.mini-lines { list-style: none; padding: 0 14px; margin: 4px 0 0; font-size: 14px; line-height: 1.36; color: var(--ink-soft); }
.mini-lines li { padding: 3px 0; border-top: 1px solid var(--line); }
.mini-lines li:first-child { border-top: 0; }
.mini-l { font-weight: 800; color: var(--ink); }
.mini-l.who { color: var(--teal); }
.mini-l.why { color: var(--good); }
.mini-l.watch { color: var(--warn); }
.mini-more { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 2px 14px 9px; font: inherit; font-weight: 800; font-size: 15px; color: var(--coral-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.top3-detail { grid-column: 1 / -1; order: 10; margin-top: 2px; }
.top3-detail .game-card { outline-color: var(--coral); margin-bottom: 0; }
@media (max-width: 687px) {
  .top3 { grid-template-columns: 1fr; gap: 14px; }
  .top3 .mini-card { display: grid; grid-template-columns: 112px 1fr; align-content: start; order: calc(var(--i) * 2); }
  .top3 .mini-cover { grid-column: 1; margin: 12px 0 0 12px; align-self: start; }
  .top3 .mini-cover img { aspect-ratio: 16 / 9; border-radius: 10px; }
  .top3 .mini-cover .role-ribbon { display: none; }
  .top3 .mini-head { grid-column: 2; padding: 10px 12px 0; }
  .top3 .mini-head h3 { font-size: 17px; align-items: flex-start; }
  .top3 .mini-head h3 .rank { width: 24px; height: 24px; font-size: 14px; margin-right: 6px; }
  .top3 .mini-head .verdict-pills { margin-top: 5px; gap: 4px; }
  .top3 .mini-head .pill { font-size: 13px; }
  .top3 .mini-head .pill img { width: 17px; height: 17px; }
  .top3 .mini-head .badge { font-size: 13px; padding: 3px 9px; }
  .top3 .mini-lines { grid-column: 1 / -1; margin: 6px 0 0; font-size: 14px; }
  .top3 .mini-more { grid-column: 1 / -1; justify-self: start; font-size: 14.5px; }
  .top3 .top3-detail { order: calc(var(--i) * 2 + 1); }
}
.top3.stack { grid-template-columns: 1fr; gap: 14px; }
.top3.stack .mini-card { display: grid; grid-template-columns: 112px 1fr; align-content: start; order: calc(var(--i) * 2); }
.top3.stack .mini-cover { grid-column: 1; margin: 12px 0 0 12px; align-self: start; }
.top3.stack .mini-cover img { aspect-ratio: 16 / 9; border-radius: 10px; }
.top3.stack .mini-cover .role-ribbon { display: none; }
.top3.stack .mini-head { grid-column: 2; padding: 10px 12px 0; }
.top3.stack .mini-head h3 { font-size: 17px; align-items: flex-start; }
.top3.stack .mini-head h3 .rank { width: 24px; height: 24px; font-size: 14px; margin-right: 6px; }
.top3.stack .mini-head .verdict-pills { margin-top: 5px; gap: 4px; }
.top3.stack .mini-head .pill { font-size: 13px; }
.top3.stack .mini-head .pill img { width: 17px; height: 17px; }
.top3.stack .mini-head .badge { font-size: 13px; padding: 3px 9px; }
.top3.stack .mini-lines { grid-column: 1 / -1; margin: 6px 0 0; font-size: 14px; }
.top3.stack .mini-more { grid-column: 1 / -1; justify-self: start; font-size: 14.5px; }
.top3.stack .top3-detail { order: calc(var(--i) * 2 + 1); }

/* Langues (25/11/2026) : sélecteur dans le pied de page (CG.langSwitcherHTML, i18n.js) et bandeau qui propose la langue du
   navigateur sur les pages anglaises (.lang-offer). Discrets : petits, couleur du pied de page. */
.lang-row:empty { display: none; }
nav.lang-switch { display: block; width: auto; margin: 10px 0 0; padding: 0; overflow: visible; font-size: 13px; color: var(--muted); }
nav.lang-switch a { display: inline; padding: 0; border-radius: 0; background: none; font-size: inherit; font-weight: 600; white-space: nowrap; color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
nav.lang-switch a:hover { background: none; }
nav.lang-switch a:hover, nav.lang-switch a:focus-visible { border-bottom-color: currentColor; color: var(--ink); }
nav.lang-switch [aria-current] { font-weight: 800; color: var(--ink); }
.lang-offer { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px);
  padding: 8px 10px 8px 16px; border-radius: 999px; background: #1f2140; color: #fdf8f1; font-size: 14px; box-shadow: 0 6px 18px rgba(31, 33, 64, .25); }
.lang-offer a { color: #ffc857; font-weight: 800; text-decoration: none; }
.lang-offer a:hover { text-decoration: underline; }
.lang-offer button { border: 0; border-radius: 999px; padding: 5px 12px; background: rgba(253, 248, 241, .14); color: inherit; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.lang-offer button:hover { background: rgba(253, 248, 241, .26); }
@media (max-width: 480px) { .lang-offer { left: 12px; right: 12px; transform: none; border-radius: 16px; justify-content: space-between; } }
