/* ===========================================================
   PAGE PAR JEU (/xx/game/{slug}) — 2026-11-30
   Isolé dans .tc-game (mêmes couleurs que trainerscheats.css)
   =========================================================== */
.tc-game {
	--g-primary: #4c7ff0; --g-text: #2d3748; --g-muted: #6c757d; --g-border: #dee2e6;
	--g-bg: #ffffff; --g-bg-alt: #f8f9fa; --g-radius: 12px;
	color: var(--g-text);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	margin: 0 auto 24px; max-width: 1100px;
}
.tc-game .tc-game-summary {
	display: flex; gap: 20px; align-items: flex-start;
	background: var(--g-bg); border: 1px solid var(--g-border); border-radius: var(--g-radius);
	padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.08); margin-bottom: 22px;
}
.tc-game .tc-game-cover { width: 160px; height: auto; border-radius: 8px; flex-shrink: 0; }
.tc-game .tc-game-lead { margin: 0 0 8px; line-height: 1.65; }
.tc-game .tc-game-links { margin: 0; }
.tc-game .tc-game-h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 12px; }
.tc-game .tc-game-table-wrap { overflow-x: auto; background: var(--g-bg); border: 1px solid var(--g-border); border-radius: var(--g-radius); }
.tc-game .tc-game-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tc-game .tc-game-table th { background: var(--g-bg-alt); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--g-border); white-space: nowrap; }
.tc-game .tc-game-table td { padding: 8px 12px; border-bottom: 1px solid var(--g-border); vertical-align: middle; }
.tc-game .tc-game-table tr:last-child td { border-bottom: 0; }
.tc-game .tc-game-table a { color: var(--g-primary); text-decoration: none; font-weight: 600; }
.tc-game .tc-game-table a:hover { text-decoration: underline; }
.tc-game .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tc-game .tc-game-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #e8f0ff; color: #1c2e66; white-space: nowrap; }
.tc-game .tc-game-badge.t-cheats { background: #d1ecf1; color: #0c5460; }
.tc-game .tc-game-badge.t-save   { background: #d4edda; color: #155724; }
.tc-game .tc-game-badge.t-editor { background: #fff3e0; color: #8a4b00; }
.tc-game .tc-game-badge.t-guide  { background: #f1e8ff; color: #4b2a85; }
.tc-game .tc-game-badge.t-other  { background: #eceff1; color: #455a64; }
.tc-game .tc-game-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 18px 0 0; }
.tc-game .tc-game-pages a, .tc-game .tc-game-pages span {
	min-width: 36px; padding: 6px 10px; text-align: center; border: 1px solid var(--g-border); border-radius: 8px; text-decoration: none; color: var(--g-text); background: var(--g-bg);
}
.tc-game .tc-game-pages span[aria-current] { background: var(--g-primary); border-color: var(--g-primary); color: #fff; font-weight: 700; }

/* Lien « Tous les fichiers de ce jeu » sur les fiches (download.php) */
.tc-game-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
	background: #e8f0ff; color: #1c2e66; font-weight: 600; text-decoration: none; font-size: .92rem; }
.tc-game-link:hover { background: #d6e4ff; color: #1c2e66; }

@media (max-width: 767px) {
	.tc-game .tc-game-summary { flex-direction: column; align-items: center; text-align: center; }
	.tc-game .tc-game-cover { width: 140px; }
	.tc-game .tc-game-table th:nth-child(3), .tc-game .tc-game-table td:nth-child(3),
	.tc-game .tc-game-table th:nth-child(6), .tc-game .tc-game-table td:nth-child(6) { display: none; }
}
