/* Shanghopong : la borne du marché de nuit. En-tête : le ciel de l'écran titre du jeu (logo, lune, toits) ; menu : la perche de bambou du jeu,
   une raquette pend sous chaque rubrique et tourne sa plaque vers le visiteur ; contenu : la laque jade de la table du MARCHÉ DE NUIT ;
   pied : le public du marché. Aplats pleins seulement : ni bordure, ni ombre, ni coin arrondi (règle de dessin d'Alex). */
@font-face { font-family: "Shangho 5x7"; src: url(polices/shangho-5x7.woff2) format("woff2"); font-display: swap; }

:root {
  --nuit: #120a22; --prune: #241230; --violet: #33203a; --jade: #1f5a46; --jade2: #2a6e56; --jade-f: #123628;
  --creme: #fff4e0; --or: #ffe890; --seve: #ffc830; --jade-c: #7ce8b8; --gris: #a898b8; --rouge: #c42c2c; --bambou: #b08a3a;
  --pixel: "Shangho 5x7", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --large: 1200px;
  --cjk-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "Noto Sans JP", "IPAexGothic";
  --cjk-ko: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", "NanumGothic";
  --cjk-zh: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "WenQuanYi Micro Hei", "Source Han Sans SC";
  color-scheme: dark;
}
/* La 5x7 n'a que le latin : les idéogrammes viennent d'une police du système, de la variante de leur langue */
:lang(ja) { --pixel: "Shangho 5x7", var(--cjk-ja), sans-serif; --sans: system-ui, var(--cjk-ja), sans-serif; line-break: strict; }
:lang(ko) { --pixel: "Shangho 5x7", var(--cjk-ko), sans-serif; --sans: system-ui, var(--cjk-ko), sans-serif; word-break: keep-all; overflow-wrap: break-word; }
:lang(zh) { --pixel: "Shangho 5x7", var(--cjk-zh), sans-serif; --sans: system-ui, var(--cjk-zh), sans-serif; line-break: strict; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--creme); background: var(--nuit); font: 18px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; image-rendering: pixelated; }
a { color: var(--or); text-underline-offset: 3px; }
a:hover { color: var(--creme); }
a:focus-visible, summary:focus-visible { outline: none; background: var(--seve); color: var(--nuit); }
code { font-size: .9em; color: var(--jade-c); overflow-wrap: anywhere; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lie { white-space: nowrap; }
.saut { position: absolute; left: 16px; top: -60px; z-index: 9; padding: 8px 14px; background: var(--seve); color: var(--nuit); font: 20px/1 var(--pixel); }
.saut:focus { top: 8px; }

/* ---------- le ciel : l'écran titre du jeu, agrandi au pixel près ---------- */
.ciel {
  position: relative; height: 300px; background: var(--nuit) url(images/ciel.png) center top / 1920px 300px no-repeat;
  image-rendering: pixelated;
}
.marque { position: absolute; left: 50%; top: 40px; width: 420px; height: 140px; transform: translateX(-50%); }
.marque:focus-visible { background: none; outline: none; }
.marque:focus-visible::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--seve); }

/* Choix de la langue, en haut à droite, sans script */
.langue { position: absolute; right: 16px; top: 12px; z-index: 5; }
.langue summary { list-style: none; cursor: pointer; padding: 6px 10px; background: var(--prune); color: var(--or); font: 20px/1 var(--pixel); }
.langue summary::-webkit-details-marker { display: none; }
.langue nav { position: absolute; right: 0; top: 100%; width: 232px; max-width: 92vw; padding: 8px 0; background: var(--prune); }
.langue ul { list-style: none; margin: 0; padding: 0; }
.langue a { display: block; padding: 6px 16px 6px 40px; color: var(--creme); text-decoration: none; }
.langue a:hover { background: var(--violet); }
.langue a.courante { background: url(images/balle-6.png) 16px 50% / 12px 12px no-repeat; color: var(--or); }

