/*
Theme Name: GameKeyCard Theme
Theme URI: https://gamekeycard.fr
Description: Site de News et Tests exclusifs Nintendo Switch & Switch 2 - Système d'avis communautaire avec Mood Tags, Spoiler Guard et Temps de jeu
Version: 4.8
Author: GameKeyCard
Text Domain: gamekeycard
*/

/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
  /* Couleurs Nintendo */
  --nintendo-red: #ff0000;
  --nintendo-red-dark: #ff0000;
  --nintendo-red-light: #ff3333;
  --white: #ffffff;
  --off-white: #fafafa;
  --gray-light: #f5f5f5;
  --gray-border: #e0e0e0;
  --gray-text: #666666;
  --black: #1a1a1a;

  /* Étoiles */
  --star-gold: #ffa41c;
  --star-empty: #e0e0e0;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(255, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(255, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(255, 0, 0, 0.15);

  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ============== DARK MODE ============== */
[data-theme="dark"] {
  --white: #121212;
  --off-white: #1a1a1a;
  --gray-light: #1e1e1e;
  --gray-border: #2e2e2e;
  --gray-text: #a0a0a0;
  --black: #e8e8e8;
  --star-empty: #3a3a3a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] body {
  color: #e0e0e0;
}

[data-theme="dark"] img {
  opacity: 0.92;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #1e1e1e;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #666;
}

/* Dark mode — composants radar & filtres */
[data-theme="dark"] .tester-rating-box--radar {
  background: #1a1a1a;
  border-color: var(--nintendo-red);
}

[data-theme="dark"] .similar-card {
  background: #1a1a1a;
  border-color: #2e2e2e;
}

[data-theme="dark"] .similar-card:hover {
  border-color: var(--nintendo-red);
}

[data-theme="dark"] .similar-card-body h3 {
  color: #e0e0e0;
}

[data-theme="dark"] .similar-card-no-thumb {
  background: #1e1e1e;
}

[data-theme="dark"] .review-criteria-mini {
  background: #1e1e1e;
}

[data-theme="dark"] .archive-filters {
  background: #1a1a1a;
  border-color: #2e2e2e;
}

[data-theme="dark"] .criteria-range {
  background: #3a3a3a;
}

