/* Couleurs de l'interface */
:root {
    --fond: #10140f;
    --bois: #3b2a1e;
    --bois-clair: #6b4a2e;
    --creme: #f3e9d2;
    --or: #e8c35a;
    --vert: #6abe30;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fond);
    color: var(--creme);
    font-family: 'VT323', monospace;
    font-size: 22px;
}

/* Le jeu garde toujours la forme 320 × 208 (agrandie) */
#jeu {
    position: relative;
    width: min(960px, 100vw, calc(100vh * 320 / 208));
    aspect-ratio: 320 / 208;
    overflow: hidden;
    background: #000;
    border: 4px solid var(--bois);
    image-rendering: pixelated;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.ecran { position: absolute; inset: 0; display: none; }
.ecran.visible { display: block; }
.cache { display: none !important; }

button {
    font-family: inherit;
    font-size: 24px;
    color: var(--creme);
    background: var(--bois);
    border: 3px solid var(--bois-clair);
    padding: 4px 18px;
    margin: 6px;
    cursor: pointer;
}
button:hover:not(:disabled), button:focus-visible { background: var(--bois-clair); border-color: var(--or); outline: none; }
button:disabled { opacity: .5; cursor: default; }

/* Menu titre */
#ecran-menu .contenu {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,.1) 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
#ecran-menu button { width: 220px; }
#ecran-menu h1 { width: 100%; margin: 0 0 4px; line-height: 0; }
.logo {
    width: 60%;
    margin: 0 auto;
    display: block;
    /* contour sombre et halo doré pour que le logo blanc ressorte sur la carte */
    filter: drop-shadow(0 0 2px #2a1b0e) drop-shadow(3px 4px 0 #2a1b0e) drop-shadow(0 0 14px rgba(232, 195, 90, .55));
}
h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(22px, 5vw, 46px);
    color: var(--or);
    text-shadow: 4px 4px 0 #2a1b0e;
    margin: 0;
}
.sous-titre { margin: 6px 0 18px; font-size: 26px; text-shadow: 2px 2px 0 #000; }

/* Panneaux (options, crédits, choix) */
.panneau {
    background: radial-gradient(circle at 50% 30%, #24331f, #0c100b);
    text-align: center;
    padding: 4% 6%;
}
.panneau.visible { display: flex; flex-direction: column; align-items: center; justify-content: center; }
h2 { font-family: 'Press Start 2P', monospace; font-size: clamp(14px, 2.5vw, 24px); color: var(--or); margin: 0 0 16px; }
.petit { font-size: 18px; opacity: .8; }
label { font-size: 24px; margin-bottom: 10px; }

.choix { display: flex; gap: 24px; }
.carte-perso {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 190px;
    padding: 10px;
}
.carte-perso canvas { width: 72px; height: 96px; margin-bottom: 6px; }
.carte-perso strong { font-size: 28px; }
.carte-perso .pris { display: none; color: #e07a5f; }
.carte-perso.est-pris { filter: grayscale(1); }
.carte-perso.est-pris .pris { display: block; }
.carte-perso.est-moi { border-color: var(--or); }

/* Scènes */
#legende {
    position: absolute;
    left: 0; right: 0; bottom: 8%;
    text-align: center;
    font-size: clamp(20px, 3vw, 30px);
    text-shadow: 2px 2px 0 #000;
}
#passer { position: absolute; right: 46px; top: 8px; font-size: 18px; opacity: .8; }
#panneau-attente {
    position: absolute;
    left: 50%; top: 4%;
    transform: translateX(-50%);
    width: 86%;
    text-align: center;
    background: rgba(16, 20, 15, .85);
    border: 3px solid var(--bois-clair);
    padding: 6px 12px;
}
#panneau-attente p { margin: 4px 0; }
#attente-minuteurs { color: var(--or); }

/* Exploration */
#hud-bas, #balade-bas {
    position: absolute;
    left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 2px 10px;
    background: rgba(16, 20, 15, .75);
    font-size: clamp(16px, 2.2vw, 22px);
}
#hud-bas, #balade-bas { bottom: 0; min-height: 1.6em; }
#balade-bas button { font-size: 18px; padding: 0 10px; margin: 2px; }