/* ---------- la perche : bambou du menu du jeu, une raquette pendue par rubrique ---------- */
.perche { position: absolute; left: 0; right: 0; bottom: 0; height: 132px; }
.perche::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; background: url(images/perche.png) 0 0 / 256px 20px repeat-x; }
.perche ul { position: relative; display: flex; justify-content: center; gap: 14px; margin: 0; padding: 0 16px; list-style: none; }
.perche a { display: flex; flex-direction: column; align-items: center; min-width: 96px; padding-top: 8px; color: var(--creme); text-decoration: none; }
.raquette { display: block; width: 64px; height: 96px; background: url(images/raquette-rouge.png) -64px 0 / 256px 96px; }
.perche li:nth-child(odd) .raquette { animation: balance 1.3s steps(1) infinite; }
.perche li:nth-child(even) .raquette { animation: balance 1.7s steps(1) infinite; }
@keyframes balance { 50% { transform: translateX(2px); } }
@keyframes pivot { from { background-position: -64px 0; } to { background-position: -192px 0; } }
.perche a:hover .raquette, .perche a:focus-visible .raquette { animation: pivot .1s steps(2) forwards; }
.perche a.choisie .raquette { position: relative; animation: none; background-position: -192px 0; }
/* Balle qui rebondit sur la plaque de la raquette choisie, comme dans le menu du jeu */
.perche a.choisie .raquette::after {
  content: ""; position: absolute; left: 26px; top: 30px; width: 12px; height: 12px; background: url(images/balle-6.png) 0 0 / 12px 12px;
  animation: rebond .6s steps(6) infinite alternate;
}
@keyframes rebond { from { transform: translateY(0); } to { transform: translateY(-24px); } }
.perche .mot {
  display: block; max-width: 100%; margin-top: -2px; padding: 3px 6px; background: var(--nuit);
  font: 16px/1.1 var(--pixel); text-transform: uppercase; text-align: center; white-space: nowrap;
}
.perche a:hover .mot, .perche a:focus-visible .mot { background: var(--seve); color: var(--nuit); }
.perche a.choisie .mot { color: var(--or); }
.perche-tel { display: none; }

@media (max-width: 1023px) {
  .ciel { height: 220px; background-size: 1440px 225px; }
  .marque { top: 28px; width: 320px; height: 110px; }
  .perche { display: none; }
  .perche-tel { display: block; position: absolute; left: 0; right: 0; bottom: 0; }
  .perche-tel summary {
    display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; width: max-content; margin: 0 auto; padding: 2px 16px 4px 10px;
    background: var(--nuit); color: var(--or); font: 20px/1 var(--pixel); text-transform: uppercase;
  }
  .perche-tel summary::-webkit-details-marker { display: none; }
  .perche-tel summary .raquette { width: 32px; height: 48px; background-size: 128px 48px; }
  .perche-tel[open] summary .raquette { background-position: -96px 0; }
  .perche-tel nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 6; padding: 8px 16px 16px; background: var(--prune); }
  .perche-tel ul { list-style: none; margin: 0 auto; padding: 0; max-width: 480px; }
  .perche-tel a { display: flex; align-items: center; gap: 12px; padding: 4px 8px; color: var(--creme); text-decoration: none; font: 18px/1.2 var(--pixel); text-transform: uppercase; }
  .perche-tel a .raquette { width: 16px; height: 24px; background-size: 64px 24px; flex: none; }
  .perche-tel a.choisie { color: var(--or); }
  .perche-tel a.choisie .raquette { background-position: -48px 0; }
  .perche-tel a:hover { background: var(--violet); }
}
@media (max-width: 599px) {
  .ciel { height: 168px; background-size: 960px 150px; background-position: center 0; }
  .marque { top: 12px; width: 220px; height: 80px; }
  .langue { right: 8px; top: 8px; }
}