/* ============== DARK MODE — CALENDRIER ============== */
[data-theme="dark"] .cal-next-release {
  background: #1a1a1a;
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .cal-next-title {
  color: #e8e8e8;
}
[data-theme="dark"] .cal-cd-unit {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
[data-theme="dark"] .cal-genre-tag {
  background: #1e1e1e;
  color: #a0a0a0;
  border-color: #2e2e2e;
}
[data-theme="dark"] .cal-stat {
  background: #1a1a1a;
  border-color: #2e2e2e;
}
[data-theme="dark"] .cal-filter-btn {
  background: #1a1a1a;
  border-color: #2e2e2e;
  color: #a0a0a0;
}
[data-theme="dark"] .cal-filter-btn:hover {
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}
[data-theme="dark"] .cal-month-title {
  color: #e8e8e8;
}
[data-theme="dark"] .cal-game-card {
  background: #1a1a1a;
  border-color: #2e2e2e;
}
[data-theme="dark"] .cal-game-card:hover {
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .cal-game-name {
  color: #e8e8e8;
}
[data-theme="dark"] .cal-game-placeholder {
  background: #1e1e1e;
}
[data-theme="dark"] .cal-section-title {
  color: #e8e8e8;
}
[data-theme="dark"] .cal-recent-card {
  background: #1a1a1a;
  border-color: #2e2e2e;
  color: #e0e0e0;
}
[data-theme="dark"] .cal-recent-card:hover {
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .cal-recent-placeholder {
  background: #1e1e1e;
}
[data-theme="dark"] .cal-recent-info strong {
  color: #e0e0e0;
}
[data-theme="dark"] .cal-tag-switch2 {
  background: #2e2e2e;
}

/* ============== DARK MODE — PROFIL & BADGES ============== */
[data-theme="dark"] .profile-header {
  background: #1a1a1a;
  border-color: #2e2e2e;
}
[data-theme="dark"] .profile-name {
  color: #e8e8e8;
}
[data-theme="dark"] .profile-role {
  color: #a0a0a0;
}
[data-theme="dark"] .profile-bio {
  color: #c0c0c0;
}
[data-theme="dark"] .profile-socials .profile-social-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ccc;
}
[data-theme="dark"] a.profile-social-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
[data-theme="dark"] .profile-member-since {
  color: #a0a0a0;
}
[data-theme="dark"] .stat-box {
  background: #1a1a1a;
}
[data-theme="dark"] .stat-box .stat-value,
[data-theme="dark"] .stat-box .stat-number {
  color: var(--nintendo-red);
}
[data-theme="dark"] .profile-badges-section {
  background: #1a1a1a;
  border-color: #2e2e2e;
}
[data-theme="dark"] .badge-rank-main {
  background: #1e1e1e;
  border-left-color: var(--nintendo-red);
}
[data-theme="dark"] .badge-progress-bar {
  background: #2e2e2e;
}
[data-theme="dark"] .badge-rank-item:hover {
  background: #1e1e1e;
}
[data-theme="dark"] .badge-rank-item.current {
  background: rgba(255, 0, 0, 0.1);
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .badge-rank-item-name {
  color: #e0e0e0;
}
[data-theme="dark"] .profile-tabs {
  border-color: #2e2e2e;
}
[data-theme="dark"] .tab-btn {
  color: #a0a0a0;
  background: transparent;
}
[data-theme="dark"] .tab-btn.active {
  color: var(--nintendo-red);
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .review-item {
  background: #1a1a1a;
  border-color: #2e2e2e;
}
[data-theme="dark"] .review-post-title {
  color: #e0e0e0;
}
[data-theme="dark"] .review-comment {
  color: #c0c0c0;
}
[data-theme="dark"] .review-meta {
  color: #a0a0a0;
}
[data-theme="dark"] .review-meta time {
  color: #888;
}
[data-theme="dark"] .no-content {
  color: #888;
}

/* ============== DARK MODE — MODAL ============== */
[data-theme="dark"] .gkc-modal {
  background: #1a1a1a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .gkc-modal-title {
  color: #e8e8e8;
}
[data-theme="dark"] .gkc-modal-message {
  color: #a0a0a0;
}
[data-theme="dark"] .gkc-modal-cancel {
  background: #2e2e2e;
  color: #c0c0c0;
}
[data-theme="dark"] .gkc-modal-cancel:hover {
  background: #3a3a3a;
  color: #e0e0e0;
}

/* ============== DARK MODE — ÉDITEUR / RÉDACTION ============== */
[data-theme="dark"] .type-card:hover {
  background: rgba(255, 0, 0, 0.1);
}
[data-theme="dark"] .editor-info-box {
  background: #1e1e1e;
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .editor-info-title {
  color: var(--nintendo-red);
}
[data-theme="dark"] .editor-toolbar {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
[data-theme="dark"] .toolbar-btn {
  color: #c0c0c0;
}
[data-theme="dark"] .toolbar-btn:hover {
  background: #2e2e2e;
  color: var(--nintendo-red);
}
[data-theme="dark"] .toolbar-btn:active {
  background: rgba(255, 0, 0, 0.1);
}
[data-theme="dark"] .featured-dropzone {
  background: #1e1e1e;
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .featured-dropzone:hover {
  background: rgba(255, 0, 0, 0.1);
}
[data-theme="dark"] .featured-dropzone-content p {
  color: #c0c0c0;
}

/* ============== DARK MODE — EDITOR MODALS (IMAGE/VIDEO) ============== */
[data-theme="dark"] .editor-modal-backdrop {
  background: rgba(0, 0, 0, 0.75);
}
[data-theme="dark"] .editor-modal-content {
  background: #1a1a1a;
  border-color: var(--nintendo-red);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .editor-modal-header {
  border-bottom-color: #2e2e2e;
}
[data-theme="dark"] .editor-modal-footer {
  background: #151515;
  border-top-color: #2e2e2e;
}

/* Dark — Media Tabs */
[data-theme="dark"] .media-tabs {
  border-color: #2e2e2e;
}
[data-theme="dark"] .media-tab {
  background: #1e1e1e;
  color: #888;
}
[data-theme="dark"] .media-tab:not(:last-child) {
  border-right-color: #2e2e2e;
}
[data-theme="dark"] .media-tab.active {
  background: #1a1a1a;
  color: var(--nintendo-red);
}
[data-theme="dark"] .media-tab:hover:not(.active) {
  background: #252525;
  color: #ccc;
}

/* Dark — Dropzone */
[data-theme="dark"] .media-dropzone {
  border-color: #3a3a3a;
  background: #1e1e1e;
}
[data-theme="dark"] .media-dropzone:hover {
  border-color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.05);
}
[data-theme="dark"] .media-dropzone.dragover {
  border-color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.08);
}
[data-theme="dark"] .dropzone-icon-wrap {
  background: rgba(255, 0, 0, 0.12);
}
[data-theme="dark"] .dropzone-title {
  color: #e8e8e8;
}
[data-theme="dark"] .dropzone-subtitle {
  color: #888;
}
[data-theme="dark"] .dropzone-hint {
  color: #666;
}
[data-theme="dark"] .progress-bar {
  background: #2e2e2e;
}

/* Dark — Preview Card */
[data-theme="dark"] .media-preview-card {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
[data-theme="dark"] .media-preview-img-wrap {
  border-color: #3a3a3a;
}
[data-theme="dark"] .media-preview-filename {
  color: #e8e8e8;
}
[data-theme="dark"] .media-preview-dimensions {
  color: #888;
}

/* Dark — URL Tab */
[data-theme="dark"] .media-url-preview img {
  border-color: #3a3a3a;
}

/* Dark — Options Grid & Size/Align */
[data-theme="dark"] .size-box,
[data-theme="dark"] .align-box {
  border-color: #2e2e2e;
  color: #888;
}
[data-theme="dark"] .size-box:hover,
[data-theme="dark"] .align-box:hover {
  border-color: rgba(255, 0, 0, 0.3);
  background: rgba(255, 0, 0, 0.05);
}
[data-theme="dark"] .size-option input:checked + .size-box,
[data-theme="dark"] .align-option input:checked + .align-box {
  border-color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.1);
  color: var(--nintendo-red);
}

/* Dark — Video URL Input */
[data-theme="dark"] .video-url-input-wrap {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
[data-theme="dark"] .video-url-input-wrap:focus-within {
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .video-url-input-wrap input {
  color: #e8e8e8;
}
[data-theme="dark"] .video-url-input-wrap input::placeholder {
  color: #555;
}
[data-theme="dark"] .video-url-icon {
  background: rgba(255, 0, 0, 0.15);
}

/* Dark — Video Preview Card */
[data-theme="dark"] .video-preview-card {
  border-color: #2e2e2e;
}
[data-theme="dark"] .video-preview-meta {
  background: #1e1e1e;
  color: #888;
}

/* Dark — Text Fields in modals */
[data-theme="dark"] .media-text-fields input,
[data-theme="dark"] .media-text-fields textarea,
[data-theme="dark"] .editor-modal-body input[type="text"],
[data-theme="dark"] .editor-modal-body input[type="url"],
[data-theme="dark"] .editor-modal-body textarea {
  background: #1e1e1e;
  border-color: #2e2e2e;
  color: #e8e8e8;
}
[data-theme="dark"] .media-text-fields input:focus,
[data-theme="dark"] .media-text-fields textarea:focus,
[data-theme="dark"] .editor-modal-body input:focus,
[data-theme="dark"] .editor-modal-body textarea:focus {
  border-color: var(--nintendo-red);
}

/* ============== DARK MODE — HYPE-O-MÈTRE ============== */
[data-theme="dark"] .hype-vote-btn {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
[data-theme="dark"] .hype-vote-btn:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .hype-vote-btn.active {
  background: rgba(255, 0, 0, 0.15);
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .hype-bar-mini .hype-bar-track {
  background: #2e2e2e;
}

/* ============== DARK MODE — COMPARATEUR VS ============== */
[data-theme="dark"] .vs-card {
  border-color: #2e2e2e;
}
[data-theme="dark"] .vs-card:hover {
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .vs-card-title a,
[data-theme="dark"] .vs-card-title {
  color: #e0e0e0;
}
[data-theme="dark"] .vs-comparison-section {
  background: var(--bg-dark);
  border-color: #2e2e2e;
}
[data-theme="dark"] .vs-section-header {
  border-color: #2e2e2e;
}
[data-theme="dark"] .vs-section-title {
  color: #e0e0e0;
}
[data-theme="dark"] .vs-bar-label {
  color: #999;
}
[data-theme="dark"] .vs-bar-track {
  background: #2e2e2e;
}
[data-theme="dark"] .vs-bar-track {
  background: #2e2e2e;
}
[data-theme="dark"] .vs-bar-val {
  color: #999;
}
[data-theme="dark"] .vs-scores-row {
  background: #2a1a10;
  border-color: #4a2a10;
}
[data-theme="dark"] .vs-scores-label {
  color: #ff8844;
}
[data-theme="dark"] .vs-score-blue,
[data-theme="dark"] .vs-score-global {
  background: #1e1e1e;
  border-color: #4a2a10;
  color: #ff8844;
}
[data-theme="dark"] .vs-score-blue.vs-score-blue-best,
[data-theme="dark"] .vs-score-global.vs-score-global-best {
  background: linear-gradient(135deg, #e60012, #ff0000);
  border-color: #e60012;
  color: #fff;
}
[data-theme="dark"] .vs-stat-text-val {
  background: #2e2e2e;
  color: #e0e0e0;
}
[data-theme="dark"] .vs-score-card {
  background: #2e2e2e;
}
[data-theme="dark"] .vs-score-card.vs-score-winner {
  background: rgba(255, 0, 0, 0.1);
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .vs-score-num {
  color: #e0e0e0;
}
[data-theme="dark"] .vs-verdict {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), var(--bg-dark));
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .vs-verdict-draw {
  background: #1e1e1e;
  border-color: #444;
}
/* Dark mode — nouveaux widgets comparateur */
[data-theme="dark"] .vs-widget-row {
  border-color: #2e2e2e;
}
[data-theme="dark"] .vs-widget-header {
  color: #e0e0e0;
}
[data-theme="dark"] .vs-fc-bar-track {
  background: #2e2e2e;
}
[data-theme="dark"] .vs-diff-marker {
  background: #1e1e1e;
  border-color: #ccc;
}
[data-theme="dark"] .game-search-input {
  border-color: #2e2e2e;
}
[data-theme="dark"] .game-search-results {
  border-color: #2e2e2e;
}
[data-theme="dark"] .search-result-item {
  border-color: #1e1e1e;
}
[data-theme="dark"] .search-result-item:hover {
  background: rgba(255, 0, 0, 0.1);
}
[data-theme="dark"] .search-result-title {
  color: #e0e0e0;
}
[data-theme="dark"] .search-results-header {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
[data-theme="dark"] .search-result-console {
  background: #2e2e2e;
}

/* ============== DARK MODE — BREADCRUMBS ============== */
[data-theme="dark"] .breadcrumb-nav {
  background: #1a1a1a;
  border-color: #2e2e2e;
}

/* ============== DARK MODE — CONTACT ============== */
[data-theme="dark"] .contact-card--form {
  border-color: #2e2e2e;
}

/* ============== DARK MODE — SPOILER GUARD ============== */
[data-theme="dark"] .spoiler-guard {
  background: #1e1e1e;
  border-color: #2e2e2e;
}

/* ============== DARK MODE — FICHE DU JEU (single test) ============== */
[data-theme="dark"] .game-info-grid {
  background: #1a1a1a;
}
[data-theme="dark"] .game-info-item {
  border-color: #2e2e2e;
}
[data-theme="dark"] .game-info-label {
  color: #888;
}
[data-theme="dark"] .game-info-value {
  color: #e0e0e0;
}
[data-theme="dark"] .game-info-badge {
  background: rgba(255, 0, 0, 0.12);
  border-color: rgba(255, 0, 0, 0.3);
}

/* ============== DARK MODE — DIVERS / OVERRIDES GLOBAUX ============== */
[data-theme="dark"] .review-card {
  background: #1a1a1a;
  border-color: #2e2e2e;
}
[data-theme="dark"] .review-card:hover {
  border-color: var(--nintendo-red);
}
[data-theme="dark"]
  a:not(.btn):not(.user-badge):not(.site-logo):not(.share-btn):not(
    .mobile-user-profile
  ) {
  color: #e0e0e0;
}
[data-theme="dark"]
  a:not(.btn):not(.user-badge):not(.site-logo):not(.share-btn):not(
    .mobile-user-profile
  ):hover {
  color: var(--nintendo-red);
}
[data-theme="dark"] .btn-secondary {
  background: #1e1e1e;
  border-color: #2e2e2e;
  color: #e0e0e0;
}
[data-theme="dark"] .btn-secondary:hover {
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}
[data-theme="dark"] .btn-delete-review-profile,
[data-theme="dark"] .btn-delete-comment-profile {
  background: rgba(211, 47, 47, 0.15);
  border-color: #ef5350;
  color: #ef5350;
}
[data-theme="dark"] .btn-delete-review-profile:hover,
[data-theme="dark"] .btn-delete-comment-profile:hover {
  background: #d32f2f;
  color: var(--nintendo-red);
}

/* ============== DARK MODE — REVIEW CARDS ============== */
[data-theme="dark"] .btn-delete-review {
  background: rgba(211, 47, 47, 0.15);
  border-color: #ef5350;
  color: #ef5350;
}
[data-theme="dark"] .btn-delete-review:hover {
  background: #d32f2f;
  color: #ffffff;
}
[data-theme="dark"] .report-review {
  background: rgba(255, 111, 0, 0.12);
  border-color: #ff9100;
  color: #ff9100;
}
[data-theme="dark"] .report-review:hover {
  background: #ff6f00;
  color: #ffffff;
}
[data-theme="dark"] .review-rating--ten .rating-number {
  color: #ffffff;
}
[data-theme="dark"] .review-content {
  color: #c8c8c8;
}
[data-theme="dark"] .review-form-container {
  background: #1a1a1a;
}
[data-theme="dark"] .review-form input[type="text"],
[data-theme="dark"] .review-form textarea {
  background: #1e1e1e;
  color: #e0e0e0;
  border-color: #3a3a3a;
}
[data-theme="dark"] .review-form input[type="text"]:focus,
[data-theme="dark"] .review-form textarea:focus {
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .rating-bar .bar-container {
  background: #1e1e1e;
  border-color: #3a3a3a;
}

/* ============== Hero banner en mode sombre — même veine que le footer ============== */
[data-theme="dark"] .hero-banner {
  background: var(--nintendo-red);
}
[data-theme="dark"] .hero-banner h1 {
  color: #ffffff;
}
[data-theme="dark"] .hero-banner h1 svg {
  stroke: #ffffff;
}
[data-theme="dark"] .hero-banner p {
  color: rgba(255, 255, 255, 0.85);
}
[data-theme="dark"] .hero-banner .switch-icon {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
[data-theme="dark"] .hero-banner .switch-icon svg {
  stroke: #ffffff;
}
[data-theme="dark"] .hero-banner .switch-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border-color: #ffffff;
}
[data-theme="dark"] .hero-banner .switch-icon:hover svg {
  stroke: #ffffff;
}

/* Footer en mode sombre : le fond reste rouge, forcer les textes blancs */
[data-theme="dark"] .site-footer {
  background: var(--nintendo-red);
  color: #ffffff;
}
[data-theme="dark"] .site-footer a,
[data-theme="dark"] .site-footer a:hover,
[data-theme="dark"] .site-footer a:focus,
[data-theme="dark"] .site-footer a:active {
  color: #ffffff !important;
}
[data-theme="dark"] .footer-column h4 {
  color: #ffffff;
}
[data-theme="dark"] .footer-column p {
  color: rgba(255, 255, 255, 0.8);
}
[data-theme="dark"] .footer-column ul a {
  color: rgba(255, 255, 255, 0.8);
}
[data-theme="dark"] .footer-column ul a:hover {
  color: #ffffff;
}
[data-theme="dark"] .footer-logo span {
  color: #ffffff;
}
[data-theme="dark"] .footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}
[data-theme="dark"] .social-links a {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
[data-theme="dark"] .social-links a svg {
  fill: white;
}
[data-theme="dark"] .social-links a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============== DARK MODE — BOUTONS / HOVER STATES ============== */
/* Mood tags (Ambiance du jeu) */
[data-theme="dark"] .mood-tag {
  background: #1e1e1e;
  border-color: #2e2e2e;
  color: #e0e0e0;
}
[data-theme="dark"] .mood-tag:hover {
  background: #2a2a2a;
  border-color: #555;
}
[data-theme="dark"] .mood-tag--active {
  background: rgba(255, 0, 0, 0.15);
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .mood-count {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
}
/* Hype vote buttons */
[data-theme="dark"] .hype-vote-btn {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
[data-theme="dark"] .hype-vote-btn:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .hype-vote-btn.active {
  background: rgba(255, 0, 0, 0.15);
  border-color: var(--nintendo-red);
}
/* Spoiler guard */
[data-theme="dark"] .spoiler-guard {
  border-color: #2e2e2e;
}
/* Comparateur : search results hover */
[data-theme="dark"] .search-result-item:hover {
  background: rgba(255, 0, 0, 0.1);
}
[data-theme="dark"] .search-result-item {
  border-color: #2e2e2e;
}
/* Éditeur : type card hover, toolbar btn active */
[data-theme="dark"] .type-card:hover {
  background: rgba(255, 0, 0, 0.1);
}
[data-theme="dark"] .toolbar-btn:active {
  background: rgba(255, 0, 0, 0.1);
}
/* Divers : badge rank item hover, edit form notice */
[data-theme="dark"] .badge-rank-item:hover {
  background: #252525;
}
[data-theme="dark"] .edit-form-notice {
  background: #1a2030;
  border-color: #2a4080;
  color: #8ab4f8;
}
/* Article card badge-test inversé */
[data-theme="dark"] .badge-test {
  background: #1a1a1a;
  color: var(--nintendo-red);
  border-color: var(--nintendo-red);
}
/* Article edit form */
[data-theme="dark"] .article-edit-form {
  background: #1e1e1e;
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .edit-form-header {
  border-color: #2e2e2e;
}
/* Boutons navbar en dark mode - uniformes */
[data-theme="dark"] .btn-outline {
  color: #ffffff;
  border-color: var(--nintendo-red);
  background: transparent;
}
[data-theme="dark"] .btn-outline:hover {
  background: var(--nintendo-red);
  color: #ffffff;
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .btn-primary {
  background: var(--nintendo-red);
  border-color: var(--nintendo-red);
  color: #ffffff;
}
[data-theme="dark"] .btn-primary:hover {
  background: #dd0000;
  border-color: #dd0000;
  color: #ffffff;
}
[data-theme="dark"] .header-search-btn {
  background: transparent;
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}
[data-theme="dark"] .header-search-btn:hover {
  background: rgba(255, 0, 0, 0.12);
  color: var(--nintendo-red);
}
[data-theme="dark"] .header-search-btn:hover svg {
  stroke: var(--nintendo-red);
}
[data-theme="dark"] .dark-mode-toggle {
  background: transparent;
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}
[data-theme="dark"] .dark-mode-toggle:hover {
  background: rgba(255, 0, 0, 0.12);
  color: var(--nintendo-red);
}
[data-theme="dark"] .user-badge {
  background: #1e1e1e;
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .user-badge:hover {
  background: rgba(255, 0, 0, 0.12);
}
[data-theme="dark"] .user-badge .user-name {
  color: var(--nintendo-red);
}
[data-theme="dark"] .user-badge .user-role {
  color: #a0a0a0;
}
[data-theme="dark"] .user-badge:hover .user-name {
  color: var(--nintendo-red);
}

/* Dark mode : profil mobile dans burger */
[data-theme="dark"] .mobile-user-profile {
  background: rgba(255, 0, 0, 0.08);
}
[data-theme="dark"] .mobile-user-profile:hover {
  background: rgba(255, 0, 0, 0.14);
}
[data-theme="dark"] .mobile-user-name {
  color: var(--nintendo-red);
}
[data-theme="dark"] .mobile-user-role {
  color: #a0a0a0;
}
[data-theme="dark"] .mobile-user-profile .avatar {
  border-color: var(--nintendo-red);
}
[data-theme="dark"] .mobile-auth-buttons {
  border-top-color: #333;
}
[data-theme="dark"] .mobile-menu-overlay {
  background: rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .mobile-menu-toggle:hover {
  background: rgba(255, 0, 0, 0.1);
}
[data-theme="dark"] .mobile-menu-toggle.active {
  background: rgba(255, 0, 0, 0.12);
  border-color: rgba(255, 0, 0, 0.2);
}

/* Dark mode : panneau nav mobile */
@media (max-width: 1080px) {
  [data-theme="dark"] .main-nav {
    background: var(--card-bg);
    border-top-color: #333;
  }
  [data-theme="dark"] .main-nav.active {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-top-color: #444;
  }
  [data-theme="dark"] .main-nav ul a:hover {
    background: rgba(255, 0, 0, 0.1);
  }
  [data-theme="dark"] .main-nav ul a.active {
    background: rgba(255, 0, 0, 0.12);
  }
  [data-theme="dark"] .mobile-auth-buttons {
    border-top-color: #444;
  }
}

/* Dark mode toggle button */
.dark-mode-toggle {
  background: var(--white);
  border: 2px solid var(--nintendo-red);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--nintendo-red);
  transition: var(--transition);
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  background: rgba(255, 0, 0, 0.08);
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
  transform: scale(1.05);
}

.dark-mode-toggle .icon-sun,
.dark-mode-toggle .icon-moon {
  display: none;
}

:root .dark-mode-toggle .icon-moon,
[data-theme="light"] .dark-mode-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .dark-mode-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .dark-mode-toggle .icon-moon {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--nintendo-red);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nintendo-red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--nintendo-red-dark);
}

/* SVG inline icons */
svg {
  vertical-align: middle;
  flex-shrink: 0;
}

h1 svg,
h2 svg,
h3 svg,
h4 svg {
  vertical-align: -0.15em;
  margin-right: 6px;
}

.btn svg {
  vertical-align: -0.15em;
  margin-right: 4px;
}

.category-item svg {
  vertical-align: -0.15em;
  margin-right: 2px;
}

.meta-item svg {
  vertical-align: -0.15em;
}

.rating-badge svg {
  vertical-align: -0.15em;
  margin-right: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--nintendo-red);
  font-weight: 700;
  line-height: 1.3;
}

p {
  color: var(--nintendo-red);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--nintendo-red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: none;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.25s ease;
}

.site-header.compact .header-inner {
  padding: 8px 20px;
}

.site-header.compact .site-logo svg {
  width: 38px;
  height: 38px;
  transition:
    width 0.25s ease,
    height 0.25s ease;
}

.site-header.compact .site-logo-text {
  font-size: 1.2rem;
  transition: font-size 0.25s ease;
}

.site-header.compact .main-nav a {
  font-size: 0.85rem;
  transition: font-size 0.25s ease;
}

.site-header.compact .btn {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.site-header.compact .user-badge .user-info {
  display: none;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo svg {
  width: 50px;
  height: 50px;
}

.site-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nintendo-red);
  letter-spacing: -0.5px;
}

.site-logo-text span {
  color: var(--black);
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nintendo-red);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Menu utilisateur */
.user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Actions header (dark mode + recherche) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search-btn {
  background: var(--white);
  border: 2px solid var(--nintendo-red);
  color: var(--nintendo-red);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.header-search-btn:hover {
  background: rgba(255, 0, 0, 0.08);
  color: var(--nintendo-red);
  transform: scale(1.05);
}

.header-search-btn:hover svg {
  stroke: var(--nintendo-red);
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.search-modal.active {
  display: block;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.search-modal-content {
  position: relative;
  max-width: 600px;
  margin: 10vh auto 0;
  background: var(--white);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 30px;
  z-index: 1;
}

.search-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--nintendo-red);
}

.search-modal-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.search-modal-form input {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  color: var(--nintendo-red);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--nintendo-red);
  color: var(--white);
  border-color: var(--nintendo-red);
}

.btn-primary:hover {
  background: var(--nintendo-red-dark);
  border-color: var(--nintendo-red-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--nintendo-red);
  border-color: var(--nintendo-red);
}

.btn-outline:hover {
  background: rgba(255, 0, 0, 0.08);
  color: var(--nintendo-red);
  transform: translateY(-1px);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  border: 2px solid var(--nintendo-red);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}

.user-badge:hover {
  background: rgba(255, 0, 0, 0.08);
  transform: translateY(-1px);
}

.user-badge .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
  transition: border-color 0.3s;
}

.user-badge:hover .avatar {
  border-color: var(--nintendo-red);
}

.user-badge .user-info {
  display: flex;
  flex-direction: column;
}

.user-badge .user-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--nintendo-red);
  transition: color 0.3s;
}

.user-badge:hover .user-name {
  color: var(--nintendo-red-dark);
}

.user-badge .user-role {
  font-size: 0.7rem;
  color: var(--gray-text);
}

/* Badge unique dans le header */
.header-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: -4px;
  margin-right: 6px;
  flex-shrink: 0;
}

.header-badge svg {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.2s;
}

.user-badge:hover .header-badge svg {
  transform: scale(1.15);
}

/* Badge inline à côté des noms (avis, articles, testeurs) */
.author-name .header-badge,
.tester-name .header-badge,
.review-author-info .header-badge {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  margin-right: 0;
  vertical-align: middle;
}

.author-name .header-badge svg,
.tester-name .header-badge svg,
.review-author-info .header-badge svg {
  width: 16px;
  height: 16px;
}

/* Boutons auth mobile dans menu burger — masqués sur desktop */
.mobile-auth-buttons {
  display: none;
}

/* Profil utilisateur mobile dans le burger */
.mobile-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  background: rgba(255, 0, 0, 0.04);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.mobile-user-profile:hover {
  background: rgba(255, 0, 0, 0.08);
}

.mobile-user-profile .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
  flex-shrink: 0;
}

.mobile-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mobile-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-user-role {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.mobile-auth-btns-row {
  display: flex;
  gap: 8px;
}

.mobile-auth-btns-row .mobile-auth-btn {
  flex: 1;
  text-align: center;
}

/* ============================================
   TOAST AUTH — "Connectez-vous pour voter"
   ============================================ */
.gkc-auth-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  z-index: 99999;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.gkc-auth-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.gkc-auth-toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1.5px solid var(--nintendo-red);
  font-size: 0.95rem;
  white-space: nowrap;
}

.gkc-auth-toast-icon {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.gkc-auth-toast-icon svg {
  width: 20px;
  height: 20px;
}

.gkc-auth-toast-text {
  font-weight: 600;
}

.gkc-auth-toast-btn {
  background: var(--nintendo-red);
  color: #fff !important;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition:
    background 0.2s,
    transform 0.15s;
}

.gkc-auth-toast-btn:hover {
  background: #e60012;
  transform: scale(1.05);
}

.gkc-auth-toast-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0.6;
  padding: 0 0 0 4px;
  line-height: 1;
  transition: opacity 0.2s;
}

.gkc-auth-toast-close:hover {
  opacity: 1;
}

/* Dark mode : inverser le fond */
body.dark-mode .gkc-auth-toast-inner {
  background: #1a1a1a;
  border-color: var(--nintendo-red);
  color: #e8e8e8;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .gkc-auth-toast {
    left: 12px;
    right: 12px;
    transform: translateX(0) translateY(30px);
    bottom: 16px;
  }
  .gkc-auth-toast.show {
    transform: translateX(0) translateY(0);
  }
  .gkc-auth-toast-inner {
    white-space: normal;
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}

/* Menu mobile — Bouton hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 2px solid transparent;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 0, 0, 0.06);
}

.mobile-menu-toggle.active {
  background: rgba(255, 0, 0, 0.08);
  border-color: rgba(255, 0, 0, 0.15);
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--nintendo-red);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay derrière le menu mobile */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Body scroll lock quand menu ouvert */
body.menu-open {
  overflow: hidden;
}

/* ============================================
   HERO / BANNIÈRE
   ============================================ */

.hero-banner {
  background: var(--nintendo-red);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.hero-banner a:hover,
.hero-banner a:focus {
  color: #ffffff !important;
}

.hero-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-banner h1 .hero-subtitle {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.hero-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.hero-banner .switch-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.hero-banner .switch-icon {
  background: #ffffff;
  color: var(--nintendo-red);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 2px solid #ffffff;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-banner .switch-icon:hover {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}

.hero-banner .switch-icon svg {
  stroke: var(--nintendo-red);
  transition: stroke 0.3s;
}

.hero-banner .switch-icon:hover svg {
  stroke: #ffffff;
}

/* ============================================
   HOMEPAGE — BANDEAU PROCHAINE SORTIE
   ============================================ */

.hp-next-release {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-bottom: 3px solid var(--nintendo-red);
  position: relative;
  overflow: hidden;
}

.hp-carousel-track {
  position: relative;
}

.hp-next-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

/* Carousel slides */
.hp-slide {
  display: none;
  animation: hpFadeIn 0.5s ease;
}

.hp-slide-active {
  display: flex;
}

@keyframes hpFadeIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Controls */
.hp-carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 8px;
}

.hp-carousel-dots {
  display: flex;
  gap: 6px;
}

.hp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.hp-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hp-dot-active {
  background: var(--nintendo-red);
  width: 20px;
  border-radius: 4px;
}

.hp-carousel-progress {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.hp-progress-bar {
  height: 100%;
  background: var(--nintendo-red);
  width: 0%;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.hp-badge-num {
  font-variant-numeric: tabular-nums;
}

.hp-next-inner:hover {
  background: rgba(255, 0, 0, 0.06);
}

.hp-next-thumb {
  width: 120px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
}

.hp-next-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hp-next-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--nintendo-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hp-next-name {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.hp-next-tags {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.hp-next-console {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.hp-tag-s1 {
  background: rgba(255, 0, 0, 0.2);
  color: #ff6666;
}

.hp-tag-s2 {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hp-next-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 8px;
  flex-shrink: 0;
  line-height: 1.1;
}

.hp-next-day {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--nintendo-red);
}

.hp-next-month {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hp-next-countdown {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
  font-family: "Inter", monospace;
}

.hp-cd {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
  display: inline-block;
}

.hp-next-countdown small {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-right: 2px;
}

.hp-cd-sep {
  color: var(--nintendo-red);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 1px;
  animation: hp-blink 1s infinite;
}

@keyframes hp-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hp-next-arrow {
  margin-left: auto;
  opacity: 0.4;
  transition:
    opacity 0.3s,
    transform 0.3s;
  flex-shrink: 0;
}

.hp-next-inner:hover .hp-next-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Responsive bandeau */
@media (max-width: 900px) {
  .hp-next-inner {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 16px;
  }
  .hp-next-name {
    flex-basis: 100%;
    order: 1;
    font-size: 0.95rem;
  }
  .hp-next-thumb {
    order: 0;
    width: 96px;
    height: 58px;
  }
  .hp-next-badge {
    order: 0;
  }
  .hp-next-tags {
    order: 2;
  }
  .hp-next-date-box {
    order: 3;
  }
  .hp-next-countdown {
    order: 4;
  }
  .hp-next-arrow {
    display: none;
  }
  .hp-carousel-controls {
    padding: 0 16px 6px;
  }
}

@media (max-width: 480px) {
  .hp-next-inner {
    gap: 6px 8px;
    padding: 10px 12px;
  }
  .hp-next-date-box {
    display: none;
  }
  .hp-next-name {
    font-size: 0.88rem;
  }
  .hp-cd {
    font-size: 0.95rem;
    padding: 2px 4px;
    min-width: 24px;
  }
  .hp-carousel-controls {
    padding: 0 12px 6px;
  }
}

/* ============================================
   SECTIONS HOMEPAGE
   ============================================ */

.section-block {
  margin-bottom: 50px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

/* Section CTA */
.cta-section {
  background: var(--nintendo-red);
  color: var(--white);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-white {
  background: #ffffff;
  color: var(--nintendo-red);
  border-color: #ffffff;
}

.cta-btn-white:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

[data-theme="dark"] .cta-btn-white {
  background: #ffffff;
  color: var(--nintendo-red);
  border-color: #ffffff;
}
[data-theme="dark"] .cta-btn-white:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
[data-theme="dark"] .cta-btn-outline {
  color: #ffffff;
  border-color: #ffffff;
}
[data-theme="dark"] .cta-btn-outline:hover {
  background: #ffffff;
  color: var(--nintendo-red);
}

.cta-btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.cta-btn-outline:hover {
  background: #ffffff;
  color: var(--nintendo-red);
}

/* ============================================
   CONTENU PRINCIPAL
   ============================================ */

.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media (min-width: 1400px) {
  .site-content {
    max-width: 1400px;
  }

  .header-inner {
    max-width: 1400px;
  }

  .breadcrumbs {
    max-width: 1400px;
  }
}

@media (min-width: 1700px) {
  .site-content {
    max-width: 1600px;
  }

  .header-inner {
    max-width: 1600px;
  }

  .breadcrumbs {
    max-width: 1600px;
  }
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.main-content {
  min-width: 0;
}

/* ============================================
   CARTES ARTICLES
   ============================================ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-border);
  overflow: hidden;
  transition: var(--transition);
}

.article-card:hover {
  border-color: var(--nintendo-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.article-card .card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-card:hover .card-image img {
  transform: scale(1.05);
}

.article-card .card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-news {
  background: var(--nintendo-red);
  color: var(--white);
}

.badge-test {
  background: var(--white);
  color: var(--nintendo-red);
  border: 2px solid var(--nintendo-red);
}

.badge-switch2 {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
}

.badge-new {
  top: 15px;
  right: 15px;
  background: var(--white);
  color: var(--nintendo-red);
  border: 2px solid var(--nintendo-red);
}

.badge-updated {
  top: 15px;
  right: 15px;
  background: var(--nintendo-red);
  color: var(--white);
}

/* Mood Tags overlay sur les cards test */
.card-mood-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.card-mood-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.2s;
}

.card-mood-icon:hover {
  transform: scale(1.15);
}

.card-mood-icon svg {
  flex-shrink: 0;
}

/* Playtime overlay sur les cards test */
.card-playtime-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.card-playtime-overlay svg {
  flex-shrink: 0;
}

.article-card .card-content {
  padding: 20px;
}

.article-card .card-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card .card-title a {
  color: var(--nintendo-red);
}

.article-card .card-title a:hover {
  color: var(--nintendo-red-dark);
}

.article-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.article-card .card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid var(--nintendo-red);
  color: var(--nintendo-red);
  background: var(--white);
}

/* --- Badges notes overlay sur miniature --- */
.card-scores-overlay {
  position: absolute;
  bottom: 12px;
  right: 15px;
  display: flex;
  align-items: flex-end;
  z-index: 3;
}

.card-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-score-badge small {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.85;
}

.card-score-global {
  background: linear-gradient(135deg, #e60012, #ff0000);
  color: #fff;
}

/* --- Verdict communautaire overlay sur miniature --- */
.card-verdict-overlay {
  position: absolute;
  bottom: 12px;
  left: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 3;
  white-space: nowrap;
}

.card-verdict-overlay svg {
  flex-shrink: 0;
}

/* --- Mood tags inline dans card-tags --- */
.card-tag.card-mood-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-width: 2px;
  border-style: solid;
  background: transparent;
}

.top-tests {
  margin-bottom: 50px;
}

.testers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.tester-card {
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tester-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
}

.tester-card .tester-name {
  font-weight: 700;
}

.tester-card .tester-role {
  font-size: 0.8rem;
  color: var(--gray-text);
}

.article-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--gray-border);
  font-size: 0.8rem;
  color: var(--gray-text);
}

.article-card .card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-card .card-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
}

.article-card .card-stats {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.article-card .card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Mini note étoiles sur carte */
.mini-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-rating .stars {
  display: flex;
  gap: 2px;
}

.mini-rating .star {
  color: var(--star-gold);
  font-size: 0.85rem;
}

.mini-rating .star.empty {
  color: var(--star-empty);
}

.mini-rating .count {
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* ============================================
   ARTICLE SINGLE
   ============================================ */

.single-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-border);
  overflow: hidden;
}

.single-article .article-header {
  position: relative;
}

.single-article .article-header .favorite-toggle {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
}

.single-article .article-image {
  aspect-ratio: 21/9;
  overflow: hidden;
}

.single-article .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-article .article-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
}

/* Header sans image : badges et favori en flow */
.single-article .article-header.no-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-border);
}

.single-article .article-header.no-image .article-badges {
  position: static;
}

.single-article .article-header.no-image .favorite-toggle {
  position: static;
}

.single-article .article-body {
  padding: 40px;
  display: flow-root; /* contient les floats d'images */
}

.single-article .article-title {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.article-title-bar h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin: 0;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.btn-admin-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--gray-light);
  color: var(--gray-text);
}

.btn-admin-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-admin-action.btn-edit {
  background: #e3f2fd;
  border-color: #1976d2;
  color: #1976d2;
}

.btn-admin-action.btn-edit:hover {
  background: #1976d2;
  color: white;
}

.btn-admin-action.btn-delete {
  background: #ffebee;
  border-color: #d32f2f;
  color: #d32f2f;
}

.btn-admin-action.btn-delete:hover {
  background: #d32f2f;
  color: white;
}

.single-article .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--gray-border);
}

.single-article .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.single-article .meta-item svg {
  color: var(--nintendo-red);
}

.single-article .meta-item.meta-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
  object-fit: cover;
}

.single-article .meta-item.meta-author span {
  font-weight: 600;
  color: var(--text-primary);
}

.single-article .author-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  border: 2px solid var(--nintendo-red);
}

.single-article .author-badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
}

.single-article .author-badge .author-info {
  display: flex;
  flex-direction: column;
}

.single-article .author-badge .author-name {
  font-weight: 600;
  color: var(--nintendo-red);
}

.single-article .author-badge .author-role {
  font-size: 0.75rem;
  color: var(--gray-text);
}

.single-article .article-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.single-article .article-content p {
  margin-bottom: 1.5em;
  color: var(--nintendo-red);
}

.single-article .article-content h2,
.single-article .article-content h3 {
  margin-top: 2em;
  margin-bottom: 1em;
}

.single-article .article-content img {
  border-radius: var(--radius-md);
  margin: 2em 0;
  border: 2px solid var(--gray-border);
}

.single-article .article-content blockquote {
  border-left: 4px solid var(--nintendo-red);
  padding-left: 20px;
  margin: 2em 0;
  font-style: italic;
  color: var(--gray-text);
}

/* Note du testeur */
.tester-rating-box {
  background: var(--nintendo-red);
  color: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  margin: 30px auto;
  max-width: 700px;
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: center;
}

.tester-rating-box .rating-score {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
}

.tester-rating-box h3 {
  color: var(--white);
  margin: 0 0 15px 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tester-rating-box .big-score {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  display: block;
}

.tester-rating-box .score-max {
  font-size: 1.5rem;
  opacity: 0.8;
  font-weight: 600;
}

.tester-rating-box .verdict {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  text-align: left;
  color: var(--white);
  margin: 0;
}

/* ============================================
   RADAR MULTICRITÈRE
   ============================================ */

/* Conteneur principal radar */
.tester-rating-box--radar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--nintendo-red);
  max-width: 780px;
  padding: 25px;
}

.tester-rating-box--radar h3 {
  color: var(--nintendo-red);
}

.radar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.radar-legend {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-text);
  align-items: center;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-tester .legend-dot {
  background: var(--nintendo-red);
}

.legend-community .legend-dot {
  background: #6495ed;
}

/* Boutons toggle radar testeur/communauté */
.radar-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-border);
  background: var(--white);
  color: var(--gray-text);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.radar-toggle-btn:hover {
  border-color: #999;
  background: rgba(0, 0, 0, 0.03);
}

.radar-toggle-btn svg {
  opacity: 0.6;
  transition: opacity 0.25s;
}

.radar-toggle-btn:hover svg {
  opacity: 1;
}

/* Bouton global actif */
.radar-toggle-global.active {
  border-color: var(--nintendo-red);
  background: rgba(204, 0, 0, 0.06);
  color: var(--nintendo-red);
}

.radar-toggle-global.active svg {
  opacity: 1;
}

[data-theme="dark"] .radar-toggle-global.active {
  background: rgba(204, 0, 0, 0.12);
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}

/* Bouton testeur actif */
.radar-toggle-tester.active {
  border-color: #e60012;
  background: rgba(204, 0, 0, 0.06);
  color: #e60012;
}

.radar-toggle-tester.active svg {
  opacity: 1;
}

/* Bouton communauté actif */
.radar-toggle-community.active {
  border-color: #6495ed;
  background: rgba(100, 149, 237, 0.06);
  color: #6495ed;
}

.radar-toggle-community.active svg {
  opacity: 1;
}

/* Dark mode toggle buttons */
[data-theme="dark"] .radar-toggle-btn {
  background: #1e1e1e;
  border-color: #444;
  color: #aaa;
}

[data-theme="dark"] .radar-toggle-btn:hover {
  border-color: #666;
  background: #252525;
}

[data-theme="dark"] .radar-toggle-tester.active {
  background: rgba(204, 0, 0, 0.12);
  border-color: #e60012;
  color: #ff4444;
}

[data-theme="dark"] .radar-toggle-community.active {
  background: rgba(100, 149, 237, 0.12);
  border-color: #6495ed;
  color: #84b5ff;
}

/* Layers radar — animation apparition */
.radar-layer-tester,
.radar-layer-community,
.radar-layer-global {
  transition: opacity 0.4s ease;
}

.radar-layer-tester,
.radar-layer-community,
.radar-layer-global {
  opacity: 0;
}

.radar-layer-tester.visible,
.radar-layer-community.visible,
.radar-layer-global.visible {
  opacity: 1;
}

/* Container du SVG radar */
.radar-chart-container {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  max-width: 100%;
}

.gkc-radar-svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.gkc-radar-svg .radar-label {
  font-family: inherit;
  transition: opacity 0.2s;
}

.gkc-radar-svg .radar-level-label {
  font-family: inherit;
  pointer-events: none;
}

/* Valeurs numériques sur le radar */
.gkc-radar-svg .radar-value-label {
  pointer-events: none;
  font-family: inherit;
}

.gkc-radar-svg .radar-value-tester {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
}

.gkc-radar-svg .radar-value-community {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .gkc-radar-svg .radar-value-tester {
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .gkc-radar-svg .radar-value-community {
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* Points interactifs */
.gkc-radar-svg .radar-dot-tester,
.gkc-radar-svg .radar-dot-community {
  cursor: pointer;
  transition:
    r 0.2s ease,
    stroke-width 0.2s ease;
}

.gkc-radar-svg .radar-dot-tester:hover {
  r: 6;
  stroke-width: 3;
}

.gkc-radar-svg .radar-dot-community:hover {
  r: 5;
  stroke-width: 2.5;
}

/* Halos autour des points */
.gkc-radar-svg .radar-halo-tester,
.gkc-radar-svg .radar-halo-community {
  pointer-events: none;
  animation: radar-pulse 2.5s ease-in-out infinite;
}

@keyframes radar-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.15;
  }
}

/* Polygones — animation d'apparition */
.gkc-radar-svg .radar-polygon-tester,
.gkc-radar-svg .radar-polygon-community {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: radar-draw 1.2s ease forwards;
}

@keyframes radar-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Tooltip */
.gkc-radar-svg .radar-tooltip {
  pointer-events: none;
  transition: opacity 0.15s;
}

/* Radar HTML Tooltip */
.radar-chart-container {
  position: relative;
}
.radar-tip {
  position: absolute;
  z-index: 50;
  pointer-events: none;
  background: var(--card-bg, #fff);
  border: 1px solid var(--gray-border, #e0e0e0);
  border-top: 3px solid var(--nintendo-red);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 160px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.08);
  font-family: inherit;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  opacity: 0;
  transform: translateY(4px);
}
.radar-tip.visible {
  opacity: 1;
  transform: translateY(0);
}
.radar-tip-header {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-border, #eee);
}
.radar-tip-criteria {
  font-size: 13px;
  font-weight: 800;
  color: var(--black, #1a1a2e);
  letter-spacing: 0.3px;
}
.radar-tip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}
.radar-tip-row svg {
  flex-shrink: 0;
}
.radar-tip-row .radar-tip-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-text, #666);
  flex: 1;
}
.radar-tip-row .radar-tip-val {
  font-size: 12.5px;
  font-weight: 800;
  min-width: 38px;
  text-align: right;
}
.radar-tip-global .radar-tip-val {
  background: linear-gradient(135deg, #e60012, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 14px;
}
.radar-tip-tester-row .radar-tip-val {
  color: #e60012;
}
.radar-tip-community-row .radar-tip-val {
  color: #6495ed;
}
.radar-tip-divider {
  height: 1px;
  background: var(--gray-border, #eee);
  margin: 4px 0;
}
.radar-tip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--card-bg, #fff);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-bottom: 1px solid var(--gray-border, #e0e0e0);
}

/* Dark mode tooltip */
[data-theme="dark"] .radar-tip {
  background: #1e1e2e;
  border-color: #333;
  border-top-color: var(--nintendo-red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .radar-tip-criteria {
  color: #f0f0f0;
}
[data-theme="dark"] .radar-tip::after {
  background: #1e1e2e;
}
[data-theme="dark"] .radar-tip-header,
[data-theme="dark"] .radar-tip-divider {
  border-color: #333;
  background-color: #333;
}

/* Scores en bas */
.radar-score-global-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.radar-score-global {
  background: linear-gradient(135deg, #e60012, #ff0000);
  color: var(--white);
  text-align: center;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.35);
}

.radar-score-global .score-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  opacity: 0.95;
  margin-bottom: 6px;
}

.radar-score-global .score-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.radar-score-global .score-number small {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
}

.radar-scores {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.radar-score-box {
  text-align: center;
  padding: 8px 18px;
  border-radius: var(--radius-md);
}

.radar-score-tester {
  background: var(--nintendo-red);
  color: var(--white);
}

.radar-score-community {
  background: linear-gradient(135deg, #e60012, #ff0000);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.radar-score-community .score-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 4px;
}

.radar-score-box .score-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 2px;
}

.radar-score-box .score-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.radar-score-box .score-number small {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
}

/* Grille de détails par critère */
.criteria-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 5px;
}

.criteria-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.criteria-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.criteria-detail-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.criteria-bar {
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  min-width: 28px;
  transition: width 0.6s ease;
}

.criteria-bar-tester {
  background: var(--nintendo-red);
}

.criteria-bar-community {
  background: var(--nintendo-red);
}

/* Verdict sous le radar */
.tester-rating-box--radar .verdict {
  color: var(--gray-text);
  font-style: italic;
  text-align: center;
  margin-top: 5px;
  padding-top: 15px;
  border-top: 1px solid var(--gray-border);
}

/* ============================================
   CRITÈRES SLIDERS (formulaires)
   ============================================ */

.criteria-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.criteria-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.criteria-input-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-text);
}

.criteria-slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.criteria-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-border);
  outline: none;
  cursor: pointer;
}

.criteria-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nintendo-red);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

.criteria-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.criteria-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nintendo-red);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.criteria-value {
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nintendo-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.criteria-avg-display {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-text);
  padding: 8px 0;
  border-top: 1px solid var(--gray-border);
  margin-top: 4px;
}

.criteria-avg-number {
  font-size: 1.3rem;
  color: var(--nintendo-red);
}

/* ============================================
   MINI CRITÈRES (dans les cartes d'avis)
   ============================================ */

.review-criteria-mini {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px 14px;
  margin: 12px 0;
  padding: 12px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
}

.mini-criteria {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-criteria-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-text);
  min-width: 65px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.mini-criteria-bar-bg {
  flex: 1;
  height: 5px;
  background: var(--gray-border);
  border-radius: 3px;
  overflow: hidden;
}

.mini-criteria-bar-fill {
  height: 100%;
  background: var(--nintendo-red);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.mini-criteria-val {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--nintendo-red);
  min-width: 14px;
  text-align: right;
}

/* ============================================
   ARTICLES SIMILAIRES
   ============================================ */

.similar-articles {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 3px solid var(--gray-border);
}

.similar-articles h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.similar-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.similar-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.similar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--nintendo-red);
}

.similar-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-light);
}

