

.deco-ciel, .deco-medaille, .deco-cible {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url('../images/avions.png') no-repeat;
  background-size: 160px 240px;
  image-rendering: pixelated;
}
.deco-ciel     { background-position: 0 -40px; }
.deco-medaille { background-position: -40px -40px; }
.deco-cible    { background-position: -120px -40px; }

.rules { --rules-symbole: '\2708'; }


.esc-en-bref { max-width: 560px; margin: 10px auto 12px; font-size: 0.9rem; line-height: 1.5; color: var(--texte-doux); }
.esc-en-bref strong { color: var(--texte); }
.esc-tous-guides { margin: 14px 0 0; text-align: center; font-size: 0.9rem; }
.esc-tous-guides a { color: var(--color-light); }

.mode-card .mode-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-solo         { background: rgba(159, 216, 234, 0.18); color: #b9e6f5; }
.badge-defi         { background: rgba(242, 182, 50, 0.18); color: #f7d27a; }
.badge-entrainement { background: rgba(127, 211, 240, 0.14); color: #8fdcff; }
.badge-classement   { background: rgba(226, 85, 63, 0.16); color: #ffab9b; }

a.mode-card { text-decoration: none; display: block; }
a.mode-card h2 { margin: 6px 0 4px; }


.esc-capture { margin: 16px auto 6px; max-width: 360px; }
.esc-capture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line-forte);
  image-rendering: pixelated;
}
.esc-capture figcaption { margin-top: 6px; font-size: 0.82rem; color: var(--texte-doux); text-align: center; }


.esc-tableau-defile { overflow-x: auto; margin: 10px 0 12px; }
.esc-tableau {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: left;
}
.esc-tableau th, .esc-tableau td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.esc-tableau thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--texte-doux); white-space: nowrap; }
.esc-tableau tbody th { font-weight: 700; color: var(--texte); white-space: nowrap; }
.esc-tableau td { color: var(--texte-doux); }
.esc-vignette {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  margin-right: 8px;
  vertical-align: middle;
}

.esc-sprite, .esc-tuile { display: inline-block; image-rendering: pixelated; background-repeat: no-repeat; }
.esc-sprite { width: 32px; height: 32px; background-image: url('../images/avions.png'); background-size: 128px 192px; }
.esc-sprite.av-0 { background-position: 0 -32px; }
.esc-sprite.av-1 { background-position: -32px -32px; }
.esc-sprite.av-2 { background-position: -96px -32px; }
.esc-tuile { width: 32px; height: 32px; background-image: url('../images/tuiles.png'); background-size: 384px 320px; }
.esc-tuile.t-18 { background-position: -192px -32px; }
.esc-tuile.t-24 { background-position: 0 -64px; }
.esc-tuile.t-25 { background-position: -32px -64px; }
.esc-tuile.t-26 { background-position: -64px -64px; }
@media (max-width: 520px) {
  .esc-tableau th, .esc-tableau td { padding: 7px 6px; }
  .esc-vignette { width: 36px; margin-right: 4px; }
}


.faq-section { margin: 14px 0 10px; }
.faq-item {
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: none;
  border: 0;
  color: var(--texte);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-question:hover { background: color-mix(in srgb, var(--color-mid) 12%, transparent); }
.faq-question:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.faq-question::after {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-light);
  border-bottom: 2px solid var(--color-light);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-answer { padding: 0 16px 14px; color: var(--texte-doux); line-height: 1.65; font-size: 0.9rem; text-align: left; }
.faq-answer[hidden] { display: none; }