/* ---------- la salle : colonne de laque jade, rails de pub dans les marges ---------- */
.salle { width: 100%; padding: 0 0 56px; }
main { display: block; width: 100%; max-width: var(--large); margin: 0 auto; padding: 40px 56px 56px; background: var(--jade); }
@media (max-width: 899px) { main { padding: 28px 24px 44px; } }
@media (max-width: 599px) { main { padding: 20px 16px 36px; } .salle { padding-bottom: 32px; } }

/* Tête de page : titre, chapeau, un joueur du jeu animé */
.tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 8px; }
.tete h1 { margin: 0; font: 40px/1.15 var(--pixel); color: var(--or); text-transform: uppercase; overflow-wrap: anywhere; }
.chapeau { margin: 12px 0 0; font-size: 21px; line-height: 1.5; }
.tete-perso img { display: block; }
@media (max-width: 599px) { .tete { grid-template-columns: minmax(0, 1fr); gap: 4px; } .tete-perso { grid-row: 1; justify-self: end; } .tete h1 { font-size: 24px; } .chapeau { font-size: 19px; } .tete-perso img { width: 72px; } }

/* Rubriques : titres en lettres du jeu, une balle de spécial devant */
.rubrique { margin-top: 56px; }
.tete + .rubrique { margin-top: 36px; }
h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 26px/1.2 var(--pixel); color: var(--or); text-transform: uppercase; }
h2 > span { min-width: 0; overflow-wrap: anywhere; }
.balle-titre { flex: none; width: 24px; height: 24px; }
h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.35; color: var(--creme); }
h3 img { width: 20px; height: 20px; vertical-align: -2px; }
p { margin: 0 0 14px; }
.suite { display: inline-block; padding: 6px 14px 6px 38px; background: var(--nuit) url(images/balle-6.png) 14px 50% / 12px 12px no-repeat; text-decoration: none; font: 18px/1.3 var(--pixel); text-transform: uppercase; }
.suite:hover { background-color: var(--prune); }
@media (max-width: 599px) { h2 { font-size: 21px; gap: 10px; } .rubrique { margin-top: 44px; } }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 899px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Listes : une petite balle à la place de la puce */
ul.points { list-style: none; margin: 0 0 14px; padding: 0; }
ul.points li { position: relative; padding-left: 28px; margin-bottom: 8px; }
ul.points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; background: url(images/balle-6.png) 0 0 / 12px 12px; image-rendering: pixelated; }

/* Écrans du jeu : l'image CRT telle quelle */
figure.ecran { margin: 0; }
figure.ecran img { display: block; width: 100%; image-rendering: auto; background: var(--nuit); }

/* La couche déglinguée, les spéciaux, les objets : le sprite, puis le texte */
ul.trucs, ul.objets, ul.joueurs, ul.salles { list-style: none; margin: 0; padding: 0; }
ul.trucs li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 22px; }
.truc-img { display: flex; justify-content: center; align-items: flex-end; min-height: 96px; }
.truc-img img[src*="seve"] { width: 104px; }
ul.objets li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 18px; }
ul.objets li > img { margin-top: 4px; }
@media (min-width: 900px) { ul.objets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; } }
.rang { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.rang-boss img { width: 112px; }
.sprites { display: flex; gap: 24px; align-items: flex-end; justify-content: center; margin: 0; }
.souffle-jauge { position: relative; width: 312px; height: 24px; }
.souffle-jauge img { position: absolute; left: 0; top: 0; width: 312px; max-width: none; }
.souffle-jauge span { position: absolute; left: 0; top: 0; width: 0; height: 24px; overflow: hidden; animation: seve 3s steps(26) infinite; }
@keyframes seve { to { width: 312px; } }

/* Joueurs : sprite de victoire, fiche, jauges de bambou du choix du joueur */
ul.joueurs li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 36px; }
.joueur-img { display: flex; justify-content: center; }
.stats { display: grid; grid-template-columns: max-content 208px; gap: 4px 16px; align-items: center; margin: 8px 0 0; }
.stats dt { font: 15px/1.2 var(--pixel); text-transform: uppercase; color: var(--jade-c); }
.stats dd { margin: 0; }
.jauge { display: block; position: relative; width: 208px; height: 16px; background: url(images/tige.png) 0 0 / 208px 16px; image-rendering: pixelated; }
.jauge > span { display: block; height: 16px; background: url(images/seve.png) 0 0 / 208px 16px; image-rendering: pixelated; }
@media (max-width: 599px) {
  ul.trucs li { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  ul.trucs .truc-img img { width: 72px; }
  ul.joueurs li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .joueur-img { justify-content: flex-start; }
  .stats { grid-template-columns: max-content minmax(0, 208px); }
  .jauge { width: 100%; max-width: 208px; background-size: 100% 16px; }
  .jauge > span { background-size: 208px 16px; }
}

/* Salles : l'écran, puis la fiche, en quinconce sur grand écran */
ul.salles li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: center; margin-bottom: 36px; }
ul.salles li:nth-child(even) > figure { order: 2; }
@media (max-width: 899px) { ul.salles li { grid-template-columns: minmax(0, 1fr); gap: 12px; } ul.salles li:nth-child(even) > figure { order: 0; } }