/* Bulles de tchat au-dessus des héros, dans le sanctuaire */
.bulle {
    position: absolute;
    transform: translate(-50%, -100%);
    max-width: 34%;
    padding: 2px 8px;
    background: var(--creme);
    color: #2a1b0e;
    border: 2px solid var(--bois);
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.1;
    text-align: center;
    pointer-events: none;
}
#hud-objectif { flex: 1; text-align: center; }
#hud-temps { color: var(--or); }
#hud-bas button { font-size: 18px; padding: 0 10px; margin: 2px; }

/* Dialogues */
#dialogue {
    position: absolute;
    z-index: 10;
    left: 3%; right: 3%; bottom: 4%;
    min-height: 28%;
    background: var(--creme);
    color: #2a1b0e;
    border: 4px solid var(--bois);
    box-shadow: inset 0 0 0 3px var(--bois-clair);
    padding: 8px 16px;
    font-size: clamp(18px, 2.8vw, 28px);
    line-height: 1.1;
    cursor: pointer;
}
#dialogue-qui { color: #8b3a1e; }
/* Portrait de celui qui parle, posé sur le haut de la boîte : à gauche, ou à droite pour ton héros */
#dialogue-portrait {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 10px;
    width: 128px; /* moitié de 256 px : reste net en pixel art */
    aspect-ratio: 1;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35));
    pointer-events: none;
}
#dialogue-portrait.a-droite { left: auto; right: 10px; scale: -1 1; } /* retourné pour regarder vers le centre */
#dialogue-portrait.cache { display: none; }
#dialogue-portrait.arrive { animation: portrait-arrive .18s ease-out; }
@keyframes portrait-arrive { from { transform: translateY(12px); opacity: 0; } }
#dialogue-texte { margin: 4px 0 0; }
#dialogue .suite { position: absolute; right: 12px; bottom: 4px; font-size: 18px; opacity: .6; }

/* Message court (toast) */
#message {
    position: absolute;
    z-index: 11;
    top: 14%; left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 20, 15, .9);
    border: 3px solid var(--or);
    padding: 6px 16px;
    text-align: center;
}

/* Effets des cinématiques */
#flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .15s; }
.secousse { animation: secousse .45s; }
@keyframes secousse {
    0%, 100% { transform: translate(0, 0); }
    15% { transform: translate(-10px, 6px); }
    30% { transform: translate(9px, -7px); }
    45% { transform: translate(-7px, -5px); }
    60% { transform: translate(6px, 7px); }
    75% { transform: translate(-4px, 3px); }
}

