/* Pages jeux en « Signal » (chantier 1332, gabarit app/includes/signal/jeu.php). Chargée après accueil.css et landing.css. */

/* Héros : le fond du jeu à droite (masqué comme l'accueil), ses personnages posés devant */
.sg-jp-hero .sg-hero-visuel > img:first-child { filter: brightness(.62) saturate(.92); }
.sg-jp-hero.decor .sg-hero-visuel > img:first-child { filter: brightness(.78) saturate(.95); } /* décor seul, sans personnages devant */
.sg-jp-hero .sg-hero-visuel .perso {
  position: absolute; right: max(var(--pad), calc((100vw - var(--max)) / 2)); bottom: 0; width: auto; max-width: 62%; height: 88%;
  object-fit: contain; object-position: right bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent);
}
/* n°1535 (Mathis 11/10 18:36, « bordure d'image à droite ») : l'ombre portée était sur l'image, dont le masque (fondu du bas)
   limite le rendu à son cadre : l'ombre des personnages proches du bord était coupée net. Elle passe sur un conteneur qui
   couvre tout le visuel ; l'image et sa place ne changent pas. */
.sg-jp-hero .sg-hero-visuel .perso-ombre { position: absolute; inset: 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
/* Animations (directive de Mathis, 09/10 03:21) : les personnages arrivent en faisant leur mise au point, comme le serveur
   de l'accueil (sg-arrive, accueil.css). La flèche du bouton ne bouge qu'au survol (audit n°15). Transform, opacity, filter : aucun décalage de page. */
@media (prefers-reduced-motion: no-preference) {
  .sg-jp-hero .sg-hero-visuel .perso { animation: sg-arrive 1.1s var(--ease) .3s both; }
}
.sg-btn:focus-visible svg { transform: translateX(3px); }
.sg-jp-hero h1 { grid-column: 1 / 8; --h1-n: 7; } /* --h1-n : colonne du H1, n°1507 (accueil.css) */
.sg-jp-hero h1.long { --h1: clamp(34px, 3.5vw, 54px); grid-column: 1 / 9; --h1-n: 8; } /* titre de plus de 40 caractères */
/* Titres de section et de FAQ : règle commune d'accueil.css (var(--h2), n°1440) ; celle des pages jeux du 09/10 20:43 est retirée. */
.sg-jp-faits { grid-column: 1 / 7; margin-top: 22px; font-size: 12px; color: var(--ink-3); }
.sg-jp-faits strong { font-weight: 500; color: var(--ink-2); }
.sg-jp-faits span { margin: 0 10px; color: var(--line-3); }
.sg-jp-faits .drapeau { display: inline-block; width: 17px; height: 12px; margin-right: 7px; vertical-align: -1px; border-radius: 2px; }
.sg-jp-hero .sg-lp-actions { margin-top: 36px; }

.sg-jp-coches svg { flex: none; width: 14px; height: 14px; color: var(--rose); }

/* n°1510 (#1602) : bandeau sous le héros, app/includes/signal/bandeau.php. Même bande que les dédiés
   (machines.css) : l'intitulé à gauche, puis quatre arguments de même poids en colonnes égales séparées par un filet.
   Rouge : pictogrammes seuls. Ligne mono en 13 px et --ink-2 (AA largement) : en 12 px --ink-3 elle était trop discrète. */
.sg-bd { background: var(--bg-2); }
.sg-bd .sg-wrap { display: grid; grid-template-columns: minmax(180px, 1fr) 4fr; }
.sg-bd p { margin: 0; text-wrap: pretty; } /* pas de mot seul en fin de ligne */
.sg-bd .t { display: flex; align-items: center; padding: 24px 24px 24px 0; font: 700 17px/1.25 var(--f-display); font-stretch: 108%; color: var(--ink); text-wrap: balance; }
.sg-bd ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sg-bd li { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; border-left: 1px solid var(--line); }
.sg-bd .n { display: flex; align-items: center; gap: 9px; font: 700 16px/1.2 var(--f-display); font-stretch: 108%; color: var(--ink); }
/* #1616 : l'argument Anti-DDoS mène à /anti-ddos-game ; même rendu au repos, toute la case cliquable, souligné discret au survol */
.sg-bd li { position: relative; }
.sg-bd .n a { color: inherit; text-decoration: none; }
.sg-bd .n a::after { content: ""; position: absolute; inset: 0; }
.sg-bd .n a:hover, .sg-bd .n a:focus-visible { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 4px; }
.sg-bd svg { flex: none; width: 15px; height: 15px; fill: var(--rose); }
.sg-bd .s { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.sg-bd .s b { font-weight: 600; color: var(--ink); }
@media (max-width: 1100px) {
  .sg-bd .sg-wrap { grid-template-columns: 1fr; }
  .sg-bd .t { padding: 22px 0 4px; }
  .sg-bd ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-bd li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sg-bd li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .sg-bd li { padding: 18px 14px; }
  .sg-bd .s b { display: block; margin-bottom: 4px; } /* la mesure sur sa ligne, la précision dessous : pas de coupure au milieu */
  .sg-bd .s .sep { display: none; }
}

/* Offres : une ligne par formule, comme les pages VPS */
/* n°1523 : « Tarifs des serveurs X, / de 6 à 24 Go de RAM » coupé après la virgule (la fourchette est insécable) ;
   l'équilibrage des h2 le coupait avant le nom du jeu. */
.sg-jp-offres h2.fourchette { text-wrap: wrap; }
.sg-jp-liste { border-top: 1px solid var(--line-2); }
.sg-jp-ligne { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, .9fr)) 1.1fr auto; align-items: center; gap: 12px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sg-jp-ligne .n { font: 720 19px/1.2 var(--f-display); font-stretch: 112%; }
.sg-jp-ligne .tag { white-space: nowrap; margin-left: 6px; padding: 3px 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-2); box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: 2px; }
.sg-jp-ligne .spec, .sg-jp-ligne .prix { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sg-jp-ligne .v { font-size: 15px; font-weight: 600; color: var(--ink); }
.sg-jp-ligne .s { font-size: 12px; line-height: 1.4; letter-spacing: .04em; color: var(--ink-3); }
.sg-jp-ligne .spec .s { text-transform: uppercase; letter-spacing: .08em; }
.sg-jp-ligne .prix .v { font-size: 17px; white-space: nowrap; }
.sg-jp-ligne .act { display: flex; justify-content: flex-end; }
.sg-jp-indispo { font-size: 12px; color: var(--ink-3); }
/* n°1653 (Mathis 14/10 03:50) : composants sous les tarifs, sur le fond gris de l'ancienne bande réseau ; la ligne réseau,
   plus bas (jeu-gestion.php), sur fond normal */
.sg-materiel.gris { background: var(--bg-2); }
.sg-reseau-court.fond-normal { background: var(--bg); }

/* n°1653 (#1900) : offres en cartes (variante 2b du bench 1648), lignes compactes sous 1100 px. Une colonne par offre ;
   sous-grille : nom, pour qui, RAM, prix, bouton et détail alignés d'une carte à l'autre, quelle que soit la longueur des textes. */
.sg-jc-grille { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-rows: repeat(6, auto); gap: 14px; }
.sg-jc-grille.sans-u { grid-template-rows: repeat(5, auto); }
.sg-jc-carte { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; padding: 22px 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.sg-jc-grille.sans-u .sg-jc-carte { grid-row: span 5; }
.sg-jc-carte.pop { background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-3); }
.sg-jc-carte .tag { position: absolute; top: -9px; left: 18px; white-space: nowrap; padding: 3px 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.sg-jc-carte .haut { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sg-jc-carte .ico { flex: none; width: 22px; height: 22px; object-fit: contain; }
.sg-jc-carte .n { min-width: 0; font: 720 18px/1.2 var(--f-display); font-stretch: 112%; }
.sg-jc-carte .u { font-size: 14px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.sg-jc-carte .ram .v { font: 720 34px/1 var(--f-display); color: var(--ink); }
.sg-jc-carte .ram .s { font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.sg-jc-carte .prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; min-width: 0; }
.sg-jc-carte .prix .v { font-size: 20px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.sg-jc-carte .prix .s { font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
.sg-jc-carte .prix .f { flex-basis: 100%; }
.sg-jc-carte .act .sg-btn { width: 100%; height: 44px; justify-content: center; font-size: 14px; }
.sg-jc-carte .det { display: grid; align-content: start; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: var(--ink-2); }
/* Mathis 14/10 03:50 : processeur, stockage et slots lisibles, un picto de la DA par ligne (sprite fa-sprite.svg, rouge comme le bandeau) */
.sg-jc-carte .det li { display: flex; align-items: center; gap: 10px; }
.sg-jc-carte .det svg { flex: none; width: 14px; height: 14px; fill: var(--rose); }
@media (max-width: 1100px) {
  .sg-jc-grille, .sg-jc-grille.sans-u { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 12px; } /* 12 px : place pour l'étiquette posée sur le bord haut */
  .sg-jc-carte, .sg-jc-grille.sans-u .sg-jc-carte { grid-row: auto; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "haut prix" "u prix" "ram act" "det det"; gap: 4px 16px; padding: 16px 14px; }
  .sg-jc-carte .haut { grid-area: haut; }
  .sg-jc-carte .u { grid-area: u; font-size: 13px; }
  .sg-jc-carte .ram { grid-area: ram; align-self: end; margin-top: 6px; }
  .sg-jc-carte .ram .v { font-size: 18px; }
  .sg-jc-carte .prix { grid-area: prix; flex-direction: column; align-items: flex-end; text-align: right; }
  .sg-jc-carte .prix .v { font-size: 17px; }
  .sg-jc-carte .act { grid-area: act; align-self: end; }
  .sg-jc-carte .act .sg-btn { width: auto; height: 36px; padding: 0 14px; font-size: 13px; }
  .sg-jc-carte .det { grid-area: det; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; padding-top: 0; border-top: 0; font-size: 13px; }
  .sg-jc-carte .det li { gap: 7px; }
  .sg-jc-carte .det svg { width: 12px; height: 12px; }
  /* jeu sans ligne « pour qui » : la RAM remonte à côté du prix, le détail à côté du bouton (pas de trou sous le nom) */
  .sg-jc-grille.sans-u .sg-jc-carte { grid-template-areas: "haut prix" "ram prix" "det act"; }
  .sg-jc-grille.sans-u .sg-jc-carte .ram { margin-top: 0; }
  .sg-jc-grille.sans-u .sg-jc-carte .det { align-self: center; margin-top: 0; }
}

/* Gestion : onglets, texte à gauche, écran du panel à droite */
.sg-jp-onglets { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid var(--line-2); }
.sg-jp-onglets button { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 0 0 16px; font: 600 15px/1.2 var(--f-text); color: var(--ink-3); background: none; border: 0; cursor: pointer; transition: color .2s ease; }
.sg-jp-onglets button svg { width: 15px; height: 15px; fill: currentColor; }
.sg-jp-onglets button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.sg-jp-onglets button:hover { color: var(--ink-2); }
.sg-jp-onglets [aria-selected="true"] { color: var(--ink); }
.sg-jp-onglets [aria-selected="true"]::after { transform: scaleX(1); }
.sg-jp-diapo { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: 40px; align-items: start; padding-top: 56px; }
.sg-jp-diapo[hidden] { display: none; }
.sg-jp-diapo .texte { grid-column: 1 / 6; }
.sg-jp-diapo .sg-ec { grid-column: 7 / 13; }
.sg-jp-diapo h3, .sg-jp-pq h3 { font: 720 26px/1.15 var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.sg-jp-diapo p, .sg-jp-pq p { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.sg-jp-diapo p strong, .sg-jp-pq p strong { color: var(--ink); font-weight: 600; }
.sg-jp-coches { display: grid; gap: 12px; margin-top: 28px; }
.sg-jp-coches li { display: flex; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.sg-jp-coches svg { transform: translateY(2px); }
/* Visuels des composants (.sg-materiel .sg-specs dt img) : dans landing.css depuis le chantier 1435 (partagés avec game-universe). */
/* Chantier 1341 : faux écrans des onglets « Gérer son serveur » (jeu-ecrans.php) : console, éditeur, panel, gestionnaire,
   txAdmin, IW4MAdmin. Couleurs en variables ; txAdmin et IW4MAdmin gardent la couleur de leur outil (rose, bleu). */
.sg-ec { --ec-fond: var(--bg-2); --ec-barre: var(--bg); --ec-trait: var(--line); --ec-bord: var(--line-2);
  --ec-cle: var(--ink); --ec-texte: var(--ink-2); --ec-chaine: var(--vert); --ec-nombre: var(--rose-2); --ec-note: var(--ink-3);
  --ec-numero: color-mix(in srgb, var(--ink-3) 60%, var(--bg-2)); --ec-active: color-mix(in srgb, var(--ink) 4%, var(--bg-2));
  display: flex; flex-direction: column; min-width: 0; min-height: 300px; margin: 0; overflow: hidden;
  font-size: 12.5px; color: var(--ec-texte); background: var(--ec-fond); border: 1px solid var(--ec-bord); }
.sg-ec-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 20px;
  border-bottom: 1px solid var(--ec-trait); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sg-ec-barre .mono { text-transform: none; letter-spacing: .02em; }
.sg-ec-titre { display: inline-flex; align-items: center; gap: 10px; }
.sg-ec-titre::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--vert); }
:is(.sg-ec-code, .sg-ec-arbre) .k { color: var(--ec-cle); }
:is(.sg-ec-code, .sg-ec-arbre) .s { color: var(--ec-chaine); }
:is(.sg-ec-code, .sg-ec-arbre) .n { color: var(--ec-nombre); }
.sg-ec-code .c { color: var(--ec-note); font-style: italic; }
.sg-ec-code .h { color: var(--ec-nombre); font-weight: 600; }

/* Éditeur : onglet du fichier collé au code, numéros de ligne fixes au défilement horizontal, barre d'état. */
.sg-ec-ide .sg-ec-barre { align-items: stretch; padding: 0; background: var(--ec-barre); }
.sg-ec-fichier { display: flex; align-items: center; margin-bottom: -1px; padding: 0 20px; font: 12px var(--f-mono); letter-spacing: .02em;
  text-transform: none; color: var(--ink); background: var(--ec-fond); box-shadow: inset 0 2px 0 var(--rose); border-right: 1px solid var(--ec-trait); }
.sg-ec-code { flex: 1; margin: 0; padding: 14px 0; overflow-x: auto; counter-reset: l; font-size: 12.5px; line-height: 1.85; }
.sg-ec-code .l { display: block; width: max-content; min-width: 100%; padding-right: 20px; white-space: pre; }
.sg-ec-code .l::before { counter-increment: l; content: counter(l); position: sticky; left: 0; display: inline-block; width: 44px;
  margin-right: 16px; padding-right: 12px; text-align: right; color: var(--ec-numero); background: var(--ec-fond); border-right: 1px solid var(--ec-trait); }
.sg-ec-code .act, .sg-ec-code .act::before { background: var(--ec-active); }
.sg-ec-code .act::before { color: var(--ink-2); }
.sg-ec-etat { display: flex; justify-content: space-between; padding: 8px 20px; font-size: 11px; color: var(--ink-3);
  background: var(--ec-barre); border-top: 1px solid var(--ec-trait); }

/* Console : journal puis ligne de commande en bas, curseur fixe si l'animation est coupée. */
.sg-ec-journal { flex: 1; padding: 18px 20px; line-height: 2; overflow-wrap: anywhere; }
.sg-ec-journal .t { color: var(--ec-chaine); }
.sg-ec-journal .f { color: var(--ec-nombre); }
.sg-ec-invite { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: var(--ink-3); border-top: 1px solid var(--ec-trait); }
.sg-ec-invite i { width: 7px; height: 14px; background: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .sg-ec-invite i { animation: sg-ec-curseur 1.1s steps(1) infinite; } }
@keyframes sg-ec-curseur { 50% { opacity: 0; } }

/* Panel : quatre chiffres en grille. Gestionnaire : icône de l'onglet et son outil. Arborescence FastDL. */
.sg-ec-stats { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.sg-ec-stats div { display: flex; flex-direction: column-reverse; justify-content: center; gap: 6px; padding: 24px 20px; border-top: 1px solid var(--ec-trait); }
.sg-ec-stats div:nth-child(-n+2) { border-top: 0; }
.sg-ec-stats div:nth-child(even) { border-left: 1px solid var(--ec-trait); }
.sg-ec-stats dd { margin: 0; font: 700 30px/1 var(--f-display); font-stretch: 112%; color: var(--ink); }
.sg-ec-stats dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sg-ec-carte { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px 20px; text-align: center; }
.sg-ec-carte svg { width: 28px; height: 28px; margin-bottom: 10px; fill: var(--rose); }
.sg-ec-carte b { font: 600 16px/1.3 var(--f-text); color: var(--ink); }
.sg-ec-carte p { margin: 0; font-size: 13px; color: var(--ink-3); }
.sg-ec-arbre { flex: 1; padding: 18px 20px; line-height: 2; }
.sg-ec-arbre .dos { color: var(--ink); font-weight: 600; }
.sg-ec-arbre .fic { padding-left: 24px; }
.sg-ec-arbre .cmd { margin-top: 12px; }
.sg-ec-inclus { display: inline-block; margin-left: 10px; padding: 4px 7px; font: 600 10px/1 var(--f-mono); letter-spacing: .06em;
  text-transform: uppercase; vertical-align: middle; color: var(--vert); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vert) 40%, transparent); }

/* txAdmin : menu à gauche, en-tête du serveur, trois chiffres, courbe 24 h, joueurs et boutons. */
.sg-ec-tx { --tx-accent: var(--rose); display: grid; grid-template-columns: 150px minmax(0, 1fr); font-size: 12px; }
.sg-ec-tx .nav, .sg-ec-iw .nav { display: flex; flex-direction: column; gap: 2px; padding: 14px 8px; background: var(--ec-barre); border-right: 1px solid var(--ec-trait); }
.sg-ec-tx .marque { padding: 0 8px 12px; font: 700 16px/1 var(--f-display); color: var(--ink); }
.sg-ec-tx .marque b { font-weight: inherit; color: var(--tx-accent); }
:is(.sg-ec-tx, .sg-ec-iw) .nav > span { display: flex; align-items: center; gap: 9px; padding: 7px 8px; color: var(--ink-3); white-space: nowrap; }
:is(.sg-ec-tx, .sg-ec-iw) .nav svg { flex-shrink: 0; width: 13px; height: 13px; fill: currentColor; }
.sg-ec-tx .nav .on { color: var(--ink); background: var(--ec-fond); box-shadow: inset 2px 0 0 var(--tx-accent); }
.sg-ec-tx .nav .on svg { fill: var(--tx-accent); }
:is(.sg-ec-tx, .sg-ec-iw) .main { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; }
.sg-ec-tx .tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.sg-ec-tx .online { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-size: 11px; font-weight: 500; color: var(--vert);
  background: color-mix(in srgb, var(--vert) 12%, transparent); }
.sg-ec-tx .online::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sg-ec-tx .chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sg-ec-tx .chiffres > div, .sg-ec-tx .courbe { padding: 8px 10px; background: var(--ec-barre); border: 1px solid var(--ec-trait); }
.sg-ec-tx small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.sg-ec-tx .chiffres b { font: 700 17px/1.4 var(--f-display); white-space: nowrap; color: var(--ink); }
:is(.sg-ec-tx, .sg-ec-iw) em { margin-left: 2px; font-size: 11px; font-style: normal; font-weight: 400; color: var(--ink-3); }
.sg-ec-tx .courbe svg { display: block; width: 100%; height: 56px; margin-top: 6px; }
.sg-ec-tx polygon { fill: color-mix(in srgb, var(--tx-accent) 14%, transparent); }
.sg-ec-tx polyline { fill: none; stroke: var(--tx-accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sg-ec-tx .bas { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.sg-ec-tx .bas li { display: flex; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--ec-trait); }
.sg-ec-tx .bas li b { width: 30px; font-weight: 400; color: var(--ink-3); }
.sg-ec-tx .bas li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.sg-ec-tx .bas li i { font-style: normal; color: var(--vert); }
.sg-ec-tx .act { display: flex; flex-direction: column; gap: 6px; }
.sg-ec-tx .act span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 12px; white-space: nowrap; color: var(--ink);
  background: var(--ec-barre); border: 1px solid var(--ec-bord); }
.sg-ec-tx .act svg { width: 11px; height: 11px; fill: currentColor; }
.sg-ec-tx .act .stop { color: var(--rose-2); border-color: color-mix(in srgb, var(--rose) 45%, transparent); }
.sg-ec-tx .act .stop i { width: 8px; height: 8px; background: currentColor; }

/* IW4MAdmin : bandeau, menu, quatre chiffres en bleu, ligne du serveur, joueurs et rôles. */
.sg-ec-iw { --iw-bleu: #2f80d6; --iw-or: #f5a524; font-size: 12px; }
.sg-ec-iw .haut { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--ec-barre); border-bottom: 1px solid var(--ec-trait); }
.sg-ec-iw .haut > b { font: 700 15px/1 var(--f-display); color: var(--ink); }
.sg-ec-iw .badge { padding: 3px 8px; font-size: 11px; font-weight: 600; color: var(--on-btn); background: var(--iw-bleu); }
.sg-ec-iw .corps { flex: 1; display: grid; grid-template-columns: 140px minmax(0, 1fr); min-width: 0; }
.sg-ec-iw .nav small { padding: 8px 8px 4px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sg-ec-iw .nav .on { color: var(--ink); background: color-mix(in srgb, var(--iw-bleu) 22%, transparent); }
.sg-ec-iw .nav .on svg { fill: var(--iw-bleu); }
.sg-ec-iw .titre { font-size: 13px; font-weight: 600; color: var(--ink); }
.sg-ec-iw .titre small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-3); }
.sg-ec-iw .chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sg-ec-iw .chiffres > div { min-width: 0; padding: 8px; background: var(--ec-barre); border: 1px solid var(--ec-trait); }
.sg-ec-iw .chiffres b { display: block; font: 700 16px/1.3 var(--f-display); white-space: nowrap; color: var(--iw-bleu); }
.sg-ec-iw .chiffres small { display: block; font-size: 9.5px; line-height: 1.25; color: var(--ink-3); }
.sg-ec-iw .srv { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; color: var(--on-btn); background: var(--iw-bleu); }
.sg-ec-iw .srv span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-ec-iw ul { margin-top: -10px; padding: 4px 10px; background: var(--ec-barre); border: 1px solid var(--ec-trait); border-top: 0; }
.sg-ec-iw li { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--ec-trait); }
.sg-ec-iw li:last-child { border-bottom: 0; }
.sg-ec-iw li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.sg-ec-iw li i { font-size: 10px; font-style: normal; color: var(--ink-3); }
.sg-ec-iw li .r-owner { color: var(--iw-or); }
.sg-ec-iw li .r-moderator { color: var(--iw-bleu); }
.sg-ec-iw li b { width: 40px; text-align: right; font-weight: 400; color: var(--ink-3); }
@media (max-width: 720px) {
  .sg-ec-code { font-size: 11.5px; }
  .sg-ec-tx { grid-template-columns: 44px minmax(0, 1fr); }
  .sg-ec-iw .corps { grid-template-columns: 40px minmax(0, 1fr); }
  .sg-ec-tx .nav, .sg-ec-iw .nav { padding: 10px 5px; }
  .sg-ec-tx .marque, :is(.sg-ec-tx, .sg-ec-iw) .nav > span > span, .sg-ec-iw .nav small { display: none; }
  :is(.sg-ec-tx, .sg-ec-iw) .nav > span { justify-content: center; padding: 9px 0; }
  .sg-ec-tx .bas { grid-template-columns: minmax(0, 1fr); }
  .sg-ec-tx .act { flex-direction: row; }
  .sg-ec-tx .act span { flex: 1; padding: 6px 4px; }
  .sg-ec-iw .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Onglet « Adresse » (n°1510, remplace le bloc sous les onglets) : le nom choisi dans le panel, puis le champ de connexion du jeu */
.sg-ec-adr-panel { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--ec-trait); }
.sg-ec-adr .champ { min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; }
.sg-ec-adr-panel .champ { flex: 1; padding: 10px 14px; font-size: 13px; color: var(--ink-3); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.sg-ec-adr-panel .champ b { font-weight: 500; color: var(--ink); }
.sg-ec-adr-panel .etat { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: var(--ink-2); }
.sg-ec-adr-panel .etat::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--vert); }
.sg-ec-adr-jeu { flex: 1; display: grid; align-content: center; gap: 12px; padding: 28px 20px 30px; background: var(--bg-0); }
.sg-ec-adr-jeu .lib { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sg-ec-adr-jeu .champ { display: flex; align-items: center; padding: 14px 16px; font-size: 15px; color: var(--ink); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-3); }
.sg-ec-adr-jeu .champ span { color: var(--ink-3); }
.sg-ec-adr-jeu .champ i { flex: none; width: 7px; height: 16px; margin-left: 3px; background: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .sg-ec-adr-jeu .champ i { animation: sg-ec-curseur 1.1s steps(1) infinite; } }
.sg-ec-adr-jeu .btn { justify-self: start; margin: 4px 0 0; padding: 10px 18px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--bg-4); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 720px) { .sg-ec-adr-jeu .champ { font-size: 12.5px; } .sg-ec-adr-panel .champ { font-size: 12px; } }


/* Pourquoi : visuel du jeu et texte */
.sg-jp-pq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: 40px; align-items: center; }
/* n°1535 (#1660, Mathis 11/10 17:23 : « fondue dans la page mais mieux, on voit encore trop le noir de contour ») : plus de filet,
   les quatre bords s'effacent en douceur jusqu'au fond de page (deux dégradés croisés, transparents au bord) : aucun bord visible. */
.sg-jp-pq figure { grid-column: 1 / 8; margin: 0; }
.sg-jp-pq figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.2) 6%, rgba(0,0,0,.55) 12%, rgba(0,0,0,.85) 18%, #000 25%, #000 75%, rgba(0,0,0,.85) 82%, rgba(0,0,0,.55) 88%, rgba(0,0,0,.2) 94%, transparent),
                      linear-gradient(180deg, transparent, rgba(0,0,0,.2) 6%, rgba(0,0,0,.55) 12%, rgba(0,0,0,.85) 18%, #000 25%, #000 75%, rgba(0,0,0,.85) 82%, rgba(0,0,0,.55) 88%, rgba(0,0,0,.2) 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.2) 6%, rgba(0,0,0,.55) 12%, rgba(0,0,0,.85) 18%, #000 25%, #000 75%, rgba(0,0,0,.85) 82%, rgba(0,0,0,.55) 88%, rgba(0,0,0,.2) 94%, transparent),
              linear-gradient(180deg, transparent, rgba(0,0,0,.2) 6%, rgba(0,0,0,.55) 12%, rgba(0,0,0,.85) 18%, #000 25%, #000 75%, rgba(0,0,0,.85) 82%, rgba(0,0,0,.55) 88%, rgba(0,0,0,.2) 94%, transparent);
  mask-composite: intersect; }
@media (min-width: 1101px) { .sg-jp-pq figure { margin-left: calc(var(--gut) * -1); } }
.sg-jp-pq .texte { grid-column: 8 / 13; }

/* Fin de page (#1600 B) : règles dans accueil.css, communes à toutes les pages depuis le n°1550 (gabarit fin-ress.php). */

@media (max-width: 1100px) {
  .sg-jp-hero .sg-hero-visuel .perso { display: none; }
  .sg-jp-ligne { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sg-jp-ligne .nom { grid-column: 1 / -1; }
  .sg-jp-ligne .prix { grid-column: 1 / 3; }
  .sg-jp-ligne .act { grid-column: 3 / -1; }
  .sg-jp-diapo .texte, .sg-jp-diapo .sg-ec, .sg-jp-pq figure, .sg-jp-pq .texte { grid-column: 1 / -1; }
  .sg-jp-points ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .sg-jp-hero h1, .sg-jp-hero h1.long { grid-column: 1 / -1; --h1-n: 12; } /* n°1507 : sans visuel à droite, le titre prend la largeur */
  .sg-jp-faits { grid-column: 1 / -1; }
  .sg-jp-points ul { grid-template-columns: 1fr; gap: 12px; }
  .sg-jp-ligne { grid-template-columns: 1fr 1fr; }
  .sg-jp-ligne .prix { grid-column: 1 / 2; }
  .sg-jp-ligne .act { grid-column: 2 / 3; }
  .sg-jp-onglets { gap: 0 22px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .sg-jp-onglets button { white-space: nowrap; }
  .sg-ec-stats dd { font-size: 24px; }
}

/* Sections propres à un jeu (app/includes/signal/jeux/) */
.sg-jp-note { margin-top: 28px; max-width: 80ch; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.sg-jp-note strong { color: var(--ink-2); font-weight: 600; }
.sg-points.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg-jp-table-cadre { overflow-x: auto; }
.sg-jp-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.sg-jp-table th { padding: 0 16px 14px 0; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-align: left; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.sg-jp-table td { padding: 18px 16px 18px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); vertical-align: top; }
.sg-jp-table td:first-child { color: var(--ink); font-weight: 600; }
.sg-jp-table td.mono, .sg-jp-table .mono { font-size: 13px; color: var(--ink-2); }
.sg-jp-table a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 4px; }
.sg-jp-table a:hover { text-decoration-color: var(--rose); }
/* n°1567 : Realms ou serveur hébergé, deux cartes dont les lignes s'alignent (subgrid) ; empilées sur téléphone. */
.sg-rl-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto repeat(var(--sg-rl-n), auto) auto; column-gap: var(--gut); }
.sg-rl-carte { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; background: var(--bg-2); border: 1px solid var(--line-2); }
.sg-rl-carte.nous { border-color: var(--line-3); background: var(--bg-3); }
.sg-rl-liste { display: contents; list-style: none; margin: 0; padding: 0; }
.sg-rl-tete { display: flex; align-items: center; gap: 16px; padding: 28px 28px 0; }
.sg-rl-tete h3 { margin: 0; font: 720 22px/1.15 var(--f-display); font-stretch: 112%; color: var(--ink); }
.sg-rl-tete p { margin: 4px 0 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sg-rl-repere { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink-2); }
.sg-rl-carte.nous .sg-rl-repere { background: var(--bg-4); color: var(--rose); }
.sg-rl-repere svg { width: 22px; height: 22px; fill: currentColor; }
.sg-rl-prix { padding: 24px 28px 22px; border-bottom: 1px solid var(--line-2); }
.sg-rl-prix p { margin: 0; color: var(--ink-3); font-size: 13px; }
.sg-rl-prix strong { font: 720 clamp(36px, 3.4vw, 48px)/1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; color: var(--ink); }
.sg-rl-prix strong + span { margin-left: 6px; font-size: 12px; }
.sg-rl-prix p.n { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.sg-rl-carte li { display: grid; grid-template-columns: 20px minmax(0, 1fr) 24px; gap: 14px; align-items: start; margin: 0 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sg-rl-carte li .i svg { display: block; width: 18px; height: 18px; margin-top: 2px; fill: var(--ink-3); }
.sg-rl-carte li .t { display: flex; flex-direction: column; gap: 3px; }
.sg-rl-carte li .l { font-size: 15px; font-weight: 600; color: var(--ink); }
.sg-rl-carte li .v { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.sg-rl-m { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-2); }
.sg-rl-m svg { width: 14px; height: 14px; }
.sg-rl-m.oui { color: var(--ink); }
.sg-rl-carte.nous .sg-rl-m.oui { color: var(--rose); border-color: rgba(255, 45, 85, .35); }
.sg-rl-m.part { color: var(--ink-3); }
.sg-rl-m.non { color: var(--ink-3); border-style: dashed; }
.sg-rl-pied { display: flex; align-items: center; padding: 22px 28px 28px; }
.sg-rl-pied p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 860px) {
    .sg-rl-grille { display: flex; flex-direction: column; gap: 20px; }
    .sg-rl-carte { display: block; }
    .sg-rl-liste { display: block; }
    .sg-rl-tete { padding: 22px 20px 0; }
    .sg-rl-prix { padding: 18px 20px; }
    .sg-rl-carte li { margin: 0 20px; padding: 14px 0; }
    .sg-rl-pied { padding: 18px 20px 22px; }
}
.sg-jp-vers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.sg-jp-vers li { padding: 28px 24px 4px; border-left: 1px solid var(--line-2); }
.sg-jp-vers li:first-child { border-left: 0; padding-left: 0; }
.sg-jp-vers .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-height: 32px; margin-bottom: 18px; }
.sg-jp-vers .logos > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.sg-jp-vers img { width: auto; height: 28px; }
.sg-jp-vers h3, .sg-jp-packs h3 { font: 700 19px/1.2 var(--f-display); font-stretch: 110%; }
.sg-jp-vers p, .sg-jp-packs p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.sg-jp-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); }
.sg-jp-packs li { display: flex; flex-direction: column; padding: 24px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sg-jp-packs img { width: 56px; height: 56px; margin-bottom: 18px; }
.sg-jp-packs .tag { margin-left: 6px; padding: 3px 6px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: 3px; }
.sg-jp-packs .s { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--ink-3); }
.sg-jp-plus { margin-top: var(--esp-m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sg-jp-pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sg-jp-pastilles li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sg-jp-pastilles img { width: 28px; height: 28px; }
.sg-jp-ddos h2 em { font-style: normal; color: var(--rose); }
.sg-jp-dd { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: 40px; align-items: start; }
.sg-jp-dd .texte { grid-column: 1 / 7; }
.sg-jp-dd .texte p { margin-bottom: 16px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.sg-jp-dd .texte p strong { color: var(--ink); font-weight: 600; }
.sg-jp-dd .texte h3 { margin-top: 32px; font: 700 20px/1.2 var(--f-display); font-stretch: 110%; }
.sg-jp-dd .texte h3 + p { margin-top: 10px; }
.sg-jp-alerte { grid-column: 8 / 13; margin: 0; }
.sg-jp-alerte .msg { padding: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sg-jp-alerte .barre { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sg-jp-alerte .barre svg { width: 16px; height: 16px; color: var(--discord); fill: currentColor; }
.sg-jp-alerte .qui { font-weight: 700; color: var(--ink); }
.sg-jp-alerte .qui span.mono { margin-left: 4px; padding: 1px 5px; font-size: 9.5px; color: var(--on-btn); background: var(--discord); vertical-align: 2px; }
.sg-jp-alerte .qui time { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.sg-jp-alerte .al { margin-top: 14px; padding: 12px 14px; border-left: 2px solid var(--rose); background: var(--bg-3); }
.sg-jp-alerte .al b { display: block; font-size: 14px; color: var(--ink); }
.sg-jp-alerte .al p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.sg-jp-alerte figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
/* n°1510 : les 4 chiffres en rangée pleine largeur sous le texte et l'alerte (gabarit .sg-specs de landing.css, 2x2 sous 1100 px) */
.sg-jp-dd-chiffres { margin-top: var(--esp-m); }
.sg-jp-dd-chiffres + .sg-jp-option { padding-top: 0; border-top: 0; } /* le trait du bas de la rangée sépare déjà */
.sg-jp-option { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: 32px; margin-top: var(--esp-l); padding-top: 40px; border-top: 1px solid var(--line-2); }
.sg-jp-option > div:first-child { grid-column: 1 / 8; }
.sg-jp-option h3 { font: 720 26px/1.15 var(--f-display); font-stretch: 112%; }
.sg-jp-option h3 .tag { margin-left: 8px; padding: 3px 7px; font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-2); box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: 5px; }
.sg-jp-option h3 + p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.sg-jp-option .achat { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sg-jp-option .prix { font-size: 26px; font-weight: 600; color: var(--ink); }
.sg-jp-option .prix small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
/* n°1456 : gardes au-dessus du prix (FiveM). Le noir de l'image se fond dans le fond de page (lighten sur var(--bg)) ;
   la boucle recouvre l'image fixe une fois lancée (script de jeux/fivem.php), jamais sur téléphone. */
.sg-jp-option .gardes { position: relative; width: 300px; max-width: 100%; background: var(--bg); }
.sg-jp-option .gardes img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.sg-jp-option .gardes video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; opacity: 0; transition: opacity .9s ease; }
.sg-jp-option .gardes.joue video { opacity: 1; }
@media (max-width: 720px) { .sg-jp-option .gardes { width: 260px; } .sg-jp-option .gardes video { display: none; } }
/* n°1464 : bloc Anti-DDoS Plus de FiveM sur deux rangées. En haut le texte et les gardes ; en bas les trois liens et l'achat,
   dont le prix, le bouton et « ou cochez-la » prennent chacun une rangée de la liste (--rang = hauteur du bouton large). */
.sg-jp-ddos .sg-jp-option { --rang: 52px; row-gap: 40px; }
.sg-jp-ddos .sg-jp-option .gardes { grid-column: 9 / 13; grid-row: 1; justify-self: center; align-self: end; }
.sg-jp-ddos .sg-jp-option .achat { grid-row: 2; display: grid; grid-auto-rows: minmax(var(--rang), auto); align-content: start; align-items: center; gap: 0; padding-top: 1px; }
.sg-jp-ddos .achat .prix { display: flex; align-items: baseline; gap: 12px; }
.sg-jp-ddos .achat .prix small { min-width: 0; margin-top: 0; line-height: 1.4; } /* une mention longue (it, de) se replie à droite du prix, la rangée garde sa hauteur */
.sg-jp-ddos .achat .ou { justify-self: start; padding: 12px 0; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 5px; transition: color .2s ease, text-decoration-color .2s ease; }
.sg-jp-ddos .achat .ou:hover { color: var(--ink); text-decoration-color: var(--ink-3); }
.sg-jp-liens { grid-column: 1 / 8; grid-row: 2; display: grid; grid-auto-rows: minmax(var(--rang), auto); align-content: start; border-top: 1px solid var(--line-2); }
.sg-jp-liens li { display: flex; border-bottom: 1px solid var(--line-2); }
.sg-jp-liens a { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 12px 0; font: 600 15px/1.35 var(--f-text); color: var(--ink-2); transition: color .2s ease; }
.sg-jp-liens a:hover { color: var(--ink); }
.sg-jp-liens svg { flex: none; width: 13px; height: 13px; color: var(--rose); transition: transform .25s var(--ease); }
.sg-jp-liens a:hover svg { transform: translateX(3px); }
@media (max-width: 1100px) {
  .sg-jp-ddos .sg-jp-option .gardes { grid-column: 1 / 7; grid-row: 2; align-self: center; }
  .sg-jp-ddos .sg-jp-option .achat { grid-column: 7 / 13; align-self: center; }
  .sg-jp-liens { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 720px) {
  .sg-jp-ddos .sg-jp-option { row-gap: 28px; }
  .sg-jp-ddos .sg-jp-option .gardes, .sg-jp-ddos .sg-jp-option .achat, .sg-jp-liens { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 1100px) {
  .sg-jp-vers, .sg-jp-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-jp-vers li:nth-child(3) { border-left: 0; padding-left: 0; }
  .sg-jp-dd .texte, .sg-jp-alerte, .sg-jp-option > div:first-child, .sg-jp-option .achat { grid-column: 1 / -1; }
  .sg-points.trois { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sg-jp-vers, .sg-jp-packs { grid-template-columns: 1fr; }
  .sg-jp-vers li, .sg-jp-vers li:nth-child(n) { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line-2); }
  .sg-jp-diapo h3, .sg-jp-pq h3, .sg-jp-option h3 { font-size: 21px; } /* sous le h2 de 28 px */
}

/* Landing « serveur FiveM anti-DDoS » (anti-ddos-fivem.php depuis le n°1492) */
.sg-sfa-plus { grid-column: 1 / 8; justify-self: start; margin-top: 26px; }
.sg-sfa-signes li.incl h3::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--rose); vertical-align: 3px; }
.sg-sfa-signes li.signe h3::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; box-shadow: inset 0 0 0 1px var(--line-3); vertical-align: 3px; }
.sg-sfa-trajet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); counter-reset: sfa; }
.sg-sfa-trajet li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sg-sfa-trajet li.option { box-shadow: inset 0 0 0 1px var(--rose-2); background: var(--rose-voile); }
.sg-sfa-trajet li:not(:last-child)::after { content: '→'; position: absolute; top: 50%; right: calc(var(--gut) / -2); transform: translate(50%, -50%); font: 500 16px/1 var(--f-mono); color: var(--ink-3); }
.sg-sfa-trajet .tag { align-self: flex-start; padding: 3px 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sg-sfa-trajet .n { font: 700 17px/1.2 var(--f-display); font-stretch: 110%; color: var(--ink); }
.sg-sfa-trajet .d { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.sg-jp-option.sans-filet { margin-top: 0; padding-top: 0; border-top: 0; }
.sg-jp-option h2 { font: 760 var(--h2)/1.05 var(--f-display); font-stretch: 112%; letter-spacing: -.03em; }
.sg-jp-option h2 + p { margin-top: 18px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 1100px) {
  .sg-sfa-trajet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-sfa-trajet li:nth-child(2)::after { display: none; }
  .sg-sfa-plus { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .sg-sfa-trajet { grid-template-columns: 1fr; }
  .sg-sfa-trajet li::after { display: none; }
}

/* Chantier 1333 (#1373 A) : gestionnaire de mods/plugins/addons des onglets de gestion (jeu-ecrans.php, sg_ec_mods),
   même cadre sg-ec que les autres faux écrans du chantier 1341. Variables ec-* héritées de .sg-ec plus haut. */
.sg-mods-recherche { display: flex; align-items: center; gap: 10px; flex: none; margin: 16px 20px 0; padding: 9px 12px; color: var(--ink-3); background: var(--ec-barre); border: 1px solid var(--ec-trait); }
.sg-mods-recherche svg { flex: none; width: 13px; height: 13px; fill: currentColor; }
.sg-mods-recherche span { font-size: 12px; }
.sg-mods-liste { flex: 1; margin: 6px 0 0; padding: 0; list-style: none; }
.sg-mods-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--ec-trait); }
.sg-mods-liste .nom { margin: 0; font: 650 14px var(--f-display); font-stretch: 112%; color: var(--ink); }
.sg-mods-liste .type { display: block; margin: 3px 0 0; font-size: 10.5px; letter-spacing: .03em; color: var(--ink-3); }
.sg-mods-liste .desc { margin: 5px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.sg-mods-etat { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sg-mods-etat.ok { font-size: 11px; color: var(--vert); }
.sg-mods-etat.ok svg { width: 12px; height: 12px; fill: currentColor; }
.sg-mods-bascule { position: relative; flex: none; width: 28px; height: 16px; background: color-mix(in srgb, var(--vert) 32%, var(--ec-fond)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vert) 55%, transparent); border-radius: 16px; }
.sg-mods-bascule i { position: absolute; top: 2px; left: 14px; width: 12px; height: 12px; background: var(--vert); border-radius: 50%; }
.sg-mods-installer { padding: 5px 12px; font-size: 11px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-3); }
.sg-mods-pied { flex: none; padding: 10px 20px; font-size: 11px; color: var(--ink-3); background: var(--ec-barre); border-top: 1px solid var(--ec-trait); }
@media (max-width: 720px) {
  .sg-mods-recherche { margin: 14px 16px 0; }
  .sg-mods-liste li { padding: 12px 16px; column-gap: 12px; }
  .sg-mods-liste .desc { font-size: 11.5px; }
  .sg-mods-pied { padding: 9px 16px; }
}
/* n°1470 : sur téléphone le visuel du héros passe sous le texte (accueil.css) : le personnage n'y recouvre plus rien, il revient,
   fondu vers le bas comme le décor (sinon les jambes restaient coupées net au ras du bandeau). */
@media (max-width: 720px) {
  .sg-hero.sg-jp-hero > .sg-hero-visuel .perso { display: block;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 95%); mask-image: linear-gradient(180deg, #000 60%, transparent 95%); }
}
