/* Écrans sociaux de Guerre des prix (lot E) : panneau de partage, arrivée
   par un lien, boîte aux lettres, fin de guerre, à propos, et le contenu des
   emplacements data-slot="nouvelles" et data-slot="social-bilan".

   Repris de social.css de Pile Poil : les composants de la promo Mantan
   traduits en em (Bulle, Mot, Badge, Pastille, Carte). Ombre dure pour ce qui
   surgit, ombre floue pour les seules cartes à lire ; autocollants opaques,
   jamais de backdrop-filter, jamais de thème sombre. Toutes les classes
   commencent par gs- pour ne rien toucher de style.css (lot D).

   Les entrées au ressort sont jouées en JS (Web Animations) : la propriété
   transform leur appartient, l'inclinaison fixe d'un autocollant passe donc
   par la propriété rotate. */

/* --------------------------------------------------------------------------
   Écran
   -------------------------------------------------------------------------- */

.gs-ecran {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* .ui laisse passer le pointeur jusqu'à la carte : un écran social le reprend */
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: 'Nunito', 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
  color: #1f2937;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.gs-ecran[hidden],
.gs-ecran [hidden] {
  display: none !important;
}

.gs-ecran *,
.gs-panneau * {
  box-sizing: border-box;
}

/* colonne de lecture : le contenu ne s'étale pas sur un écran large */
.gs-colonne {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.gs-centre {
  text-align: center;
}

.gs-nombre {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-variant-numeric: tabular-nums;
}

.gs-hors-ecran {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* en-tête : retour à gauche, titre au centre, la droite libre pour le bouton son de la façade */
.gs-entete {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 58px 6px;
  flex: none;
}

.gs-retour {
  position: absolute;
  left: 0;
  top: 6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #15803d;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.gs-retour:active {
  translate: 0 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.gs-picto {
  width: 24px;
  height: 24px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Autocollants de la promo
   -------------------------------------------------------------------------- */

/* Bulle : étiquette du haut de l'écran, vert foncé pour les bonnes nouvelles,
   rouge pour une guerre perdue ou une nouvelle de la boîte */
.gs-bulle {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  padding: 0.196em 0.478em 0.109em;
  border-radius: 0.435em;
  background: #15803d;
  color: #fff;
  font: 800 1.75rem/1.05 'Baloo 2', 'Nunito', sans-serif;
  text-align: center;
  box-shadow: 0 0.152em 0 rgba(0, 0, 0, 0.18);
  rotate: -3deg;
  overflow-wrap: anywhere;
}

.gs-bulle-rouge { background: #ef4444; }

/* Mot : gros mot qui surgit (titres, chiffres) */
.gs-mot {
  margin: 0;
  font: 800 2.25rem/1 'Baloo 2', 'Nunito', sans-serif;
  letter-spacing: -0.01em;
  color: #15803d;
  text-align: center;
  text-shadow: 0 0.05em 0 #15803d22;
}


/* sur le fond vert de la promo, les titres sont blancs */
html[data-fond='vert'] .gs-sur-vert .gs-mot {
  color: #fff;
  text-shadow: 0 0.05em 0 rgba(0, 0, 0, 0.18);
}

/* Badge « EXCLUSIF » : jaune, capitales, oscillation 4° ± 2° sur 1,26 s */
.gs-badge {
  display: inline-block;
  padding: 0.18em 0.6em 0.07em;
  border-radius: 0.54em;
  background: #facc15;
  color: #1f2937;
  font: 800 0.875rem/1.2 'Baloo 2', 'Nunito', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 0.14em 0 rgba(0, 0, 0, 0.15);
  rotate: 4deg;
  animation: gs-oscille 1.26s ease-in-out infinite;
}

@keyframes gs-oscille {
  0%, 100% { rotate: 2deg; }
  50% { rotate: 6deg; }
}

/* Pastille : blanche, texte vert foncé, légèrement penchée */
.gs-pastille {
  display: inline-block;
  padding: 0.267em 0.667em 0.1em;
  border-radius: 0.567em;
  background: #fff;
  color: #15803d;
  font: 800 1rem/1.25 'Baloo 2', 'Nunito', sans-serif;
  box-shadow: 0 0.167em 0 rgba(0, 0, 0, 0.15);
  rotate: -2deg;
  white-space: nowrap;
}

.gs-pastilles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.gs-pastilles .gs-pastille:nth-child(even) { rotate: 2deg; }

/* Carte (« Sous » de la promo) : la seule à ombre floue, faite pour être lue */
.gs-carte {
  border-radius: 0.68em;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 0.27em 0.68em rgba(0, 0, 0, 0.18);
  padding: 14px 16px;
}

.gs-etiquette {
  margin: 0 0 6px;
  font: 800 0.8125rem/1.25 'Nunito', sans-serif;
  color: #15803d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gs-texte {
  margin: 0;
  font: 800 1rem/1.35 'Nunito', sans-serif;
}

.gs-texte-doux {
  margin: 0;
  font: 700 0.9375rem/1.4 'Nunito', sans-serif;
  color: #374151;
}

/* --------------------------------------------------------------------------
   Boutons et champs
   -------------------------------------------------------------------------- */

.gs-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0.45em 1em 0.3em;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #15803d;
  font: 800 1.25rem/1.1 'Baloo 2', 'Nunito', sans-serif;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.gs-bouton:active {
  translate: 0 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

/* principal : le vert de la pompe et son ombre dure vert foncé (blanc sur
   #16a34a seulement en gros caractères gras : 20 px et plus) */
.gs-bouton-principal {
  width: 100%;
  min-height: 64px;
  background: #16a34a;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 6px 0 #15803d;
}

.gs-bouton-principal:active {
  translate: 0 5px;
  box-shadow: 0 1px 0 #15803d;
}

.gs-bouton-fonce {
  background: #15803d;
  color: #fff;
  box-shadow: 0 5px 0 #166534;
}

.gs-bouton-fonce:active {
  box-shadow: 0 1px 0 #166534;
}

.gs-bouton-large {
  width: 100%;
}

.gs-bouton-danger {
  background: #fff;
  color: #dc2626;
}

.gs-bouton[disabled],
.gs-bouton[aria-disabled='true'] {
  cursor: default;
  opacity: 0.55;
  translate: none;
}

.gs-lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 0;
  background: none;
  color: #15803d;
  font: 800 1rem/1.2 'Nunito', sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.gs-ecran :focus-visible,
.gs-panneau :focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}

/* la feuille reçoit le focus à l'ouverture (dialogue) : pas d'anneau autour d'elle */
.gs-panneau .gs-feuille:focus,
.gs-panneau .gs-feuille:focus-visible {
  outline: none;
}

.gs-boutons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.gs-champ {
  width: 100%;
  height: 54px;
  padding: 6px 16px 2px;
  border: 3px solid #15803d;
  border-radius: 16px;
  background: #fff;
  color: #1f2937;
  font: 800 1.375rem/1 'Baloo 2', 'Nunito', sans-serif;
  outline: none;
}

.gs-champ::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.gs-champ:focus {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

/* onglets : deux choix en pastilles accolées */
.gs-onglets {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.gs-onglet {
  flex: 1;
  min-height: 44px;
  padding: 6px 10px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #15803d;
  font: 800 1.0625rem/1.1 'Baloo 2', 'Nunito', sans-serif;
  cursor: pointer;
}

.gs-onglet[aria-selected='true'],
.gs-onglet[aria-pressed='true'] {
  background: #15803d;
  color: #fff;
}

/* sur le fond vert de la promo : le principal passe en blanc, les autres en
   vert foncé (le vert de la pompe s'y fondrait) */
html[data-fond='vert'] .gs-sur-vert .gs-bouton-principal {
  background: #fff;
  color: #15803d;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}

html[data-fond='vert'] .gs-sur-vert .gs-bouton-principal:active {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

html[data-fond='vert'] .gs-sur-vert .gs-boutons-ligne .gs-bouton {
  background: #15803d;
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

/* dans une carte blanche, un bouton blanc prend le crème pour se détacher */
.gs-carte .gs-bouton:not(.gs-bouton-principal):not(.gs-bouton-fonce):not(.gs-bouton-rouge) {
  background: #fffbeb;
  color: #15803d;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

/* rangée de boutons égaux */
.gs-boutons-ligne {
  display: flex;
  gap: 10px;
  width: 100%;
}

.gs-boutons-ligne > * {
  flex: 1 1 0;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Bouton de l'arrivée : anneau de chargement jusqu'à ce que la 3D soit prête
   -------------------------------------------------------------------------- */

.gs-arrivee-bouton {
  gap: 12px;
}

.gs-anneau {
  display: none;
  width: 30px;
  height: 30px;
  flex: none;
  margin-top: -3px;
}

.gs-arrivee-bouton.gs-charge .gs-anneau {
  display: block;
}

.gs-arrivee-bouton.gs-attend {
  translate: 0 5px;
  box-shadow: 0 1px 0 #15803d;
}

/* --------------------------------------------------------------------------
   Panneau de partage
   -------------------------------------------------------------------------- */

.gs-panneau {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: 'Nunito', 'Baloo 2', sans-serif;
  font-weight: 800;
  color: #1f2937;
}

.gs-voile {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.32);
}

.gs-feuille {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px max(18px, env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fffbeb;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  outline: none;
}

.gs-feuille-titre {
  align-self: center;
  margin: 2px 44px 0;
  font-size: 1.625rem;
}

.gs-feuille-fermer {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.gs-prenom {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gs-prenom .gs-etiquette {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9375rem;
}

.gs-cibles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gs-cible {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 6px 10px 2px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #15803d;
  font: 800 1.1875rem/1.1 'Baloo 2', 'Nunito', sans-serif;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.13);
  cursor: pointer;
  touch-action: manipulation;
}

.gs-cible:active {
  translate: 0 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.13);
}

.gs-cible-picto {
  width: 22px;
  height: 22px;
  margin-top: -3px;
}

.gs-cible-principale {
  grid-column: 1 / -1;
  min-height: 60px;
  background: #16a34a;
  color: #fff;
  font-size: 1.375rem;
  box-shadow: 0 5px 0 #15803d;
}

.gs-cible-principale:active {
  box-shadow: 0 1px 0 #15803d;
}

/* dernière cible seule sur sa ligne : elle prend toute la largeur */
.gs-cibles > :last-child:nth-child(even) {
  grid-column: 1 / -1;
}

.gs-apercu-cadre {
  padding: 12px 14px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}

.gs-apercu {
  user-select: text;
  -webkit-user-select: text;
}

.gs-apercu-ligne {
  margin: 0;
  font: 800 0.9375rem/1.45 'Nunito', sans-serif;
  color: #1f2937;
  overflow-wrap: anywhere;
}

.gs-apercu-url {
  color: #15803d;
}

.gs-point {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.18em;
  border-radius: 50%;
  background: var(--gs-point, #16a34a);
  vertical-align: -0.08em;
}

/* 🎯 d'une traite : la pastille verte cerclée */
.gs-point-cible {
  box-shadow: inset 0 0 0 0.15em #fff, 0 0 0 0.09em var(--gs-point, #16a34a);
  margin: 0 0.27em 0 0.09em;
}

@media (min-width: 600px) and (min-height: 520px) {
  .gs-panneau {
    align-items: center;
  }

  .gs-feuille {
    border-radius: 24px;
    max-height: calc(100dvh - 48px);
    padding: 20px 20px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.gs-toast {
  position: fixed;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px));
  z-index: 1100;
  translate: -50% 0;
  max-width: calc(100vw - 32px);
  padding: 0.3em 0.7em 0.15em;
  border-radius: 0.435em;
  background: #15803d;
  color: #fff;
  font: 800 1.25rem/1.15 'Baloo 2', 'Nunito', sans-serif;
  text-align: center;
  box-shadow: 0 0.152em 0 rgba(0, 0, 0, 0.18);
  rotate: -3deg;
  pointer-events: none;
}

.gs-toast[hidden] {
  display: none;
}

.gs-toast[data-fond='rouge'] { background: #ef4444; }
.gs-toast[data-fond='encre'] { background: #1f2937; }

/* --------------------------------------------------------------------------
   Moins de mouvement
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .gs-badge {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Communs à Guerre des prix
   -------------------------------------------------------------------------- */

.gs-picto-petit {
  width: 20px;
  height: 20px;
  margin-top: -3px;
}

.gs-vert { color: #15803d; }
.gs-rouge { color: #dc2626; }

/* Mot rouge : guerre perdue */
.gs-mot-rouge {
  color: #ef4444;
}

.gs-bouton-rouge {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 5px 0 #b91c1c;
}

.gs-bouton-rouge:active {
  box-shadow: 0 1px 0 #b91c1c;
}

/* pastille cliquable (boîte aux lettres au titre) */
.gs-pastille-bouton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

/* les 7 cases de la semaine, couleurs du §2 */
.gs-cases {
  display: inline-flex;
  gap: 0.3em;
}

.gs-case {
  width: 1.1em;
  height: 1.1em;
  border-radius: 0.28em;
  background: var(--gs-case, #ef4444);
  box-shadow: 0 0.12em 0 rgba(0, 0, 0, 0.14);
}

.gs-pied {
  margin: 0;
  font: 700 0.875rem/1.4 'Nunito', sans-serif;
  color: #374151;
  text-align: center;
}

/* mot-symbole « GUERRE DES PRIX » : Baloo 800 vert foncé à −3° */
.gs-marque {
  margin: 0;
  font: 800 2.6rem/0.95 'Baloo 2', 'Nunito', sans-serif;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #15803d;
  text-align: center;
  text-shadow: 0 0.05em 0 #15803d22;
  rotate: -3deg;
}

/* --------------------------------------------------------------------------
   Emplacements remplis dans les écrans du lot D
   -------------------------------------------------------------------------- */

.gs-slot,
.gs-slot * {
  box-sizing: border-box;
}

.gs-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', 'Baloo 2', sans-serif;
  font-weight: 800;
  color: #1f2937;
  text-align: center;
}

.gs-slot:empty {
  display: none;
}

.gs-slot-nouvelles:empty {
  display: none;
}

.gs-compteur {
  margin: 0;
  max-width: 30em;
  font: 800 0.9375rem/1.35 'Nunito', sans-serif;
  color: #15803d;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.gs-invite {
  margin: 0;
  font: 800 1rem/1.35 'Nunito', sans-serif;
  color: #1f2937;
}

.gs-bilan-rang {
  white-space: normal;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* la Bulle de la boîte au-dessus du bouton principal du titre */
.gs-nouvelle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 26em;
}

.gs-nouvelle-bulle {
  font-size: 1.125rem;
  line-height: 1.25;
  padding: 0.45em 0.7em 0.35em;
  rotate: -2deg;
}

.gs-nouvelle-bouton {
  min-height: 48px;
  font-size: 1.125rem;
  padding: 0.35em 1.2em 0.2em;
}

.gs-pont {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
}

.gs-pont .gs-texte {
  font-variant-numeric: tabular-nums;
}

.gs-pont-bouton {
  width: 100%;
  min-height: 52px;
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Arrivée par un lien (guerre-accueil)
   -------------------------------------------------------------------------- */

.gs-arrivee-colonne {
  align-items: center;
  max-width: 460px;
  /* le bouton son de la façade (44 × 44) tient le coin haut droit */
  padding-top: 44px;
}

.gs-arrivee-colonne > .gs-carte,
.gs-arrivee-colonne > .gs-bouton {
  align-self: stretch;
}

.gs-arrivee-mascotte {
  display: block;
  width: 120px;
  height: 120px;
  margin: -4px 0 -8px;
}

.gs-arrivee-chiffres {
  margin: 0;
  font: 800 1.375rem/1.2 'Baloo 2', 'Nunito', sans-serif;
  color: #15803d;
  text-align: center;
}

.gs-arrivee-regle {
  margin: 0;
  font: 800 1rem/1.4 'Nunito', sans-serif;
  text-align: center;
}

.gs-arrivee-bouton {
  min-height: 64px;
}

/* --------------------------------------------------------------------------
   Boîte aux lettres
   -------------------------------------------------------------------------- */

.gs-boite-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gs-boite-ligne {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gs-boite-ligne .gs-bouton {
  align-self: flex-start;
  min-height: 48px;
  font-size: 1.125rem;
  margin-top: 4px;
}

.gs-boite-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gs-boite-prenom {
  font: 800 1.375rem/1.1 'Baloo 2', 'Nunito', sans-serif;
  color: #1f2937;
  overflow-wrap: anywhere;
}

.gs-boite-quand {
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Fin de guerre
   -------------------------------------------------------------------------- */

.gs-fin-colonne {
  align-items: center;
}

.gs-fin-colonne > .gs-carte,
.gs-fin-colonne > .gs-boutons {
  align-self: stretch;
}

.gs-fin-mascotte {
  display: block;
  width: 96px;
  height: 96px;
}

.gs-fin-liste {
  margin: 0;
  padding: 8px 14px;
  list-style: none;
}

.gs-fin-ligne {
  display: grid;
  grid-template-columns: 2em 1fr auto;
  align-items: baseline;
  gap: 2px 8px;
  padding: 9px 0 7px;
  border-bottom: 2px dashed #e5e7eb;
  font: 800 1.125rem/1.2 'Nunito', sans-serif;
}

.gs-fin-ligne:last-child {
  border-bottom: 0;
}

.gs-fin-rang {
  color: #6b7280;
}

.gs-fin-nom {
  overflow-wrap: anywhere;
}

.gs-fin-montant {
  font-size: 1.25rem;
  text-align: right;
}

.gs-fin-avant {
  grid-column: 2 / -1;
  font: 700 0.875rem/1.2 'Nunito', sans-serif;
  color: #6b7280;
}

.gs-moi {
  color: #15803d;
}

.gs-moi .gs-fin-nom::before {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.35em;
  border-radius: 50%;
  background: #16a34a;
  vertical-align: 0.08em;
}

.gs-fin-cases {
  font-size: 1.25rem;
}

/* sur le fond vert de la promo (guerre gagnée), les titres passent en blanc.
   La règle suit html[data-fond], que ui/fond.js pose quand le volet vert a
   fini de couvrir l'écran : du blanc sur le crème ne se voit jamais. */
html[data-fond='vert'] .gs-sur-vert .gs-mot {
  color: #fff;
  text-shadow: 0 0.05em 0 rgba(0, 0, 0, 0.18);
}

html[data-fond='vert'] .gs-sur-vert > .gs-colonne > .gs-texte,
html[data-fond='vert'] .gs-sur-vert > .gs-colonne > .gs-texte-doux {
  color: #fff;
}

/* la mascotte verte et les cases vertes s'appuient sur du crème (Avatar de la promo) */
html[data-fond='vert'] .gs-sur-vert .gs-fin-mascotte {
  box-sizing: content-box;
  padding: 10px;
  border-radius: 50%;
  background: #fffbeb;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.15);
}

html[data-fond='vert'] .gs-sur-vert .gs-fin-cases {
  padding: 8px 12px;
  border-radius: 16px;
  background: #fffbeb;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */

.gs-apropos-mascotte {
  display: block;
  width: 96px;
  height: 96px;
  align-self: center;
}

.gs-apropos-bloc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gs-apropos-liste {
  margin: 0;
  padding-left: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (orientation: landscape) and (min-width: 900px) {
  .gs-marque {
    font-size: 3.2rem;
  }

  .gs-arrivee-mascotte {
    width: 140px;
    height: 140px;
  }
}