/* Rangée de boutons */
.rangee { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.rangee button { font-size: 18px; padding: 2px 12px; margin: 2px; }

/* Jeu des allumettes */
#allumettes { margin: 6px 0; }
#allumettes-tas { display: flex; justify-content: center; gap: 6px; min-height: 46px; flex-wrap: wrap; }
.allumette { width: 6px; height: 40px; background: #e8c38a; position: relative; }
.allumette::before { content: ''; position: absolute; top: -6px; left: -2px; width: 10px; height: 10px; background: #c8402e; }
#allumettes-texte { min-height: 1.2em; }
#allumettes-boutons button { font-size: 18px; padding: 2px 12px; }

/* Échange au sanctuaire */
#panneau-echange {
    position: absolute;
    inset: 4% 4%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(16, 20, 15, .9);
    border: 3px solid var(--bois-clair);
    padding: 8px 12px;
    font-size: 19px;
}
#panneau-echange h3, #carnet h3 { margin: 0; color: var(--or); font-size: 22px; }
#echange-temps { color: var(--creme); font-size: 18px; margin-left: 8px; }
.echange-colonnes { flex: 1; display: grid; grid-template-columns: 3fr 2fr; gap: 10px; min-height: 0; }
.tchat { display: flex; flex-direction: column; min-height: 0; }
#tchat-messages {
    flex: 1;
    overflow-y: auto;
    background: rgba(0, 0, 0, .35);
    padding: 4px 8px;
    min-height: 0;
}
#tchat-messages p { margin: 2px 0; }
#tchat-messages .qui { color: var(--or); }
#tchat-messages .systeme { color: #9fd6a0; font-style: italic; }
#tchat-formulaire { display: flex; gap: 4px; margin-top: 4px; }
#tchat-formulaire input {
    flex: 1;
    font-family: inherit;
    font-size: 19px;
    background: var(--creme);
    color: #2a1b0e;
    border: 2px solid var(--bois-clair);
    padding: 2px 6px;
}
#tchat-formulaire button { font-size: 18px; margin: 0; padding: 0 10px; }
.sacs { overflow-y: auto; min-height: 0; }
.sacs h4 { margin: 4px 0 2px; font-size: 19px; }
.sacs ul, #carnet ul { list-style: none; margin: 0; padding: 0; }
.sacs li button { width: 100%; text-align: left; font-size: 17px; margin: 1px 0; padding: 1px 8px; }
.sacs li span, #carnet li { display: block; padding: 1px 4px; }
.vide { opacity: .6; font-style: italic; }

/* Carnet : quêtes, sac, souvenirs */
#carnet {
    position: absolute;
    inset: 5% 5%;
    background: var(--creme);
    color: #2a1b0e;
    border: 4px solid var(--bois);
    box-shadow: inset 0 0 0 3px var(--bois-clair);
    padding: 10px 16px;
    overflow-y: auto;
    font-size: 19px;
    z-index: 5;
}
#carnet h3 { color: #8b3a1e; }
#fermer-carnet { position: absolute; right: 6px; top: 4px; font-size: 18px; padding: 0 8px; }
.carnet-colonnes { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
.quete { margin: 4px 0 10px; }
.quete strong { color: #3b2a1e; }
.quete.finie strong::after { content: ' ✓ terminée'; color: #4f8a4a; }
.etape { margin: 1px 0 1px 10px; }
.etape.faite { text-decoration: line-through; opacity: .55; }
.etape.actuelle { font-weight: bold; color: #8b3a1e; }
.souvenir { margin: 4px 0; font-style: italic; }

/* Bouton de la musique, en haut à droite */
#bouton-musique {
    position: absolute;
    z-index: 20;
    top: 4px; right: 4px;
    width: 34px; height: 34px;
    margin: 0; padding: 0;
    font-size: 22px;
    line-height: 1;
}
#bouton-musique.coupee { opacity: .6; text-decoration: line-through; }

/* Menu pause */
#pause {
    position: absolute;
    inset: 16% 20%;
    padding: 10px 22px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--creme);
    color: #2a1b0e;
    border: 4px solid var(--bois);
    box-shadow: inset 0 0 0 3px var(--bois-clair);
    text-align: center;
}
#pause.cache { display: none; }
#pause h2 { color: #8b3a1e; }
/* une grille : nom | curseur | pourcentage, pour que rien ne dépasse du cadre */
#pause label { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) 3.2em; align-items: center; gap: 10px; width: 100%; max-width: 420px; }
#pause input[type=range] { width: 100%; min-width: 0; }
#pause span { text-align: right; }
#pause .petit { max-width: 420px; text-align: center; }

/* ---------- Interface pendant la partie ---------- */
#attente-minuteurs:empty { display: none; }
#panneau-attente { width: 62%; } /* laisse la place au carnet et au minuteur dans les coins */

/* La quête en cours, en bas */
.quete-bas { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.quete-titre { color: var(--or); white-space: nowrap; }
.quete-titre:empty { display: none; }
.quete-titre::after { content: ' :'; }
#hud-bas, #balade-bas { padding: 4px 12px; min-height: 2em; }

/* « Espace ou clic : … », juste au-dessus de la barre du bas */
.indice-flottant {
    position: absolute;
    left: 50%; bottom: 2.6em;
    transform: translateX(-50%);
    padding: 1px 10px;
    background: rgba(16, 20, 15, .8);
    border: 2px solid var(--bois-clair);
    font-size: clamp(15px, 2vw, 20px);
    white-space: nowrap;
}
.indice-flottant:empty { display: none; }

#hud-partie { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
#hud-partie > * { pointer-events: auto; }

/* Le carnet, en haut à gauche : une couverture en cuir avec l'Arbre sur l'étiquette */
#bouton-carnet {
    position: absolute;
    top: 8px; left: 78px;
    width: 52px; height: 62px;
    margin: 0; padding: 0;
    background: #7a4526;
    border: 3px solid var(--bois);
    border-left: 9px solid #4a2814;
    border-radius: 2px 6px 6px 2px;
    box-shadow: 3px 0 0 var(--creme), 6px 0 0 var(--bois), 0 4px 0 rgba(0, 0, 0, .35);
}
#bouton-carnet:hover, #bouton-carnet:focus-visible { background: #93562f; border-color: var(--or); border-left-color: #4a2814; }
#bouton-carnet .etiquette {
    position: absolute;
    left: 5px; right: 5px; top: 8px; bottom: 14px;
    background: var(--creme);
    border: 2px solid var(--bois);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
#bouton-carnet .etiquette img { height: 100%; image-rendering: pixelated; }
#bouton-carnet .touche {
    position: absolute;
    right: -10px; bottom: -8px;
    min-width: 18px;
    padding: 0 3px;
    background: var(--creme);
    color: var(--bois);
    border: 2px solid var(--bois);
    font-size: 16px;
    line-height: 16px;
}
/* Le sac à dos, à gauche du carnet */
#bouton-sac {
    position: absolute;
    top: 6px; left: 10px;
    width: 60px; height: 64px;
    margin: 0; padding: 0;
    background: none;
    border: 0;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35));
}
#bouton-sac:hover, #bouton-sac:focus-visible { filter: drop-shadow(0 0 3px var(--or)) drop-shadow(0 4px 0 rgba(0, 0, 0, .35)); }
#bouton-sac img { width: 60px; height: 60px; image-rendering: pixelated; }
#bouton-sac .touche {
    position: absolute;
    right: -10px; bottom: -8px;
    min-width: 18px;
    padding: 0 3px;
    background: var(--creme);
    color: var(--bois);
    border: 2px solid var(--bois);
    font-size: 16px;
    line-height: 16px;
}