.similar-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.similar-card:hover .similar-card-thumb img {
  transform: scale(1.05);
}

.similar-card-no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--gray-border);
}

.similar-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--nintendo-red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.similar-card-body {
  padding: 12px;
  flex: 1;
}

.similar-card-body h3 {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px 0;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.similar-card:hover .similar-card-body h3 {
  color: var(--nintendo-red);
}

.similar-card-date {
  font-size: 0.72rem;
  color: var(--gray-text);
}

@media (max-width: 768px) {
  .similar-articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .similar-articles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .similar-card-body {
    padding: 8px;
  }
  .similar-card-body h3 {
    font-size: 0.78rem;
  }
}

/* ============================================
   FILTRES ARCHIVES
   ============================================ */

.archive-filters {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 25px;
}

.archive-filters-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 130px;
}

.filter-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-group select {
  padding: 8px 12px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: var(--transition);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--nintendo-red);
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.filter-reset {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--nintendo-red);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  white-space: nowrap;
  transition: var(--transition);
}

.filter-reset:hover {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .archive-filters-row {
    flex-direction: column;
    gap: 10px;
  }

  .filter-group {
    width: 100%;
    min-width: unset;
  }

  .filter-group select {
    width: 100%;
  }
}

/* ============================================
   SYSTÈME D'AVIS COMMUNAUTAIRES
   ============================================ */

.reviews-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 3px solid var(--nintendo-red);
}

.reviews-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

/* Résumé des avis (style Amazon) */
.reviews-summary {
  background: var(--gray-light);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 40px;
}

.reviews-summary-header {
  text-align: center;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--gray-border);
}

.reviews-summary-header h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--nintendo-red);
}

.overall-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.overall-rating .big-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--nintendo-red);
  line-height: 1;
}

.overall-rating .rating-details {
  text-align: left;
}

.overall-rating .stars-display {
  display: flex;
  gap: 4px;
  margin-bottom: 5px;
}

.overall-rating .stars-display .star {
  font-size: 1.5rem;
  color: var(--star-gold);
}

.overall-rating .stars-display .star.empty {
  color: var(--star-empty);
}

.overall-rating .reviews-count {
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* Barres de répartition */
.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: 15px;
}

.rating-bar .label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nintendo-red);
}

.rating-bar .bar-container {
  height: 20px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
}

.rating-bar .bar-fill {
  height: 100%;
  background: var(--nintendo-red);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.rating-bar .percent {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-text);
  text-align: right;
}

/* Stats recommandation */
.recommendation-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 2px solid var(--gray-border);
}

.stat-box {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--nintendo-red);
}

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--nintendo-red);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 5px;
}

/* Liste des avis */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.review-card {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 25px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--nintendo-red);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.review-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.btn-edit-review,
.btn-delete-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--gray-light);
  color: var(--gray-text);
}

.btn-edit-review:hover,
.btn-delete-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-edit-review {
  background: #e3f2fd;
  border-color: #1976d2;
  color: #1976d2;
}

.btn-edit-review:hover {
  background: #1976d2;
  color: white;
}

.btn-delete-review {
  background: #ffebee;
  border-color: #d32f2f;
  color: #d32f2f;
}

.btn-delete-review:hover {
  background: #d32f2f;
  color: white;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
}

.review-author-info .author-name {
  font-weight: 600;
  color: var(--nintendo-red);
}

.review-author-info .review-date {
  font-size: 0.8rem;
  color: var(--gray-text);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-rating .stars {
  display: flex;
  gap: 3px;
}

.review-rating .star {
  color: var(--star-gold);
  font-size: 1.1rem;
}

.review-rating .star.empty {
  color: var(--star-empty);
}

.review-rating .rating-text {
  font-weight: 700;
  color: var(--nintendo-red);
}

.review-content {
  color: var(--gray-text);
  margin-top: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--gray-border);
}

.review-helpful {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-text);
}

