/* QuizDown : charte originale, sombre, pensee pour le telephone d'abord */
:root {
  --bg: #14122b;
  --surface: #1f1c40;
  --surface-2: #2a2655;
  --text: #f3f1ff;
  --muted: #a9a4d6;
  --accent: #ffb43b;
  --accent-text: #2a1c00;
  --mint: #5ee6c0;
  --good: #35d08a;
  --bad: #ff5d73;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
}
#app { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.screen { flex: 1; padding: 20px 16px 24px; padding-top: max(20px, env(safe-area-inset-top)); }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: 1.35rem; margin-bottom: 12px; }
h3 { font-size: 1.1rem; margin: 22px 0 8px; }
a { color: var(--mint); }
.hint { color: var(--muted); font-size: 0.9rem; }
.noscript { padding: 20px; }

/* Marque */
.brand { font-size: 2.4rem; letter-spacing: -0.02em; margin: 8px 0 4px; font-weight: 800; }
.brand span { color: var(--accent); }
.brand span::after { content: "▾"; font-size: 0.7em; margin-left: 2px; }
.hero { text-align: center; margin: 12px 0 24px; }
.tagline { color: var(--muted); margin: 0; }

/* Formulaires */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 0.95rem; color: var(--muted); }
.field input {
  font: inherit; color: var(--text); background: var(--surface); border: 2px solid var(--surface-2);
  border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.field input:focus-visible { outline: none; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: center; margin: 4px 0; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.error { color: var(--bad); margin: 0; }
.notice { background: var(--surface); border-left: 4px solid var(--accent); padding: 10px 12px; border-radius: 8px; }
.links { text-align: center; margin-top: 20px; color: var(--muted); }

/* Boutons */
.btn {
  font: inherit; font-weight: 700; color: var(--text); background: var(--surface-2);
  border: 0; border-radius: 12px; padding: 12px 18px; min-height: 48px; cursor: pointer; width: 100%;
}
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.link { display: block; text-align: center; text-decoration: none; margin-bottom: 12px; }
.install-card { background: var(--surface); border-radius: var(--radius); padding: 4px 16px 10px; margin: 14px 0; }
.install-card h3 { margin-top: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible, .answer:focus-visible, .theme-card:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; padding: 12px; margin: 8px auto 0; display: block; cursor: pointer; }
.actions { display: grid; gap: 12px; margin-top: 20px; }

/* Code de recuperation */
.recovery-code {
  font: 800 2rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.12em; text-align: center;
  background: var(--surface); border: 2px dashed var(--accent); border-radius: var(--radius); padding: 18px 8px; user-select: all;
}
.recovery-code + .btn { margin: 12px 0 4px; }

/* Accueil */
.greeting { background: var(--surface); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.greeting h2 { margin-bottom: 4px; }
.hello { margin-bottom: 2px; }
.level { color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.bar { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; width: 100%; background: var(--mint); transform-origin: left center; border-radius: 99px; }
.theme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.theme-card {
  --g1: #6c5ce7; --g2: #a29bfe;
  display: flex; flex-direction: column; gap: 2px; padding: 0 0 10px; overflow: hidden;
  text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 2px solid var(--surface-2);
  border-radius: var(--radius); cursor: pointer; transition: transform .15s ease, border-color .15s ease;
}
.theme-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.theme-card:active { transform: scale(.97); }
.theme-art { position: relative; height: 84px; margin-bottom: 8px; overflow: hidden; background: linear-gradient(135deg, var(--g1), var(--g2)); display: grid; place-items: center; }
.art-main { font-size: 2.6rem; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); transition: transform .25s ease; }
.theme-card:hover .art-main { transform: scale(1.18) rotate(-6deg); }
.art-bg { position: absolute; font-size: 1.4rem; opacity: .35; animation: art-float 5s ease-in-out infinite; }
.art-bg.a1 { left: 10%; top: 14%; }
.art-bg.a2 { right: 12%; top: 22%; animation-delay: -1.7s; font-size: 1.8rem; }
.art-bg.a3 { right: 30%; bottom: 6%; animation-delay: -3.2s; }
@keyframes art-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .art-bg { animation: none; } .theme-card, .art-main { transition: none; } }
.theme-name { font-weight: 700; padding: 0 12px; }
.theme-meta { color: var(--muted); font-size: 0.8rem; padding: 0 12px; }
.tc-culture-generale { --g1: #f39c12; --g2: #f8c471; }
.tc-drapeaux-capitales { --g1: #1e88e5; --g2: #4dd0e1; }
.tc-harry-potter { --g1: #6a1b1b; --g2: #c9a227; }
.tc-jeux-video { --g1: #7b1fa2; --g2: #e040fb; }
.tc-the-last-of-us { --g1: #2e4a2e; --g2: #8a9a5b; }
.tc-foot { --g1: #2e7d32; --g2: #81c784; }
.tc-citations-repliques { --g1: #b71c1c; --g2: #ff8a65; }
.tc-stranger-things { --g1: #b3122a; --g2: #1a1a3a; }
.tc-biologie-corps-humain { --g1: #d81b60; --g2: #f48fb1; }
.tc-walking-dead { --g1: #4a4a3a; --g2: #9b2d20; }
.tc-blind-test { --g1: #00897b; --g2: #4db6ac; }
.tc-x0 { --g1: #5e35b1; --g2: #9575cd; } .tc-x1 { --g1: #00838f; --g2: #4dd0e1; }
.tc-x2 { --g1: #ef6c00; --g2: #ffb74d; } .tc-x3 { --g1: #ad1457; --g2: #f06292; }
@media (max-width: 340px) { .theme-grid { grid-template-columns: 1fr; } }

/* Partie */
.game .versus, .screen .versus { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.player { display: grid; gap: 2px; }
.player.them { text-align: right; }
.who { font-weight: 700; word-break: break-word; }
.tag { font-size: 0.7rem; font-style: normal; text-transform: uppercase; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--muted); vertical-align: middle; }
.stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 1px; }
.score { font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.timer { display: flex; align-items: center; gap: 10px; }
.timer .bar { flex: 1; height: 12px; }
.timer-fill { background: var(--mint); }
.timer-fill.low { background: var(--bad); }
.timer-text { width: 2ch; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.counter { color: var(--muted); font-size: 0.9rem; margin: 10px 0 6px; }
.question-box {
  min-height: 120px; display: grid; gap: 12px; align-content: start; justify-items: center; text-align: center; margin-bottom: 14px;
  transition: min-height 0.6s ease;
}
.question-text { font-size: 1.3rem; line-height: 1.3; margin: 0; transition: font-size 0.6s ease; }
.flag { width: 220px; max-width: 70%; height: auto; border-radius: 6px; box-shadow: 0 0 0 2px var(--surface-2); background: var(--surface); transition: width 0.6s ease; }
/* Phase de lecture : la question est affichee en grand, seule, avant l'arrivee des reponses */
.question-box.intro { min-height: 52vh; align-content: center; }
.question-box.intro .question-text { font-size: 2rem; }
.question-box.intro .flag { width: 340px; }
.get-ready { min-height: 40vh; display: grid; place-content: center; justify-items: center; gap: 10px; }
.get-ready-title { font-size: 1.3rem; font-weight: 700; margin: 0; }
.answer.enter { opacity: 0; animation: answer-in 0.35s ease forwards; }
@keyframes answer-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.answers { display: grid; gap: 10px; }
.answer {
  font: inherit; font-weight: 600; text-align: left; color: var(--text); background: var(--surface);
  border: 2px solid var(--surface-2); border-radius: 12px; padding: 12px 14px; min-height: 56px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.answer:not(:disabled):hover { border-color: var(--accent); }
.answer:disabled { cursor: default; }
.answer.chosen { border-color: var(--accent); background: var(--surface-2); }
.answer.correct { border-color: var(--good); background: #153d34; }
.answer.wrong { border-color: var(--bad); background: #4a1d2d; }
.opp-pick { font-size: 0.75rem; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 99px; flex: none; }
.note { min-height: 1.5em; color: var(--muted); text-align: center; margin: 12px 0 0; }
.banner { background: var(--bad); color: #fff; padding: 8px 12px; border-radius: 8px; text-align: center; }
.center-box { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.spinner { width: 36px; height: 36px; border: 4px solid var(--surface-2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Resultat */
.result { text-align: center; margin: 24px 0; }
.result h2 { font-size: 2rem; margin-bottom: 4px; }
.result.win h2 { color: var(--good); }
.result.loss h2 { color: var(--bad); }
.result.draw h2 { color: var(--accent); }
.final-score { font-size: 1.6rem; margin-bottom: 4px; }
.final-score strong { font-size: 3rem; }
.xp-box { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; text-align: center; }
.xp-box p { margin-bottom: 4px; }
.levelup { color: var(--accent); font-weight: 700; }

/* Signalement */
.report-box { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; margin-top: 12px; }
.report-box[hidden] { display: none; }
.field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 2px solid var(--surface-2);
  border-radius: 12px; padding: 10px 12px; width: 100%;
}
.field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); }
.reasons { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.reasons legend { color: var(--muted); font-size: 0.95rem; margin-bottom: 4px; padding: 0; }

/* Reglages, pages legales */
.panel { background: var(--surface); border-radius: var(--radius); padding: 0 16px; margin: 10px 0; }
.panel summary { padding: 14px 0; font-weight: 700; cursor: pointer; }
.panel[open] summary { border-bottom: 1px solid var(--surface-2); margin-bottom: 12px; }
.panel .form { padding-bottom: 16px; }
.btn.danger { background: var(--bad); color: #fff; }
.danger-zone { border: 1px solid var(--bad); }
.legal-inline a { margin-right: 4px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 10px 16px 14px; font-size: 0.8rem; }
.legal-links a { color: var(--muted); }
.legal-list { padding-left: 1.2em; }
.legal-list li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 8px 0 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; font-size: 0.9rem; }

/* Amis */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel-box { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 14px; }
.panel-box.highlight { border: 2px solid var(--accent); }
.panel-box h3 { margin-top: 0; }
.panel-box input[type="text"], .inline-form input {
  font: inherit; color: var(--text); background: var(--bg); border: 2px solid var(--surface-2);
  border-radius: 12px; padding: 10px 12px; min-height: 44px; width: 100%;
}
.panel-box input:focus-visible { outline: none; border-color: var(--accent); }
.inline-form { display: flex; gap: 8px; }
.btn.small { width: auto; min-height: 40px; padding: 8px 14px; font-size: 0.95rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.list { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--surface-2); }
.list-row:first-child { border-top: 0; }
.row-main { flex: 1; display: grid; min-width: 0; }
.row-main strong { overflow-wrap: anywhere; }
.row-main small { color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.on { background: var(--good); box-shadow: 0 0 0 3px #153d34; }
.dot.off { background: var(--surface-2); }
.row-menu { position: relative; }
.row-menu summary { list-style: none; cursor: pointer; padding: 6px 12px; font-size: 1.4rem; line-height: 1; border-radius: 10px; color: var(--muted); }
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu[open] summary { background: var(--surface-2); }
.row-menu-items { position: absolute; right: 0; top: 100%; z-index: 5; display: grid; gap: 6px; padding: 8px; background: var(--surface-2); border-radius: 12px; min-width: 190px; box-shadow: 0 8px 24px #0008; }
.row-menu-items .btn { width: 100%; text-align: left; background: var(--bg); }

/* Duel : bannieres de defi et messages */
#overlay { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; gap: 8px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); max-width: 560px; margin: 0 auto; pointer-events: none; }
#overlay > * { pointer-events: auto; }
.challenge-card { background: var(--surface-2); border: 2px solid var(--accent); border-radius: var(--radius); padding: 12px 14px; box-shadow: 0 10px 30px #000a; animation: card-in 0.25s ease; }
.challenge-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 2px; }
.challenge-text { margin: 0 0 6px; color: var(--muted); }
.card-count { font-variant-numeric: tabular-nums; }
.toast { margin: 0; background: var(--surface-2); border-left: 4px solid var(--mint); padding: 10px 14px; border-radius: 10px; box-shadow: 0 6px 20px #0008; animation: card-in 0.25s ease; }
.error-toast { border-left-color: var(--bad); }
@keyframes card-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.banner.warn { background: var(--accent); color: var(--accent-text); }
.duel-cta { margin: 0 0 14px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.cta-row .btn.link { margin: 0; display: grid; place-items: center; text-align: center; }
.field select { min-height: 44px; }

/* Administration */
.tabbar a { position: relative; }
.admin-badge, .badge { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 0.72rem; font-weight: 800; line-height: 1; }
.admin-badge[hidden] { display: none; }
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.admin-tabs a { flex: none; padding: 8px 12px; border-radius: 10px; background: var(--surface); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; border: 2px solid transparent; }
.admin-tabs a.active { color: var(--accent); border-color: var(--accent); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.stat-card { display: grid; gap: 2px; padding: 14px; border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); border: 2px solid transparent; }
.stat-card strong { font-size: 1.8rem; line-height: 1; }
.stat-card span { color: var(--muted); font-size: 0.85rem; }
.stat-card.hot { border-color: var(--bad); }
.stat-card.hot strong { color: var(--bad); }
.stack-row { display: grid; gap: 10px; }
.row-line { display: flex; align-items: center; gap: 12px; }
.inline-form.stack { display: grid; gap: 8px; }
.inline-form.stack input { width: 100%; }
.temp-box { background: #153d34; border: 2px solid var(--good); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; }
.temp-box h3 { margin-top: 0; }
.temp-password { font: 800 1.6rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.08em; text-align: center; background: var(--bg); border-radius: 10px; padding: 12px 6px; user-select: all; overflow-wrap: anywhere; }
.row-main strong .tag { margin-left: 6px; }
.fiche { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.fiche-grid { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 10px; font-size: 0.92rem; }
.fiche-grid dt { color: var(--muted); }
.fiche-grid dd { margin: 0; overflow-wrap: anywhere; }
.row-menu-items .btn.small { width: 100%; text-align: left; }
.tag.bad { background: var(--bad); color: #fff; }
.tag.good { background: var(--good); color: #052018; }
.tag.warn { background: var(--accent); color: var(--accent-text); }
.btn.small.danger { background: var(--bad); color: #fff; }
.qcard { background: var(--surface); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; border-left: 4px solid var(--mint); }
.qcard.disabled { border-left-color: var(--accent); opacity: 0.85; }
.qcard.deleted { border-left-color: var(--bad); opacity: 0.7; }
.qtext { font-weight: 700; margin: 0 0 6px; }
.qanswers { margin: 0 0 6px; padding-left: 1.4em; }
.qanswers li.right { color: var(--good); font-weight: 700; }
.qanswers li.right::marker { content: "✔ "; }
.qform { display: grid; gap: 10px; }
.qform input[type="text"], .qform select, .filters input, .filters select, .panel-box input[type="text"] {
  font: inherit; color: var(--text); background: var(--bg); border: 2px solid var(--surface-2); border-radius: 12px; padding: 9px 12px; min-height: 44px; width: 100%;
}
.answer-edit { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.answer-edit input[type="radio"] { width: 22px; height: 22px; accent-color: var(--good); flex: none; }
.filters { display: grid; gap: 8px; }
.pager { align-items: center; justify-content: space-between; }
.help-box { margin-top: 16px; }
.hint.block { display: block; }

/* Classement */
.button-row .seg { background: var(--surface); border: 2px solid var(--surface-2); }
.button-row .seg[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.board th[scope="row"], .board td { text-align: left; }
.board td:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.board .rank { font-weight: 800; width: 2.2em; text-align: center; }
.board .rank-1 { color: #ffd45e; }
.board .rank-2 { color: #d6dbe6; }
.board .rank-3 { color: #e0a070; }
.you-row { background: #2a2655; }
.you-tag { margin-left: 8px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; background: var(--accent); color: var(--accent-text); padding: 1px 6px; border-radius: 6px; }
.links.tight { margin: -6px 0 6px; text-align: left; }

/* Profil et aide */
.stats { width: 100%; border-collapse: collapse; }
.stats th, .stats td { padding: 10px 6px; border-bottom: 1px solid var(--surface-2); text-align: right; }
.stats th[scope="row"], .stats thead th:first-child { text-align: left; }
.stats thead th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.help { padding-left: 1.2em; }
.help li { margin-bottom: 6px; }

/* Barre de navigation */
.tabbar {
  position: sticky; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  background: var(--surface); border-top: 1px solid var(--surface-2); padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { text-align: center; padding: 14px 4px; color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.tabbar a.active { color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 3s; }
  .question-box, .question-text, .flag { transition: none; }
  .answer.enter { animation-duration: 0.01s; animation-delay: 0s !important; }
}

/* Recherche de theme, ecran d'un theme */
#theme-search { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 2px solid var(--surface-2); border-radius: var(--radius); padding: 12px 14px; margin: 4px 0 14px; }
#theme-search:focus-visible { outline: none; border-color: var(--accent); }
.theme-hero { display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.theme-hero .theme-art { height: 120px; margin: 0; }
.theme-hero .art-main { font-size: 4rem; }
.theme-hero h2 { margin: 0; padding: 8px 14px 12px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.choice-list { display: grid; gap: 10px; }
.choice-list .hint { margin: -4px 2px 4px; }
.theme-hero .theme-art { background: none; }

/* Photos de profil */
.avatar { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--surface-2); color: var(--accent); font-weight: 800; }
.avatar.s { width: 36px; height: 36px; font-size: .95rem; }
.avatar.m { width: 48px; height: 48px; font-size: 1.1rem; }
.avatar.l { width: 72px; height: 72px; font-size: 1.8rem; }
.avatar.xl { width: 88px; height: 88px; font-size: 2.2rem; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hello-row { display: flex; align-items: center; gap: 10px; }
.profile-head { display: flex; align-items: center; gap: 16px; }
.profile-head h2 { margin: 0; }
.photo-picker { display: flex; align-items: center; gap: 14px; margin: 8px 0; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
label.btn { position: relative; cursor: pointer; }
label.btn:focus-within { outline: 3px solid var(--mint); outline-offset: 2px; }

/* Suggestions */
.suggestion-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0; }
.panel-box.hot { border: 2px solid var(--accent); }
.tc-voitures { --g1: #37474f; --g2: #e53935; }
.tc-histoire { --g1: #6d4c41; --g2: #d4a24c; }
.tc-geographie { --g1: #00695c; --g2: #4fc3f7; }
.tc-sciences { --g1: #1565c0; --g2: #7e57c2; }
.tc-astronomie { --g1: #0d1b4c; --g2: #6a3fb5; }
.tc-naruto { --g1: #e65100; --g2: #ffb300; }
.flag.map { padding: 8px; box-sizing: border-box; width: 240px; }
.question-box.intro .flag.map { width: 300px; }
.tc-contours-pays { --g1: #2e7d32; --g2: #ffb703; }
