/* ============================================================
   GATA SYSTEM — style.css v2.0
   Police: Courier-like pour le terminal, Garamond pour la lecture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@400;600;700&family=EB+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep:      #0a0e12;
    --bg-panel:     #141a21;
    --bg-card:      #1a252f;
    --bg-hover:     #243342;
    --border:       #2c3e50;
    --border-light: #34495e;
    --accent:       #3498db;
    --accent-dim:   #2980b9;
    --gold:         #f1c40f;
    --success:      #2ecc71;
    --danger:       #e74c3c;
    --warning:      #e67e22;
    --text-main:    #ecf0f1;
    --text-muted:   #7f8c8d;
    --text-dim:     #bdc3c7;
    --sidebar-w:    260px;
    --marquee-h:    38px;
    --font-mono:    'Share Tech Mono', 'Courier New', monospace;
    --font-ui:      'Rajdhani', 'Segoe UI', sans-serif;
    --font-read:    'EB Garamond', 'Garamond', Georgia, serif;
    --radius:       6px;
    --shadow:       0 4px 20px rgba(0,0,0,0.4);
    --base-font-size: 15px;
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size);
}

body {
    font-family: var(--font-ui);
    background-color: var(--bg-deep);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================================
   2. BANDEAU DÉFILANT (MARQUEE)
   ============================================================ */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--danger);
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    z-index: 1002;
    height: var(--marquee-h);
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(0,0,0,0.3);
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============================================================
   3. SIDEBAR
   ============================================================ */
#check { display: none; }

.checkbtn {
    display: none;
    cursor: pointer;
    position: fixed;
    left: 15px;
    top: calc(var(--marquee-h) + 10px);
    z-index: 1005;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 8px;
    border-radius: var(--radius);
    width: 44px;
    height: 44px;
    transition: 0.3s;
}

.checkbtn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dim);
    margin: 5px auto;
    transition: all 0.35s ease;
    border-radius: 2px;
}

.sidebar {
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--bg-panel);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    padding-top: var(--marquee-h);
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }

.sidebar-header {
    padding: 18px 16px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

#player-status {
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    font-size: 0.78rem;
    font-family: var(--font-mono);
}

.nav-links {
    list-style: none;
    padding: 8px 0 60px;
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    letter-spacing: 0.5px;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: var(--bg-hover);
    color: white;
    border-left-color: var(--accent);
}

/* ============================================================
   4. CONTENU PRINCIPAL
   ============================================================ */
#main-container {
    margin-left: var(--sidebar-w);
    padding: calc(var(--marquee-h) + 30px) 24px 60px;
    transition: margin-left 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
}

#header {
    font-family: var(--font-mono);
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    color: var(--accent);
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 16px 24px;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent);
    background: var(--bg-panel);
    border-radius: var(--radius);
    margin-bottom: 28px;
    width: 100%;
    max-width: 900px;
}

/* ============================================================
   5. BOITES DE CONTENU
   ============================================================ */
.content-box,
.content-box-red,
.content-box-orange {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    max-width: 900px;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    line-height: 1.6;
}

.content-box        { border-top: 4px solid var(--accent); }
.content-box-red    { border-top: 4px solid var(--danger); }
.content-box-orange { border-top: 4px solid var(--warning); }

.content-box h2,
.content-box-orange h2 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.content-box p,
.content-box-orange p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.content-box h3 {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* ============================================================
   6. LECTURE DES CHAPITRES
   ============================================================ */
.content-box-chapter {
    background: #faf9f6;
    color: #1a1a1a;
    padding: 50px;
    border-radius: var(--radius);
    border-top: 6px solid var(--border);
    max-width: 860px;
    width: 100%;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease;
}

.chapter-text {
    font-family: var(--font-read);
    font-size: 1.15rem;
    line-height: 2;
    color: #222;
    text-align: justify;
}

.chapter-actions {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ============================================================
   7. BOUTONS
   ============================================================ */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--danger);
    color: white;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.88rem;
    font-family: var(--font-mono);
    transition: 0.25s;
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

.btn-download:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(231,76,60,0.45);
}

.btn-confirm {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    cursor: pointer;
    font-weight: bold;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.2s;
}

.btn-confirm:hover { background: var(--accent-dim); }

.btn-reset {
    background: var(--danger);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-mono);
    transition: 0.2s;
}