.review-helpful button {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.review-helpful button:hover {
  background: var(--nintendo-red);
  color: var(--white);
  border-color: var(--nintendo-red);
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #28a745;
  font-weight: 600;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.report-review {
  width: 30px;
  height: 30px;
  padding: 0;
  background: #fff3e0;
  border: 2px solid #ff6f00;
  color: #ff6f00;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.report-review:hover {
  background: #ff6f00;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.report-review:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Formulaire d'avis */
.review-form-container {
  background: var(--gray-light);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
}

.review-form-container h3 {
  margin-bottom: 20px;
}

.review-form .form-group {
  margin-bottom: 20px;
}

.review-form label {
  display: block;
  font-weight: 600;
  color: var(--nintendo-red);
  margin-bottom: 8px;
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  color: var(--nintendo-red);
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========== TOOLBAR AVIS (images + spoiler) ========== */
.review-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: var(--background-secondary, #f5f5f5);
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 8px 8px 0 0;
  border-bottom: none;
}
.review-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 6px;
  color: var(--text-color, #333);
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.review-toolbar-btn:hover {
  background: var(--nintendo-red);
  color: #fff;
  border-color: var(--nintendo-red);
}
.review-toolbar-btn:hover svg {
  stroke: #fff;
}
.review-toolbar-btn:disabled {
  cursor: not-allowed;
}
.review-toolbar-btn svg {
  flex-shrink: 0;
}
.review-img-count {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-left: 2px;
}

/* Previews d'images uploadées — cards ergonomiques */
.review-image-previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.review-img-card {
  position: relative;
  width: 160px;
  border: 2px solid var(--border-color, #ddd);
  border-radius: 10px;
  overflow: hidden;
  background: var(--background-secondary, #f8f8f8);
  transition: border-color 0.15s;
}
.review-img-card:hover {
  border-color: var(--nintendo-red, #cc0000);
}
.review-img-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: #000;
}
.review-img-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-img-card-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(200, 0, 0, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}
.review-img-card:hover .review-img-card-delete {
  opacity: 1;
}
.review-img-card-body {
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.review-img-card-legend {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 5px;
  font-size: 0.72rem;
  background: var(--background-color, #fff);
  color: var(--text-color, #333);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.review-img-card-legend:focus {
  border-color: var(--nintendo-red, #cc0000);
}
.review-img-card-legend::placeholder {
  color: #999;
  font-style: italic;
}
.review-img-card-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}
.review-img-card-insert {
  flex: 1;
  padding: 5px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: var(--nintendo-red, #cc0000);
  color: #fff;
  transition:
    background 0.15s,
    transform 0.1s;
}
.review-img-card-insert:hover {
  background: #a30000;
  transform: scale(1.02);
}
.review-img-card-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  font-weight: 600;
}
.review-img-card-status.placed {
  color: #2a9a2a;
}
.review-img-card-status.placed svg {
  stroke: #2a9a2a;
}
.review-img-card-unplace {
  margin-left: auto;
  padding: 3px 6px;
  font-size: 0.65rem;
  background: transparent;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 4px;
  color: var(--gray-text, #888);
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.review-img-card-unplace:hover {
  color: var(--nintendo-red, #cc0000);
  border-color: var(--nintendo-red, #cc0000);
}

/* ========== RENDU IMAGES DANS LES AVIS ========== */
.review-content .review-img,
.featured-review-text .review-img {
  display: inline-block;
  margin: 8px 4px;
  max-width: 260px;
  vertical-align: top;
}
.review-content .review-img img,
.featured-review-text .review-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--border-color, #e0e0e0);
  cursor: zoom-in;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.review-content .review-img img:hover,
.featured-review-text .review-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.review-content .review-img figcaption,
.featured-review-text .review-img figcaption {
  font-size: 0.75rem;
  color: var(--gray-text, #888);
  text-align: center;
  margin-top: 4px;
  font-style: italic;
}

/* ========== SPOILER DANS LES AVIS ========== */
.review-spoiler {
  margin: 10px 0;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  overflow: hidden;
  background: var(--background-secondary, #f8f8f8);
}
.review-spoiler summary {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nintendo-red, #cc0000);
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  list-style: none;
}
.review-spoiler summary::-webkit-details-marker {
  display: none;
}
.review-spoiler summary::after {
  content: "▶";
  font-size: 0.65rem;
  margin-left: auto;
  transition: transform 0.2s;
}
.review-spoiler[open] summary::after {
  transform: rotate(90deg);
}
.review-spoiler .spoiler-content {
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid var(--border-color, #ddd);
  color: var(--text-color, #333);
  filter: none;
  user-select: auto;
}

/* Dark theme */
[data-theme="dark"] .review-toolbar {
  background: #1e1e1e;
  border-color: #3a3a3a;
}
[data-theme="dark"] .review-toolbar-btn {
  color: #c8c8c8;
  border-color: #3a3a3a;
}
[data-theme="dark"] .review-img-card {
  border-color: #3a3a3a;
  background: #1a1a1a;
}
[data-theme="dark"] .review-img-card-legend {
  background: #1e1e1e;
  border-color: #3a3a3a;
  color: #c8c8c8;
}
[data-theme="dark"] .review-img-card-unplace {
  border-color: #3a3a3a;
  color: #999;
}
[data-theme="dark"] .review-spoiler {
  background: #1a1a1a;
  border-color: #3a3a3a;
}
[data-theme="dark"] .review-spoiler .spoiler-content {
  border-color: #3a3a3a;
  color: #c8c8c8;
}
[data-theme="dark"] .review-content .review-img img {
  border-color: #3a3a3a;
}

/* Sélecteur d'étoiles */
.star-rating-input {
  display: flex;
  gap: 8px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 2rem;
  color: var(--star-empty);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.star-rating-input label svg {
  fill: var(--star-empty);
  stroke: var(--star-empty);
  transition: var(--transition);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: var(--star-gold);
}

.star-rating-input label:hover svg,
.star-rating-input label:hover ~ label svg,
.star-rating-input input:checked ~ label svg {
  fill: var(--star-gold);
  stroke: var(--star-gold);
}

.recommend-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recommend-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--nintendo-red);
}

/* Message connexion requise */
.login-required-message {
  background: var(--gray-light);
  border: 2px dashed var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-bottom: 30px;
}

.login-required-message p {
  color: var(--gray-text);
  margin-bottom: 20px;
}

/* ============================================
   SÉLECTEUR NOTE /10 (Tests)
   ============================================ */

.number-rating-input {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  max-width: calc(10 * 38px + 9 * 4px);
}

.number-rating-input input[type="radio"] {
  display: none;
}

.number-rating-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-border);
  background: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-text);
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 !important;
  padding: 0;
  line-height: 38px;
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.number-rating-label:hover {
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(255, 0, 0, 0.15);
}

.number-rating-label.selected {
  background: var(--nintendo-red);
  border-color: var(--nintendo-red);
  color: var(--white);
}

.number-rating-input input:checked + .number-rating-label {
  background: var(--nintendo-red);
  border-color: var(--nintendo-red);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(255, 0, 0, 0.3);
}

.rating-scale-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-top: 8px;
  padding: 0;
  width: 100%;
  max-width: calc(10 * 38px + 9 * 4px);
}

.rating-scale-hints span {
  text-align: center;
}

.rating-scale-hints span:first-child {
  text-align: left;
}

.rating-scale-hints span:last-child {
  text-align: right;
}

/* ============================================
   MOYENNE COMMUNAUTÉ (sous note testeur)
   ============================================ */

.community-average {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.community-average-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.community-average .community-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.community-average .community-score {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.community-average .community-score small {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.community-average .community-count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   REVIEW RATING /10 (dans liste avis)
   ============================================ */

.review-rating--ten {
  display: flex;
  align-items: baseline;
  gap: 2px;
  background: var(--nintendo-red);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.review-rating--ten .rating-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.review-rating--ten .rating-max {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* Résumé avis /10 */
.overall-rating--ten {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.overall-rating--ten .big-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--nintendo-red);
  line-height: 1;
}

.overall-rating--ten .big-number-max {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-text);
  margin-top: -4px;
}

.overall-rating--ten .reviews-count {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 4px;
}

/* Barres /10 compactes */
.rating-breakdown--ten .rating-bar {
  grid-template-columns: 30px 1fr 45px;
  gap: 10px;
}

.rating-breakdown--ten .rating-bar .label {
  text-align: center;
  font-size: 0.8rem;
}

.rating-breakdown--ten .rating-bar .bar-container {
  height: 14px;
}

/* ============================================
   SECTION COMMENTAIRES (News)
   ============================================ */

.comments-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 3px solid var(--nintendo-red);
}

.comments-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.comments-count {
  font-size: 0.95rem;
  color: var(--gray-text);
  margin-bottom: 25px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.comment-card {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.comment-card:hover {
  border-color: var(--nintendo-red);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--nintendo-red);
}

.comment-author-info .author-name {
  font-weight: 600;
  color: var(--nintendo-red);
  display: block;
}

.comment-author-info .comment-date {
  font-size: 0.8rem;
  color: var(--gray-text);
}

.comment-content {
  color: var(--gray-text);
  line-height: 1.7;
  font-size: 0.95rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.comment-content p {
  margin: 0;
}

.comment-content .comment-icon {
  display: inline-flex;
  vertical-align: middle;
  margin: 0 2px;
}

/* Réponses imbriquées */
.comment-replies {
  margin-left: 30px;
  padding-left: 15px;
  border-left: 3px solid var(--nintendo-red);
}

.comment-reply {
  border-left: none;
}

.comment-reply.depth-2 {
  margin-left: 0;
}

.comment-reply.depth-3 {
  margin-left: 0;
}

.reply-to-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.06);
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 2px;
}

/* Reply indicator dans le formulaire */
#reply-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff3e0;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  border: 1px solid #ffcc80;
}

.reply-indicator-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #e65100;
}

.btn-cancel-reply {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid #ff6f00;
  color: #ff6f00;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel-reply:hover {
  background: #ff6f00;
  color: white;
}

/* Bouton répondre */
.btn-reply-comment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #e8f5e9;
  border-color: #388e3c;
  color: #388e3c;
}

.btn-reply-comment:hover {
  background: #388e3c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Icon Picker */
.comment-icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 8px 10px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.icon-picker-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-text);
  margin-right: 4px;
}

.icon-picker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: white;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--gray-text);
}

.icon-picker-btn:hover {
  background: var(--nintendo-red);
  color: white;
  border-color: var(--nintendo-red);
  transform: scale(1.15);
}

.icon-picker-btn:hover svg {
  stroke: white;
}

@media (max-width: 768px) {
  .comment-replies {
    margin-left: 15px;
    padding-left: 10px;
  }
  .comment-icon-picker {
    gap: 3px;
  }
  .icon-picker-btn {
    width: 28px;
    height: 28px;
  }
}

/* Actions commentaires (edit/delete) */
.comment-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--gray-border);
}

.comment-actions {
  display: flex;
  gap: 8px;
}

.btn-edit-comment,
.btn-delete-comment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-edit-comment {
  background: #e3f2fd;
  border-color: #1976d2;
  color: #1976d2;
}
.btn-edit-comment:hover {
  background: #1976d2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-delete-comment {
  background: #ffebee;
  border-color: #d32f2f;
  color: #d32f2f;
}
.btn-delete-comment:hover {
  background: #d32f2f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Mode édition inline commentaire */
.comment-card.editing {
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

.comment-edit-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
  color: var(--dark);
}

.comment-edit-form textarea:focus {
  outline: none;
  border-color: #1976d2;
}

.comment-edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.comment-edit-actions .btn-save-comment {
  font-size: 0.85rem;
  padding: 6px 16px;
}

.comment-edit-actions .btn-cancel-comment {
  font-size: 0.85rem;
  padding: 6px 16px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--gray-text);
  transition: all 0.2s;
}

.comment-edit-actions .btn-cancel-comment:hover {
  background: var(--gray-border);
}

.comments-empty {
  background: var(--gray-light);
  border: 2px dashed var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-bottom: 30px;
}

.comments-empty p {
  color: var(--gray-text);
  margin: 0;
}

/* Formulaire commentaire */
.comment-form-container {
  background: var(--gray-light);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.comment-form-container h3 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gkc-comment-form .form-group {
  margin-bottom: 15px;
}

.gkc-comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  color: var(--nintendo-red);
  min-height: 100px;
  resize: vertical;
  background: var(--white);
}

.gkc-comment-form textarea:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

.gkc-comment-form .form-submit {
  margin: 0;
}

.gkc-comment-form .form-submit .btn,
.gkc-comment-form button[type="submit"] {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comment-form-feedback {
  margin-top: 12px;
}

.comment-form-feedback .alert {
  margin-bottom: 0;
}
FORMULAIRE
  D"ÉDITION D"ARTICLE
  ============================================
  */
  .article-edit-form {
  background: #f8f9fa;
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 30px;
}

.edit-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--gray-border);
}

.edit-form-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--nintendo-red);
}

.btn-cancel-edit {
  background: none;
  border: none;
  color: var(--gray-text);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.btn-cancel-edit:hover {
  color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.06);
}

.edit-form-notice {
  background: #e3f2fd;
  border-left: 4px solid #1976d2;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  color: #1565c0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid var(--gray-border);
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: var(--nintendo-red);
  color: white;
}

.btn-primary:hover {
  background: #c41e3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
  background: var(--gray-border);
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: var(--gray-light);
  color: var(--gray-text);
}

.btn-secondary:hover {
  background: var(--gray-border);
  transform: translateY(-2px);
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 25px;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--nintendo-red);
}

/* Widget Articles populaires */
.popular-posts .post-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-border);
}

.popular-posts .post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.popular-posts .post-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.popular-posts .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-posts .post-info {
  flex: 1;
}

.popular-posts .post-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 5px;
}

.popular-posts .post-title a {
  color: var(--nintendo-red);
}

.popular-posts .post-meta {
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* Widget catégories */
.categories-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}

.category-item:hover {
  border-color: var(--nintendo-red);
}

.category-item .count {
  background: var(--nintendo-red);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Widget newsletter */
.newsletter-widget .widget-desc {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

/* Widget Top Testeurs */
.top-testeur-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-border);
}

.top-testeur-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.top-testeur-rank {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--nintendo-red);
  min-width: 24px;
  text-align: center;
}

.top-testeur-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-border);
}

.top-testeur-info {
  flex: 1;
  min-width: 0;
}

.top-testeur-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-testeur-name:hover {
  color: var(--nintendo-red);
}

.top-testeur-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-top: 2px;
}

.top-testeur-meta svg {
  flex-shrink: 0;
}

/* Widget Avis Récents */
.recent-review-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-border);
}

.recent-review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-review-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.recent-review-avatar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.recent-review-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-review-rating {
  background: var(--nintendo-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.recent-review-game {
  display: block;
  font-size: 0.85rem;
  color: var(--nintendo-red);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.recent-review-game:hover {
  text-decoration: underline;
}

.recent-review-date {
  font-size: 0.7rem;
  color: var(--gray-text);
}

/* Widget Hype News */
.hype-news-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-border);
}

.hype-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hype-news-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.hype-news-title {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hype-news-title:hover {
  color: var(--nintendo-red);
}

.hype-news-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  color: #fff;
}

.hype-news-badge.hype-fire {
  background: var(--nintendo-red);
}

.hype-news-badge.hype-warm {
  background: #ff6b35;
}

.hype-news-badge.hype-mild {
  background: #f0a500;
}

.hype-news-badge.hype-cold {
  background: #6c757d;
}

.hype-news-bar {
  margin-bottom: 6px;
}

.hype-news-bar-track {
  width: 100%;
  height: 4px;
  background: var(--gray-light);
  border-radius: 2px;
  overflow: hidden;
}

.hype-news-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.hype-news-bar-fill.hype-fire {
  background: linear-gradient(90deg, #ff0000, #ff4444);
}

.hype-news-bar-fill.hype-warm {
  background: linear-gradient(90deg, #ff6b35, #ff9a5c);
}

.hype-news-bar-fill.hype-mild {
  background: linear-gradient(90deg, #f0a500, #ffc940);
}

.hype-news-bar-fill.hype-cold {
  background: linear-gradient(90deg, #6c757d, #adb5bd);
}

.hype-news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--gray-text);
  flex-wrap: wrap;
}

.hype-news-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.hype-news-votes::before,
.hype-news-ago::before {
  content: "·";
  margin-right: 4px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--nintendo-red);
  color: var(--white);
  margin-top: 60px;
}

.site-footer a,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
  color: #ffffff !important;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-column ul a:hover {
  color: var(--white);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-size: 1.2rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--nintendo-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-links a svg {
  width: 22px;
  height: 22px;
  fill: var(--nintendo-red);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--nintendo-red);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.social-links a:hover svg {
  fill: var(--white);
}

/* ============================================
   À PROPOS PAGE
   ============================================ */

/* Feature cards grid */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.about-feature-card {
  background: var(--white);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 25px 20px;
  text-align: center;
  transition: var(--transition);
}

.about-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.about-feature-icon {
  margin-bottom: 8px;
}

.about-feature-card h3 {
  color: var(--nintendo-red);
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

.about-feature-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin: 0;
}

/* Stats grid */
.about-stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  justify-content: center;
}

.about-stat {
  text-align: center;
  min-width: 120px;
}

.about-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--nintendo-red);
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--gray-text);
  font-weight: 600;
}

/* Team card */
.about-team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid var(--nintendo-red);
}

.about-team-name {
  font-size: 1.1rem;
  color: var(--black);
}

.about-team-role {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.about-team-card p {
  font-size: 0.9rem;
  margin-top: 8px;
}

/* CTA banner */
.about-cta-banner {
  text-align: center;
  margin-top: 30px;
  padding: 25px;
  background: var(--nintendo-red);
  border-radius: var(--radius-lg);
}

.about-cta-icon {
  margin-bottom: 5px;
}

.about-cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 5px;
  color: #ffffff !important;
}

.about-cta-text {
  font-size: 0.9rem;
  margin: 0;
  color: #ffffff !important;
}

.about-cta-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 28px;
  background: #ffffff;
  color: var(--nintendo-red) !important;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.about-cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  color: var(--nintendo-red) !important;
}

/* Dark mode — À propos */
[data-theme="dark"] .about-feature-card {
  background: #1a1a1a;
  border-color: var(--nintendo-red);
}

[data-theme="dark"] .about-feature-card h3 {
  color: var(--nintendo-red);
}

[data-theme="dark"] .about-feature-card p {
  color: #a0a0a0;
}

[data-theme="dark"] .about-stat-number {
  color: var(--nintendo-red);
}

[data-theme="dark"] .about-stat-label {
  color: #a0a0a0;
}

[data-theme="dark"] .about-team-card {
  background: #1a1a1a;
  border-left-color: var(--nintendo-red);
}

[data-theme="dark"] .about-team-name {
  color: #e8e8e8;
}

[data-theme="dark"] .about-team-role {
  color: #a0a0a0;
}

[data-theme="dark"] .about-team-card p {
  color: #c0c0c0;
}

[data-theme="dark"] .about-cta-btn {
  background: #ffffff;
  color: var(--nintendo-red) !important;
}

[data-theme="dark"] .about-cta-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* ================================== */
/* CONTACT PAGE — REFONTE COMPLÈTE   */
/* ================================== */

/* Grille principale : form + sidebar */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  margin-bottom: 40px;
}

/* Carte formulaire */
.contact-card--form {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--nintendo-red);
  color: var(--white);
  padding: 16px 24px;
}

.contact-card-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--white);
}

.contact-card--form .contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

/* Alertes contact */
.contact-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.9rem;
  margin: 0;
}

.contact-alert--success {
  background: rgba(76, 175, 80, 0.08);
  color: #2e7d32;
  border-bottom: 2px solid rgba(76, 175, 80, 0.2);
}

.contact-alert--error {
  background: rgba(255, 0, 0, 0.06);
  color: var(--nintendo-red);
  border-bottom: 2px solid rgba(255, 0, 0, 0.15);
}

/* Champs du formulaire */
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  background: var(--off-white);
  color: var(--dark);
  padding: 12px 14px;
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: inherit;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #aaa;
}

.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--nintendo-red);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-field-hint {
  text-align: right;
  font-size: 0.8rem;
  color: #999;
}

.btn-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.35);
}

/* Sidebar infos */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.contact-info-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--dark);
}

.contact-info-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-text);
}

.contact-info-link {
  color: var(--nintendo-red);
  font-weight: 600;
  text-decoration: none;
}

.contact-info-link:hover {
  text-decoration: underline;
}

/* Section proposer un jeu */
.contact-propose-section {
  margin-bottom: 40px;
}

.contact-propose-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 5px solid var(--nintendo-red);
}

.contact-propose-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(204, 0, 0, 0.08);
  border-radius: 50%;
}

.contact-propose-content h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.contact-propose-content p {
  margin: 0 0 12px;
  color: var(--gray-text);
  line-height: 1.6;
}

.contact-propose-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-propose-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Section réseaux sociaux */
.contact-social-section {
  margin-bottom: 40px;
  text-align: center;
}

.contact-social-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.contact-social-subtitle {
  color: var(--gray-text);
  margin-bottom: 20px;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--white);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.contact-social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.contact-social-name {
  font-weight: 700;
  font-size: 1rem;
}

.contact-social-desc {
  font-size: 0.8rem;
  opacity: 0.85;
}

.contact-social--twitter {
  background: linear-gradient(135deg, #1a1a1a, #333);
}
.contact-social--discord {
  background: linear-gradient(135deg, #5865f2, #7289da);
}
.contact-social--youtube {
  background: linear-gradient(135deg, #ff0000, #dd0000);
}
.contact-social--reddit {
  background: linear-gradient(135deg, #ff4500, #ff6634);
}

/* Banner devenir testeur */
.contact-testeur-banner {
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--nintendo-red), #8b0000);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}

.contact-testeur-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-testeur-text {
  flex: 1;
}

.contact-testeur-text h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.3rem;
}

.contact-testeur-text p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
}

.btn-testeur-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--nintendo-red) !important;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.btn-testeur-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* FAQ section */
.contact-faq-section {
  margin-bottom: 40px;
}

.contact-faq-section > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-faq-card {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.contact-faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--nintendo-red);
}

.contact-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(204, 0, 0, 0.08);
  border-radius: 50%;
  margin-bottom: 10px;
}

.contact-faq-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--dark);
}

.contact-faq-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.contact-faq-card p a {
  color: var(--nintendo-red);
  text-decoration: underline;
}

/* Front-end editor */
.editor-form .form-group {
  margin-bottom: 20px;
}

.editor-form label {
  display: block;
  font-weight: 700;
  color: var(--nintendo-red);
  margin-bottom: 8px;
}

.editor-form input[type="text"],
.editor-form input[type="url"],
.editor-form input[type="date"],
.editor-form select,
.editor-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  color: #1a1a2e;
  font-size: 1rem;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  transition: var(--transition);
  background: white;
}

.editor-form textarea {
  min-height: 400px;
  resize: vertical;
  line-height: 1.7;
  font-size: 1.05rem;
}

.editor-form input:focus,
.editor-form select:focus,
.editor-form textarea:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-light);
  border: 2px solid var(--gray-border);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.dropzone {
  border: 2px dashed var(--nintendo-red);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background: var(--off-white);
  position: relative;
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone.dragover {
  background: var(--white);
  border-color: var(--nintendo-red);
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.image-preview img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-border);
}

/* ======================================
   TYPE SELECTION CARDS
   ====================================== */
.type-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.type-card {
  background: var(--white);
  border: 3px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.1);
}

.type-card:hover {
  background: #fff5f5;
  border-color: #ff3333;
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(255, 0, 0, 0.25);
}

.type-card:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.2);
}

.type-card-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.type-card h3 {
  color: var(--nintendo-red);
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.type-card p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
}

/* ======================================
   EDITOR TOP BAR
   ====================================== */
.editor-top-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--nintendo-red);
}

.editor-top-bar h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.4rem;
}

/* ======================================
   EDITOR SECTIONS
   ====================================== */
.editor-section {
  margin-bottom: 28px;
}

.editor-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--nintendo-red);
  margin-bottom: 12px;
  font-size: 1rem;
}

.editor-section-label small {
  font-weight: 400;
  color: var(--gray-text);
  font-size: 0.85rem;
}

.editor-info-box {
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-md);
  padding: 24px;
  background: #fff5f5;
}

.editor-info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px 0;
  color: var(--nintendo-red-dark);
  font-size: 16px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-hint {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 5px;
  display: block;
}

/* ======================================
   FEATURED IMAGE ZONE
   ====================================== */
.featured-image-zone {
  position: relative;
}

.featured-dropzone {
  border: 3px dashed var(--nintendo-red);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  background: #fff8f8;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.featured-dropzone:hover {
  background: #ffefef;
  border-style: solid;
}

.featured-dropzone.dragover {
  background: #ffe0e0;
  border-color: var(--nintendo-red-dark);
  border-style: solid;
}

.featured-dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.featured-dropzone-content p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

.featured-dropzone-content small {
  color: var(--gray-text);
}

.hidden-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.featured-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--nintendo-red);
  aspect-ratio: 1200/630;
  background: #000;
}

.featured-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.featured-remove-btn:hover {
  background: var(--nintendo-red);
}

.featured-upload-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}

.featured-preview:hover .featured-upload-overlay {
  opacity: 1;
}

/* ======================================
   EDITOR TOOLBAR
   ====================================== */
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8f8f8;
  border: 2px solid var(--gray-border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 8px 12px;
  flex-wrap: wrap;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.toolbar-separator {
  width: 1px;
  height: 24px;
  background: var(--gray-border);
  margin: 0 8px;
}

.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: all 0.2s;
  white-space: nowrap;
}

.toolbar-btn:hover {
  background: var(--white);
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}

.toolbar-btn:active {
  background: #ffecec;
}

.toolbar-label {
  font-size: 13px;
  font-weight: 600;
}

#gkc_content {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 2px solid var(--gray-border);
  font-family: inherit;
  line-height: 1.7;
  resize: vertical;
}

.editor-help {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.editor-help small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-text);
  font-size: 12px;
}

/* ======================================
   EDITOR ACTIONS (PUBLISH BTN)
   ====================================== */
.editor-actions {
  margin-top: 32px;
  text-align: center;
}

.btn-publish {
  padding: 14px 48px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ======================================
   EDITOR MODALS (IMAGE / VIDEO) — v5.6
   ====================================== */
.editor-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modal-fade-in 0.25s ease;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.editor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.editor-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--nintendo-red);
  animation: modal-slide-up 0.3s ease;
}

@keyframes modal-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.editor-modal--media {
  max-width: 600px;
}

.editor-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 2px solid var(--gray-border);
}

.editor-modal-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.15rem;
  color: var(--nintendo-red);
}

.editor-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-text);
  transition: all 0.2s;
  padding: 4px;
  border-radius: 50%;
}

.editor-modal-close:hover {
  color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.08);
}