/* Galerie (#103) : chaque écran pend à son bout de perche de bambou par deux ficelles, un par rangée, en quinconce */
ul.galerie { list-style: none; margin: 0; padding: 0; }
ul.galerie li { position: relative; width: 80%; margin: 0 0 28px; padding-top: 44px; }
ul.galerie li:nth-child(even) { margin-left: auto; }
ul.galerie .ecran { margin: 0; }
.ficelles { position: absolute; left: -12px; right: -12px; top: 0; height: 44px; image-rendering: pixelated;
  background: url(images/perche.png) 0 0 / 256px 20px repeat-x,
    linear-gradient(90deg, transparent 15%, var(--bambou) 15% calc(15% + 4px), transparent calc(15% + 4px) calc(85% - 4px), var(--bambou) calc(85% - 4px) 85%, transparent 85%) 0 20px / 100% 24px no-repeat; }
@media (max-width: 767px) { ul.galerie li { width: 100%; } .ficelles { left: 0; right: 0; } }

/* Étapes : le numéro seul, sans autre marqueur */
ol.etapes { list-style: none; margin: 0 0 14px; padding: 0; }
ol.etapes li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.rebond { position: relative; display: block; height: 48px; }
.bientot { font: 13px/1 var(--pixel); color: var(--jade-c); }
.rebond-n { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 22px/1 var(--pixel); color: var(--or); }

/* Fiches : terme et définition */
dl.touches { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px 24px; margin: 0 0 14px; }
dl.touches dt { font-weight: 700; color: var(--or); }
dl.touches dd { margin: 0; }
@media (max-width: 599px) { dl.touches { grid-template-columns: minmax(0, 1fr); gap: 2px; } dl.touches dd { margin-bottom: 12px; } }

/* Table des commandes : rangées alternées en aplat */
.defile { overflow-x: auto; }
table.commandes { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
table.commandes th, table.commandes td { padding: 8px 10px; text-align: left; vertical-align: top; }
table.commandes thead th { background: var(--nuit); color: var(--or); font: 15px/1.3 var(--pixel); text-transform: uppercase; }
table.commandes tbody tr:nth-child(even) { background: var(--jade-f); }
table.commandes tbody th { color: var(--or); font-weight: 700; }
/* Téléphone et tablette étroite : chaque action en bloc, l'appareil devant chaque touche */
@media (max-width: 767px) {
  table.commandes { min-width: 0; }
  table.commandes thead { display: none; }
  table.commandes tbody, table.commandes tr, table.commandes th, table.commandes td { display: block; }
  table.commandes tbody tr { padding: 6px 0 10px; }
  table.commandes tbody th { padding-bottom: 4px; }
  table.commandes td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px; padding: 2px 10px; }
  table.commandes td::before { content: attr(data-col); color: var(--jade-c); font: 13px/1.6 var(--pixel); text-transform: uppercase; }
}