.btn-reset:hover { background: #c0392b; }

.btn-confirm-legal {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 30px;
    font-weight: bold;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(52,152,219,0.4);
    transition: 0.2s;
}

.btn-confirm-legal:hover { background: var(--accent-dim); transform: translateY(-2px); }

.btn-confirm-poll {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-mono);
    box-shadow: 0 4px 0 var(--accent-dim);
    transition: 0.15s;
}

.btn-confirm-poll:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--accent-dim);
}

.btn-results {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--accent);
    padding: 5px 12px;
    border-radius: var(--radius);
    transition: 0.2s;
    font-family: var(--font-mono);
}

.btn-results:hover { background: var(--accent); color: white; }

/* ============================================================
   8. CODEX & WIKI
   ============================================================ */
.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.wiki-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
    display: block;
}

.wiki-card:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.wiki-card h3, .wiki-card h4 {
    color: var(--accent);
    font-size: 1rem;
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.wiki-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }

/* ============================================================
   9. ARCHIVES & TÉLÉCHARGEMENTS
   ============================================================ */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
}

.download-card h4 {
    font-family: var(--font-mono);
    color: var(--text-dim);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.download-card.special { border: 2px solid var(--gold); }

.format-links { display: flex; gap: 10px; margin-top: 12px; }

.dl-btn {
    flex: 1;
    text-align: center;
    padding: 9px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    transition: 0.2s;
}

.dl-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.dl-btn.pdf  { background: var(--danger); }
.dl-btn.epub { background: var(--success); }
.dl-btn.txt  { background: var(--text-muted); }

.poll-history-list { margin-top: 20px; }

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.history-info strong { display: block; color: var(--text-main); font-family: var(--font-mono); font-size: 0.85rem; }
.history-info span   { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ============================================================
   10. SONDAGES
   ============================================================ */
.poll-wrapper {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 10px;
    margin: 20px 0;
}

.poll-divider { border: 0; border-top: 1px solid var(--border); margin: 35px 0; }

.poll-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.history-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius);
    position: relative;
    border-left: 4px solid var(--text-muted);
    transition: 0.2s;
}

.history-card:hover { border-color: var(--accent); }

.status-closed {
    font-size: 0.68rem;
    background: var(--text-muted);
    color: white;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: bold;
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.history-card h4 { margin: 10px 0 5px; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.88rem; }
.history-card p  { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   11. NOUVEAUTÉS
   ============================================================ */
.news-feed {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.news-card {
    background: var(--bg-panel);
    padding: 22px;
    border-radius: var(--radius);
    border-left: 5px solid var(--accent);
    border: 1px solid var(--border);
    border-left-width: 5px;
    position: relative;
    transition: all 0.25s;
    animation: fadeIn 0.4s ease;
}

.news-card:hover {
    transform: translateX(6px);
    background: var(--bg-hover);
    box-shadow: var(--shadow);
}

.news-date { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 8px; letter-spacing: 1px; }

.news-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.badge-new   { background: var(--danger);  color: white; }
.badge-codex { background: #9b59b6; color: white; }
.badge-event { background: var(--gold); color: var(--bg-deep); }

.news-card h2 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-main); font-family: var(--font-ui); font-weight: 600; }
.news-card p  { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 14px; line-height: 1.5; }

.news-btn-claim {
    background: var(--accent);
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: bold;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}

.news-btn-claim:hover:not(.read) { background: var(--accent-dim); }
.news-btn-claim.read { background: var(--success); cursor: default; }

/* ============================================================
   12. NIVEAUX & TROPHÉES
   ============================================================ */
.trophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.ranks-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.rank-card {
    transition: all 0.25s;
    border-radius: var(--radius);
    overflow: hidden;
}

.rank-card.locked { filter: grayscale(0.8); opacity: 0.45; }

.mission-list { list-style: none; padding: 0; font-size: 0.82rem; font-family: var(--font-mono); }
.mission-list li { padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text-dim); }

/* ============================================================
   13. CRÉDITS
   ============================================================ */
.credits-container {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    animation: slideUp 0.6s ease-out;
}

.credit-item { margin-bottom: 28px; display: flex; flex-direction: column; }

.credit-role {
    font-size: 0.78rem;
    color: var(--danger);
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-family: var(--font-mono);
}

.credit-name {
    font-size: 1.5rem;
    color: var(--text-main);
    font-family: var(--font-read);
    font-weight: bold;
}

.credit-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
    margin: 36px 0;
}

.legal-notice { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; text-align: justify; }
.legal-notice h3 { text-align: center; font-size: 1rem; color: var(--text-main); margin-bottom: 14px; font-family: var(--font-mono); letter-spacing: 2px; }

/* ============================================================
   14. MENTIONS LÉGALES
   ============================================================ */