.editor-modal-body {
  padding: 24px;
}

.editor-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 2px solid var(--gray-border);
  background: var(--gray-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.editor-modal-cancel {
  border-color: var(--gray-border) !important;
  color: var(--gray-text) !important;
}

/* ======================================
   MEDIA TABS (Upload / URL)
   ====================================== */
.media-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.media-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: all 0.2s;
}

.media-tab:not(:last-child) {
  border-right: 2px solid var(--gray-border);
}

.media-tab.active {
  background: var(--white);
  color: var(--nintendo-red);
  box-shadow: inset 0 -3px 0 var(--nintendo-red);
}

.media-tab:hover:not(.active) {
  background: #f0f0f0;
  color: var(--black);
}

.media-tab-content {
  display: none;
}

.media-tab-content.active {
  display: block;
  animation: tab-fade 0.25s ease;
}

@keyframes tab-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================
   MEDIA DROPZONE (inside modal) — v5.6
   ====================================== */
.media-dropzone {
  border: 3px dashed var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  background: var(--gray-light);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dropzone-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.media-dropzone:hover {
  border-color: var(--nintendo-red);
  border-style: solid;
  background: rgba(255, 0, 0, 0.03);
}

.media-dropzone:hover .dropzone-icon-wrap {
  background: rgba(255, 0, 0, 0.12);
  transform: scale(1.08);
}

.media-dropzone.dragover {
  border-color: var(--nintendo-red);
  border-style: solid;
  background: rgba(255, 0, 0, 0.06);
  transform: scale(1.01);
}

.media-dropzone.dragover .dropzone-icon-wrap {
  background: rgba(255, 0, 0, 0.18);
  animation: dropzone-bounce 0.5s ease infinite alternate;
}

@keyframes dropzone-bounce {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.dropzone-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.dropzone-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.dropzone-browse-btn {
  background: none;
  border: none;
  color: var(--nintendo-red);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  padding: 0;
}

.dropzone-browse-btn:hover {
  color: #e60012;
}

.dropzone-hint {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--gray-text);
  opacity: 0.7;
}

.media-upload-progress {
  margin-top: 16px;
}

.progress-bar {
  background: var(--gray-border);
  border-radius: 20px;
  height: 10px;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, var(--nintendo-red), #ff4444);
  height: 100%;
  width: 0%;
  border-radius: 20px;
  transition: width 0.3s;
}

.progress-text {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 6px;
  font-weight: 600;
}

/* ======================================
   MEDIA URL TAB (external URL)
   ====================================== */
.media-url-preview {
  margin-top: 16px;
  text-align: center;
  animation: tab-fade 0.3s ease;
}

.media-url-preview img {
  max-width: 100%;
  max-height: 180px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-border);
  object-fit: contain;
}

.media-url-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #28a745;
}

/* ======================================
   MEDIA PREVIEW CARD (step 2)
   ====================================== */
.media-step {
  animation: tab-fade 0.25s ease;
}

.media-preview-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  margin-bottom: 20px;
}

.media-preview-img-wrap {
  position: relative;
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gray-border);
}

.media-preview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-preview-change {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.media-preview-img-wrap:hover .media-preview-change {
  opacity: 1;
}

.media-preview-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.media-preview-filename {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  word-break: break-all;
}

.media-preview-dimensions {
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* ======================================
   MEDIA OPTIONS GRID
   ====================================== */
.media-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.media-text-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-options {
  margin-top: 20px;
}

.media-preview-img {
  text-align: center;
  margin-bottom: 20px;
}

.media-preview-img img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-border);
  object-fit: contain;
}

.media-size-selector,
.media-align-selector {
  margin-bottom: 0;
}

.size-options,
.align-options {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.size-option,
.align-option {
  flex: 1;
  cursor: pointer;
}

.size-option input,
.align-option input {
  display: none;
}

.size-box,
.align-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-text);
}

.size-box:hover,
.align-box:hover {
  border-color: rgba(255, 0, 0, 0.3);
  background: rgba(255, 0, 0, 0.02);
}

.size-option input:checked + .size-box,
.align-option input:checked + .align-box {
  border-color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.06);
  color: var(--nintendo-red);
  box-shadow: 0 0 0 1px var(--nintendo-red);
}

.size-visual {
  display: block;
  height: 20px;
  background: var(--nintendo-red);
  border-radius: 3px;
  opacity: 0.4;
  transition: all 0.2s;
}

.size-option input:checked + .size-box .size-visual {
  opacity: 1;
}

.size-visual-small {
  width: 30%;
}
.size-visual-medium {
  width: 60%;
}
.size-visual-large {
  width: 100%;
  min-width: 40px;
}

.align-box {
  flex-direction: row;
  justify-content: center;
  padding: 10px 8px;
}

/* ======================================
   VIDEO URL INPUT (redesigned)
   ====================================== */
.video-url-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  background: var(--gray-light);
  transition: border-color 0.2s;
}

.video-url-input-wrap:focus-within {
  border-color: var(--nintendo-red);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.08);
}

.video-url-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
}

.video-url-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  outline: none;
  color: var(--black);
  font-family: inherit;
}

.video-url-input-wrap input::placeholder {
  color: var(--gray-text);
  opacity: 0.7;
}

/* ======================================
   VIDEO PREVIEW CARD
   ====================================== */
.video-preview-card {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gray-border);
  animation: tab-fade 0.3s ease;
}

.video-preview-card .video-preview-frame {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
}

.video-preview-card .video-preview-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-preview-meta {
  padding: 10px 14px;
  background: var(--gray-light);
  font-size: 0.8rem;
  color: var(--gray-text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Legacy video-preview (for compatibility) */
.video-preview {
  margin-top: 16px;
}

.video-preview-frame {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.video-preview-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ======================================
   CONTENT IMAGE STYLES (in articles)
   ====================================== */
.article-body figure.gkc-content-image {
  margin: 20px 0;
  padding: 0;
}

.article-body figure.gkc-content-image img {
  border-radius: var(--radius-sm);
  height: auto;
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.article-body figure.gkc-content-image img:hover {
  opacity: 0.85;
}

.article-body figure.gkc-content-image figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 8px;
  font-style: italic;
}

/* ======================================
   LIGHTBOX (Image Zoom)
   ====================================== */
.gkc-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
  padding: 20px;
}

.gkc-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gkc-lightbox-overlay img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.gkc-lightbox-overlay.active img {
  transform: scale(1);
}

.gkc-lightbox-caption {
  color: #ccc;
  font-size: 14px;
  font-style: italic;
  margin-top: 14px;
  text-align: center;
  max-width: 700px;
  line-height: 1.5;
}

.gkc-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10001;
  line-height: 1;
}

.gkc-lightbox-close:hover {
  opacity: 1;
}

.gkc-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition:
    opacity 0.2s,
    background 0.2s;
}

.gkc-lightbox-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.gkc-lightbox-prev {
  left: 16px;
}

.gkc-lightbox-next {
  right: 16px;
}

.gkc-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

@media (max-width: 768px) {
  .gkc-lightbox-overlay img {
    max-width: 96vw;
    max-height: 75vh;
  }
  .gkc-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .gkc-lightbox-prev {
    left: 8px;
  }
  .gkc-lightbox-next {
    right: 8px;
  }
}

.article-body figure.gkc-img-small {
  max-width: 33%;
}

.article-body figure.gkc-img-medium {
  max-width: 60%;
}

.article-body figure.gkc-img-large {
  max-width: 100%;
}

.article-body figure.gkc-img-small img,
.article-body figure.gkc-img-medium img,
.article-body figure.gkc-img-large img {
  width: 100%;
}

.article-body figure.gkc-align-left {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.article-body figure.gkc-align-right {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}

.article-body figure.gkc-align-center {
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

/* Clear floats before headings to prevent image overlap */
.article-body h2,
.article-body h3 {
  clear: both;
  padding-top: 8px;
}

/* Ensure floated figure captions stay within image width */
.article-body figure.gkc-align-left figcaption,
.article-body figure.gkc-align-right figcaption {
  text-align: center;
  font-size: 12px;
  word-break: break-word;
}

/* ======================================
   GAME INFO CARD (Fiche du Jeu)
   ====================================== */
.game-info-card {
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  margin: 24px 0 30px;
  overflow: hidden;
  box-shadow: 0 4px 16px
    color-mix(in srgb, var(--nintendo-red) 10%, transparent);
}

.game-info-header {
  background: linear-gradient(
    135deg,
    var(--nintendo-red),
    var(--nintendo-red-dark)
  );
  color: white;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-info-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.game-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: white;
}

.game-info-item {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-info-item:last-child {
  border-right: none;
}

.game-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
}

.game-info-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
}

.game-info-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--nintendo-red) 8%, white);
  color: var(--nintendo-red);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--nintendo-red) 20%, transparent);
  width: fit-content;
}

.game-info-date {
  color: var(--nintendo-red);
  font-weight: 700;
}

.game-info-score {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e60012, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-info-item--score {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-info-score-details {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.game-info-sub-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.game-info-sub-community {
  background: var(--nintendo-red);
}

@media (max-width: 768px) {
  .game-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .game-info-grid {
    grid-template-columns: 1fr;
  }

  .game-info-item {
    border-right: none;
  }
}

/* ======================================
   CALENDRIER DES SORTIES NINTENDO
   ====================================== */

/* --- Page layout --- */
.calendar-page {
  max-width: 1000px;
  margin: 0 auto;
}

/* --- Highlights (dernier test + prochaine sortie côte à côte) --- */
.cal-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.cal-highlights .cal-next-release {
  margin-bottom: 0;
}
.cal-highlights .cal-next-body {
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 16px;
}
.cal-highlights .cal-next-image {
  width: 100%;
  height: 180px;
}
.cal-latest-test {
  border-color: #ff6600;
}
.cal-badge-test {
  background: #ff6600 !important;
}
.cal-test-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.cal-score-value {
  font-weight: 800;
  color: #ff6600;
  font-size: 1.2rem;
}
.cal-score-count {
  color: var(--gray-text);
  font-size: 0.85rem;
}
.cal-test-no-score {
  color: var(--gray-text);
  font-size: 0.85rem;
  gap: 6px;
}

/* --- Prochain jeu (hero countdown) --- */
.cal-next-release {
  background: white;
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.cal-next-badge {
  background: var(--nintendo-red);
  color: white;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cal-next-body {
  display: flex;
  gap: 30px;
  padding: 28px;
  align-items: center;
}

.cal-next-image {
  flex-shrink: 0;
  width: 220px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cal-next-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cal-next-info {
  flex: 1;
  min-width: 0;
}

.cal-next-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 10px;
}

.cal-next-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.cal-next-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* --- Tags console / genre --- */
.cal-console-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.cal-tag-switch {
  background: var(--nintendo-red);
  color: white;
}

.cal-tag-switch2 {
  background: #1a1a2e;
  color: white;
}

.cal-genre-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--gray-light);
  color: var(--gray-text);
  border: 1px solid var(--gray-border);
}

/* --- Countdown principal --- */
.cal-countdown-main {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.cal-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gray-light);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-width: 68px;
}

.cal-cd-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--nintendo-red);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cal-cd-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-top: 4px;
}

.cal-cd-sep {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-border);
  margin: 0 2px;
  padding-bottom: 16px;
}

.cal-next-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Stats bar --- */
.cal-stats-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.cal-stat {
  flex: 1;
  background: white;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cal-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--nintendo-red);
}

.cal-stat-label {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- Filtres --- */
.cal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.cal-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
  cursor: pointer;
  transition: var(--transition);
}

.cal-filter-btn:hover {
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}

.cal-filter-btn.active {
  background: var(--nintendo-red);
  border-color: var(--nintendo-red);
  color: white;
}

/* --- Sections par mois --- */
.cal-month-section {
  margin-bottom: 36px;
}

.cal-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--nintendo-red);
}

.cal-month-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.cal-current-badge {
  background: var(--nintendo-red);
  color: white;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.cal-month-count {
  font-size: 14px;
  color: var(--gray-text);
  font-weight: 600;
}

/* --- Cartes de jeu --- */
.cal-games-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cal-game-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition);
}

.cal-game-card:hover {
  border-color: var(--nintendo-red);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.cal-game-card.cal-hidden {
  display: none;
}

/* Date badge */
.cal-game-date-badge {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  background: var(--nintendo-red);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cal-date-day {
  font-size: 1.3rem;
  font-weight: 800;
}

.cal-date-month {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Thumbnail */
.cal-game-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cal-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cal-game-placeholder {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Info */
.cal-game-info {
  flex: 1;
  min-width: 0;
}

.cal-game-name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.cal-game-name a {
  color: inherit;
  text-decoration: none;
}

.cal-game-name a:hover {
  color: var(--nintendo-red);
}

.cal-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.cal-game-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 600;
}

.cal-mini-cd {
  color: var(--nintendo-red);
  font-weight: 700;
}

/* --- État vide --- */
.cal-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-text);
}

.cal-empty p {
  font-size: 1.1rem;
  margin-top: 16px;
}

/* --- Sorties récentes --- */
.cal-recent-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--gray-border);
}

.cal-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 20px;
}

.cal-recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.cal-recent-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: white;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.cal-recent-card:hover {
  border-color: var(--nintendo-red);
  box-shadow: var(--shadow-sm);
}