/* Le panneau du sac : des cases à gauche, la fiche de l'objet à droite */
#sac {
    position: absolute;
    inset: 8% 10%;
    background: var(--creme);
    color: #2a1b0e;
    border: 4px solid var(--bois);
    box-shadow: inset 0 0 0 3px var(--bois-clair);
    padding: 10px 16px;
    font-size: 19px;
    z-index: 5;
    display: flex; flex-direction: column;
}
#sac.cache { display: none; }
#sac h3 { margin: 0 0 8px; color: #8b3a1e; font-size: 22px; }
#fermer-sac { position: absolute; right: 6px; top: 4px; font-size: 18px; padding: 0 8px; }
.sac-contenu { display: grid; grid-template-columns: auto 1fr; gap: 18px; min-height: 0; flex: 1; }
#sac-cases { display: grid; grid-template-columns: repeat(4, 56px); grid-auto-rows: 56px; gap: 6px; align-content: start; overflow-y: auto; }
.case-sac {
    position: relative;
    margin: 0; padding: 0;
    background: #e8d9b5;
    border: 3px solid var(--bois-clair);
    box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .15);
    display: flex; align-items: center; justify-content: center;
}
.case-sac.libre { background: #efe3c6; opacity: .6; cursor: default; }
.case-sac:not(.libre):hover, .case-sac.choisie { border-color: #8b3a1e; background: #f6ecd2; }
.icone-objet { width: 32px; height: 32px; image-rendering: pixelated; }
.icone-objet.provisoire {
    display: flex; align-items: center; justify-content: center;
    background: #c9a46b; color: #3b2a1e; border: 2px solid var(--bois);
    font-family: 'Press Start 2P', monospace; font-size: 16px;
}
.case-sac .quantite {
    position: absolute; right: 2px; bottom: 0;
    font-size: 15px; color: #3b2a1e; text-shadow: 1px 1px 0 var(--creme);
}
#sac-fiche { border-left: 3px solid var(--bois-clair); padding-left: 16px; }
#sac-fiche h3 { margin: 6px 0; }
#sac-fiche .fiche-image { width: 96px; height: 96px; background: #e8d9b5; border: 3px solid var(--bois-clair); display: flex; align-items: center; justify-content: center; }
#sac-fiche .fiche-image .icone-objet { width: 80px; height: 80px; font-size: 32px; }

#hud-qui {
    position: absolute;
    top: 80px; left: 6px;
    padding: 0 6px;
    background: rgba(16, 20, 15, .7);
    font-size: clamp(15px, 2vw, 20px);
}

/* Le grand minuteur de la manche, en haut à droite (à côté du bouton ♪) */
#grand-minuteur {
    position: absolute;
    top: 6px; right: 48px;
    display: flex; flex-direction: column; align-items: flex-end;
    padding: 4px 10px 6px;
    background: rgba(16, 20, 15, .78);
    border: 3px solid var(--bois-clair);
}
#minuteur-titre { font-size: clamp(14px, 1.8vw, 18px); line-height: 1; }
#minuteur-titre:empty { display: none; }
#minuteur-valeur {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(18px, 3.4vw, 30px);
    color: var(--or);
    text-shadow: 2px 2px 0 #1a1410;
    margin-top: 4px;
}
#grand-minuteur.presse { border-color: #c0392b; }
#grand-minuteur.presse #minuteur-valeur { color: #ff6b5a; animation: battement 1s steps(2) infinite; }
@keyframes battement { 50% { transform: scale(1.08); } }