/* FAQ : la raquette de tranche tant que la réponse est fermée, plaque face au visiteur quand elle s'ouvre */
.faq details { margin-bottom: 10px; }
.faq summary { display: flex; gap: 14px; align-items: center; list-style: none; cursor: pointer; padding: 4px 8px 4px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.q-raquette { flex: none; width: 32px; height: 48px; background: url(images/raquette-gris.png) 0 0 / 128px 48px; image-rendering: pixelated; }
.faq details[open] .q-raquette { background-image: url(images/raquette-rouge.png); background-position: -96px 0; }
.faq summary:hover { color: var(--or); }
.q-texte { flex: 1 1 auto; min-width: 0; }
.faq details > p { margin-left: 46px; }

/* Téléchargements : une raquette grise tant que le paquet n'existe pas, rouge et de face quand il existe */
.paquet { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px 20px; background: var(--jade-f); }
.paquet-raquette { width: 64px; height: 96px; background: url(images/raquette-gris.png) -192px 0 / 256px 96px; image-rendering: pixelated; }
.paquet.pret .paquet-raquette { background-image: url(images/raquette-rouge.png); background-position: -192px 0; }
.paquet .etat { margin: 0 0 6px; font: 22px/1.2 var(--pixel); color: var(--or); text-transform: uppercase; }
.paquet .fiche { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.paquet .fiche dd { margin: 0; }
.nomfic, .empreinte { overflow-wrap: anywhere; }
.dispo, .attente { font: 16px/1 var(--pixel); text-transform: uppercase; }
.attente { color: var(--gris); }

/* ---------- l'accueil : la borne sur le ciel de nuit, puis la table ---------- */
.page-accueil main { padding: 0; background: none; max-width: 1232px; }
.borne { padding: 32px 16px 40px; text-align: center; }
.vue { position: relative; width: 100%; max-width: 1152px; margin: 0 auto; background: var(--nuit); }
.vue-borne { display: block; width: 100%; height: auto; aspect-ratio: 1152 / 672; }
.vue-start { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.vue-start:focus-visible { background: none; outline: none; }
.vue-start:focus-visible::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: var(--seve); }
.accroche { max-width: 820px; margin: 22px auto 0; font: 600 23px/1.45 var(--sans); color: var(--creme); }
.etat-jeu { margin: 12px 0 0; font: 17px/1.3 var(--pixel); color: var(--jade-c); text-transform: uppercase; }
.table { padding: 8px 56px 56px; background: var(--jade); }
@media (max-width: 899px) { .table { padding: 4px 24px 44px; } }
@media (max-width: 599px) { .borne { padding: 16px 0 28px; } .accroche { font-size: 19px; padding: 0 16px; } .etat-jeu { padding: 0 16px; } .table { padding: 4px 16px 36px; } }

/* ---------- publicité : rails 160 x 600 seulement (règle d'Alex du 17/11), au milieu de la marge libre de 176 px ou plus ---------- */
/* Le rail pend à un bout de perche de bambou par deux ficelles ; le mot est peint sur une plaque de bambou (#102) */
.pub { display: flex; flex-direction: column; align-items: center; }
.pub::before { content: ""; display: block; width: 192px; height: 40px; image-rendering: pixelated;
  background: url(images/perche.png) 0 0 / 256px 20px repeat-x,
    linear-gradient(90deg, transparent 40px, var(--bambou) 40px 44px, transparent 44px 148px, var(--bambou) 148px 152px, transparent 152px) 0 20px / 100% 20px no-repeat; }
.pub-mot { margin: 0; padding: 6px 12px 4px; font: 16px/1 var(--pixel); color: var(--nuit); background: var(--bambou); text-transform: uppercase; }
.pub-mot + .pub-boite { margin-top: 6px; }
.pub-boite { background: var(--prune); }
.pub-gauche, .pub-droite { display: none; }
@media (min-width: 1552px) {
  .salle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--large)) minmax(0, 1fr); }
  .salle > main { grid-column: 2; grid-row: 1; }
  /* Accueil : 1232 px au plus, jamais moins de 176 px de marge de chaque côté (1552 à 1583 px : colonne réduite) */
  .page-accueil .salle { grid-template-columns: minmax(0, 1fr) minmax(0, min(1232px, calc(100vw - 352px))) minmax(0, 1fr); }
  .pub-gauche, .pub-droite { display: flex; position: sticky; top: 24px; align-self: start; justify-self: center; margin-top: 40px; grid-row: 1; }
  .pub-gauche { grid-column: 1; } .pub-droite { grid-column: 3; }
}