.cal-recent-card img {
  width: 70px;
  height: 46px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cal-recent-placeholder {
  width: 70px;
  height: 46px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-recent-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cal-recent-info strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-recent-info span {
  font-size: 12px;
  color: var(--gray-text);
}

.cal-recent-score {
  color: var(--nintendo-red) !important;
  font-weight: 700;
}

/* --- Responsive calendrier --- */

/* Page calendrier : pleine largeur sans sidebar */
.calendar-page {
  grid-column: 1 / -1;
}

/* Tablette */
@media (max-width: 900px) {
  .cal-next-body {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .cal-next-image {
    width: 100%;
    height: 200px;
  }

  .cal-next-title {
    font-size: 1.25rem;
  }

  .cal-countdown-main {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cal-cd-unit {
    padding: 8px 12px;
    min-width: 60px;
  }

  .cal-cd-number {
    font-size: 1.5rem;
  }

  .cal-stats-bar {
    gap: 10px;
  }

  .cal-stat {
    padding: 12px 14px;
  }

  .cal-stat-number {
    font-size: 1.3rem;
  }

  .cal-game-card {
    gap: 12px;
    padding: 12px;
  }

  .cal-game-thumb {
    width: 72px;
    height: 48px;
  }

  .cal-recent-grid {
    grid-template-columns: 1fr;
  }

  .cal-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cal-next-release {
    border-radius: var(--radius-md);
    margin-bottom: 20px;
  }

  .cal-next-badge {
    padding: 6px 14px;
    font-size: 11px;
  }

  .cal-next-body {
    padding: 16px;
    gap: 14px;
  }

  .cal-next-image {
    height: 160px;
    border-radius: var(--radius-sm);
  }

  .cal-next-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .cal-next-meta {
    gap: 6px;
    margin-bottom: 8px;
  }

  .cal-console-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .cal-genre-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .cal-next-date {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .cal-countdown-main {
    gap: 3px;
  }

  .cal-cd-unit {
    padding: 6px 8px;
    min-width: 52px;
  }

  .cal-cd-number {
    font-size: 1.2rem;
  }

  .cal-cd-label {
    font-size: 9px;
  }

  .cal-cd-sep {
    font-size: 1.1rem;
    margin: 0 1px;
    padding-bottom: 12px;
  }

  .cal-next-link {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  /* Stats */
  .cal-stats-bar {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }

  .cal-stat {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
  }

  .cal-stat-number {
    font-size: 1.1rem;
  }

  .cal-stat-label {
    font-size: 12px;
  }

  /* Filtres */
  .cal-filters {
    gap: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .cal-filters::-webkit-scrollbar {
    display: none;
  }

  .cal-filter-btn {
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Mois */
  .cal-month-section {
    margin-bottom: 24px;
  }

  .cal-month-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .cal-month-title {
    font-size: 1rem;
    gap: 8px;
  }

  .cal-month-count {
    font-size: 12px;
  }

  /* Game cards mobile : layout vertical compact */
  .cal-games-grid {
    gap: 10px;
  }

  .cal-game-card {
    gap: 10px;
    padding: 10px;
  }

  .cal-game-date-badge {
    width: 44px;
    height: 44px;
  }

  .cal-date-day {
    font-size: 1.05rem;
  }

  .cal-date-month {
    font-size: 9px;
  }

  .cal-game-thumb {
    width: 60px;
    height: 40px;
  }

  .cal-game-name {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .cal-game-tags {
    gap: 4px;
    margin-bottom: 4px;
  }

  .cal-game-tags .cal-console-tag,
  .cal-game-tags .cal-genre-tag {
    font-size: 10px;
    padding: 2px 6px;
  }

  .cal-game-countdown {
    font-size: 11px;
    gap: 4px;
  }

  /* Recent */
  .cal-recent-section {
    margin-top: 30px;
    padding-top: 20px;
  }

  .cal-section-title {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .cal-recent-grid {
    gap: 10px;
  }

  .cal-recent-card {
    padding: 10px;
    gap: 10px;
  }

  .cal-recent-card img {
    width: 56px;
    height: 38px;
  }

  .cal-recent-placeholder {
    width: 56px;
    height: 38px;
  }

  .cal-recent-info strong {
    font-size: 0.85rem;
  }
}

/* Très petit mobile */
@media (max-width: 380px) {
  .cal-game-card {
    flex-wrap: wrap;
  }

  .cal-game-thumb {
    display: none;
  }

  .cal-game-info {
    flex-basis: calc(100% - 54px);
  }

  .cal-cd-unit {
    min-width: 44px;
    padding: 5px 6px;
  }

  .cal-cd-number {
    font-size: 1rem;
  }

  .cal-cd-sep {
    font-size: 0.9rem;
  }

  .cal-next-image {
    height: 120px;
  }

  .cal-countdown-main {
    gap: 2px;
  }
}

/* Content video embed */
.article-body .gkc-video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.article-body .gkc-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video size classes */
.article-body .gkc-vid-small {
  max-width: 33%;
}

.article-body .gkc-vid-medium {
  max-width: 60%;
}

.article-body .gkc-vid-large {
  max-width: 100%;
}

/* Video alignment (reuse same gkc-align-* classes as images) */
.article-body .gkc-video-embed.gkc-align-left {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.article-body .gkc-video-embed.gkc-align-right {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}

.article-body .gkc-video-embed.gkc-align-center {
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

/* ======================================
   EDITOR RESPONSIVE
   ====================================== */
@media (max-width: 768px) {
  .type-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .type-card {
    padding: 30px 20px;
  }

  .type-card h3 {
    font-size: 22px;
  }

  .editor-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .editor-toolbar {
    padding: 6px 8px;
    gap: 2px;
  }

  .toolbar-label {
    display: none;
  }

  .toolbar-separator {
    height: 20px;
    margin: 0 4px;
  }

  .size-options {
    flex-direction: column;
  }

  .editor-modal-content {
    max-width: 100%;
    max-height: 90vh;
  }

  .media-options-grid {
    grid-template-columns: 1fr;
  }

  .media-preview-card {
    flex-direction: column;
    text-align: center;
  }

  .media-preview-img-wrap {
    width: 100%;
    height: 140px;
  }

  .media-dropzone {
    padding: 24px 16px;
  }

  .article-body figure.gkc-img-small,
  .article-body figure.gkc-img-medium {
    max-width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .article-body .gkc-vid-small,
  .article-body .gkc-vid-medium {
    max-width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

.gkc-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.contact-math-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-math-question {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 10px 16px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
  background: var(--nintendo-red);
  color: var(--white);
  border-color: var(--nintendo-red);
}

/* ============================================
   PAGES CONNEXION/INSCRIPTION
   ============================================ */

.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-box {
  background: var(--white);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: var(--shadow-lg);
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 30px;
}

.auth-box .form-group {
  margin-bottom: 20px;
}

.auth-box label {
  display: block;
  font-weight: 600;
  color: var(--nintendo-red);
  margin-bottom: 8px;
}

.auth-box input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.auth-box input:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

.auth-box .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 1rem;
}

.auth-box .auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Formulaire de connexion WordPress */
.auth-box .login-remember {
  margin: 15px 0;
}

.auth-box .login-remember label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
}

.auth-box .login-remember input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

/* ============================================
   MESSAGES & ALERTES
   ============================================ */

.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
}

.alert-info {
  background: #fff3cd;
  border: 2px solid #ffc107;
  color: #856404;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   NAVBAR — MODE DESKTOP COMPACT (1080px → 1400px)
   Réduit les espacements pour retarder le hamburger
   ============================================ */
@media (max-width: 1400px) and (min-width: 1081px) {
  .header-inner {
    padding: 10px 15px;
  }

  .site-logo {
    gap: 8px;
  }

  .site-logo svg {
    width: 38px;
    height: 38px;
  }

  .site-logo-text {
    font-size: 1.2rem;
  }

  .main-nav ul {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    padding: 6px 0;
  }

  .user-menu {
    gap: 8px;
  }

  .user-badge {
    padding: 5px 8px;
    gap: 6px;
  }

  .user-badge .user-info {
    display: none;
  }

  .user-badge .avatar {
    width: 28px;
    height: 28px;
  }

  .btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .header-actions {
    gap: 6px;
  }

  .dark-mode-toggle,
  .header-search-btn {
    width: 32px;
    height: 32px;
  }
}

/* ============================================
   NAVBAR — PASSAGE HAMBURGER (1080px)
   Le menu desktop devient un menu burger
   ============================================ */
@media (max-width: 1080px) {
  .header-inner {
    flex-wrap: wrap;
    position: relative;
    padding: 10px 15px;
    gap: 8px;
  }

  .site-logo {
    flex: 0 0 auto;
    order: 1;
  }

  /* ---- Panneau Nav slide-down fluide ---- */
  .main-nav {
    order: 4;
    width: 100%;
    background: var(--white);
    margin-top: 0;
    padding: 0 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    border-top: 2px solid transparent;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0);
    transition:
      max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.35s ease,
      transform 0.35s ease,
      padding 0.35s ease,
      border-color 0.3s ease 0.05s,
      margin-top 0.35s ease,
      box-shadow 0.35s ease;
  }

  .main-nav.active {
    max-height: 85vh;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    padding: 8px 0 10px;
    margin-top: 8px;
    border-top-color: var(--gray-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  /* ---- Liens nav : stagger + style ---- */
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    opacity: 0;
    transform: translateX(-16px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .main-nav.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.active li:nth-child(1) {
    transition-delay: 0.06s;
  }
  .main-nav.active li:nth-child(2) {
    transition-delay: 0.1s;
  }
  .main-nav.active li:nth-child(3) {
    transition-delay: 0.14s;
  }
  .main-nav.active li:nth-child(4) {
    transition-delay: 0.18s;
  }
  .main-nav.active li:nth-child(5) {
    transition-delay: 0.22s;
  }
  .main-nav.active li:nth-child(6) {
    transition-delay: 0.26s;
  }

  .main-nav ul a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    margin: 0 8px;
    transition: all 0.2s ease;
    min-height: 48px; /* Minimum touch target */
  }

  .main-nav ul a:hover {
    background: rgba(255, 0, 0, 0.06);
    border-left-color: var(--nintendo-red);
    padding-left: 22px;
  }

  .main-nav ul a.active {
    background: rgba(255, 0, 0, 0.08);
    border-left-color: var(--nintendo-red);
    color: var(--nintendo-red);
    font-weight: 700;
  }

  .main-nav ul a svg {
    flex-shrink: 0;
  }

  .main-nav ul a::after {
    display: none;
  }

  /* ---- Auth buttons dans le burger ---- */
  .mobile-auth-buttons {
    display: block;
    padding: 14px 16px;
    border-top: 1px solid var(--gray-border);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.3s ease 0.2s,
      transform 0.3s ease 0.2s;
  }

  .main-nav.active .mobile-auth-buttons {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-auth-btns-row {
    margin-top: 10px;
    gap: 10px;
  }

  .mobile-auth-btn {
    text-align: center;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    border-radius: var(--radius-sm);
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
    order: 3;
  }

  .dark-mode-toggle {
    width: 34px;
    height: 34px;
  }

  .header-search-btn {
    width: 34px;
    height: 34px;
  }

  /* Masquer le menu utilisateur desktop sur mobile */
  .user-menu {
    display: none !important;
  }

  /* Actions header visibles sur mobile */
  .header-actions {
    order: 2;
    margin-left: auto;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 40px 20px;
  }

  .hero-banner h1 {
    font-size: 1.8rem;
  }

  .hero-banner p {
    font-size: 1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .single-article .article-body {
    padding: 20px 15px;
  }

  .single-article .article-title {
    font-size: 1.5rem;
  }

  .single-article .article-meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .single-article .article-header .favorite-toggle {
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
  }

  .single-article .article-badges {
    top: 12px;
    left: 12px;
  }

  .single-article .article-header.no-image {
    padding: 12px 15px;
  }

  .single-article .article-header.no-image .favorite-toggle {
    width: 34px;
    height: 34px;
  }

  .article-title-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .article-title-bar h1 {
    font-size: 1.5rem;
  }

  .reviews-summary {
    padding: 20px;
  }

  .overall-rating {
    flex-direction: column;
  }

  .recommendation-stats {
    grid-template-columns: 1fr;
  }

  .review-header {
    flex-direction: column;
    gap: 12px;
  }

  .tester-rating-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 20px;
  }

  .tester-rating-box .rating-score {
    padding: 20px;
  }

  .tester-rating-box .big-score {
    font-size: 3.5rem;
  }

  .tester-rating-box .verdict {
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .auth-box {
    padding: 25px 20px;
  }

  /* Section headers responsive */
  .section-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }

  .section-header .btn {
    align-self: flex-start;
    font-size: 0.8rem;
  }

  /* CTA section */
  .cta-section {
    padding: 35px 20px !important;
  }

  .cta-section h2 {
    font-size: 1.5rem !important;
  }

  /* Contact page responsive */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact-propose-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-propose-content h2 {
    justify-content: center;
  }

  .contact-social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-testeur-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-testeur-text h2 {
    justify-content: center;
  }

  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  /* Editor form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Testers grid */
  .testers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .site-logo svg {
    width: 32px;
    height: 32px;
  }

  .site-logo-text {
    font-size: 1rem;
  }

  .site-logo {
    gap: 6px;
  }

  .mobile-menu-toggle {
    order: 3;
    padding: 8px;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
    margin: 4px 0;
  }

  .dark-mode-toggle {
    width: 30px;
    height: 30px;
  }

  .header-search-btn {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-inner {
    padding: 8px 12px;
  }

  /* ---- Hamburger menu adaptations 480px ---- */
  .main-nav a {
    padding: 12px 14px;
    font-size: 0.95rem;
    margin: 0 4px;
    min-height: 44px;
  }

  .mobile-user-profile {
    padding: 12px;
    gap: 10px;
  }

  .mobile-user-profile .avatar {
    width: 36px;
    height: 36px;
  }

  .mobile-user-name {
    font-size: 0.88rem;
  }

  .mobile-auth-buttons {
    padding: 12px;
  }

  .mobile-auth-btns-row {
    flex-direction: column;
    gap: 8px;
  }

  .mobile-auth-btn {
    width: 100%;
    padding: 12px !important;
    font-size: 0.92rem !important;
  }

  .hero-banner {
    padding: 30px 15px;
  }

  .hero-banner h1 {
    font-size: 1.5rem;
  }

  .hero-banner p {
    font-size: 0.9rem;
  }

  /* Contact page 480px */
  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-social-grid {
    grid-template-columns: 1fr;
  }

  .contact-card--form .contact-form-fields {
    padding: 16px;
  }

  .contact-card-header {
    padding: 12px 16px;
  }

  .contact-propose-card {
    padding: 20px;
  }

  .contact-testeur-banner {
    padding: 24px 20px;
  }

  .hero-banner .switch-icons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .hero-banner .switch-icon {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .site-content {
    padding: 20px 12px;
  }

  .tester-rating-box {
    padding: 20px 15px;
    margin: 20px 0;
  }

  .tester-rating-box .big-score {
    font-size: 3rem;
  }

  .tester-rating-box .score-max {
    font-size: 1.2rem;
  }

  .tester-rating-box .verdict {
    font-size: 0.95rem;
  }

  .single-article .article-body {
    padding: 20px 12px;
  }

  .single-article .article-title {
    font-size: 1.2rem;
  }

  .single-article .article-content {
    font-size: 0.95rem;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .review-form-container {
    padding: 20px 15px;
  }

  .review-card {
    padding: 18px 15px;
  }

  .review-author img {
    width: 40px;
    height: 40px;
  }

  .sidebar-widget {
    padding: 18px 15px;
  }

  .footer-main {
    padding: 30px 15px;
    gap: 25px;
  }

  .footer-bottom {
    padding: 15px 12px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  .pagination a,
  .pagination span {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .search-modal-content {
    margin: 5vh 10px 0;
    padding: 20px 15px;
  }

  .search-modal-form {
    flex-direction: column;
  }

  .search-modal-form input {
    width: 100%;
    font-size: 16px;
  }

  .search-modal-form .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cartes article : hype bar + stats */
  .article-card .card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .article-card .card-stats {
    width: 100%;
    justify-content: flex-start;
  }

  .hype-bar-mini .hype-bar-track {
    width: 30px;
  }

  /* Sélecteur note /10 mobile */
  .number-rating-input {
    gap: 3px;
  }

  .number-rating-label {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    border-width: 1.5px;
  }

  .rating-scale-hints {
    max-width: calc(10 * 30px + 9 * 3px);
    font-size: 0.7rem;
  }

  /* Comparateur petit écran */
  .comparateur-title {
    font-size: 1.3rem;
  }

  .vs-badge {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .vs-bar-left,
  .vs-bar-right {
    font-size: 0.65rem;
    padding: 0 6px;
    min-width: 24px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-card {
  animation: fadeIn 0.5s ease forwards;
}

.article-card:nth-child(2) {
  animation-delay: 0.1s;
}
.article-card:nth-child(3) {
  animation-delay: 0.2s;
}
.article-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* ============================================
   BREADCRUMBS (FIL D'ARIANE)
   ============================================ */

.breadcrumbs {
  background: var(--white);
  padding: 1rem 20px;
  margin: 0 auto 1.5rem;
  max-width: 1200px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-item a:hover {
  color: var(--nintendo-red);
}

.breadcrumb-item.active {
  color: var(--nintendo-red);
  font-weight: 600;
}

.breadcrumb-separator {
  color: var(--gray-border);
  display: flex;
  align-items: center;
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 0.8rem;
  }

  .breadcrumb-separator {
    margin: 0 0.25rem;
  }
}

/* ============================================
   UTILITAIRES
   ============================================ */

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.hidden {
  display: none;
}

.empty-message {
  text-align: center;
  color: var(--gray-text);
  padding: 40px 20px;
  font-size: 0.95rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   PARTAGE SOCIAL
   ============================================ */

.social-share {
  background: var(--gray-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  text-align: center;
}

.share-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.share-twitter {
  background: #000000;
  color: #ffffff;
}

.share-twitter:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.share-facebook {
  background: #1877f2;
  color: #ffffff;
}

.share-facebook:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.share-reddit {
  background: #ff4500;
  color: #ffffff;
}

.share-reddit:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.share-copy {
  background: var(--gray-border);
  color: var(--text-dark);
}

.share-copy:hover {
  transform: translateY(-2px);
}

.share-copy.copied {
  background: #28a745;
  color: #ffffff;
}

@media (max-width: 768px) {
  .share-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   MODAL PERSONNALISÉ
   ============================================ */

.gkc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gkc-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gkc-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(255, 0, 0, 0.3);
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gkc-modal-overlay.active .gkc-modal {
  transform: scale(1);
}

.gkc-modal-icon {
  font-size: 64px;
  margin-bottom: 15px;
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.modal-icon-question {
  color: var(--nintendo-red);
}

.modal-icon-info {
  color: #0066ff;
}

.modal-icon-success {
  color: #00cc00;
}

.modal-icon-error {
  color: var(--nintendo-red);
}

.gkc-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.gkc-modal-message {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
}

.gkc-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.gkc-modal-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
}

.gkc-modal-confirm {
  background: var(--nintendo-red);
  color: #ffffff;
}

.gkc-modal-confirm:hover {
  background: var(--nintendo-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.gkc-modal-confirm:active {
  transform: translateY(0);
}

.gkc-modal-cancel {
  background: #f5f5f5;
  color: #666666;
}

.gkc-modal-cancel:hover {
  background: #e0e0e0;
  color: #333333;
}

/* Mobile */
@media (max-width: 480px) {
  .gkc-modal {
    padding: 25px 20px;
    width: 95%;
  }

  .gkc-modal-icon {
    font-size: 48px;
  }

  .gkc-modal-title {
    font-size: 20px;
  }

  .gkc-modal-message {
    font-size: 14px;
  }

  .gkc-modal-buttons {
    flex-direction: column;
  }

  .gkc-modal-btn {
    max-width: 100%;
    width: 100%;
  }
}

/* ============================================
   MODAL SIGNALEMENT — GAMING STYLE
   ============================================ */

.rpt-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rpt-overlay.rpt-visible {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.rpt-modal {
  position: relative;
  width: 92%;
  max-width: 460px;
  background: linear-gradient(165deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rpt-visible .rpt-modal {
  transform: scale(1) translateY(0);
}

/* Barre supérieure décorative */
.rpt-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #ff0000,
    #e60012,
    #ff0000,
    transparent
  );
}

/* Bouton fermer */
.rpt-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  padding: 0;
}

.rpt-close:hover {
  background: rgba(220, 53, 69, 0.3);
  border-color: #dc3545;
  color: #fff;
  transform: rotate(90deg);
}

/* Header */
.rpt-header {
  text-align: center;
  padding: 32px 24px 20px;
}

.rpt-shield {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dc3545, #ff0000);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(220, 53, 69, 0.35);
  animation: rptShieldPulse 2s ease-in-out infinite;
}

@keyframes rptShieldPulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.35);
  }
  50% {
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.55);
  }
}

.rpt-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.rpt-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Liste des raisons */
.rpt-reasons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px;
  margin-bottom: 14px;
}

.rpt-reason {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.rpt-reason:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.rpt-reason.rpt-selected {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.5);
  box-shadow: 0 0 20px rgba(220, 53, 69, 0.1);
}

.rpt-reason-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.rpt-reason.rpt-selected .rpt-reason-icon {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.rpt-reason-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.rpt-reason.rpt-selected .rpt-reason-label {
  color: #fff;
}

.rpt-reason-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: transparent;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.rpt-reason.rpt-selected .rpt-reason-check {
  border-color: #dc3545;
  background: #dc3545;
  color: #fff;
  transform: scale(1.1);
}

/* Textarea détails */
.rpt-details-wrap {
  padding: 0 20px;
  margin-bottom: 8px;
}

.rpt-details {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  min-height: 48px;
  max-height: 100px;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.rpt-details::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.rpt-details:focus {
  outline: none;
  border-color: rgba(220, 53, 69, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

/* Footer boutons */
.rpt-footer {
  display: flex;
  gap: 10px;
  padding: 16px 20px 22px;
}

.rpt-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.rpt-btn-cancel {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rpt-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.rpt-btn-submit {
  background: linear-gradient(135deg, #dc3545, #ff0000);
  color: #fff;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.35);
}

.rpt-btn-submit:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(220, 53, 69, 0.5);
  transform: translateY(-1px);
}

.rpt-btn-submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 480px) {
  .rpt-modal {
    width: 96%;
    max-width: none;
    border-radius: 16px;
  }

  .rpt-header {
    padding: 28px 18px 16px;
  }

  .rpt-reasons {
    padding: 0 14px;
  }

  .rpt-reason {
    padding: 10px 12px;
    gap: 10px;
  }

  .rpt-reason-icon {
    width: 34px;
    height: 34px;
  }

  .rpt-reason-label {
    font-size: 13px;
  }

  .rpt-details-wrap {
    padding: 0 14px;
  }

  .rpt-footer {
    padding: 14px 14px 18px;
  }
}

/* ============================================
   SYSTÈME DE RANG (BADGES MINIMALISTES)
   ============================================ */

.profile-badges-section {
  margin: 30px 0;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.profile-badges-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nintendo-red);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* Badge principal */
.badge-rank-display {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge-rank-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fafafa;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--nintendo-red);
}

.badge-rank-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-rank-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-rank-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--nintendo-red);
}

.badge-rank-desc {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* Barre de progression */
.badge-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-text);
}

.badge-progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.badge-progress-fill {
  height: 100%;
  background: var(--nintendo-red);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Liste des rangs */
.badge-ranks-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.badge-rank-item:hover {
  background: #f5f5f5;
}

.badge-rank-item.current {
  background: #fff0f0;
  border: 1px solid var(--nintendo-red);
}

.badge-rank-item.locked {
  opacity: 0.35;
}

.badge-rank-item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-rank-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.badge-rank-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.badge-rank-item-cond {
  font-size: 0.75rem;
  color: var(--gray-text);
}

.badge-rank-check {
  color: var(--nintendo-red);
  font-weight: 700;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-badges-section {
    padding: 20px 15px;
  }

  .badge-rank-main {
    padding: 15px;
  }

  .badge-rank-icon {
    width: 40px;
    height: 40px;
  }

  .badge-rank-icon svg {
    width: 40px;
    height: 40px;
  }

  .badge-rank-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .profile-badges-section h3 {
    font-size: 1rem;
  }

  .badge-rank-item {
    padding: 8px;
  }
}

/* ============================================
   HYPE-O-MÈTRE
   ============================================ */

/* Mini bar (carte article) */
.hype-bar-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--gray-text);
}

.hype-bar-mini .hype-bar-track {
  width: 40px;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.hype-bar-mini .hype-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s;
}

.hype-bar-mini .hype-bar-label {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  white-space: nowrap;
}

/* Couleurs selon niveau */
.hype-fire .hype-bar-fill {
  background: var(--nintendo-red);
}
.hype-warm .hype-bar-fill {
  background: #ff6b35;
}
.hype-mild .hype-bar-fill {
  background: #ffa500;
}
.hype-cold .hype-bar-fill {
  background: #999;
}

.hype-fire .hype-bar-label {
  color: var(--nintendo-red);
}
.hype-warm .hype-bar-label {
  color: #ff6b35;
}
.hype-mild .hype-bar-label {
  color: var(--gray-text);
}
.hype-cold .hype-bar-label {
  color: var(--gray-text);
}

/* Widget complet (single post) */
.hype-widget {
  margin: 30px 0;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid #f0f0f0;
  transition: border-color 0.3s;
}

.hype-widget:hover {
  border-color: var(--nintendo-red);
}

.hype-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hype-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.hype-count {
  font-size: 0.85rem;
  color: var(--gray-text);
}

.hype-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.hype-score-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.hype-fire .hype-score-value {
  color: var(--nintendo-red);
}
.hype-warm .hype-score-value {
  color: #ff6b35;
}
.hype-mild .hype-score-value {
  color: #ffa500;
}
.hype-cold .hype-score-value {
  color: #999;
}

.hype-score-max {
  font-size: 1.2rem;
  color: var(--gray-text);
  font-weight: 600;
}

.hype-score-label {
  margin-left: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Barre pleine */
.hype-bar-full .hype-bar-track {
  width: 100%;
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}

.hype-bar-full .hype-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s ease;
}

/* Distribution */
.hype-distribution {
  margin-bottom: 20px;
}

.hype-dist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.hype-dist-label {
  width: 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-text);
}

.hype-dist-bar {
  flex: 1;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.hype-dist-fill {
  height: 100%;
  background: var(--nintendo-red);
  border-radius: 3px;
  transition: width 0.4s;
}

.hype-dist-count {
  width: 20px;
  text-align: right;
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* Boutons de vote */
.hype-vote-section {
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.hype-vote-label {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hype-vote-buttons {
  display: flex;
  gap: 8px;
}

.hype-vote-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  background: #f8f8f8;
  border: 2px solid #eee;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.hype-vote-btn:hover {
  border-color: var(--nintendo-red);
  background: #fff5f5;
  transform: translateY(-2px);
}

.hype-vote-btn.active {
  border-color: var(--nintendo-red);
  background: #fff0f0;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.15);
}

.hype-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--gray-text);
}

.hype-emoji svg {
  width: 20px;
  height: 20px;
}

.hype-vote-btn.active .hype-emoji {
  color: var(--nintendo-red);
}

.hype-vote-btn:hover .hype-emoji {
  color: var(--nintendo-red);
}

.hype-btn-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
}

.hype-vote-btn.active .hype-btn-label {
  color: var(--nintendo-red);
}

.hype-login-cta {
  text-align: center;
  padding: 12px;
  border-top: 1px solid #f0f0f0;
}

.hype-login-cta a {
  color: var(--nintendo-red);
  font-weight: 600;
  text-decoration: none;
}

.hype-login-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .hype-widget {
    padding: 16px;
  }

  .hype-score-value {
    font-size: 2rem;
  }

  .hype-vote-btn {
    padding: 8px 4px;
  }

  .hype-emoji {
    width: 20px;
    height: 20px;
  }

  .hype-emoji svg {
    width: 16px;
    height: 16px;
  }

  .hype-btn-label {
    font-size: 0.6rem;
  }
}

/* ============================================
   COMPARATEUR VS
   ============================================ */

.comparateur-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.comparateur-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.comparateur-subtitle {
  text-align: center;
  color: var(--gray-text);
  margin-bottom: 30px;
}

.comparateur-selectors {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.selector-box {
  flex: 1;
  position: relative;
}

.selector-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.game-search-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid #eee;
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.game-search-input:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

.game-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid #eee;
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  max-height: 350px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.game-search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f5f5f5;
}

.search-result-item:hover {
  background: #fff5f5;
}

.search-result-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.search-result-cat {
  font-size: 0.75rem;
  color: var(--gray-text);
}

.search-results-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-text);
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1;
}

.search-results-header svg {
  opacity: 0.5;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-result-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e60012, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-result-rating small {
  font-size: 0.6rem;
  font-weight: 600;
}

.search-result-console {
  font-size: 0.7rem;
  color: var(--gray-text);
  padding: 1px 6px;
  background: #f0f0f0;
  border-radius: 999px;
}

.vs-separator {
  font-size: 2rem;
  font-weight: 900;
  color: var(--nintendo-red);
  text-shadow: 0 2px 8px rgba(255, 0, 0, 0.15);
  flex-shrink: 0;
}

/* Battle arena */
.vs-arena {
  display: none;
}

.vs-arena.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Cards VS ---- */
.vs-cards {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
}

.vs-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid #eee;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.vs-card:hover {
  border-color: var(--nintendo-red);
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.1);
}

.vs-card-visual {
  position: relative;
  overflow: hidden;
}

.vs-card-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.vs-card-no-thumb {
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
}

.vs-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.vs-card-big-score {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.vs-card-big-score small {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
}

.vs-card-body {
  padding: 16px 20px 20px;
}

.vs-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
  line-height: 1.3;
}

.vs-card-title a {
  color: inherit;
  text-decoration: none;
}

.vs-card-title a:hover {
  color: var(--nintendo-red);
}

.vs-card-info {
  font-size: 0.78rem;
  color: var(--gray-text);
  margin-bottom: 12px;
}

.vs-card-moods {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.vs-mood-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* VS Badge center */
.vs-center-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.vs-badge-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vsPulse 2s ease-in-out infinite;
}

.vs-badge {
  width: 56px;
  height: 56px;
  background: var(--nintendo-red);
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
  letter-spacing: 1px;
}

@keyframes vsPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* ---- Comparison section ---- */
.vs-comparison-section {
  margin-top: 32px;
  background: var(--white);
  border: 2px solid #eee;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.vs-section-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.vs-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vs-section-title svg {
  color: var(--nintendo-red);
}

.vs-section-names {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-text);
}

.vs-name-left {
  color: var(--nintendo-red);
}

.vs-name-right {
  color: var(--black);
}

/* Barres */
.vs-bar-row {
  margin-bottom: 16px;
}

.vs-bar-row:last-child {
  margin-bottom: 0;
}

.vs-bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.vs-bar-label svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.vs-bar-battle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vs-bar-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gray-text);
  min-width: 50px;
  text-align: center;
  transition: color 0.3s;
}

.vs-bar-val-left {
  text-align: right;
}

.vs-bar-val-right {
  text-align: left;
}

.vs-bar-track {
  flex: 1;
  display: flex;
  height: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
  gap: 2px;
}

.vs-bar-left {
  background: var(--nintendo-red);
  border-radius: 12px 0 0 12px;
  transition: width 0s;
  min-width: 8px;
}

.vs-bar-left.vs-bar-animated {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.vs-bar-right {
  background: var(--black);
  border-radius: 0 12px 12px 0;
  transition: width 0s;
  min-width: 8px;
}

.vs-bar-right.vs-bar-animated {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blocs Notes en bleu */
.vs-scores-block {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.vs-scores-row {
  flex: 1;
  background: #fff5f0;
  border: 2px solid #ffd4b8;
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}

.vs-scores-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cc4400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.vs-scores-label svg {
  width: 14px;
  height: 14px;
}

.vs-scores-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.vs-score-blue,
.vs-score-global {
  font-size: 1.6rem;
  font-weight: 900;
  color: #cc4400;
  background: #fff;
  border: 2px solid #ffd4b8;
  border-radius: var(--radius-md);
  padding: 8px 18px;
  min-width: 70px;
  transition: all 0.3s;
}

.vs-score-blue.vs-score-blue-best,
.vs-score-global.vs-score-global-best {
  color: #fff;
  background: linear-gradient(135deg, #e60012, #ff0000);
  border-color: #e60012;
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.35);
}

.vs-scores-vs {
  font-size: 0.7rem;
  font-weight: 800;
  color: #999;
  text-transform: uppercase;
}

.vs-scores-row-single {
  max-width: 500px;
  margin: 0 auto;
}

.vs-scores-detail {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--gray-text);
  font-weight: 600;
}

.vs-detail-community {
  color: #6495ed;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vs-detail-community svg {
  width: 12px;
  height: 12px;
}

/* Card community info */
.vs-card-community-info {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--gray-text);
}
.vs-card-community-info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vs-card-community-info svg {
  width: 13px;
  height: 13px;
}
.vs-card-reviews {
  color: #6495ed;
  font-weight: 600;
}
.vs-card-recommend {
  color: #2ecc71;
  font-weight: 600;
}

/* ===== RADAR COMPARATIF ===== */
.vs-widget-radar {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 12px 0;
}

.vs-radar-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-text);
}
.vs-radar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vs-radar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.vs-radar-svg-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 16px;
  max-width: 320px;
}
.vs-radar-svg {
  width: 100%;
  height: auto;
}
[data-theme="dark"] .vs-radar-svg line,
[data-theme="dark"] .vs-radar-svg polygon[fill="none"] {
  stroke: #444;
}
[data-theme="dark"] .vs-radar-svg text {
  fill: #aaa;
}
[data-theme="dark"] .vs-radar-svg polygon[stroke="#333"] {
  stroke: #ccc;
}
[data-theme="dark"] .vs-radar-svg polygon[fill="rgba(50,50,50,0.15)"] {
  fill: rgba(200, 200, 200, 0.15);
}
[data-theme="dark"] .vs-radar-svg circle[fill="#333"] {
  fill: #ccc;
}

/* Tableau critères sous le radar */
.vs-radar-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 400px;
  margin: 0 auto;
}
.vs-radar-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: var(--gray-lighter);
  font-size: 0.82rem;
}
.vs-radar-label {
  text-align: center;
  font-weight: 700;
  color: var(--gray-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: 80px;
}
.vs-radar-val {
  font-weight: 700;
  color: var(--gray-text);
}
.vs-radar-val-left {
  text-align: right;
  color: var(--nintendo-red);
}
.vs-radar-val-right {
  text-align: left;
  color: #333;
}
[data-theme="dark"] .vs-radar-val-right {
  color: #ccc;
}
.vs-criteria-winner {
  font-weight: 800;
  position: relative;
}
.vs-radar-val-left.vs-criteria-winner {
  color: var(--nintendo-red);
}
.vs-radar-val-left.vs-criteria-winner::after,
.vs-radar-val-right.vs-criteria-winner::after {
  content: "★";
  margin-left: 4px;
  font-size: 0.7rem;
}

/* Stat texte (verdict, difficulté) */
.vs-stat-text-row {
  margin-bottom: 12px;
}

.vs-stat-text-battle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.vs-stat-text-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 6px 16px;
  background: #f5f5f5;
  border-radius: var(--radius-md);
  min-width: 80px;
  text-align: center;
}

.vs-stat-text-sep {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gray-text);
  text-transform: uppercase;
}

/* ---- Widget rows comparateur ---- */
.vs-widget-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.vs-widget-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vs-widget-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vs-widget-header svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.vs-widget-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: flex-start;
}

.vs-widget-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vs-widget-divider {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gray-text);
  text-transform: uppercase;
  align-self: center;
  padding-top: 10px;
}

.vs-widget-voters {
  font-size: 0.68rem;
  color: var(--gray-text);
  margin-top: 4px;
}

.vs-widget-sub-voters {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--gray-text);
  margin-top: 6px;
  padding: 0 55px;
}

.vs-widget-na {
  font-size: 0.8rem;
  color: #bbb;
  font-style: italic;
}

/* ===== Widget Temps de jeu (boxplot mini) ===== */
.vs-pt-big {
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  text-align: center;
}

.vs-pt-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-text);
  margin-left: 2px;
}

.vs-pt-sublabel {
  font-size: 0.7rem;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vs-pt-boxplot {
  display: flex;
  height: 18px;
  border-radius: 6px;
  overflow: hidden;
  gap: 1px;
  margin-bottom: 4px;
}

.vs-pt-zone {
  min-width: 14%;
  height: 100%;
  transition: width 0.5s ease;
}

.vs-pt-speed {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  border-radius: 6px 0 0 6px;
}

.vs-pt-normal {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.vs-pt-compl {
  background: linear-gradient(135deg, #f9d423, #ff4e50);
  border-radius: 0 6px 6px 0;
}

.vs-pt-range {
  font-size: 0.68rem;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 2px;
}

/* ===== Widget Nombre d'avis ===== */
.vs-review-block {
  text-align: center;
}

.vs-review-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.vs-review-winner .vs-review-num {
  color: var(--nintendo-red);
}

.vs-review-bar-wrap {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
  margin: 8px auto 4px;
  max-width: 120px;
}

.vs-review-bar {
  height: 100%;
  background: var(--nintendo-red);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.vs-review-sub {
  font-size: 0.7rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .vs-pt-big,
[data-theme="dark"] .vs-review-num {
  color: #fff;
}

[data-theme="dark"] .vs-review-bar-wrap {
  background: #333;
}

/* Verdict badge dans comparateur */
.vs-verdict-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Mini courbe d'amusement */
.vs-funcurve-mini {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 70px;
}

.vs-fc-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
}

.vs-fc-bar-track {
  width: 18px;
  height: 50px;
  background: #f0f0f0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.vs-fc-bar-fill {
  width: 100%;
  border-radius: 4px;
  transition: height 0.5s ease;
  min-height: 2px;
}

.vs-fc-val {
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 2px;
}

.vs-fc-label {
  font-size: 0.55rem;
  color: var(--gray-text);
  text-transform: uppercase;
}

/* Mini jauge difficulté */
.vs-diff-gauge {
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
}

.vs-diff-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #2ecc71, #f39c12, #e74c3c);
  position: relative;
  overflow: visible;
}

.vs-diff-fill {
  display: none;
}

.vs-diff-marker {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #333;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.vs-diff-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 4px;
}

.vs-diff-label {
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 8px;
  text-align: center;
}

/* ---- Scoreboard ---- */
.vs-scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.vs-score-card {
  text-align: center;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  background: #f5f5f5;
  border: 2px solid transparent;
  transition: all 0.3s;
  min-width: 120px;
}

.vs-score-card.vs-score-winner {
  background: #fff5f5;
  border-color: var(--nintendo-red);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.12);
}

.vs-score-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.vs-score-winner .vs-score-num {
  color: var(--nintendo-red);
}

.vs-score-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-text);
  margin-top: 4px;
}

.vs-score-sep {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ccc;
}

/* ---- Verdict final ---- */
.vs-verdict {
  text-align: center;
  margin-top: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
}

.vs-verdict-draw {
  border-color: #ccc;
  background: linear-gradient(135deg, #f9f9f9, #fff);
}

.vs-verdict-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-text);
  margin-bottom: 8px;
  font-weight: 700;
}

.vs-verdict-result {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--nintendo-red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.vs-verdict-draw .vs-verdict-result {
  color: var(--text-dark);
}

.vs-verdict-score {
  font-size: 0.78rem;
  color: var(--gray-text);
  margin-top: 6px;
}

.vs-no-selection {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-text);
}

.vs-no-selection .vs-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.vs-no-selection p {
  font-size: 1rem;
}

/* ---- Responsive mobile ---- */
@media (max-width: 768px) {
  .comparateur-selectors {
    flex-direction: column;
    gap: 12px;
  }

  .selector-box {
    width: 100%;
  }

  .game-search-input {
    font-size: 16px;
    padding: 14px 16px;
  }

  .vs-separator {
    transform: none;
  }

  .vs-cards {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vs-card:first-child {
    order: -1;
  }

  .vs-center-divider {
    order: 0;
    padding: 12px 0;
  }

  .vs-card:last-child {
    order: 1;
  }

  .vs-badge-ring {
    width: 56px;
    height: 56px;
  }

  .vs-badge {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .vs-card-big-score {
    font-size: 1.6rem;
  }

  .comparateur-title {
    font-size: 1.5rem;
  }

  .comparateur-subtitle {
    font-size: 0.9rem;
  }

  .game-search-results {
    max-height: 200px;
  }

  .search-result-item {
    padding: 8px 12px;
  }

  .search-result-item img {
    width: 36px;
    height: 36px;
  }

  .vs-comparison-section {
    padding: 16px;
  }

  .vs-section-names {
    font-size: 0.7rem;
  }

  .vs-bar-val {
    font-size: 0.75rem;
    min-width: 38px;
  }

  .vs-bar-track {
    height: 18px;
  }

  .vs-stat-text-battle {
    flex-wrap: wrap;
    gap: 8px;
  }

  .vs-stat-text-val {
    font-size: 0.78rem;
    padding: 5px 12px;
    min-width: 60px;
  }

  .vs-scores-block {
    flex-direction: column;
    gap: 10px;
  }

  .vs-score-blue,
  .vs-score-global {
    font-size: 1.3rem;
    padding: 6px 14px;
    min-width: 55px;
  }

  .vs-scores-detail {
    flex-direction: column;
    gap: 6px;
  }

  /* Widgets comparateur mobile */
  .vs-widget-compare {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vs-widget-divider {
    padding-top: 0;
  }

  .vs-widget-sub-voters {
    padding: 0 10px;
  }

  .vs-funcurve-mini {
    height: 60px;
  }

  .vs-fc-bar-track {
    height: 40px;
  }

  .vs-diff-gauge {
    max-width: 120px;
  }

  /* Radar responsive */
  .vs-radar-svg-wrap {
    max-width: 240px;
  }
  .vs-radar-legend {
    gap: 12px;
    font-size: 0.72rem;
  }
  .vs-radar-row {
    padding: 4px 8px;
    font-size: 0.78rem;
  }
  .vs-radar-label {
    min-width: 60px;
    font-size: 0.68rem;
  }

  .vs-scoreboard {
    gap: 12px;
  }

  .vs-score-card {
    padding: 12px 20px;
    min-width: 90px;
  }

  .vs-score-num {
    font-size: 2rem;
  }

  .vs-verdict-result {
    font-size: 1.2rem;
  }
}

/* ============================================
   MOOD TAGS COMMUNAUTAIRES
   ============================================ */

.mood-tags-widget {
  clear: both; /* ne chevauche pas les floats d'images */
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 30px 0;
}

.mood-tags-widget h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nintendo-red);
  margin: 0 0 6px;
}

.mood-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin: 0 0 16px;
}

.mood-subtitle small {
  opacity: 0.7;
}

.mood-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mood-tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
}

.mood-tag:hover {
  border-color: #ccc;
  background: #fafafa;
}

.mood-tag--active {
  border-color: var(--nintendo-red);
  background: rgba(255, 0, 0, 0.04);
}

.mood-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.mood-label {
  flex: 1;
  z-index: 1;
}

.mood-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-text);
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
  z-index: 1;
}

.mood-count:empty {
  display: none;
}

.mood-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 0 3px 0 0;
  opacity: 0.5;
  transition: width 0.4s ease;
}