/* L'Arbre sacré dans le carnet */
#carnet-arbre {
    display: flex; gap: 16px; align-items: center;
    margin: 0 30px 10px 0;
    padding: 6px 10px;
}
/* encre brune : l'image en niveaux de gris, puis teintée sépia et assombrie */
#carnet-arbre-image {
    height: 110px;
    image-rendering: pixelated;
    filter: grayscale(1) sepia(1) saturate(1.5) brightness(.62) contrast(1.35);
    mix-blend-mode: multiply;
    transition: opacity 1s;
}
#carnet-arbre > div { flex: 1; }
#carnet-arbre-temps { font-family: 'Press Start 2P', monospace; font-size: clamp(12px, 1.8vw, 18px); margin: 6px 0; }
.jauge { height: 12px; background: #d8c9a8; border: 2px solid var(--bois); }
.jauge > div { height: 100%; background: #4f8a4a; transition: width 1s; }
.jauge > div.moyen { background: #d39b2a; }
.jauge > div.faible { background: #c0392b; }

/* « Tu as obtenu… » (obtenu.js) */
#obtenu {
    position: absolute;
    inset: 0;
    z-index: 12;
    background: rgba(12, 9, 5, .68);
    cursor: pointer;
}
#obtenu-effet { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.obtenu-banniere {
    position: absolute;
    left: 3%; right: 3%; bottom: 4%;
    min-height: 19%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--creme);
    color: #2a1b0e;
    border: 4px solid var(--bois);
    box-shadow: inset 0 0 0 3px var(--bois-clair);
    padding: 8px 16px;
    font-size: clamp(20px, 3.2vw, 32px);
    line-height: 1.15;
    text-align: center;
}
.obtenu-banniere p { margin: 0; }
#obtenu-nom { color: #3f7f1f; }
#obtenu-quantite { color: #8b3a1e; font-size: .8em; }
#obtenu-quantite:empty { display: none; }
.obtenu-banniere .suite { position: absolute; right: 12px; bottom: 4px; font-size: 18px; opacity: .6; }
#obtenu.arrive { animation: obtenu-voile .2s ease-out; }
#obtenu.arrive .obtenu-banniere { animation: obtenu-banniere .35s .15s ease-out backwards; }
#obtenu.part { opacity: 0; transition: opacity .2s; }
@keyframes obtenu-voile { from { background: rgba(12, 9, 5, 0); } }
@keyframes obtenu-banniere { from { transform: translateY(40%); opacity: 0; } }

/* ---------- Options et crédits : une carte en parchemin, comme le menu pause ---------- */
.carte-menu {
    width: min(560px, 92%);
    max-height: 100%;
    overflow: auto;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--creme);
    color: #2a1b0e;
    border: 4px solid var(--bois);
    box-shadow: inset 0 0 0 3px var(--bois-clair), 0 6px 0 rgba(0, 0, 0, .4);
    padding: 16px 26px 18px;
}
.carte-menu h2 { color: #8b3a1e; margin-bottom: 4px; }
.carte-menu h3 {
    align-self: stretch;
    margin: 10px 0 2px;
    font-family: 'Press Start 2P', monospace; font-size: 11px; color: #8b3a1e;
    border-bottom: 2px solid #d8c6a2; padding-bottom: 4px; text-align: left;
}
.carte-menu .petit { color: #5a4630; opacity: 1; margin: 2px 0 6px; }
.carte-menu p { margin: 2px 0; }

/* une ligne de réglage : nom | interrupteur | barre | pourcentage */
.reglage { display: grid; grid-template-columns: 5.5em auto minmax(0, 1fr) 3.2em; align-items: center; gap: 12px; width: 100%; font-size: 22px; }
.reglage .nom { text-align: left; }
.reglage .valeur { text-align: right; }

/* interrupteur pixel : une case qui glisse */
.interrupteur { position: relative; width: 40px; height: 20px; margin: 0; cursor: pointer; }
.interrupteur input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.interrupteur span { position: absolute; inset: 0; background: #b9a888; border: 2px solid var(--bois); }
.interrupteur span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; background: var(--creme); border: 2px solid var(--bois); box-sizing: border-box; transition: left .12s; }
.interrupteur input:checked + span { background: #6a9a3a; }
.interrupteur input:checked + span::after { left: 22px; }
.interrupteur input:focus-visible + span { outline: 2px solid var(--or); }

/* barres de volume pixel (Options et pause) */
input.volume { -webkit-appearance: none; appearance: none; height: 12px; background: transparent; cursor: pointer; margin: 0; }
input.volume::-webkit-slider-runnable-track {
    height: 12px; border: 2px solid var(--bois);
    background: linear-gradient(90deg, #8b3a1e var(--rempli, 50%), #e2d3b4 var(--rempli, 50%));
}
input.volume::-moz-range-track { height: 8px; border: 2px solid var(--bois); background: #e2d3b4; }
input.volume::-moz-range-progress { height: 8px; background: #8b3a1e; }
input.volume::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 20px; margin-top: -6px; background: var(--or); border: 2px solid var(--bois); }
input.volume::-moz-range-thumb { width: 10px; height: 16px; border-radius: 0; background: var(--or); border: 2px solid var(--bois); }
input.volume:focus-visible { outline: 2px solid var(--or); }

/* crédits */
.logo-credits { width: min(300px, 70%); box-sizing: border-box; image-rendering: pixelated; margin-bottom: 4px; padding: 8px 20px; background: radial-gradient(circle at 50% 40%, #2c4227, #141c12); border: 3px solid var(--bois); }
.carte-menu .noms { font-family: 'Press Start 2P', monospace; font-size: clamp(11px, 1.6vw, 15px); color: #3f7f1f; margin: 2px 0 8px; line-height: 1.5; }
.credits-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; margin: 4px 0 8px; }
.credits-colonnes h3 { text-align: center; font-size: 9px; line-height: 1.5; }
.credits-colonnes p { font-size: 19px; line-height: 1.1; }
