/* BStudioCORP GAMES — magasin à la manière d'un client de jeu PC (en-tête, rayons,
   capsules, fiches produit), dans la DA BlackLine : charbon profond et accent lime.
   Toutes les classes sont préfixées « st- » : ces règles cohabitent avec les
   feuilles des pages du jeu (blackline.css, boutique.css) sans les toucher. */

:root {
  --st-bg: #0b0c0d;
  --st-bg2: #101214;
  --st-panel: #15181b;
  --st-panel2: #1c2024;
  --st-panel3: #242a2f;
  --st-line: #2a3035;
  --st-text: #eef0f2;
  --st-muted: #9ba4ac;
  --st-dim: #6f787f;
  --st-lime: #cad700;
  --st-lime2: #e3f03c;
  --st-lime-bg: rgba(202, 215, 0, 0.1);
  --st-titre: 'Barlow Condensed', 'Bahnschrift', 'Segoe UI', Arial, sans-serif;
  --st-texte: 'Segoe UI', system-ui, Arial, sans-serif;
  --st-max: 1240px;
}

body.st { margin: 0; background: var(--st-bg); color: var(--st-text); font-family: var(--st-texte); font-size: 15px; line-height: 1.55; }
body.st * { box-sizing: border-box; }
/* Une règle de classe qui pose un display neutralise l'attribut hidden : on le rétablit. */
.st [hidden] { display: none !important; }
.st img { max-width: 100%; display: block; }
/* Les pages du jeu centrent parfois les enfants du body en flex : l'enveloppe du magasin garde toute la largeur. */
.st-header, .st-storenav, .st-footer { width: 100%; align-self: stretch; }
.st a:focus-visible, .st button:focus-visible, .st input:focus-visible { outline: 2px solid var(--st-lime); outline-offset: 2px; }
.st-saut { position: absolute; left: -999px; top: 8px; z-index: 50; background: #000; color: #fff; padding: 10px 14px; }
.st-saut:focus { left: 8px; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- en-tête */

.st-header { background: #08090a; border-bottom: 1px solid #1d2125; position: relative; z-index: 20; }
.st-header-in { max-width: var(--st-max); margin: 0 auto; padding: 0 20px; height: 74px; display: flex; align-items: center; gap: 36px; }
.st-logo { display: inline-block; line-height: 1; color: #fff; text-decoration: none; font-family: var(--st-titre); font-weight: 700; font-size: 27px; letter-spacing: 2px; white-space: nowrap; }
.st-logo span { color: var(--st-lime); }
.st-logo small { display: block; font-family: var(--st-texte); font-size: 9px; font-weight: 700; letter-spacing: 7px; color: #7d858c; margin-top: 5px; }
.st-mainnav { display: flex; gap: 26px; }
.st-mainnav a { font-family: var(--st-titre); font-weight: 600; font-size: 19px; letter-spacing: 1.4px; text-transform: uppercase; color: #c4cad0; text-decoration: none; padding: 24px 0 21px; border-bottom: 3px solid transparent; white-space: nowrap; }
.st-mainnav a:hover { color: #fff; }
.st-mainnav a[aria-current="page"] { color: var(--st-lime); border-bottom-color: var(--st-lime); }
.st-compte { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; white-space: nowrap; }
.st-installer { display: inline-flex; align-items: center; gap: 8px; background: var(--st-lime); color: #111; font-weight: 700; font-size: 12px; padding: 7px 12px; border-radius: 2px; text-decoration: none; }
.st-installer:hover { background: var(--st-lime2); }
.st-pseudo { color: #c4cad0; text-decoration: none; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.st-pseudo:hover { color: #fff; }
.st-solde { display: inline-flex; align-items: center; gap: 6px; color: var(--st-lime); text-decoration: none; font-weight: 600; padding: 4px 9px; background: var(--st-panel); border: 1px solid var(--st-line); border-radius: 2px; }
.st-solde img { width: 16px; height: 16px; }
.st-solde:hover { border-color: var(--st-lime); }
.st-pseudo { display: inline-flex; align-items: center; }
.st-avatar { width: 24px; height: 24px; margin-right: 7px; border-radius: 3px; object-fit: cover; border: 1px solid var(--st-line); }
.st-euros { color: #fff; }
.st-euros b { color: var(--st-lime); margin-left: 2px; }

/* ------------------------------------------------------- barre du magasin */

.st-storenav { max-width: var(--st-max); margin: 18px auto 0; padding: 0 20px; position: sticky; top: 0; z-index: 15; }
.st-storenav-in { display: flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 5px 0 6px; background: linear-gradient(90deg, #1f2427 0%, #171b1e 60%, #14171a 100%); border: 1px solid #2b3136; border-radius: 3px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
.st-storenav a { color: #dfe3e6; text-decoration: none; font-size: 13px; padding: 0 12px; height: 42px; display: flex; align-items: center; border-radius: 2px; white-space: nowrap; }
.st-storenav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.st-storenav a[aria-current="page"] { color: var(--st-lime); }
.st-recherche { margin-left: auto; display: flex; align-items: center; background: #0c0e10; border: 1px solid #30373c; border-radius: 2px; overflow: hidden; }
.st-recherche input { background: transparent; border: 0; color: #eee; padding: 7px 10px; width: 230px; font: inherit; font-size: 13px; }
.st-recherche input::placeholder { color: #737c83; }
.st-recherche button { background: var(--st-lime-bg); border: 0; color: var(--st-lime); width: 34px; height: 32px; font-size: 17px; cursor: pointer; }
.st-recherche button:hover { background: var(--st-lime); color: #111; }

/* ------------------------------------------------------------------ pages */

.st-page { max-width: var(--st-max); margin: 0 auto; padding: 26px 20px 20px; }
.st-section { margin-top: 40px; }
.st-section:first-child { margin-top: 0; }
.st-section-titre { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 0 0 12px; }
.st-section-titre h2 { margin: 0; font-family: var(--st-texte); font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: #fff; }
.st-section-titre a, .st-section-titre span { font-size: 12px; color: var(--st-muted); text-decoration: none; border: 1px solid #3a4146; padding: 3px 10px; border-radius: 2px; }
.st-section-titre a:hover { color: #fff; border-color: #6c747a; }
.st-surtitre { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--st-lime); }

.st-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 2px; font: 600 14px var(--st-texte); text-decoration: none; cursor: pointer; background: #2a3036; color: #fff; white-space: nowrap; }
.st-bouton:hover { background: #353c43; }
.st-bouton.lime { background: linear-gradient(90deg, #cad700, #b3be00); color: #111; }
.st-bouton.lime:hover { background: linear-gradient(90deg, #dbe81c, #c6d200); }
.st-bouton:disabled { opacity: 0.55; cursor: default; }

/* ------------------------------------------------ en vedette (carrousel) */

.st-vedette { position: relative; }
.st-slide { display: none; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); background: #0e1012; box-shadow: 0 0 24px rgba(0, 0, 0, 0.8); text-decoration: none; color: inherit; }
.st-slide.actif { display: grid; animation: st-fondu 0.35s ease; }
@keyframes st-fondu { from { opacity: 0.35; } to { opacity: 1; } }
.st-slide-media { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.st-slide-media img, .st-slide-media video { width: 100%; height: 100%; object-fit: cover; }
.st-slide-media.contain img { object-fit: contain; }
.st-slide-infos { padding: 16px 18px 18px; display: flex; flex-direction: column; min-width: 0; background: linear-gradient(135deg, #1c2126 0%, #121518 100%); }
.st-slide-infos h3 { margin: 0 0 10px; font-family: var(--st-titre); font-size: 32px; line-height: 1; font-weight: 700; letter-spacing: 0.5px; }
.st-miniatures { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.st-miniatures img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; opacity: 0.8; transition: opacity 0.15s; }
.st-miniatures img.contain { object-fit: contain; }
.st-slide:hover .st-miniatures img { opacity: 1; }
.st-dispo { font-size: 19px; font-weight: 600; margin: auto 0 4px; }
.st-raison { font-size: 12px; color: var(--st-muted); margin: 0 0 10px; }
.st-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.st-tags span { background: rgba(255, 255, 255, 0.08); color: #c9d0d6; font-size: 11px; padding: 2px 7px; border-radius: 2px; }
.st-prix { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; background: #000; padding: 3px 3px 3px 10px; align-self: flex-start; }
.st-prix strong { font-size: 14px; color: #fff; }
.st-prix b { background: var(--st-lime); color: #111; font-weight: 800; padding: 3px 7px; font-size: 12px; }
.st-fleche { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 96px; border: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15)); color: #fff; font-size: 30px; cursor: pointer; z-index: 2; }
.st-fleche:hover { background: linear-gradient(90deg, rgba(202, 215, 0, 0.35), rgba(202, 215, 0, 0.05)); }
.st-fleche.gauche { left: -46px; }
.st-fleche.droite { right: -46px; transform: translateY(-50%) scaleX(-1); }
.st-points { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.st-points button { width: 20px; height: 9px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.16); cursor: pointer; padding: 0; }
.st-points button[aria-current="true"] { background: var(--st-lime); }

/* --------------------------------------------------------------- capsules */

.st-capsules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-capsule { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--st-panel); box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); transition: transform 0.15s, box-shadow 0.15s; }
.st-capsule:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--st-lime), 0 12px 26px rgba(0, 0, 0, 0.65); }
.st-capsule-img { aspect-ratio: 460 / 215; background: #000; overflow: hidden; }
.st-capsule-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.st-capsule:hover .st-capsule-img img { transform: scale(1.03); }
.st-capsule-img.contain img { object-fit: contain; }
.st-capsule-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; margin-top: auto; background: linear-gradient(90deg, #1b1f23, #15181b); }
.st-capsule-nom { font-size: 15px; font-weight: 600; line-height: 1.25; }
.st-capsule-sous { font-size: 11px; color: var(--st-muted); }
.st-etiquette { background: #000; padding: 4px 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.st-etiquette.lime { background: var(--st-lime); color: #111; }
.st-ruban { position: absolute; top: 10px; left: 0; background: var(--st-lime); color: #111; font-size: 11px; font-weight: 800; letter-spacing: 0.6px; padding: 3px 9px 3px 8px; text-transform: uppercase; }
.st-ruban.gris { background: #2c3237; color: #d6dbe0; }

/* ------------------------------------------------------ bientôt disponible */

.st-bientot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #0d0f11; overflow: hidden; border: 1px solid #242a2f; text-decoration: none; color: inherit; }
.st-bientot-media { background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.st-bientot-media img, .st-bientot-media video { width: 100%; height: 100%; object-fit: cover; }
.st-bientot-infos { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 100% 0, rgba(202, 215, 0, 0.09), transparent 55%), #121417; }
.st-bientot h3 { font-family: var(--st-titre); font-size: 50px; line-height: 0.95; margin: 8px 0 10px; text-transform: uppercase; letter-spacing: 1px; }
.st-bientot h3 em { font-style: normal; color: var(--st-lime); }
.st-bientot p { margin: 0; color: #b9c0c6; font-size: 14px; }
.st-decompte { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.st-decompte div { background: #000; border: 1px solid var(--st-line); padding: 8px 10px; min-width: 64px; text-align: center; }
.st-decompte strong { display: block; font-family: var(--st-titre); font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.st-decompte span { font-size: 10px; letter-spacing: 1px; color: var(--st-muted); text-transform: uppercase; }

/* -------------------------------------------------------------- catégories */

.st-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-categorie { position: relative; height: 112px; border: 0; border-radius: 3px; overflow: hidden; cursor: pointer; color: #fff; text-align: left; padding: 14px; font-family: var(--st-titre); font-size: 25px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; background: #1b1f23; display: flex; align-items: flex-end; }
.st-categorie::before { content: ''; position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0.45; transition: opacity 0.2s, transform 0.3s; }
.st-categorie::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 70%); }
.st-categorie span { position: relative; z-index: 1; }
.st-categorie:hover::before { opacity: 0.8; transform: scale(1.05); }
.st-categorie[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--st-lime); }
.st-categorie.survie::before { background-image: url('/assets/img/firstsurvival/capture-desert.jpg'); }
.st-categorie.action::before { background-image: url('/assets/img/swordonline/jeu.png'); }
.st-categorie.fps::before { background-image: url('/assets/img/arsenal.webp'); }
.st-categorie.demo::before { background-image: url('/assets/img/menu.webp'); }

/* ------------------------------------------------ catalogue (liste à onglets) */

.st-onglets { display: flex; gap: 2px; flex-wrap: wrap; }
.st-onglets button { background: #1a1e21; border: 0; color: #aeb6bd; font: 500 13px var(--st-texte); padding: 9px 14px; cursor: pointer; }
.st-onglets button:hover { color: #fff; }
.st-onglets button[aria-pressed="true"] { background: #262c31; color: var(--st-lime); }
.st-liste { display: flex; flex-direction: column; gap: 5px; background: var(--st-bg2); padding: 6px; }
.st-liste .game-card { background: #171a1d; transition: background 0.15s; }
.st-liste .game-card:hover { background: #22272b; }
.st-liste .game-card > a { display: grid; grid-template-columns: 230px minmax(0, 1fr); color: inherit; text-decoration: none; min-height: 88px; }
.st-liste .game-image { position: relative; background: #000; min-height: 88px; overflow: hidden; }
.st-liste .game-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-liste .game-image .badge { position: absolute; left: 0; bottom: 6px; background: var(--st-lime); color: #111; font-size: 10px; font-weight: 800; letter-spacing: 0.4px; padding: 2px 7px; }
.st-liste .game-image .badge.neutral { background: #2c3237; color: #d7dce0; }
.st-liste .game-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 10px 16px; }
.st-liste .game-info h3 { margin: 0; font-size: 17px; font-weight: 600; grid-column: 1; }
.st-liste .game-info h3 small { color: var(--st-muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.st-liste .game-info p { margin: 2px 0 0; font-size: 12px; color: var(--st-muted); grid-column: 1; }
.st-liste .game-price { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.st-liste .game-price strong { font-size: 14px; background: #000; padding: 4px 9px; }
.st-liste .game-price small { font-size: 11px; color: var(--st-muted); font-weight: 400; }
.st-liste .game-price span { font-size: 12px; color: var(--st-lime); }
.st-compteur { font-size: 12px; color: var(--st-muted); }
.st-message:empty { display: none; }
.st-message { font-size: 13px; color: var(--st-muted); margin: 10px 4px; }

/* -------------------------------------------------- bandeaux launcher / studios */

.st-bandeau { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 26px; background: linear-gradient(90deg, rgba(202, 215, 0, 0.14), var(--st-panel) 46%); border: 1px solid #353a1f; }
.st-bandeau img { width: 64px; height: 64px; border-radius: 8px; }
.st-bandeau h2 { margin: 4px 0 4px; font-family: var(--st-titre); font-size: 28px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.5px; }
.st-bandeau p { margin: 0; color: #b9c0c6; font-size: 14px; }
.st-bandeau.neutre { background: linear-gradient(90deg, #1b1f23, var(--st-panel)); border-color: var(--st-line); grid-template-columns: minmax(0, 1fr) auto; }

/* ------------------------------------------------------------ fiche produit */

.st-fil { font-size: 12px; color: var(--st-muted); margin-bottom: 4px; }
.st-fil a { color: var(--st-muted); text-decoration: none; }
.st-fil a:hover { color: #fff; }
.st-app-titre { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.st-app-titre h1 { margin: 0; font-family: var(--st-titre); font-size: 42px; line-height: 1; letter-spacing: 0.5px; }
.st-app { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; background: linear-gradient(180deg, #16191c, #0f1113); padding: 14px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); }
.st-galerie-vue { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.st-galerie-vue img { width: 100%; height: 100%; object-fit: contain; }
.st-galerie-bande { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; padding-bottom: 2px; }
.st-galerie-bande button { flex: 0 0 120px; aspect-ratio: 16 / 9; padding: 0; border: 2px solid transparent; background: #000; cursor: pointer; opacity: 0.6; transition: opacity 0.15s; }
.st-galerie-bande button:hover { opacity: 0.9; }
.st-galerie-bande button[aria-current="true"] { border-color: var(--st-lime); opacity: 1; }
.st-galerie-bande img { width: 100%; height: 100%; object-fit: cover; }
.st-app-cote { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-app-capsule { aspect-ratio: 460 / 215; background: #000; overflow: hidden; }
.st-app-capsule img { width: 100%; height: 100%; object-fit: contain; }
.st-app-resume { font-size: 13px; color: #c8ced3; line-height: 1.6; margin: 0; }
.st-app-infos { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; font-size: 12px; margin: 0; }
.st-app-infos dt { color: var(--st-dim); text-transform: uppercase; letter-spacing: 0.5px; font-size: 11px; padding-top: 1px; }
.st-app-infos dd { margin: 0; color: #dfe4e8; }
.st-app-infos dd a { color: var(--st-lime); text-decoration: none; }
.st-app-corps { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; margin-top: 26px; }
.st-achat { position: relative; background: linear-gradient(90deg, #20252a, #171b1f); padding: 16px 18px 34px; margin-bottom: 32px; }
.st-achat h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.st-achat p { margin: 0; font-size: 13px; color: var(--st-muted); }
.st-achat .st-achat-etat { margin-top: 8px; color: #d4dade; }
.st-achat-action { position: absolute; right: 16px; bottom: -18px; display: flex; align-items: stretch; background: #000; padding: 2px; gap: 2px; }
.st-achat-action .st-prix-txt { display: flex; align-items: center; padding: 0 12px; font-size: 14px; color: #fff; white-space: nowrap; }
.st-bloc { margin-bottom: 30px; }
.st-bloc h2 { font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, var(--st-lime), transparent 60%) 1; }
.st-bloc p, .st-bloc li { font-size: 14px; color: #c3c9ce; line-height: 1.7; }
.st-bloc p { margin: 0 0 12px; }
.st-bloc a { color: var(--st-lime); }
.st-config { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.st-config h3 { margin: 0 0 6px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.st-config ul { list-style: none; padding: 0; margin: 0; }
.st-config li { font-size: 13px; }
.st-config b { color: #8f989f; font-weight: 600; }
.st-panneau { background: var(--st-panel); padding: 12px 14px; margin-bottom: 12px; }
.st-panneau h2 { margin: 0 0 10px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--st-muted); font-weight: 600; }
.st-caracteristiques { list-style: none; margin: 0; padding: 0; }
.st-caracteristiques li { display: flex; align-items: center; gap: 10px; padding: 7px 9px; background: var(--st-panel2); margin-bottom: 3px; font-size: 13px; color: #dfe4e8; }
.st-caracteristiques li::before { content: ''; width: 7px; height: 7px; background: var(--st-lime); transform: rotate(45deg); flex: none; }
.st-langues { width: 100%; border-collapse: collapse; font-size: 12px; }
.st-langues th { color: var(--st-dim); font-weight: 500; text-align: center; padding: 4px; }
.st-langues th:first-child, .st-langues td:first-child { text-align: left; }
.st-langues td { padding: 6px 4px; border-top: 1px solid #262b30; text-align: center; color: var(--st-lime); }
.st-langues td:first-child { color: #dfe4e8; }
.st-mini { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; align-items: center; text-decoration: none; color: inherit; padding: 5px; margin: 0 -5px; }
.st-mini:hover { background: var(--st-panel2); }
.st-mini img { width: 100px; height: auto; aspect-ratio: 460 / 215; object-fit: cover; background: #000; }
.st-mini span { font-size: 13px; }
.st-mini small { display: block; color: var(--st-muted); font-size: 11px; }

/* ------------------------------------------------------------ portefeuille */

.st-message.ok { color: var(--st-lime); }
.st-message.alerte { color: #ff9a7a; }
.st-portefeuille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.st-fonds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.st-fonds-carte { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: linear-gradient(90deg, #20252a, #171b1f); }
.st-fonds-carte h2 { margin: 0; font-size: 19px; font-weight: 600; }
.st-fonds-carte p { margin: 2px 0 0; font-size: 12px; color: var(--st-muted); }
.st-solde-panneau strong { display: block; margin: 6px 0 2px; font-family: var(--st-titre); font-size: 46px; line-height: 1; color: var(--st-lime); }
.st-solde-panneau > span { font-size: 12px; color: var(--st-muted); }
.st-solde-panneau p { margin: 12px 0; font-size: 13px; color: #c3c9ce; }
.st-solde-kc { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; }
.st-solde-kc img { width: 18px; height: 18px; }
.st-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.st-pack { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--st-panel); }
.st-pack strong { font-size: 17px; }
.st-pack span { font-size: 12px; color: var(--st-muted); }
.st-pack .st-bouton { margin-top: 6px; }
.st-mouvements { display: flex; flex-direction: column; gap: 4px; padding: 6px; background: var(--st-bg2); }
.st-mouvement { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 9px 12px; background: #171a1d; font-size: 13px; }
.st-mouvement time { font-size: 12px; color: var(--st-muted); }
.st-mouvement .plus { color: var(--st-lime); }
.st-mouvement .moins { color: #ff9a7a; }

/* ------------------------------------------------ personnalisation du profil */

.st-pf-c-lime { --pf: #cad700; } .st-pf-c-rouge { --pf: #e5322d; } .st-pf-c-bleu { --pf: #3d8bfd; }
.st-pf-c-orange { --pf: #ff9100; } .st-pf-c-violet { --pf: #9b5cff; } .st-pf-c-blanc { --pf: #f2f2f2; }
.st-pf-apercu { position: relative; display: flex; align-items: center; gap: 16px; min-height: 120px; margin: 0 0 18px; padding: 18px; background-color: #15181b; background-size: cover; background-position: center 30%; border-left: 3px solid var(--pf, #cad700); }
.st-pf-apercu::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 10, 0.92), rgba(8, 9, 10, 0.5)); }
.st-pf-apercu > * { position: relative; }
.st-pf-avatar { flex: none; width: 84px; height: 84px; display: grid; place-items: center; overflow: hidden; border: 3px solid var(--pf, #cad700); background: #1c2024; font-family: var(--st-titre); font-size: 40px; font-weight: 700; color: #fff; }
.st-pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.st-pf-apercu strong { display: block; font-family: var(--st-titre); font-size: 30px; line-height: 1.1; color: #fff; }
.st-pf-apercu p { margin: 4px 0 0; font-size: 13px; color: #d0d5da; white-space: pre-line; }
.st-pf-couleurs { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; padding: 0; border: 0; }
.st-pf-couleurs legend { margin-bottom: 8px; font-size: 12px; color: #9ba4ac; }
.st-pf-couleurs label { position: relative; cursor: pointer; }
.st-pf-couleurs input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.st-pf-couleurs span { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--pf); border: 2px solid transparent; box-shadow: inset 0 0 0 3px #0b0c0d; }
.st-pf-couleurs input:checked + span { border-color: #fff; }
.st-pf-couleurs input:focus-visible + span { outline: 2px solid #cad700; outline-offset: 2px; }
.st-pf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.st #bloc-personnalisation textarea, .st #bloc-personnalisation select { width: 100%; padding: 10px 12px; background: #0d0f11; border: 1px solid #30373c; border-radius: 3px; color: #eef0f2; font: inherit; font-size: 14px; }
.st #bloc-personnalisation textarea { resize: vertical; min-height: 70px; }
.st #bloc-personnalisation input[type=file] { color: #c3c9ce; }

/* ---------------------------------------------------------------- pied */

.st-footer { margin-top: 56px; background: #08090a; border-top: 1px solid #1c2024; }
.st-footer-in { max-width: var(--st-max); margin: 0 auto; padding: 26px 20px 34px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: start; font-size: 12px; color: #7c858c; }
.st-footer p { margin: 0; }
.st-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.st-footer a { color: #aeb6bd; text-decoration: none; }
.st-footer a:hover { color: #fff; }

/* ------------------------------------------------------------ adaptations */

@media (max-width: 1340px) {
  .st-fleche.gauche { left: 0; }
  .st-fleche.droite { right: 0; }
}
@media (max-width: 1000px) {
  .st-header-in { gap: 22px; }
  .st-mainnav { gap: 16px; }
  .st-mainnav a { font-size: 16px; }
  .st-slide.actif { grid-template-columns: 1fr; }
  .st-miniatures { display: none; }
  .st-app, .st-app-corps { grid-template-columns: 1fr; }
  .st-capsules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-bientot { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .st-header-in { height: auto; flex-wrap: wrap; padding: 12px 16px 0; row-gap: 4px; }
  .st-mainnav { order: 3; width: 100%; overflow-x: auto; gap: 18px; }
  .st-mainnav a { padding: 8px 0 9px; font-size: 15px; }
  .st-installer span { display: none; }
  .st-storenav { padding: 0 16px; margin-top: 12px; }
  .st-storenav-in { overflow-x: auto; }
  .st-recherche input { width: 120px; }
  .st-page { padding: 18px 16px 10px; }
  .st-capsules { grid-template-columns: 1fr; }
  .st-liste .game-card > a { grid-template-columns: 120px minmax(0, 1fr); }
  .st-liste .game-info { grid-template-columns: 1fr; }
  .st-liste .game-price { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; margin-top: 6px; }
  .st-config { grid-template-columns: 1fr; }
  .st-bandeau, .st-bandeau.neutre { grid-template-columns: 1fr; }
  .st-achat { padding-bottom: 16px; }
  .st-achat-action { position: static; margin-top: 14px; display: inline-flex; }
  .st-app-titre h1 { font-size: 34px; }
  .st-bientot h3 { font-size: 38px; }
  .st-footer-in { grid-template-columns: 1fr; }
  .st-portefeuille, .st-fonds { grid-template-columns: 1fr; }
  .st-fonds-carte { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .st *, .st *::before { transition: none !important; animation: none !important; }
}