.mood-voters {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--gray-text);
}

/* ============================================
   TEMPS DE JEU COMMUNAUTAIRE
   ============================================ */

.playtime-widget {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 30px 0;
}

.playtime-widget h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nintendo-red);
  margin: 0 0 16px;
}

.playtime-stats {
  text-align: center;
}

.playtime-big {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.playtime-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--nintendo-red);
  line-height: 1;
}

.playtime-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-text);
}

.playtime-label {
  font-size: 0.85rem;
  color: var(--gray-text);
}

.playtime-boxplot {
  margin-bottom: 12px;
}

.boxplot-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-bottom: 6px;
}

.boxplot-label-center {
  font-size: 0.8rem;
  color: var(--black);
}

.boxplot-label-center strong {
  color: var(--nintendo-red);
  font-size: 0.9rem;
}

.boxplot-track {
  position: relative;
  display: flex;
  height: 28px;
  border-radius: 6px;
  overflow: visible;
  background: var(--gray-light);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.boxplot-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 14%;
  transition: width 0.5s ease;
  position: relative;
}

.zone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0.9;
}

.zone-icon svg {
  display: block;
}

.zone-speed {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  border-radius: 6px 0 0 6px;
}

.zone-normal {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.zone-compl {
  background: linear-gradient(135deg, #f9d423, #ff4e50);
  border-radius: 0 6px 6px 0;
}

.boxplot-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--gray-text);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-speed {
  background: #43e97b;
}
.dot-normal {
  background: #4facfe;
}
.dot-compl {
  background: #f9d423;
}

/* Dark mode boxplot */
[data-theme="dark"] .boxplot-track {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .boxplot-label-center {
  color: #e0e0e0;
}

/* Marqueur position utilisateur */
.boxplot-user-marker {
  position: absolute;
  top: -8px;
  width: 3px;
  height: 44px;
  background: var(--black);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px #fff;
  transition: left 0.5s ease;
  z-index: 3;
}

.user-marker-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  background: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .boxplot-user-marker {
  background: #fff;
  box-shadow: 0 0 0 2px #1a1a1a;
}

[data-theme="dark"] .user-marker-label {
  background: #333;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Badge catégorie utilisateur */
.playtime-user-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--black);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.playtime-user-badge strong {
  font-weight: 700;
}

.user-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.user-badge-speed {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #fff;
}

.user-badge-normal {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
}

.user-badge-compl {
  background: linear-gradient(135deg, #f9d423, #ff4e50);
  color: #fff;
}

[data-theme="dark"] .playtime-user-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.playtime-voters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-text);
}

.playtime-empty {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.playtime-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

.playtime-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.playtime-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.playtime-input-row input {
  width: 90px;
  padding: 8px 12px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s;
}

.playtime-input-row input:focus {
  border-color: var(--nintendo-red);
  outline: none;
}

.playtime-h {
  font-size: 0.85rem;
  color: var(--gray-text);
  font-weight: 500;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.8rem;
}

/* ============================================
   COURBE D'AMUSEMENT (Fun Curve)
   ============================================ */

.funcurve-widget {
  margin: 30px 0;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
}

.funcurve-widget h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nintendo-red);
  margin: 0 0 4px;
}

.funcurve-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin: 0 0 16px;
}

.funcurve-chart-container {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.funcurve-svg {
  max-width: 360px;
  width: 100%;
  height: auto;
}

.funcurve-voters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-top: 8px;
}

.funcurve-empty {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.funcurve-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

.funcurve-form-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}

.funcurve-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.funcurve-slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.funcurve-slider-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.funcurve-phase-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.funcurve-phase-sub {
  font-size: 0.72rem;
  color: var(--gray-text);
}

.funcurve-slider-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.funcurve-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-border);
  outline: none;
  cursor: pointer;
}

.funcurve-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nintendo-red);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.funcurve-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nintendo-red);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.funcurve-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nintendo-red);
  min-width: 20px;
  text-align: center;
}

[data-theme="dark"] .funcurve-range {
  background: #444;
}

/* ============================================
   REJOUABILITÉ COMMUNAUTAIRE
   ============================================ */

.replay-widget {
  margin: 30px 0;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
}

.replay-widget h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nintendo-red);
  margin: 0 0 4px;
}

.replay-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin: 0 0 16px;
}

.replay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.replay-circle-container {
  flex-shrink: 0;
}

.replay-circle-svg {
  display: block;
}

.replay-progress-ring {
  transition: stroke-dashoffset 0.6s ease;
}

.replay-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.replay-btn:hover {
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}

.replay-btn-yes.replay-btn--active {
  background: #2ecc71;
  border-color: #2ecc71;
  color: #fff;
}

.replay-btn-no.replay-btn--active {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}

.replay-stats-line {
  font-size: 0.8rem;
  color: var(--gray-text);
  text-align: center;
}

[data-theme="dark"] .replay-btn {
  background: var(--gray-light);
  border-color: #444;
  color: #e0e0e0;
}
[data-theme="dark"] .replay-btn:hover {
  border-color: var(--nintendo-red);
  color: var(--nintendo-red);
}
[data-theme="dark"] .replay-percent-text {
  fill: #e0e0e0;
}

/* ============================================
   VERDICT COMMUNAUTAIRE
   ============================================ */

.community-verdict-widget {
  margin: 30px 0;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
}

.community-verdict-widget h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nintendo-red);
  margin: 0 0 16px;
}

.verdict-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.08),
    rgba(255, 69, 0, 0.08)
  );
  margin-bottom: 20px;
}

.verdict-top--empty {
  background: rgba(0, 0, 0, 0.03);
}

.verdict-top-icon {
  display: flex;
  align-items: center;
}