.legal-text-wrapper { text-align: left; color: var(--text-dim); line-height: 1.8; }

.legal-text-wrapper h2 {
    color: var(--accent);
    font-size: 1rem;
    font-family: var(--font-mono);
    margin-top: 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
    letter-spacing: 1px;
}

.legal-text-wrapper p, .legal-text-wrapper li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-top: 10px;
}

.legal-sep {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(52,152,219,0), rgba(52,152,219,0.4), rgba(52,152,219,0));
    margin: 22px 0;
}

.legal-text-wrapper ul { padding-left: 20px; list-style-type: square; }

/* ============================================================
   15. VERSIONS (TIMELINE)
   ============================================================ */
.version-timeline {
    position: relative;
    max-width: 820px;
    margin: 20px auto;
    padding: 10px 10px 10px 20px;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 37px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.version-entry {
    position: relative;
    margin-bottom: 36px;
    padding-left: 60px;
}

.version-tag {
    position: absolute;
    left: 0;
    top: 2px;
    background: var(--border-light);
    color: white;
    padding: 4px 9px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    z-index: 1;
}

.version-date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; font-family: var(--font-mono); }

.version-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 18px 20px;
    border-radius: var(--radius);
}

.version-content h3 { margin-top: 0; color: var(--text-main); font-size: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 10px; }
.version-content ul { padding-left: 18px; font-size: 0.88rem; color: var(--text-dim); }
.version-content li { margin-bottom: 5px; }

.version-entry.latest .version-content { border-left: 4px solid var(--accent); }
.version-entry.latest .version-tag { background: var(--accent); }

/* ============================================================
   16. FOOTER
   ============================================================ */
footer {
    width: 100%;
    max-width: 900px;
    margin-top: auto;
    padding: 30px 0 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

footer a { color: var(--accent); text-decoration: none; transition: 0.2s; font-size: 0.82rem; }
footer a:hover { color: var(--gold); }

/* ============================================================
   17. MODALES
   ============================================================ */
.modal-level {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.88);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    color: white;
    padding: 40px;
    border: 2px solid var(--accent);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 440px;
    width: 90%;
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(52,152,219,0.3);
}

.modal-content h1 { font-size: 1.8rem; color: var(--gold); margin: 14px 0; letter-spacing: 2px; font-family: var(--font-mono); }

.scanner-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: scanLine 2.5s linear infinite;
}

@keyframes scanLine { 0% { top: 0; } 100% { top: 100%; } }

/* ============================================================
   18. SÉLECTEURS & INPUTS
   ============================================================ */
.modern-select,
select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-deep);
    color: white;
    font-size: 0.92rem;
    font-family: var(--font-mono);
    cursor: pointer;
    outline: none;
    transition: 0.25s;
}

.modern-select:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(52,152,219,0.2); }

/* ============================================================
   19. DIVERS UTILITAIRES
   ============================================================ */
.notification-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--danger);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    animation: pulse 1.6s infinite;
}

@keyframes pulse   { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes fadeIn  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* Barres de scroll globales */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }

/* ============================================================
   20. RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 768px) {
    :root { --sidebar-w: 0px; }

    .checkbtn { display: flex; flex-direction: column; justify-content: center; }

    .sidebar {
        width: 82%;
        max-width: 300px;
        transform: translateX(-110%);
    }

    #check:checked ~ .sidebar { transform: translateX(0); }

    /* Burger → X */
    #check:checked ~ .checkbtn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #check:checked ~ .checkbtn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    #check:checked ~ .checkbtn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    #main-container {
        margin-left: 0;
        padding-left: 14px;
        padding-right: 14px;
        padding-top: calc(var(--marquee-h) + 60px);
    }

    .content-box, .content-box-orange, .content-box-red { padding: 18px; }
    .content-box-chapter { padding: 20px; }
    .wiki-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr; }
    .poll-history-grid { grid-template-columns: 1fr; }
    .chapter-text { font-size: 1rem; }

    #header { font-size: 1rem; letter-spacing: 1px; padding: 12px; }
}

@media (max-width: 480px) {
    .trophy-grid { grid-template-columns: repeat(2, 1fr); }
    .credits-container { padding: 22px 16px; }
    .credit-name { font-size: 1.2rem; }
}

/* Overlay mobile pour fermer la sidebar */
#check:checked ~ .sidebar::after {
    content: '';
    position: fixed;
    top: 0; left: var(--sidebar-w);
    width: 100vw; height: 100vh;
    z-index: -1;
}