/* ---------- le pied : le public du marché, les lanternes ---------- */
.pied { background: var(--prune); }
.pied-public { height: 84px; background: var(--nuit) url(images/public.png) 0 0 / 832px 84px repeat-x; image-rendering: pixelated; }
.pied-in { max-width: 1100px; margin: 0 auto; padding: 28px 16px 32px; text-align: center; }
.pied-lanternes { display: flex; justify-content: center; gap: 28px; margin-bottom: 18px; }
.pied-lanternes img { display: block; }
.pied-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; list-style: none; margin: 0 0 16px; padding: 0; }
.pied-liens a { color: var(--creme); }
.pied-bas { margin: 0; font-size: 15px; color: var(--gris); }
.pied-bas a { color: var(--or); }
@media (max-width: 599px) { .pied-public { height: 63px; background-size: 624px 63px; } }

@media (prefers-reduced-motion: reduce) {
  .raquette, .perche a:hover .raquette, .perche a.choisie .raquette::after, .souffle-jauge span { animation: none !important; }
  .souffle-jauge span { width: 312px; }
}
@media print {
  .pub, .perche, .perche-tel, .langue, .tete-perso, .pied-public { display: none !important; }
  body, main, .table { background: #fff; color: #000; }
}

/* ---------- la salle Shangho Games : logo en haut à gauche du ciel et dans le pied ---------- */
.px, .logo-salle, .lanterne { image-rendering: pixelated; }
.salle-lien { position: absolute; left: 16px; top: 14px; z-index: 5; display: flex; flex-direction: column; gap: 6px; color: var(--creme); text-decoration: none; font: 16px/1 var(--pixel); text-transform: uppercase; }
.salle-lien img { display: block; }
.salle-lien span::before { content: "\2190\00a0"; }
.salle-lien:hover span, .salle-lien:focus-visible span { color: var(--or); }
.pied-salle { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 0 20px; color: var(--or); text-decoration: none; font: 18px/1.2 var(--pixel); text-transform: uppercase; }
.pied-salle img { display: block; }
.pied-salle:hover span { color: var(--creme); }
@media (max-width: 599px) {
  .salle-lien { left: 10px; top: 10px; font-size: 13px; gap: 4px; }
  .salle-lien img { width: 158px; height: 20px; }
  .marque { top: 40px; }
}

/* ---------- ressources : une planche par rubrique, l'aperçu à gauche, le fichier à droite ---------- */
.planche { list-style: none; margin: 0; padding: 0; }
.obj { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px 0; }
.obj-apercu { display: flex; justify-content: center; align-items: center; min-height: 120px; background: var(--nuit); }
.obj-apercu img, .obj-apercu video { display: block; max-width: 100%; height: auto; }
.obj-lanternes { display: flex; gap: 24px; padding: 24px 0; }
.obj-texte h3 { margin-bottom: 6px; color: var(--or); }
.obj-note { margin: 0 0 6px; }
.obj-poids { margin: 0 0 12px; font: 14px/1.3 var(--pixel); color: var(--seve); text-transform: uppercase; }
.obj-sup { padding: 0 0 8px; }
.obj-sup a { font: 16px/1.3 var(--pixel); text-transform: uppercase; }
.obj-usage { margin-top: 40px; }
@media (max-width: 699px) {
  .obj { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