.verdict-top-label {
  font-size: 1.3rem;
  font-weight: 800;
}

.verdict-top-count {
  font-size: 0.8rem;
  color: var(--gray-text);
  font-weight: 500;
}

.verdict-tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.verdict-tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
}

.verdict-tag:hover {
  border-color: var(--nintendo-red);
  transform: translateY(-1px);
}

.verdict-tag--active {
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.verdict-tag-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1;
}

.verdict-tag-label {
  flex: 1;
  z-index: 1;
}

.verdict-tag-count {
  font-size: 0.75rem;
  color: var(--gray-text);
  font-weight: 700;
  z-index: 1;
}

.verdict-tag-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 0 3px 0 0;
  transition: width 0.4s ease;
  opacity: 0.7;
}

.verdict-voters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-text);
}

[data-theme="dark"] .verdict-top {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.06),
    rgba(255, 69, 0, 0.06)
  );
}
[data-theme="dark"] .verdict-top--empty {
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .verdict-tag {
  background: var(--gray-light);
  border-color: #444;
  color: #e0e0e0;
}
[data-theme="dark"] .verdict-tag:hover {
  border-color: var(--nintendo-red);
}

/* ============================================
   DIFFICULTÉ COMMUNAUTAIRE
   ============================================ */
.difficulty-widget {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}
.difficulty-widget h3 {
  font-size: 18px;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nintendo-red);
}
.difficulty-subtitle {
  color: var(--gray-text);
  font-size: 13px;
  margin: 0 0 16px;
}

/* Gauge */
.difficulty-gauge {
  margin: 0 0 16px;
}
.difficulty-gauge-track {
  position: relative;
  height: 10px;
  background: var(--gray-border);
  border-radius: 5px;
  overflow: visible;
}
.difficulty-gauge-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #2ecc71, #f39c12, #e74c3c);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.difficulty-gauge-marker {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--nintendo-red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.difficulty-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
}

/* Consensus */
.difficulty-consensus {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
}
.difficulty-consensus-label {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.difficulty-consensus-count {
  color: var(--gray-text);
  font-size: 12px;
}

/* Buttons */
.difficulty-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.difficulty-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-color, #333);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}
.difficulty-btn:hover {
  border-color: var(--gray-text);
  transform: scale(1.04);
}
.difficulty-btn--active {
  transform: scale(1.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.difficulty-btn:active {
  transform: scale(0.96);
}

/* Voters */
.difficulty-voters {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-text);
}

/* Dark mode */
[data-theme="dark"] .difficulty-gauge-track {
  background: #333;
}
[data-theme="dark"] .difficulty-gauge-marker {
  background: #1a1a1a;
}
[data-theme="dark"] .difficulty-btn {
  border-color: #444;
  color: #e0e0e0;
}
[data-theme="dark"] .difficulty-btn:hover {
  border-color: var(--nintendo-red);
}

/* ============================================
   RECOMMANDATION (POUCE STYLE STEAM)
   ============================================ */
.recommend-widget {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}
.recommend-widget h3 {
  font-size: 18px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nintendo-red);
}

/* Bar */
.recommend-bar-container {
  margin: 0 0 16px;
}
.recommend-bar {
  height: 24px;
  background: #e74c3c;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.recommend-bar-yes {
  height: 100%;
  background: linear-gradient(90deg, #27ae60, #2ecc71);
  border-radius: 12px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 2px;
}
.recommend-bar-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
}
.recommend-yes-label {
  color: #2ecc71;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.recommend-no-label {
  color: var(--gray-text);
  font-size: 12px;
}

/* Buttons */
.recommend-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.recommend-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-color, #333);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  min-width: 100px;
}
.recommend-btn:hover {
  transform: scale(1.06);
}
.recommend-btn:active {
  transform: scale(0.94);
}
.recommend-btn-yes.recommend-btn--active {
  border-color: #2ecc71;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.08);
  box-shadow: 0 3px 14px rgba(46, 204, 113, 0.2);
  transform: scale(1.06);
}
.recommend-btn-no.recommend-btn--active {
  border-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
  box-shadow: 0 3px 14px rgba(231, 76, 60, 0.2);
  transform: scale(1.06);
}

/* Dark mode */
[data-theme="dark"] .recommend-bar {
  background: #6b2c23;
}
[data-theme="dark"] .recommend-btn {
  border-color: #444;
  color: #e0e0e0;
}
[data-theme="dark"] .recommend-btn-yes.recommend-btn--active {
  background: rgba(46, 204, 113, 0.12);
}
[data-theme="dark"] .recommend-btn-no.recommend-btn--active {
  background: rgba(231, 76, 60, 0.12);
}

/* ============================================
   ANIMATIONS — Widgets communautaires
   ============================================ */

/* Bounce subtil au clic sur les boutons de vote */
@keyframes gkc-vote-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1.06);
  }
}

/* Pulse subtil sur un vote actif (attire l'oeil) */
@keyframes gkc-active-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 0, 0, 0);
  }
}

/* Apparition des widgets en scroll */
@keyframes gkc-widget-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.funcurve-widget,
.replay-widget,
.community-verdict-widget,
.difficulty-widget,
.recommend-widget {
  animation: gkc-widget-in 0.4s ease-out both;
}
.replay-widget {
  animation-delay: 0.05s;
}
.community-verdict-widget {
  animation-delay: 0.1s;
}
.difficulty-widget {
  animation-delay: 0.15s;
}
.recommend-widget {
  animation-delay: 0.2s;
}

/* Pop animation quand un bouton passe actif */
.replay-btn--active,
.verdict-tag--active,
.difficulty-btn--active,
.recommend-btn--active {
  animation: gkc-vote-pop 0.35s ease-out;
}

/* Barres et jauges — smooth transitions */
.verdict-tag-bar,
.recommend-bar-yes,
.difficulty-gauge-fill {
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Circle progress ring — smooth transition */
.replay-progress-ring {
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   SPOILER GUARD
   ============================================ */

.spoiler-guard {
  position: relative;
  margin: 20px 0;
  border: 2px dashed rgba(255, 0, 0, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spoiler-content {
  padding: 20px;
  filter: blur(6px);
  user-select: none;
  transition: filter 0.4s ease;
}

.spoiler-guard.spoiler-revealed .spoiler-content {
  filter: none;
  user-select: auto;
}

.spoiler-reveal-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  border: 2px solid var(--nintendo-red);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.spoiler-reveal-btn:hover {
  background: var(--nintendo-red);
  border-color: var(--nintendo-red);
  transform: translate(-50%, -50%) scale(1.05);
}

.spoiler-guard.spoiler-revealed .spoiler-reveal-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

/* ============================================
   RESPONSIVE — MOOD TAGS + PLAYTIME + SPOILER
   ============================================ */

@media (max-width: 640px) {
  .mood-tags-grid {
    grid-template-columns: 1fr;
  }

  .mood-tag {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .mood-tags-widget,
  .playtime-widget {
    padding: 18px;
    margin: 20px 0;
  }

  .playtime-number {
    font-size: 2.2rem;
  }

  .playtime-input-row {
    flex-wrap: wrap;
  }

  .playtime-input-row input {
    width: 70px;
  }

  .spoiler-reveal-btn {
    font-size: 0.78rem;
    padding: 8px 16px;
  }
}

/* ============================================
   RESPONSIVE — WIDGETS COMMUNAUTAIRES
   (Verdict, Difficulté, Recommandation, Replay)
   ============================================ */

/* --- Tablettes & petits écrans (< 768px) --- */
@media (max-width: 768px) {
  .community-verdict-widget,
  .difficulty-widget,
  .recommend-widget,
  .replay-widget {
    padding: 18px;
    margin: 20px 0;
  }

  .verdict-tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .verdict-tag {
    padding: 8px 10px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .verdict-top-label {
    font-size: 1.1rem;
  }

  .verdict-top {
    padding: 12px;
    gap: 8px;
  }

  .difficulty-buttons {
    gap: 6px;
  }

  .difficulty-btn {
    padding: 7px 10px;
    font-size: 12px;
    gap: 4px;
  }

  .recommend-btn {
    padding: 12px 20px;
    font-size: 13px;
    min-width: 80px;
  }

  .replay-content {
    gap: 20px;
  }

  .replay-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

/* --- Mobiles (< 480px) --- */
@media (max-width: 480px) {
  .card-verdict-overlay {
    bottom: 8px;
    left: 8px;
    padding: 3px 7px;
    font-size: 0.62rem;
    gap: 3px;
  }

  .card-verdict-overlay svg {
    width: 10px;
    height: 10px;
  }

  .community-verdict-widget,
  .difficulty-widget,
  .recommend-widget,
  .replay-widget {
    padding: 14px;
    margin: 16px 0;
  }

  .community-verdict-widget h3,
  .difficulty-widget h3,
  .recommend-widget h3,
  .replay-widget h3 {
    font-size: 0.95rem;
    gap: 6px;
    margin-bottom: 12px;
  }

  .verdict-tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .verdict-tag {
    padding: 7px 8px;
    font-size: 0.72rem;
    gap: 4px;
    border-width: 1.5px;
  }

  .verdict-tag-icon svg {
    width: 14px;
    height: 14px;
  }

  .verdict-tag-count {
    font-size: 0.65rem;
  }

  .verdict-top {
    padding: 10px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .verdict-top-label {
    font-size: 1rem;
  }

  .verdict-top-count {
    font-size: 0.7rem;
  }

  .verdict-voters,
  .difficulty-voters {
    font-size: 0.72rem;
  }

  .difficulty-buttons {
    gap: 5px;
    justify-content: center;
  }

  .difficulty-btn {
    padding: 6px 8px;
    font-size: 11px;
    gap: 3px;
    border-width: 1.5px;
  }

  .difficulty-btn svg {
    width: 13px;
    height: 13px;
  }

  .difficulty-subtitle {
    font-size: 11px;
  }

  .difficulty-gauge-labels {
    font-size: 10px;
  }

  .recommend-buttons {
    gap: 8px;
  }

  .recommend-btn {
    padding: 10px 16px;
    font-size: 12px;
    min-width: 70px;
    gap: 4px;
  }

  .recommend-btn svg {
    width: 20px;
    height: 20px;
  }

  .recommend-bar-labels {
    font-size: 11px;
  }

  .replay-content {
    gap: 14px;
  }

  .replay-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .replay-subtitle,
  .replay-stats-line {
    font-size: 0.75rem;
  }
}

/* --- Très petits écrans (< 360px) --- */
@media (max-width: 360px) {
  .verdict-tags-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .verdict-tag {
    padding: 6px;
    font-size: 0.68rem;
  }

  .verdict-tag-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .difficulty-buttons {
    flex-wrap: wrap;
  }

  .difficulty-btn {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    min-width: 0;
  }

  .recommend-btn {
    padding: 8px 12px;
    min-width: 60px;
    font-size: 11px;
  }
}

/* ============================================
   BANDEAU COOKIES RGPD
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--nintendo-red);
  padding: 0;
  animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.cookie-banner-text svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-banner-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--nintendo-red);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.cookie-btn-accept {
  background: var(--nintendo-red);
  color: #fff;
  border-color: var(--nintendo-red);
}

.cookie-btn-accept:hover {
  background: #dd0000;
  border-color: #dd0000;
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Legal pages */
.legal-page h2 {
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--nintendo-red);
}

.legal-page h3 {
  margin-top: 20px;
  color: var(--nintendo-red);
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.legal-page table {
  font-size: 0.9rem;
}

.legal-page code {
  background: var(--gray-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* Dark mode — Legal / About pages text */
[data-theme="dark"] .legal-page p {
  color: #c0c0c0;
}
[data-theme="dark"] .legal-page ul li {
  color: #c0c0c0;
}
[data-theme="dark"] .legal-page strong {
  color: #e0e0e0;
}
[data-theme="dark"] .legal-page h2 {
  border-bottom-color: var(--nintendo-red);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .cookie-banner-text {
    flex-direction: column;
    align-items: center;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   RADAR MULTICRITÈRE — RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
  .tester-rating-box--radar {
    padding: 14px;
    max-width: 100%;
    overflow: hidden;
  }

  .radar-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .radar-chart-container {
    padding: 0;
    overflow: hidden;
    max-width: 100%;
  }

  .gkc-radar-svg {
    max-width: 260px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .radar-scores {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .radar-score-global-wrapper {
    margin-bottom: 12px;
  }

  .radar-score-global {
    padding: 12px 24px;
  }

  .radar-score-global .score-number {
    font-size: 2.2rem;
  }

  .radar-score-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 18px;
    text-align: center;
  }

  .radar-score-community {
    padding: 14px 20px;
  }

  .radar-score-community .score-number {
    font-size: 1.8rem;
  }

  .criteria-details-grid {
    grid-template-columns: 1fr;
  }

  .criteria-inputs-grid {
    grid-template-columns: 1fr;
  }

  .review-criteria-mini {
    grid-template-columns: 1fr 1fr;
  }

  .radar-legend {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .gkc-radar-svg {
    max-width: 220px;
  }

  .radar-score-box {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .criteria-detail {
    padding: 8px;
  }
}

/* ============================================
   AVIS MIS EN AVANT (Featured Review)
   ============================================ */
.featured-review-block {
  background: var(--white, #fff);
  border: 2px solid var(--nintendo-red);
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.featured-review-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nintendo-red);
}

.featured-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.featured-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--nintendo-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.featured-review-votes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2ecc71;
  font-weight: 700;
  font-size: 0.9rem;
}

.featured-review-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.featured-review-score {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  background: var(--nintendo-red);
  border: 2px solid var(--nintendo-red);
  border-radius: 12px;
  padding: 12px 16px;
}

.featured-score-number {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.featured-score-max {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.featured-review-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--black, #1a1a1a);
  border-left: 3px solid var(--nintendo-red);
  padding-left: 16px;
  margin: 0;
  font-style: italic;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.featured-review-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-border, #e0e0e0);
  font-size: 0.9rem;
}

.featured-review-footer img {
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.featured-review-author {
  font-weight: 700;
  color: var(--black, #1a1a1a);
}

.featured-review-date {
  color: var(--gray-text, #666);
  margin-left: auto;
  font-size: 0.85rem;
}

/* ============================================
   BOUTONS DE VOTE UP/DOWN SUR LES AVIS
   ============================================ */
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-vote-buttons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 3px 6px;
}

.review-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--gray-text, #888);
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.review-vote-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.review-vote-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.review-vote-btn.vote-up.active {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.12);
}

.review-vote-btn.vote-up.active svg {
  fill: rgba(46, 204, 113, 0.3);
}

.review-vote-btn.voting {
  opacity: 0.5;
  pointer-events: none;
}

.review-vote-btn.vote-error {
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

.vote-count {
  font-weight: 600;
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE FEATURED REVIEW + VOTES
   ============================================ */
@media (max-width: 600px) {
  .featured-review-block {
    padding: 14px;
    margin: 20px 0;
    border-radius: 10px;
  }

  .featured-review-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .featured-review-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .featured-review-body {
    flex-direction: column;
    gap: 10px;
  }

  .featured-review-score {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 10px;
  }

  .featured-score-number {
    font-size: 1.5rem;
  }

  .featured-score-max {
    font-size: 0.85rem;
  }

  .featured-review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 12px;
    border-left-width: 2px;
  }

  .featured-review-text .review-img {
    max-width: 100%;
  }

  .featured-review-footer {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    margin-top: 12px;
    padding-top: 10px;
  }

  .featured-review-footer img {
    width: 26px;
    height: 26px;
  }

  .featured-review-date {
    width: 100%;
    margin-left: 0;
    font-size: 0.78rem;
  }
}

/* Thème clair (light mode) — featured review déjà en blanc */

body.light-mode .review-vote-buttons {
  background: rgba(0, 0, 0, 0.04);
}

body.light-mode .review-vote-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.06);
}

/* =============================================
   MOT DE PASSE OUBLIÉ
============================================= */
.lostpw-icon-header {
  text-align: center;
  margin-bottom: 8px;
}

.lostpw-icon-header svg {
  margin-bottom: 8px;
}

.lostpw-icon-header h2 {
  margin: 0;
}

.lostpw-desc {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 22px;
}

.lostpw-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lostpw-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-color);
}

.lostpw-field input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background: var(--white);
  color: var(--text-color);
}

.lostpw-field input:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

.lostpw-input-wrap {
  position: relative;
}

.lostpw-input-wrap input {
  padding-right: 44px;
}

.lostpw-toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.lostpw-toggle-pw:hover {
  opacity: 1;
}

/* Indicateur de force */
.lostpw-pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.lostpw-strength-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-border);
  border-radius: 3px;
  overflow: hidden;
}

.lostpw-strength-bar > div {
  height: 100%;
  border-radius: 3px;
  transition:
    width 0.3s,
    background 0.3s;
}

/* Alertes */
.lostpw-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.lostpw-alert-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid #fca5a5;
  color: #dc2626;
}

/* Blocs succès / email envoyé */
.lostpw-success-block {
  text-align: center;
}

.lostpw-success-block h2 {
  margin: 12px 0 8px;
}

.lostpw-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.lostpw-icon-mail {
  background: rgba(204, 0, 0, 0.08);
  border: 2px solid rgba(204, 0, 0, 0.2);
}

.lostpw-icon-success {
  background: rgba(22, 163, 74, 0.08);
  border: 2px solid rgba(22, 163, 74, 0.2);
}

/* =============================================
   MODALE PROPOSER UN TEST
============================================= */
.proposal-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
}

.proposal-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.proposal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.proposal-modal-content {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: var(--white);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 30px;
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
  animation: proposalSlideIn 0.25s ease;
}

@keyframes proposalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.proposal-modal-content h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nintendo-red);
}

.proposal-subtitle {
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.proposal-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  transition: color 0.2s;
}

.proposal-modal-close:hover {
  color: var(--nintendo-red);
}

/* Formulaire */
.proposal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proposal-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-color);
}

.proposal-field label .required {
  color: var(--nintendo-red);
}

.proposal-field label small {
  font-weight: 400;
  color: var(--text-light);
}

.proposal-field input,
.proposal-field select,
.proposal-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-color);
  background: var(--white);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.proposal-field input:focus,
.proposal-field select:focus,
.proposal-field textarea:focus {
  outline: none;
  border-color: var(--nintendo-red);
}

.proposal-field textarea {
  resize: vertical;
  min-height: 70px;
}

.proposal-actions {
  text-align: right;
}

.proposal-submit {
  min-width: 200px;
}

.proposal-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.proposal-message.success {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid #4caf50;
  color: #2e7d32;
}

.proposal-message.error {
  background: rgba(244, 67, 54, 0.12);
  border: 1px solid #f44336;
  color: #c62828;
}

/* Mobile */
@media (max-width: 768px) {
  .proposal-modal-content {
    width: 95%;
    padding: 20px 16px;
  }

  .proposal-modal-content h3 {
    font-size: 1.1rem;
  }

  .proposal-submit {
    width: 100%;
    min-width: unset;
  }
}

/* ============================================
   CTA STATS & BÉNÉFICES (homepage)
   ============================================ */
.cta-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cta-stat strong {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.cta-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-benefits-inline {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* ============================================
   PAGE INSCRIPTION — AVANTAGES
   ============================================ */
.auth-page-register {
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.register-benefits {
  flex: 1;
  min-width: 280px;
  padding: 20px 0;
}

.register-benefits h2 {
  font-size: 1.5rem;
  color: var(--nintendo-red);
  margin-bottom: 25px;
  line-height: 1.3;
}

.register-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.register-benefits-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.register-benefits-list li > div strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.register-benefits-list li > div p {
  font-size: 0.875rem;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .auth-page-register {
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
  }

  .register-benefits {
    width: 100%;
  }

  .cta-stats {
    gap: 20px;
  }

  .cta-stat strong {
    font-size: 1.5rem;
  }
}

/* ============================================
   CTA INSCRIPTION DANS LES ARTICLES
   ============================================ */
.article-cta-register {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  border: 2px solid var(--nintendo-red);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 30px 0;
}

.article-cta-register__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-cta-register__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.article-cta-register__inner > div {
  flex: 1;
  min-width: 200px;
}

.article-cta-register__inner > div strong {
  display: block;
  font-size: 1.05rem;
  color: var(--nintendo-red);
  margin-bottom: 5px;
}

.article-cta-register__inner > div p {
  font-size: 0.875rem;
  color: var(--gray-text);
  margin: 0;
}

.article-cta-register__btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .article-cta-register__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-cta-register__btns {
    width: 100%;
  }

  .article-cta-register__btns .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================
   FAQ SECTION (homepage)
   ============================================ */
.faq-section {
  margin-top: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.faq-item summary {
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--nintendo-red);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 10px;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item[open] summary {
  color: var(--nintendo-red);
  border-bottom: 1px solid var(--gray-border);
}

.faq-item > p {
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.6;
}

.faq-item > p a {
  color: var(--nintendo-red);
  text-decoration: underline;
}
